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
=altos opsys
=usg5-2
1826 machine
=amdahl opsys
=usg5-2-2
1829 ## Apollo, Domain/OS
1831 machine
=apollo opsys
=bsd4-3
1834 ## AT&T 3b2, 3b5, 3b15, 3b20
1836 machine
=att3b opsys
=usg5-2-2
1839 ## AT&T 3b1 - The Mighty Unix PC!
1841 machine
=7300 opsys
=usg5-2-2
1846 machine
=ibmrs6000 opsys
=aix3-2
1851 machine
=dpx2 opsys
=usg5-3
1856 machine
=sps7 opsys
=usg5-2
1859 ## CCI 5/32, 6/32 -- see "Tahoe".
1862 ## I don't know what configuration name to use for this; config.sub
1863 ## doesn't seem to know anything about it. Hey, Celerity users, get
1864 ## in touch with us!
1865 celerity-celerity-bsd
* )
1866 machine
=celerity opsys
=bsd4-2
1870 ## What operating systems does this chip run that Emacs has been
1874 ## We'll use the catch-all code at the bottom to guess the
1875 ## operating system.
1879 mips-compaq-nonstopux
* )
1880 machine
=nonstopux opsys
=nonstopux
1884 *-convex-bsd* |
*-convex-convexos* )
1885 machine
=convex opsys
=bsd4-3
1886 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov
1887 NON_GNU_CPP
="cc -E -P"
1891 i
[3456]86-cubix-sysv* )
1892 machine
=intel386 opsys
=usg5-3
1896 cydra
*-cydrome-sysv* )
1897 machine
=cydra5 opsys
=usg5-3
1900 ## Data General AViiON Machines
1901 ## DG changed naming conventions with the release of 5.4.4.10, they
1902 ## dropped the initial 5.4 but left the intervening R. Because of the
1903 ## R this shouldn't conflict with older versions of the OS (which I
1904 ## think were named like dgux4.*). In addition, DG new AViiONs series
1905 ## uses either Motorola M88k or Intel Pentium CPUs.
1906 m88k-dg-dguxR4.
* | m88k-dg-dgux4
* )
1907 machine
=aviion opsys
=dgux4
1909 m88k-dg-dgux5.4R3
* | m88k-dg-dgux5.4
.3* )
1910 ## This name is dgux5-4-3 instead of dgux5-4r3
1911 ## to avoid a file name conflict on MSDOS.
1912 machine
=aviion opsys
=dgux5-4-3
1914 m88k-dg-dgux5.4R2
* | m88k-dg-dgux5.4
.2* )
1915 machine
=aviion opsys
=dgux5-4r2
1918 machine
=aviion opsys
=dgux
1921 ## Data General AViiON Intel (x86) Machines
1922 ## Exists from 5.4.3 (current i586-dg-dguxR4.11)
1923 ## Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il
1924 i
[345]86-dg-dguxR4* )
1925 machine
=aviion-intel opsys
=dgux4
1929 mips-dec-ultrix
[0-3].
* | mips-dec-ultrix4.0
* | mips-dec-bsd4.2
* )
1930 machine
=pmax opsys
=bsd4-2
1932 mips-dec-ultrix4.
[12]* | mips-dec-bsd
* )
1933 machine
=pmax opsys
=bsd4-3
1936 machine
=pmax opsys
=ultrix4-3
1939 machine
=pmax opsys
=osf1
1941 mips-dec-mach_bsd4.3
* )
1942 machine
=pmax opsys
=mach-bsd4-3
1945 ## Motorola Delta machines
1946 m68k-motorola-sysv
* | m68000-motorola-sysv
* )
1947 machine
=delta opsys
=usg5-3
1948 if test -z "`type gnucc | grep 'not found'`"
1950 if test -s /etc
/167config
1951 then CC
="gnucc -m68040"
1952 else CC
="gnucc -m68881"
1955 if test -z "`type gcc | grep 'not found'`"
1961 m88k-motorola-sysv4
* )
1962 # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110
1963 # needs POSIX_SIGNALS and therefore needs usg5-4-2.
1964 # I hope there are not other 4.0 versions for this machine
1965 # which really need usg5-4 instead.
1966 machine
=delta88k opsys
=usg5-4-2
1968 m88k-motorola-sysv
* | m88k-motorola-m88kbcs
* )
1969 machine
=delta88k opsys
=usg5-3
1974 machine
=dual opsys
=usg5-2
1976 m68
*-dual-uniplus* )
1977 machine
=dual opsys
=unipl5-2
1982 machine
=elxsi opsys
=usg5-2
1987 machine
=ns16000 opsys
=umax
1990 ## The GEC 63 - apparently, this port isn't really finished yet.
1991 # I'm sure we finished off the last of the machines, though. -- fx
1993 ## Gould Power Node and NP1
1995 machine
=gould opsys
=bsd4-2
1998 machine
=gould opsys
=bsd4-3
2001 machine
=gould-np1 opsys
=bsd4-3
2004 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000
2005 ## as far as Emacs is concerned).
2007 # Build needs to be different on 7.0 and later releases
2008 case "`uname -r`" in
2009 [56].
[0-9] ) machine
=nh4000 opsys
=cxux
;;
2010 [7].
[0-9] ) machine
=nh4000 opsys
=cxux7
;;
2012 NON_GNU_CPP
="/lib/cpp"
2014 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000)
2016 machine
=nh3000 opsys
=cxux
2018 ## Harris power pc NightHawk running Power UNIX (Series 6000)
2019 powerpc-harris-powerunix
)
2020 machine
=nh6000 opsys
=powerunix
2021 NON_GNU_CPP
="cc -Xo -E -P"
2023 ## SR2001/SR2201 running HI-UX/MPP
2024 hppa1.1
-hitachi-hiuxmpp* )
2025 machine
=sr2k opsys
=hiuxmpp
2027 hppa1.1
-hitachi-hiuxwe2* )
2028 machine
=sr2k opsys
=hiuxwe2
2031 xps
*-honeywell-sysv* )
2032 machine
=xps100 opsys
=usg5-2
2035 ## HP 9000 series 200 or 300
2037 machine
=hp9000s300 opsys
=bsd4-3
2039 ## HP/UX 7, 8, 9, and 10 are supported on these machines.
2041 case "`uname -r`" in
2042 ## Someone's system reports A.B8.05 for this.
2043 ## I wonder what other possibilities there are.
2044 *.B8.
* ) machine
=hp9000s300 opsys
=hpux8
;;
2045 *.08.
* ) machine
=hp9000s300 opsys
=hpux8
;;
2046 *.09.
* ) machine
=hp9000s300 opsys
=hpux9
;;
2047 *.1[0-9].
* ) machine
=hp9000s300 opsys
=hpux9shr
;;
2048 *) machine
=hp9000s300 opsys
=hpux
;;
2052 ## HP 9000 series 700 and 800, running HP/UX
2054 machine
=hp800 opsys
=hpux
2057 machine
=hp800 opsys
=hpux8
2059 hppa
*-hp-hpux9shr* )
2060 machine
=hp800 opsys
=hpux9shr
2063 machine
=hp800 opsys
=hpux9
2065 hppa
*-hp-hpux10.2
* )
2066 machine
=hp800 opsys
=hpux10-20
2069 machine
=hp800 opsys
=hpux10
2071 hppa
*-hp-hpux1[1-9]* )
2072 machine
=hp800 opsys
=hpux11
2075 hppa
*-*-linux-gnu* )
2076 machine
=hp800 opsys
=gnu-linux
2079 ## HP 9000 series 700 and 800, running HP/UX
2081 ## Cross-compilation? Nah!
2082 case "`uname -r`" in
2083 ## Someone's system reports A.B8.05 for this.
2084 ## I wonder what other possibilities there are.
2085 *.B8.
* ) machine
=hp800 opsys
=hpux8
;;
2086 *.08.
* ) machine
=hp800 opsys
=hpux8
;;
2087 *.09.
* ) machine
=hp800 opsys
=hpux9
;;
2088 *) machine
=hp800 opsys
=hpux10
;;
2092 machine
=hp800 opsys
=nextstep
2097 machine
=orion opsys
=bsd4-2
2099 clipper-orion-bsd
* )
2100 machine
=orion105 opsys
=bsd4-2
2104 i
[3456]86-ibm-aix1.1
* )
2105 machine
=ibmps2-aix opsys
=usg5-2-2
2107 i
[3456]86-ibm-aix1.
[23]* | i
[3456]86-ibm-aix* )
2108 machine
=ibmps2-aix opsys
=usg5-3
2111 machine
=ibm370aix opsys
=usg5-3
2114 machine
=ibms390 opsys
=gnu-linux
2116 rs6000-ibm-aix3.1
* | powerpc-ibm-aix3.1
* )
2117 machine
=ibmrs6000 opsys
=aix3-1
2119 rs6000-ibm-aix3.2
.5 | powerpc-ibm-aix3.2
.5 )
2120 machine
=ibmrs6000 opsys
=aix3-2-5
2122 rs6000-ibm-aix4.1
* | powerpc-ibm-aix4.1
* )
2123 machine
=ibmrs6000 opsys
=aix4-1
2125 rs6000-ibm-aix4.2
* | powerpc-ibm-aix4.2
* )
2126 machine
=ibmrs6000 opsys
=aix4-2
2128 rs6000-ibm-aix5
* | powerpc-ibm-aix5
* )
2129 machine
=ibmrs6000 opsys
=aix4-2
2131 rs6000-ibm-aix4.0
* | powerpc-ibm-aix4.0
* )
2132 machine
=ibmrs6000 opsys
=aix4
2134 rs6000-ibm-aix4
* | powerpc-ibm-aix4
* )
2135 machine
=ibmrs6000 opsys
=aix4-1
2137 rs6000-ibm-aix
* | powerpc-ibm-aix
* )
2138 machine
=ibmrs6000 opsys
=aix3-2
2141 machine
=ibmrt opsys
=bsd4-3
2144 machine
=ibmrt opsys
=bsd4-2
2147 machine
=ibmrt opsys
=bsd4-3
2150 machine
=ibmrt opsys
=bsd4-2
2153 machine
=ibmrt opsys
=bsd4-3
2156 machine
=ibmrt opsys
=bsd4-3
2159 machine
=ibmrt-aix opsys
=usg5-2-2
2162 ## Integrated Solutions `Optimum V'
2164 machine
=isi-ov opsys
=bsd4-2
2167 machine
=isi-ov opsys
=bsd4-3
2170 ## Intel 386 machines where we do care about the manufacturer
2171 i
[3456]86-intsys-sysv* )
2172 machine
=is386 opsys
=usg5-2-2
2176 i
[3456]86-prime-sysv* )
2177 machine
=i386 opsys
=usg5-3
2180 ## Sequent Symmetry running Dynix
2181 i
[3456]86-sequent-bsd* )
2182 machine
=symmetry opsys
=bsd4-3
2185 ## Sequent Symmetry running ptx 4, which is a modified SVR4.
2186 i
[3456]86-sequent-ptx4* | i
[3456]86-sequent-sysv4* )
2187 machine
=sequent-ptx opsys
=ptx4
2188 NON_GNU_CPP
=/lib
/cpp
2191 ## Sequent Symmetry running DYNIX/ptx
2192 ## Use the old cpp rather than the newer ANSI one.
2193 i
[3456]86-sequent-ptx* )
2194 machine
=sequent-ptx opsys
=ptx
2195 NON_GNU_CPP
="/lib/cpp"
2198 ## ncr machine running svr4.3.
2199 i
[3456]86-ncr-sysv4.3
)
2200 machine
=ncr386 opsys
=usg5-4-3
2203 ## Unspecified sysv on an ncr machine defaults to svr4.2.
2204 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.)
2205 i
[3456]86-ncr-sysv* )
2206 machine
=ncr386 opsys
=usg5-4-2
2209 ## Intel Paragon OSF/1
2211 machine
=paragon opsys
=osf1 NON_GNU_CPP
=/usr
/mach
/lib
/cpp
2216 machine
=i860 opsys
=usg5-4
2217 NON_GNU_CC
="/bin/cc" # Ie, not the one in /usr/ucb/cc.
2218 NON_GNU_CPP
="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion.
2221 ## Macintosh PowerPC
2222 powerpc
*-*-linux-gnu* )
2223 machine
=macppc opsys
=gnu-linux
2226 ## Masscomp machines
2227 m68
*-masscomp-rtu* )
2228 machine
=masscomp opsys
=rtu
2231 ## Megatest machines
2232 m68
*-megatest-bsd* )
2233 machine
=mega68 opsys
=bsd4-2
2236 ## Workstations sold by MIPS
2237 ## This is not necessarily all workstations using the MIPS processor -
2238 ## Irises are produced by SGI, and DECstations by DEC.
2240 ## etc/MACHINES lists mips.h and mips4.h as possible machine files,
2241 ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance
2242 ## it gives for choosing between the alternatives seems to be "Use
2243 ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with
2244 ## the BSD world." I'll assume that these are instructions for
2245 ## handling two odd situations, and that every other situation
2246 ## should use mips.h and usg5-2-2, they being listed first.
2249 ## Fall through to the general code at the bottom to decide on the OS.
2251 mips-mips-riscos4
* )
2252 machine
=mips4 opsys
=bsd4-3
2253 NON_GNU_CC
="cc -systype bsd43"
2254 NON_GNU_CPP
="cc -systype bsd43 -E"
2256 mips-mips-riscos5
* )
2257 machine
=mips4 opsys
=riscos5
2258 NON_GNU_CC
="cc -systype bsd43"
2259 NON_GNU_CPP
="cc -systype bsd43 -E"
2262 machine
=mips opsys
=bsd4-3
2265 machine
=mips opsys
=usg5-2-2
2269 m68
*-next-* | m68k-
*-nextstep* )
2270 machine
=m68k opsys
=nextstep
2273 ## The complete machine from National Semiconductor
2275 machine
=ns32000 opsys
=usg5-2
2279 m68
*-ncr-sysv2* | m68
*-ncr-sysvr2* )
2280 machine
=tower32 opsys
=usg5-2-2
2282 m68
*-ncr-sysv3* | m68
*-ncr-sysvr3* )
2283 machine
=tower32v3 opsys
=usg5-3
2288 machine
=ews4800 opsys
=ux4800
2291 ## Nixdorf Targon 31
2292 m68
*-nixdorf-sysv* )
2293 machine
=targon31 opsys
=usg5-2-2
2298 machine
=nu opsys
=usg5-2
2303 machine
=plexus opsys
=usg5-2
2307 ## I don't really have any idea what sort of processor the Pyramid has,
2308 ## so I'm assuming it is its own architecture.
2309 pyramid-pyramid-bsd
* )
2310 machine
=pyramid opsys
=bsd4-2
2314 ns32k-sequent-bsd4.2
* )
2315 machine
=sequent opsys
=bsd4-2
2317 ns32k-sequent-bsd4.3
* )
2318 machine
=sequent opsys
=bsd4-3
2322 mips-siemens-sysv
* | mips-sni-sysv
*)
2323 machine
=mips-siemens opsys
=usg5-4
2324 NON_GNU_CC
=/usr
/ccs
/bin
/cc
2325 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2328 ## Silicon Graphics machines
2329 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
2331 machine
=irist opsys
=iris3-5
2333 m68
*-sgi-iris3.6
* | m68
*-sgi-iris*)
2334 machine
=irist opsys
=iris3-6
2338 machine
=iris4d opsys
=irix3-3
2341 machine
=iris4d opsys
=irix4-0
2344 machine
=iris4d opsys
=irix6-5
2345 # Without defining _LANGUAGE_C, things get masked out in the headers
2346 # so that, for instance, grepping for `free' in stdlib.h fails and
2347 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m).
2348 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2349 NON_GCC_TEST_OPTIONS
="-D_LANGUAGE_C"
2352 machine
=iris4d opsys
=irix6-0
2353 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5,
2354 # but presumably it does no harm.
2355 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2356 # -32 probably isn't necessary in later v.6s -- anyone know which?
2357 NON_GCC_TEST_OPTIONS
=-32
2359 mips-sgi-irix5.
[01]* )
2360 machine
=iris4d opsys
=irix5-0
2362 mips-sgi-irix5
* | mips-sgi-irix
* )
2363 machine
=iris4d opsys
=irix5-2
2368 machine
=news opsys
=bsd4-2
2371 machine
=news opsys
=bsd4-3
2373 m68
*-sony-newsos3* | m68
*-sony-news3*)
2374 machine
=news opsys
=bsd4-3
2376 mips-sony-bsd
* | mips-sony-newsos4
* | mips-sony-news4
*)
2377 machine
=news-risc opsys
=bsd4-3
2379 mips-sony-newsos6
* )
2380 machine
=news-r6 opsys
=newsos6
2383 machine
=news-risc opsys
=newsos5
2388 machine
=stride opsys
=usg5-2
2392 sparc-
*-linux-gnu* | sparc64-
*-linux-gnu* )
2393 machine
=sparc opsys
=gnu-linux
2396 *-auspex-sunos* |
*-sun-sunos* |
*-sun-bsd* |
*-sun-solaris* \
2397 | i
[3456]86-*-solaris2* | i
[3456]86-*-sunos5* | powerpc
*-*-solaris2* \
2398 | rs6000-
*-solaris2*)
2399 case "${canonical}" in
2400 m68
*-sunos1* ) machine
=sun1
;;
2401 m68
*-sunos2* ) machine
=sun2
;;
2402 m68
* ) machine
=sun3
;;
2403 i
[3456]86-sun-sunos[34]* ) machine
=sun386
;;
2404 i
[3456]86-*-* ) machine
=intel386
;;
2405 powerpcle
* ) machine
=powerpcle
;;
2406 powerpc
* | rs6000
* ) machine
=ibmrs6000
;;
2407 sparc
* ) machine
=sparc
;;
2410 case "${canonical}" in
2411 ## The Sun386 didn't get past 4.0.
2412 i
[3456]86-*-sunos4 ) opsys
=sunos4-0
;;
2413 *-sunos4.0
* ) opsys
=sunos4-0
;;
2414 *-sunos4.1.
[3-9]*noshare
)
2415 ## This name is sunos413 instead of sunos4-1-3
2416 ## to avoid a file name conflict on MSDOS.
2418 NON_GNU_CPP
=/usr
/lib
/cpp
2419 NON_GCC_TEST_OPTIONS
=-Bstatic
2420 GCC_TEST_OPTIONS
=-static
2422 *-sunos4.1.
[3-9]* |
*-sunos4shr*)
2424 NON_GNU_CPP
=/usr
/lib
/cpp
2426 *-sunos4* |
*-sunos )
2428 NON_GCC_TEST_OPTIONS
=-Bstatic
2429 GCC_TEST_OPTIONS
=-static
2431 *-sunos5.3
* |
*-solaris2.3
* )
2433 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2435 *-sunos5.4
* |
*-solaris2.4
* )
2437 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2440 *-sunos5.5
* |
*-solaris2.5
* )
2442 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2445 *-sunos5.6
* |
*-solaris2.6
* )
2447 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2450 *-sunos5* |
*-solaris* )
2452 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2456 ## Watch out for a compiler that we know will not work.
2457 case "${canonical}" in
2458 *-solaris* |
*-sunos5* )
2459 if [ "x$CC" = x
/usr
/ucb
/cc
]; then
2460 ## /usr/ucb/cc doesn't work;
2461 ## we should find some other compiler that does work.
2469 machine
=sparc opsys
=nextstep
2473 m68
*-tadpole-sysv* )
2474 machine
=tad68k opsys
=usg5-3
2478 tahoe-tahoe-bsd4.2
* )
2479 machine
=tahoe opsys
=bsd4-2
2481 tahoe-tahoe-bsd4.3
* )
2482 machine
=tahoe opsys
=bsd4-3
2485 ## Tandem Integrity S2
2487 machine
=tandem-s2 opsys
=usg5-3
2491 m88k-tektronix-sysv3
* )
2492 machine
=tekxd88 opsys
=usg5-3
2495 ## Tektronix 16000 box (6130?)
2496 ns16k-tektronix-bsd
* )
2497 machine
=ns16000 opsys
=bsd4-2
2500 ## src/m/tek4300.h hints that this is a m68k machine.
2501 m68
*-tektronix-bsd* )
2502 machine
=tek4300 opsys
=bsd4-3
2506 ## We seem to have lost the machine-description file titan.h!
2508 machine
=titan opsys
=usg5-3
2511 ## Ustation E30 (SS5E)
2512 m68
*-unisys-uniplus* )
2513 machine
=ustation opsystem
=unipl5-2
2519 case "${canonical}" in
2520 *-bsd4.1
* ) opsys
=bsd4-1
;;
2521 *-bsd4.2
* |
*-ultrix[0-3].
* |
*-ultrix4.0
* ) opsys
=bsd4-2
;;
2522 *-bsd4.3
* |
*-ultrix* ) opsys
=bsd4-3
;;
2523 *-sysv[01]* |
*-sysvr[01]* ) opsys
=usg5-0
;;
2524 *-sysv2* |
*-sysvr2* ) opsys
=usg5-2
;;
2525 *-vms* ) opsys
=vms
;;
2531 ns16k-whitechapel-
* )
2533 ## We don't know what sort of OS runs on these; we'll let the
2534 ## operating system guessing code below try.
2539 machine
=wicat opsys
=usg5-2
2544 machine
=ia64 opsys
=gnu-linux
2547 ## Intel 386 machines where we don't care about the manufacturer
2550 case "${canonical}" in
2551 *-cygwin ) opsys
=cygwin
;;
2552 *-lynxos* ) opsys
=lynxos
;;
2553 *-isc1.
* |
*-isc2.
[01]* ) opsys
=386-ix ;;
2554 *-isc2.2
* ) opsys
=isc2-2
;;
2555 *-isc4.0
* ) opsys
=isc4-0
;;
2556 *-isc4.
* ) opsys
=isc4-1
2557 GCC_TEST_OPTIONS
=-posix
2558 NON_GCC_TEST_OPTIONS
=-Xp
2560 *-isc* ) opsys
=isc3-0
;;
2561 *-esix5* ) opsys
=esix5r4
; NON_GNU_CPP
=/usr
/lib
/cpp
;;
2562 *-esix* ) opsys
=esix
;;
2563 *-xenix* ) opsys
=xenix
;;
2564 *-linux-gnu* ) opsys
=gnu-linux
;;
2565 *-sco3.2v4
* ) opsys
=sco4
; NON_GNU_CPP
=/lib
/cpp
;;
2566 *-sco3.2v5
* ) opsys
=sco5
2567 NON_GNU_CPP
=/lib
/cpp
2568 # Prevent -belf from being passed to $CPP.
2569 # /lib/cpp does not accept it.
2570 OVERRIDE_CPPFLAGS
=" "
2572 *-sysv4.2uw
* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2573 *-sysv5uw* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2574 *-sysv5OpenUNIX* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2575 *-386bsd* ) opsys
=386bsd
;;
2576 *-nextstep* ) opsys
=nextstep
;;
2577 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
2581 ## m68k Linux-based GNU system
2583 machine
=m68k opsys
=gnu-linux
2586 ## Mips Linux-based GNU system
2587 mips-
*-linux-gnu* | mipsel-
*-linux-gnu* )
2588 machine
=mips opsys
=gnu-linux
2592 sparc-fujitsu-sysv4
* )
2593 machine
=sparc opsys
=uxpds
2594 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2599 f301-fujitsu-uxpv4.1
)
2600 machine
=f301 opsys
=uxpv
2603 ## Darwin / Mac OS X
2604 powerpc-apple-darwin
* )
2605 machine
=powermac opsys
=darwin
2606 # Define CPP as follows to make autoconf work correctly.
2607 CPP
="${CC-cc} -E -no-cpp-precomp"
2608 # Use fink packages if available.
2609 if test -d /sw
/include
&& test -d /sw
/lib
; then
2610 GCC_TEST_OPTIONS
="-I/sw/include -L/sw/lib"
2611 CPP
="${CPP} ${GCC_TEST_OPTIONS}"
2612 NON_GCC_TEST_OPTIONS
=${GCC_TEST_OPTIONS}
2616 ## AMD x86-64 Linux-based GNU system
2617 x86_64-
*-linux-gnu* )
2618 machine
=amdx86-64 opsys
=gnu-linux
2626 ### If the code above didn't choose an operating system, just choose
2627 ### an operating system based on the configuration name. You really
2628 ### only want to use this when you have no idea what the right
2629 ### operating system is; if you know what operating systems a machine
2630 ### runs, it's cleaner to make it explicit in the case statement
2632 if test x
"${opsys}" = x
; then
2633 case "${canonical}" in
2634 *-gnu* ) opsys
=gnu
;;
2635 *-bsd4.
[01] ) opsys
=bsd4-1
;;
2636 *-bsd4.2
) opsys
=bsd4-2
;;
2637 *-bsd4.3
) opsys
=bsd4-3
;;
2638 *-sysv0 |
*-sysvr0 ) opsys
=usg5-0
;;
2639 *-sysv2 |
*-sysvr2 ) opsys
=usg5-2
;;
2640 *-sysv2.2 |
*-sysvr2.2
) opsys
=usg5-2-2
;;
2641 *-sysv3* |
*-sysvr3* ) opsys
=usg5-3
;;
2642 *-sysv4.2uw
* ) opsys
=unixware
;;
2643 *-sysv5uw* ) opsys
=unixware
;;
2644 *-sysv5OpenUNIX* ) opsys
=unixware
;;
2645 *-sysv4.1
* |
*-sysvr4.1
* )
2646 NON_GNU_CPP
=/usr
/lib
/cpp
2648 *-sysv4.
[2-9]* |
*-sysvr4.
[2-9]* )
2649 if [ x
$NON_GNU_CPP = x
]; then
2650 if [ -f /usr
/ccs
/lib
/cpp
]; then
2651 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2653 NON_GNU_CPP
=/lib
/cpp
2657 *-sysv4* |
*-sysvr4* ) opsys
=usg5-4
;;
2666 if test $unported = yes; then
2667 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
2668 Check \`etc/MACHINES' for recognized configuration names." >&5
2669 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2670 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2671 { (exit 1); exit 1; }; }
2674 machfile
="m/${machine}.h"
2675 opsysfile
="s/${opsys}.h"
2678 #### Choose a compiler.
2679 test -n "$CC" && cc_specified
=yes
2681 # Save the value of CFLAGS that the user specified.
2682 SPECIFIED_CFLAGS
="$CFLAGS"
2685 "yes" ) CC
="gcc" GCC
=yes ;;
2686 "no" ) : ${CC=cc} ;;
2690 ac_cpp
='$CPP $CPPFLAGS'
2691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2694 if test -n "$ac_tool_prefix"; then
2695 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2696 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2697 echo "$as_me:$LINENO: checking for $ac_word" >&5
2698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2699 if test "${ac_cv_prog_CC+set}" = set; then
2700 echo $ECHO_N "(cached) $ECHO_C" >&6
2702 if test -n "$CC"; then
2703 ac_cv_prog_CC
="$CC" # Let the user override the test.
2705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir
=.
2710 for ac_exec_ext
in '' $ac_executable_extensions; do
2711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2712 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 if test -n "$CC"; then
2723 echo "$as_me:$LINENO: result: $CC" >&5
2724 echo "${ECHO_T}$CC" >&6
2726 echo "$as_me:$LINENO: result: no" >&5
2727 echo "${ECHO_T}no" >&6
2731 if test -z "$ac_cv_prog_CC"; then
2733 # Extract the first word of "gcc", so it can be a program name with args.
2734 set dummy gcc
; ac_word
=$2
2735 echo "$as_me:$LINENO: checking for $ac_word" >&5
2736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2737 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 if test -n "$ac_ct_CC"; then
2741 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2747 test -z "$as_dir" && as_dir
=.
2748 for ac_exec_ext
in '' $ac_executable_extensions; do
2749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2750 ac_cv_prog_ac_ct_CC
="gcc"
2751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2760 if test -n "$ac_ct_CC"; then
2761 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2762 echo "${ECHO_T}$ac_ct_CC" >&6
2764 echo "$as_me:$LINENO: result: no" >&5
2765 echo "${ECHO_T}no" >&6
2773 if test -z "$CC"; then
2774 if test -n "$ac_tool_prefix"; then
2775 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2776 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2777 echo "$as_me:$LINENO: checking for $ac_word" >&5
2778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2779 if test "${ac_cv_prog_CC+set}" = set; then
2780 echo $ECHO_N "(cached) $ECHO_C" >&6
2782 if test -n "$CC"; then
2783 ac_cv_prog_CC
="$CC" # Let the user override the test.
2785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2789 test -z "$as_dir" && as_dir
=.
2790 for ac_exec_ext
in '' $ac_executable_extensions; do
2791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2792 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2802 if test -n "$CC"; then
2803 echo "$as_me:$LINENO: result: $CC" >&5
2804 echo "${ECHO_T}$CC" >&6
2806 echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6
2811 if test -z "$ac_cv_prog_CC"; then
2813 # Extract the first word of "cc", so it can be a program name with args.
2814 set dummy cc
; ac_word
=$2
2815 echo "$as_me:$LINENO: checking for $ac_word" >&5
2816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2817 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2818 echo $ECHO_N "(cached) $ECHO_C" >&6
2820 if test -n "$ac_ct_CC"; then
2821 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir
=.
2828 for ac_exec_ext
in '' $ac_executable_extensions; do
2829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2830 ac_cv_prog_ac_ct_CC
="cc"
2831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2840 if test -n "$ac_ct_CC"; then
2841 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2842 echo "${ECHO_T}$ac_ct_CC" >&6
2844 echo "$as_me:$LINENO: result: no" >&5
2845 echo "${ECHO_T}no" >&6
2854 if test -z "$CC"; then
2855 # Extract the first word of "cc", so it can be a program name with args.
2856 set dummy cc
; ac_word
=$2
2857 echo "$as_me:$LINENO: checking for $ac_word" >&5
2858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2859 if test "${ac_cv_prog_CC+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 if test -n "$CC"; then
2863 ac_cv_prog_CC
="$CC" # Let the user override the test.
2866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir
=.
2871 for ac_exec_ext
in '' $ac_executable_extensions; do
2872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2873 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2874 ac_prog_rejected
=yes
2878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 if test $ac_prog_rejected = yes; then
2885 # We found a bogon in the path, so make sure we never use it.
2886 set dummy
$ac_cv_prog_CC
2888 if test $# != 0; then
2889 # We chose a different compiler from the bogus one.
2890 # However, it has the same basename, so the bogon will be chosen
2891 # first if we set CC to just the basename; use the full file name.
2893 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2899 if test -n "$CC"; then
2900 echo "$as_me:$LINENO: result: $CC" >&5
2901 echo "${ECHO_T}$CC" >&6
2903 echo "$as_me:$LINENO: result: no" >&5
2904 echo "${ECHO_T}no" >&6
2908 if test -z "$CC"; then
2909 if test -n "$ac_tool_prefix"; then
2912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2913 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2914 echo "$as_me:$LINENO: checking for $ac_word" >&5
2915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2916 if test "${ac_cv_prog_CC+set}" = set; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 if test -n "$CC"; then
2920 ac_cv_prog_CC
="$CC" # Let the user override the test.
2922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir
=.
2927 for ac_exec_ext
in '' $ac_executable_extensions; do
2928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 if test -n "$CC"; then
2940 echo "$as_me:$LINENO: result: $CC" >&5
2941 echo "${ECHO_T}$CC" >&6
2943 echo "$as_me:$LINENO: result: no" >&5
2944 echo "${ECHO_T}no" >&6
2947 test -n "$CC" && break
2950 if test -z "$CC"; then
2954 # Extract the first word of "$ac_prog", so it can be a program name with args.
2955 set dummy
$ac_prog; ac_word
=$2
2956 echo "$as_me:$LINENO: checking for $ac_word" >&5
2957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2958 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2959 echo $ECHO_N "(cached) $ECHO_C" >&6
2961 if test -n "$ac_ct_CC"; then
2962 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir
=.
2969 for ac_exec_ext
in '' $ac_executable_extensions; do
2970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2971 ac_cv_prog_ac_ct_CC
="$ac_prog"
2972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2981 if test -n "$ac_ct_CC"; then
2982 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2983 echo "${ECHO_T}$ac_ct_CC" >&6
2985 echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2989 test -n "$ac_ct_CC" && break
2998 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2999 See \`config.log' for more details." >&5
3000 echo "$as_me: error: no acceptable C compiler found in \$PATH
3001 See \`config.log' for more details." >&2;}
3002 { (exit 1); exit 1; }; }
3004 # Provide some information about the compiler.
3005 echo "$as_me:$LINENO:" \
3006 "checking for C compiler version" >&5
3007 ac_compiler
=`set X $ac_compile; echo $2`
3008 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3009 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); }
3013 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3014 (eval $ac_compiler -v </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); }
3024 cat >conftest.
$ac_ext <<_ACEOF
3027 cat confdefs.h
>>conftest.
$ac_ext
3028 cat >>conftest.
$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3039 ac_clean_files_save
=$ac_clean_files
3040 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3041 # Try to create an executable without -o first, disregard a.out.
3042 # It will help us diagnose broken compilers, and finding out an intuition
3044 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3045 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3046 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3047 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3048 (eval $ac_link_default) 2>&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); }; then
3052 # Find the output, starting from the most likely. This scheme is
3053 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3056 # Be careful to initialize this variable, since it used to be cached.
3057 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3059 # b.out is created by i960 compilers.
3060 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3062 test -f "$ac_file" ||
continue
3064 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3067 # This is the source file.
3070 # We found the default executable, but exeext='' is most
3074 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3075 # FIXME: I believe we export ac_cv_exeext for Libtool,
3076 # but it would be cool to find out if it's true. Does anybody
3077 # maintain Libtool? --akim.
3085 echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.
$ac_ext >&5
3088 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3089 See \`config.log' for more details." >&5
3090 echo "$as_me: error: C compiler cannot create executables
3091 See \`config.log' for more details." >&2;}
3092 { (exit 77); exit 77; }; }
3095 ac_exeext
=$ac_cv_exeext
3096 echo "$as_me:$LINENO: result: $ac_file" >&5
3097 echo "${ECHO_T}$ac_file" >&6
3099 # Check the compiler produces executables we can run. If not, either
3100 # the compiler is broken, or we cross compile.
3101 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3102 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3103 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3104 # If not cross compiling, check that we can run a simple program.
3105 if test "$cross_compiling" != yes; then
3106 if { ac_try
='./$ac_file'
3107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); }; }; then
3114 if test "$cross_compiling" = maybe
; then
3117 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3118 If you meant to cross compile, use \`--host'.
3119 See \`config.log' for more details." >&5
3120 echo "$as_me: error: cannot run C compiled programs.
3121 If you meant to cross compile, use \`--host'.
3122 See \`config.log' for more details." >&2;}
3123 { (exit 1); exit 1; }; }
3127 echo "$as_me:$LINENO: result: yes" >&5
3128 echo "${ECHO_T}yes" >&6
3130 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3131 ac_clean_files
=$ac_clean_files_save
3132 # Check the compiler produces executables we can run. If not, either
3133 # the compiler is broken, or we cross compile.
3134 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3135 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3136 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3137 echo "${ECHO_T}$cross_compiling" >&6
3139 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3140 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3142 (eval $ac_link) 2>&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; then
3146 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3147 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3148 # work properly (i.e., refer to `conftest.exe'), while it won't with
3150 for ac_file
in conftest.exe conftest conftest.
*; do
3151 test -f "$ac_file" ||
continue
3153 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3154 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3161 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3162 See \`config.log' for more details." >&5
3163 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3164 See \`config.log' for more details." >&2;}
3165 { (exit 1); exit 1; }; }
3168 rm -f conftest
$ac_cv_exeext
3169 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3170 echo "${ECHO_T}$ac_cv_exeext" >&6
3172 rm -f conftest.
$ac_ext
3173 EXEEXT
=$ac_cv_exeext
3175 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3176 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3177 if test "${ac_cv_objext+set}" = set; then
3178 echo $ECHO_N "(cached) $ECHO_C" >&6
3180 cat >conftest.
$ac_ext <<_ACEOF
3183 cat confdefs.h
>>conftest.
$ac_ext
3184 cat >>conftest.
$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3195 rm -f conftest.o conftest.obj
3196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3197 (eval $ac_compile) 2>&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); }; then
3201 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3203 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3204 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.
$ac_ext >&5
3212 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3213 See \`config.log' for more details." >&5
3214 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3215 See \`config.log' for more details." >&2;}
3216 { (exit 1); exit 1; }; }
3219 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3221 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3222 echo "${ECHO_T}$ac_cv_objext" >&6
3223 OBJEXT
=$ac_cv_objext
3225 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3226 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3227 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3228 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 cat >conftest.
$ac_ext <<_ACEOF
3233 cat confdefs.h
>>conftest.
$ac_ext
3234 cat >>conftest.
$ac_ext <<_ACEOF
3235 /* end confdefs.h. */
3248 rm -f conftest.
$ac_objext
3249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3250 (eval $ac_compile) 2>conftest.er1
3252 grep -v '^ *+' conftest.er1
>conftest.err
3254 cat conftest.err
>&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } &&
3257 { ac_try
='test -z "$ac_c_werror_flag"
3258 || test ! -s conftest.err'
3259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; } &&
3264 { ac_try
='test -s conftest.$ac_objext'
3265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; }; then
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.
$ac_ext >&5
3277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3278 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3281 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3282 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3283 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3284 ac_test_CFLAGS
=${CFLAGS+set}
3285 ac_save_CFLAGS
=$CFLAGS
3287 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3288 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3289 if test "${ac_cv_prog_cc_g+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 cat >conftest.
$ac_ext <<_ACEOF
3295 cat confdefs.h
>>conftest.
$ac_ext
3296 cat >>conftest.
$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3307 rm -f conftest.
$ac_objext
3308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3309 (eval $ac_compile) 2>conftest.er1
3311 grep -v '^ *+' conftest.er1
>conftest.err
3313 cat conftest.err
>&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } &&
3316 { ac_try
='test -z "$ac_c_werror_flag"
3317 || test ! -s conftest.err'
3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; } &&
3323 { ac_try
='test -s conftest.$ac_objext'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; }; then
3331 echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.
$ac_ext >&5
3336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3338 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3339 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3340 if test "$ac_test_CFLAGS" = set; then
3341 CFLAGS
=$ac_save_CFLAGS
3342 elif test $ac_cv_prog_cc_g = yes; then
3343 if test "$GCC" = yes; then
3349 if test "$GCC" = yes; then
3355 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3356 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3357 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3358 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 ac_cv_prog_cc_stdc
=no
3362 cat >conftest.
$ac_ext <<_ACEOF
3365 cat confdefs.h
>>conftest.
$ac_ext
3366 cat >>conftest.
$ac_ext <<_ACEOF
3367 /* end confdefs.h. */
3370 #include <sys/types.h>
3371 #include <sys/stat.h>
3372 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3373 struct buf { int x; };
3374 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3375 static char *e (p, i)
3381 static char *f (char * (*g) (char **, int), char **p, ...)
3386 s = g (p, va_arg (v,int));
3391 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3392 function prototypes and stuff, but not '\xHH' hex character constants.
3393 These don't provoke an error unfortunately, instead are silently treated
3394 as 'x'. The following induces an error, until -std1 is added to get
3395 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3396 array size at least. It's necessary to write '\x00'==0 to get something
3397 that's true only with -std1. */
3398 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3400 int test (int i, double x);
3401 struct s1 {int (*f) (int a);};
3402 struct s2 {int (*f) (double a);};
3403 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3409 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3414 # Don't try gcc -ansi; that turns off useful extensions and
3415 # breaks some systems' header files.
3416 # AIX -qlanglvl=ansi
3417 # Ultrix and OSF/1 -std1
3418 # HP-UX 10.20 and later -Ae
3419 # HP-UX older versions -Aa -D_HPUX_SOURCE
3420 # SVR4 -Xc -D__EXTENSIONS__
3421 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3423 CC
="$ac_save_CC $ac_arg"
3424 rm -f conftest.
$ac_objext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 (eval $ac_compile) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1
>conftest.err
3430 cat conftest.err
>&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try
='test -z "$ac_c_werror_flag"
3434 || test ! -s conftest.err'
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }; } &&
3440 { ac_try
='test -s conftest.$ac_objext'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; }; then
3446 ac_cv_prog_cc_stdc
=$ac_arg
3449 echo "$as_me: failed program was:" >&5
3450 sed 's/^/| /' conftest.
$ac_ext >&5
3453 rm -f conftest.err conftest.
$ac_objext
3455 rm -f conftest.
$ac_ext conftest.
$ac_objext
3460 case "x$ac_cv_prog_cc_stdc" in
3462 echo "$as_me:$LINENO: result: none needed" >&5
3463 echo "${ECHO_T}none needed" >&6 ;;
3465 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3466 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3467 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3470 # Some people use a C++ compiler to compile C. Since we use `exit',
3471 # in C++ we need to declare it. In case someone uses the same compiler
3472 # for both compiling C and C++ we need to have the C++ compiler decide
3473 # the declaration of exit, since it's the most demanding environment.
3474 cat >conftest.
$ac_ext <<_ACEOF
3479 rm -f conftest.
$ac_objext
3480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3481 (eval $ac_compile) 2>conftest.er1
3483 grep -v '^ *+' conftest.er1
>conftest.err
3485 cat conftest.err
>&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); } &&
3488 { ac_try
='test -z "$ac_c_werror_flag"
3489 || test ! -s conftest.err'
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; } &&
3495 { ac_try
='test -s conftest.$ac_objext'
3496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); }; }; then
3501 for ac_declaration
in \
3503 'extern "C" void std::exit (int) throw (); using std::exit;' \
3504 'extern "C" void std::exit (int); using std::exit;' \
3505 'extern "C" void exit (int) throw ();' \
3506 'extern "C" void exit (int);' \
3509 cat >conftest.
$ac_ext <<_ACEOF
3512 cat confdefs.h
>>conftest.
$ac_ext
3513 cat >>conftest.
$ac_ext <<_ACEOF
3514 /* end confdefs.h. */
3525 rm -f conftest.
$ac_objext
3526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3527 (eval $ac_compile) 2>conftest.er1
3529 grep -v '^ *+' conftest.er1
>conftest.err
3531 cat conftest.err
>&5
3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533 (exit $ac_status); } &&
3534 { ac_try
='test -z "$ac_c_werror_flag"
3535 || test ! -s conftest.err'
3536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); }; } &&
3541 { ac_try
='test -s conftest.$ac_objext'
3542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }; }; then
3549 echo "$as_me: failed program was:" >&5
3550 sed 's/^/| /' conftest.
$ac_ext >&5
3554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3555 cat >conftest.
$ac_ext <<_ACEOF
3558 cat confdefs.h
>>conftest.
$ac_ext
3559 cat >>conftest.
$ac_ext <<_ACEOF
3560 /* end confdefs.h. */
3570 rm -f conftest.
$ac_objext
3571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3572 (eval $ac_compile) 2>conftest.er1
3574 grep -v '^ *+' conftest.er1
>conftest.err
3576 cat conftest.err
>&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); } &&
3579 { ac_try
='test -z "$ac_c_werror_flag"
3580 || test ! -s conftest.err'
3581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); }; } &&
3586 { ac_try
='test -s conftest.$ac_objext'
3587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }; }; then
3594 echo "$as_me: failed program was:" >&5
3595 sed 's/^/| /' conftest.
$ac_ext >&5
3598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3601 if test -n "$ac_declaration"; then
3602 echo '#ifdef __cplusplus' >>confdefs.h
3603 echo $ac_declaration >>confdefs.h
3604 echo '#endif' >>confdefs.h
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.
$ac_ext >&5
3612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3614 ac_cpp
='$CPP $CPPFLAGS'
3615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3620 # On Suns, sometimes $CPP names a directory.
3621 if test -n "$CPP" && test -d "$CPP"; then
3625 #### Some systems specify a CPP to use unless we are using GCC.
3626 #### Now that we know whether we are using GCC, we can decide whether
3627 #### to use that one.
3628 if test "x$NON_GNU_CPP" != x
&& test x
$GCC != xyes
&& test "x$CPP" = x
3633 #### Some systems specify a CC to use unless we are using GCC.
3634 #### Now that we know whether we are using GCC, we can decide whether
3635 #### to use that one.
3636 if test "x$NON_GNU_CC" != x
&& test x
$GCC != xyes
&&
3637 test x
$cc_specified != xyes
3642 if test x
$GCC = xyes
&& test "x$GCC_TEST_OPTIONS" != x
3644 CC
="$CC $GCC_TEST_OPTIONS"
3647 if test x
$GCC = x
&& test "x$NON_GCC_TEST_OPTIONS" != x
3649 CC
="$CC $NON_GCC_TEST_OPTIONS"
3652 #### Some other nice autoconf tests.
3654 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3655 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3657 if test "$LN_S" = "ln -s"; then
3658 echo "$as_me:$LINENO: result: yes" >&5
3659 echo "${ECHO_T}yes" >&6
3661 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3662 echo "${ECHO_T}no, using $LN_S" >&6
3666 ac_cpp
='$CPP $CPPFLAGS'
3667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3670 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3671 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3672 # On Suns, sometimes $CPP names a directory.
3673 if test -n "$CPP" && test -d "$CPP"; then
3676 if test -z "$CPP"; then
3677 if test "${ac_cv_prog_CPP+set}" = set; then
3678 echo $ECHO_N "(cached) $ECHO_C" >&6
3680 # Double quotes because CPP needs to be expanded
3681 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3684 for ac_c_preproc_warn_flag
in '' yes
3686 # Use a header file that comes with gcc, so configuring glibc
3687 # with a fresh cross-compiler works.
3688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3689 # <limits.h> exists even on freestanding compilers.
3690 # On the NeXT, cc -E runs the code through the compiler's parser,
3691 # not just through cpp. "Syntax error" is here to catch this case.
3692 cat >conftest.
$ac_ext <<_ACEOF
3695 cat confdefs.h
>>conftest.
$ac_ext
3696 cat >>conftest.
$ac_ext <<_ACEOF
3697 /* end confdefs.h. */
3699 # include <limits.h>
3701 # include <assert.h>
3705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3706 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3708 grep -v '^ *+' conftest.er1
>conftest.err
3710 cat conftest.err
>&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); } >/dev
/null
; then
3713 if test -s conftest.err
; then
3714 ac_cpp_err
=$ac_c_preproc_warn_flag
3715 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3722 if test -z "$ac_cpp_err"; then
3725 echo "$as_me: failed program was:" >&5
3726 sed 's/^/| /' conftest.
$ac_ext >&5
3728 # Broken: fails on valid input.
3731 rm -f conftest.err conftest.
$ac_ext
3733 # OK, works on sane cases. Now check whether non-existent headers
3734 # can be detected and how.
3735 cat >conftest.
$ac_ext <<_ACEOF
3738 cat confdefs.h
>>conftest.
$ac_ext
3739 cat >>conftest.
$ac_ext <<_ACEOF
3740 /* end confdefs.h. */
3741 #include <ac_nonexistent.h>
3743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3744 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3746 grep -v '^ *+' conftest.er1
>conftest.err
3748 cat conftest.err
>&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); } >/dev
/null
; then
3751 if test -s conftest.err
; then
3752 ac_cpp_err
=$ac_c_preproc_warn_flag
3753 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3760 if test -z "$ac_cpp_err"; then
3761 # Broken: success on invalid input.
3764 echo "$as_me: failed program was:" >&5
3765 sed 's/^/| /' conftest.
$ac_ext >&5
3767 # Passes both tests.
3771 rm -f conftest.err conftest.
$ac_ext
3774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3775 rm -f conftest.err conftest.
$ac_ext
3776 if $ac_preproc_ok; then
3788 echo "$as_me:$LINENO: result: $CPP" >&5
3789 echo "${ECHO_T}$CPP" >&6
3791 for ac_c_preproc_warn_flag
in '' yes
3793 # Use a header file that comes with gcc, so configuring glibc
3794 # with a fresh cross-compiler works.
3795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3796 # <limits.h> exists even on freestanding compilers.
3797 # On the NeXT, cc -E runs the code through the compiler's parser,
3798 # not just through cpp. "Syntax error" is here to catch this case.
3799 cat >conftest.
$ac_ext <<_ACEOF
3802 cat confdefs.h
>>conftest.
$ac_ext
3803 cat >>conftest.
$ac_ext <<_ACEOF
3804 /* end confdefs.h. */
3806 # include <limits.h>
3808 # include <assert.h>
3812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3813 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3815 grep -v '^ *+' conftest.er1
>conftest.err
3817 cat conftest.err
>&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); } >/dev
/null
; then
3820 if test -s conftest.err
; then
3821 ac_cpp_err
=$ac_c_preproc_warn_flag
3822 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3829 if test -z "$ac_cpp_err"; then
3832 echo "$as_me: failed program was:" >&5
3833 sed 's/^/| /' conftest.
$ac_ext >&5
3835 # Broken: fails on valid input.
3838 rm -f conftest.err conftest.
$ac_ext
3840 # OK, works on sane cases. Now check whether non-existent headers
3841 # can be detected and how.
3842 cat >conftest.
$ac_ext <<_ACEOF
3845 cat confdefs.h
>>conftest.
$ac_ext
3846 cat >>conftest.
$ac_ext <<_ACEOF
3847 /* end confdefs.h. */
3848 #include <ac_nonexistent.h>
3850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3853 grep -v '^ *+' conftest.er1
>conftest.err
3855 cat conftest.err
>&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } >/dev
/null
; then
3858 if test -s conftest.err
; then
3859 ac_cpp_err
=$ac_c_preproc_warn_flag
3860 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3867 if test -z "$ac_cpp_err"; then
3868 # Broken: success on invalid input.
3871 echo "$as_me: failed program was:" >&5
3872 sed 's/^/| /' conftest.
$ac_ext >&5
3874 # Passes both tests.
3878 rm -f conftest.err conftest.
$ac_ext
3881 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3882 rm -f conftest.err conftest.
$ac_ext
3883 if $ac_preproc_ok; then
3886 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3887 See \`config.log' for more details." >&5
3888 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3889 See \`config.log' for more details." >&2;}
3890 { (exit 1); exit 1; }; }
3894 ac_cpp
='$CPP $CPPFLAGS'
3895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3899 # Find a good install program. We prefer a C program (faster),
3900 # so one script is as good as another. But avoid the broken or
3901 # incompatible versions:
3902 # SysV /etc/install, /usr/sbin/install
3903 # SunOS /usr/etc/install
3904 # IRIX /sbin/install
3906 # AmigaOS /C/install, which installs bootblocks on floppy discs
3907 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3908 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3909 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3910 # OS/2's system install, which has a completely different semantic
3911 # ./install, which can be erroneously created by make from ./install.sh.
3912 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3913 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3914 if test -z "$INSTALL"; then
3915 if test "${ac_cv_path_install+set}" = set; then
3916 echo $ECHO_N "(cached) $ECHO_C" >&6
3918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3922 test -z "$as_dir" && as_dir
=.
3923 # Account for people who put trailing slashes in PATH elements.
3925 .
/ | .
// |
/cC
/* | \
3926 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3927 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3930 # OSF1 and SCO ODT 3.0 have their own names for install.
3931 # Don't use installbsd from OSF since it installs stuff as root
3933 for ac_prog
in ginstall scoinst
install; do
3934 for ac_exec_ext
in '' $ac_executable_extensions; do
3935 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3936 if test $ac_prog = install &&
3937 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3938 # AIX install. It has an incompatible calling convention.
3940 elif test $ac_prog = install &&
3941 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3942 # program-specific install script used by HP pwplus--don't use.
3945 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3957 if test "${ac_cv_path_install+set}" = set; then
3958 INSTALL
=$ac_cv_path_install
3960 # As a last resort, use the slow shell script. We don't cache a
3961 # path for INSTALL within a source directory, because that will
3962 # break other packages using the cache if that directory is
3963 # removed, or if the path is relative.
3964 INSTALL
=$ac_install_sh
3967 echo "$as_me:$LINENO: result: $INSTALL" >&5
3968 echo "${ECHO_T}$INSTALL" >&6
3970 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3971 # It thinks the first close brace ends the variable substitution.
3972 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3974 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3976 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3978 if test "x$RANLIB" = x
; then
3979 if test -n "$ac_tool_prefix"; then
3980 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3981 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3984 if test "${ac_cv_prog_RANLIB+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3987 if test -n "$RANLIB"; then
3988 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir
=.
3995 for ac_exec_ext
in '' $ac_executable_extensions; do
3996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 RANLIB
=$ac_cv_prog_RANLIB
4007 if test -n "$RANLIB"; then
4008 echo "$as_me:$LINENO: result: $RANLIB" >&5
4009 echo "${ECHO_T}$RANLIB" >&6
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4016 if test -z "$ac_cv_prog_RANLIB"; then
4017 ac_ct_RANLIB
=$RANLIB
4018 # Extract the first word of "ranlib", so it can be a program name with args.
4019 set dummy ranlib
; ac_word
=$2
4020 echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4022 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 if test -n "$ac_ct_RANLIB"; then
4026 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4045 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4046 if test -n "$ac_ct_RANLIB"; then
4047 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4048 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4054 RANLIB
=$ac_ct_RANLIB
4056 RANLIB
="$ac_cv_prog_RANLIB"
4060 # Extract the first word of "install-info", so it can be a program name with args.
4061 set dummy install-info
; ac_word
=$2
4062 echo "$as_me:$LINENO: checking for $ac_word" >&5
4063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4064 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 case $INSTALL_INFO in
4069 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir
=.
4077 for ac_exec_ext
in '' $ac_executable_extensions; do
4078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4091 if test -n "$INSTALL_INFO"; then
4092 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4093 echo "${ECHO_T}$INSTALL_INFO" >&6
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4099 # Extract the first word of "install-info", so it can be a program name with args.
4100 set dummy install-info
; ac_word
=$2
4101 echo "$as_me:$LINENO: checking for $ac_word" >&5
4102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4103 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 case $INSTALL_INFO in
4108 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4112 for as_dir
in /usr
/sbin
4115 test -z "$as_dir" && as_dir
=.
4116 for ac_exec_ext
in '' $ac_executable_extensions; do
4117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4118 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4128 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4130 if test -n "$INSTALL_INFO"; then
4131 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4132 echo "${ECHO_T}$INSTALL_INFO" >&6
4134 echo "$as_me:$LINENO: result: no" >&5
4135 echo "${ECHO_T}no" >&6
4138 # Extract the first word of "install-info", so it can be a program name with args.
4139 set dummy install-info
; ac_word
=$2
4140 echo "$as_me:$LINENO: checking for $ac_word" >&5
4141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4142 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6
4145 case $INSTALL_INFO in
4147 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4154 test -z "$as_dir" && as_dir
=.
4155 for ac_exec_ext
in '' $ac_executable_extensions; do
4156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4157 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4164 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
=":"
4168 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4170 if test -n "$INSTALL_INFO"; then
4171 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4172 echo "${ECHO_T}$INSTALL_INFO" >&6
4174 echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6
4180 if test x
$GCC = xyes
&& test "x$GCC_LINK_TEST_OPTIONS" != x
4182 ac_link
="$ac_link $GCC_LINK_TEST_OPTIONS"
4185 if test x
$GCC = x
&& test "x$NON_GCC_LINK_TEST_OPTIONS" != x
4187 ac_link
="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
4191 late_LDFLAGS
=$LDFLAGS
4192 if test "$GCC" = yes; then
4193 LDFLAGS
="$LDFLAGS -Wl,-znocombreloc"
4195 LDFLAGS
="$LDFLAGS -znocombreloc"
4198 echo "$as_me:$LINENO: checking For -znocombreloc" >&5
4199 echo $ECHO_N "checking For -znocombreloc... $ECHO_C" >&6
4201 cat >conftest.
$ac_ext <<_ACEOF
4204 rm -f conftest.
$ac_objext conftest
$ac_exeext
4205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4206 (eval $ac_link) 2>conftest.er1
4208 grep -v '^ *+' conftest.er1
>conftest.err
4210 cat conftest.err
>&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); } &&
4213 { ac_try
='test -z "$ac_c_werror_flag"
4214 || test ! -s conftest.err'
4215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); }; } &&
4220 { ac_try
='test -s conftest$ac_exeext'
4221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); }; }; then
4226 echo "$as_me:$LINENO: result: yes" >&5
4227 echo "${ECHO_T}yes" >&6
4229 echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.
$ac_ext >&5
4232 LDFLAGS
=$late_LDFLAGS
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4236 rm -f conftest.err conftest.
$ac_objext \
4237 conftest
$ac_exeext conftest.
$ac_ext
4240 echo "$as_me:$LINENO: checking for egrep" >&5
4241 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4242 if test "${ac_cv_prog_egrep+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4246 then ac_cv_prog_egrep
='grep -E'
4247 else ac_cv_prog_egrep
='egrep'
4250 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4251 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4252 EGREP
=$ac_cv_prog_egrep
4256 echo "$as_me:$LINENO: checking for AIX" >&5
4257 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
4258 cat >conftest.
$ac_ext <<_ACEOF
4261 cat confdefs.h
>>conftest.
$ac_ext
4262 cat >>conftest.
$ac_ext <<_ACEOF
4263 /* end confdefs.h. */
4269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4270 $EGREP "yes" >/dev
/null
2>&1; then
4271 echo "$as_me:$LINENO: result: yes" >&5
4272 echo "${ECHO_T}yes" >&6
4273 cat >>confdefs.h
<<\_ACEOF
4274 #define _ALL_SOURCE 1
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4286 #### Extract some information from the operating system and machine files.
4288 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
4289 - which libraries the lib-src programs will want, and
4290 - whether the GNU malloc routines are usable..." >&5
4291 echo "$as_me: checking the machine- and system-dependent files to find out
4292 - which libraries the lib-src programs will want, and
4293 - whether the GNU malloc routines are usable..." >&6;}
4295 ### First figure out CFLAGS (which we use for running the compiler here)
4296 ### and REAL_CFLAGS (which we use for real compilation).
4297 ### The two are the same except on a few systems, where they are made
4298 ### different to work around various lossages. For example,
4299 ### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
4300 ### as implying static linking.
4302 ### If the CFLAGS env var is specified, we use that value
4303 ### instead of the default.
4305 ### It's not important that this name contain the PID; you can't run
4306 ### two configures in the same directory and have anything work
4308 tempcname
="conftest.c"
4311 #include "'${srcdir}'/src/'${opsysfile}'"
4312 #include "'${srcdir}'/src/'${machfile}'"
4313 #ifndef LIBS_MACHINE
4314 #define LIBS_MACHINE
4319 #ifndef C_SWITCH_SYSTEM
4320 #define C_SWITCH_SYSTEM
4322 #ifndef C_SWITCH_MACHINE
4323 #define C_SWITCH_MACHINE
4325 configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
4326 configure___ c_switch_system=C_SWITCH_SYSTEM
4327 configure___ c_switch_machine=C_SWITCH_MACHINE
4330 #define LIB_X11_LIB -lX11
4333 #ifndef LIBX11_MACHINE
4334 #define LIBX11_MACHINE
4337 #ifndef LIBX11_SYSTEM
4338 #define LIBX11_SYSTEM
4340 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
4343 configure___ unexec=UNEXEC
4345 configure___ unexec=unexec.o
4348 #ifdef SYSTEM_MALLOC
4349 configure___ system_malloc=yes
4351 configure___ system_malloc=no
4354 #ifdef USE_MMAP_FOR_BUFFERS
4355 configure___ use_mmap_for_buffers=yes
4357 configure___ use_mmap_for_buffers=no
4360 #ifndef C_DEBUG_SWITCH
4361 #define C_DEBUG_SWITCH -g
4364 #ifndef C_OPTIMIZE_SWITCH
4366 #define C_OPTIMIZE_SWITCH -O2
4368 #define C_OPTIMIZE_SWITCH -O
4372 #ifndef LD_SWITCH_MACHINE
4373 #define LD_SWITCH_MACHINE
4376 #ifndef LD_SWITCH_SYSTEM
4377 #define LD_SWITCH_SYSTEM
4380 #ifndef LD_SWITCH_X_SITE_AUX
4381 #define LD_SWITCH_X_SITE_AUX
4384 configure___ ld_switch_system=LD_SWITCH_SYSTEM
4385 configure___ ld_switch_machine=LD_SWITCH_MACHINE
4387 #ifdef THIS_IS_CONFIGURE
4389 /* Get the CFLAGS for tests in configure. */
4391 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4393 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4396 #else /* not THIS_IS_CONFIGURE */
4398 /* Get the CFLAGS for real compilation. */
4400 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4402 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4405 #endif /* not THIS_IS_CONFIGURE */
4408 # The value of CPP is a quoted variable reference, so we need to do this
4409 # to get its actual value...
4410 CPP
=`eval "echo $CPP"`
4411 eval `${CPP} -Isrc ${tempcname} \
4412 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4413 if test "x$SPECIFIED_CFLAGS" = x
; then
4414 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
4415 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4417 REAL_CFLAGS
="$CFLAGS"
4421 ac_link
="$ac_link $ld_switch_machine $ld_switch_system"
4423 ### Make sure subsequent tests use flags consistent with the build flags.
4425 if test x
"${OVERRIDE_CPPFLAGS}" != x
; then
4426 CPPFLAGS
="${OVERRIDE_CPPFLAGS}"
4428 CPPFLAGS
="$c_switch_system $c_switch_machine $CPPFLAGS"
4434 cat >>confdefs.h
<<\_ACEOF
4435 #define _GNU_SOURCE 1
4440 # Check whether --enable-largefile or --disable-largefile was given.
4441 if test "${enable_largefile+set}" = set; then
4442 enableval
="$enable_largefile"
4445 if test "$enable_largefile" != no
; then
4447 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4448 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4449 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4450 echo $ECHO_N "(cached) $ECHO_C" >&6
4452 ac_cv_sys_largefile_CC
=no
4453 if test "$GCC" != yes; then
4456 # IRIX 6.2 and later do not support large files by default,
4457 # so use the C compiler's -n32 option if that helps.
4458 cat >conftest.
$ac_ext <<_ACEOF
4461 cat confdefs.h
>>conftest.
$ac_ext
4462 cat >>conftest.
$ac_ext <<_ACEOF
4463 /* end confdefs.h. */
4464 #include <sys/types.h>
4465 /* Check that off_t can represent 2**63 - 1 correctly.
4466 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4467 since some C++ compilers masquerading as C compilers
4468 incorrectly reject 9223372036854775807. */
4469 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4470 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4471 && LARGE_OFF_T % 2147483647 == 1)
4481 rm -f conftest.
$ac_objext
4482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4483 (eval $ac_compile) 2>conftest.er1
4485 grep -v '^ *+' conftest.er1
>conftest.err
4487 cat conftest.err
>&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); } &&
4490 { ac_try
='test -z "$ac_c_werror_flag"
4491 || test ! -s conftest.err'
4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; } &&
4497 { ac_try
='test -s conftest.$ac_objext'
4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; }; then
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.
$ac_ext >&5
4509 rm -f conftest.err conftest.
$ac_objext
4511 rm -f conftest.
$ac_objext
4512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4513 (eval $ac_compile) 2>conftest.er1
4515 grep -v '^ *+' conftest.er1
>conftest.err
4517 cat conftest.err
>&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); } &&
4520 { ac_try
='test -z "$ac_c_werror_flag"
4521 || test ! -s conftest.err'
4522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); }; } &&
4527 { ac_try
='test -s conftest.$ac_objext'
4528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); }; }; then
4533 ac_cv_sys_largefile_CC
=' -n32'; break
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.
$ac_ext >&5
4539 rm -f conftest.err conftest.
$ac_objext
4543 rm -f conftest.
$ac_ext
4546 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4547 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4548 if test "$ac_cv_sys_largefile_CC" != no
; then
4549 CC
=$CC$ac_cv_sys_largefile_CC
4552 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4553 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4554 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 ac_cv_sys_file_offset_bits
=no
4559 cat >conftest.
$ac_ext <<_ACEOF
4562 cat confdefs.h
>>conftest.
$ac_ext
4563 cat >>conftest.
$ac_ext <<_ACEOF
4564 /* end confdefs.h. */
4565 #include <sys/types.h>
4566 /* Check that off_t can represent 2**63 - 1 correctly.
4567 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4568 since some C++ compilers masquerading as C compilers
4569 incorrectly reject 9223372036854775807. */
4570 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4571 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4572 && LARGE_OFF_T % 2147483647 == 1)
4582 rm -f conftest.
$ac_objext
4583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4584 (eval $ac_compile) 2>conftest.er1
4586 grep -v '^ *+' conftest.er1
>conftest.err
4588 cat conftest.err
>&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } &&
4591 { ac_try
='test -z "$ac_c_werror_flag"
4592 || test ! -s conftest.err'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; } &&
4598 { ac_try
='test -s conftest.$ac_objext'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; }; then
4606 echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.
$ac_ext >&5
4610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4611 cat >conftest.
$ac_ext <<_ACEOF
4614 cat confdefs.h
>>conftest.
$ac_ext
4615 cat >>conftest.
$ac_ext <<_ACEOF
4616 /* end confdefs.h. */
4617 #define _FILE_OFFSET_BITS 64
4618 #include <sys/types.h>
4619 /* Check that off_t can represent 2**63 - 1 correctly.
4620 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4621 since some C++ compilers masquerading as C compilers
4622 incorrectly reject 9223372036854775807. */
4623 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4624 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4625 && LARGE_OFF_T % 2147483647 == 1)
4635 rm -f conftest.
$ac_objext
4636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4637 (eval $ac_compile) 2>conftest.er1
4639 grep -v '^ *+' conftest.er1
>conftest.err
4641 cat conftest.err
>&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } &&
4644 { ac_try
='test -z "$ac_c_werror_flag"
4645 || test ! -s conftest.err'
4646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; } &&
4651 { ac_try
='test -s conftest.$ac_objext'
4652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); }; }; then
4657 ac_cv_sys_file_offset_bits
=64; break
4659 echo "$as_me: failed program was:" >&5
4660 sed 's/^/| /' conftest.
$ac_ext >&5
4663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4667 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4668 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4669 if test "$ac_cv_sys_file_offset_bits" != no
; then
4671 cat >>confdefs.h
<<_ACEOF
4672 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4677 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4678 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4679 if test "${ac_cv_sys_large_files+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4683 ac_cv_sys_large_files
=no
4684 cat >conftest.
$ac_ext <<_ACEOF
4687 cat confdefs.h
>>conftest.
$ac_ext
4688 cat >>conftest.
$ac_ext <<_ACEOF
4689 /* end confdefs.h. */
4690 #include <sys/types.h>
4691 /* Check that off_t can represent 2**63 - 1 correctly.
4692 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4693 since some C++ compilers masquerading as C compilers
4694 incorrectly reject 9223372036854775807. */
4695 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4696 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4697 && LARGE_OFF_T % 2147483647 == 1)
4707 rm -f conftest.
$ac_objext
4708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4709 (eval $ac_compile) 2>conftest.er1
4711 grep -v '^ *+' conftest.er1
>conftest.err
4713 cat conftest.err
>&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); } &&
4716 { ac_try
='test -z "$ac_c_werror_flag"
4717 || test ! -s conftest.err'
4718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); }; } &&
4723 { ac_try
='test -s conftest.$ac_objext'
4724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); }; }; then
4731 echo "$as_me: failed program was:" >&5
4732 sed 's/^/| /' conftest.
$ac_ext >&5
4735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4736 cat >conftest.
$ac_ext <<_ACEOF
4739 cat confdefs.h
>>conftest.
$ac_ext
4740 cat >>conftest.
$ac_ext <<_ACEOF
4741 /* end confdefs.h. */
4742 #define _LARGE_FILES 1
4743 #include <sys/types.h>
4744 /* Check that off_t can represent 2**63 - 1 correctly.
4745 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4746 since some C++ compilers masquerading as C compilers
4747 incorrectly reject 9223372036854775807. */
4748 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4749 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4750 && LARGE_OFF_T % 2147483647 == 1)
4760 rm -f conftest.
$ac_objext
4761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4762 (eval $ac_compile) 2>conftest.er1
4764 grep -v '^ *+' conftest.er1
>conftest.err
4766 cat conftest.err
>&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } &&
4769 { ac_try
='test -z "$ac_c_werror_flag"
4770 || test ! -s conftest.err'
4771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); }; } &&
4776 { ac_try
='test -s conftest.$ac_objext'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; }; then
4782 ac_cv_sys_large_files
=1; break
4784 echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.
$ac_ext >&5
4788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4792 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4793 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4794 if test "$ac_cv_sys_large_files" != no
; then
4796 cat >>confdefs.h
<<_ACEOF
4797 #define _LARGE_FILES $ac_cv_sys_large_files
4805 if test "${with_sound}" != "no"; then
4806 # Sound support for GNU/Linux and the free BSDs.
4807 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4808 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4809 if test "${ac_cv_header_stdc+set}" = set; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4812 cat >conftest.
$ac_ext <<_ACEOF
4815 cat confdefs.h
>>conftest.
$ac_ext
4816 cat >>conftest.
$ac_ext <<_ACEOF
4817 /* end confdefs.h. */
4831 rm -f conftest.
$ac_objext
4832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4833 (eval $ac_compile) 2>conftest.er1
4835 grep -v '^ *+' conftest.er1
>conftest.err
4837 cat conftest.err
>&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); } &&
4840 { ac_try
='test -z "$ac_c_werror_flag"
4841 || test ! -s conftest.err'
4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); }; } &&
4847 { ac_try
='test -s conftest.$ac_objext'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; }; then
4853 ac_cv_header_stdc
=yes
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.
$ac_ext >&5
4858 ac_cv_header_stdc
=no
4860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4862 if test $ac_cv_header_stdc = yes; then
4863 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4864 cat >conftest.
$ac_ext <<_ACEOF
4867 cat confdefs.h
>>conftest.
$ac_ext
4868 cat >>conftest.
$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4874 $EGREP "memchr" >/dev
/null
2>&1; then
4877 ac_cv_header_stdc
=no
4883 if test $ac_cv_header_stdc = yes; then
4884 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4885 cat >conftest.
$ac_ext <<_ACEOF
4888 cat confdefs.h
>>conftest.
$ac_ext
4889 cat >>conftest.
$ac_ext <<_ACEOF
4890 /* end confdefs.h. */
4894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4895 $EGREP "free" >/dev
/null
2>&1; then
4898 ac_cv_header_stdc
=no
4904 if test $ac_cv_header_stdc = yes; then
4905 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4906 if test "$cross_compiling" = yes; then
4909 cat >conftest.
$ac_ext <<_ACEOF
4912 cat confdefs.h
>>conftest.
$ac_ext
4913 cat >>conftest.
$ac_ext <<_ACEOF
4914 /* end confdefs.h. */
4916 #if ((' ' & 0x0FF) == 0x020)
4917 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4918 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4920 # define ISLOWER(c) \
4921 (('a' <= (c) && (c) <= 'i') \
4922 || ('j' <= (c) && (c) <= 'r') \
4923 || ('s' <= (c) && (c) <= 'z'))
4924 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4927 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4932 for (i = 0; i < 256; i++)
4933 if (XOR (islower (i), ISLOWER (i))
4934 || toupper (i) != TOUPPER (i))
4939 rm -f conftest
$ac_exeext
4940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4941 (eval $ac_link) 2>&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); }; }; then
4952 echo "$as_me: program exited with status $ac_status" >&5
4953 echo "$as_me: failed program was:" >&5
4954 sed 's/^/| /' conftest.
$ac_ext >&5
4957 ac_cv_header_stdc
=no
4959 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4963 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4964 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4965 if test $ac_cv_header_stdc = yes; then
4967 cat >>confdefs.h
<<\_ACEOF
4968 #define STDC_HEADERS 1
4973 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4983 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4984 inttypes.h stdint.h unistd.h
4986 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4987 echo "$as_me:$LINENO: checking for $ac_header" >&5
4988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4990 echo $ECHO_N "(cached) $ECHO_C" >&6
4992 cat >conftest.
$ac_ext <<_ACEOF
4995 cat confdefs.h
>>conftest.
$ac_ext
4996 cat >>conftest.
$ac_ext <<_ACEOF
4997 /* end confdefs.h. */
4998 $ac_includes_default
5000 #include <$ac_header>
5002 rm -f conftest.
$ac_objext
5003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5004 (eval $ac_compile) 2>conftest.er1
5006 grep -v '^ *+' conftest.er1
>conftest.err
5008 cat conftest.err
>&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); } &&
5011 { ac_try
='test -z "$ac_c_werror_flag"
5012 || test ! -s conftest.err'
5013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); }; } &&
5018 { ac_try
='test -s conftest.$ac_objext'
5019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); }; }; then
5024 eval "$as_ac_Header=yes"
5026 echo "$as_me: failed program was:" >&5
5027 sed 's/^/| /' conftest.
$ac_ext >&5
5029 eval "$as_ac_Header=no"
5031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5036 cat >>confdefs.h
<<_ACEOF
5037 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5048 for ac_header
in machine
/soundcard.h sys
/soundcard.h soundcard.h
5050 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5052 echo "$as_me:$LINENO: checking for $ac_header" >&5
5053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5055 echo $ECHO_N "(cached) $ECHO_C" >&6
5057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5058 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5060 # Is the header compilable?
5061 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5062 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5063 cat >conftest.
$ac_ext <<_ACEOF
5066 cat confdefs.h
>>conftest.
$ac_ext
5067 cat >>conftest.
$ac_ext <<_ACEOF
5068 /* end confdefs.h. */
5069 $ac_includes_default
5070 #include <$ac_header>
5072 rm -f conftest.
$ac_objext
5073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5074 (eval $ac_compile) 2>conftest.er1
5076 grep -v '^ *+' conftest.er1
>conftest.err
5078 cat conftest.err
>&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } &&
5081 { ac_try
='test -z "$ac_c_werror_flag"
5082 || test ! -s conftest.err'
5083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); }; } &&
5088 { ac_try
='test -s conftest.$ac_objext'
5089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); }; }; then
5094 ac_header_compiler
=yes
5096 echo "$as_me: failed program was:" >&5
5097 sed 's/^/| /' conftest.
$ac_ext >&5
5099 ac_header_compiler
=no
5101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5102 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5103 echo "${ECHO_T}$ac_header_compiler" >&6
5105 # Is the header present?
5106 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5107 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5108 cat >conftest.
$ac_ext <<_ACEOF
5111 cat confdefs.h
>>conftest.
$ac_ext
5112 cat >>conftest.
$ac_ext <<_ACEOF
5113 /* end confdefs.h. */
5114 #include <$ac_header>
5116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5117 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5119 grep -v '^ *+' conftest.er1
>conftest.err
5121 cat conftest.err
>&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); } >/dev
/null
; then
5124 if test -s conftest.err
; then
5125 ac_cpp_err
=$ac_c_preproc_warn_flag
5126 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5133 if test -z "$ac_cpp_err"; then
5134 ac_header_preproc
=yes
5136 echo "$as_me: failed program was:" >&5
5137 sed 's/^/| /' conftest.
$ac_ext >&5
5139 ac_header_preproc
=no
5141 rm -f conftest.err conftest.
$ac_ext
5142 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5143 echo "${ECHO_T}$ac_header_preproc" >&6
5145 # So? What about this header?
5146 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5148 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5149 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5151 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5152 ac_header_preproc
=yes
5155 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5156 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5157 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5158 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5159 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5160 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5161 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5162 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5164 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5165 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5166 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5169 ## ------------------------------------------ ##
5170 ## Report this to the AC_PACKAGE_NAME lists. ##
5171 ## ------------------------------------------ ##
5174 sed "s/^/$as_me: WARNING: /" >&2
5177 echo "$as_me:$LINENO: checking for $ac_header" >&5
5178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5180 echo $ECHO_N "(cached) $ECHO_C" >&6
5182 eval "$as_ac_Header=\$ac_header_preproc"
5184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5189 cat >>confdefs.h
<<_ACEOF
5190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5197 # Emulation library used on NetBSD.
5198 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5199 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5200 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5201 echo $ECHO_N "(cached) $ECHO_C" >&6
5203 ac_check_lib_save_LIBS
=$LIBS
5204 LIBS
="-lossaudio $LIBS"
5205 cat >conftest.
$ac_ext <<_ACEOF
5208 cat confdefs.h
>>conftest.
$ac_ext
5209 cat >>conftest.
$ac_ext <<_ACEOF
5210 /* end confdefs.h. */
5212 /* Override any gcc2 internal prototype to avoid an error. */
5216 /* We use char because int might match the return type of a gcc2
5217 builtin and then its argument prototype would still apply. */
5227 rm -f conftest.
$ac_objext conftest
$ac_exeext
5228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5229 (eval $ac_link) 2>conftest.er1
5231 grep -v '^ *+' conftest.er1
>conftest.err
5233 cat conftest.err
>&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } &&
5236 { ac_try
='test -z "$ac_c_werror_flag"
5237 || test ! -s conftest.err'
5238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); }; } &&
5243 { ac_try
='test -s conftest$ac_exeext'
5244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); }; }; then
5249 ac_cv_lib_ossaudio__oss_ioctl
=yes
5251 echo "$as_me: failed program was:" >&5
5252 sed 's/^/| /' conftest.
$ac_ext >&5
5254 ac_cv_lib_ossaudio__oss_ioctl
=no
5256 rm -f conftest.err conftest.
$ac_objext \
5257 conftest
$ac_exeext conftest.
$ac_ext
5258 LIBS
=$ac_check_lib_save_LIBS
5260 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5261 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5262 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5296 for ac_header
in sys
/select.h sys
/timeb.h sys
/time.h unistd.h utime.h \
5297 linux
/version.h sys
/systeminfo.h termios.h limits.h string.h stdlib.h \
5298 termcap.h stdio_ext.h fcntl.h
strings.h coff.h pty.h sys
/mman.h \
5299 sys
/param.h sys
/vlimit.h sys
/resource.h locale.h sys
/_mbstate_t.h \
5302 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5304 echo "$as_me:$LINENO: checking for $ac_header" >&5
5305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5307 echo $ECHO_N "(cached) $ECHO_C" >&6
5309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5312 # Is the header compilable?
5313 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5314 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5315 cat >conftest.
$ac_ext <<_ACEOF
5318 cat confdefs.h
>>conftest.
$ac_ext
5319 cat >>conftest.
$ac_ext <<_ACEOF
5320 /* end confdefs.h. */
5321 $ac_includes_default
5322 #include <$ac_header>
5324 rm -f conftest.
$ac_objext
5325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5326 (eval $ac_compile) 2>conftest.er1
5328 grep -v '^ *+' conftest.er1
>conftest.err
5330 cat conftest.err
>&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } &&
5333 { ac_try
='test -z "$ac_c_werror_flag"
5334 || test ! -s conftest.err'
5335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 (exit $ac_status); }; } &&
5340 { ac_try
='test -s conftest.$ac_objext'
5341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); }; }; then
5346 ac_header_compiler
=yes
5348 echo "$as_me: failed program was:" >&5
5349 sed 's/^/| /' conftest.
$ac_ext >&5
5351 ac_header_compiler
=no
5353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5355 echo "${ECHO_T}$ac_header_compiler" >&6
5357 # Is the header present?
5358 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5359 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5360 cat >conftest.
$ac_ext <<_ACEOF
5363 cat confdefs.h
>>conftest.
$ac_ext
5364 cat >>conftest.
$ac_ext <<_ACEOF
5365 /* end confdefs.h. */
5366 #include <$ac_header>
5368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5371 grep -v '^ *+' conftest.er1
>conftest.err
5373 cat conftest.err
>&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); } >/dev
/null
; then
5376 if test -s conftest.err
; then
5377 ac_cpp_err
=$ac_c_preproc_warn_flag
5378 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5385 if test -z "$ac_cpp_err"; then
5386 ac_header_preproc
=yes
5388 echo "$as_me: failed program was:" >&5
5389 sed 's/^/| /' conftest.
$ac_ext >&5
5391 ac_header_preproc
=no
5393 rm -f conftest.err conftest.
$ac_ext
5394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5395 echo "${ECHO_T}$ac_header_preproc" >&6
5397 # So? What about this header?
5398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5400 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5401 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5403 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5404 ac_header_preproc
=yes
5407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5410 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5411 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5412 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5413 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5414 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5416 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5417 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5418 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5421 ## ------------------------------------------ ##
5422 ## Report this to the AC_PACKAGE_NAME lists. ##
5423 ## ------------------------------------------ ##
5426 sed "s/^/$as_me: WARNING: /" >&2
5429 echo "$as_me:$LINENO: checking for $ac_header" >&5
5430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5434 eval "$as_ac_Header=\$ac_header_preproc"
5436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5441 cat >>confdefs.h
<<_ACEOF
5442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5450 echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5
5451 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6
5452 cat >conftest.
$ac_ext <<_ACEOF
5455 cat confdefs.h
>>conftest.
$ac_ext
5456 cat >>conftest.
$ac_ext <<_ACEOF
5457 /* end confdefs.h. */
5458 #include <sys/personality.h>
5462 personality (PER_LINUX32)
5467 rm -f conftest.
$ac_objext
5468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5469 (eval $ac_compile) 2>conftest.er1
5471 grep -v '^ *+' conftest.er1
>conftest.err
5473 cat conftest.err
>&5
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); } &&
5476 { ac_try
='test -z "$ac_c_werror_flag"
5477 || test ! -s conftest.err'
5478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482 (exit $ac_status); }; } &&
5483 { ac_try
='test -s conftest.$ac_objext'
5484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488 (exit $ac_status); }; }; then
5489 emacs_cv_personality_linux32
=yes
5491 echo "$as_me: failed program was:" >&5
5492 sed 's/^/| /' conftest.
$ac_ext >&5
5494 emacs_cv_personality_linux32
=no
5496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5497 echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
5498 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6
5500 if test $emacs_cv_personality_linux32 = yes; then
5502 cat >>confdefs.h
<<\_ACEOF
5503 #define HAVE_PERSONALITY_LINUX32 1
5509 for ac_header
in term.h
5511 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5512 echo "$as_me:$LINENO: checking for $ac_header" >&5
5513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5517 cat >conftest.
$ac_ext <<_ACEOF
5520 cat confdefs.h
>>conftest.
$ac_ext
5521 cat >>conftest.
$ac_ext <<_ACEOF
5522 /* end confdefs.h. */
5523 #include <$ac_header>
5525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5528 grep -v '^ *+' conftest.er1
>conftest.err
5530 cat conftest.err
>&5
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532 (exit $ac_status); } >/dev
/null
; then
5533 if test -s conftest.err
; then
5534 ac_cpp_err
=$ac_c_preproc_warn_flag
5535 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5542 if test -z "$ac_cpp_err"; then
5543 eval "$as_ac_Header=yes"
5545 echo "$as_me: failed program was:" >&5
5546 sed 's/^/| /' conftest.
$ac_ext >&5
5548 eval "$as_ac_Header=no"
5550 rm -f conftest.err conftest.
$ac_ext
5552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5555 cat >>confdefs.h
<<_ACEOF
5556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5563 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5564 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5565 if test "${ac_cv_header_stdc+set}" = set; then
5566 echo $ECHO_N "(cached) $ECHO_C" >&6
5568 cat >conftest.
$ac_ext <<_ACEOF
5571 cat confdefs.h
>>conftest.
$ac_ext
5572 cat >>conftest.
$ac_ext <<_ACEOF
5573 /* end confdefs.h. */
5587 rm -f conftest.
$ac_objext
5588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5589 (eval $ac_compile) 2>conftest.er1
5591 grep -v '^ *+' conftest.er1
>conftest.err
5593 cat conftest.err
>&5
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); } &&
5596 { ac_try
='test -z "$ac_c_werror_flag"
5597 || test ! -s conftest.err'
5598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); }; } &&
5603 { ac_try
='test -s conftest.$ac_objext'
5604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); }; }; then
5609 ac_cv_header_stdc
=yes
5611 echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.
$ac_ext >&5
5614 ac_cv_header_stdc
=no
5616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5618 if test $ac_cv_header_stdc = yes; then
5619 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5620 cat >conftest.
$ac_ext <<_ACEOF
5623 cat confdefs.h
>>conftest.
$ac_ext
5624 cat >>conftest.
$ac_ext <<_ACEOF
5625 /* end confdefs.h. */
5629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5630 $EGREP "memchr" >/dev
/null
2>&1; then
5633 ac_cv_header_stdc
=no
5639 if test $ac_cv_header_stdc = yes; then
5640 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5641 cat >conftest.
$ac_ext <<_ACEOF
5644 cat confdefs.h
>>conftest.
$ac_ext
5645 cat >>conftest.
$ac_ext <<_ACEOF
5646 /* end confdefs.h. */
5650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5651 $EGREP "free" >/dev
/null
2>&1; then
5654 ac_cv_header_stdc
=no
5660 if test $ac_cv_header_stdc = yes; then
5661 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5662 if test "$cross_compiling" = yes; then
5665 cat >conftest.
$ac_ext <<_ACEOF
5668 cat confdefs.h
>>conftest.
$ac_ext
5669 cat >>conftest.
$ac_ext <<_ACEOF
5670 /* end confdefs.h. */
5672 #if ((' ' & 0x0FF) == 0x020)
5673 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5674 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5676 # define ISLOWER(c) \
5677 (('a' <= (c) && (c) <= 'i') \
5678 || ('j' <= (c) && (c) <= 'r') \
5679 || ('s' <= (c) && (c) <= 'z'))
5680 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5683 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5688 for (i = 0; i < 256; i++)
5689 if (XOR (islower (i), ISLOWER (i))
5690 || toupper (i) != TOUPPER (i))
5695 rm -f conftest
$ac_exeext
5696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5697 (eval $ac_link) 2>&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 (exit $ac_status); }; }; then
5708 echo "$as_me: program exited with status $ac_status" >&5
5709 echo "$as_me: failed program was:" >&5
5710 sed 's/^/| /' conftest.
$ac_ext >&5
5713 ac_cv_header_stdc
=no
5715 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5719 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5720 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5721 if test $ac_cv_header_stdc = yes; then
5723 cat >>confdefs.h
<<\_ACEOF
5724 #define STDC_HEADERS 1
5729 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5730 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5731 if test "${ac_cv_header_time+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 cat >conftest.
$ac_ext <<_ACEOF
5737 cat confdefs.h
>>conftest.
$ac_ext
5738 cat >>conftest.
$ac_ext <<_ACEOF
5739 /* end confdefs.h. */
5740 #include <sys/types.h>
5741 #include <sys/time.h>
5747 if ((struct tm *) 0)
5753 rm -f conftest.
$ac_objext
5754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5755 (eval $ac_compile) 2>conftest.er1
5757 grep -v '^ *+' conftest.er1
>conftest.err
5759 cat conftest.err
>&5
5760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 (exit $ac_status); } &&
5762 { ac_try
='test -z "$ac_c_werror_flag"
5763 || test ! -s conftest.err'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; } &&
5769 { ac_try
='test -s conftest.$ac_objext'
5770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); }; }; then
5775 ac_cv_header_time
=yes
5777 echo "$as_me: failed program was:" >&5
5778 sed 's/^/| /' conftest.
$ac_ext >&5
5780 ac_cv_header_time
=no
5782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5784 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5785 echo "${ECHO_T}$ac_cv_header_time" >&6
5786 if test $ac_cv_header_time = yes; then
5788 cat >>confdefs.h
<<\_ACEOF
5789 #define TIME_WITH_SYS_TIME 1
5794 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
5795 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
5796 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 cat >conftest.
$ac_ext <<_ACEOF
5802 cat confdefs.h
>>conftest.
$ac_ext
5803 cat >>conftest.
$ac_ext <<_ACEOF
5804 /* end confdefs.h. */
5805 $ac_includes_default
5810 char *p = (char *) sys_siglist;
5817 rm -f conftest.
$ac_objext
5818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5819 (eval $ac_compile) 2>conftest.er1
5821 grep -v '^ *+' conftest.er1
>conftest.err
5823 cat conftest.err
>&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); } &&
5826 { ac_try
='test -z "$ac_c_werror_flag"
5827 || test ! -s conftest.err'
5828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); }; } &&
5833 { ac_try
='test -s conftest.$ac_objext'
5834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838 (exit $ac_status); }; }; then
5839 ac_cv_have_decl_sys_siglist
=yes
5841 echo "$as_me: failed program was:" >&5
5842 sed 's/^/| /' conftest.
$ac_ext >&5
5844 ac_cv_have_decl_sys_siglist
=no
5846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5848 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
5849 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
5850 if test $ac_cv_have_decl_sys_siglist = yes; then
5852 cat >>confdefs.h
<<_ACEOF
5853 #define HAVE_DECL_SYS_SIGLIST 1
5858 cat >>confdefs.h
<<_ACEOF
5859 #define HAVE_DECL_SYS_SIGLIST 0
5866 if test $ac_cv_have_decl_sys_siglist != yes; then
5867 # For Tru64, at least:
5868 echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
5869 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6
5870 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 cat >conftest.
$ac_ext <<_ACEOF
5876 cat confdefs.h
>>conftest.
$ac_ext
5877 cat >>conftest.
$ac_ext <<_ACEOF
5878 /* end confdefs.h. */
5879 $ac_includes_default
5883 #ifndef __sys_siglist
5884 char *p = (char *) __sys_siglist;
5891 rm -f conftest.
$ac_objext
5892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5893 (eval $ac_compile) 2>conftest.er1
5895 grep -v '^ *+' conftest.er1
>conftest.err
5897 cat conftest.err
>&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); } &&
5900 { ac_try
='test -z "$ac_c_werror_flag"
5901 || test ! -s conftest.err'
5902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); }; } &&
5907 { ac_try
='test -s conftest.$ac_objext'
5908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); }; }; then
5913 ac_cv_have_decl___sys_siglist
=yes
5915 echo "$as_me: failed program was:" >&5
5916 sed 's/^/| /' conftest.
$ac_ext >&5
5918 ac_cv_have_decl___sys_siglist
=no
5920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5922 echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
5923 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6
5924 if test $ac_cv_have_decl___sys_siglist = yes; then
5926 cat >>confdefs.h
<<_ACEOF
5927 #define HAVE_DECL___SYS_SIGLIST 1
5932 cat >>confdefs.h
<<_ACEOF
5933 #define HAVE_DECL___SYS_SIGLIST 0
5940 if test $ac_cv_have_decl___sys_siglist = yes; then
5942 cat >>confdefs.h
<<\_ACEOF
5943 #define sys_siglist __sys_siglist
5948 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5949 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5950 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5953 cat >conftest.
$ac_ext <<_ACEOF
5956 cat confdefs.h
>>conftest.
$ac_ext
5957 cat >>conftest.
$ac_ext <<_ACEOF
5958 /* end confdefs.h. */
5959 #include <sys/types.h>
5960 #include <sys/wait.h>
5962 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5965 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5973 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5978 rm -f conftest.
$ac_objext
5979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5980 (eval $ac_compile) 2>conftest.er1
5982 grep -v '^ *+' conftest.er1
>conftest.err
5984 cat conftest.err
>&5
5985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986 (exit $ac_status); } &&
5987 { ac_try
='test -z "$ac_c_werror_flag"
5988 || test ! -s conftest.err'
5989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); }; } &&
5994 { ac_try
='test -s conftest.$ac_objext'
5995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 (exit $ac_status); }; }; then
6000 ac_cv_header_sys_wait_h
=yes
6002 echo "$as_me: failed program was:" >&5
6003 sed 's/^/| /' conftest.
$ac_ext >&5
6005 ac_cv_header_sys_wait_h
=no
6007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6009 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6010 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
6011 if test $ac_cv_header_sys_wait_h = yes; then
6013 cat >>confdefs.h
<<\_ACEOF
6014 #define HAVE_SYS_WAIT_H 1
6020 echo "$as_me:$LINENO: checking for struct utimbuf" >&5
6021 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
6022 if test "${emacs_cv_struct_utimbuf+set}" = set; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6025 cat >conftest.
$ac_ext <<_ACEOF
6028 cat confdefs.h
>>conftest.
$ac_ext
6029 cat >>conftest.
$ac_ext <<_ACEOF
6030 /* end confdefs.h. */
6031 #ifdef TIME_WITH_SYS_TIME
6032 #include <sys/time.h>
6035 #ifdef HAVE_SYS_TIME_H
6036 #include <sys/time.h>
6047 static struct utimbuf x; x.actime = x.modtime;
6052 rm -f conftest.
$ac_objext
6053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6054 (eval $ac_compile) 2>conftest.er1
6056 grep -v '^ *+' conftest.er1
>conftest.err
6058 cat conftest.err
>&5
6059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6060 (exit $ac_status); } &&
6061 { ac_try
='test -z "$ac_c_werror_flag"
6062 || test ! -s conftest.err'
6063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); }; } &&
6068 { ac_try
='test -s conftest.$ac_objext'
6069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); }; }; then
6074 emacs_cv_struct_utimbuf
=yes
6076 echo "$as_me: failed program was:" >&5
6077 sed 's/^/| /' conftest.
$ac_ext >&5
6079 emacs_cv_struct_utimbuf
=no
6081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6083 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
6084 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
6085 if test $emacs_cv_struct_utimbuf = yes; then
6087 cat >>confdefs.h
<<\_ACEOF
6088 #define HAVE_STRUCT_UTIMBUF 1
6093 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6094 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6095 if test "${ac_cv_type_signal+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 cat >conftest.
$ac_ext <<_ACEOF
6101 cat confdefs.h
>>conftest.
$ac_ext
6102 cat >>conftest.
$ac_ext <<_ACEOF
6103 /* end confdefs.h. */
6104 #include <sys/types.h>
6110 extern "C" void (*signal (int, void (*)(int)))(int);
6112 void (*signal ()) ();
6123 rm -f conftest.
$ac_objext
6124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6125 (eval $ac_compile) 2>conftest.er1
6127 grep -v '^ *+' conftest.er1
>conftest.err
6129 cat conftest.err
>&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); } &&
6132 { ac_try
='test -z "$ac_c_werror_flag"
6133 || test ! -s conftest.err'
6134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); }; } &&
6139 { ac_try
='test -s conftest.$ac_objext'
6140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }; }; then
6145 ac_cv_type_signal
=void
6147 echo "$as_me: failed program was:" >&5
6148 sed 's/^/| /' conftest.
$ac_ext >&5
6150 ac_cv_type_signal
=int
6152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6154 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6155 echo "${ECHO_T}$ac_cv_type_signal" >&6
6157 cat >>confdefs.h
<<_ACEOF
6158 #define RETSIGTYPE $ac_cv_type_signal
6163 echo "$as_me:$LINENO: checking for speed_t" >&5
6164 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
6165 if test "${emacs_cv_speed_t+set}" = set; then
6166 echo $ECHO_N "(cached) $ECHO_C" >&6
6168 cat >conftest.
$ac_ext <<_ACEOF
6171 cat confdefs.h
>>conftest.
$ac_ext
6172 cat >>conftest.
$ac_ext <<_ACEOF
6173 /* end confdefs.h. */
6174 #include <termios.h>
6183 rm -f conftest.
$ac_objext
6184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6185 (eval $ac_compile) 2>conftest.er1
6187 grep -v '^ *+' conftest.er1
>conftest.err
6189 cat conftest.err
>&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); } &&
6192 { ac_try
='test -z "$ac_c_werror_flag"
6193 || test ! -s conftest.err'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; } &&
6199 { ac_try
='test -s conftest.$ac_objext'
6200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); }; }; then
6205 emacs_cv_speed_t
=yes
6207 echo "$as_me: failed program was:" >&5
6208 sed 's/^/| /' conftest.
$ac_ext >&5
6212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6214 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
6215 echo "${ECHO_T}$emacs_cv_speed_t" >&6
6216 if test $emacs_cv_speed_t = yes; then
6218 cat >>confdefs.h
<<\_ACEOF
6219 #define HAVE_SPEED_T 1
6224 echo "$as_me:$LINENO: checking for struct timeval" >&5
6225 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
6226 if test "${emacs_cv_struct_timeval+set}" = set; then
6227 echo $ECHO_N "(cached) $ECHO_C" >&6
6229 cat >conftest.
$ac_ext <<_ACEOF
6232 cat confdefs.h
>>conftest.
$ac_ext
6233 cat >>conftest.
$ac_ext <<_ACEOF
6234 /* end confdefs.h. */
6235 #ifdef TIME_WITH_SYS_TIME
6236 #include <sys/time.h>
6239 #ifdef HAVE_SYS_TIME_H
6240 #include <sys/time.h>
6248 static struct timeval x; x.tv_sec = x.tv_usec;
6253 rm -f conftest.
$ac_objext
6254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6255 (eval $ac_compile) 2>conftest.er1
6257 grep -v '^ *+' conftest.er1
>conftest.err
6259 cat conftest.err
>&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); } &&
6262 { ac_try
='test -z "$ac_c_werror_flag"
6263 || test ! -s conftest.err'
6264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); }; } &&
6269 { ac_try
='test -s conftest.$ac_objext'
6270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); }; }; then
6275 emacs_cv_struct_timeval
=yes
6277 echo "$as_me: failed program was:" >&5
6278 sed 's/^/| /' conftest.
$ac_ext >&5
6280 emacs_cv_struct_timeval
=no
6282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6284 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
6285 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
6286 HAVE_TIMEVAL
=$emacs_cv_struct_timeval
6287 if test $emacs_cv_struct_timeval = yes; then
6289 cat >>confdefs.h
<<\_ACEOF
6290 #define HAVE_TIMEVAL 1
6295 echo "$as_me:$LINENO: checking for struct exception" >&5
6296 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
6297 if test "${emacs_cv_struct_exception+set}" = set; then
6298 echo $ECHO_N "(cached) $ECHO_C" >&6
6300 cat >conftest.
$ac_ext <<_ACEOF
6303 cat confdefs.h
>>conftest.
$ac_ext
6304 cat >>conftest.
$ac_ext <<_ACEOF
6305 /* end confdefs.h. */
6310 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
6315 rm -f conftest.
$ac_objext
6316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6317 (eval $ac_compile) 2>conftest.er1
6319 grep -v '^ *+' conftest.er1
>conftest.err
6321 cat conftest.err
>&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); } &&
6324 { ac_try
='test -z "$ac_c_werror_flag"
6325 || test ! -s conftest.err'
6326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330 (exit $ac_status); }; } &&
6331 { ac_try
='test -s conftest.$ac_objext'
6332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); }; }; then
6337 emacs_cv_struct_exception
=yes
6339 echo "$as_me: failed program was:" >&5
6340 sed 's/^/| /' conftest.
$ac_ext >&5
6342 emacs_cv_struct_exception
=no
6344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6346 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
6347 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
6348 HAVE_EXCEPTION
=$emacs_cv_struct_exception
6349 if test $emacs_cv_struct_exception != yes; then
6351 cat >>confdefs.h
<<\_ACEOF
6352 #define NO_MATHERR 1
6358 for ac_header
in sys
/socket.h
6360 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6362 echo "$as_me:$LINENO: checking for $ac_header" >&5
6363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6365 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6370 # Is the header compilable?
6371 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6372 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6373 cat >conftest.
$ac_ext <<_ACEOF
6376 cat confdefs.h
>>conftest.
$ac_ext
6377 cat >>conftest.
$ac_ext <<_ACEOF
6378 /* end confdefs.h. */
6379 $ac_includes_default
6380 #include <$ac_header>
6382 rm -f conftest.
$ac_objext
6383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6384 (eval $ac_compile) 2>conftest.er1
6386 grep -v '^ *+' conftest.er1
>conftest.err
6388 cat conftest.err
>&5
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); } &&
6391 { ac_try
='test -z "$ac_c_werror_flag"
6392 || test ! -s conftest.err'
6393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); }; } &&
6398 { ac_try
='test -s conftest.$ac_objext'
6399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); }; }; then
6404 ac_header_compiler
=yes
6406 echo "$as_me: failed program was:" >&5
6407 sed 's/^/| /' conftest.
$ac_ext >&5
6409 ac_header_compiler
=no
6411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6413 echo "${ECHO_T}$ac_header_compiler" >&6
6415 # Is the header present?
6416 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6417 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6418 cat >conftest.
$ac_ext <<_ACEOF
6421 cat confdefs.h
>>conftest.
$ac_ext
6422 cat >>conftest.
$ac_ext <<_ACEOF
6423 /* end confdefs.h. */
6424 #include <$ac_header>
6426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6429 grep -v '^ *+' conftest.er1
>conftest.err
6431 cat conftest.err
>&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); } >/dev
/null
; then
6434 if test -s conftest.err
; then
6435 ac_cpp_err
=$ac_c_preproc_warn_flag
6436 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6443 if test -z "$ac_cpp_err"; then
6444 ac_header_preproc
=yes
6446 echo "$as_me: failed program was:" >&5
6447 sed 's/^/| /' conftest.
$ac_ext >&5
6449 ac_header_preproc
=no
6451 rm -f conftest.err conftest.
$ac_ext
6452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6453 echo "${ECHO_T}$ac_header_preproc" >&6
6455 # So? What about this header?
6456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6458 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6459 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6461 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6462 ac_header_preproc
=yes
6465 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6466 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6467 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6468 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6469 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6470 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6471 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6472 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6473 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6474 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6475 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6476 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6479 ## ------------------------------------------ ##
6480 ## Report this to the AC_PACKAGE_NAME lists. ##
6481 ## ------------------------------------------ ##
6484 sed "s/^/$as_me: WARNING: /" >&2
6487 echo "$as_me:$LINENO: checking for $ac_header" >&5
6488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6490 echo $ECHO_N "(cached) $ECHO_C" >&6
6492 eval "$as_ac_Header=\$ac_header_preproc"
6494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6499 cat >>confdefs.h
<<_ACEOF
6500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6508 for ac_header
in net
/if.h
6510 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6511 echo "$as_me:$LINENO: checking for $ac_header" >&5
6512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6514 echo $ECHO_N "(cached) $ECHO_C" >&6
6516 cat >conftest.
$ac_ext <<_ACEOF
6519 cat confdefs.h
>>conftest.
$ac_ext
6520 cat >>conftest.
$ac_ext <<_ACEOF
6521 /* end confdefs.h. */
6522 $ac_includes_default
6523 #if HAVE_SYS_SOCKET_H
6524 #include <sys/socket.h>
6527 #include <$ac_header>
6529 rm -f conftest.
$ac_objext
6530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6531 (eval $ac_compile) 2>conftest.er1
6533 grep -v '^ *+' conftest.er1
>conftest.err
6535 cat conftest.err
>&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); } &&
6538 { ac_try
='test -z "$ac_c_werror_flag"
6539 || test ! -s conftest.err'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; } &&
6545 { ac_try
='test -s conftest.$ac_objext'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; }; then
6551 eval "$as_ac_Header=yes"
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.
$ac_ext >&5
6556 eval "$as_ac_Header=no"
6558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6563 cat >>confdefs.h
<<_ACEOF
6564 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6572 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6573 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6574 if test "${ac_cv_struct_tm+set}" = set; then
6575 echo $ECHO_N "(cached) $ECHO_C" >&6
6577 cat >conftest.
$ac_ext <<_ACEOF
6580 cat confdefs.h
>>conftest.
$ac_ext
6581 cat >>conftest.
$ac_ext <<_ACEOF
6582 /* end confdefs.h. */
6583 #include <sys/types.h>
6589 struct tm *tp; tp->tm_sec;
6594 rm -f conftest.
$ac_objext
6595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6596 (eval $ac_compile) 2>conftest.er1
6598 grep -v '^ *+' conftest.er1
>conftest.err
6600 cat conftest.err
>&5
6601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602 (exit $ac_status); } &&
6603 { ac_try
='test -z "$ac_c_werror_flag"
6604 || test ! -s conftest.err'
6605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); }; } &&
6610 { ac_try
='test -s conftest.$ac_objext'
6611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); }; }; then
6616 ac_cv_struct_tm
=time.h
6618 echo "$as_me: failed program was:" >&5
6619 sed 's/^/| /' conftest.
$ac_ext >&5
6621 ac_cv_struct_tm
=sys
/time.h
6623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6625 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6626 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6627 if test $ac_cv_struct_tm = sys
/time.h
; then
6629 cat >>confdefs.h
<<\_ACEOF
6630 #define TM_IN_SYS_TIME 1
6635 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6636 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
6637 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6638 echo $ECHO_N "(cached) $ECHO_C" >&6
6640 cat >conftest.
$ac_ext <<_ACEOF
6643 cat confdefs.h
>>conftest.
$ac_ext
6644 cat >>conftest.
$ac_ext <<_ACEOF
6645 /* end confdefs.h. */
6646 #include <sys/types.h>
6647 #include <$ac_cv_struct_tm>
6653 static struct tm ac_aggr;
6654 if (ac_aggr.tm_zone)
6660 rm -f conftest.
$ac_objext
6661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6662 (eval $ac_compile) 2>conftest.er1
6664 grep -v '^ *+' conftest.er1
>conftest.err
6666 cat conftest.err
>&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); } &&
6669 { ac_try
='test -z "$ac_c_werror_flag"
6670 || test ! -s conftest.err'
6671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); }; } &&
6676 { ac_try
='test -s conftest.$ac_objext'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; }; then
6682 ac_cv_member_struct_tm_tm_zone
=yes
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.
$ac_ext >&5
6687 cat >conftest.
$ac_ext <<_ACEOF
6690 cat confdefs.h
>>conftest.
$ac_ext
6691 cat >>conftest.
$ac_ext <<_ACEOF
6692 /* end confdefs.h. */
6693 #include <sys/types.h>
6694 #include <$ac_cv_struct_tm>
6700 static struct tm ac_aggr;
6701 if (sizeof ac_aggr.tm_zone)
6707 rm -f conftest.
$ac_objext
6708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6709 (eval $ac_compile) 2>conftest.er1
6711 grep -v '^ *+' conftest.er1
>conftest.err
6713 cat conftest.err
>&5
6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715 (exit $ac_status); } &&
6716 { ac_try
='test -z "$ac_c_werror_flag"
6717 || test ! -s conftest.err'
6718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722 (exit $ac_status); }; } &&
6723 { ac_try
='test -s conftest.$ac_objext'
6724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 (exit $ac_status); }; }; then
6729 ac_cv_member_struct_tm_tm_zone
=yes
6731 echo "$as_me: failed program was:" >&5
6732 sed 's/^/| /' conftest.
$ac_ext >&5
6734 ac_cv_member_struct_tm_tm_zone
=no
6736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6740 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6741 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
6742 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6744 cat >>confdefs.h
<<_ACEOF
6745 #define HAVE_STRUCT_TM_TM_ZONE 1
6751 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6753 cat >>confdefs.h
<<\_ACEOF
6754 #define HAVE_TM_ZONE 1
6758 echo "$as_me:$LINENO: checking for tzname" >&5
6759 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6760 if test "${ac_cv_var_tzname+set}" = set; then
6761 echo $ECHO_N "(cached) $ECHO_C" >&6
6763 cat >conftest.
$ac_ext <<_ACEOF
6766 cat confdefs.h
>>conftest.
$ac_ext
6767 cat >>conftest.
$ac_ext <<_ACEOF
6768 /* end confdefs.h. */
6770 #ifndef tzname /* For SGI. */
6771 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6782 rm -f conftest.
$ac_objext conftest
$ac_exeext
6783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6784 (eval $ac_link) 2>conftest.er1
6786 grep -v '^ *+' conftest.er1
>conftest.err
6788 cat conftest.err
>&5
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); } &&
6791 { ac_try
='test -z "$ac_c_werror_flag"
6792 || test ! -s conftest.err'
6793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 (exit $ac_status); }; } &&
6798 { ac_try
='test -s conftest$ac_exeext'
6799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803 (exit $ac_status); }; }; then
6804 ac_cv_var_tzname
=yes
6806 echo "$as_me: failed program was:" >&5
6807 sed 's/^/| /' conftest.
$ac_ext >&5
6811 rm -f conftest.err conftest.
$ac_objext \
6812 conftest
$ac_exeext conftest.
$ac_ext
6814 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6815 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6816 if test $ac_cv_var_tzname = yes; then
6818 cat >>confdefs.h
<<\_ACEOF
6819 #define HAVE_TZNAME 1
6825 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
6826 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
6827 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
6828 echo $ECHO_N "(cached) $ECHO_C" >&6
6830 cat >conftest.
$ac_ext <<_ACEOF
6833 cat confdefs.h
>>conftest.
$ac_ext
6834 cat >>conftest.
$ac_ext <<_ACEOF
6835 /* end confdefs.h. */
6841 static struct tm ac_aggr;
6842 if (ac_aggr.tm_gmtoff)
6848 rm -f conftest.
$ac_objext
6849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6850 (eval $ac_compile) 2>conftest.er1
6852 grep -v '^ *+' conftest.er1
>conftest.err
6854 cat conftest.err
>&5
6855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856 (exit $ac_status); } &&
6857 { ac_try
='test -z "$ac_c_werror_flag"
6858 || test ! -s conftest.err'
6859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); }; } &&
6864 { ac_try
='test -s conftest.$ac_objext'
6865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); }; }; then
6870 ac_cv_member_struct_tm_tm_gmtoff
=yes
6872 echo "$as_me: failed program was:" >&5
6873 sed 's/^/| /' conftest.
$ac_ext >&5
6875 cat >conftest.
$ac_ext <<_ACEOF
6878 cat confdefs.h
>>conftest.
$ac_ext
6879 cat >>conftest.
$ac_ext <<_ACEOF
6880 /* end confdefs.h. */
6886 static struct tm ac_aggr;
6887 if (sizeof ac_aggr.tm_gmtoff)
6893 rm -f conftest.
$ac_objext
6894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6895 (eval $ac_compile) 2>conftest.er1
6897 grep -v '^ *+' conftest.er1
>conftest.err
6899 cat conftest.err
>&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } &&
6902 { ac_try
='test -z "$ac_c_werror_flag"
6903 || test ! -s conftest.err'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; } &&
6909 { ac_try
='test -s conftest.$ac_objext'
6910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); }; }; then
6915 ac_cv_member_struct_tm_tm_gmtoff
=yes
6917 echo "$as_me: failed program was:" >&5
6918 sed 's/^/| /' conftest.
$ac_ext >&5
6920 ac_cv_member_struct_tm_tm_gmtoff
=no
6922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6926 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
6927 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
6928 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
6930 cat >>confdefs.h
<<\_ACEOF
6931 #define HAVE_TM_GMTOFF 1
6936 echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
6937 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6
6938 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
6939 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 cat >conftest.
$ac_ext <<_ACEOF
6944 cat confdefs.h
>>conftest.
$ac_ext
6945 cat >>conftest.
$ac_ext <<_ACEOF
6946 /* end confdefs.h. */
6947 $ac_includes_default
6948 #if HAVE_SYS_SOCKET_H
6949 #include <sys/socket.h>
6958 static struct ifreq ac_aggr;
6959 if (ac_aggr.ifr_flags)
6965 rm -f conftest.
$ac_objext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6967 (eval $ac_compile) 2>conftest.er1
6969 grep -v '^ *+' conftest.er1
>conftest.err
6971 cat conftest.err
>&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } &&
6974 { ac_try
='test -z "$ac_c_werror_flag"
6975 || test ! -s conftest.err'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; } &&
6981 { ac_try
='test -s conftest.$ac_objext'
6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); }; }; then
6987 ac_cv_member_struct_ifreq_ifr_flags
=yes
6989 echo "$as_me: failed program was:" >&5
6990 sed 's/^/| /' conftest.
$ac_ext >&5
6992 cat >conftest.
$ac_ext <<_ACEOF
6995 cat confdefs.h
>>conftest.
$ac_ext
6996 cat >>conftest.
$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 $ac_includes_default
6999 #if HAVE_SYS_SOCKET_H
7000 #include <sys/socket.h>
7009 static struct ifreq ac_aggr;
7010 if (sizeof ac_aggr.ifr_flags)
7016 rm -f conftest.
$ac_objext
7017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7018 (eval $ac_compile) 2>conftest.er1
7020 grep -v '^ *+' conftest.er1
>conftest.err
7022 cat conftest.err
>&5
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); } &&
7025 { ac_try
='test -z "$ac_c_werror_flag"
7026 || test ! -s conftest.err'
7027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); }; } &&
7032 { ac_try
='test -s conftest.$ac_objext'
7033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); }; }; then
7038 ac_cv_member_struct_ifreq_ifr_flags
=yes
7040 echo "$as_me: failed program was:" >&5
7041 sed 's/^/| /' conftest.
$ac_ext >&5
7043 ac_cv_member_struct_ifreq_ifr_flags
=no
7045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7049 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
7050 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6
7051 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
7053 cat >>confdefs.h
<<_ACEOF
7054 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
7059 echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
7060 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6
7061 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
7062 echo $ECHO_N "(cached) $ECHO_C" >&6
7064 cat >conftest.
$ac_ext <<_ACEOF
7067 cat confdefs.h
>>conftest.
$ac_ext
7068 cat >>conftest.
$ac_ext <<_ACEOF
7069 /* end confdefs.h. */
7070 $ac_includes_default
7071 #if HAVE_SYS_SOCKET_H
7072 #include <sys/socket.h>
7081 static struct ifreq ac_aggr;
7082 if (ac_aggr.ifr_hwaddr)
7088 rm -f conftest.
$ac_objext
7089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7090 (eval $ac_compile) 2>conftest.er1
7092 grep -v '^ *+' conftest.er1
>conftest.err
7094 cat conftest.err
>&5
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); } &&
7097 { ac_try
='test -z "$ac_c_werror_flag"
7098 || test ! -s conftest.err'
7099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7103 (exit $ac_status); }; } &&
7104 { ac_try
='test -s conftest.$ac_objext'
7105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); }; }; then
7110 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7112 echo "$as_me: failed program was:" >&5
7113 sed 's/^/| /' conftest.
$ac_ext >&5
7115 cat >conftest.
$ac_ext <<_ACEOF
7118 cat confdefs.h
>>conftest.
$ac_ext
7119 cat >>conftest.
$ac_ext <<_ACEOF
7120 /* end confdefs.h. */
7121 $ac_includes_default
7122 #if HAVE_SYS_SOCKET_H
7123 #include <sys/socket.h>
7132 static struct ifreq ac_aggr;
7133 if (sizeof ac_aggr.ifr_hwaddr)
7139 rm -f conftest.
$ac_objext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7141 (eval $ac_compile) 2>conftest.er1
7143 grep -v '^ *+' conftest.er1
>conftest.err
7145 cat conftest.err
>&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } &&
7148 { ac_try
='test -z "$ac_c_werror_flag"
7149 || test ! -s conftest.err'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try
='test -s conftest.$ac_objext'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; }; then
7161 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7163 echo "$as_me: failed program was:" >&5
7164 sed 's/^/| /' conftest.
$ac_ext >&5
7166 ac_cv_member_struct_ifreq_ifr_hwaddr
=no
7168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7172 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
7173 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6
7174 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
7176 cat >>confdefs.h
<<_ACEOF
7177 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
7182 echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
7183 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6
7184 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
7185 echo $ECHO_N "(cached) $ECHO_C" >&6
7187 cat >conftest.
$ac_ext <<_ACEOF
7190 cat confdefs.h
>>conftest.
$ac_ext
7191 cat >>conftest.
$ac_ext <<_ACEOF
7192 /* end confdefs.h. */
7193 $ac_includes_default
7194 #if HAVE_SYS_SOCKET_H
7195 #include <sys/socket.h>
7204 static struct ifreq ac_aggr;
7205 if (ac_aggr.ifr_netmask)
7211 rm -f conftest.
$ac_objext
7212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7213 (eval $ac_compile) 2>conftest.er1
7215 grep -v '^ *+' conftest.er1
>conftest.err
7217 cat conftest.err
>&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); } &&
7220 { ac_try
='test -z "$ac_c_werror_flag"
7221 || test ! -s conftest.err'
7222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); }; } &&
7227 { ac_try
='test -s conftest.$ac_objext'
7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }; }; then
7233 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7235 echo "$as_me: failed program was:" >&5
7236 sed 's/^/| /' conftest.
$ac_ext >&5
7238 cat >conftest.
$ac_ext <<_ACEOF
7241 cat confdefs.h
>>conftest.
$ac_ext
7242 cat >>conftest.
$ac_ext <<_ACEOF
7243 /* end confdefs.h. */
7244 $ac_includes_default
7245 #if HAVE_SYS_SOCKET_H
7246 #include <sys/socket.h>
7255 static struct ifreq ac_aggr;
7256 if (sizeof ac_aggr.ifr_netmask)
7262 rm -f conftest.
$ac_objext
7263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7264 (eval $ac_compile) 2>conftest.er1
7266 grep -v '^ *+' conftest.er1
>conftest.err
7268 cat conftest.err
>&5
7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); } &&
7271 { ac_try
='test -z "$ac_c_werror_flag"
7272 || test ! -s conftest.err'
7273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 (exit $ac_status); }; } &&
7278 { ac_try
='test -s conftest.$ac_objext'
7279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); }; }; then
7284 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7286 echo "$as_me: failed program was:" >&5
7287 sed 's/^/| /' conftest.
$ac_ext >&5
7289 ac_cv_member_struct_ifreq_ifr_netmask
=no
7291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7295 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
7296 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6
7297 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
7299 cat >>confdefs.h
<<_ACEOF
7300 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
7305 echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
7306 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6
7307 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
7308 echo $ECHO_N "(cached) $ECHO_C" >&6
7310 cat >conftest.
$ac_ext <<_ACEOF
7313 cat confdefs.h
>>conftest.
$ac_ext
7314 cat >>conftest.
$ac_ext <<_ACEOF
7315 /* end confdefs.h. */
7316 $ac_includes_default
7317 #if HAVE_SYS_SOCKET_H
7318 #include <sys/socket.h>
7327 static struct ifreq ac_aggr;
7328 if (ac_aggr.ifr_broadaddr)
7334 rm -f conftest.
$ac_objext
7335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7336 (eval $ac_compile) 2>conftest.er1
7338 grep -v '^ *+' conftest.er1
>conftest.err
7340 cat conftest.err
>&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); } &&
7343 { ac_try
='test -z "$ac_c_werror_flag"
7344 || test ! -s conftest.err'
7345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); }; } &&
7350 { ac_try
='test -s conftest.$ac_objext'
7351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355 (exit $ac_status); }; }; then
7356 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7358 echo "$as_me: failed program was:" >&5
7359 sed 's/^/| /' conftest.
$ac_ext >&5
7361 cat >conftest.
$ac_ext <<_ACEOF
7364 cat confdefs.h
>>conftest.
$ac_ext
7365 cat >>conftest.
$ac_ext <<_ACEOF
7366 /* end confdefs.h. */
7367 $ac_includes_default
7368 #if HAVE_SYS_SOCKET_H
7369 #include <sys/socket.h>
7378 static struct ifreq ac_aggr;
7379 if (sizeof ac_aggr.ifr_broadaddr)
7385 rm -f conftest.
$ac_objext
7386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7387 (eval $ac_compile) 2>conftest.er1
7389 grep -v '^ *+' conftest.er1
>conftest.err
7391 cat conftest.err
>&5
7392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393 (exit $ac_status); } &&
7394 { ac_try
='test -z "$ac_c_werror_flag"
7395 || test ! -s conftest.err'
7396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400 (exit $ac_status); }; } &&
7401 { ac_try
='test -s conftest.$ac_objext'
7402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); }; }; then
7407 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7409 echo "$as_me: failed program was:" >&5
7410 sed 's/^/| /' conftest.
$ac_ext >&5
7412 ac_cv_member_struct_ifreq_ifr_broadaddr
=no
7414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7418 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
7419 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6
7420 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
7422 cat >>confdefs.h
<<_ACEOF
7423 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
7428 echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
7429 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6
7430 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 cat >conftest.
$ac_ext <<_ACEOF
7436 cat confdefs.h
>>conftest.
$ac_ext
7437 cat >>conftest.
$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7439 $ac_includes_default
7440 #if HAVE_SYS_SOCKET_H
7441 #include <sys/socket.h>
7450 static struct ifreq ac_aggr;
7451 if (ac_aggr.ifr_addr)
7457 rm -f conftest.
$ac_objext
7458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7459 (eval $ac_compile) 2>conftest.er1
7461 grep -v '^ *+' conftest.er1
>conftest.err
7463 cat conftest.err
>&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); } &&
7466 { ac_try
='test -z "$ac_c_werror_flag"
7467 || test ! -s conftest.err'
7468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); }; } &&
7473 { ac_try
='test -s conftest.$ac_objext'
7474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 (exit $ac_status); }; }; then
7479 ac_cv_member_struct_ifreq_ifr_addr
=yes
7481 echo "$as_me: failed program was:" >&5
7482 sed 's/^/| /' conftest.
$ac_ext >&5
7484 cat >conftest.
$ac_ext <<_ACEOF
7487 cat confdefs.h
>>conftest.
$ac_ext
7488 cat >>conftest.
$ac_ext <<_ACEOF
7489 /* end confdefs.h. */
7490 $ac_includes_default
7491 #if HAVE_SYS_SOCKET_H
7492 #include <sys/socket.h>
7501 static struct ifreq ac_aggr;
7502 if (sizeof ac_aggr.ifr_addr)
7508 rm -f conftest.
$ac_objext
7509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7510 (eval $ac_compile) 2>conftest.er1
7512 grep -v '^ *+' conftest.er1
>conftest.err
7514 cat conftest.err
>&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } &&
7517 { ac_try
='test -z "$ac_c_werror_flag"
7518 || test ! -s conftest.err'
7519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523 (exit $ac_status); }; } &&
7524 { ac_try
='test -s conftest.$ac_objext'
7525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); }; }; then
7530 ac_cv_member_struct_ifreq_ifr_addr
=yes
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.
$ac_ext >&5
7535 ac_cv_member_struct_ifreq_ifr_addr
=no
7537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7541 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
7542 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6
7543 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
7545 cat >>confdefs.h
<<_ACEOF
7546 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
7554 echo "$as_me:$LINENO: checking for function prototypes" >&5
7555 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
7556 if test "$ac_cv_prog_cc_stdc" != no
; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7560 cat >>confdefs.h
<<\_ACEOF
7561 #define PROTOTYPES 1
7565 cat >>confdefs.h
<<\_ACEOF
7566 #define __PROTOTYPES 1
7570 echo "$as_me:$LINENO: result: no" >&5
7571 echo "${ECHO_T}no" >&6
7574 echo "$as_me:$LINENO: checking for working volatile" >&5
7575 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
7576 if test "${ac_cv_c_volatile+set}" = set; then
7577 echo $ECHO_N "(cached) $ECHO_C" >&6
7579 cat >conftest.
$ac_ext <<_ACEOF
7582 cat confdefs.h
>>conftest.
$ac_ext
7583 cat >>conftest.
$ac_ext <<_ACEOF
7584 /* end confdefs.h. */
7596 rm -f conftest.
$ac_objext
7597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7598 (eval $ac_compile) 2>conftest.er1
7600 grep -v '^ *+' conftest.er1
>conftest.err
7602 cat conftest.err
>&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } &&
7605 { ac_try
='test -z "$ac_c_werror_flag"
7606 || test ! -s conftest.err'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; } &&
7612 { ac_try
='test -s conftest.$ac_objext'
7613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); }; }; then
7618 ac_cv_c_volatile
=yes
7620 echo "$as_me: failed program was:" >&5
7621 sed 's/^/| /' conftest.
$ac_ext >&5
7625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7627 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
7628 echo "${ECHO_T}$ac_cv_c_volatile" >&6
7629 if test $ac_cv_c_volatile = no
; then
7631 cat >>confdefs.h
<<\_ACEOF
7637 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7638 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7639 if test "${ac_cv_c_const+set}" = set; then
7640 echo $ECHO_N "(cached) $ECHO_C" >&6
7642 cat >conftest.
$ac_ext <<_ACEOF
7645 cat confdefs.h
>>conftest.
$ac_ext
7646 cat >>conftest.
$ac_ext <<_ACEOF
7647 /* end confdefs.h. */
7652 /* FIXME: Include the comments suggested by Paul. */
7654 /* Ultrix mips cc rejects this. */
7655 typedef int charset[2];
7657 /* SunOS 4.1.1 cc rejects this. */
7658 char const *const *ccp;
7660 /* NEC SVR4.0.2 mips cc rejects this. */
7661 struct point {int x, y;};
7662 static struct point const zero = {0,0};
7663 /* AIX XL C 1.02.0.0 rejects this.
7664 It does not let you subtract one const X* pointer from another in
7665 an arm of an if-expression whose if-part is not a constant
7667 const char *g = "string";
7668 ccp = &g + (g ? g-g : 0);
7669 /* HPUX 7.0 cc rejects these. */
7672 ccp = (char const *const *) p;
7673 { /* SCO 3.2v4 cc rejects this. */
7675 char const *s = 0 ? (char *) 0 : (char const *) 0;
7679 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7681 const int *foo = &x[0];
7684 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7685 typedef const int *iptr;
7689 { /* AIX XL C 1.02.0.0 rejects this saying
7690 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7691 struct s { int j; const int *ap[3]; };
7692 struct s *b; b->j = 5;
7694 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7703 rm -f conftest.
$ac_objext
7704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7705 (eval $ac_compile) 2>conftest.er1
7707 grep -v '^ *+' conftest.er1
>conftest.err
7709 cat conftest.err
>&5
7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711 (exit $ac_status); } &&
7712 { ac_try
='test -z "$ac_c_werror_flag"
7713 || test ! -s conftest.err'
7714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); }; } &&
7719 { ac_try
='test -s conftest.$ac_objext'
7720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724 (exit $ac_status); }; }; then
7727 echo "$as_me: failed program was:" >&5
7728 sed 's/^/| /' conftest.
$ac_ext >&5
7732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7734 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7735 echo "${ECHO_T}$ac_cv_c_const" >&6
7736 if test $ac_cv_c_const = no
; then
7738 cat >>confdefs.h
<<\_ACEOF
7744 echo "$as_me:$LINENO: checking for void * support" >&5
7745 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
7746 if test "${emacs_cv_void_star+set}" = set; then
7747 echo $ECHO_N "(cached) $ECHO_C" >&6
7749 cat >conftest.
$ac_ext <<_ACEOF
7752 cat confdefs.h
>>conftest.
$ac_ext
7753 cat >>conftest.
$ac_ext <<_ACEOF
7754 /* end confdefs.h. */
7764 rm -f conftest.
$ac_objext
7765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7766 (eval $ac_compile) 2>conftest.er1
7768 grep -v '^ *+' conftest.er1
>conftest.err
7770 cat conftest.err
>&5
7771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7772 (exit $ac_status); } &&
7773 { ac_try
='test -z "$ac_c_werror_flag"
7774 || test ! -s conftest.err'
7775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); }; } &&
7780 { ac_try
='test -s conftest.$ac_objext'
7781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785 (exit $ac_status); }; }; then
7786 emacs_cv_void_star
=yes
7788 echo "$as_me: failed program was:" >&5
7789 sed 's/^/| /' conftest.
$ac_ext >&5
7791 emacs_cv_void_star
=no
7793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7795 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
7796 echo "${ECHO_T}$emacs_cv_void_star" >&6
7797 if test $emacs_cv_void_star = yes; then
7798 cat >>confdefs.h
<<\_ACEOF
7799 #define POINTER_TYPE void
7803 cat >>confdefs.h
<<\_ACEOF
7804 #define POINTER_TYPE char
7813 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7814 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7815 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
7816 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 cat >conftest.
make <<\_ACEOF
7821 @
echo 'ac_maketemp="$(MAKE)"'
7823 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7824 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7825 if test -n "$ac_maketemp"; then
7826 eval ac_cv_prog_make_
${ac_make}_set
=yes
7828 eval ac_cv_prog_make_
${ac_make}_set
=no
7832 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7833 echo "$as_me:$LINENO: result: yes" >&5
7834 echo "${ECHO_T}yes" >&6
7837 echo "$as_me:$LINENO: result: no" >&5
7838 echo "${ECHO_T}no" >&6
7839 SET_MAKE
="MAKE=${MAKE-make}"
7843 echo "$as_me:$LINENO: checking for long file names" >&5
7844 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
7845 if test "${ac_cv_sys_long_file_names+set}" = set; then
7846 echo $ECHO_N "(cached) $ECHO_C" >&6
7848 ac_cv_sys_long_file_names
=yes
7849 # Test for long file names in all the places we know might matter:
7850 # . the current directory, where building will happen
7851 # $prefix/lib where we will be installing things
7852 # $exec_prefix/lib likewise
7853 # eval it to expand exec_prefix.
7854 # $TMPDIR if set, where it might want to write temporary files
7855 # if $TMPDIR is not set:
7856 # /tmp where it might want to write temporary files
7859 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
7862 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
7864 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
7865 test -d $ac_dir ||
continue
7866 test -w $ac_dir ||
continue # It is less confusing to not echo anything here.
7867 ac_xdir
=$ac_dir/cf$$
7868 (umask 077 && mkdir
$ac_xdir 2>/dev
/null
) ||
continue
7869 ac_tf1
=$ac_xdir/conftest9012345
7870 ac_tf2
=$ac_xdir/conftest9012346
7871 (echo 1 >$ac_tf1) 2>/dev
/null
7872 (echo 2 >$ac_tf2) 2>/dev
/null
7873 ac_val
=`cat $ac_tf1 2>/dev/null`
7874 if test ! -f $ac_tf1 ||
test "$ac_val" != 1; then
7875 ac_cv_sys_long_file_names
=no
7876 rm -rf $ac_xdir 2>/dev
/null
7879 rm -rf $ac_xdir 2>/dev
/null
7882 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
7883 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
7884 if test $ac_cv_sys_long_file_names = yes; then
7886 cat >>confdefs.h
<<\_ACEOF
7887 #define HAVE_LONG_FILE_NAMES 1
7893 #### Choose a window system.
7895 echo "$as_me:$LINENO: checking for X" >&5
7896 echo $ECHO_N "checking for X... $ECHO_C" >&6
7899 # Check whether --with-x or --without-x was given.
7900 if test "${with_x+set}" = set; then
7904 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7905 if test "x$with_x" = xno
; then
7906 # The user explicitly disabled X.
7909 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7910 # Both variables are already set.
7913 if test "${ac_cv_have_x+set}" = set; then
7914 echo $ECHO_N "(cached) $ECHO_C" >&6
7916 # One or both of the vars are not set, and there is no cached value.
7917 ac_x_includes
=no ac_x_libraries
=no
7919 if mkdir conftest.dir
; then
7921 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7922 cat >Imakefile
<<'_ACEOF'
7924 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7926 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7927 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7928 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7929 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7930 for ac_extension
in a so sl
; do
7931 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7932 test -f $ac_im_libdir/libX11.
$ac_extension; then
7933 ac_im_usrlibdir
=$ac_im_libdir; break
7936 # Screen out bogus values from the imake configuration. They are
7937 # bogus both because they are the default anyway, and because
7938 # using them would break gcc on systems where it needs fixed includes.
7939 case $ac_im_incroot in
7941 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7943 case $ac_im_usrlibdir in
7945 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7952 # Standard set of common directories for X headers.
7953 # Check X11 before X11Rn because it is often a symlink to the current release.
7965 /usr/local/X11/include
7966 /usr/local/X11R6/include
7967 /usr/local/X11R5/include
7968 /usr/local/X11R4/include
7970 /usr/local/include/X11
7971 /usr/local/include/X11R6
7972 /usr/local/include/X11R5
7973 /usr/local/include/X11R4
7977 /usr/XFree86/include/X11
7981 /usr/unsupported/include
7983 /usr/local/x11r5/include
7984 /usr/lpp/Xamples/include
7986 /usr/openwin/include
7987 /usr/openwin/share/include'
7989 if test "$ac_x_includes" = no
; then
7990 # Guess where to find include files, by looking for Intrinsic.h.
7991 # First, try using that file with no special directory specified.
7992 cat >conftest.
$ac_ext <<_ACEOF
7995 cat confdefs.h
>>conftest.
$ac_ext
7996 cat >>conftest.
$ac_ext <<_ACEOF
7997 /* end confdefs.h. */
7998 #include <X11/Intrinsic.h>
8000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8003 grep -v '^ *+' conftest.er1
>conftest.err
8005 cat conftest.err
>&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); } >/dev
/null
; then
8008 if test -s conftest.err
; then
8009 ac_cpp_err
=$ac_c_preproc_warn_flag
8010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8017 if test -z "$ac_cpp_err"; then
8018 # We can compile using X headers with no special include directory.
8021 echo "$as_me: failed program was:" >&5
8022 sed 's/^/| /' conftest.
$ac_ext >&5
8024 for ac_dir
in $ac_x_header_dirs; do
8025 if test -r "$ac_dir/X11/Intrinsic.h"; then
8026 ac_x_includes
=$ac_dir
8031 rm -f conftest.err conftest.
$ac_ext
8032 fi # $ac_x_includes = no
8034 if test "$ac_x_libraries" = no
; then
8035 # Check for the libraries.
8036 # See if we find them without any special options.
8037 # Don't add to $LIBS permanently.
8040 cat >conftest.
$ac_ext <<_ACEOF
8043 cat confdefs.h
>>conftest.
$ac_ext
8044 cat >>conftest.
$ac_ext <<_ACEOF
8045 /* end confdefs.h. */
8046 #include <X11/Intrinsic.h>
8055 rm -f conftest.
$ac_objext conftest
$ac_exeext
8056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8057 (eval $ac_link) 2>conftest.er1
8059 grep -v '^ *+' conftest.er1
>conftest.err
8061 cat conftest.err
>&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); } &&
8064 { ac_try
='test -z "$ac_c_werror_flag"
8065 || test ! -s conftest.err'
8066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); }; } &&
8071 { ac_try
='test -s conftest$ac_exeext'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; }; then
8078 # We can link X programs with no special library path.
8081 echo "$as_me: failed program was:" >&5
8082 sed 's/^/| /' conftest.
$ac_ext >&5
8085 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8087 # Don't even attempt the hair of trying to link an X program!
8088 for ac_extension
in a so sl
; do
8089 if test -r $ac_dir/libXt.
$ac_extension; then
8090 ac_x_libraries
=$ac_dir
8096 rm -f conftest.err conftest.
$ac_objext \
8097 conftest
$ac_exeext conftest.
$ac_ext
8098 fi # $ac_x_libraries = no
8100 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
8101 # Didn't find X anywhere. Cache the known absence of X.
8102 ac_cv_have_x
="have_x=no"
8104 # Record where we found X for the cache.
8105 ac_cv_have_x
="have_x=yes \
8106 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8111 eval "$ac_cv_have_x"
8114 if test "$have_x" != yes; then
8115 echo "$as_me:$LINENO: result: $have_x" >&5
8116 echo "${ECHO_T}$have_x" >&6
8119 # If each of the values was on the command line, it overrides each guess.
8120 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8121 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8122 # Update the cache value to reflect the command line values.
8123 ac_cv_have_x
="have_x=yes \
8124 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8125 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8126 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
8129 if test "$no_x" = yes; then
8135 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
8136 LD_SWITCH_X_SITE
=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
8137 LD_SWITCH_X_SITE_AUX
=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
8138 x_default_search_path
=""
8139 for x_library
in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
8141 ${x_library}/X11/%L/%T/%N%C%S:\
8142 ${x_library}/X11/%l/%T/%N%C%S:\
8143 ${x_library}/X11/%T/%N%C%S:\
8144 ${x_library}/X11/%L/%T/%N%S:\
8145 ${x_library}/X11/%l/%T/%N%S:\
8146 ${x_library}/X11/%T/%N%S"
8147 if test x
"${x_default_search_path}" = x
; then
8148 x_default_search_path
=${x_search_path}
8150 x_default_search_path
="${x_search_path}:${x_default_search_path}"
8154 if test "${x_includes}" != NONE
&& test -n "${x_includes}"; then
8155 C_SWITCH_X_SITE
=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
8158 if test x
"${x_includes}" = x
; then
8159 bitmapdir
=/usr
/include
/X11
/bitmaps
8161 # accumulate include directories that have X11 bitmap subdirectories
8163 for bmd
in `echo ${x_includes} | sed -e "s/:/ /g"`; do
8164 if test -d "${bmd}/X11/bitmaps"; then
8165 bmd_acc
="${bmd_acc}:${bmd}/X11/bitmaps"
8167 if test -d "${bmd}/bitmaps"; then
8168 bmd_acc
="${bmd_acc}:${bmd}/bitmaps"
8171 if test ${bmd_acc} != "dummyval"; then
8172 bitmapdir
=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
8176 case "${window_system}" in
8180 case "${with_x_toolkit}" in
8181 athena | lucid
) USE_X_TOOLKIT
=LUCID
;;
8182 motif
) USE_X_TOOLKIT
=MOTIF
;;
8184 USE_X_TOOLKIT
=none
;;
8185 no
) USE_X_TOOLKIT
=none
;;
8186 * ) USE_X_TOOLKIT
=maybe
;;
8196 ### If we're using X11, we should use the X menu package.
8199 yes ) HAVE_MENUS
=yes ;;
8202 if test "${opsys}" = "hpux9"; then
8203 case "${x_libraries}" in
8205 opsysfile
="s/hpux9-x11r4.h"
8210 if test "${opsys}" = "hpux9shr"; then
8211 case "${x_libraries}" in
8213 opsysfile
="s/hpux9shxr4.h"
8218 ### Compute the unexec source name from the object name.
8219 UNEXEC_SRC
="`echo ${unexec} | sed 's/\.o/.c/'`"
8221 # Do the opsystem or machine files prohibit the use of the GNU malloc?
8222 # Assume not, until told otherwise.
8225 echo "$as_me:$LINENO: checking for malloc_get_state" >&5
8226 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
8227 if test "${ac_cv_func_malloc_get_state+set}" = set; then
8228 echo $ECHO_N "(cached) $ECHO_C" >&6
8230 cat >conftest.
$ac_ext <<_ACEOF
8233 cat confdefs.h
>>conftest.
$ac_ext
8234 cat >>conftest.
$ac_ext <<_ACEOF
8235 /* end confdefs.h. */
8236 /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state.
8237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8238 #define malloc_get_state innocuous_malloc_get_state
8240 /* System header to define __stub macros and hopefully few prototypes,
8241 which can conflict with char malloc_get_state (); below.
8242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8243 <limits.h> exists even on freestanding compilers. */
8246 # include <limits.h>
8248 # include <assert.h>
8251 #undef malloc_get_state
8253 /* Override any gcc2 internal prototype to avoid an error. */
8258 /* We use char because int might match the return type of a gcc2
8259 builtin and then its argument prototype would still apply. */
8260 char malloc_get_state ();
8261 /* The GNU C library defines this for functions which it implements
8262 to always fail with ENOSYS. Some functions are actually named
8263 something starting with __ and the normal name is an alias. */
8264 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
8267 char (*f) () = malloc_get_state;
8276 return f != malloc_get_state;
8281 rm -f conftest.
$ac_objext conftest
$ac_exeext
8282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8283 (eval $ac_link) 2>conftest.er1
8285 grep -v '^ *+' conftest.er1
>conftest.err
8287 cat conftest.err
>&5
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 (exit $ac_status); } &&
8290 { ac_try
='test -z "$ac_c_werror_flag"
8291 || test ! -s conftest.err'
8292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); }; } &&
8297 { ac_try
='test -s conftest$ac_exeext'
8298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; }; then
8303 ac_cv_func_malloc_get_state
=yes
8305 echo "$as_me: failed program was:" >&5
8306 sed 's/^/| /' conftest.
$ac_ext >&5
8308 ac_cv_func_malloc_get_state
=no
8310 rm -f conftest.err conftest.
$ac_objext \
8311 conftest
$ac_exeext conftest.
$ac_ext
8313 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
8314 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
8315 if test $ac_cv_func_malloc_get_state = yes; then
8321 echo "$as_me:$LINENO: checking for malloc_set_state" >&5
8322 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
8323 if test "${ac_cv_func_malloc_set_state+set}" = set; then
8324 echo $ECHO_N "(cached) $ECHO_C" >&6
8326 cat >conftest.
$ac_ext <<_ACEOF
8329 cat confdefs.h
>>conftest.
$ac_ext
8330 cat >>conftest.
$ac_ext <<_ACEOF
8331 /* end confdefs.h. */
8332 /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state.
8333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8334 #define malloc_set_state innocuous_malloc_set_state
8336 /* System header to define __stub macros and hopefully few prototypes,
8337 which can conflict with char malloc_set_state (); below.
8338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8339 <limits.h> exists even on freestanding compilers. */
8342 # include <limits.h>
8344 # include <assert.h>
8347 #undef malloc_set_state
8349 /* Override any gcc2 internal prototype to avoid an error. */
8354 /* We use char because int might match the return type of a gcc2
8355 builtin and then its argument prototype would still apply. */
8356 char malloc_set_state ();
8357 /* The GNU C library defines this for functions which it implements
8358 to always fail with ENOSYS. Some functions are actually named
8359 something starting with __ and the normal name is an alias. */
8360 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
8363 char (*f) () = malloc_set_state;
8372 return f != malloc_set_state;
8377 rm -f conftest.
$ac_objext conftest
$ac_exeext
8378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8379 (eval $ac_link) 2>conftest.er1
8381 grep -v '^ *+' conftest.er1
>conftest.err
8383 cat conftest.err
>&5
8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385 (exit $ac_status); } &&
8386 { ac_try
='test -z "$ac_c_werror_flag"
8387 || test ! -s conftest.err'
8388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); }; } &&
8393 { ac_try
='test -s conftest$ac_exeext'
8394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); }; }; then
8399 ac_cv_func_malloc_set_state
=yes
8401 echo "$as_me: failed program was:" >&5
8402 sed 's/^/| /' conftest.
$ac_ext >&5
8404 ac_cv_func_malloc_set_state
=no
8406 rm -f conftest.err conftest.
$ac_objext \
8407 conftest
$ac_exeext conftest.
$ac_ext
8409 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
8410 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
8411 if test $ac_cv_func_malloc_set_state = yes; then
8417 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
8418 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
8419 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 cat >conftest.
$ac_ext <<_ACEOF
8425 cat confdefs.h
>>conftest.
$ac_ext
8426 cat >>conftest.
$ac_ext <<_ACEOF
8427 /* end confdefs.h. */
8428 extern void (* __after_morecore_hook)();
8432 __after_morecore_hook = 0
8437 rm -f conftest.
$ac_objext conftest
$ac_exeext
8438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8439 (eval $ac_link) 2>conftest.er1
8441 grep -v '^ *+' conftest.er1
>conftest.err
8443 cat conftest.err
>&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } &&
8446 { ac_try
='test -z "$ac_c_werror_flag"
8447 || test ! -s conftest.err'
8448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); }; } &&
8453 { ac_try
='test -s conftest$ac_exeext'
8454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); }; }; then
8459 emacs_cv_var___after_morecore_hook
=yes
8461 echo "$as_me: failed program was:" >&5
8462 sed 's/^/| /' conftest.
$ac_ext >&5
8464 emacs_cv_var___after_morecore_hook
=no
8466 rm -f conftest.err conftest.
$ac_objext \
8467 conftest
$ac_exeext conftest.
$ac_ext
8469 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
8470 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
8471 if test $emacs_cv_var___after_morecore_hook = no
; then
8474 if test "${system_malloc}" = "yes"; then
8477 (The GNU allocators don't work with this system configuration.)"
8479 if test "$doug_lea_malloc" = "yes" ; then
8480 if test "$GNU_MALLOC" = yes ; then
8482 (Using Doug Lea's new malloc from the GNU C Library.)"
8485 cat >>confdefs.h
<<\_ACEOF
8486 #define DOUG_LEA_MALLOC 1
8491 if test x
"${REL_ALLOC}" = x
; then
8492 REL_ALLOC
=${GNU_MALLOC}
8498 for ac_header
in stdlib.h unistd.h
8500 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8502 echo "$as_me:$LINENO: checking for $ac_header" >&5
8503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8505 echo $ECHO_N "(cached) $ECHO_C" >&6
8507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8510 # Is the header compilable?
8511 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8513 cat >conftest.
$ac_ext <<_ACEOF
8516 cat confdefs.h
>>conftest.
$ac_ext
8517 cat >>conftest.
$ac_ext <<_ACEOF
8518 /* end confdefs.h. */
8519 $ac_includes_default
8520 #include <$ac_header>
8522 rm -f conftest.
$ac_objext
8523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8524 (eval $ac_compile) 2>conftest.er1
8526 grep -v '^ *+' conftest.er1
>conftest.err
8528 cat conftest.err
>&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); } &&
8531 { ac_try
='test -z "$ac_c_werror_flag"
8532 || test ! -s conftest.err'
8533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); }; } &&
8538 { ac_try
='test -s conftest.$ac_objext'
8539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); }; }; then
8544 ac_header_compiler
=yes
8546 echo "$as_me: failed program was:" >&5
8547 sed 's/^/| /' conftest.
$ac_ext >&5
8549 ac_header_compiler
=no
8551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8553 echo "${ECHO_T}$ac_header_compiler" >&6
8555 # Is the header present?
8556 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8557 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8558 cat >conftest.
$ac_ext <<_ACEOF
8561 cat confdefs.h
>>conftest.
$ac_ext
8562 cat >>conftest.
$ac_ext <<_ACEOF
8563 /* end confdefs.h. */
8564 #include <$ac_header>
8566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8567 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8569 grep -v '^ *+' conftest.er1
>conftest.err
8571 cat conftest.err
>&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); } >/dev
/null
; then
8574 if test -s conftest.err
; then
8575 ac_cpp_err
=$ac_c_preproc_warn_flag
8576 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8583 if test -z "$ac_cpp_err"; then
8584 ac_header_preproc
=yes
8586 echo "$as_me: failed program was:" >&5
8587 sed 's/^/| /' conftest.
$ac_ext >&5
8589 ac_header_preproc
=no
8591 rm -f conftest.err conftest.
$ac_ext
8592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8593 echo "${ECHO_T}$ac_header_preproc" >&6
8595 # So? What about this header?
8596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8598 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8599 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8601 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8602 ac_header_preproc
=yes
8605 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8606 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8607 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8608 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8609 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8610 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8611 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8612 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8615 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8616 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8619 ## ------------------------------------------ ##
8620 ## Report this to the AC_PACKAGE_NAME lists. ##
8621 ## ------------------------------------------ ##
8624 sed "s/^/$as_me: WARNING: /" >&2
8627 echo "$as_me:$LINENO: checking for $ac_header" >&5
8628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 eval "$as_ac_Header=\$ac_header_preproc"
8634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8639 cat >>confdefs.h
<<_ACEOF
8640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8648 for ac_func
in getpagesize
8650 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8651 echo "$as_me:$LINENO: checking for $ac_func" >&5
8652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8653 if eval "test \"\${$as_ac_var+set}\" = set"; then
8654 echo $ECHO_N "(cached) $ECHO_C" >&6
8656 cat >conftest.
$ac_ext <<_ACEOF
8659 cat confdefs.h
>>conftest.
$ac_ext
8660 cat >>conftest.
$ac_ext <<_ACEOF
8661 /* end confdefs.h. */
8662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8664 #define $ac_func innocuous_$ac_func
8666 /* System header to define __stub macros and hopefully few prototypes,
8667 which can conflict with char $ac_func (); below.
8668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8669 <limits.h> exists even on freestanding compilers. */
8672 # include <limits.h>
8674 # include <assert.h>
8679 /* Override any gcc2 internal prototype to avoid an error. */
8684 /* We use char because int might match the return type of a gcc2
8685 builtin and then its argument prototype would still apply. */
8687 /* The GNU C library defines this for functions which it implements
8688 to always fail with ENOSYS. Some functions are actually named
8689 something starting with __ and the normal name is an alias. */
8690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8693 char (*f) () = $ac_func;
8702 return f != $ac_func;
8707 rm -f conftest.
$ac_objext conftest
$ac_exeext
8708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8709 (eval $ac_link) 2>conftest.er1
8711 grep -v '^ *+' conftest.er1
>conftest.err
8713 cat conftest.err
>&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } &&
8716 { ac_try
='test -z "$ac_c_werror_flag"
8717 || test ! -s conftest.err'
8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }; } &&
8723 { ac_try
='test -s conftest$ac_exeext'
8724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; }; then
8729 eval "$as_ac_var=yes"
8731 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.
$ac_ext >&5
8734 eval "$as_ac_var=no"
8736 rm -f conftest.err conftest.
$ac_objext \
8737 conftest
$ac_exeext conftest.
$ac_ext
8739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8741 if test `eval echo '${'$as_ac_var'}'` = yes; then
8742 cat >>confdefs.h
<<_ACEOF
8743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8749 echo "$as_me:$LINENO: checking for working mmap" >&5
8750 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8751 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8752 echo $ECHO_N "(cached) $ECHO_C" >&6
8754 if test "$cross_compiling" = yes; then
8755 ac_cv_func_mmap_fixed_mapped
=no
8757 cat >conftest.
$ac_ext <<_ACEOF
8760 cat confdefs.h
>>conftest.
$ac_ext
8761 cat >>conftest.
$ac_ext <<_ACEOF
8762 /* end confdefs.h. */
8763 $ac_includes_default
8764 /* malloc might have been renamed as rpl_malloc. */
8767 /* Thanks to Mike Haertel and Jim Avera for this test.
8768 Here is a matrix of mmap possibilities:
8769 mmap private not fixed
8770 mmap private fixed at somewhere currently unmapped
8771 mmap private fixed at somewhere already mapped
8772 mmap shared not fixed
8773 mmap shared fixed at somewhere currently unmapped
8774 mmap shared fixed at somewhere already mapped
8775 For private mappings, we should verify that changes cannot be read()
8776 back from the file, nor mmap's back from the file at a different
8777 address. (There have been systems where private was not correctly
8778 implemented like the infamous i386 svr4.0, and systems where the
8779 VM page cache was not coherent with the file system buffer cache
8780 like early versions of FreeBSD and possibly contemporary NetBSD.)
8781 For shared mappings, we should conversely verify that changes get
8782 propagated back to all the places they're supposed to be.
8784 Grep wants private fixed already mapped.
8785 The main things grep needs to know about mmap are:
8786 * does it exist and is it safe to write into the mmap'd area
8787 * how to use it (BSD variants) */
8790 #include <sys/mman.h>
8792 #if !STDC_HEADERS && !HAVE_STDLIB_H
8796 /* This mess was copied from the GNU getpagesize.h. */
8797 #if !HAVE_GETPAGESIZE
8798 /* Assume that all systems that can run configure have sys/param.h. */
8799 # if !HAVE_SYS_PARAM_H
8800 # define HAVE_SYS_PARAM_H 1
8803 # ifdef _SC_PAGESIZE
8804 # define getpagesize() sysconf(_SC_PAGESIZE)
8805 # else /* no _SC_PAGESIZE */
8806 # if HAVE_SYS_PARAM_H
8807 # include <sys/param.h>
8808 # ifdef EXEC_PAGESIZE
8809 # define getpagesize() EXEC_PAGESIZE
8810 # else /* no EXEC_PAGESIZE */
8812 # define getpagesize() NBPG * CLSIZE
8815 # endif /* no CLSIZE */
8816 # else /* no NBPG */
8818 # define getpagesize() NBPC
8819 # else /* no NBPC */
8821 # define getpagesize() PAGESIZE
8822 # endif /* PAGESIZE */
8823 # endif /* no NBPC */
8824 # endif /* no NBPG */
8825 # endif /* no EXEC_PAGESIZE */
8826 # else /* no HAVE_SYS_PARAM_H */
8827 # define getpagesize() 8192 /* punt totally */
8828 # endif /* no HAVE_SYS_PARAM_H */
8829 # endif /* no _SC_PAGESIZE */
8831 #endif /* no HAVE_GETPAGESIZE */
8836 char *data, *data2, *data3;
8840 pagesize = getpagesize ();
8842 /* First, make a file with some known garbage in it. */
8843 data = (char *) malloc (pagesize);
8846 for (i = 0; i < pagesize; ++i)
8847 *(data + i) = rand ();
8849 fd = creat ("conftest.mmap", 0600);
8852 if (write (fd, data, pagesize) != pagesize)
8856 /* Next, try to mmap the file at a fixed address which already has
8857 something else allocated at it. If we can, also make sure that
8858 we see the same garbage. */
8859 fd = open ("conftest.mmap", O_RDWR);
8862 data2 = (char *) malloc (2 * pagesize);
8865 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
8866 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8867 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8869 for (i = 0; i < pagesize; ++i)
8870 if (*(data + i) != *(data2 + i))
8873 /* Finally, make sure that changes to the mapped area do not
8874 percolate back to the file as seen by read(). (This is a bug on
8875 some variants of i386 svr4.0.) */
8876 for (i = 0; i < pagesize; ++i)
8877 *(data2 + i) = *(data2 + i) + 1;
8878 data3 = (char *) malloc (pagesize);
8881 if (read (fd, data3, pagesize) != pagesize)
8883 for (i = 0; i < pagesize; ++i)
8884 if (*(data + i) != *(data3 + i))
8890 rm -f conftest
$ac_exeext
8891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8892 (eval $ac_link) 2>&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then
8901 ac_cv_func_mmap_fixed_mapped
=yes
8903 echo "$as_me: program exited with status $ac_status" >&5
8904 echo "$as_me: failed program was:" >&5
8905 sed 's/^/| /' conftest.
$ac_ext >&5
8908 ac_cv_func_mmap_fixed_mapped
=no
8910 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8913 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8914 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
8915 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8917 cat >>confdefs.h
<<\_ACEOF
8924 if test $use_mmap_for_buffers = yes; then
8928 LIBS
="$libsrc_libs $LIBS"
8931 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8932 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
8933 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8934 echo $ECHO_N "(cached) $ECHO_C" >&6
8936 ac_check_lib_save_LIBS
=$LIBS
8938 cat >conftest.
$ac_ext <<_ACEOF
8941 cat confdefs.h
>>conftest.
$ac_ext
8942 cat >>conftest.
$ac_ext <<_ACEOF
8943 /* end confdefs.h. */
8945 /* Override any gcc2 internal prototype to avoid an error. */
8949 /* We use char because int might match the return type of a gcc2
8950 builtin and then its argument prototype would still apply. */
8960 rm -f conftest.
$ac_objext conftest
$ac_exeext
8961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8962 (eval $ac_link) 2>conftest.er1
8964 grep -v '^ *+' conftest.er1
>conftest.err
8966 cat conftest.err
>&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); } &&
8969 { ac_try
='test -z "$ac_c_werror_flag"
8970 || test ! -s conftest.err'
8971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); }; } &&
8976 { ac_try
='test -s conftest$ac_exeext'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; }; then
8982 ac_cv_lib_dnet_dnet_ntoa
=yes
8984 echo "$as_me: failed program was:" >&5
8985 sed 's/^/| /' conftest.
$ac_ext >&5
8987 ac_cv_lib_dnet_dnet_ntoa
=no
8989 rm -f conftest.err conftest.
$ac_objext \
8990 conftest
$ac_exeext conftest.
$ac_ext
8991 LIBS
=$ac_check_lib_save_LIBS
8993 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8994 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
8995 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8996 cat >>confdefs.h
<<_ACEOF
8997 #define HAVE_LIBDNET 1
9005 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
9006 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
9007 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
9008 echo $ECHO_N "(cached) $ECHO_C" >&6
9010 ac_check_lib_save_LIBS
=$LIBS
9012 cat >conftest.
$ac_ext <<_ACEOF
9015 cat confdefs.h
>>conftest.
$ac_ext
9016 cat >>conftest.
$ac_ext <<_ACEOF
9017 /* end confdefs.h. */
9028 rm -f conftest.
$ac_objext conftest
$ac_exeext
9029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9030 (eval $ac_link) 2>conftest.er1
9032 grep -v '^ *+' conftest.er1
>conftest.err
9034 cat conftest.err
>&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); } &&
9037 { ac_try
='test -z "$ac_c_werror_flag"
9038 || test ! -s conftest.err'
9039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); }; } &&
9044 { ac_try
='test -s conftest$ac_exeext'
9045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); }; }; then
9050 ac_cv_lib_Xbsd_main
=yes
9052 echo "$as_me: failed program was:" >&5
9053 sed 's/^/| /' conftest.
$ac_ext >&5
9055 ac_cv_lib_Xbsd_main
=no
9057 rm -f conftest.err conftest.
$ac_objext \
9058 conftest
$ac_exeext conftest.
$ac_ext
9059 LIBS
=$ac_check_lib_save_LIBS
9061 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
9062 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
9063 if test $ac_cv_lib_Xbsd_main = yes; then
9064 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -lXbsd"
9069 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
9070 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
9071 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
9072 echo $ECHO_N "(cached) $ECHO_C" >&6
9074 ac_check_lib_save_LIBS
=$LIBS
9075 LIBS
="-lpthreads $LIBS"
9076 cat >conftest.
$ac_ext <<_ACEOF
9079 cat confdefs.h
>>conftest.
$ac_ext
9080 cat >>conftest.
$ac_ext <<_ACEOF
9081 /* end confdefs.h. */
9083 /* Override any gcc2 internal prototype to avoid an error. */
9087 /* We use char because int might match the return type of a gcc2
9088 builtin and then its argument prototype would still apply. */
9098 rm -f conftest.
$ac_objext conftest
$ac_exeext
9099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9100 (eval $ac_link) 2>conftest.er1
9102 grep -v '^ *+' conftest.er1
>conftest.err
9104 cat conftest.err
>&5
9105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106 (exit $ac_status); } &&
9107 { ac_try
='test -z "$ac_c_werror_flag"
9108 || test ! -s conftest.err'
9109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 (exit $ac_status); }; } &&
9114 { ac_try
='test -s conftest$ac_exeext'
9115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); }; }; then
9120 ac_cv_lib_pthreads_cma_open
=yes
9122 echo "$as_me: failed program was:" >&5
9123 sed 's/^/| /' conftest.
$ac_ext >&5
9125 ac_cv_lib_pthreads_cma_open
=no
9127 rm -f conftest.err conftest.
$ac_objext \
9128 conftest
$ac_exeext conftest.
$ac_ext
9129 LIBS
=$ac_check_lib_save_LIBS
9131 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
9132 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
9133 if test $ac_cv_lib_pthreads_cma_open = yes; then
9134 cat >>confdefs.h
<<_ACEOF
9135 #define HAVE_LIBPTHREADS 1
9138 LIBS
="-lpthreads $LIBS"
9143 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
9144 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
9145 if test -d /usr
/X386
/include
; then
9147 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
9151 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
9152 echo "${ECHO_T}$HAVE_XFREE386" >&6
9157 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
9158 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
9159 if test "${gdb_cv_bigtoc+set}" = set; then
9160 echo $ECHO_N "(cached) $ECHO_C" >&6
9164 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
9165 *) gdb_cv_bigtoc
=-bbigtoc ;;
9168 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
9169 cat >conftest.
$ac_ext <<_ACEOF
9172 cat confdefs.h
>>conftest.
$ac_ext
9173 cat >>conftest.
$ac_ext <<_ACEOF
9174 /* end confdefs.h. */
9184 rm -f conftest.
$ac_objext conftest
$ac_exeext
9185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9186 (eval $ac_link) 2>conftest.er1
9188 grep -v '^ *+' conftest.er1
>conftest.err
9190 cat conftest.err
>&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); } &&
9193 { ac_try
='test -z "$ac_c_werror_flag"
9194 || test ! -s conftest.err'
9195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); }; } &&
9200 { ac_try
='test -s conftest$ac_exeext'
9201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 (exit $ac_status); }; }; then
9208 echo "$as_me: failed program was:" >&5
9209 sed 's/^/| /' conftest.
$ac_ext >&5
9213 rm -f conftest.err conftest.
$ac_objext \
9214 conftest
$ac_exeext conftest.
$ac_ext
9217 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
9218 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
9222 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
9223 # used for the tests that follow. We set them back to REAL_CFLAGS and
9224 # REAL_CPPFLAGS later on.
9226 REAL_CPPFLAGS
="$CPPFLAGS"
9228 if test "${HAVE_X11}" = "yes"; then
9229 DEFS
="$C_SWITCH_X_SITE $DEFS"
9230 LDFLAGS
="$LDFLAGS $LD_SWITCH_X_SITE"
9232 CFLAGS
="$C_SWITCH_X_SITE $CFLAGS"
9233 CPPFLAGS
="$C_SWITCH_X_SITE $CPPFLAGS"
9235 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
9236 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
9237 # but it's more convenient here to set LD_RUN_PATH
9238 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
9239 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
9240 LD_RUN_PATH
=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
9244 if test "${opsys}" = "gnu-linux"; then
9245 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
9246 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
9247 cat >conftest.
$ac_ext <<_ACEOF
9250 cat confdefs.h
>>conftest.
$ac_ext
9251 cat >>conftest.
$ac_ext <<_ACEOF
9252 /* end confdefs.h. */
9257 XOpenDisplay ("foo");
9262 rm -f conftest.
$ac_objext conftest
$ac_exeext
9263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9264 (eval $ac_link) 2>conftest.er1
9266 grep -v '^ *+' conftest.er1
>conftest.err
9268 cat conftest.err
>&5
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); } &&
9271 { ac_try
='test -z "$ac_c_werror_flag"
9272 || test ! -s conftest.err'
9273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); }; } &&
9278 { ac_try
='test -s conftest$ac_exeext'
9279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9283 (exit $ac_status); }; }; then
9284 xlinux_first_failure
=no
9286 echo "$as_me: failed program was:" >&5
9287 sed 's/^/| /' conftest.
$ac_ext >&5
9289 xlinux_first_failure
=yes
9291 rm -f conftest.err conftest.
$ac_objext \
9292 conftest
$ac_exeext conftest.
$ac_ext
9293 if test "${xlinux_first_failure}" = "yes"; then
9294 OLD_LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE"
9295 OLD_C_SWITCH_X_SITE
="$C_SWITCH_X_SITE"
9296 OLD_CPPFLAGS
="$CPPFLAGS"
9298 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -b i486-linuxaout"
9299 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE -b i486-linuxaout"
9300 CPPFLAGS
="$CPPFLAGS -b i486-linuxaout"
9301 LIBS
="$LIBS -b i486-linuxaout"
9302 cat >conftest.
$ac_ext <<_ACEOF
9305 cat confdefs.h
>>conftest.
$ac_ext
9306 cat >>conftest.
$ac_ext <<_ACEOF
9307 /* end confdefs.h. */
9312 XOpenDisplay ("foo");
9317 rm -f conftest.
$ac_objext conftest
$ac_exeext
9318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9319 (eval $ac_link) 2>conftest.er1
9321 grep -v '^ *+' conftest.er1
>conftest.err
9323 cat conftest.err
>&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); } &&
9326 { ac_try
='test -z "$ac_c_werror_flag"
9327 || test ! -s conftest.err'
9328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; } &&
9333 { ac_try
='test -s conftest$ac_exeext'
9334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); }; }; then
9339 xlinux_second_failure
=no
9341 echo "$as_me: failed program was:" >&5
9342 sed 's/^/| /' conftest.
$ac_ext >&5
9344 xlinux_second_failure
=yes
9346 rm -f conftest.err conftest.
$ac_objext \
9347 conftest
$ac_exeext conftest.
$ac_ext
9348 if test "${xlinux_second_failure}" = "yes"; then
9349 # If we get the same failure with -b, there is no use adding -b.
9350 # So take it out. This plays safe.
9351 LD_SWITCH_X_SITE
="$OLD_LD_SWITCH_X_SITE"
9352 C_SWITCH_X_SITE
="$OLD_C_SWITCH_X_SITE"
9353 CPPFLAGS
="$OLD_CPPFLAGS"
9355 echo "$as_me:$LINENO: result: no" >&5
9356 echo "${ECHO_T}no" >&6
9358 echo "$as_me:$LINENO: result: yes" >&5
9359 echo "${ECHO_T}yes" >&6
9362 echo "$as_me:$LINENO: result: no" >&5
9363 echo "${ECHO_T}no" >&6
9367 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
9368 # header files included from there.
9369 echo "$as_me:$LINENO: checking for Xkb" >&5
9370 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
9371 cat >conftest.
$ac_ext <<_ACEOF
9374 cat confdefs.h
>>conftest.
$ac_ext
9375 cat >>conftest.
$ac_ext <<_ACEOF
9376 /* end confdefs.h. */
9377 #include <X11/Xlib.h>
9378 #include <X11/XKBlib.h>
9382 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
9387 rm -f conftest.
$ac_objext conftest
$ac_exeext
9388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9389 (eval $ac_link) 2>conftest.er1
9391 grep -v '^ *+' conftest.er1
>conftest.err
9393 cat conftest.err
>&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); } &&
9396 { ac_try
='test -z "$ac_c_werror_flag"
9397 || test ! -s conftest.err'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; } &&
9403 { ac_try
='test -s conftest$ac_exeext'
9404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); }; }; then
9411 echo "$as_me: failed program was:" >&5
9412 sed 's/^/| /' conftest.
$ac_ext >&5
9416 rm -f conftest.err conftest.
$ac_objext \
9417 conftest
$ac_exeext conftest.
$ac_ext
9418 echo "$as_me:$LINENO: result: $emacs_xkb" >&5
9419 echo "${ECHO_T}$emacs_xkb" >&6
9420 if test $emacs_xkb = yes; then
9422 cat >>confdefs.h
<<\_ACEOF
9423 #define HAVE_XKBGETKEYBOARD 1
9432 for ac_func
in XrmSetDatabase XScreenResourceString \
9433 XScreenNumberOfScreen XSetWMProtocols
9435 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9436 echo "$as_me:$LINENO: checking for $ac_func" >&5
9437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9438 if eval "test \"\${$as_ac_var+set}\" = set"; then
9439 echo $ECHO_N "(cached) $ECHO_C" >&6
9441 cat >conftest.
$ac_ext <<_ACEOF
9444 cat confdefs.h
>>conftest.
$ac_ext
9445 cat >>conftest.
$ac_ext <<_ACEOF
9446 /* end confdefs.h. */
9447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9449 #define $ac_func innocuous_$ac_func
9451 /* System header to define __stub macros and hopefully few prototypes,
9452 which can conflict with char $ac_func (); below.
9453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9454 <limits.h> exists even on freestanding compilers. */
9457 # include <limits.h>
9459 # include <assert.h>
9464 /* Override any gcc2 internal prototype to avoid an error. */
9469 /* We use char because int might match the return type of a gcc2
9470 builtin and then its argument prototype would still apply. */
9472 /* The GNU C library defines this for functions which it implements
9473 to always fail with ENOSYS. Some functions are actually named
9474 something starting with __ and the normal name is an alias. */
9475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9478 char (*f) () = $ac_func;
9487 return f != $ac_func;
9492 rm -f conftest.
$ac_objext conftest
$ac_exeext
9493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9494 (eval $ac_link) 2>conftest.er1
9496 grep -v '^ *+' conftest.er1
>conftest.err
9498 cat conftest.err
>&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); } &&
9501 { ac_try
='test -z "$ac_c_werror_flag"
9502 || test ! -s conftest.err'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; } &&
9508 { ac_try
='test -s conftest$ac_exeext'
9509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); }; }; then
9514 eval "$as_ac_var=yes"
9516 echo "$as_me: failed program was:" >&5
9517 sed 's/^/| /' conftest.
$ac_ext >&5
9519 eval "$as_ac_var=no"
9521 rm -f conftest.err conftest.
$ac_objext \
9522 conftest
$ac_exeext conftest.
$ac_ext
9524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9526 if test `eval echo '${'$as_ac_var'}'` = yes; then
9527 cat >>confdefs.h
<<_ACEOF
9528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9536 if test "${window_system}" = "x11"; then
9537 echo "$as_me:$LINENO: checking X11 version 6" >&5
9538 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
9539 if test "${emacs_cv_x11_version_6+set}" = set; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9542 cat >conftest.
$ac_ext <<_ACEOF
9545 cat confdefs.h
>>conftest.
$ac_ext
9546 cat >>conftest.
$ac_ext <<_ACEOF
9547 /* end confdefs.h. */
9548 #include <X11/Xlib.h>
9552 #if XlibSpecificationRelease < 6
9560 rm -f conftest.
$ac_objext conftest
$ac_exeext
9561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9562 (eval $ac_link) 2>conftest.er1
9564 grep -v '^ *+' conftest.er1
>conftest.err
9566 cat conftest.err
>&5
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); } &&
9569 { ac_try
='test -z "$ac_c_werror_flag"
9570 || test ! -s conftest.err'
9571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); }; } &&
9576 { ac_try
='test -s conftest$ac_exeext'
9577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581 (exit $ac_status); }; }; then
9582 emacs_cv_x11_version_6
=yes
9584 echo "$as_me: failed program was:" >&5
9585 sed 's/^/| /' conftest.
$ac_ext >&5
9587 emacs_cv_x11_version_6
=no
9589 rm -f conftest.err conftest.
$ac_objext \
9590 conftest
$ac_exeext conftest.
$ac_ext
9593 if test $emacs_cv_x11_version_6 = yes; then
9594 echo "$as_me:$LINENO: result: 6 or newer" >&5
9595 echo "${ECHO_T}6 or newer" >&6
9597 cat >>confdefs.h
<<\_ACEOF
9598 #define HAVE_X11R6 1
9602 echo "$as_me:$LINENO: result: before 6" >&5
9603 echo "${ECHO_T}before 6" >&6
9607 if test "${window_system}" = "x11"; then
9608 echo "$as_me:$LINENO: checking X11 version 5" >&5
9609 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
9610 if test "${emacs_cv_x11_version_5+set}" = set; then
9611 echo $ECHO_N "(cached) $ECHO_C" >&6
9613 cat >conftest.
$ac_ext <<_ACEOF
9616 cat confdefs.h
>>conftest.
$ac_ext
9617 cat >>conftest.
$ac_ext <<_ACEOF
9618 /* end confdefs.h. */
9619 #include <X11/Xlib.h>
9623 #if XlibSpecificationRelease < 5
9631 rm -f conftest.
$ac_objext conftest
$ac_exeext
9632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9633 (eval $ac_link) 2>conftest.er1
9635 grep -v '^ *+' conftest.er1
>conftest.err
9637 cat conftest.err
>&5
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639 (exit $ac_status); } &&
9640 { ac_try
='test -z "$ac_c_werror_flag"
9641 || test ! -s conftest.err'
9642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; } &&
9647 { ac_try
='test -s conftest$ac_exeext'
9648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652 (exit $ac_status); }; }; then
9653 emacs_cv_x11_version_5
=yes
9655 echo "$as_me: failed program was:" >&5
9656 sed 's/^/| /' conftest.
$ac_ext >&5
9658 emacs_cv_x11_version_5
=no
9660 rm -f conftest.err conftest.
$ac_objext \
9661 conftest
$ac_exeext conftest.
$ac_ext
9664 if test $emacs_cv_x11_version_5 = yes; then
9665 echo "$as_me:$LINENO: result: 5 or newer" >&5
9666 echo "${ECHO_T}5 or newer" >&6
9669 cat >>confdefs.h
<<\_ACEOF
9670 #define HAVE_X11R5 1
9675 echo "$as_me:$LINENO: result: before 5" >&5
9676 echo "${ECHO_T}before 5" >&6
9683 if test "${with_gtk}" = "yes" ||
test "$USE_X_TOOLKIT" = "gtk"; then
9684 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
9685 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5
9686 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;}
9687 { (exit 1); exit 1; }; };
9691 GTK_MODULES
="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
9693 if test "X${with_pkg_config_prog}" != X
; then
9694 PKG_CONFIG
="${with_pkg_config_prog}"
9699 if test -z "$PKG_CONFIG"; then
9700 # Extract the first word of "pkg-config", so it can be a program name with args.
9701 set dummy pkg-config
; ac_word
=$2
9702 echo "$as_me:$LINENO: checking for $ac_word" >&5
9703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9704 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9705 echo $ECHO_N "(cached) $ECHO_C" >&6
9709 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9716 test -z "$as_dir" && as_dir
=.
9717 for ac_exec_ext
in '' $ac_executable_extensions; do
9718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9719 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9726 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9730 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9732 if test -n "$PKG_CONFIG"; then
9733 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9734 echo "${ECHO_T}$PKG_CONFIG" >&6
9736 echo "$as_me:$LINENO: result: no" >&5
9737 echo "${ECHO_T}no" >&6
9742 if test "$PKG_CONFIG" = "no" ; then
9743 echo "*** The pkg-config script could not be found. Make sure it is"
9744 echo "*** in your path, or give the full path to pkg-config with"
9745 echo "*** the PKG_CONFIG environment variable or --with-pkg-config-prog."
9746 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9748 PKG_CONFIG_MIN_VERSION
=0.9.0
9749 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9750 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
9751 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6
9753 if $PKG_CONFIG --exists "$GTK_MODULES" ; then
9754 echo "$as_me:$LINENO: result: yes" >&5
9755 echo "${ECHO_T}yes" >&6
9758 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
9759 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
9760 GTK_CFLAGS
=`$PKG_CONFIG --cflags "$GTK_MODULES"`
9761 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
9762 echo "${ECHO_T}$GTK_CFLAGS" >&6
9764 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
9765 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
9766 GTK_LIBS
=`$PKG_CONFIG --libs "$GTK_MODULES"`
9767 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
9768 echo "${ECHO_T}$GTK_LIBS" >&6
9772 ## If we have a custom action on failure, don't print errors, but
9773 ## do set a variable so people can do so.
9774 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
9775 echo $GTK_PKG_ERRORS
9781 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9782 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9786 if test $succeeded = yes; then
9789 { { 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
9790 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;}
9791 { (exit 1); exit 1; }; }
9796 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE $GTK_CFLAGS"
9797 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9798 LIBS
="$GTK_LIBS $LIBS"
9801 cat >>confdefs.h
<<\_ACEOF
9807 if test "$with_toolkit_scroll_bars" != no
; then
9808 with_toolkit_scroll_bars
=yes
9811 HAVE_GTK_MULTIDISPLAY
=no
9813 for ac_func
in gdk_display_open
9815 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9816 echo "$as_me:$LINENO: checking for $ac_func" >&5
9817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9818 if eval "test \"\${$as_ac_var+set}\" = set"; then
9819 echo $ECHO_N "(cached) $ECHO_C" >&6
9821 cat >conftest.
$ac_ext <<_ACEOF
9824 cat confdefs.h
>>conftest.
$ac_ext
9825 cat >>conftest.
$ac_ext <<_ACEOF
9826 /* end confdefs.h. */
9827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9829 #define $ac_func innocuous_$ac_func
9831 /* System header to define __stub macros and hopefully few prototypes,
9832 which can conflict with char $ac_func (); below.
9833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9834 <limits.h> exists even on freestanding compilers. */
9837 # include <limits.h>
9839 # include <assert.h>
9844 /* Override any gcc2 internal prototype to avoid an error. */
9849 /* We use char because int might match the return type of a gcc2
9850 builtin and then its argument prototype would still apply. */
9852 /* The GNU C library defines this for functions which it implements
9853 to always fail with ENOSYS. Some functions are actually named
9854 something starting with __ and the normal name is an alias. */
9855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9858 char (*f) () = $ac_func;
9867 return f != $ac_func;
9872 rm -f conftest.
$ac_objext conftest
$ac_exeext
9873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9874 (eval $ac_link) 2>conftest.er1
9876 grep -v '^ *+' conftest.er1
>conftest.err
9878 cat conftest.err
>&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); } &&
9881 { ac_try
='test -z "$ac_c_werror_flag"
9882 || test ! -s conftest.err'
9883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); }; } &&
9888 { ac_try
='test -s conftest$ac_exeext'
9889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); }; }; then
9894 eval "$as_ac_var=yes"
9896 echo "$as_me: failed program was:" >&5
9897 sed 's/^/| /' conftest.
$ac_ext >&5
9899 eval "$as_ac_var=no"
9901 rm -f conftest.err conftest.
$ac_objext \
9902 conftest
$ac_exeext conftest.
$ac_ext
9904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9906 if test `eval echo '${'$as_ac_var'}'` = yes; then
9907 cat >>confdefs.h
<<_ACEOF
9908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9910 HAVE_GTK_MULTIDISPLAY
=yes
9914 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
9916 cat >>confdefs.h
<<\_ACEOF
9917 #define HAVE_GTK_MULTIDISPLAY 1
9921 HAVE_GTK_FILE_SELECTION
=no
9923 for ac_func
in gtk_file_selection_new
9925 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9926 echo "$as_me:$LINENO: checking for $ac_func" >&5
9927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9928 if eval "test \"\${$as_ac_var+set}\" = set"; then
9929 echo $ECHO_N "(cached) $ECHO_C" >&6
9931 cat >conftest.
$ac_ext <<_ACEOF
9934 cat confdefs.h
>>conftest.
$ac_ext
9935 cat >>conftest.
$ac_ext <<_ACEOF
9936 /* end confdefs.h. */
9937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9939 #define $ac_func innocuous_$ac_func
9941 /* System header to define __stub macros and hopefully few prototypes,
9942 which can conflict with char $ac_func (); below.
9943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9944 <limits.h> exists even on freestanding compilers. */
9947 # include <limits.h>
9949 # include <assert.h>
9954 /* Override any gcc2 internal prototype to avoid an error. */
9959 /* We use char because int might match the return type of a gcc2
9960 builtin and then its argument prototype would still apply. */
9962 /* The GNU C library defines this for functions which it implements
9963 to always fail with ENOSYS. Some functions are actually named
9964 something starting with __ and the normal name is an alias. */
9965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9968 char (*f) () = $ac_func;
9977 return f != $ac_func;
9982 rm -f conftest.
$ac_objext conftest
$ac_exeext
9983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9984 (eval $ac_link) 2>conftest.er1
9986 grep -v '^ *+' conftest.er1
>conftest.err
9988 cat conftest.err
>&5
9989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9990 (exit $ac_status); } &&
9991 { ac_try
='test -z "$ac_c_werror_flag"
9992 || test ! -s conftest.err'
9993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 (exit $ac_status); }; } &&
9998 { ac_try
='test -s conftest$ac_exeext'
9999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10000 (eval $ac_try) 2>&5
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 (exit $ac_status); }; }; then
10004 eval "$as_ac_var=yes"
10006 echo "$as_me: failed program was:" >&5
10007 sed 's/^/| /' conftest.
$ac_ext >&5
10009 eval "$as_ac_var=no"
10011 rm -f conftest.err conftest.
$ac_objext \
10012 conftest
$ac_exeext conftest.
$ac_ext
10014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10016 if test `eval echo '${'$as_ac_var'}'` = yes; then
10017 cat >>confdefs.h
<<_ACEOF
10018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10020 HAVE_GTK_FILE_SELECTION
=yes
10025 HAVE_GTK_FILE_CHOOSER
=no
10027 for ac_func
in gtk_file_chooser_dialog_new
10029 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10030 echo "$as_me:$LINENO: checking for $ac_func" >&5
10031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10032 if eval "test \"\${$as_ac_var+set}\" = set"; then
10033 echo $ECHO_N "(cached) $ECHO_C" >&6
10035 cat >conftest.
$ac_ext <<_ACEOF
10038 cat confdefs.h
>>conftest.
$ac_ext
10039 cat >>conftest.
$ac_ext <<_ACEOF
10040 /* end confdefs.h. */
10041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10043 #define $ac_func innocuous_$ac_func
10045 /* System header to define __stub macros and hopefully few prototypes,
10046 which can conflict with char $ac_func (); below.
10047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10048 <limits.h> exists even on freestanding compilers. */
10051 # include <limits.h>
10053 # include <assert.h>
10058 /* Override any gcc2 internal prototype to avoid an error. */
10063 /* We use char because int might match the return type of a gcc2
10064 builtin and then its argument prototype would still apply. */
10066 /* The GNU C library defines this for functions which it implements
10067 to always fail with ENOSYS. Some functions are actually named
10068 something starting with __ and the normal name is an alias. */
10069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10072 char (*f) () = $ac_func;
10081 return f != $ac_func;
10086 rm -f conftest.
$ac_objext conftest
$ac_exeext
10087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10088 (eval $ac_link) 2>conftest.er1
10090 grep -v '^ *+' conftest.er1
>conftest.err
10092 cat conftest.err
>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); } &&
10095 { ac_try
='test -z "$ac_c_werror_flag"
10096 || test ! -s conftest.err'
10097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10098 (eval $ac_try) 2>&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }; } &&
10102 { ac_try
='test -s conftest$ac_exeext'
10103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10104 (eval $ac_try) 2>&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); }; }; then
10108 eval "$as_ac_var=yes"
10110 echo "$as_me: failed program was:" >&5
10111 sed 's/^/| /' conftest.
$ac_ext >&5
10113 eval "$as_ac_var=no"
10115 rm -f conftest.err conftest.
$ac_objext \
10116 conftest
$ac_exeext conftest.
$ac_ext
10118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10120 if test `eval echo '${'$as_ac_var'}'` = yes; then
10121 cat >>confdefs.h
<<_ACEOF
10122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10124 HAVE_GTK_FILE_CHOOSER
=yes
10129 if test "$HAVE_GTK_FILE_SELECTION" = yes \
10130 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then
10132 cat >>confdefs.h
<<\_ACEOF
10133 #define HAVE_GTK_FILE_BOTH 1
10138 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
10139 HAVE_GTK_AND_PTHREAD
=no
10141 for ac_header
in pthread.h
10143 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10145 echo "$as_me:$LINENO: checking for $ac_header" >&5
10146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10148 echo $ECHO_N "(cached) $ECHO_C" >&6
10150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10153 # Is the header compilable?
10154 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10156 cat >conftest.
$ac_ext <<_ACEOF
10159 cat confdefs.h
>>conftest.
$ac_ext
10160 cat >>conftest.
$ac_ext <<_ACEOF
10161 /* end confdefs.h. */
10162 $ac_includes_default
10163 #include <$ac_header>
10165 rm -f conftest.
$ac_objext
10166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10167 (eval $ac_compile) 2>conftest.er1
10169 grep -v '^ *+' conftest.er1
>conftest.err
10171 cat conftest.err
>&5
10172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10173 (exit $ac_status); } &&
10174 { ac_try
='test -z "$ac_c_werror_flag"
10175 || test ! -s conftest.err'
10176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10177 (eval $ac_try) 2>&5
10179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10180 (exit $ac_status); }; } &&
10181 { ac_try
='test -s conftest.$ac_objext'
10182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10183 (eval $ac_try) 2>&5
10185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); }; }; then
10187 ac_header_compiler
=yes
10189 echo "$as_me: failed program was:" >&5
10190 sed 's/^/| /' conftest.
$ac_ext >&5
10192 ac_header_compiler
=no
10194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10195 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10196 echo "${ECHO_T}$ac_header_compiler" >&6
10198 # Is the header present?
10199 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10201 cat >conftest.
$ac_ext <<_ACEOF
10204 cat confdefs.h
>>conftest.
$ac_ext
10205 cat >>conftest.
$ac_ext <<_ACEOF
10206 /* end confdefs.h. */
10207 #include <$ac_header>
10209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10210 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10212 grep -v '^ *+' conftest.er1
>conftest.err
10214 cat conftest.err
>&5
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); } >/dev
/null
; then
10217 if test -s conftest.err
; then
10218 ac_cpp_err
=$ac_c_preproc_warn_flag
10219 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10226 if test -z "$ac_cpp_err"; then
10227 ac_header_preproc
=yes
10229 echo "$as_me: failed program was:" >&5
10230 sed 's/^/| /' conftest.
$ac_ext >&5
10232 ac_header_preproc
=no
10234 rm -f conftest.err conftest.
$ac_ext
10235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10236 echo "${ECHO_T}$ac_header_preproc" >&6
10238 # So? What about this header?
10239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10241 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10244 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10245 ac_header_preproc
=yes
10248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10251 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10252 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10253 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10254 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10255 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10258 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10259 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10262 ## ------------------------------------------ ##
10263 ## Report this to the AC_PACKAGE_NAME lists. ##
10264 ## ------------------------------------------ ##
10267 sed "s/^/$as_me: WARNING: /" >&2
10270 echo "$as_me:$LINENO: checking for $ac_header" >&5
10271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10273 echo $ECHO_N "(cached) $ECHO_C" >&6
10275 eval "$as_ac_Header=\$ac_header_preproc"
10277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10282 cat >>confdefs.h
<<_ACEOF
10283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10290 if test "$ac_cv_header_pthread_h"; then
10291 echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
10292 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6
10293 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10296 ac_check_lib_save_LIBS
=$LIBS
10297 LIBS
="-lpthread $LIBS"
10298 cat >conftest.
$ac_ext <<_ACEOF
10301 cat confdefs.h
>>conftest.
$ac_ext
10302 cat >>conftest.
$ac_ext <<_ACEOF
10303 /* end confdefs.h. */
10305 /* Override any gcc2 internal prototype to avoid an error. */
10309 /* We use char because int might match the return type of a gcc2
10310 builtin and then its argument prototype would still apply. */
10311 char pthread_self ();
10320 rm -f conftest.
$ac_objext conftest
$ac_exeext
10321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10322 (eval $ac_link) 2>conftest.er1
10324 grep -v '^ *+' conftest.er1
>conftest.err
10326 cat conftest.err
>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); } &&
10329 { ac_try
='test -z "$ac_c_werror_flag"
10330 || test ! -s conftest.err'
10331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10332 (eval $ac_try) 2>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); }; } &&
10336 { ac_try
='test -s conftest$ac_exeext'
10337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }; }; then
10342 ac_cv_lib_pthread_pthread_self
=yes
10344 echo "$as_me: failed program was:" >&5
10345 sed 's/^/| /' conftest.
$ac_ext >&5
10347 ac_cv_lib_pthread_pthread_self
=no
10349 rm -f conftest.err conftest.
$ac_objext \
10350 conftest
$ac_exeext conftest.
$ac_ext
10351 LIBS
=$ac_check_lib_save_LIBS
10353 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
10354 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6
10355 if test $ac_cv_lib_pthread_pthread_self = yes; then
10356 HAVE_GTK_AND_PTHREAD
=yes
10360 if test "$HAVE_GTK_AND_PTHREAD" = yes; then
10361 GTK_LIBS
="$GTK_LIBS -lpthread"
10363 cat >>confdefs.h
<<\_ACEOF
10364 #define HAVE_GTK_AND_PTHREAD 1
10371 if test x
"${USE_X_TOOLKIT}" = xmaybe
; then
10372 if test x
"${HAVE_X11R5}" = xyes
; then
10373 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
10374 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
10375 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10378 cat >conftest.
$ac_ext <<_ACEOF
10381 cat confdefs.h
>>conftest.
$ac_ext
10382 cat >>conftest.
$ac_ext <<_ACEOF
10383 /* end confdefs.h. */
10385 #include <X11/Intrinsic.h>
10386 #include <X11/Xaw/Simple.h>
10395 rm -f conftest.
$ac_objext conftest
$ac_exeext
10396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10397 (eval $ac_link) 2>conftest.er1
10399 grep -v '^ *+' conftest.er1
>conftest.err
10401 cat conftest.err
>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } &&
10404 { ac_try
='test -z "$ac_c_werror_flag"
10405 || test ! -s conftest.err'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; } &&
10411 { ac_try
='test -s conftest$ac_exeext'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; }; then
10417 emacs_cv_x11_version_5_with_xaw
=yes
10419 echo "$as_me: failed program was:" >&5
10420 sed 's/^/| /' conftest.
$ac_ext >&5
10422 emacs_cv_x11_version_5_with_xaw
=no
10424 rm -f conftest.err conftest.
$ac_objext \
10425 conftest
$ac_exeext conftest.
$ac_ext
10428 if test $emacs_cv_x11_version_5_with_xaw = yes; then
10429 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
10430 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
10431 USE_X_TOOLKIT
=LUCID
10433 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
10434 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
10442 X_TOOLKIT_TYPE
=$USE_X_TOOLKIT
10444 if test "${USE_X_TOOLKIT}" != "none"; then
10445 echo "$as_me:$LINENO: checking X11 toolkit version" >&5
10446 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
10447 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10450 cat >conftest.
$ac_ext <<_ACEOF
10453 cat confdefs.h
>>conftest.
$ac_ext
10454 cat >>conftest.
$ac_ext <<_ACEOF
10455 /* end confdefs.h. */
10456 #include <X11/Intrinsic.h>
10460 #if XtSpecificationRelease < 6
10468 rm -f conftest.
$ac_objext conftest
$ac_exeext
10469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10470 (eval $ac_link) 2>conftest.er1
10472 grep -v '^ *+' conftest.er1
>conftest.err
10474 cat conftest.err
>&5
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); } &&
10477 { ac_try
='test -z "$ac_c_werror_flag"
10478 || test ! -s conftest.err'
10479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10480 (eval $ac_try) 2>&5
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); }; } &&
10484 { ac_try
='test -s conftest$ac_exeext'
10485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10486 (eval $ac_try) 2>&5
10488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489 (exit $ac_status); }; }; then
10490 emacs_cv_x11_toolkit_version_6
=yes
10492 echo "$as_me: failed program was:" >&5
10493 sed 's/^/| /' conftest.
$ac_ext >&5
10495 emacs_cv_x11_toolkit_version_6
=no
10497 rm -f conftest.err conftest.
$ac_objext \
10498 conftest
$ac_exeext conftest.
$ac_ext
10501 HAVE_X11XTR6
=$emacs_cv_x11_toolkit_version_6
10502 if test $emacs_cv_x11_toolkit_version_6 = yes; then
10503 echo "$as_me:$LINENO: result: 6 or newer" >&5
10504 echo "${ECHO_T}6 or newer" >&6
10506 cat >>confdefs.h
<<\_ACEOF
10507 #define HAVE_X11XTR6 1
10511 echo "$as_me:$LINENO: result: before 6" >&5
10512 echo "${ECHO_T}before 6" >&6
10516 if test x
$HAVE_X11XTR6 = xyes
; then
10517 LIBS
="-lXt -lSM -lICE $LIBS"
10522 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
10523 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
10524 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
10525 echo $ECHO_N "(cached) $ECHO_C" >&6
10527 ac_check_lib_save_LIBS
=$LIBS
10529 cat >conftest.
$ac_ext <<_ACEOF
10532 cat confdefs.h
>>conftest.
$ac_ext
10533 cat >>conftest.
$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10536 /* Override any gcc2 internal prototype to avoid an error. */
10540 /* We use char because int might match the return type of a gcc2
10541 builtin and then its argument prototype would still apply. */
10542 char XmuConvertStandardSelection ();
10546 XmuConvertStandardSelection ();
10551 rm -f conftest.
$ac_objext conftest
$ac_exeext
10552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10553 (eval $ac_link) 2>conftest.er1
10555 grep -v '^ *+' conftest.er1
>conftest.err
10557 cat conftest.err
>&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } &&
10560 { ac_try
='test -z "$ac_c_werror_flag"
10561 || test ! -s conftest.err'
10562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10563 (eval $ac_try) 2>&5
10565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10566 (exit $ac_status); }; } &&
10567 { ac_try
='test -s conftest$ac_exeext'
10568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10569 (eval $ac_try) 2>&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); }; }; then
10573 ac_cv_lib_Xmu_XmuConvertStandardSelection
=yes
10575 echo "$as_me: failed program was:" >&5
10576 sed 's/^/| /' conftest.
$ac_ext >&5
10578 ac_cv_lib_Xmu_XmuConvertStandardSelection
=no
10580 rm -f conftest.err conftest.
$ac_objext \
10581 conftest
$ac_exeext conftest.
$ac_ext
10582 LIBS
=$ac_check_lib_save_LIBS
10584 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
10585 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
10586 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
10587 cat >>confdefs.h
<<_ACEOF
10588 #define HAVE_LIBXMU 1
10595 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no
&& LIBS
="$OLDLIBS"
10598 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
10599 if test "${HAVE_X11}" = "yes"; then
10600 if test "${USE_X_TOOLKIT}" != "none"; then
10602 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10603 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
10604 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10605 echo $ECHO_N "(cached) $ECHO_C" >&6
10607 ac_check_lib_save_LIBS
=$LIBS
10608 LIBS
="-lXext $LIBS"
10609 cat >conftest.
$ac_ext <<_ACEOF
10612 cat confdefs.h
>>conftest.
$ac_ext
10613 cat >>conftest.
$ac_ext <<_ACEOF
10614 /* end confdefs.h. */
10616 /* Override any gcc2 internal prototype to avoid an error. */
10620 /* We use char because int might match the return type of a gcc2
10621 builtin and then its argument prototype would still apply. */
10622 char XShapeQueryExtension ();
10626 XShapeQueryExtension ();
10631 rm -f conftest.
$ac_objext conftest
$ac_exeext
10632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10633 (eval $ac_link) 2>conftest.er1
10635 grep -v '^ *+' conftest.er1
>conftest.err
10637 cat conftest.err
>&5
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); } &&
10640 { ac_try
='test -z "$ac_c_werror_flag"
10641 || test ! -s conftest.err'
10642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10643 (eval $ac_try) 2>&5
10645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10646 (exit $ac_status); }; } &&
10647 { ac_try
='test -s conftest$ac_exeext'
10648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10649 (eval $ac_try) 2>&5
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); }; }; then
10653 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10655 echo "$as_me: failed program was:" >&5
10656 sed 's/^/| /' conftest.
$ac_ext >&5
10658 ac_cv_lib_Xext_XShapeQueryExtension
=no
10660 rm -f conftest.err conftest.
$ac_objext \
10661 conftest
$ac_exeext conftest.
$ac_ext
10662 LIBS
=$ac_check_lib_save_LIBS
10664 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10665 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
10666 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10667 cat >>confdefs.h
<<_ACEOF
10668 #define HAVE_LIBXEXT 1
10671 LIBS
="-lXext $LIBS"
10678 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
10679 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
10680 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
10681 if test "${emacs_cv_motif_version_2_1+set}" = set; then
10682 echo $ECHO_N "(cached) $ECHO_C" >&6
10684 cat >conftest.
$ac_ext <<_ACEOF
10687 cat confdefs.h
>>conftest.
$ac_ext
10688 cat >>conftest.
$ac_ext <<_ACEOF
10689 /* end confdefs.h. */
10694 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
10697 Motif version prior to 2.1.
10703 rm -f conftest.
$ac_objext
10704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10705 (eval $ac_compile) 2>conftest.er1
10707 grep -v '^ *+' conftest.er1
>conftest.err
10709 cat conftest.err
>&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); } &&
10712 { ac_try
='test -z "$ac_c_werror_flag"
10713 || test ! -s conftest.err'
10714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10715 (eval $ac_try) 2>&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); }; } &&
10719 { ac_try
='test -s conftest.$ac_objext'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; }; then
10725 emacs_cv_motif_version_2_1
=yes
10727 echo "$as_me: failed program was:" >&5
10728 sed 's/^/| /' conftest.
$ac_ext >&5
10730 emacs_cv_motif_version_2_1
=no
10732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10734 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
10735 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
10736 HAVE_MOTIF_2_1
=$emacs_cv_motif_version_2_1
10737 if test $emacs_cv_motif_version_2_1 = yes; then
10740 cat >>confdefs.h
<<\_ACEOF
10741 #define HAVE_MOTIF_2_1 1
10744 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
10745 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
10746 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
10747 echo $ECHO_N "(cached) $ECHO_C" >&6
10749 ac_check_lib_save_LIBS
=$LIBS
10751 cat >conftest.
$ac_ext <<_ACEOF
10754 cat confdefs.h
>>conftest.
$ac_ext
10755 cat >>conftest.
$ac_ext <<_ACEOF
10756 /* end confdefs.h. */
10758 /* Override any gcc2 internal prototype to avoid an error. */
10762 /* We use char because int might match the return type of a gcc2
10763 builtin and then its argument prototype would still apply. */
10764 char XpCreateContext ();
10768 XpCreateContext ();
10773 rm -f conftest.
$ac_objext conftest
$ac_exeext
10774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10775 (eval $ac_link) 2>conftest.er1
10777 grep -v '^ *+' conftest.er1
>conftest.err
10779 cat conftest.err
>&5
10780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781 (exit $ac_status); } &&
10782 { ac_try
='test -z "$ac_c_werror_flag"
10783 || test ! -s conftest.err'
10784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10785 (eval $ac_try) 2>&5
10787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 (exit $ac_status); }; } &&
10789 { ac_try
='test -s conftest$ac_exeext'
10790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10791 (eval $ac_try) 2>&5
10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); }; }; then
10795 ac_cv_lib_Xp_XpCreateContext
=yes
10797 echo "$as_me: failed program was:" >&5
10798 sed 's/^/| /' conftest.
$ac_ext >&5
10800 ac_cv_lib_Xp_XpCreateContext
=no
10802 rm -f conftest.err conftest.
$ac_objext \
10803 conftest
$ac_exeext conftest.
$ac_ext
10804 LIBS
=$ac_check_lib_save_LIBS
10806 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
10807 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
10808 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
10812 if test ${HAVE_LIBXP} = yes; then
10814 cat >>confdefs.h
<<\_ACEOF
10815 #define HAVE_LIBXP 1
10820 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
10821 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
10822 if test "${emacs_cv_lesstif+set}" = set; then
10823 echo $ECHO_N "(cached) $ECHO_C" >&6
10825 # We put this in CFLAGS temporarily to precede other -I options
10826 # that might be in CFLAGS temporarily.
10827 # We put this in CPPFLAGS where it precedes the other -I options.
10828 OLD_CPPFLAGS
=$CPPFLAGS
10830 CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
10831 CFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
10832 cat >conftest.
$ac_ext <<_ACEOF
10835 cat confdefs.h
>>conftest.
$ac_ext
10836 cat >>conftest.
$ac_ext <<_ACEOF
10837 /* end confdefs.h. */
10838 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
10847 rm -f conftest.
$ac_objext
10848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10849 (eval $ac_compile) 2>conftest.er1
10851 grep -v '^ *+' conftest.er1
>conftest.err
10853 cat conftest.err
>&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); } &&
10856 { ac_try
='test -z "$ac_c_werror_flag"
10857 || test ! -s conftest.err'
10858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10859 (eval $ac_try) 2>&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); }; } &&
10863 { ac_try
='test -s conftest.$ac_objext'
10864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10865 (eval $ac_try) 2>&5
10867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 (exit $ac_status); }; }; then
10869 emacs_cv_lesstif
=yes
10871 echo "$as_me: failed program was:" >&5
10872 sed 's/^/| /' conftest.
$ac_ext >&5
10874 emacs_cv_lesstif
=no
10876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10878 echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
10879 echo "${ECHO_T}$emacs_cv_lesstif" >&6
10880 if test $emacs_cv_lesstif = yes; then
10881 # Make sure this -I option remains in CPPFLAGS after it is set
10882 # back to REAL_CPPFLAGS.
10883 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
10884 # have those other -I options anyway. Ultimately, having this
10885 # directory ultimately in CPPFLAGS will be enough.
10886 REAL_CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $REAL_CPPFLAGS"
10887 LDFLAGS
="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
10890 CPPFLAGS
=$OLD_CPPFLAGS
10895 ### Is -lXaw3d available?
10897 if test "${HAVE_X11}" = "yes"; then
10898 if test "${USE_X_TOOLKIT}" != "none"; then
10899 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
10900 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
10901 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
10902 echo $ECHO_N "(cached) $ECHO_C" >&6
10904 cat >conftest.
$ac_ext <<_ACEOF
10907 cat confdefs.h
>>conftest.
$ac_ext
10908 cat >>conftest.
$ac_ext <<_ACEOF
10909 /* end confdefs.h. */
10910 #include <X11/Xaw3d/Scrollbar.h>
10912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10913 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10915 grep -v '^ *+' conftest.er1
>conftest.err
10917 cat conftest.err
>&5
10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 (exit $ac_status); } >/dev
/null
; then
10920 if test -s conftest.err
; then
10921 ac_cpp_err
=$ac_c_preproc_warn_flag
10922 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10929 if test -z "$ac_cpp_err"; then
10930 ac_cv_header_X11_Xaw3d_Scrollbar_h
=yes
10932 echo "$as_me: failed program was:" >&5
10933 sed 's/^/| /' conftest.
$ac_ext >&5
10935 ac_cv_header_X11_Xaw3d_Scrollbar_h
=no
10937 rm -f conftest.err conftest.
$ac_ext
10939 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
10940 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
10941 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
10942 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
10943 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
10944 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 ac_check_lib_save_LIBS
=$LIBS
10948 LIBS
="-lXaw3d $LIBS"
10949 cat >conftest.
$ac_ext <<_ACEOF
10952 cat confdefs.h
>>conftest.
$ac_ext
10953 cat >>conftest.
$ac_ext <<_ACEOF
10954 /* end confdefs.h. */
10956 /* Override any gcc2 internal prototype to avoid an error. */
10960 /* We use char because int might match the return type of a gcc2
10961 builtin and then its argument prototype would still apply. */
10962 char XawScrollbarSetThumb ();
10966 XawScrollbarSetThumb ();
10971 rm -f conftest.
$ac_objext conftest
$ac_exeext
10972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10973 (eval $ac_link) 2>conftest.er1
10975 grep -v '^ *+' conftest.er1
>conftest.err
10977 cat conftest.err
>&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); } &&
10980 { ac_try
='test -z "$ac_c_werror_flag"
10981 || test ! -s conftest.err'
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10983 (eval $ac_try) 2>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; } &&
10987 { ac_try
='test -s conftest$ac_exeext'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; }; then
10993 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=yes
10995 echo "$as_me: failed program was:" >&5
10996 sed 's/^/| /' conftest.
$ac_ext >&5
10998 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=no
11000 rm -f conftest.err conftest.
$ac_objext \
11001 conftest
$ac_exeext conftest.
$ac_ext
11002 LIBS
=$ac_check_lib_save_LIBS
11004 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
11005 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
11006 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
11013 if test "${HAVE_XAW3D}" = "yes"; then
11015 cat >>confdefs.h
<<\_ACEOF
11016 #define HAVE_XAW3D 1
11025 USE_TOOLKIT_SCROLL_BARS
=no
11026 if test "${with_toolkit_scroll_bars}" != "no"; then
11027 if test "${USE_X_TOOLKIT}" != "none"; then
11028 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
11029 cat >>confdefs.h
<<\_ACEOF
11030 #define USE_TOOLKIT_SCROLL_BARS 1
11034 USE_TOOLKIT_SCROLL_BARS
=yes
11035 elif test "${HAVE_XAW3D}" = "yes"; then
11036 cat >>confdefs.h
<<\_ACEOF
11037 #define USE_TOOLKIT_SCROLL_BARS 1
11040 USE_TOOLKIT_SCROLL_BARS
=yes
11042 elif test "${HAVE_GTK}" = "yes"; then
11043 cat >>confdefs.h
<<\_ACEOF
11044 #define USE_TOOLKIT_SCROLL_BARS 1
11047 USE_TOOLKIT_SCROLL_BARS
=yes
11051 cat >conftest.
$ac_ext <<_ACEOF
11054 cat confdefs.h
>>conftest.
$ac_ext
11055 cat >>conftest.
$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11058 #include <X11/Xlib.h>
11059 #include <X11/Xresource.h>
11068 rm -f conftest.
$ac_objext
11069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11070 (eval $ac_compile) 2>conftest.er1
11072 grep -v '^ *+' conftest.er1
>conftest.err
11074 cat conftest.err
>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); } &&
11077 { ac_try
='test -z "$ac_c_werror_flag"
11078 || test ! -s conftest.err'
11079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11080 (eval $ac_try) 2>&5
11082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11083 (exit $ac_status); }; } &&
11084 { ac_try
='test -s conftest.$ac_objext'
11085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11086 (eval $ac_try) 2>&5
11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 (exit $ac_status); }; }; then
11092 cat >>confdefs.h
<<\_ACEOF
11097 echo "$as_me: failed program was:" >&5
11098 sed 's/^/| /' conftest.
$ac_ext >&5
11102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11105 if test "${with_xim}" != "no"; then
11107 cat >>confdefs.h
<<\_ACEOF
11114 if test "${HAVE_XIM}" != "no"; then
11115 late_CFLAGS
=$CFLAGS
11116 if test "$GCC" = yes; then
11117 CFLAGS
="$CFLAGS --pedantic-errors"
11119 cat >conftest.
$ac_ext <<_ACEOF
11122 cat confdefs.h
>>conftest.
$ac_ext
11123 cat >>conftest.
$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11126 #include <X11/Xlib.h>
11127 #include <X11/Xresource.h>
11136 XPointer *client_data;
11138 /* If we're not using GCC, it's probably not XFree86, and this is
11139 probably right, but we can't use something like --pedantic-errors. */
11140 extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
11141 char*, XIMProc, XPointer*);
11143 (void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback,
11149 rm -f conftest.
$ac_objext
11150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11151 (eval $ac_compile) 2>conftest.er1
11153 grep -v '^ *+' conftest.er1
>conftest.err
11155 cat conftest.err
>&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); } &&
11158 { ac_try
='test -z "$ac_c_werror_flag"
11159 || test ! -s conftest.err'
11160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161 (eval $ac_try) 2>&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); }; } &&
11165 { ac_try
='test -s conftest.$ac_objext'
11166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11167 (eval $ac_try) 2>&5
11169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); }; }; then
11171 emacs_cv_arg6_star
=yes
11173 echo "$as_me: failed program was:" >&5
11174 sed 's/^/| /' conftest.
$ac_ext >&5
11177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11179 if test "$emacs_cv_arg6_star" = yes; then
11180 cat >>confdefs.h
<<\_ACEOF
11181 #define XRegisterIMInstantiateCallback_arg6 XPointer*
11185 cat >>confdefs.h
<<\_ACEOF
11186 #define XRegisterIMInstantiateCallback_arg6 XPointer
11190 CFLAGS
=$late_CFLAGS
11193 ### Use -lXpm if available, unless `--with-xpm=no'.
11195 if test "${HAVE_X11}" = "yes"; then
11196 if test "${with_xpm}" != "no"; then
11197 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11198 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11199 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
11200 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11201 echo $ECHO_N "(cached) $ECHO_C" >&6
11203 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11204 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
11206 # Is the header compilable?
11207 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
11208 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
11209 cat >conftest.
$ac_ext <<_ACEOF
11212 cat confdefs.h
>>conftest.
$ac_ext
11213 cat >>conftest.
$ac_ext <<_ACEOF
11214 /* end confdefs.h. */
11215 $ac_includes_default
11216 #include <X11/xpm.h>
11218 rm -f conftest.
$ac_objext
11219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11220 (eval $ac_compile) 2>conftest.er1
11222 grep -v '^ *+' conftest.er1
>conftest.err
11224 cat conftest.err
>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); } &&
11227 { ac_try
='test -z "$ac_c_werror_flag"
11228 || test ! -s conftest.err'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; } &&
11234 { ac_try
='test -s conftest.$ac_objext'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; }; then
11240 ac_header_compiler
=yes
11242 echo "$as_me: failed program was:" >&5
11243 sed 's/^/| /' conftest.
$ac_ext >&5
11245 ac_header_compiler
=no
11247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11249 echo "${ECHO_T}$ac_header_compiler" >&6
11251 # Is the header present?
11252 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
11253 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
11254 cat >conftest.
$ac_ext <<_ACEOF
11257 cat confdefs.h
>>conftest.
$ac_ext
11258 cat >>conftest.
$ac_ext <<_ACEOF
11259 /* end confdefs.h. */
11260 #include <X11/xpm.h>
11262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11265 grep -v '^ *+' conftest.er1
>conftest.err
11267 cat conftest.err
>&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } >/dev
/null
; then
11270 if test -s conftest.err
; then
11271 ac_cpp_err
=$ac_c_preproc_warn_flag
11272 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11279 if test -z "$ac_cpp_err"; then
11280 ac_header_preproc
=yes
11282 echo "$as_me: failed program was:" >&5
11283 sed 's/^/| /' conftest.
$ac_ext >&5
11285 ac_header_preproc
=no
11287 rm -f conftest.err conftest.
$ac_ext
11288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11289 echo "${ECHO_T}$ac_header_preproc" >&6
11291 # So? What about this header?
11292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11294 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
11295 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11296 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
11297 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
11298 ac_header_preproc
=yes
11301 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
11302 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
11303 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
11304 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
11305 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
11306 echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
11307 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
11308 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
11309 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
11310 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
11311 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
11312 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
11315 ## ------------------------------------------ ##
11316 ## Report this to the AC_PACKAGE_NAME lists. ##
11317 ## ------------------------------------------ ##
11320 sed "s/^/$as_me: WARNING: /" >&2
11323 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11324 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
11325 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11326 echo $ECHO_N "(cached) $ECHO_C" >&6
11328 ac_cv_header_X11_xpm_h
=$ac_header_preproc
11330 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11331 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
11334 if test $ac_cv_header_X11_xpm_h = yes; then
11335 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
11336 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
11337 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
11338 echo $ECHO_N "(cached) $ECHO_C" >&6
11340 ac_check_lib_save_LIBS
=$LIBS
11341 LIBS
="-lXpm -lX11 $LIBS"
11342 cat >conftest.
$ac_ext <<_ACEOF
11345 cat confdefs.h
>>conftest.
$ac_ext
11346 cat >>conftest.
$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11349 /* Override any gcc2 internal prototype to avoid an error. */
11353 /* We use char because int might match the return type of a gcc2
11354 builtin and then its argument prototype would still apply. */
11355 char XpmReadFileToPixmap ();
11359 XpmReadFileToPixmap ();
11364 rm -f conftest.
$ac_objext conftest
$ac_exeext
11365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11366 (eval $ac_link) 2>conftest.er1
11368 grep -v '^ *+' conftest.er1
>conftest.err
11370 cat conftest.err
>&5
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); } &&
11373 { ac_try
='test -z "$ac_c_werror_flag"
11374 || test ! -s conftest.err'
11375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11376 (eval $ac_try) 2>&5
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); }; } &&
11380 { ac_try
='test -s conftest$ac_exeext'
11381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11382 (eval $ac_try) 2>&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); }; }; then
11386 ac_cv_lib_Xpm_XpmReadFileToPixmap
=yes
11388 echo "$as_me: failed program was:" >&5
11389 sed 's/^/| /' conftest.
$ac_ext >&5
11391 ac_cv_lib_Xpm_XpmReadFileToPixmap
=no
11393 rm -f conftest.err conftest.
$ac_objext \
11394 conftest
$ac_exeext conftest.
$ac_ext
11395 LIBS
=$ac_check_lib_save_LIBS
11397 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
11398 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
11399 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
11406 if test "${HAVE_XPM}" = "yes"; then
11407 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
11408 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
11409 cat >conftest.
$ac_ext <<_ACEOF
11412 cat confdefs.h
>>conftest.
$ac_ext
11413 cat >>conftest.
$ac_ext <<_ACEOF
11414 /* end confdefs.h. */
11415 #include "X11/xpm.h"
11416 #ifndef XpmReturnAllocPixels
11417 no_return_alloc_pixels
11421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11422 $EGREP "no_return_alloc_pixels" >/dev
/null
2>&1; then
11430 if test "${HAVE_XPM}" = "yes"; then
11431 echo "$as_me:$LINENO: result: yes" >&5
11432 echo "${ECHO_T}yes" >&6
11434 echo "$as_me:$LINENO: result: no" >&5
11435 echo "${ECHO_T}no" >&6
11440 if test "${HAVE_XPM}" = "yes"; then
11442 cat >>confdefs.h
<<\_ACEOF
11449 ### Use -ljpeg if available, unless `--with-jpeg=no'.
11451 if test "${HAVE_X11}" = "yes"; then
11452 if test "${with_jpeg}" != "no"; then
11453 if test "${ac_cv_header_jerror_h+set}" = set; then
11454 echo "$as_me:$LINENO: checking for jerror.h" >&5
11455 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
11456 if test "${ac_cv_header_jerror_h+set}" = set; then
11457 echo $ECHO_N "(cached) $ECHO_C" >&6
11459 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11460 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
11462 # Is the header compilable?
11463 echo "$as_me:$LINENO: checking jerror.h usability" >&5
11464 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
11465 cat >conftest.
$ac_ext <<_ACEOF
11468 cat confdefs.h
>>conftest.
$ac_ext
11469 cat >>conftest.
$ac_ext <<_ACEOF
11470 /* end confdefs.h. */
11471 $ac_includes_default
11472 #include <jerror.h>
11474 rm -f conftest.
$ac_objext
11475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11476 (eval $ac_compile) 2>conftest.er1
11478 grep -v '^ *+' conftest.er1
>conftest.err
11480 cat conftest.err
>&5
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); } &&
11483 { ac_try
='test -z "$ac_c_werror_flag"
11484 || test ! -s conftest.err'
11485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11486 (eval $ac_try) 2>&5
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489 (exit $ac_status); }; } &&
11490 { ac_try
='test -s conftest.$ac_objext'
11491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11492 (eval $ac_try) 2>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); }; }; then
11496 ac_header_compiler
=yes
11498 echo "$as_me: failed program was:" >&5
11499 sed 's/^/| /' conftest.
$ac_ext >&5
11501 ac_header_compiler
=no
11503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11505 echo "${ECHO_T}$ac_header_compiler" >&6
11507 # Is the header present?
11508 echo "$as_me:$LINENO: checking jerror.h presence" >&5
11509 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
11510 cat >conftest.
$ac_ext <<_ACEOF
11513 cat confdefs.h
>>conftest.
$ac_ext
11514 cat >>conftest.
$ac_ext <<_ACEOF
11515 /* end confdefs.h. */
11516 #include <jerror.h>
11518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11519 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11521 grep -v '^ *+' conftest.er1
>conftest.err
11523 cat conftest.err
>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); } >/dev
/null
; then
11526 if test -s conftest.err
; then
11527 ac_cpp_err
=$ac_c_preproc_warn_flag
11528 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11535 if test -z "$ac_cpp_err"; then
11536 ac_header_preproc
=yes
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.
$ac_ext >&5
11541 ac_header_preproc
=no
11543 rm -f conftest.err conftest.
$ac_ext
11544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11545 echo "${ECHO_T}$ac_header_preproc" >&6
11547 # So? What about this header?
11548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11550 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
11551 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11552 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
11553 echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
11554 ac_header_preproc
=yes
11557 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
11558 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
11559 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
11560 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
11561 { echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
11562 echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
11563 { echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
11564 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
11565 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
11566 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
11567 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
11568 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
11571 ## ------------------------------------------ ##
11572 ## Report this to the AC_PACKAGE_NAME lists. ##
11573 ## ------------------------------------------ ##
11576 sed "s/^/$as_me: WARNING: /" >&2
11579 echo "$as_me:$LINENO: checking for jerror.h" >&5
11580 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
11581 if test "${ac_cv_header_jerror_h+set}" = set; then
11582 echo $ECHO_N "(cached) $ECHO_C" >&6
11584 ac_cv_header_jerror_h
=$ac_header_preproc
11586 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11587 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
11590 if test $ac_cv_header_jerror_h = yes; then
11591 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
11592 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
11593 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11596 ac_check_lib_save_LIBS
=$LIBS
11597 LIBS
="-ljpeg $LIBS"
11598 cat >conftest.
$ac_ext <<_ACEOF
11601 cat confdefs.h
>>conftest.
$ac_ext
11602 cat >>conftest.
$ac_ext <<_ACEOF
11603 /* end confdefs.h. */
11605 /* Override any gcc2 internal prototype to avoid an error. */
11609 /* We use char because int might match the return type of a gcc2
11610 builtin and then its argument prototype would still apply. */
11611 char jpeg_destroy_compress ();
11615 jpeg_destroy_compress ();
11620 rm -f conftest.
$ac_objext conftest
$ac_exeext
11621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11622 (eval $ac_link) 2>conftest.er1
11624 grep -v '^ *+' conftest.er1
>conftest.err
11626 cat conftest.err
>&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } &&
11629 { ac_try
='test -z "$ac_c_werror_flag"
11630 || test ! -s conftest.err'
11631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11632 (eval $ac_try) 2>&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); }; } &&
11636 { ac_try
='test -s conftest$ac_exeext'
11637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11638 (eval $ac_try) 2>&5
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); }; }; then
11642 ac_cv_lib_jpeg_jpeg_destroy_compress
=yes
11644 echo "$as_me: failed program was:" >&5
11645 sed 's/^/| /' conftest.
$ac_ext >&5
11647 ac_cv_lib_jpeg_jpeg_destroy_compress
=no
11649 rm -f conftest.err conftest.
$ac_objext \
11650 conftest
$ac_exeext conftest.
$ac_ext
11651 LIBS
=$ac_check_lib_save_LIBS
11653 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
11654 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
11655 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
11665 if test "${HAVE_JPEG}" = "yes"; then
11666 cat >>confdefs.h
<<\_ACEOF
11667 #define HAVE_JPEG 1
11670 cat >conftest.
$ac_ext <<_ACEOF
11673 cat confdefs.h
>>conftest.
$ac_ext
11674 cat >>conftest.
$ac_ext <<_ACEOF
11675 /* end confdefs.h. */
11676 #include <jpeglib.h>
11677 version=JPEG_LIB_VERSION
11680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11681 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev
/null
2>&1; then
11682 cat >>confdefs.h
<<\_ACEOF
11683 #define HAVE_JPEG 1
11687 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
11688 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
11696 ### Use -lpng if available, unless `--with-png=no'.
11698 if test "${HAVE_X11}" = "yes"; then
11699 if test "${with_png}" != "no"; then
11700 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h
11701 # in /usr/include/libpng.
11704 for ac_header
in png.h libpng
/png.h
11706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11708 echo "$as_me:$LINENO: checking for $ac_header" >&5
11709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11711 echo $ECHO_N "(cached) $ECHO_C" >&6
11713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11716 # Is the header compilable?
11717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11719 cat >conftest.
$ac_ext <<_ACEOF
11722 cat confdefs.h
>>conftest.
$ac_ext
11723 cat >>conftest.
$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11725 $ac_includes_default
11726 #include <$ac_header>
11728 rm -f conftest.
$ac_objext
11729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11730 (eval $ac_compile) 2>conftest.er1
11732 grep -v '^ *+' conftest.er1
>conftest.err
11734 cat conftest.err
>&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); } &&
11737 { ac_try
='test -z "$ac_c_werror_flag"
11738 || test ! -s conftest.err'
11739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11740 (eval $ac_try) 2>&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); }; } &&
11744 { ac_try
='test -s conftest.$ac_objext'
11745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11746 (eval $ac_try) 2>&5
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); }; }; then
11750 ac_header_compiler
=yes
11752 echo "$as_me: failed program was:" >&5
11753 sed 's/^/| /' conftest.
$ac_ext >&5
11755 ac_header_compiler
=no
11757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11759 echo "${ECHO_T}$ac_header_compiler" >&6
11761 # Is the header present?
11762 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11763 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11764 cat >conftest.
$ac_ext <<_ACEOF
11767 cat confdefs.h
>>conftest.
$ac_ext
11768 cat >>conftest.
$ac_ext <<_ACEOF
11769 /* end confdefs.h. */
11770 #include <$ac_header>
11772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11773 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11775 grep -v '^ *+' conftest.er1
>conftest.err
11777 cat conftest.err
>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } >/dev
/null
; then
11780 if test -s conftest.err
; then
11781 ac_cpp_err
=$ac_c_preproc_warn_flag
11782 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11789 if test -z "$ac_cpp_err"; then
11790 ac_header_preproc
=yes
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.
$ac_ext >&5
11795 ac_header_preproc
=no
11797 rm -f conftest.err conftest.
$ac_ext
11798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11799 echo "${ECHO_T}$ac_header_preproc" >&6
11801 # So? What about this header?
11802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11804 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11805 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11807 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11808 ac_header_preproc
=yes
11811 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11812 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11813 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11814 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11815 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11816 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11817 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11818 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11819 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11820 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11821 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11822 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11825 ## ------------------------------------------ ##
11826 ## Report this to the AC_PACKAGE_NAME lists. ##
11827 ## ------------------------------------------ ##
11830 sed "s/^/$as_me: WARNING: /" >&2
11833 echo "$as_me:$LINENO: checking for $ac_header" >&5
11834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 eval "$as_ac_Header=\$ac_header_preproc"
11840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11845 cat >>confdefs.h
<<_ACEOF
11846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11853 if test "$ac_cv_header_png_h" = yes ||
test "$ac_cv_header_libpng_png_h" = yes ; then
11854 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
11855 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
11856 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
11857 echo $ECHO_N "(cached) $ECHO_C" >&6
11859 ac_check_lib_save_LIBS
=$LIBS
11860 LIBS
="-lpng -lz -lm $LIBS"
11861 cat >conftest.
$ac_ext <<_ACEOF
11864 cat confdefs.h
>>conftest.
$ac_ext
11865 cat >>conftest.
$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11868 /* Override any gcc2 internal prototype to avoid an error. */
11872 /* We use char because int might match the return type of a gcc2
11873 builtin and then its argument prototype would still apply. */
11874 char png_get_channels ();
11878 png_get_channels ();
11883 rm -f conftest.
$ac_objext conftest
$ac_exeext
11884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11885 (eval $ac_link) 2>conftest.er1
11887 grep -v '^ *+' conftest.er1
>conftest.err
11889 cat conftest.err
>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); } &&
11892 { ac_try
='test -z "$ac_c_werror_flag"
11893 || test ! -s conftest.err'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; } &&
11899 { ac_try
='test -s conftest$ac_exeext'
11900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11901 (eval $ac_try) 2>&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); }; }; then
11905 ac_cv_lib_png_png_get_channels
=yes
11907 echo "$as_me: failed program was:" >&5
11908 sed 's/^/| /' conftest.
$ac_ext >&5
11910 ac_cv_lib_png_png_get_channels
=no
11912 rm -f conftest.err conftest.
$ac_objext \
11913 conftest
$ac_exeext conftest.
$ac_ext
11914 LIBS
=$ac_check_lib_save_LIBS
11916 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
11917 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
11918 if test $ac_cv_lib_png_png_get_channels = yes; then
11925 if test "${HAVE_PNG}" = "yes"; then
11927 cat >>confdefs.h
<<\_ACEOF
11934 ### Use -ltiff if available, unless `--with-tiff=no'.
11936 if test "${HAVE_X11}" = "yes"; then
11937 if test "${with_tiff}" != "no"; then
11938 if test "${ac_cv_header_tiffio_h+set}" = set; then
11939 echo "$as_me:$LINENO: checking for tiffio.h" >&5
11940 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
11941 if test "${ac_cv_header_tiffio_h+set}" = set; then
11942 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
11945 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
11947 # Is the header compilable?
11948 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
11949 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
11950 cat >conftest.
$ac_ext <<_ACEOF
11953 cat confdefs.h
>>conftest.
$ac_ext
11954 cat >>conftest.
$ac_ext <<_ACEOF
11955 /* end confdefs.h. */
11956 $ac_includes_default
11957 #include <tiffio.h>
11959 rm -f conftest.
$ac_objext
11960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11961 (eval $ac_compile) 2>conftest.er1
11963 grep -v '^ *+' conftest.er1
>conftest.err
11965 cat conftest.err
>&5
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); } &&
11968 { ac_try
='test -z "$ac_c_werror_flag"
11969 || test ! -s conftest.err'
11970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11971 (eval $ac_try) 2>&5
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); }; } &&
11975 { ac_try
='test -s conftest.$ac_objext'
11976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11977 (eval $ac_try) 2>&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); }; }; then
11981 ac_header_compiler
=yes
11983 echo "$as_me: failed program was:" >&5
11984 sed 's/^/| /' conftest.
$ac_ext >&5
11986 ac_header_compiler
=no
11988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11990 echo "${ECHO_T}$ac_header_compiler" >&6
11992 # Is the header present?
11993 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
11994 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
11995 cat >conftest.
$ac_ext <<_ACEOF
11998 cat confdefs.h
>>conftest.
$ac_ext
11999 cat >>conftest.
$ac_ext <<_ACEOF
12000 /* end confdefs.h. */
12001 #include <tiffio.h>
12003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12004 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12006 grep -v '^ *+' conftest.er1
>conftest.err
12008 cat conftest.err
>&5
12009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010 (exit $ac_status); } >/dev
/null
; then
12011 if test -s conftest.err
; then
12012 ac_cpp_err
=$ac_c_preproc_warn_flag
12013 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12020 if test -z "$ac_cpp_err"; then
12021 ac_header_preproc
=yes
12023 echo "$as_me: failed program was:" >&5
12024 sed 's/^/| /' conftest.
$ac_ext >&5
12026 ac_header_preproc
=no
12028 rm -f conftest.err conftest.
$ac_ext
12029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12030 echo "${ECHO_T}$ac_header_preproc" >&6
12032 # So? What about this header?
12033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12035 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
12036 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12037 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
12038 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
12039 ac_header_preproc
=yes
12042 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
12043 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
12044 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
12045 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
12046 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
12047 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
12048 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
12049 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
12050 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
12051 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
12052 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
12053 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
12056 ## ------------------------------------------ ##
12057 ## Report this to the AC_PACKAGE_NAME lists. ##
12058 ## ------------------------------------------ ##
12061 sed "s/^/$as_me: WARNING: /" >&2
12064 echo "$as_me:$LINENO: checking for tiffio.h" >&5
12065 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
12066 if test "${ac_cv_header_tiffio_h+set}" = set; then
12067 echo $ECHO_N "(cached) $ECHO_C" >&6
12069 ac_cv_header_tiffio_h
=$ac_header_preproc
12071 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
12072 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
12075 if test $ac_cv_header_tiffio_h = yes; then
12077 # At least one tiff package requires the jpeg library.
12078 if test "${HAVE_JPEG}" = yes; then tifflibs
="-ljpeg $tifflibs"; fi
12079 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
12080 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
12081 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
12082 echo $ECHO_N "(cached) $ECHO_C" >&6
12084 ac_check_lib_save_LIBS
=$LIBS
12085 LIBS
="-ltiff $tifflibs $LIBS"
12086 cat >conftest.
$ac_ext <<_ACEOF
12089 cat confdefs.h
>>conftest.
$ac_ext
12090 cat >>conftest.
$ac_ext <<_ACEOF
12091 /* end confdefs.h. */
12093 /* Override any gcc2 internal prototype to avoid an error. */
12097 /* We use char because int might match the return type of a gcc2
12098 builtin and then its argument prototype would still apply. */
12099 char TIFFGetVersion ();
12108 rm -f conftest.
$ac_objext conftest
$ac_exeext
12109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12110 (eval $ac_link) 2>conftest.er1
12112 grep -v '^ *+' conftest.er1
>conftest.err
12114 cat conftest.err
>&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); } &&
12117 { ac_try
='test -z "$ac_c_werror_flag"
12118 || test ! -s conftest.err'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; } &&
12124 { ac_try
='test -s conftest$ac_exeext'
12125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12126 (eval $ac_try) 2>&5
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); }; }; then
12130 ac_cv_lib_tiff_TIFFGetVersion
=yes
12132 echo "$as_me: failed program was:" >&5
12133 sed 's/^/| /' conftest.
$ac_ext >&5
12135 ac_cv_lib_tiff_TIFFGetVersion
=no
12137 rm -f conftest.err conftest.
$ac_objext \
12138 conftest
$ac_exeext conftest.
$ac_ext
12139 LIBS
=$ac_check_lib_save_LIBS
12141 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
12142 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
12143 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
12152 if test "${HAVE_TIFF}" = "yes"; then
12154 cat >>confdefs.h
<<\_ACEOF
12155 #define HAVE_TIFF 1
12161 ### Use -lgif if available, unless `--with-gif=no'.
12163 if test "${HAVE_X11}" = "yes"; then
12164 if test "${with_gif}" != "no"; then
12165 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12166 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12167 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
12168 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12172 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
12174 # Is the header compilable?
12175 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
12176 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
12177 cat >conftest.
$ac_ext <<_ACEOF
12180 cat confdefs.h
>>conftest.
$ac_ext
12181 cat >>conftest.
$ac_ext <<_ACEOF
12182 /* end confdefs.h. */
12183 $ac_includes_default
12184 #include <gif_lib.h>
12186 rm -f conftest.
$ac_objext
12187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12188 (eval $ac_compile) 2>conftest.er1
12190 grep -v '^ *+' conftest.er1
>conftest.err
12192 cat conftest.err
>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); } &&
12195 { ac_try
='test -z "$ac_c_werror_flag"
12196 || test ! -s conftest.err'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; } &&
12202 { ac_try
='test -s conftest.$ac_objext'
12203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204 (eval $ac_try) 2>&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }; }; then
12208 ac_header_compiler
=yes
12210 echo "$as_me: failed program was:" >&5
12211 sed 's/^/| /' conftest.
$ac_ext >&5
12213 ac_header_compiler
=no
12215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12217 echo "${ECHO_T}$ac_header_compiler" >&6
12219 # Is the header present?
12220 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
12221 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
12222 cat >conftest.
$ac_ext <<_ACEOF
12225 cat confdefs.h
>>conftest.
$ac_ext
12226 cat >>conftest.
$ac_ext <<_ACEOF
12227 /* end confdefs.h. */
12228 #include <gif_lib.h>
12230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12231 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12233 grep -v '^ *+' conftest.er1
>conftest.err
12235 cat conftest.err
>&5
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); } >/dev
/null
; then
12238 if test -s conftest.err
; then
12239 ac_cpp_err
=$ac_c_preproc_warn_flag
12240 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12247 if test -z "$ac_cpp_err"; then
12248 ac_header_preproc
=yes
12250 echo "$as_me: failed program was:" >&5
12251 sed 's/^/| /' conftest.
$ac_ext >&5
12253 ac_header_preproc
=no
12255 rm -f conftest.err conftest.
$ac_ext
12256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12257 echo "${ECHO_T}$ac_header_preproc" >&6
12259 # So? What about this header?
12260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12262 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12263 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12264 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
12265 echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
12266 ac_header_preproc
=yes
12269 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
12270 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
12271 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
12272 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
12273 { echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
12274 echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
12275 { echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
12276 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12277 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
12278 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
12279 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
12280 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
12283 ## ------------------------------------------ ##
12284 ## Report this to the AC_PACKAGE_NAME lists. ##
12285 ## ------------------------------------------ ##
12288 sed "s/^/$as_me: WARNING: /" >&2
12291 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12292 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
12293 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 ac_cv_header_gif_lib_h
=$ac_header_preproc
12298 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12299 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
12302 if test $ac_cv_header_gif_lib_h = yes; then
12303 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
12304 # Earlier versions can crash Emacs.
12305 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
12306 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
12307 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
12308 echo $ECHO_N "(cached) $ECHO_C" >&6
12310 ac_check_lib_save_LIBS
=$LIBS
12311 LIBS
="-lungif $LIBS"
12312 cat >conftest.
$ac_ext <<_ACEOF
12315 cat confdefs.h
>>conftest.
$ac_ext
12316 cat >>conftest.
$ac_ext <<_ACEOF
12317 /* end confdefs.h. */
12319 /* Override any gcc2 internal prototype to avoid an error. */
12323 /* We use char because int might match the return type of a gcc2
12324 builtin and then its argument prototype would still apply. */
12325 char EGifPutExtensionLast ();
12329 EGifPutExtensionLast ();
12334 rm -f conftest.
$ac_objext conftest
$ac_exeext
12335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12336 (eval $ac_link) 2>conftest.er1
12338 grep -v '^ *+' conftest.er1
>conftest.err
12340 cat conftest.err
>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); } &&
12343 { ac_try
='test -z "$ac_c_werror_flag"
12344 || test ! -s conftest.err'
12345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12346 (eval $ac_try) 2>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); }; } &&
12350 { ac_try
='test -s conftest$ac_exeext'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; }; then
12356 ac_cv_lib_ungif_EGifPutExtensionLast
=yes
12358 echo "$as_me: failed program was:" >&5
12359 sed 's/^/| /' conftest.
$ac_ext >&5
12361 ac_cv_lib_ungif_EGifPutExtensionLast
=no
12363 rm -f conftest.err conftest.
$ac_objext \
12364 conftest
$ac_exeext conftest.
$ac_ext
12365 LIBS
=$ac_check_lib_save_LIBS
12367 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
12368 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
12369 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
12378 if test "${HAVE_GIF}" = "yes"; then
12380 cat >>confdefs.h
<<\_ACEOF
12387 ### Use Mac OS X Carbon API to implement GUI.
12389 if test "${with_carbon}" != "no"; then
12390 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
12391 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
12392 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
12393 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
12394 echo $ECHO_N "(cached) $ECHO_C" >&6
12396 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
12397 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
12399 # Is the header compilable?
12400 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
12401 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
12402 cat >conftest.
$ac_ext <<_ACEOF
12405 cat confdefs.h
>>conftest.
$ac_ext
12406 cat >>conftest.
$ac_ext <<_ACEOF
12407 /* end confdefs.h. */
12408 $ac_includes_default
12409 #include <Carbon/Carbon.h>
12411 rm -f conftest.
$ac_objext
12412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12413 (eval $ac_compile) 2>conftest.er1
12415 grep -v '^ *+' conftest.er1
>conftest.err
12417 cat conftest.err
>&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } &&
12420 { ac_try
='test -z "$ac_c_werror_flag"
12421 || test ! -s conftest.err'
12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423 (eval $ac_try) 2>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); }; } &&
12427 { ac_try
='test -s conftest.$ac_objext'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; }; then
12433 ac_header_compiler
=yes
12435 echo "$as_me: failed program was:" >&5
12436 sed 's/^/| /' conftest.
$ac_ext >&5
12438 ac_header_compiler
=no
12440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12442 echo "${ECHO_T}$ac_header_compiler" >&6
12444 # Is the header present?
12445 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
12446 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
12447 cat >conftest.
$ac_ext <<_ACEOF
12450 cat confdefs.h
>>conftest.
$ac_ext
12451 cat >>conftest.
$ac_ext <<_ACEOF
12452 /* end confdefs.h. */
12453 #include <Carbon/Carbon.h>
12455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12456 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12458 grep -v '^ *+' conftest.er1
>conftest.err
12460 cat conftest.err
>&5
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); } >/dev
/null
; then
12463 if test -s conftest.err
; then
12464 ac_cpp_err
=$ac_c_preproc_warn_flag
12465 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12472 if test -z "$ac_cpp_err"; then
12473 ac_header_preproc
=yes
12475 echo "$as_me: failed program was:" >&5
12476 sed 's/^/| /' conftest.
$ac_ext >&5
12478 ac_header_preproc
=no
12480 rm -f conftest.err conftest.
$ac_ext
12481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12482 echo "${ECHO_T}$ac_header_preproc" >&6
12484 # So? What about this header?
12485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12487 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
12488 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12489 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
12490 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
12491 ac_header_preproc
=yes
12494 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
12495 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
12496 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
12497 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
12498 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
12499 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
12500 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
12501 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
12502 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
12503 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
12504 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
12505 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
12508 ## ------------------------------------------ ##
12509 ## Report this to the AC_PACKAGE_NAME lists. ##
12510 ## ------------------------------------------ ##
12513 sed "s/^/$as_me: WARNING: /" >&2
12516 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
12517 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
12518 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12521 ac_cv_header_Carbon_Carbon_h
=$ac_header_preproc
12523 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
12524 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
12527 if test $ac_cv_header_Carbon_Carbon_h = yes; then
12534 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12535 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
12536 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6
12537 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12538 echo $ECHO_N "(cached) $ECHO_C" >&6
12540 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
12541 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6
12543 # Is the header compilable?
12544 echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
12545 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6
12546 cat >conftest.
$ac_ext <<_ACEOF
12549 cat confdefs.h
>>conftest.
$ac_ext
12550 cat >>conftest.
$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12552 $ac_includes_default
12553 #include <malloc/malloc.h>
12555 rm -f conftest.
$ac_objext
12556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12557 (eval $ac_compile) 2>conftest.er1
12559 grep -v '^ *+' conftest.er1
>conftest.err
12561 cat conftest.err
>&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } &&
12564 { ac_try
='test -z "$ac_c_werror_flag"
12565 || test ! -s conftest.err'
12566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12567 (eval $ac_try) 2>&5
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; } &&
12571 { ac_try
='test -s conftest.$ac_objext'
12572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12573 (eval $ac_try) 2>&5
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); }; }; then
12577 ac_header_compiler
=yes
12579 echo "$as_me: failed program was:" >&5
12580 sed 's/^/| /' conftest.
$ac_ext >&5
12582 ac_header_compiler
=no
12584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12586 echo "${ECHO_T}$ac_header_compiler" >&6
12588 # Is the header present?
12589 echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
12590 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6
12591 cat >conftest.
$ac_ext <<_ACEOF
12594 cat confdefs.h
>>conftest.
$ac_ext
12595 cat >>conftest.
$ac_ext <<_ACEOF
12596 /* end confdefs.h. */
12597 #include <malloc/malloc.h>
12599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12600 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12602 grep -v '^ *+' conftest.er1
>conftest.err
12604 cat conftest.err
>&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); } >/dev
/null
; then
12607 if test -s conftest.err
; then
12608 ac_cpp_err
=$ac_c_preproc_warn_flag
12609 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12616 if test -z "$ac_cpp_err"; then
12617 ac_header_preproc
=yes
12619 echo "$as_me: failed program was:" >&5
12620 sed 's/^/| /' conftest.
$ac_ext >&5
12622 ac_header_preproc
=no
12624 rm -f conftest.err conftest.
$ac_ext
12625 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12626 echo "${ECHO_T}$ac_header_preproc" >&6
12628 # So? What about this header?
12629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12631 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
12632 echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12633 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5
12634 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;}
12635 ac_header_preproc
=yes
12638 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5
12639 echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;}
12640 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5
12641 echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;}
12642 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5
12643 echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;}
12644 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5
12645 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
12646 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
12647 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
12648 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
12649 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
12652 ## ------------------------------------------ ##
12653 ## Report this to the AC_PACKAGE_NAME lists. ##
12654 ## ------------------------------------------ ##
12657 sed "s/^/$as_me: WARNING: /" >&2
12660 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
12661 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6
12662 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12663 echo $ECHO_N "(cached) $ECHO_C" >&6
12665 ac_cv_header_malloc_malloc_h
=$ac_header_preproc
12667 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
12668 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6
12671 if test $ac_cv_header_malloc_malloc_h = yes; then
12673 cat >>confdefs.h
<<\_ACEOF
12674 #define HAVE_MALLOC_MALLOC_H 1
12681 if test "${HAVE_CARBON}" = "yes"; then
12683 cat >>confdefs.h
<<\_ACEOF
12684 #define HAVE_CARBON 1
12688 ## Specify the install directory
12690 if test "${carbon_appdir_x}" != ""; then
12691 case ${carbon_appdir_x} in
12692 y | ye |
yes) carbon_appdir
=/Applications
;;
12693 * ) carbon_appdir
=${carbon_appdir_x} ;;
12696 # We also have mouse menus.
12700 ### Use session management (-lSM -lICE) if available
12702 if test "${HAVE_X11}" = "yes"; then
12703 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12704 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12705 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12706 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12707 echo $ECHO_N "(cached) $ECHO_C" >&6
12709 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12710 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12712 # Is the header compilable?
12713 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
12714 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
12715 cat >conftest.
$ac_ext <<_ACEOF
12718 cat confdefs.h
>>conftest.
$ac_ext
12719 cat >>conftest.
$ac_ext <<_ACEOF
12720 /* end confdefs.h. */
12721 $ac_includes_default
12722 #include <X11/SM/SMlib.h>
12724 rm -f conftest.
$ac_objext
12725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12726 (eval $ac_compile) 2>conftest.er1
12728 grep -v '^ *+' conftest.er1
>conftest.err
12730 cat conftest.err
>&5
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); } &&
12733 { ac_try
='test -z "$ac_c_werror_flag"
12734 || test ! -s conftest.err'
12735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12736 (eval $ac_try) 2>&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); }; } &&
12740 { ac_try
='test -s conftest.$ac_objext'
12741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12742 (eval $ac_try) 2>&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); }; }; then
12746 ac_header_compiler
=yes
12748 echo "$as_me: failed program was:" >&5
12749 sed 's/^/| /' conftest.
$ac_ext >&5
12751 ac_header_compiler
=no
12753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12755 echo "${ECHO_T}$ac_header_compiler" >&6
12757 # Is the header present?
12758 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
12759 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
12760 cat >conftest.
$ac_ext <<_ACEOF
12763 cat confdefs.h
>>conftest.
$ac_ext
12764 cat >>conftest.
$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766 #include <X11/SM/SMlib.h>
12768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12769 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12771 grep -v '^ *+' conftest.er1
>conftest.err
12773 cat conftest.err
>&5
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); } >/dev
/null
; then
12776 if test -s conftest.err
; then
12777 ac_cpp_err
=$ac_c_preproc_warn_flag
12778 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12785 if test -z "$ac_cpp_err"; then
12786 ac_header_preproc
=yes
12788 echo "$as_me: failed program was:" >&5
12789 sed 's/^/| /' conftest.
$ac_ext >&5
12791 ac_header_preproc
=no
12793 rm -f conftest.err conftest.
$ac_ext
12794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12795 echo "${ECHO_T}$ac_header_preproc" >&6
12797 # So? What about this header?
12798 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12800 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12801 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12802 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
12803 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
12804 ac_header_preproc
=yes
12807 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
12808 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
12809 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
12810 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
12811 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
12812 echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
12813 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
12814 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12815 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
12816 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
12817 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
12818 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
12821 ## ------------------------------------------ ##
12822 ## Report this to the AC_PACKAGE_NAME lists. ##
12823 ## ------------------------------------------ ##
12826 sed "s/^/$as_me: WARNING: /" >&2
12829 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12830 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12831 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12832 echo $ECHO_N "(cached) $ECHO_C" >&6
12834 ac_cv_header_X11_SM_SMlib_h
=$ac_header_preproc
12836 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12837 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12840 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
12841 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
12842 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
12843 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
12844 echo $ECHO_N "(cached) $ECHO_C" >&6
12846 ac_check_lib_save_LIBS
=$LIBS
12847 LIBS
="-lSM -lICE $LIBS"
12848 cat >conftest.
$ac_ext <<_ACEOF
12851 cat confdefs.h
>>conftest.
$ac_ext
12852 cat >>conftest.
$ac_ext <<_ACEOF
12853 /* end confdefs.h. */
12855 /* Override any gcc2 internal prototype to avoid an error. */
12859 /* We use char because int might match the return type of a gcc2
12860 builtin and then its argument prototype would still apply. */
12861 char SmcOpenConnection ();
12865 SmcOpenConnection ();
12870 rm -f conftest.
$ac_objext conftest
$ac_exeext
12871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12872 (eval $ac_link) 2>conftest.er1
12874 grep -v '^ *+' conftest.er1
>conftest.err
12876 cat conftest.err
>&5
12877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878 (exit $ac_status); } &&
12879 { ac_try
='test -z "$ac_c_werror_flag"
12880 || test ! -s conftest.err'
12881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12882 (eval $ac_try) 2>&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); }; } &&
12886 { ac_try
='test -s conftest$ac_exeext'
12887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12888 (eval $ac_try) 2>&5
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); }; }; then
12892 ac_cv_lib_SM_SmcOpenConnection
=yes
12894 echo "$as_me: failed program was:" >&5
12895 sed 's/^/| /' conftest.
$ac_ext >&5
12897 ac_cv_lib_SM_SmcOpenConnection
=no
12899 rm -f conftest.err conftest.
$ac_objext \
12900 conftest
$ac_exeext conftest.
$ac_ext
12901 LIBS
=$ac_check_lib_save_LIBS
12903 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
12904 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
12905 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
12913 if test "${HAVE_X_SM}" = "yes"; then
12915 cat >>confdefs.h
<<\_ACEOF
12916 #define HAVE_X_SM 1
12921 *) LIBS
="-lSM -lICE $LIBS" ;;
12926 # If netdb.h doesn't declare h_errno, we must declare it by hand.
12927 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
12928 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
12929 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
12930 echo $ECHO_N "(cached) $ECHO_C" >&6
12932 cat >conftest.
$ac_ext <<_ACEOF
12935 cat confdefs.h
>>conftest.
$ac_ext
12936 cat >>conftest.
$ac_ext <<_ACEOF
12937 /* end confdefs.h. */
12947 rm -f conftest.
$ac_objext conftest
$ac_exeext
12948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12949 (eval $ac_link) 2>conftest.er1
12951 grep -v '^ *+' conftest.er1
>conftest.err
12953 cat conftest.err
>&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } &&
12956 { ac_try
='test -z "$ac_c_werror_flag"
12957 || test ! -s conftest.err'
12958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12959 (eval $ac_try) 2>&5
12961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); }; } &&
12963 { ac_try
='test -s conftest$ac_exeext'
12964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12965 (eval $ac_try) 2>&5
12967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 (exit $ac_status); }; }; then
12969 emacs_cv_netdb_declares_h_errno
=yes
12971 echo "$as_me: failed program was:" >&5
12972 sed 's/^/| /' conftest.
$ac_ext >&5
12974 emacs_cv_netdb_declares_h_errno
=no
12976 rm -f conftest.err conftest.
$ac_objext \
12977 conftest
$ac_exeext conftest.
$ac_ext
12979 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
12980 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
12981 if test $emacs_cv_netdb_declares_h_errno = yes; then
12983 cat >>confdefs.h
<<\_ACEOF
12984 #define HAVE_H_ERRNO 1
12989 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12990 # for constant arguments. Useless!
12991 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12992 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12993 if test "${ac_cv_working_alloca_h+set}" = set; then
12994 echo $ECHO_N "(cached) $ECHO_C" >&6
12996 cat >conftest.
$ac_ext <<_ACEOF
12999 cat confdefs.h
>>conftest.
$ac_ext
13000 cat >>conftest.
$ac_ext <<_ACEOF
13001 /* end confdefs.h. */
13002 #include <alloca.h>
13006 char *p = (char *) alloca (2 * sizeof (int));
13011 rm -f conftest.
$ac_objext conftest
$ac_exeext
13012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13013 (eval $ac_link) 2>conftest.er1
13015 grep -v '^ *+' conftest.er1
>conftest.err
13017 cat conftest.err
>&5
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); } &&
13020 { ac_try
='test -z "$ac_c_werror_flag"
13021 || test ! -s conftest.err'
13022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13023 (eval $ac_try) 2>&5
13025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026 (exit $ac_status); }; } &&
13027 { ac_try
='test -s conftest$ac_exeext'
13028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13029 (eval $ac_try) 2>&5
13031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13032 (exit $ac_status); }; }; then
13033 ac_cv_working_alloca_h
=yes
13035 echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.
$ac_ext >&5
13038 ac_cv_working_alloca_h
=no
13040 rm -f conftest.err conftest.
$ac_objext \
13041 conftest
$ac_exeext conftest.
$ac_ext
13043 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
13044 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
13045 if test $ac_cv_working_alloca_h = yes; then
13047 cat >>confdefs.h
<<\_ACEOF
13048 #define HAVE_ALLOCA_H 1
13053 echo "$as_me:$LINENO: checking for alloca" >&5
13054 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
13055 if test "${ac_cv_func_alloca_works+set}" = set; then
13056 echo $ECHO_N "(cached) $ECHO_C" >&6
13058 cat >conftest.
$ac_ext <<_ACEOF
13061 cat confdefs.h
>>conftest.
$ac_ext
13062 cat >>conftest.
$ac_ext <<_ACEOF
13063 /* end confdefs.h. */
13065 # define alloca __builtin_alloca
13068 # include <malloc.h>
13069 # define alloca _alloca
13072 # include <alloca.h>
13077 # ifndef alloca /* predefined by HP cc +Olibcalls */
13088 char *p = (char *) alloca (1);
13093 rm -f conftest.
$ac_objext conftest
$ac_exeext
13094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13095 (eval $ac_link) 2>conftest.er1
13097 grep -v '^ *+' conftest.er1
>conftest.err
13099 cat conftest.err
>&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); } &&
13102 { ac_try
='test -z "$ac_c_werror_flag"
13103 || test ! -s conftest.err'
13104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13105 (eval $ac_try) 2>&5
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); }; } &&
13109 { ac_try
='test -s conftest$ac_exeext'
13110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13111 (eval $ac_try) 2>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }; }; then
13115 ac_cv_func_alloca_works
=yes
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.
$ac_ext >&5
13120 ac_cv_func_alloca_works
=no
13122 rm -f conftest.err conftest.
$ac_objext \
13123 conftest
$ac_exeext conftest.
$ac_ext
13125 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13126 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
13128 if test $ac_cv_func_alloca_works = yes; then
13130 cat >>confdefs.h
<<\_ACEOF
13131 #define HAVE_ALLOCA 1
13135 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13136 # that cause trouble. Some versions do not even contain alloca or
13137 # contain a buggy version. If you still want to use their alloca,
13138 # use ar to extract alloca.o from them instead of compiling alloca.c.
13140 ALLOCA
=alloca.
$ac_objext
13142 cat >>confdefs.h
<<\_ACEOF
13147 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
13148 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
13149 if test "${ac_cv_os_cray+set}" = set; then
13150 echo $ECHO_N "(cached) $ECHO_C" >&6
13152 cat >conftest.
$ac_ext <<_ACEOF
13155 cat confdefs.h
>>conftest.
$ac_ext
13156 cat >>conftest.
$ac_ext <<_ACEOF
13157 /* end confdefs.h. */
13158 #if defined(CRAY) && ! defined(CRAY2)
13165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13166 $EGREP "webecray" >/dev
/null
2>&1; then
13174 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
13175 echo "${ECHO_T}$ac_cv_os_cray" >&6
13176 if test $ac_cv_os_cray = yes; then
13177 for ac_func
in _getb67 GETB67 getb67
; do
13178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13179 echo "$as_me:$LINENO: checking for $ac_func" >&5
13180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13181 if eval "test \"\${$as_ac_var+set}\" = set"; then
13182 echo $ECHO_N "(cached) $ECHO_C" >&6
13184 cat >conftest.
$ac_ext <<_ACEOF
13187 cat confdefs.h
>>conftest.
$ac_ext
13188 cat >>conftest.
$ac_ext <<_ACEOF
13189 /* end confdefs.h. */
13190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13192 #define $ac_func innocuous_$ac_func
13194 /* System header to define __stub macros and hopefully few prototypes,
13195 which can conflict with char $ac_func (); below.
13196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13197 <limits.h> exists even on freestanding compilers. */
13200 # include <limits.h>
13202 # include <assert.h>
13207 /* Override any gcc2 internal prototype to avoid an error. */
13212 /* We use char because int might match the return type of a gcc2
13213 builtin and then its argument prototype would still apply. */
13215 /* The GNU C library defines this for functions which it implements
13216 to always fail with ENOSYS. Some functions are actually named
13217 something starting with __ and the normal name is an alias. */
13218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13221 char (*f) () = $ac_func;
13230 return f != $ac_func;
13235 rm -f conftest.
$ac_objext conftest
$ac_exeext
13236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13237 (eval $ac_link) 2>conftest.er1
13239 grep -v '^ *+' conftest.er1
>conftest.err
13241 cat conftest.err
>&5
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); } &&
13244 { ac_try
='test -z "$ac_c_werror_flag"
13245 || test ! -s conftest.err'
13246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13247 (eval $ac_try) 2>&5
13249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13250 (exit $ac_status); }; } &&
13251 { ac_try
='test -s conftest$ac_exeext'
13252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13253 (eval $ac_try) 2>&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }; }; then
13257 eval "$as_ac_var=yes"
13259 echo "$as_me: failed program was:" >&5
13260 sed 's/^/| /' conftest.
$ac_ext >&5
13262 eval "$as_ac_var=no"
13264 rm -f conftest.err conftest.
$ac_objext \
13265 conftest
$ac_exeext conftest.
$ac_ext
13267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13269 if test `eval echo '${'$as_ac_var'}'` = yes; then
13271 cat >>confdefs.h
<<_ACEOF
13272 #define CRAY_STACKSEG_END $ac_func
13281 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13282 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
13283 if test "${ac_cv_c_stack_direction+set}" = set; then
13284 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 if test "$cross_compiling" = yes; then
13287 ac_cv_c_stack_direction
=0
13289 cat >conftest.
$ac_ext <<_ACEOF
13292 cat confdefs.h
>>conftest.
$ac_ext
13293 cat >>conftest.
$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13296 find_stack_direction ()
13298 static char *addr = 0;
13303 return find_stack_direction ();
13306 return (&dummy > addr) ? 1 : -1;
13312 exit (find_stack_direction () < 0);
13315 rm -f conftest
$ac_exeext
13316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13317 (eval $ac_link) 2>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13322 (eval $ac_try) 2>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); }; }; then
13326 ac_cv_c_stack_direction
=1
13328 echo "$as_me: program exited with status $ac_status" >&5
13329 echo "$as_me: failed program was:" >&5
13330 sed 's/^/| /' conftest.
$ac_ext >&5
13332 ( exit $ac_status )
13333 ac_cv_c_stack_direction
=-1
13335 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13338 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
13339 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
13341 cat >>confdefs.h
<<_ACEOF
13342 #define STACK_DIRECTION $ac_cv_c_stack_direction
13349 # fmod, logb, and frexp are found in -lm on most systems.
13350 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
13352 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
13353 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
13354 if test "${ac_cv_lib_m_sqrt+set}" = set; then
13355 echo $ECHO_N "(cached) $ECHO_C" >&6
13357 ac_check_lib_save_LIBS
=$LIBS
13359 cat >conftest.
$ac_ext <<_ACEOF
13362 cat confdefs.h
>>conftest.
$ac_ext
13363 cat >>conftest.
$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13366 /* Override any gcc2 internal prototype to avoid an error. */
13370 /* We use char because int might match the return type of a gcc2
13371 builtin and then its argument prototype would still apply. */
13381 rm -f conftest.
$ac_objext conftest
$ac_exeext
13382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13383 (eval $ac_link) 2>conftest.er1
13385 grep -v '^ *+' conftest.er1
>conftest.err
13387 cat conftest.err
>&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } &&
13390 { ac_try
='test -z "$ac_c_werror_flag"
13391 || test ! -s conftest.err'
13392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13393 (eval $ac_try) 2>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); }; } &&
13397 { ac_try
='test -s conftest$ac_exeext'
13398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13399 (eval $ac_try) 2>&5
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); }; }; then
13403 ac_cv_lib_m_sqrt
=yes
13405 echo "$as_me: failed program was:" >&5
13406 sed 's/^/| /' conftest.
$ac_ext >&5
13408 ac_cv_lib_m_sqrt
=no
13410 rm -f conftest.err conftest.
$ac_objext \
13411 conftest
$ac_exeext conftest.
$ac_ext
13412 LIBS
=$ac_check_lib_save_LIBS
13414 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
13415 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
13416 if test $ac_cv_lib_m_sqrt = yes; then
13417 cat >>confdefs.h
<<_ACEOF
13418 #define HAVE_LIBM 1
13426 # Check for mail-locking functions in a "mail" library. Probably this should
13427 # have the same check as for liblockfile below.
13429 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
13430 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
13431 if test "${ac_cv_lib_mail_maillock+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 ac_check_lib_save_LIBS
=$LIBS
13435 LIBS
="-lmail $LIBS"
13436 cat >conftest.
$ac_ext <<_ACEOF
13439 cat confdefs.h
>>conftest.
$ac_ext
13440 cat >>conftest.
$ac_ext <<_ACEOF
13441 /* end confdefs.h. */
13443 /* Override any gcc2 internal prototype to avoid an error. */
13447 /* We use char because int might match the return type of a gcc2
13448 builtin and then its argument prototype would still apply. */
13458 rm -f conftest.
$ac_objext conftest
$ac_exeext
13459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13460 (eval $ac_link) 2>conftest.er1
13462 grep -v '^ *+' conftest.er1
>conftest.err
13464 cat conftest.err
>&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } &&
13467 { ac_try
='test -z "$ac_c_werror_flag"
13468 || test ! -s conftest.err'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; } &&
13474 { ac_try
='test -s conftest$ac_exeext'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; }; then
13480 ac_cv_lib_mail_maillock
=yes
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.
$ac_ext >&5
13485 ac_cv_lib_mail_maillock
=no
13487 rm -f conftest.err conftest.
$ac_objext \
13488 conftest
$ac_exeext conftest.
$ac_ext
13489 LIBS
=$ac_check_lib_save_LIBS
13491 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
13492 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
13493 if test $ac_cv_lib_mail_maillock = yes; then
13494 cat >>confdefs.h
<<_ACEOF
13495 #define HAVE_LIBMAIL 1
13498 LIBS
="-lmail $LIBS"
13503 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
13504 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
13505 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
13506 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 ac_check_lib_save_LIBS
=$LIBS
13509 LIBS
="-llockfile $LIBS"
13510 cat >conftest.
$ac_ext <<_ACEOF
13513 cat confdefs.h
>>conftest.
$ac_ext
13514 cat >>conftest.
$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13517 /* Override any gcc2 internal prototype to avoid an error. */
13521 /* We use char because int might match the return type of a gcc2
13522 builtin and then its argument prototype would still apply. */
13532 rm -f conftest.
$ac_objext conftest
$ac_exeext
13533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13534 (eval $ac_link) 2>conftest.er1
13536 grep -v '^ *+' conftest.er1
>conftest.err
13538 cat conftest.err
>&5
13539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540 (exit $ac_status); } &&
13541 { ac_try
='test -z "$ac_c_werror_flag"
13542 || test ! -s conftest.err'
13543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13544 (eval $ac_try) 2>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); }; } &&
13548 { ac_try
='test -s conftest$ac_exeext'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; }; then
13554 ac_cv_lib_lockfile_maillock
=yes
13556 echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.
$ac_ext >&5
13559 ac_cv_lib_lockfile_maillock
=no
13561 rm -f conftest.err conftest.
$ac_objext \
13562 conftest
$ac_exeext conftest.
$ac_ext
13563 LIBS
=$ac_check_lib_save_LIBS
13565 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
13566 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
13567 if test $ac_cv_lib_lockfile_maillock = yes; then
13568 cat >>confdefs.h
<<_ACEOF
13569 #define HAVE_LIBLOCKFILE 1
13572 LIBS
="-llockfile $LIBS"
13576 # If we have the shared liblockfile, assume we must use it for mail
13577 # locking (e.g. Debian). If we couldn't link against liblockfile
13578 # (no liblockfile.a installed), ensure that we don't need to.
13579 if test "$ac_cv_lib_lockfile_maillock" = no
; then
13580 # Extract the first word of "liblockfile.so", so it can be a program name with args.
13581 set dummy liblockfile.so
; ac_word
=$2
13582 echo "$as_me:$LINENO: checking for $ac_word" >&5
13583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13584 if test "${ac_cv_prog_liblockfile+set}" = set; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13587 if test -n "$liblockfile"; then
13588 ac_cv_prog_liblockfile
="$liblockfile" # Let the user override the test.
13590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13591 as_dummy
="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
13592 for as_dir
in $as_dummy
13595 test -z "$as_dir" && as_dir
=.
13596 for ac_exec_ext
in '' $ac_executable_extensions; do
13597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13598 ac_cv_prog_liblockfile
="yes"
13599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13605 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile
="no"
13608 liblockfile
=$ac_cv_prog_liblockfile
13609 if test -n "$liblockfile"; then
13610 echo "$as_me:$LINENO: result: $liblockfile" >&5
13611 echo "${ECHO_T}$liblockfile" >&6
13613 echo "$as_me:$LINENO: result: no" >&5
13614 echo "${ECHO_T}no" >&6
13617 if test $ac_cv_prog_liblockfile = yes; then
13618 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
13619 This probably means that movemail could lose mail.
13620 There may be a \`development' package to install containing liblockfile." >&5
13621 echo "$as_me: error: Shared liblockfile found but can't link against it.
13622 This probably means that movemail could lose mail.
13623 There may be a \`development' package to install containing liblockfile." >&2;}
13624 { (exit 1); exit 1; }; }
13629 for ac_func
in touchlock
13631 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13632 echo "$as_me:$LINENO: checking for $ac_func" >&5
13633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13634 if eval "test \"\${$as_ac_var+set}\" = set"; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 cat >conftest.
$ac_ext <<_ACEOF
13640 cat confdefs.h
>>conftest.
$ac_ext
13641 cat >>conftest.
$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13645 #define $ac_func innocuous_$ac_func
13647 /* System header to define __stub macros and hopefully few prototypes,
13648 which can conflict with char $ac_func (); below.
13649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13650 <limits.h> exists even on freestanding compilers. */
13653 # include <limits.h>
13655 # include <assert.h>
13660 /* Override any gcc2 internal prototype to avoid an error. */
13665 /* We use char because int might match the return type of a gcc2
13666 builtin and then its argument prototype would still apply. */
13668 /* The GNU C library defines this for functions which it implements
13669 to always fail with ENOSYS. Some functions are actually named
13670 something starting with __ and the normal name is an alias. */
13671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13674 char (*f) () = $ac_func;
13683 return f != $ac_func;
13688 rm -f conftest.
$ac_objext conftest
$ac_exeext
13689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13690 (eval $ac_link) 2>conftest.er1
13692 grep -v '^ *+' conftest.er1
>conftest.err
13694 cat conftest.err
>&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); } &&
13697 { ac_try
='test -z "$ac_c_werror_flag"
13698 || test ! -s conftest.err'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; } &&
13704 { ac_try
='test -s conftest$ac_exeext'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; }; then
13710 eval "$as_ac_var=yes"
13712 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.
$ac_ext >&5
13715 eval "$as_ac_var=no"
13717 rm -f conftest.err conftest.
$ac_objext \
13718 conftest
$ac_exeext conftest.
$ac_ext
13720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13722 if test `eval echo '${'$as_ac_var'}'` = yes; then
13723 cat >>confdefs.h
<<_ACEOF
13724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13731 for ac_header
in maillock.h
13733 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13735 echo "$as_me:$LINENO: checking for $ac_header" >&5
13736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13738 echo $ECHO_N "(cached) $ECHO_C" >&6
13740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13743 # Is the header compilable?
13744 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13745 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13746 cat >conftest.
$ac_ext <<_ACEOF
13749 cat confdefs.h
>>conftest.
$ac_ext
13750 cat >>conftest.
$ac_ext <<_ACEOF
13751 /* end confdefs.h. */
13752 $ac_includes_default
13753 #include <$ac_header>
13755 rm -f conftest.
$ac_objext
13756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13757 (eval $ac_compile) 2>conftest.er1
13759 grep -v '^ *+' conftest.er1
>conftest.err
13761 cat conftest.err
>&5
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); } &&
13764 { ac_try
='test -z "$ac_c_werror_flag"
13765 || test ! -s conftest.err'
13766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13767 (eval $ac_try) 2>&5
13769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13770 (exit $ac_status); }; } &&
13771 { ac_try
='test -s conftest.$ac_objext'
13772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13773 (eval $ac_try) 2>&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); }; }; then
13777 ac_header_compiler
=yes
13779 echo "$as_me: failed program was:" >&5
13780 sed 's/^/| /' conftest.
$ac_ext >&5
13782 ac_header_compiler
=no
13784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13786 echo "${ECHO_T}$ac_header_compiler" >&6
13788 # Is the header present?
13789 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13790 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13791 cat >conftest.
$ac_ext <<_ACEOF
13794 cat confdefs.h
>>conftest.
$ac_ext
13795 cat >>conftest.
$ac_ext <<_ACEOF
13796 /* end confdefs.h. */
13797 #include <$ac_header>
13799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13800 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13802 grep -v '^ *+' conftest.er1
>conftest.err
13804 cat conftest.err
>&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); } >/dev
/null
; then
13807 if test -s conftest.err
; then
13808 ac_cpp_err
=$ac_c_preproc_warn_flag
13809 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13816 if test -z "$ac_cpp_err"; then
13817 ac_header_preproc
=yes
13819 echo "$as_me: failed program was:" >&5
13820 sed 's/^/| /' conftest.
$ac_ext >&5
13822 ac_header_preproc
=no
13824 rm -f conftest.err conftest.
$ac_ext
13825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13826 echo "${ECHO_T}$ac_header_preproc" >&6
13828 # So? What about this header?
13829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13831 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13832 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13834 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13835 ac_header_preproc
=yes
13838 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13839 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13840 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13841 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13842 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13843 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13844 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13845 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13847 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13848 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13849 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13852 ## ------------------------------------------ ##
13853 ## Report this to the AC_PACKAGE_NAME lists. ##
13854 ## ------------------------------------------ ##
13857 sed "s/^/$as_me: WARNING: /" >&2
13860 echo "$as_me:$LINENO: checking for $ac_header" >&5
13861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13863 echo $ECHO_N "(cached) $ECHO_C" >&6
13865 eval "$as_ac_Header=\$ac_header_preproc"
13867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13872 cat >>confdefs.h
<<_ACEOF
13873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13948 for ac_func
in gethostname getdomainname dup2 \
13949 rename closedir mkdir
rmdir sysinfo getrusage \
13950 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
13951 strerror fpathconf
select mktime euidaccess getpagesize tzset setlocale \
13952 utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
13953 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
13954 sendto recvfrom getsockopt setsockopt getsockname getpeername \
13955 gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
13956 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign
13958 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13959 echo "$as_me:$LINENO: checking for $ac_func" >&5
13960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13961 if eval "test \"\${$as_ac_var+set}\" = set"; then
13962 echo $ECHO_N "(cached) $ECHO_C" >&6
13964 cat >conftest.
$ac_ext <<_ACEOF
13967 cat confdefs.h
>>conftest.
$ac_ext
13968 cat >>conftest.
$ac_ext <<_ACEOF
13969 /* end confdefs.h. */
13970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13972 #define $ac_func innocuous_$ac_func
13974 /* System header to define __stub macros and hopefully few prototypes,
13975 which can conflict with char $ac_func (); below.
13976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13977 <limits.h> exists even on freestanding compilers. */
13980 # include <limits.h>
13982 # include <assert.h>
13987 /* Override any gcc2 internal prototype to avoid an error. */
13992 /* We use char because int might match the return type of a gcc2
13993 builtin and then its argument prototype would still apply. */
13995 /* The GNU C library defines this for functions which it implements
13996 to always fail with ENOSYS. Some functions are actually named
13997 something starting with __ and the normal name is an alias. */
13998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14001 char (*f) () = $ac_func;
14010 return f != $ac_func;
14015 rm -f conftest.
$ac_objext conftest
$ac_exeext
14016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14017 (eval $ac_link) 2>conftest.er1
14019 grep -v '^ *+' conftest.er1
>conftest.err
14021 cat conftest.err
>&5
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); } &&
14024 { ac_try
='test -z "$ac_c_werror_flag"
14025 || test ! -s conftest.err'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; } &&
14031 { ac_try
='test -s conftest$ac_exeext'
14032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14033 (eval $ac_try) 2>&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); }; }; then
14037 eval "$as_ac_var=yes"
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.
$ac_ext >&5
14042 eval "$as_ac_var=no"
14044 rm -f conftest.err conftest.
$ac_objext \
14045 conftest
$ac_exeext conftest.
$ac_ext
14047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14049 if test `eval echo '${'$as_ac_var'}'` = yes; then
14050 cat >>confdefs.h
<<_ACEOF
14051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14059 for ac_header
in sys
/un.h
14061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14063 echo "$as_me:$LINENO: checking for $ac_header" >&5
14064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14066 echo $ECHO_N "(cached) $ECHO_C" >&6
14068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14071 # Is the header compilable?
14072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14074 cat >conftest.
$ac_ext <<_ACEOF
14077 cat confdefs.h
>>conftest.
$ac_ext
14078 cat >>conftest.
$ac_ext <<_ACEOF
14079 /* end confdefs.h. */
14080 $ac_includes_default
14081 #include <$ac_header>
14083 rm -f conftest.
$ac_objext
14084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14085 (eval $ac_compile) 2>conftest.er1
14087 grep -v '^ *+' conftest.er1
>conftest.err
14089 cat conftest.err
>&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); } &&
14092 { ac_try
='test -z "$ac_c_werror_flag"
14093 || test ! -s conftest.err'
14094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14095 (eval $ac_try) 2>&5
14097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098 (exit $ac_status); }; } &&
14099 { ac_try
='test -s conftest.$ac_objext'
14100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14101 (eval $ac_try) 2>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }; }; then
14105 ac_header_compiler
=yes
14107 echo "$as_me: failed program was:" >&5
14108 sed 's/^/| /' conftest.
$ac_ext >&5
14110 ac_header_compiler
=no
14112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14114 echo "${ECHO_T}$ac_header_compiler" >&6
14116 # Is the header present?
14117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14119 cat >conftest.
$ac_ext <<_ACEOF
14122 cat confdefs.h
>>conftest.
$ac_ext
14123 cat >>conftest.
$ac_ext <<_ACEOF
14124 /* end confdefs.h. */
14125 #include <$ac_header>
14127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14130 grep -v '^ *+' conftest.er1
>conftest.err
14132 cat conftest.err
>&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); } >/dev
/null
; then
14135 if test -s conftest.err
; then
14136 ac_cpp_err
=$ac_c_preproc_warn_flag
14137 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14144 if test -z "$ac_cpp_err"; then
14145 ac_header_preproc
=yes
14147 echo "$as_me: failed program was:" >&5
14148 sed 's/^/| /' conftest.
$ac_ext >&5
14150 ac_header_preproc
=no
14152 rm -f conftest.err conftest.
$ac_ext
14153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14154 echo "${ECHO_T}$ac_header_preproc" >&6
14156 # So? What about this header?
14157 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14162 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14163 ac_header_preproc
=yes
14166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14170 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14171 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14172 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14173 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14176 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14177 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14180 ## ------------------------------------------ ##
14181 ## Report this to the AC_PACKAGE_NAME lists. ##
14182 ## ------------------------------------------ ##
14185 sed "s/^/$as_me: WARNING: /" >&2
14188 echo "$as_me:$LINENO: checking for $ac_header" >&5
14189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14191 echo $ECHO_N "(cached) $ECHO_C" >&6
14193 eval "$as_ac_Header=\$ac_header_preproc"
14195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14200 cat >>confdefs.h
<<_ACEOF
14201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14212 for ac_header
in stdlib.h sys
/time.h unistd.h
14214 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14216 echo "$as_me:$LINENO: checking for $ac_header" >&5
14217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14219 echo $ECHO_N "(cached) $ECHO_C" >&6
14221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14224 # Is the header compilable?
14225 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14226 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14227 cat >conftest.
$ac_ext <<_ACEOF
14230 cat confdefs.h
>>conftest.
$ac_ext
14231 cat >>conftest.
$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14233 $ac_includes_default
14234 #include <$ac_header>
14236 rm -f conftest.
$ac_objext
14237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14238 (eval $ac_compile) 2>conftest.er1
14240 grep -v '^ *+' conftest.er1
>conftest.err
14242 cat conftest.err
>&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } &&
14245 { ac_try
='test -z "$ac_c_werror_flag"
14246 || test ! -s conftest.err'
14247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14248 (eval $ac_try) 2>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; } &&
14252 { ac_try
='test -s conftest.$ac_objext'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14258 ac_header_compiler
=yes
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.
$ac_ext >&5
14263 ac_header_compiler
=no
14265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14267 echo "${ECHO_T}$ac_header_compiler" >&6
14269 # Is the header present?
14270 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14271 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14272 cat >conftest.
$ac_ext <<_ACEOF
14275 cat confdefs.h
>>conftest.
$ac_ext
14276 cat >>conftest.
$ac_ext <<_ACEOF
14277 /* end confdefs.h. */
14278 #include <$ac_header>
14280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14281 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14283 grep -v '^ *+' conftest.er1
>conftest.err
14285 cat conftest.err
>&5
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); } >/dev
/null
; then
14288 if test -s conftest.err
; then
14289 ac_cpp_err
=$ac_c_preproc_warn_flag
14290 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14297 if test -z "$ac_cpp_err"; then
14298 ac_header_preproc
=yes
14300 echo "$as_me: failed program was:" >&5
14301 sed 's/^/| /' conftest.
$ac_ext >&5
14303 ac_header_preproc
=no
14305 rm -f conftest.err conftest.
$ac_ext
14306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14307 echo "${ECHO_T}$ac_header_preproc" >&6
14309 # So? What about this header?
14310 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14312 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14313 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14315 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14316 ac_header_preproc
=yes
14319 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14320 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14321 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14322 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14323 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14324 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14325 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14326 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14329 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14330 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14333 ## ------------------------------------------ ##
14334 ## Report this to the AC_PACKAGE_NAME lists. ##
14335 ## ------------------------------------------ ##
14338 sed "s/^/$as_me: WARNING: /" >&2
14341 echo "$as_me:$LINENO: checking for $ac_header" >&5
14342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14344 echo $ECHO_N "(cached) $ECHO_C" >&6
14346 eval "$as_ac_Header=\$ac_header_preproc"
14348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14353 cat >>confdefs.h
<<_ACEOF
14354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14362 for ac_func
in alarm
14364 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14365 echo "$as_me:$LINENO: checking for $ac_func" >&5
14366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14367 if eval "test \"\${$as_ac_var+set}\" = set"; then
14368 echo $ECHO_N "(cached) $ECHO_C" >&6
14370 cat >conftest.
$ac_ext <<_ACEOF
14373 cat confdefs.h
>>conftest.
$ac_ext
14374 cat >>conftest.
$ac_ext <<_ACEOF
14375 /* end confdefs.h. */
14376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14378 #define $ac_func innocuous_$ac_func
14380 /* System header to define __stub macros and hopefully few prototypes,
14381 which can conflict with char $ac_func (); below.
14382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14383 <limits.h> exists even on freestanding compilers. */
14386 # include <limits.h>
14388 # include <assert.h>
14393 /* Override any gcc2 internal prototype to avoid an error. */
14398 /* We use char because int might match the return type of a gcc2
14399 builtin and then its argument prototype would still apply. */
14401 /* The GNU C library defines this for functions which it implements
14402 to always fail with ENOSYS. Some functions are actually named
14403 something starting with __ and the normal name is an alias. */
14404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14407 char (*f) () = $ac_func;
14416 return f != $ac_func;
14421 rm -f conftest.
$ac_objext conftest
$ac_exeext
14422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14423 (eval $ac_link) 2>conftest.er1
14425 grep -v '^ *+' conftest.er1
>conftest.err
14427 cat conftest.err
>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); } &&
14430 { ac_try
='test -z "$ac_c_werror_flag"
14431 || test ! -s conftest.err'
14432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14433 (eval $ac_try) 2>&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); }; } &&
14437 { ac_try
='test -s conftest$ac_exeext'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; }; then
14443 eval "$as_ac_var=yes"
14445 echo "$as_me: failed program was:" >&5
14446 sed 's/^/| /' conftest.
$ac_ext >&5
14448 eval "$as_ac_var=no"
14450 rm -f conftest.err conftest.
$ac_objext \
14451 conftest
$ac_exeext conftest.
$ac_ext
14453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14455 if test `eval echo '${'$as_ac_var'}'` = yes; then
14456 cat >>confdefs.h
<<_ACEOF
14457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14463 echo "$as_me:$LINENO: checking for working mktime" >&5
14464 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
14465 if test "${ac_cv_func_working_mktime+set}" = set; then
14466 echo $ECHO_N "(cached) $ECHO_C" >&6
14468 if test "$cross_compiling" = yes; then
14469 ac_cv_func_working_mktime
=no
14471 cat >conftest.
$ac_ext <<_ACEOF
14474 cat confdefs.h
>>conftest.
$ac_ext
14475 cat >>conftest.
$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477 /* Test program from Paul Eggert and Tony Leneis. */
14478 #if TIME_WITH_SYS_TIME
14479 # include <sys/time.h>
14482 # if HAVE_SYS_TIME_H
14483 # include <sys/time.h>
14490 # include <stdlib.h>
14494 # include <unistd.h>
14498 # define alarm(X) /* empty */
14501 /* Work around redefinition to rpl_putenv by other config tests. */
14504 static time_t time_t_max;
14505 static time_t time_t_min;
14507 /* Values we'll use to set the TZ environment variable. */
14508 static char *tz_strings[] = {
14509 (char *) 0, "TZ=GMT0", "TZ=JST-9",
14510 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
14512 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
14514 /* Fail if mktime fails to convert a date in the spring-forward gap.
14515 Based on a problem report from Andreas Jaeger. */
14517 spring_forward_gap ()
14519 /* glibc (up to about 1998-10-07) failed this test. */
14522 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
14523 instead of "TZ=America/Vancouver" in order to detect the bug even
14524 on systems that don't support the Olson extension, or don't have the
14525 full zoneinfo tables installed. */
14526 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
14535 if (mktime (&tm) == (time_t)-1)
14544 if ((lt = localtime (&now)) && mktime (lt) != now)
14552 mktime_test1 (now);
14553 mktime_test1 ((time_t) (time_t_max - now));
14554 mktime_test1 ((time_t) (time_t_min + now));
14560 /* Based on code from Ariel Faigon. */
14570 if (tm.tm_mon != 2 || tm.tm_mday != 31)
14580 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
14581 now = mktime (&tm);
14582 if (now != (time_t) -1)
14584 struct tm *lt = localtime (&now);
14586 && lt->tm_year == tm.tm_year
14587 && lt->tm_mon == tm.tm_mon
14588 && lt->tm_mday == tm.tm_mday
14589 && lt->tm_hour == tm.tm_hour
14590 && lt->tm_min == tm.tm_min
14591 && lt->tm_sec == tm.tm_sec
14592 && lt->tm_yday == tm.tm_yday
14593 && lt->tm_wday == tm.tm_wday
14594 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
14595 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
14606 /* This test makes some buggy mktime implementations loop.
14607 Give up after 60 seconds; a mktime slower than that
14608 isn't worth using anyway. */
14611 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
14614 if ((time_t) -1 < 0)
14615 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
14617 delta = time_t_max / 997; /* a suitable prime number */
14618 for (i = 0; i < N_STRINGS; i++)
14621 putenv (tz_strings[i]);
14623 for (t = 0; t <= time_t_max - delta; t += delta)
14625 mktime_test ((time_t) 1);
14626 mktime_test ((time_t) (60 * 60));
14627 mktime_test ((time_t) (60 * 60 * 24));
14629 for (j = 1; 0 < j; j *= 2)
14631 bigtime_test (j - 1);
14634 spring_forward_gap ();
14638 rm -f conftest
$ac_exeext
14639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14640 (eval $ac_link) 2>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14645 (eval $ac_try) 2>&5
14647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 (exit $ac_status); }; }; then
14649 ac_cv_func_working_mktime
=yes
14651 echo "$as_me: program exited with status $ac_status" >&5
14652 echo "$as_me: failed program was:" >&5
14653 sed 's/^/| /' conftest.
$ac_ext >&5
14655 ( exit $ac_status )
14656 ac_cv_func_working_mktime
=no
14658 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14661 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
14662 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
14663 if test $ac_cv_func_working_mktime = no
; then
14665 "mktime.$ac_objext" | \
14666 *" mktime.$ac_objext" | \
14667 "mktime.$ac_objext "* | \
14668 *" mktime.$ac_objext "* ) ;;
14669 *) LIBOBJS
="$LIBOBJS mktime.$ac_objext" ;;
14674 if test "$ac_cv_func_working_mktime" = no
; then
14676 cat >>confdefs.h
<<\_ACEOF
14677 #define BROKEN_MKTIME 1
14682 ac_have_func
=no
# yes means we've found a way to get the load average.
14684 # Make sure getloadavg.c is where it belongs, at configure-time.
14685 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
14686 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
14687 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
14688 { (exit 1); exit 1; }; }
14692 # Check for getloadavg, but be sure not to touch the cache variable.
14693 (echo "$as_me:$LINENO: checking for getloadavg" >&5
14694 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
14695 if test "${ac_cv_func_getloadavg+set}" = set; then
14696 echo $ECHO_N "(cached) $ECHO_C" >&6
14698 cat >conftest.
$ac_ext <<_ACEOF
14701 cat confdefs.h
>>conftest.
$ac_ext
14702 cat >>conftest.
$ac_ext <<_ACEOF
14703 /* end confdefs.h. */
14704 /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg.
14705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14706 #define getloadavg innocuous_getloadavg
14708 /* System header to define __stub macros and hopefully few prototypes,
14709 which can conflict with char getloadavg (); below.
14710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14711 <limits.h> exists even on freestanding compilers. */
14714 # include <limits.h>
14716 # include <assert.h>
14721 /* Override any gcc2 internal prototype to avoid an error. */
14726 /* We use char because int might match the return type of a gcc2
14727 builtin and then its argument prototype would still apply. */
14728 char getloadavg ();
14729 /* The GNU C library defines this for functions which it implements
14730 to always fail with ENOSYS. Some functions are actually named
14731 something starting with __ and the normal name is an alias. */
14732 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
14735 char (*f) () = getloadavg;
14744 return f != getloadavg;
14749 rm -f conftest.
$ac_objext conftest
$ac_exeext
14750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14751 (eval $ac_link) 2>conftest.er1
14753 grep -v '^ *+' conftest.er1
>conftest.err
14755 cat conftest.err
>&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); } &&
14758 { ac_try
='test -z "$ac_c_werror_flag"
14759 || test ! -s conftest.err'
14760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14761 (eval $ac_try) 2>&5
14763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764 (exit $ac_status); }; } &&
14765 { ac_try
='test -s conftest$ac_exeext'
14766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14767 (eval $ac_try) 2>&5
14769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770 (exit $ac_status); }; }; then
14771 ac_cv_func_getloadavg
=yes
14773 echo "$as_me: failed program was:" >&5
14774 sed 's/^/| /' conftest.
$ac_ext >&5
14776 ac_cv_func_getloadavg
=no
14778 rm -f conftest.err conftest.
$ac_objext \
14779 conftest
$ac_exeext conftest.
$ac_ext
14781 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
14782 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
14783 if test $ac_cv_func_getloadavg = yes; then
14788 ) && ac_have_func
=yes
14790 # On HPUX9, an unprivileged user can get load averages through this function.
14792 for ac_func
in pstat_getdynamic
14794 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14795 echo "$as_me:$LINENO: checking for $ac_func" >&5
14796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14797 if eval "test \"\${$as_ac_var+set}\" = set"; then
14798 echo $ECHO_N "(cached) $ECHO_C" >&6
14800 cat >conftest.
$ac_ext <<_ACEOF
14803 cat confdefs.h
>>conftest.
$ac_ext
14804 cat >>conftest.
$ac_ext <<_ACEOF
14805 /* end confdefs.h. */
14806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14808 #define $ac_func innocuous_$ac_func
14810 /* System header to define __stub macros and hopefully few prototypes,
14811 which can conflict with char $ac_func (); below.
14812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14813 <limits.h> exists even on freestanding compilers. */
14816 # include <limits.h>
14818 # include <assert.h>
14823 /* Override any gcc2 internal prototype to avoid an error. */
14828 /* We use char because int might match the return type of a gcc2
14829 builtin and then its argument prototype would still apply. */
14831 /* The GNU C library defines this for functions which it implements
14832 to always fail with ENOSYS. Some functions are actually named
14833 something starting with __ and the normal name is an alias. */
14834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14837 char (*f) () = $ac_func;
14846 return f != $ac_func;
14851 rm -f conftest.
$ac_objext conftest
$ac_exeext
14852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14853 (eval $ac_link) 2>conftest.er1
14855 grep -v '^ *+' conftest.er1
>conftest.err
14857 cat conftest.err
>&5
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); } &&
14860 { ac_try
='test -z "$ac_c_werror_flag"
14861 || test ! -s conftest.err'
14862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14863 (eval $ac_try) 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; } &&
14867 { ac_try
='test -s conftest$ac_exeext'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14873 eval "$as_ac_var=yes"
14875 echo "$as_me: failed program was:" >&5
14876 sed 's/^/| /' conftest.
$ac_ext >&5
14878 eval "$as_ac_var=no"
14880 rm -f conftest.err conftest.
$ac_objext \
14881 conftest
$ac_exeext conftest.
$ac_ext
14883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14885 if test `eval echo '${'$as_ac_var'}'` = yes; then
14886 cat >>confdefs.h
<<_ACEOF
14887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14894 # Solaris has libkstat which does not require root.
14896 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
14897 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
14898 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
14899 echo $ECHO_N "(cached) $ECHO_C" >&6
14901 ac_check_lib_save_LIBS
=$LIBS
14902 LIBS
="-lkstat $LIBS"
14903 cat >conftest.
$ac_ext <<_ACEOF
14906 cat confdefs.h
>>conftest.
$ac_ext
14907 cat >>conftest.
$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14910 /* Override any gcc2 internal prototype to avoid an error. */
14914 /* We use char because int might match the return type of a gcc2
14915 builtin and then its argument prototype would still apply. */
14916 char kstat_open ();
14925 rm -f conftest.
$ac_objext conftest
$ac_exeext
14926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14927 (eval $ac_link) 2>conftest.er1
14929 grep -v '^ *+' conftest.er1
>conftest.err
14931 cat conftest.err
>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); } &&
14934 { ac_try
='test -z "$ac_c_werror_flag"
14935 || test ! -s conftest.err'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; } &&
14941 { ac_try
='test -s conftest$ac_exeext'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; }; then
14947 ac_cv_lib_kstat_kstat_open
=yes
14949 echo "$as_me: failed program was:" >&5
14950 sed 's/^/| /' conftest.
$ac_ext >&5
14952 ac_cv_lib_kstat_kstat_open
=no
14954 rm -f conftest.err conftest.
$ac_objext \
14955 conftest
$ac_exeext conftest.
$ac_ext
14956 LIBS
=$ac_check_lib_save_LIBS
14958 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
14959 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
14960 if test $ac_cv_lib_kstat_kstat_open = yes; then
14961 cat >>confdefs.h
<<_ACEOF
14962 #define HAVE_LIBKSTAT 1
14965 LIBS
="-lkstat $LIBS"
14969 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func
=yes
14971 # Some systems with -lutil have (and need) -lkvm as well, some do not.
14972 # On Solaris, -lkvm requires nlist from -lelf, so check that first
14973 # to get the right answer into the cache.
14974 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
14975 if test $ac_have_func = no
; then
14976 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
14977 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
14978 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
14979 echo $ECHO_N "(cached) $ECHO_C" >&6
14981 ac_check_lib_save_LIBS
=$LIBS
14983 cat >conftest.
$ac_ext <<_ACEOF
14986 cat confdefs.h
>>conftest.
$ac_ext
14987 cat >>conftest.
$ac_ext <<_ACEOF
14988 /* end confdefs.h. */
14990 /* Override any gcc2 internal prototype to avoid an error. */
14994 /* We use char because int might match the return type of a gcc2
14995 builtin and then its argument prototype would still apply. */
15005 rm -f conftest.
$ac_objext conftest
$ac_exeext
15006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15007 (eval $ac_link) 2>conftest.er1
15009 grep -v '^ *+' conftest.er1
>conftest.err
15011 cat conftest.err
>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); } &&
15014 { ac_try
='test -z "$ac_c_werror_flag"
15015 || test ! -s conftest.err'
15016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15017 (eval $ac_try) 2>&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); }; } &&
15021 { ac_try
='test -s conftest$ac_exeext'
15022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15023 (eval $ac_try) 2>&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; }; then
15027 ac_cv_lib_elf_elf_begin
=yes
15029 echo "$as_me: failed program was:" >&5
15030 sed 's/^/| /' conftest.
$ac_ext >&5
15032 ac_cv_lib_elf_elf_begin
=no
15034 rm -f conftest.err conftest.
$ac_objext \
15035 conftest
$ac_exeext conftest.
$ac_ext
15036 LIBS
=$ac_check_lib_save_LIBS
15038 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
15039 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
15040 if test $ac_cv_lib_elf_elf_begin = yes; then
15045 if test $ac_have_func = no
; then
15046 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
15047 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
15048 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
15049 echo $ECHO_N "(cached) $ECHO_C" >&6
15051 ac_check_lib_save_LIBS
=$LIBS
15053 cat >conftest.
$ac_ext <<_ACEOF
15056 cat confdefs.h
>>conftest.
$ac_ext
15057 cat >>conftest.
$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15060 /* Override any gcc2 internal prototype to avoid an error. */
15064 /* We use char because int might match the return type of a gcc2
15065 builtin and then its argument prototype would still apply. */
15075 rm -f conftest.
$ac_objext conftest
$ac_exeext
15076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15077 (eval $ac_link) 2>conftest.er1
15079 grep -v '^ *+' conftest.er1
>conftest.err
15081 cat conftest.err
>&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } &&
15084 { ac_try
='test -z "$ac_c_werror_flag"
15085 || test ! -s conftest.err'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; } &&
15091 { ac_try
='test -s conftest$ac_exeext'
15092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15093 (eval $ac_try) 2>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); }; }; then
15097 ac_cv_lib_kvm_kvm_open
=yes
15099 echo "$as_me: failed program was:" >&5
15100 sed 's/^/| /' conftest.
$ac_ext >&5
15102 ac_cv_lib_kvm_kvm_open
=no
15104 rm -f conftest.err conftest.
$ac_objext \
15105 conftest
$ac_exeext conftest.
$ac_ext
15106 LIBS
=$ac_check_lib_save_LIBS
15108 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
15109 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
15110 if test $ac_cv_lib_kvm_kvm_open = yes; then
15114 # Check for the 4.4BSD definition of getloadavg.
15115 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
15116 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
15117 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15120 ac_check_lib_save_LIBS
=$LIBS
15121 LIBS
="-lutil $LIBS"
15122 cat >conftest.
$ac_ext <<_ACEOF
15125 cat confdefs.h
>>conftest.
$ac_ext
15126 cat >>conftest.
$ac_ext <<_ACEOF
15127 /* end confdefs.h. */
15129 /* Override any gcc2 internal prototype to avoid an error. */
15133 /* We use char because int might match the return type of a gcc2
15134 builtin and then its argument prototype would still apply. */
15135 char getloadavg ();
15144 rm -f conftest.
$ac_objext conftest
$ac_exeext
15145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15146 (eval $ac_link) 2>conftest.er1
15148 grep -v '^ *+' conftest.er1
>conftest.err
15150 cat conftest.err
>&5
15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152 (exit $ac_status); } &&
15153 { ac_try
='test -z "$ac_c_werror_flag"
15154 || test ! -s conftest.err'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; } &&
15160 { ac_try
='test -s conftest$ac_exeext'
15161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15162 (eval $ac_try) 2>&5
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); }; }; then
15166 ac_cv_lib_util_getloadavg
=yes
15168 echo "$as_me: failed program was:" >&5
15169 sed 's/^/| /' conftest.
$ac_ext >&5
15171 ac_cv_lib_util_getloadavg
=no
15173 rm -f conftest.err conftest.
$ac_objext \
15174 conftest
$ac_exeext conftest.
$ac_ext
15175 LIBS
=$ac_check_lib_save_LIBS
15177 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
15178 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
15179 if test $ac_cv_lib_util_getloadavg = yes; then
15180 LIBS
="-lutil $LIBS" ac_have_func
=yes ac_cv_func_getloadavg_setgid
=yes
15185 if test $ac_have_func = no
; then
15186 # There is a commonly available library for RS/6000 AIX.
15187 # Since it is not a standard part of AIX, it might be installed locally.
15188 ac_getloadavg_LIBS
=$LIBS
15189 LIBS
="-L/usr/local/lib $LIBS"
15190 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
15191 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
15192 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 ac_check_lib_save_LIBS
=$LIBS
15196 LIBS
="-lgetloadavg $LIBS"
15197 cat >conftest.
$ac_ext <<_ACEOF
15200 cat confdefs.h
>>conftest.
$ac_ext
15201 cat >>conftest.
$ac_ext <<_ACEOF
15202 /* end confdefs.h. */
15204 /* Override any gcc2 internal prototype to avoid an error. */
15208 /* We use char because int might match the return type of a gcc2
15209 builtin and then its argument prototype would still apply. */
15210 char getloadavg ();
15219 rm -f conftest.
$ac_objext conftest
$ac_exeext
15220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15221 (eval $ac_link) 2>conftest.er1
15223 grep -v '^ *+' conftest.er1
>conftest.err
15225 cat conftest.err
>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } &&
15228 { ac_try
='test -z "$ac_c_werror_flag"
15229 || test ! -s conftest.err'
15230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15231 (eval $ac_try) 2>&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); }; } &&
15235 { ac_try
='test -s conftest$ac_exeext'
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; }; then
15241 ac_cv_lib_getloadavg_getloadavg
=yes
15243 echo "$as_me: failed program was:" >&5
15244 sed 's/^/| /' conftest.
$ac_ext >&5
15246 ac_cv_lib_getloadavg_getloadavg
=no
15248 rm -f conftest.err conftest.
$ac_objext \
15249 conftest
$ac_exeext conftest.
$ac_ext
15250 LIBS
=$ac_check_lib_save_LIBS
15252 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
15253 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
15254 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
15255 LIBS
="-lgetloadavg $LIBS"
15257 LIBS
=$ac_getloadavg_LIBS
15262 # Make sure it is really in the library, if we think we found it,
15263 # otherwise set up the replacement function.
15265 for ac_func
in getloadavg
15267 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15268 echo "$as_me:$LINENO: checking for $ac_func" >&5
15269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15270 if eval "test \"\${$as_ac_var+set}\" = set"; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15273 cat >conftest.
$ac_ext <<_ACEOF
15276 cat confdefs.h
>>conftest.
$ac_ext
15277 cat >>conftest.
$ac_ext <<_ACEOF
15278 /* end confdefs.h. */
15279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15281 #define $ac_func innocuous_$ac_func
15283 /* System header to define __stub macros and hopefully few prototypes,
15284 which can conflict with char $ac_func (); below.
15285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15286 <limits.h> exists even on freestanding compilers. */
15289 # include <limits.h>
15291 # include <assert.h>
15296 /* Override any gcc2 internal prototype to avoid an error. */
15301 /* We use char because int might match the return type of a gcc2
15302 builtin and then its argument prototype would still apply. */
15304 /* The GNU C library defines this for functions which it implements
15305 to always fail with ENOSYS. Some functions are actually named
15306 something starting with __ and the normal name is an alias. */
15307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15310 char (*f) () = $ac_func;
15319 return f != $ac_func;
15324 rm -f conftest.
$ac_objext conftest
$ac_exeext
15325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15326 (eval $ac_link) 2>conftest.er1
15328 grep -v '^ *+' conftest.er1
>conftest.err
15330 cat conftest.err
>&5
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); } &&
15333 { ac_try
='test -z "$ac_c_werror_flag"
15334 || test ! -s conftest.err'
15335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15336 (eval $ac_try) 2>&5
15338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339 (exit $ac_status); }; } &&
15340 { ac_try
='test -s conftest$ac_exeext'
15341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15342 (eval $ac_try) 2>&5
15344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); }; }; then
15346 eval "$as_ac_var=yes"
15348 echo "$as_me: failed program was:" >&5
15349 sed 's/^/| /' conftest.
$ac_ext >&5
15351 eval "$as_ac_var=no"
15353 rm -f conftest.err conftest.
$ac_objext \
15354 conftest
$ac_exeext conftest.
$ac_ext
15356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15358 if test `eval echo '${'$as_ac_var'}'` = yes; then
15359 cat >>confdefs.h
<<_ACEOF
15360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15365 "getloadavg.$ac_objext" | \
15366 *" getloadavg.$ac_objext" | \
15367 "getloadavg.$ac_objext "* | \
15368 *" getloadavg.$ac_objext "* ) ;;
15369 *) LIBOBJS
="$LIBOBJS getloadavg.$ac_objext" ;;
15373 cat >>confdefs.h
<<\_ACEOF
15374 #define C_GETLOADAVG 1
15377 # Figure out what our getloadavg.c needs.
15379 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15380 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15381 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15382 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15386 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15388 # Is the header compilable?
15389 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
15390 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
15391 cat >conftest.
$ac_ext <<_ACEOF
15394 cat confdefs.h
>>conftest.
$ac_ext
15395 cat >>conftest.
$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15397 $ac_includes_default
15398 #include <sys/dg_sys_info.h>
15400 rm -f conftest.
$ac_objext
15401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15402 (eval $ac_compile) 2>conftest.er1
15404 grep -v '^ *+' conftest.er1
>conftest.err
15406 cat conftest.err
>&5
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); } &&
15409 { ac_try
='test -z "$ac_c_werror_flag"
15410 || test ! -s conftest.err'
15411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15412 (eval $ac_try) 2>&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; } &&
15416 { ac_try
='test -s conftest.$ac_objext'
15417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15418 (eval $ac_try) 2>&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); }; }; then
15422 ac_header_compiler
=yes
15424 echo "$as_me: failed program was:" >&5
15425 sed 's/^/| /' conftest.
$ac_ext >&5
15427 ac_header_compiler
=no
15429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15431 echo "${ECHO_T}$ac_header_compiler" >&6
15433 # Is the header present?
15434 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
15435 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
15436 cat >conftest.
$ac_ext <<_ACEOF
15439 cat confdefs.h
>>conftest.
$ac_ext
15440 cat >>conftest.
$ac_ext <<_ACEOF
15441 /* end confdefs.h. */
15442 #include <sys/dg_sys_info.h>
15444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15445 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15447 grep -v '^ *+' conftest.er1
>conftest.err
15449 cat conftest.err
>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } >/dev
/null
; then
15452 if test -s conftest.err
; then
15453 ac_cpp_err
=$ac_c_preproc_warn_flag
15454 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15461 if test -z "$ac_cpp_err"; then
15462 ac_header_preproc
=yes
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.
$ac_ext >&5
15467 ac_header_preproc
=no
15469 rm -f conftest.err conftest.
$ac_ext
15470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15471 echo "${ECHO_T}$ac_header_preproc" >&6
15473 # So? What about this header?
15474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15476 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
15477 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15478 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
15479 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
15480 ac_header_preproc
=yes
15483 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
15484 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
15485 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
15486 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
15487 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
15488 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
15489 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
15490 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
15491 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
15492 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
15493 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
15494 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
15497 ## ------------------------------------------ ##
15498 ## Report this to the AC_PACKAGE_NAME lists. ##
15499 ## ------------------------------------------ ##
15502 sed "s/^/$as_me: WARNING: /" >&2
15505 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15506 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15507 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15508 echo $ECHO_N "(cached) $ECHO_C" >&6
15510 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
15512 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15513 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15516 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
15519 cat >>confdefs.h
<<\_ACEOF
15524 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
15525 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
15526 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15529 ac_check_lib_save_LIBS
=$LIBS
15531 cat >conftest.
$ac_ext <<_ACEOF
15534 cat confdefs.h
>>conftest.
$ac_ext
15535 cat >>conftest.
$ac_ext <<_ACEOF
15536 /* end confdefs.h. */
15538 /* Override any gcc2 internal prototype to avoid an error. */
15542 /* We use char because int might match the return type of a gcc2
15543 builtin and then its argument prototype would still apply. */
15544 char dg_sys_info ();
15553 rm -f conftest.
$ac_objext conftest
$ac_exeext
15554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15555 (eval $ac_link) 2>conftest.er1
15557 grep -v '^ *+' conftest.er1
>conftest.err
15559 cat conftest.err
>&5
15560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 (exit $ac_status); } &&
15562 { ac_try
='test -z "$ac_c_werror_flag"
15563 || test ! -s conftest.err'
15564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15565 (eval $ac_try) 2>&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); }; } &&
15569 { ac_try
='test -s conftest$ac_exeext'
15570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15571 (eval $ac_try) 2>&5
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); }; }; then
15575 ac_cv_lib_dgc_dg_sys_info
=yes
15577 echo "$as_me: failed program was:" >&5
15578 sed 's/^/| /' conftest.
$ac_ext >&5
15580 ac_cv_lib_dgc_dg_sys_info
=no
15582 rm -f conftest.err conftest.
$ac_objext \
15583 conftest
$ac_exeext conftest.
$ac_ext
15584 LIBS
=$ac_check_lib_save_LIBS
15586 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
15587 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
15588 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
15589 cat >>confdefs.h
<<_ACEOF
15590 #define HAVE_LIBDGC 1
15601 if test "${ac_cv_header_locale_h+set}" = set; then
15602 echo "$as_me:$LINENO: checking for locale.h" >&5
15603 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
15604 if test "${ac_cv_header_locale_h+set}" = set; then
15605 echo $ECHO_N "(cached) $ECHO_C" >&6
15607 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15608 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
15610 # Is the header compilable?
15611 echo "$as_me:$LINENO: checking locale.h usability" >&5
15612 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
15613 cat >conftest.
$ac_ext <<_ACEOF
15616 cat confdefs.h
>>conftest.
$ac_ext
15617 cat >>conftest.
$ac_ext <<_ACEOF
15618 /* end confdefs.h. */
15619 $ac_includes_default
15620 #include <locale.h>
15622 rm -f conftest.
$ac_objext
15623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15624 (eval $ac_compile) 2>conftest.er1
15626 grep -v '^ *+' conftest.er1
>conftest.err
15628 cat conftest.err
>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); } &&
15631 { ac_try
='test -z "$ac_c_werror_flag"
15632 || test ! -s conftest.err'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; } &&
15638 { ac_try
='test -s conftest.$ac_objext'
15639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15640 (eval $ac_try) 2>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; }; then
15644 ac_header_compiler
=yes
15646 echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.
$ac_ext >&5
15649 ac_header_compiler
=no
15651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15653 echo "${ECHO_T}$ac_header_compiler" >&6
15655 # Is the header present?
15656 echo "$as_me:$LINENO: checking locale.h presence" >&5
15657 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
15658 cat >conftest.
$ac_ext <<_ACEOF
15661 cat confdefs.h
>>conftest.
$ac_ext
15662 cat >>conftest.
$ac_ext <<_ACEOF
15663 /* end confdefs.h. */
15664 #include <locale.h>
15666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15667 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15669 grep -v '^ *+' conftest.er1
>conftest.err
15671 cat conftest.err
>&5
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); } >/dev
/null
; then
15674 if test -s conftest.err
; then
15675 ac_cpp_err
=$ac_c_preproc_warn_flag
15676 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15683 if test -z "$ac_cpp_err"; then
15684 ac_header_preproc
=yes
15686 echo "$as_me: failed program was:" >&5
15687 sed 's/^/| /' conftest.
$ac_ext >&5
15689 ac_header_preproc
=no
15691 rm -f conftest.err conftest.
$ac_ext
15692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15693 echo "${ECHO_T}$ac_header_preproc" >&6
15695 # So? What about this header?
15696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15698 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
15699 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15700 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
15701 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
15702 ac_header_preproc
=yes
15705 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
15706 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
15707 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
15708 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
15709 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
15710 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
15711 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
15712 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
15713 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
15714 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
15715 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
15716 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
15719 ## ------------------------------------------ ##
15720 ## Report this to the AC_PACKAGE_NAME lists. ##
15721 ## ------------------------------------------ ##
15724 sed "s/^/$as_me: WARNING: /" >&2
15727 echo "$as_me:$LINENO: checking for locale.h" >&5
15728 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
15729 if test "${ac_cv_header_locale_h+set}" = set; then
15730 echo $ECHO_N "(cached) $ECHO_C" >&6
15732 ac_cv_header_locale_h
=$ac_header_preproc
15734 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15735 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
15741 for ac_func
in setlocale
15743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15744 echo "$as_me:$LINENO: checking for $ac_func" >&5
15745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15746 if eval "test \"\${$as_ac_var+set}\" = set"; then
15747 echo $ECHO_N "(cached) $ECHO_C" >&6
15749 cat >conftest.
$ac_ext <<_ACEOF
15752 cat confdefs.h
>>conftest.
$ac_ext
15753 cat >>conftest.
$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15757 #define $ac_func innocuous_$ac_func
15759 /* System header to define __stub macros and hopefully few prototypes,
15760 which can conflict with char $ac_func (); below.
15761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15762 <limits.h> exists even on freestanding compilers. */
15765 # include <limits.h>
15767 # include <assert.h>
15772 /* Override any gcc2 internal prototype to avoid an error. */
15777 /* We use char because int might match the return type of a gcc2
15778 builtin and then its argument prototype would still apply. */
15780 /* The GNU C library defines this for functions which it implements
15781 to always fail with ENOSYS. Some functions are actually named
15782 something starting with __ and the normal name is an alias. */
15783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15786 char (*f) () = $ac_func;
15795 return f != $ac_func;
15800 rm -f conftest.
$ac_objext conftest
$ac_exeext
15801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15802 (eval $ac_link) 2>conftest.er1
15804 grep -v '^ *+' conftest.er1
>conftest.err
15806 cat conftest.err
>&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } &&
15809 { ac_try
='test -z "$ac_c_werror_flag"
15810 || test ! -s conftest.err'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; } &&
15816 { ac_try
='test -s conftest$ac_exeext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 eval "$as_ac_var=yes"
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.
$ac_ext >&5
15827 eval "$as_ac_var=no"
15829 rm -f conftest.err conftest.
$ac_objext \
15830 conftest
$ac_exeext conftest.
$ac_ext
15832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15834 if test `eval echo '${'$as_ac_var'}'` = yes; then
15835 cat >>confdefs.h
<<_ACEOF
15836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15843 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
15844 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
15845 # Irix 4.0.5F has the header but not the library.
15846 if test $ac_have_func = no
&& test "$ac_cv_lib_elf_elf_begin" = yes; then
15849 cat >>confdefs.h
<<\_ACEOF
15855 if test $ac_have_func = no
; then
15856 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15857 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15858 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15859 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15860 echo $ECHO_N "(cached) $ECHO_C" >&6
15862 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
15863 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
15865 # Is the header compilable?
15866 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
15867 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
15868 cat >conftest.
$ac_ext <<_ACEOF
15871 cat confdefs.h
>>conftest.
$ac_ext
15872 cat >>conftest.
$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15874 $ac_includes_default
15875 #include <inq_stats/cpustats.h>
15877 rm -f conftest.
$ac_objext
15878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15879 (eval $ac_compile) 2>conftest.er1
15881 grep -v '^ *+' conftest.er1
>conftest.err
15883 cat conftest.err
>&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); } &&
15886 { ac_try
='test -z "$ac_c_werror_flag"
15887 || test ! -s conftest.err'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; } &&
15893 { ac_try
='test -s conftest.$ac_objext'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; }; then
15899 ac_header_compiler
=yes
15901 echo "$as_me: failed program was:" >&5
15902 sed 's/^/| /' conftest.
$ac_ext >&5
15904 ac_header_compiler
=no
15906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15908 echo "${ECHO_T}$ac_header_compiler" >&6
15910 # Is the header present?
15911 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
15912 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
15913 cat >conftest.
$ac_ext <<_ACEOF
15916 cat confdefs.h
>>conftest.
$ac_ext
15917 cat >>conftest.
$ac_ext <<_ACEOF
15918 /* end confdefs.h. */
15919 #include <inq_stats/cpustats.h>
15921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15922 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15924 grep -v '^ *+' conftest.er1
>conftest.err
15926 cat conftest.err
>&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); } >/dev
/null
; then
15929 if test -s conftest.err
; then
15930 ac_cpp_err
=$ac_c_preproc_warn_flag
15931 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15938 if test -z "$ac_cpp_err"; then
15939 ac_header_preproc
=yes
15941 echo "$as_me: failed program was:" >&5
15942 sed 's/^/| /' conftest.
$ac_ext >&5
15944 ac_header_preproc
=no
15946 rm -f conftest.err conftest.
$ac_ext
15947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15948 echo "${ECHO_T}$ac_header_preproc" >&6
15950 # So? What about this header?
15951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15953 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
15954 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15955 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
15956 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
15957 ac_header_preproc
=yes
15960 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
15961 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
15962 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
15963 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
15964 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
15965 echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
15966 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
15967 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
15968 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
15969 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
15970 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
15971 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
15974 ## ------------------------------------------ ##
15975 ## Report this to the AC_PACKAGE_NAME lists. ##
15976 ## ------------------------------------------ ##
15979 sed "s/^/$as_me: WARNING: /" >&2
15982 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15983 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15984 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15985 echo $ECHO_N "(cached) $ECHO_C" >&6
15987 ac_cv_header_inq_stats_cpustats_h
=$ac_header_preproc
15989 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
15990 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
15993 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
15996 cat >>confdefs.h
<<\_ACEOF
16001 cat >>confdefs.h
<<\_ACEOF
16010 if test $ac_have_func = no
; then
16011 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16012 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16013 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
16014 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16015 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16018 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
16020 # Is the header compilable?
16021 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
16022 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
16023 cat >conftest.
$ac_ext <<_ACEOF
16026 cat confdefs.h
>>conftest.
$ac_ext
16027 cat >>conftest.
$ac_ext <<_ACEOF
16028 /* end confdefs.h. */
16029 $ac_includes_default
16030 #include <sys/cpustats.h>
16032 rm -f conftest.
$ac_objext
16033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16034 (eval $ac_compile) 2>conftest.er1
16036 grep -v '^ *+' conftest.er1
>conftest.err
16038 cat conftest.err
>&5
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); } &&
16041 { ac_try
='test -z "$ac_c_werror_flag"
16042 || test ! -s conftest.err'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; } &&
16048 { ac_try
='test -s conftest.$ac_objext'
16049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050 (eval $ac_try) 2>&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }; }; then
16054 ac_header_compiler
=yes
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.
$ac_ext >&5
16059 ac_header_compiler
=no
16061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16063 echo "${ECHO_T}$ac_header_compiler" >&6
16065 # Is the header present?
16066 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
16067 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
16068 cat >conftest.
$ac_ext <<_ACEOF
16071 cat confdefs.h
>>conftest.
$ac_ext
16072 cat >>conftest.
$ac_ext <<_ACEOF
16073 /* end confdefs.h. */
16074 #include <sys/cpustats.h>
16076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16079 grep -v '^ *+' conftest.er1
>conftest.err
16081 cat conftest.err
>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } >/dev
/null
; then
16084 if test -s conftest.err
; then
16085 ac_cpp_err
=$ac_c_preproc_warn_flag
16086 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16093 if test -z "$ac_cpp_err"; then
16094 ac_header_preproc
=yes
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.
$ac_ext >&5
16099 ac_header_preproc
=no
16101 rm -f conftest.err conftest.
$ac_ext
16102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16103 echo "${ECHO_T}$ac_header_preproc" >&6
16105 # So? What about this header?
16106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16108 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
16109 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16110 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
16111 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
16112 ac_header_preproc
=yes
16115 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
16116 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
16117 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
16118 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
16119 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
16120 echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
16121 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
16122 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
16123 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
16124 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
16125 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
16126 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
16129 ## ------------------------------------------ ##
16130 ## Report this to the AC_PACKAGE_NAME lists. ##
16131 ## ------------------------------------------ ##
16134 sed "s/^/$as_me: WARNING: /" >&2
16137 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16138 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
16139 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16140 echo $ECHO_N "(cached) $ECHO_C" >&6
16142 ac_cv_header_sys_cpustats_h
=$ac_header_preproc
16144 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16145 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
16148 if test $ac_cv_header_sys_cpustats_h = yes; then
16149 ac_have_func
=yes; cat >>confdefs.h
<<\_ACEOF
16158 if test $ac_have_func = no
; then
16160 for ac_header
in mach
/mach.h
16162 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16164 echo "$as_me:$LINENO: checking for $ac_header" >&5
16165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16172 # Is the header compilable?
16173 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16175 cat >conftest.
$ac_ext <<_ACEOF
16178 cat confdefs.h
>>conftest.
$ac_ext
16179 cat >>conftest.
$ac_ext <<_ACEOF
16180 /* end confdefs.h. */
16181 $ac_includes_default
16182 #include <$ac_header>
16184 rm -f conftest.
$ac_objext
16185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16186 (eval $ac_compile) 2>conftest.er1
16188 grep -v '^ *+' conftest.er1
>conftest.err
16190 cat conftest.err
>&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); } &&
16193 { ac_try
='test -z "$ac_c_werror_flag"
16194 || test ! -s conftest.err'
16195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16196 (eval $ac_try) 2>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); }; } &&
16200 { ac_try
='test -s conftest.$ac_objext'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; }; then
16206 ac_header_compiler
=yes
16208 echo "$as_me: failed program was:" >&5
16209 sed 's/^/| /' conftest.
$ac_ext >&5
16211 ac_header_compiler
=no
16213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16215 echo "${ECHO_T}$ac_header_compiler" >&6
16217 # Is the header present?
16218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16220 cat >conftest.
$ac_ext <<_ACEOF
16223 cat confdefs.h
>>conftest.
$ac_ext
16224 cat >>conftest.
$ac_ext <<_ACEOF
16225 /* end confdefs.h. */
16226 #include <$ac_header>
16228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16229 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16231 grep -v '^ *+' conftest.er1
>conftest.err
16233 cat conftest.err
>&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); } >/dev
/null
; then
16236 if test -s conftest.err
; then
16237 ac_cpp_err
=$ac_c_preproc_warn_flag
16238 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16245 if test -z "$ac_cpp_err"; then
16246 ac_header_preproc
=yes
16248 echo "$as_me: failed program was:" >&5
16249 sed 's/^/| /' conftest.
$ac_ext >&5
16251 ac_header_preproc
=no
16253 rm -f conftest.err conftest.
$ac_ext
16254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16255 echo "${ECHO_T}$ac_header_preproc" >&6
16257 # So? What about this header?
16258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16264 ac_header_preproc
=yes
16267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16271 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16273 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16274 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16277 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16281 ## ------------------------------------------ ##
16282 ## Report this to the AC_PACKAGE_NAME lists. ##
16283 ## ------------------------------------------ ##
16286 sed "s/^/$as_me: WARNING: /" >&2
16289 echo "$as_me:$LINENO: checking for $ac_header" >&5
16290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16292 echo $ECHO_N "(cached) $ECHO_C" >&6
16294 eval "$as_ac_Header=\$ac_header_preproc"
16296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16301 cat >>confdefs.h
<<_ACEOF
16302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16312 for ac_header
in nlist.h
16314 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16316 echo "$as_me:$LINENO: checking for $ac_header" >&5
16317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16319 echo $ECHO_N "(cached) $ECHO_C" >&6
16321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16324 # Is the header compilable?
16325 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16327 cat >conftest.
$ac_ext <<_ACEOF
16330 cat confdefs.h
>>conftest.
$ac_ext
16331 cat >>conftest.
$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16333 $ac_includes_default
16334 #include <$ac_header>
16336 rm -f conftest.
$ac_objext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16338 (eval $ac_compile) 2>conftest.er1
16340 grep -v '^ *+' conftest.er1
>conftest.err
16342 cat conftest.err
>&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try
='test -z "$ac_c_werror_flag"
16346 || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try
='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 ac_header_compiler
=yes
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.
$ac_ext >&5
16363 ac_header_compiler
=no
16365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16367 echo "${ECHO_T}$ac_header_compiler" >&6
16369 # Is the header present?
16370 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16372 cat >conftest.
$ac_ext <<_ACEOF
16375 cat confdefs.h
>>conftest.
$ac_ext
16376 cat >>conftest.
$ac_ext <<_ACEOF
16377 /* end confdefs.h. */
16378 #include <$ac_header>
16380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16381 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16383 grep -v '^ *+' conftest.er1
>conftest.err
16385 cat conftest.err
>&5
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); } >/dev
/null
; then
16388 if test -s conftest.err
; then
16389 ac_cpp_err
=$ac_c_preproc_warn_flag
16390 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16397 if test -z "$ac_cpp_err"; then
16398 ac_header_preproc
=yes
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.
$ac_ext >&5
16403 ac_header_preproc
=no
16405 rm -f conftest.err conftest.
$ac_ext
16406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16407 echo "${ECHO_T}$ac_header_preproc" >&6
16409 # So? What about this header?
16410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16412 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16413 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16415 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16416 ac_header_preproc
=yes
16419 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16420 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16421 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16422 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16423 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16424 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16425 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16426 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16429 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16430 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16433 ## ------------------------------------------ ##
16434 ## Report this to the AC_PACKAGE_NAME lists. ##
16435 ## ------------------------------------------ ##
16438 sed "s/^/$as_me: WARNING: /" >&2
16441 echo "$as_me:$LINENO: checking for $ac_header" >&5
16442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16444 echo $ECHO_N "(cached) $ECHO_C" >&6
16446 eval "$as_ac_Header=\$ac_header_preproc"
16448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16453 cat >>confdefs.h
<<_ACEOF
16454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16456 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
16457 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
16458 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
16459 echo $ECHO_N "(cached) $ECHO_C" >&6
16461 cat >conftest.
$ac_ext <<_ACEOF
16464 cat confdefs.h
>>conftest.
$ac_ext
16465 cat >>conftest.
$ac_ext <<_ACEOF
16466 /* end confdefs.h. */
16472 static struct nlist ac_aggr;
16473 if (ac_aggr.n_un.n_name)
16479 rm -f conftest.
$ac_objext
16480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16481 (eval $ac_compile) 2>conftest.er1
16483 grep -v '^ *+' conftest.er1
>conftest.err
16485 cat conftest.err
>&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } &&
16488 { ac_try
='test -z "$ac_c_werror_flag"
16489 || test ! -s conftest.err'
16490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491 (eval $ac_try) 2>&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); }; } &&
16495 { ac_try
='test -s conftest.$ac_objext'
16496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16497 (eval $ac_try) 2>&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; }; then
16501 ac_cv_member_struct_nlist_n_un_n_name
=yes
16503 echo "$as_me: failed program was:" >&5
16504 sed 's/^/| /' conftest.
$ac_ext >&5
16506 cat >conftest.
$ac_ext <<_ACEOF
16509 cat confdefs.h
>>conftest.
$ac_ext
16510 cat >>conftest.
$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16517 static struct nlist ac_aggr;
16518 if (sizeof ac_aggr.n_un.n_name)
16524 rm -f conftest.
$ac_objext
16525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16526 (eval $ac_compile) 2>conftest.er1
16528 grep -v '^ *+' conftest.er1
>conftest.err
16530 cat conftest.err
>&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); } &&
16533 { ac_try
='test -z "$ac_c_werror_flag"
16534 || test ! -s conftest.err'
16535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16536 (eval $ac_try) 2>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; } &&
16540 { ac_try
='test -s conftest.$ac_objext'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; }; then
16546 ac_cv_member_struct_nlist_n_un_n_name
=yes
16548 echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.
$ac_ext >&5
16551 ac_cv_member_struct_nlist_n_un_n_name
=no
16553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16557 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
16558 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
16559 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
16561 cat >>confdefs.h
<<_ACEOF
16562 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
16566 cat >>confdefs.h
<<\_ACEOF
16567 #define NLIST_NAME_UNION 1
16581 # Some definitions of getloadavg require that the program be installed setgid.
16582 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
16583 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
16584 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16587 cat >conftest.
$ac_ext <<_ACEOF
16590 cat confdefs.h
>>conftest.
$ac_ext
16591 cat >>conftest.
$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
16594 #ifdef LDAV_PRIVILEGED
16595 Yowza Am I SETGID yet
16598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16599 $EGREP "Yowza Am I SETGID yet" >/dev
/null
2>&1; then
16600 ac_cv_func_getloadavg_setgid
=yes
16602 ac_cv_func_getloadavg_setgid
=no
16607 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
16608 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
16609 if test $ac_cv_func_getloadavg_setgid = yes; then
16612 cat >>confdefs.h
<<\_ACEOF
16613 #define GETLOADAVG_PRIVILEGED 1
16620 if test $ac_cv_func_getloadavg_setgid = yes; then
16621 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
16622 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
16623 if test "${ac_cv_group_kmem+set}" = set; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16626 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
16627 ac_ls_output
=`ls -lgL /dev/kmem 2>/dev/null`
16628 # If we got an error (system does not support symlinks), try without -L.
16629 test -z "$ac_ls_output" && ac_ls_output
=`ls -lg /dev/kmem`
16630 ac_cv_group_kmem
=`echo $ac_ls_output \
16631 | sed -ne 's/[ ][ ]*/ /g;
16632 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
16636 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
16637 echo "${ECHO_T}$ac_cv_group_kmem" >&6
16638 KMEM_GROUP
=$ac_cv_group_kmem
16640 if test "x$ac_save_LIBS" = x
; then
16641 GETLOADAVG_LIBS
=$LIBS
16643 GETLOADAVG_LIBS
=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
16649 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
16650 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
16651 if test "${ac_cv_sys_largefile_source+set}" = set; then
16652 echo $ECHO_N "(cached) $ECHO_C" >&6
16655 ac_cv_sys_largefile_source
=no
16656 cat >conftest.
$ac_ext <<_ACEOF
16659 cat confdefs.h
>>conftest.
$ac_ext
16660 cat >>conftest.
$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16671 rm -f conftest.
$ac_objext
16672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16673 (eval $ac_compile) 2>conftest.er1
16675 grep -v '^ *+' conftest.er1
>conftest.err
16677 cat conftest.err
>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); } &&
16680 { ac_try
='test -z "$ac_c_werror_flag"
16681 || test ! -s conftest.err'
16682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16683 (eval $ac_try) 2>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }; } &&
16687 { ac_try
='test -s conftest.$ac_objext'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; }; then
16695 echo "$as_me: failed program was:" >&5
16696 sed 's/^/| /' conftest.
$ac_ext >&5
16699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16700 cat >conftest.
$ac_ext <<_ACEOF
16703 cat confdefs.h
>>conftest.
$ac_ext
16704 cat >>conftest.
$ac_ext <<_ACEOF
16705 /* end confdefs.h. */
16706 #define _LARGEFILE_SOURCE 1
16716 rm -f conftest.
$ac_objext
16717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16718 (eval $ac_compile) 2>conftest.er1
16720 grep -v '^ *+' conftest.er1
>conftest.err
16722 cat conftest.err
>&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); } &&
16725 { ac_try
='test -z "$ac_c_werror_flag"
16726 || test ! -s conftest.err'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; } &&
16732 { ac_try
='test -s conftest.$ac_objext'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; }; then
16738 ac_cv_sys_largefile_source
=1; break
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.
$ac_ext >&5
16744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16748 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
16749 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
16750 if test "$ac_cv_sys_largefile_source" != no
; then
16752 cat >>confdefs.h
<<_ACEOF
16753 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
16759 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
16760 # in glibc 2.1.3, but that breaks too many other things.
16761 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
16762 echo "$as_me:$LINENO: checking for fseeko" >&5
16763 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
16764 if test "${ac_cv_func_fseeko+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16767 cat >conftest.
$ac_ext <<_ACEOF
16770 cat confdefs.h
>>conftest.
$ac_ext
16771 cat >>conftest.
$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16777 return fseeko && fseeko (stdin, 0, 0);
16782 rm -f conftest.
$ac_objext conftest
$ac_exeext
16783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16784 (eval $ac_link) 2>conftest.er1
16786 grep -v '^ *+' conftest.er1
>conftest.err
16788 cat conftest.err
>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } &&
16791 { ac_try
='test -z "$ac_c_werror_flag"
16792 || test ! -s conftest.err'
16793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16794 (eval $ac_try) 2>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; } &&
16798 { ac_try
='test -s conftest$ac_exeext'
16799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16800 (eval $ac_try) 2>&5
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); }; }; then
16804 ac_cv_func_fseeko
=yes
16806 echo "$as_me: failed program was:" >&5
16807 sed 's/^/| /' conftest.
$ac_ext >&5
16809 ac_cv_func_fseeko
=no
16811 rm -f conftest.err conftest.
$ac_objext \
16812 conftest
$ac_exeext conftest.
$ac_ext
16814 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
16815 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
16816 if test $ac_cv_func_fseeko = yes; then
16818 cat >>confdefs.h
<<\_ACEOF
16819 #define HAVE_FSEEKO 1
16825 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
16826 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
16827 if test "${ac_cv_func_getpgrp_void+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 # Use it with a single arg.
16831 cat >conftest.
$ac_ext <<_ACEOF
16834 cat confdefs.h
>>conftest.
$ac_ext
16835 cat >>conftest.
$ac_ext <<_ACEOF
16836 /* end confdefs.h. */
16837 $ac_includes_default
16846 rm -f conftest.
$ac_objext
16847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16848 (eval $ac_compile) 2>conftest.er1
16850 grep -v '^ *+' conftest.er1
>conftest.err
16852 cat conftest.err
>&5
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); } &&
16855 { ac_try
='test -z "$ac_c_werror_flag"
16856 || test ! -s conftest.err'
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858 (eval $ac_try) 2>&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }; } &&
16862 { ac_try
='test -s conftest.$ac_objext'
16863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16864 (eval $ac_try) 2>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); }; }; then
16868 ac_cv_func_getpgrp_void
=no
16870 echo "$as_me: failed program was:" >&5
16871 sed 's/^/| /' conftest.
$ac_ext >&5
16873 ac_cv_func_getpgrp_void
=yes
16875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16878 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
16879 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
16880 if test $ac_cv_func_getpgrp_void = yes; then
16882 cat >>confdefs.h
<<\_ACEOF
16883 #define GETPGRP_VOID 1
16890 for ac_func
in strftime
16892 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16893 echo "$as_me:$LINENO: checking for $ac_func" >&5
16894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16895 if eval "test \"\${$as_ac_var+set}\" = set"; then
16896 echo $ECHO_N "(cached) $ECHO_C" >&6
16898 cat >conftest.
$ac_ext <<_ACEOF
16901 cat confdefs.h
>>conftest.
$ac_ext
16902 cat >>conftest.
$ac_ext <<_ACEOF
16903 /* end confdefs.h. */
16904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16906 #define $ac_func innocuous_$ac_func
16908 /* System header to define __stub macros and hopefully few prototypes,
16909 which can conflict with char $ac_func (); below.
16910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16911 <limits.h> exists even on freestanding compilers. */
16914 # include <limits.h>
16916 # include <assert.h>
16921 /* Override any gcc2 internal prototype to avoid an error. */
16926 /* We use char because int might match the return type of a gcc2
16927 builtin and then its argument prototype would still apply. */
16929 /* The GNU C library defines this for functions which it implements
16930 to always fail with ENOSYS. Some functions are actually named
16931 something starting with __ and the normal name is an alias. */
16932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16935 char (*f) () = $ac_func;
16944 return f != $ac_func;
16949 rm -f conftest.
$ac_objext conftest
$ac_exeext
16950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16951 (eval $ac_link) 2>conftest.er1
16953 grep -v '^ *+' conftest.er1
>conftest.err
16955 cat conftest.err
>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } &&
16958 { ac_try
='test -z "$ac_c_werror_flag"
16959 || test ! -s conftest.err'
16960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16961 (eval $ac_try) 2>&5
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); }; } &&
16965 { ac_try
='test -s conftest$ac_exeext'
16966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16967 (eval $ac_try) 2>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); }; }; then
16971 eval "$as_ac_var=yes"
16973 echo "$as_me: failed program was:" >&5
16974 sed 's/^/| /' conftest.
$ac_ext >&5
16976 eval "$as_ac_var=no"
16978 rm -f conftest.err conftest.
$ac_objext \
16979 conftest
$ac_exeext conftest.
$ac_ext
16981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16983 if test `eval echo '${'$as_ac_var'}'` = yes; then
16984 cat >>confdefs.h
<<_ACEOF
16985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16989 # strftime is in -lintl on SCO UNIX.
16990 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
16991 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
16992 if test "${ac_cv_lib_intl_strftime+set}" = set; then
16993 echo $ECHO_N "(cached) $ECHO_C" >&6
16995 ac_check_lib_save_LIBS
=$LIBS
16996 LIBS
="-lintl $LIBS"
16997 cat >conftest.
$ac_ext <<_ACEOF
17000 cat confdefs.h
>>conftest.
$ac_ext
17001 cat >>conftest.
$ac_ext <<_ACEOF
17002 /* end confdefs.h. */
17004 /* Override any gcc2 internal prototype to avoid an error. */
17008 /* We use char because int might match the return type of a gcc2
17009 builtin and then its argument prototype would still apply. */
17019 rm -f conftest.
$ac_objext conftest
$ac_exeext
17020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17021 (eval $ac_link) 2>conftest.er1
17023 grep -v '^ *+' conftest.er1
>conftest.err
17025 cat conftest.err
>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } &&
17028 { ac_try
='test -z "$ac_c_werror_flag"
17029 || test ! -s conftest.err'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; } &&
17035 { ac_try
='test -s conftest$ac_exeext'
17036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17037 (eval $ac_try) 2>&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; }; then
17041 ac_cv_lib_intl_strftime
=yes
17043 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.
$ac_ext >&5
17046 ac_cv_lib_intl_strftime
=no
17048 rm -f conftest.err conftest.
$ac_objext \
17049 conftest
$ac_exeext conftest.
$ac_ext
17050 LIBS
=$ac_check_lib_save_LIBS
17052 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
17053 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
17054 if test $ac_cv_lib_intl_strftime = yes; then
17055 cat >>confdefs.h
<<\_ACEOF
17056 #define HAVE_STRFTIME 1
17059 LIBS
="-lintl $LIBS"
17068 for ac_func
in grantpt
17070 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17071 echo "$as_me:$LINENO: checking for $ac_func" >&5
17072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17073 if eval "test \"\${$as_ac_var+set}\" = set"; then
17074 echo $ECHO_N "(cached) $ECHO_C" >&6
17076 cat >conftest.
$ac_ext <<_ACEOF
17079 cat confdefs.h
>>conftest.
$ac_ext
17080 cat >>conftest.
$ac_ext <<_ACEOF
17081 /* end confdefs.h. */
17082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17084 #define $ac_func innocuous_$ac_func
17086 /* System header to define __stub macros and hopefully few prototypes,
17087 which can conflict with char $ac_func (); below.
17088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17089 <limits.h> exists even on freestanding compilers. */
17092 # include <limits.h>
17094 # include <assert.h>
17099 /* Override any gcc2 internal prototype to avoid an error. */
17104 /* We use char because int might match the return type of a gcc2
17105 builtin and then its argument prototype would still apply. */
17107 /* The GNU C library defines this for functions which it implements
17108 to always fail with ENOSYS. Some functions are actually named
17109 something starting with __ and the normal name is an alias. */
17110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17113 char (*f) () = $ac_func;
17122 return f != $ac_func;
17127 rm -f conftest.
$ac_objext conftest
$ac_exeext
17128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17129 (eval $ac_link) 2>conftest.er1
17131 grep -v '^ *+' conftest.er1
>conftest.err
17133 cat conftest.err
>&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); } &&
17136 { ac_try
='test -z "$ac_c_werror_flag"
17137 || test ! -s conftest.err'
17138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17139 (eval $ac_try) 2>&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); }; } &&
17143 { ac_try
='test -s conftest$ac_exeext'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; }; then
17149 eval "$as_ac_var=yes"
17151 echo "$as_me: failed program was:" >&5
17152 sed 's/^/| /' conftest.
$ac_ext >&5
17154 eval "$as_ac_var=no"
17156 rm -f conftest.err conftest.
$ac_objext \
17157 conftest
$ac_exeext conftest.
$ac_ext
17159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17161 if test `eval echo '${'$as_ac_var'}'` = yes; then
17162 cat >>confdefs.h
<<_ACEOF
17163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17170 # PTY-related GNU extensions.
17172 for ac_func
in getpt
17174 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17175 echo "$as_me:$LINENO: checking for $ac_func" >&5
17176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17177 if eval "test \"\${$as_ac_var+set}\" = set"; then
17178 echo $ECHO_N "(cached) $ECHO_C" >&6
17180 cat >conftest.
$ac_ext <<_ACEOF
17183 cat confdefs.h
>>conftest.
$ac_ext
17184 cat >>conftest.
$ac_ext <<_ACEOF
17185 /* end confdefs.h. */
17186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17188 #define $ac_func innocuous_$ac_func
17190 /* System header to define __stub macros and hopefully few prototypes,
17191 which can conflict with char $ac_func (); below.
17192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17193 <limits.h> exists even on freestanding compilers. */
17196 # include <limits.h>
17198 # include <assert.h>
17203 /* Override any gcc2 internal prototype to avoid an error. */
17208 /* We use char because int might match the return type of a gcc2
17209 builtin and then its argument prototype would still apply. */
17211 /* The GNU C library defines this for functions which it implements
17212 to always fail with ENOSYS. Some functions are actually named
17213 something starting with __ and the normal name is an alias. */
17214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17217 char (*f) () = $ac_func;
17226 return f != $ac_func;
17231 rm -f conftest.
$ac_objext conftest
$ac_exeext
17232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17233 (eval $ac_link) 2>conftest.er1
17235 grep -v '^ *+' conftest.er1
>conftest.err
17237 cat conftest.err
>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } &&
17240 { ac_try
='test -z "$ac_c_werror_flag"
17241 || test ! -s conftest.err'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; } &&
17247 { ac_try
='test -s conftest$ac_exeext'
17248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17249 (eval $ac_try) 2>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); }; }; then
17253 eval "$as_ac_var=yes"
17255 echo "$as_me: failed program was:" >&5
17256 sed 's/^/| /' conftest.
$ac_ext >&5
17258 eval "$as_ac_var=no"
17260 rm -f conftest.err conftest.
$ac_objext \
17261 conftest
$ac_exeext conftest.
$ac_ext
17263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17265 if test `eval echo '${'$as_ac_var'}'` = yes; then
17266 cat >>confdefs.h
<<_ACEOF
17267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17274 # Check this now, so that we will NOT find the above functions in ncurses.
17275 # That is because we have not set up to link ncurses in lib-src.
17276 # It's better to believe a function is not available
17277 # than to expect to find it in ncurses.
17279 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
17280 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
17281 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 ac_check_lib_save_LIBS
=$LIBS
17285 LIBS
="-lncurses $LIBS"
17286 cat >conftest.
$ac_ext <<_ACEOF
17289 cat confdefs.h
>>conftest.
$ac_ext
17290 cat >>conftest.
$ac_ext <<_ACEOF
17291 /* end confdefs.h. */
17293 /* Override any gcc2 internal prototype to avoid an error. */
17297 /* We use char because int might match the return type of a gcc2
17298 builtin and then its argument prototype would still apply. */
17308 rm -f conftest.
$ac_objext conftest
$ac_exeext
17309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17310 (eval $ac_link) 2>conftest.er1
17312 grep -v '^ *+' conftest.er1
>conftest.err
17314 cat conftest.err
>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } &&
17317 { ac_try
='test -z "$ac_c_werror_flag"
17318 || test ! -s conftest.err'
17319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17320 (eval $ac_try) 2>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); }; } &&
17324 { ac_try
='test -s conftest$ac_exeext'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326 (eval $ac_try) 2>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; }; then
17330 ac_cv_lib_ncurses_tparm
=yes
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.
$ac_ext >&5
17335 ac_cv_lib_ncurses_tparm
=no
17337 rm -f conftest.err conftest.
$ac_objext \
17338 conftest
$ac_exeext conftest.
$ac_ext
17339 LIBS
=$ac_check_lib_save_LIBS
17341 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
17342 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
17343 if test $ac_cv_lib_ncurses_tparm = yes; then
17344 cat >>confdefs.h
<<_ACEOF
17345 #define HAVE_LIBNCURSES 1
17348 LIBS
="-lncurses $LIBS"
17353 # Do we need the Hesiod library to provide the support routines?
17354 if test "$with_hesiod" = yes ; then
17355 # Don't set $LIBS here -- see comments above.
17357 echo "$as_me:$LINENO: checking for res_send" >&5
17358 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
17359 if test "${ac_cv_func_res_send+set}" = set; then
17360 echo $ECHO_N "(cached) $ECHO_C" >&6
17362 cat >conftest.
$ac_ext <<_ACEOF
17365 cat confdefs.h
>>conftest.
$ac_ext
17366 cat >>conftest.
$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17368 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
17369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17370 #define res_send innocuous_res_send
17372 /* System header to define __stub macros and hopefully few prototypes,
17373 which can conflict with char res_send (); below.
17374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17375 <limits.h> exists even on freestanding compilers. */
17378 # include <limits.h>
17380 # include <assert.h>
17385 /* Override any gcc2 internal prototype to avoid an error. */
17390 /* We use char because int might match the return type of a gcc2
17391 builtin and then its argument prototype would still apply. */
17393 /* The GNU C library defines this for functions which it implements
17394 to always fail with ENOSYS. Some functions are actually named
17395 something starting with __ and the normal name is an alias. */
17396 #if defined (__stub_res_send) || defined (__stub___res_send)
17399 char (*f) () = res_send;
17408 return f != res_send;
17413 rm -f conftest.
$ac_objext conftest
$ac_exeext
17414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17415 (eval $ac_link) 2>conftest.er1
17417 grep -v '^ *+' conftest.er1
>conftest.err
17419 cat conftest.err
>&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); } &&
17422 { ac_try
='test -z "$ac_c_werror_flag"
17423 || test ! -s conftest.err'
17424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17425 (eval $ac_try) 2>&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); }; } &&
17429 { ac_try
='test -s conftest$ac_exeext'
17430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431 (eval $ac_try) 2>&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; }; then
17435 ac_cv_func_res_send
=yes
17437 echo "$as_me: failed program was:" >&5
17438 sed 's/^/| /' conftest.
$ac_ext >&5
17440 ac_cv_func_res_send
=no
17442 rm -f conftest.err conftest.
$ac_objext \
17443 conftest
$ac_exeext conftest.
$ac_ext
17445 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
17446 echo "${ECHO_T}$ac_cv_func_res_send" >&6
17447 if test $ac_cv_func_res_send = yes; then
17450 echo "$as_me:$LINENO: checking for __res_send" >&5
17451 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
17452 if test "${ac_cv_func___res_send+set}" = set; then
17453 echo $ECHO_N "(cached) $ECHO_C" >&6
17455 cat >conftest.
$ac_ext <<_ACEOF
17458 cat confdefs.h
>>conftest.
$ac_ext
17459 cat >>conftest.
$ac_ext <<_ACEOF
17460 /* end confdefs.h. */
17461 /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send.
17462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17463 #define __res_send innocuous___res_send
17465 /* System header to define __stub macros and hopefully few prototypes,
17466 which can conflict with char __res_send (); below.
17467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17468 <limits.h> exists even on freestanding compilers. */
17471 # include <limits.h>
17473 # include <assert.h>
17478 /* Override any gcc2 internal prototype to avoid an error. */
17483 /* We use char because int might match the return type of a gcc2
17484 builtin and then its argument prototype would still apply. */
17485 char __res_send ();
17486 /* The GNU C library defines this for functions which it implements
17487 to always fail with ENOSYS. Some functions are actually named
17488 something starting with __ and the normal name is an alias. */
17489 #if defined (__stub___res_send) || defined (__stub_____res_send)
17492 char (*f) () = __res_send;
17501 return f != __res_send;
17506 rm -f conftest.
$ac_objext conftest
$ac_exeext
17507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17508 (eval $ac_link) 2>conftest.er1
17510 grep -v '^ *+' conftest.er1
>conftest.err
17512 cat conftest.err
>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); } &&
17515 { ac_try
='test -z "$ac_c_werror_flag"
17516 || test ! -s conftest.err'
17517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17518 (eval $ac_try) 2>&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); }; } &&
17522 { ac_try
='test -s conftest$ac_exeext'
17523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17524 (eval $ac_try) 2>&5
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); }; }; then
17528 ac_cv_func___res_send
=yes
17530 echo "$as_me: failed program was:" >&5
17531 sed 's/^/| /' conftest.
$ac_ext >&5
17533 ac_cv_func___res_send
=no
17535 rm -f conftest.err conftest.
$ac_objext \
17536 conftest
$ac_exeext conftest.
$ac_ext
17538 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
17539 echo "${ECHO_T}$ac_cv_func___res_send" >&6
17540 if test $ac_cv_func___res_send = yes; then
17543 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
17544 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
17545 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
17546 echo $ECHO_N "(cached) $ECHO_C" >&6
17548 ac_check_lib_save_LIBS
=$LIBS
17549 LIBS
="-lresolv $LIBS"
17550 cat >conftest.
$ac_ext <<_ACEOF
17553 cat confdefs.h
>>conftest.
$ac_ext
17554 cat >>conftest.
$ac_ext <<_ACEOF
17555 /* end confdefs.h. */
17557 /* Override any gcc2 internal prototype to avoid an error. */
17561 /* We use char because int might match the return type of a gcc2
17562 builtin and then its argument prototype would still apply. */
17572 rm -f conftest.
$ac_objext conftest
$ac_exeext
17573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17574 (eval $ac_link) 2>conftest.er1
17576 grep -v '^ *+' conftest.er1
>conftest.err
17578 cat conftest.err
>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } &&
17581 { ac_try
='test -z "$ac_c_werror_flag"
17582 || test ! -s conftest.err'
17583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17584 (eval $ac_try) 2>&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); }; } &&
17588 { ac_try
='test -s conftest$ac_exeext'
17589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17590 (eval $ac_try) 2>&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); }; }; then
17594 ac_cv_lib_resolv_res_send
=yes
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.
$ac_ext >&5
17599 ac_cv_lib_resolv_res_send
=no
17601 rm -f conftest.err conftest.
$ac_objext \
17602 conftest
$ac_exeext conftest.
$ac_ext
17603 LIBS
=$ac_check_lib_save_LIBS
17605 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
17606 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
17607 if test $ac_cv_lib_resolv_res_send = yes; then
17610 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
17611 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
17612 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
17613 echo $ECHO_N "(cached) $ECHO_C" >&6
17615 ac_check_lib_save_LIBS
=$LIBS
17616 LIBS
="-lresolv $LIBS"
17617 cat >conftest.
$ac_ext <<_ACEOF
17620 cat confdefs.h
>>conftest.
$ac_ext
17621 cat >>conftest.
$ac_ext <<_ACEOF
17622 /* end confdefs.h. */
17624 /* Override any gcc2 internal prototype to avoid an error. */
17628 /* We use char because int might match the return type of a gcc2
17629 builtin and then its argument prototype would still apply. */
17630 char __res_send ();
17639 rm -f conftest.
$ac_objext conftest
$ac_exeext
17640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17641 (eval $ac_link) 2>conftest.er1
17643 grep -v '^ *+' conftest.er1
>conftest.err
17645 cat conftest.err
>&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); } &&
17648 { ac_try
='test -z "$ac_c_werror_flag"
17649 || test ! -s conftest.err'
17650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17651 (eval $ac_try) 2>&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); }; } &&
17655 { ac_try
='test -s conftest$ac_exeext'
17656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17657 (eval $ac_try) 2>&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; }; then
17661 ac_cv_lib_resolv___res_send
=yes
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.
$ac_ext >&5
17666 ac_cv_lib_resolv___res_send
=no
17668 rm -f conftest.err conftest.
$ac_objext \
17669 conftest
$ac_exeext conftest.
$ac_ext
17670 LIBS
=$ac_check_lib_save_LIBS
17672 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
17673 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
17674 if test $ac_cv_lib_resolv___res_send = yes; then
17684 if test "$resolv" = yes ; then
17687 cat >>confdefs.h
<<\_ACEOF
17688 #define HAVE_LIBRESOLV 1
17694 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
17695 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
17696 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17699 cat >conftest.
$ac_ext <<_ACEOF
17702 cat confdefs.h
>>conftest.
$ac_ext
17703 cat >>conftest.
$ac_ext <<_ACEOF
17704 /* end confdefs.h. */
17705 /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost.
17706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17707 #define hes_getmailhost innocuous_hes_getmailhost
17709 /* System header to define __stub macros and hopefully few prototypes,
17710 which can conflict with char hes_getmailhost (); below.
17711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17712 <limits.h> exists even on freestanding compilers. */
17715 # include <limits.h>
17717 # include <assert.h>
17720 #undef hes_getmailhost
17722 /* Override any gcc2 internal prototype to avoid an error. */
17727 /* We use char because int might match the return type of a gcc2
17728 builtin and then its argument prototype would still apply. */
17729 char hes_getmailhost ();
17730 /* The GNU C library defines this for functions which it implements
17731 to always fail with ENOSYS. Some functions are actually named
17732 something starting with __ and the normal name is an alias. */
17733 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost)
17736 char (*f) () = hes_getmailhost;
17745 return f != hes_getmailhost;
17750 rm -f conftest.
$ac_objext conftest
$ac_exeext
17751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17752 (eval $ac_link) 2>conftest.er1
17754 grep -v '^ *+' conftest.er1
>conftest.err
17756 cat conftest.err
>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } &&
17759 { ac_try
='test -z "$ac_c_werror_flag"
17760 || test ! -s conftest.err'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; } &&
17766 { ac_try
='test -s conftest$ac_exeext'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; }; then
17772 ac_cv_func_hes_getmailhost
=yes
17774 echo "$as_me: failed program was:" >&5
17775 sed 's/^/| /' conftest.
$ac_ext >&5
17777 ac_cv_func_hes_getmailhost
=no
17779 rm -f conftest.err conftest.
$ac_objext \
17780 conftest
$ac_exeext conftest.
$ac_ext
17782 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
17783 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
17784 if test $ac_cv_func_hes_getmailhost = yes; then
17787 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
17788 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
17789 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
17790 echo $ECHO_N "(cached) $ECHO_C" >&6
17792 ac_check_lib_save_LIBS
=$LIBS
17793 LIBS
="-lhesiod $RESOLVLIB $LIBS"
17794 cat >conftest.
$ac_ext <<_ACEOF
17797 cat confdefs.h
>>conftest.
$ac_ext
17798 cat >>conftest.
$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17801 /* Override any gcc2 internal prototype to avoid an error. */
17805 /* We use char because int might match the return type of a gcc2
17806 builtin and then its argument prototype would still apply. */
17807 char hes_getmailhost ();
17811 hes_getmailhost ();
17816 rm -f conftest.
$ac_objext conftest
$ac_exeext
17817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17818 (eval $ac_link) 2>conftest.er1
17820 grep -v '^ *+' conftest.er1
>conftest.err
17822 cat conftest.err
>&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); } &&
17825 { ac_try
='test -z "$ac_c_werror_flag"
17826 || test ! -s conftest.err'
17827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17828 (eval $ac_try) 2>&5
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); }; } &&
17832 { ac_try
='test -s conftest$ac_exeext'
17833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17834 (eval $ac_try) 2>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); }; }; then
17838 ac_cv_lib_hesiod_hes_getmailhost
=yes
17840 echo "$as_me: failed program was:" >&5
17841 sed 's/^/| /' conftest.
$ac_ext >&5
17843 ac_cv_lib_hesiod_hes_getmailhost
=no
17845 rm -f conftest.err conftest.
$ac_objext \
17846 conftest
$ac_exeext conftest.
$ac_ext
17847 LIBS
=$ac_check_lib_save_LIBS
17849 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
17850 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
17851 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
17853 cat >>confdefs.h
<<\_ACEOF
17854 #define HAVE_LIBHESIOD 1
17865 # These tell us which Kerberos-related libraries to use.
17866 if test "${with_kerberos+set}" = set; then
17868 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
17869 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
17870 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
17871 echo $ECHO_N "(cached) $ECHO_C" >&6
17873 ac_check_lib_save_LIBS
=$LIBS
17874 LIBS
="-lcom_err $LIBS"
17875 cat >conftest.
$ac_ext <<_ACEOF
17878 cat confdefs.h
>>conftest.
$ac_ext
17879 cat >>conftest.
$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17882 /* Override any gcc2 internal prototype to avoid an error. */
17886 /* We use char because int might match the return type of a gcc2
17887 builtin and then its argument prototype would still apply. */
17897 rm -f conftest.
$ac_objext conftest
$ac_exeext
17898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17899 (eval $ac_link) 2>conftest.er1
17901 grep -v '^ *+' conftest.er1
>conftest.err
17903 cat conftest.err
>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } &&
17906 { ac_try
='test -z "$ac_c_werror_flag"
17907 || test ! -s conftest.err'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; } &&
17913 { ac_try
='test -s conftest$ac_exeext'
17914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915 (eval $ac_try) 2>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; }; then
17919 ac_cv_lib_com_err_com_err
=yes
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.
$ac_ext >&5
17924 ac_cv_lib_com_err_com_err
=no
17926 rm -f conftest.err conftest.
$ac_objext \
17927 conftest
$ac_exeext conftest.
$ac_ext
17928 LIBS
=$ac_check_lib_save_LIBS
17930 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
17931 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
17932 if test $ac_cv_lib_com_err_com_err = yes; then
17933 cat >>confdefs.h
<<_ACEOF
17934 #define HAVE_LIBCOM_ERR 1
17937 LIBS
="-lcom_err $LIBS"
17942 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
17943 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
17944 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 ac_check_lib_save_LIBS
=$LIBS
17948 LIBS
="-lk5crypto $LIBS"
17949 cat >conftest.
$ac_ext <<_ACEOF
17952 cat confdefs.h
>>conftest.
$ac_ext
17953 cat >>conftest.
$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17956 /* Override any gcc2 internal prototype to avoid an error. */
17960 /* We use char because int might match the return type of a gcc2
17961 builtin and then its argument prototype would still apply. */
17962 char mit_des_cbc_encrypt ();
17966 mit_des_cbc_encrypt ();
17971 rm -f conftest.
$ac_objext conftest
$ac_exeext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17973 (eval $ac_link) 2>conftest.er1
17975 grep -v '^ *+' conftest.er1
>conftest.err
17977 cat conftest.err
>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try
='test -z "$ac_c_werror_flag"
17981 || test ! -s conftest.err'
17982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 (eval $ac_try) 2>&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; } &&
17987 { ac_try
='test -s conftest$ac_exeext'
17988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989 (eval $ac_try) 2>&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); }; }; then
17993 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=yes
17995 echo "$as_me: failed program was:" >&5
17996 sed 's/^/| /' conftest.
$ac_ext >&5
17998 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=no
18000 rm -f conftest.err conftest.
$ac_objext \
18001 conftest
$ac_exeext conftest.
$ac_ext
18002 LIBS
=$ac_check_lib_save_LIBS
18004 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
18005 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
18006 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
18007 cat >>confdefs.h
<<_ACEOF
18008 #define HAVE_LIBK5CRYPTO 1
18011 LIBS
="-lk5crypto $LIBS"
18016 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
18017 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
18018 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
18019 echo $ECHO_N "(cached) $ECHO_C" >&6
18021 ac_check_lib_save_LIBS
=$LIBS
18022 LIBS
="-lcrypto $LIBS"
18023 cat >conftest.
$ac_ext <<_ACEOF
18026 cat confdefs.h
>>conftest.
$ac_ext
18027 cat >>conftest.
$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18030 /* Override any gcc2 internal prototype to avoid an error. */
18034 /* We use char because int might match the return type of a gcc2
18035 builtin and then its argument prototype would still apply. */
18036 char mit_des_cbc_encrypt ();
18040 mit_des_cbc_encrypt ();
18045 rm -f conftest.
$ac_objext conftest
$ac_exeext
18046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18047 (eval $ac_link) 2>conftest.er1
18049 grep -v '^ *+' conftest.er1
>conftest.err
18051 cat conftest.err
>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } &&
18054 { ac_try
='test -z "$ac_c_werror_flag"
18055 || test ! -s conftest.err'
18056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18057 (eval $ac_try) 2>&5
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); }; } &&
18061 { ac_try
='test -s conftest$ac_exeext'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; }; then
18067 ac_cv_lib_crypto_mit_des_cbc_encrypt
=yes
18069 echo "$as_me: failed program was:" >&5
18070 sed 's/^/| /' conftest.
$ac_ext >&5
18072 ac_cv_lib_crypto_mit_des_cbc_encrypt
=no
18074 rm -f conftest.err conftest.
$ac_objext \
18075 conftest
$ac_exeext conftest.
$ac_ext
18076 LIBS
=$ac_check_lib_save_LIBS
18078 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
18079 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
18080 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
18081 cat >>confdefs.h
<<_ACEOF
18082 #define HAVE_LIBCRYPTO 1
18085 LIBS
="-lcrypto $LIBS"
18090 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
18091 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
18092 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
18093 echo $ECHO_N "(cached) $ECHO_C" >&6
18095 ac_check_lib_save_LIBS
=$LIBS
18096 LIBS
="-lkrb5 $LIBS"
18097 cat >conftest.
$ac_ext <<_ACEOF
18100 cat confdefs.h
>>conftest.
$ac_ext
18101 cat >>conftest.
$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18104 /* Override any gcc2 internal prototype to avoid an error. */
18108 /* We use char because int might match the return type of a gcc2
18109 builtin and then its argument prototype would still apply. */
18110 char krb5_init_context ();
18114 krb5_init_context ();
18119 rm -f conftest.
$ac_objext conftest
$ac_exeext
18120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18121 (eval $ac_link) 2>conftest.er1
18123 grep -v '^ *+' conftest.er1
>conftest.err
18125 cat conftest.err
>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); } &&
18128 { ac_try
='test -z "$ac_c_werror_flag"
18129 || test ! -s conftest.err'
18130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131 (eval $ac_try) 2>&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); }; } &&
18135 { ac_try
='test -s conftest$ac_exeext'
18136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18137 (eval $ac_try) 2>&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); }; }; then
18141 ac_cv_lib_krb5_krb5_init_context
=yes
18143 echo "$as_me: failed program was:" >&5
18144 sed 's/^/| /' conftest.
$ac_ext >&5
18146 ac_cv_lib_krb5_krb5_init_context
=no
18148 rm -f conftest.err conftest.
$ac_objext \
18149 conftest
$ac_exeext conftest.
$ac_ext
18150 LIBS
=$ac_check_lib_save_LIBS
18152 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
18153 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
18154 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
18155 cat >>confdefs.h
<<_ACEOF
18156 #define HAVE_LIBKRB5 1
18159 LIBS
="-lkrb5 $LIBS"
18163 if test "${with_kerberos5+set}" != set; then
18165 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
18166 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
18167 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 ac_check_lib_save_LIBS
=$LIBS
18171 LIBS
="-ldes425 $LIBS"
18172 cat >conftest.
$ac_ext <<_ACEOF
18175 cat confdefs.h
>>conftest.
$ac_ext
18176 cat >>conftest.
$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18179 /* Override any gcc2 internal prototype to avoid an error. */
18183 /* We use char because int might match the return type of a gcc2
18184 builtin and then its argument prototype would still apply. */
18185 char des_cbc_encrypt ();
18189 des_cbc_encrypt ();
18194 rm -f conftest.
$ac_objext conftest
$ac_exeext
18195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18196 (eval $ac_link) 2>conftest.er1
18198 grep -v '^ *+' conftest.er1
>conftest.err
18200 cat conftest.err
>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } &&
18203 { ac_try
='test -z "$ac_c_werror_flag"
18204 || test ! -s conftest.err'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; } &&
18210 { ac_try
='test -s conftest$ac_exeext'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; }; then
18216 ac_cv_lib_des425_des_cbc_encrypt
=yes
18218 echo "$as_me: failed program was:" >&5
18219 sed 's/^/| /' conftest.
$ac_ext >&5
18221 ac_cv_lib_des425_des_cbc_encrypt
=no
18223 rm -f conftest.err conftest.
$ac_objext \
18224 conftest
$ac_exeext conftest.
$ac_ext
18225 LIBS
=$ac_check_lib_save_LIBS
18227 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
18228 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
18229 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
18230 cat >>confdefs.h
<<_ACEOF
18231 #define HAVE_LIBDES425 1
18234 LIBS
="-ldes425 $LIBS"
18238 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
18239 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
18240 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
18241 echo $ECHO_N "(cached) $ECHO_C" >&6
18243 ac_check_lib_save_LIBS
=$LIBS
18245 cat >conftest.
$ac_ext <<_ACEOF
18248 cat confdefs.h
>>conftest.
$ac_ext
18249 cat >>conftest.
$ac_ext <<_ACEOF
18250 /* end confdefs.h. */
18252 /* Override any gcc2 internal prototype to avoid an error. */
18256 /* We use char because int might match the return type of a gcc2
18257 builtin and then its argument prototype would still apply. */
18258 char des_cbc_encrypt ();
18262 des_cbc_encrypt ();
18267 rm -f conftest.
$ac_objext conftest
$ac_exeext
18268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18269 (eval $ac_link) 2>conftest.er1
18271 grep -v '^ *+' conftest.er1
>conftest.err
18273 cat conftest.err
>&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); } &&
18276 { ac_try
='test -z "$ac_c_werror_flag"
18277 || test ! -s conftest.err'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; } &&
18283 { ac_try
='test -s conftest$ac_exeext'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; }; then
18289 ac_cv_lib_des_des_cbc_encrypt
=yes
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.
$ac_ext >&5
18294 ac_cv_lib_des_des_cbc_encrypt
=no
18296 rm -f conftest.err conftest.
$ac_objext \
18297 conftest
$ac_exeext conftest.
$ac_ext
18298 LIBS
=$ac_check_lib_save_LIBS
18300 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
18301 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
18302 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
18303 cat >>confdefs.h
<<_ACEOF
18304 #define HAVE_LIBDES 1
18314 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
18315 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
18316 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
18317 echo $ECHO_N "(cached) $ECHO_C" >&6
18319 ac_check_lib_save_LIBS
=$LIBS
18320 LIBS
="-lkrb4 $LIBS"
18321 cat >conftest.
$ac_ext <<_ACEOF
18324 cat confdefs.h
>>conftest.
$ac_ext
18325 cat >>conftest.
$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18328 /* Override any gcc2 internal prototype to avoid an error. */
18332 /* We use char because int might match the return type of a gcc2
18333 builtin and then its argument prototype would still apply. */
18334 char krb_get_cred ();
18343 rm -f conftest.
$ac_objext conftest
$ac_exeext
18344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18345 (eval $ac_link) 2>conftest.er1
18347 grep -v '^ *+' conftest.er1
>conftest.err
18349 cat conftest.err
>&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } &&
18352 { ac_try
='test -z "$ac_c_werror_flag"
18353 || test ! -s conftest.err'
18354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18355 (eval $ac_try) 2>&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); }; } &&
18359 { ac_try
='test -s conftest$ac_exeext'
18360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18361 (eval $ac_try) 2>&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; }; then
18365 ac_cv_lib_krb4_krb_get_cred
=yes
18367 echo "$as_me: failed program was:" >&5
18368 sed 's/^/| /' conftest.
$ac_ext >&5
18370 ac_cv_lib_krb4_krb_get_cred
=no
18372 rm -f conftest.err conftest.
$ac_objext \
18373 conftest
$ac_exeext conftest.
$ac_ext
18374 LIBS
=$ac_check_lib_save_LIBS
18376 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
18377 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
18378 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
18379 cat >>confdefs.h
<<_ACEOF
18380 #define HAVE_LIBKRB4 1
18383 LIBS
="-lkrb4 $LIBS"
18387 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
18388 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
18389 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
18390 echo $ECHO_N "(cached) $ECHO_C" >&6
18392 ac_check_lib_save_LIBS
=$LIBS
18394 cat >conftest.
$ac_ext <<_ACEOF
18397 cat confdefs.h
>>conftest.
$ac_ext
18398 cat >>conftest.
$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18401 /* Override any gcc2 internal prototype to avoid an error. */
18405 /* We use char because int might match the return type of a gcc2
18406 builtin and then its argument prototype would still apply. */
18407 char krb_get_cred ();
18416 rm -f conftest.
$ac_objext conftest
$ac_exeext
18417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18418 (eval $ac_link) 2>conftest.er1
18420 grep -v '^ *+' conftest.er1
>conftest.err
18422 cat conftest.err
>&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); } &&
18425 { ac_try
='test -z "$ac_c_werror_flag"
18426 || test ! -s conftest.err'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; } &&
18432 { ac_try
='test -s conftest$ac_exeext'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; }; then
18438 ac_cv_lib_krb_krb_get_cred
=yes
18440 echo "$as_me: failed program was:" >&5
18441 sed 's/^/| /' conftest.
$ac_ext >&5
18443 ac_cv_lib_krb_krb_get_cred
=no
18445 rm -f conftest.err conftest.
$ac_objext \
18446 conftest
$ac_exeext conftest.
$ac_ext
18447 LIBS
=$ac_check_lib_save_LIBS
18449 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
18450 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
18451 if test $ac_cv_lib_krb_krb_get_cred = yes; then
18452 cat >>confdefs.h
<<_ACEOF
18453 #define HAVE_LIBKRB 1
18464 if test "${with_kerberos5+set}" = set; then
18466 for ac_header
in krb5.h
18468 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18470 echo "$as_me:$LINENO: checking for $ac_header" >&5
18471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18473 echo $ECHO_N "(cached) $ECHO_C" >&6
18475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18476 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18478 # Is the header compilable?
18479 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18480 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18481 cat >conftest.
$ac_ext <<_ACEOF
18484 cat confdefs.h
>>conftest.
$ac_ext
18485 cat >>conftest.
$ac_ext <<_ACEOF
18486 /* end confdefs.h. */
18487 $ac_includes_default
18488 #include <$ac_header>
18490 rm -f conftest.
$ac_objext
18491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18492 (eval $ac_compile) 2>conftest.er1
18494 grep -v '^ *+' conftest.er1
>conftest.err
18496 cat conftest.err
>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } &&
18499 { ac_try
='test -z "$ac_c_werror_flag"
18500 || test ! -s conftest.err'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; } &&
18506 { ac_try
='test -s conftest.$ac_objext'
18507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18508 (eval $ac_try) 2>&5
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); }; }; then
18512 ac_header_compiler
=yes
18514 echo "$as_me: failed program was:" >&5
18515 sed 's/^/| /' conftest.
$ac_ext >&5
18517 ac_header_compiler
=no
18519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18520 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18521 echo "${ECHO_T}$ac_header_compiler" >&6
18523 # Is the header present?
18524 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18525 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18526 cat >conftest.
$ac_ext <<_ACEOF
18529 cat confdefs.h
>>conftest.
$ac_ext
18530 cat >>conftest.
$ac_ext <<_ACEOF
18531 /* end confdefs.h. */
18532 #include <$ac_header>
18534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18535 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18537 grep -v '^ *+' conftest.er1
>conftest.err
18539 cat conftest.err
>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } >/dev
/null
; then
18542 if test -s conftest.err
; then
18543 ac_cpp_err
=$ac_c_preproc_warn_flag
18544 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18551 if test -z "$ac_cpp_err"; then
18552 ac_header_preproc
=yes
18554 echo "$as_me: failed program was:" >&5
18555 sed 's/^/| /' conftest.
$ac_ext >&5
18557 ac_header_preproc
=no
18559 rm -f conftest.err conftest.
$ac_ext
18560 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18561 echo "${ECHO_T}$ac_header_preproc" >&6
18563 # So? What about this header?
18564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18566 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18567 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18569 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18570 ac_header_preproc
=yes
18573 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18574 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18575 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18576 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18577 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18578 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18579 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18580 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18583 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18584 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18587 ## ------------------------------------------ ##
18588 ## Report this to the AC_PACKAGE_NAME lists. ##
18589 ## ------------------------------------------ ##
18592 sed "s/^/$as_me: WARNING: /" >&2
18595 echo "$as_me:$LINENO: checking for $ac_header" >&5
18596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18598 echo $ECHO_N "(cached) $ECHO_C" >&6
18600 eval "$as_ac_Header=\$ac_header_preproc"
18602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18607 cat >>confdefs.h
<<_ACEOF
18608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18617 for ac_header
in des.h
18619 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18621 echo "$as_me:$LINENO: checking for $ac_header" >&5
18622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18624 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18629 # Is the header compilable?
18630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18632 cat >conftest.
$ac_ext <<_ACEOF
18635 cat confdefs.h
>>conftest.
$ac_ext
18636 cat >>conftest.
$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 $ac_includes_default
18639 #include <$ac_header>
18641 rm -f conftest.
$ac_objext
18642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18643 (eval $ac_compile) 2>conftest.er1
18645 grep -v '^ *+' conftest.er1
>conftest.err
18647 cat conftest.err
>&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); } &&
18650 { ac_try
='test -z "$ac_c_werror_flag"
18651 || test ! -s conftest.err'
18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653 (eval $ac_try) 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; } &&
18657 { ac_try
='test -s conftest.$ac_objext'
18658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18659 (eval $ac_try) 2>&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); }; }; then
18663 ac_header_compiler
=yes
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.
$ac_ext >&5
18668 ac_header_compiler
=no
18670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18672 echo "${ECHO_T}$ac_header_compiler" >&6
18674 # Is the header present?
18675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18677 cat >conftest.
$ac_ext <<_ACEOF
18680 cat confdefs.h
>>conftest.
$ac_ext
18681 cat >>conftest.
$ac_ext <<_ACEOF
18682 /* end confdefs.h. */
18683 #include <$ac_header>
18685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18688 grep -v '^ *+' conftest.er1
>conftest.err
18690 cat conftest.err
>&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); } >/dev
/null
; then
18693 if test -s conftest.err
; then
18694 ac_cpp_err
=$ac_c_preproc_warn_flag
18695 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18702 if test -z "$ac_cpp_err"; then
18703 ac_header_preproc
=yes
18705 echo "$as_me: failed program was:" >&5
18706 sed 's/^/| /' conftest.
$ac_ext >&5
18708 ac_header_preproc
=no
18710 rm -f conftest.err conftest.
$ac_ext
18711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18712 echo "${ECHO_T}$ac_header_preproc" >&6
18714 # So? What about this header?
18715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18721 ac_header_preproc
=yes
18724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18738 ## ------------------------------------------ ##
18739 ## Report this to the AC_PACKAGE_NAME lists. ##
18740 ## ------------------------------------------ ##
18743 sed "s/^/$as_me: WARNING: /" >&2
18746 echo "$as_me:$LINENO: checking for $ac_header" >&5
18747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18749 echo $ECHO_N "(cached) $ECHO_C" >&6
18751 eval "$as_ac_Header=\$ac_header_preproc"
18753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18758 cat >>confdefs.h
<<_ACEOF
18759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18764 for ac_header
in kerberosIV
/des.h
18766 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18768 echo "$as_me:$LINENO: checking for $ac_header" >&5
18769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18771 echo $ECHO_N "(cached) $ECHO_C" >&6
18773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18776 # Is the header compilable?
18777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18779 cat >conftest.
$ac_ext <<_ACEOF
18782 cat confdefs.h
>>conftest.
$ac_ext
18783 cat >>conftest.
$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 $ac_includes_default
18786 #include <$ac_header>
18788 rm -f conftest.
$ac_objext
18789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18790 (eval $ac_compile) 2>conftest.er1
18792 grep -v '^ *+' conftest.er1
>conftest.err
18794 cat conftest.err
>&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } &&
18797 { ac_try
='test -z "$ac_c_werror_flag"
18798 || test ! -s conftest.err'
18799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18800 (eval $ac_try) 2>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; } &&
18804 { ac_try
='test -s conftest.$ac_objext'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; }; then
18810 ac_header_compiler
=yes
18812 echo "$as_me: failed program was:" >&5
18813 sed 's/^/| /' conftest.
$ac_ext >&5
18815 ac_header_compiler
=no
18817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18819 echo "${ECHO_T}$ac_header_compiler" >&6
18821 # Is the header present?
18822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18824 cat >conftest.
$ac_ext <<_ACEOF
18827 cat confdefs.h
>>conftest.
$ac_ext
18828 cat >>conftest.
$ac_ext <<_ACEOF
18829 /* end confdefs.h. */
18830 #include <$ac_header>
18832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18833 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18835 grep -v '^ *+' conftest.er1
>conftest.err
18837 cat conftest.err
>&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); } >/dev
/null
; then
18840 if test -s conftest.err
; then
18841 ac_cpp_err
=$ac_c_preproc_warn_flag
18842 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18849 if test -z "$ac_cpp_err"; then
18850 ac_header_preproc
=yes
18852 echo "$as_me: failed program was:" >&5
18853 sed 's/^/| /' conftest.
$ac_ext >&5
18855 ac_header_preproc
=no
18857 rm -f conftest.err conftest.
$ac_ext
18858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18859 echo "${ECHO_T}$ac_header_preproc" >&6
18861 # So? What about this header?
18862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18868 ac_header_preproc
=yes
18871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18875 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18877 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18878 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18881 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18885 ## ------------------------------------------ ##
18886 ## Report this to the AC_PACKAGE_NAME lists. ##
18887 ## ------------------------------------------ ##
18890 sed "s/^/$as_me: WARNING: /" >&2
18893 echo "$as_me:$LINENO: checking for $ac_header" >&5
18894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18896 echo $ECHO_N "(cached) $ECHO_C" >&6
18898 eval "$as_ac_Header=\$ac_header_preproc"
18900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18905 cat >>confdefs.h
<<_ACEOF
18906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18911 for ac_header
in kerberos
/des.h
18913 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18915 echo "$as_me:$LINENO: checking for $ac_header" >&5
18916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18918 echo $ECHO_N "(cached) $ECHO_C" >&6
18920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18923 # Is the header compilable?
18924 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18926 cat >conftest.
$ac_ext <<_ACEOF
18929 cat confdefs.h
>>conftest.
$ac_ext
18930 cat >>conftest.
$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 $ac_includes_default
18933 #include <$ac_header>
18935 rm -f conftest.
$ac_objext
18936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18937 (eval $ac_compile) 2>conftest.er1
18939 grep -v '^ *+' conftest.er1
>conftest.err
18941 cat conftest.err
>&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); } &&
18944 { ac_try
='test -z "$ac_c_werror_flag"
18945 || test ! -s conftest.err'
18946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18947 (eval $ac_try) 2>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); }; } &&
18951 { ac_try
='test -s conftest.$ac_objext'
18952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953 (eval $ac_try) 2>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); }; }; then
18957 ac_header_compiler
=yes
18959 echo "$as_me: failed program was:" >&5
18960 sed 's/^/| /' conftest.
$ac_ext >&5
18962 ac_header_compiler
=no
18964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18966 echo "${ECHO_T}$ac_header_compiler" >&6
18968 # Is the header present?
18969 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18970 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18971 cat >conftest.
$ac_ext <<_ACEOF
18974 cat confdefs.h
>>conftest.
$ac_ext
18975 cat >>conftest.
$ac_ext <<_ACEOF
18976 /* end confdefs.h. */
18977 #include <$ac_header>
18979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18980 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18982 grep -v '^ *+' conftest.er1
>conftest.err
18984 cat conftest.err
>&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } >/dev
/null
; then
18987 if test -s conftest.err
; then
18988 ac_cpp_err
=$ac_c_preproc_warn_flag
18989 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18996 if test -z "$ac_cpp_err"; then
18997 ac_header_preproc
=yes
18999 echo "$as_me: failed program was:" >&5
19000 sed 's/^/| /' conftest.
$ac_ext >&5
19002 ac_header_preproc
=no
19004 rm -f conftest.err conftest.
$ac_ext
19005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19006 echo "${ECHO_T}$ac_header_preproc" >&6
19008 # So? What about this header?
19009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19011 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19014 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19015 ac_header_preproc
=yes
19018 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19020 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19021 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19022 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19023 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19024 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19025 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19028 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19029 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19032 ## ------------------------------------------ ##
19033 ## Report this to the AC_PACKAGE_NAME lists. ##
19034 ## ------------------------------------------ ##
19037 sed "s/^/$as_me: WARNING: /" >&2
19040 echo "$as_me:$LINENO: checking for $ac_header" >&5
19041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19043 echo $ECHO_N "(cached) $ECHO_C" >&6
19045 eval "$as_ac_Header=\$ac_header_preproc"
19047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19051 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19052 cat >>confdefs.h
<<_ACEOF
19053 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19069 for ac_header
in krb.h
19071 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19073 echo "$as_me:$LINENO: checking for $ac_header" >&5
19074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19076 echo $ECHO_N "(cached) $ECHO_C" >&6
19078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19081 # Is the header compilable?
19082 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19084 cat >conftest.
$ac_ext <<_ACEOF
19087 cat confdefs.h
>>conftest.
$ac_ext
19088 cat >>conftest.
$ac_ext <<_ACEOF
19089 /* end confdefs.h. */
19090 $ac_includes_default
19091 #include <$ac_header>
19093 rm -f conftest.
$ac_objext
19094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19095 (eval $ac_compile) 2>conftest.er1
19097 grep -v '^ *+' conftest.er1
>conftest.err
19099 cat conftest.err
>&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); } &&
19102 { ac_try
='test -z "$ac_c_werror_flag"
19103 || test ! -s conftest.err'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; } &&
19109 { ac_try
='test -s conftest.$ac_objext'
19110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19111 (eval $ac_try) 2>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); }; }; then
19115 ac_header_compiler
=yes
19117 echo "$as_me: failed program was:" >&5
19118 sed 's/^/| /' conftest.
$ac_ext >&5
19120 ac_header_compiler
=no
19122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19124 echo "${ECHO_T}$ac_header_compiler" >&6
19126 # Is the header present?
19127 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19129 cat >conftest.
$ac_ext <<_ACEOF
19132 cat confdefs.h
>>conftest.
$ac_ext
19133 cat >>conftest.
$ac_ext <<_ACEOF
19134 /* end confdefs.h. */
19135 #include <$ac_header>
19137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19138 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19140 grep -v '^ *+' conftest.er1
>conftest.err
19142 cat conftest.err
>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } >/dev
/null
; then
19145 if test -s conftest.err
; then
19146 ac_cpp_err
=$ac_c_preproc_warn_flag
19147 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19154 if test -z "$ac_cpp_err"; then
19155 ac_header_preproc
=yes
19157 echo "$as_me: failed program was:" >&5
19158 sed 's/^/| /' conftest.
$ac_ext >&5
19160 ac_header_preproc
=no
19162 rm -f conftest.err conftest.
$ac_ext
19163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19164 echo "${ECHO_T}$ac_header_preproc" >&6
19166 # So? What about this header?
19167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19169 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19173 ac_header_preproc
=yes
19176 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19178 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19179 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19180 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19182 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19183 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19186 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19190 ## ------------------------------------------ ##
19191 ## Report this to the AC_PACKAGE_NAME lists. ##
19192 ## ------------------------------------------ ##
19195 sed "s/^/$as_me: WARNING: /" >&2
19198 echo "$as_me:$LINENO: checking for $ac_header" >&5
19199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19201 echo $ECHO_N "(cached) $ECHO_C" >&6
19203 eval "$as_ac_Header=\$ac_header_preproc"
19205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19210 cat >>confdefs.h
<<_ACEOF
19211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19216 for ac_header
in kerberosIV
/krb.h
19218 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19220 echo "$as_me:$LINENO: checking for $ac_header" >&5
19221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19223 echo $ECHO_N "(cached) $ECHO_C" >&6
19225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19228 # Is the header compilable?
19229 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19230 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19231 cat >conftest.
$ac_ext <<_ACEOF
19234 cat confdefs.h
>>conftest.
$ac_ext
19235 cat >>conftest.
$ac_ext <<_ACEOF
19236 /* end confdefs.h. */
19237 $ac_includes_default
19238 #include <$ac_header>
19240 rm -f conftest.
$ac_objext
19241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19242 (eval $ac_compile) 2>conftest.er1
19244 grep -v '^ *+' conftest.er1
>conftest.err
19246 cat conftest.err
>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try
='test -z "$ac_c_werror_flag"
19250 || test ! -s conftest.err'
19251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19252 (eval $ac_try) 2>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }; } &&
19256 { ac_try
='test -s conftest.$ac_objext'
19257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 (eval $ac_try) 2>&5
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); }; }; then
19262 ac_header_compiler
=yes
19264 echo "$as_me: failed program was:" >&5
19265 sed 's/^/| /' conftest.
$ac_ext >&5
19267 ac_header_compiler
=no
19269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19270 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19271 echo "${ECHO_T}$ac_header_compiler" >&6
19273 # Is the header present?
19274 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19275 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19276 cat >conftest.
$ac_ext <<_ACEOF
19279 cat confdefs.h
>>conftest.
$ac_ext
19280 cat >>conftest.
$ac_ext <<_ACEOF
19281 /* end confdefs.h. */
19282 #include <$ac_header>
19284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19285 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19287 grep -v '^ *+' conftest.er1
>conftest.err
19289 cat conftest.err
>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } >/dev
/null
; then
19292 if test -s conftest.err
; then
19293 ac_cpp_err
=$ac_c_preproc_warn_flag
19294 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19301 if test -z "$ac_cpp_err"; then
19302 ac_header_preproc
=yes
19304 echo "$as_me: failed program was:" >&5
19305 sed 's/^/| /' conftest.
$ac_ext >&5
19307 ac_header_preproc
=no
19309 rm -f conftest.err conftest.
$ac_ext
19310 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19311 echo "${ECHO_T}$ac_header_preproc" >&6
19313 # So? What about this header?
19314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19316 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19317 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19319 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19320 ac_header_preproc
=yes
19323 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19324 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19325 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19326 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19327 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19328 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19329 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19330 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19332 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19333 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19334 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19337 ## ------------------------------------------ ##
19338 ## Report this to the AC_PACKAGE_NAME lists. ##
19339 ## ------------------------------------------ ##
19342 sed "s/^/$as_me: WARNING: /" >&2
19345 echo "$as_me:$LINENO: checking for $ac_header" >&5
19346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19348 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 eval "$as_ac_Header=\$ac_header_preproc"
19352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19357 cat >>confdefs.h
<<_ACEOF
19358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19363 for ac_header
in kerberos
/krb.h
19365 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19367 echo "$as_me:$LINENO: checking for $ac_header" >&5
19368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19370 echo $ECHO_N "(cached) $ECHO_C" >&6
19372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19375 # Is the header compilable?
19376 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19377 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19378 cat >conftest.
$ac_ext <<_ACEOF
19381 cat confdefs.h
>>conftest.
$ac_ext
19382 cat >>conftest.
$ac_ext <<_ACEOF
19383 /* end confdefs.h. */
19384 $ac_includes_default
19385 #include <$ac_header>
19387 rm -f conftest.
$ac_objext
19388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19389 (eval $ac_compile) 2>conftest.er1
19391 grep -v '^ *+' conftest.er1
>conftest.err
19393 cat conftest.err
>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } &&
19396 { ac_try
='test -z "$ac_c_werror_flag"
19397 || test ! -s conftest.err'
19398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 (eval $ac_try) 2>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; } &&
19403 { ac_try
='test -s conftest.$ac_objext'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; }; then
19409 ac_header_compiler
=yes
19411 echo "$as_me: failed program was:" >&5
19412 sed 's/^/| /' conftest.
$ac_ext >&5
19414 ac_header_compiler
=no
19416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19417 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19418 echo "${ECHO_T}$ac_header_compiler" >&6
19420 # Is the header present?
19421 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19423 cat >conftest.
$ac_ext <<_ACEOF
19426 cat confdefs.h
>>conftest.
$ac_ext
19427 cat >>conftest.
$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19429 #include <$ac_header>
19431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19432 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19434 grep -v '^ *+' conftest.er1
>conftest.err
19436 cat conftest.err
>&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } >/dev
/null
; then
19439 if test -s conftest.err
; then
19440 ac_cpp_err
=$ac_c_preproc_warn_flag
19441 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19448 if test -z "$ac_cpp_err"; then
19449 ac_header_preproc
=yes
19451 echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.
$ac_ext >&5
19454 ac_header_preproc
=no
19456 rm -f conftest.err conftest.
$ac_ext
19457 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19458 echo "${ECHO_T}$ac_header_preproc" >&6
19460 # So? What about this header?
19461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19463 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19464 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19466 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19467 ac_header_preproc
=yes
19470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19474 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19475 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19476 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19477 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19480 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19481 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19484 ## ------------------------------------------ ##
19485 ## Report this to the AC_PACKAGE_NAME lists. ##
19486 ## ------------------------------------------ ##
19489 sed "s/^/$as_me: WARNING: /" >&2
19492 echo "$as_me:$LINENO: checking for $ac_header" >&5
19493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 eval "$as_ac_Header=\$ac_header_preproc"
19499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19504 cat >>confdefs.h
<<_ACEOF
19505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19522 for ac_header
in com_err.h
19524 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19526 echo "$as_me:$LINENO: checking for $ac_header" >&5
19527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19529 echo $ECHO_N "(cached) $ECHO_C" >&6
19531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19534 # Is the header compilable?
19535 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19537 cat >conftest.
$ac_ext <<_ACEOF
19540 cat confdefs.h
>>conftest.
$ac_ext
19541 cat >>conftest.
$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 $ac_includes_default
19544 #include <$ac_header>
19546 rm -f conftest.
$ac_objext
19547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19548 (eval $ac_compile) 2>conftest.er1
19550 grep -v '^ *+' conftest.er1
>conftest.err
19552 cat conftest.err
>&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } &&
19555 { ac_try
='test -z "$ac_c_werror_flag"
19556 || test ! -s conftest.err'
19557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19558 (eval $ac_try) 2>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; } &&
19562 { ac_try
='test -s conftest.$ac_objext'
19563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19564 (eval $ac_try) 2>&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); }; }; then
19568 ac_header_compiler
=yes
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.
$ac_ext >&5
19573 ac_header_compiler
=no
19575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19577 echo "${ECHO_T}$ac_header_compiler" >&6
19579 # Is the header present?
19580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19582 cat >conftest.
$ac_ext <<_ACEOF
19585 cat confdefs.h
>>conftest.
$ac_ext
19586 cat >>conftest.
$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19588 #include <$ac_header>
19590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19591 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19593 grep -v '^ *+' conftest.er1
>conftest.err
19595 cat conftest.err
>&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } >/dev
/null
; then
19598 if test -s conftest.err
; then
19599 ac_cpp_err
=$ac_c_preproc_warn_flag
19600 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19607 if test -z "$ac_cpp_err"; then
19608 ac_header_preproc
=yes
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.
$ac_ext >&5
19613 ac_header_preproc
=no
19615 rm -f conftest.err conftest.
$ac_ext
19616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19617 echo "${ECHO_T}$ac_header_preproc" >&6
19619 # So? What about this header?
19620 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19625 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19626 ac_header_preproc
=yes
19629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19630 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19632 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19633 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19634 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19635 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19636 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19640 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19643 ## ------------------------------------------ ##
19644 ## Report this to the AC_PACKAGE_NAME lists. ##
19645 ## ------------------------------------------ ##
19648 sed "s/^/$as_me: WARNING: /" >&2
19651 echo "$as_me:$LINENO: checking for $ac_header" >&5
19652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19654 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 eval "$as_ac_Header=\$ac_header_preproc"
19658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19663 cat >>confdefs.h
<<_ACEOF
19664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19673 # Solaris requires -lintl if you want strerror (which calls dgettext)
19674 # to return localized messages.
19676 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
19677 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
19678 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
19679 echo $ECHO_N "(cached) $ECHO_C" >&6
19681 ac_check_lib_save_LIBS
=$LIBS
19682 LIBS
="-lintl $LIBS"
19683 cat >conftest.
$ac_ext <<_ACEOF
19686 cat confdefs.h
>>conftest.
$ac_ext
19687 cat >>conftest.
$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19690 /* Override any gcc2 internal prototype to avoid an error. */
19694 /* We use char because int might match the return type of a gcc2
19695 builtin and then its argument prototype would still apply. */
19705 rm -f conftest.
$ac_objext conftest
$ac_exeext
19706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19707 (eval $ac_link) 2>conftest.er1
19709 grep -v '^ *+' conftest.er1
>conftest.err
19711 cat conftest.err
>&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); } &&
19714 { ac_try
='test -z "$ac_c_werror_flag"
19715 || test ! -s conftest.err'
19716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717 (eval $ac_try) 2>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; } &&
19721 { ac_try
='test -s conftest$ac_exeext'
19722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19723 (eval $ac_try) 2>&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); }; }; then
19727 ac_cv_lib_intl_dgettext
=yes
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.
$ac_ext >&5
19732 ac_cv_lib_intl_dgettext
=no
19734 rm -f conftest.err conftest.
$ac_objext \
19735 conftest
$ac_exeext conftest.
$ac_ext
19736 LIBS
=$ac_check_lib_save_LIBS
19738 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
19739 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
19740 if test $ac_cv_lib_intl_dgettext = yes; then
19741 cat >>confdefs.h
<<_ACEOF
19742 #define HAVE_LIBINTL 1
19745 LIBS
="-lintl $LIBS"
19750 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
19751 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
19752 if test "${emacs_cv_localtime_cache+set}" = set; then
19753 echo $ECHO_N "(cached) $ECHO_C" >&6
19755 if test x
$ac_cv_func_tzset = xyes
; then
19756 if test "$cross_compiling" = yes; then
19757 # If we have tzset, assume the worst when cross-compiling.
19758 emacs_cv_localtime_cache
=yes
19760 cat >conftest.
$ac_ext <<_ACEOF
19763 cat confdefs.h
>>conftest.
$ac_ext
19764 cat >>conftest.
$ac_ext <<_ACEOF
19765 /* end confdefs.h. */
19767 extern char **environ;
19771 for (to = from = environ; (*to = *from); from++)
19772 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
19775 char TZ_GMT0[] = "TZ=GMT0";
19776 char TZ_PST8[] = "TZ=PST8";
19779 time_t now = time ((time_t *) 0);
19780 int hour_GMT0, hour_unset;
19781 if (putenv (TZ_GMT0) != 0)
19783 hour_GMT0 = localtime (&now)->tm_hour;
19785 hour_unset = localtime (&now)->tm_hour;
19786 if (putenv (TZ_PST8) != 0)
19788 if (localtime (&now)->tm_hour == hour_GMT0)
19791 if (localtime (&now)->tm_hour != hour_unset)
19796 rm -f conftest
$ac_exeext
19797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19798 (eval $ac_link) 2>&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19803 (eval $ac_try) 2>&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); }; }; then
19807 emacs_cv_localtime_cache
=no
19809 echo "$as_me: program exited with status $ac_status" >&5
19810 echo "$as_me: failed program was:" >&5
19811 sed 's/^/| /' conftest.
$ac_ext >&5
19813 ( exit $ac_status )
19814 emacs_cv_localtime_cache
=yes
19816 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19819 # If we lack tzset, report that localtime does not cache TZ,
19820 # since we can't invalidate the cache if we don't have tzset.
19821 emacs_cv_localtime_cache
=no
19824 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
19825 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
19826 if test $emacs_cv_localtime_cache = yes; then
19828 cat >>confdefs.h
<<\_ACEOF
19829 #define LOCALTIME_CACHE 1
19834 if test "x$HAVE_TIMEVAL" = xyes
; then
19836 for ac_func
in gettimeofday
19838 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19839 echo "$as_me:$LINENO: checking for $ac_func" >&5
19840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19841 if eval "test \"\${$as_ac_var+set}\" = set"; then
19842 echo $ECHO_N "(cached) $ECHO_C" >&6
19844 cat >conftest.
$ac_ext <<_ACEOF
19847 cat confdefs.h
>>conftest.
$ac_ext
19848 cat >>conftest.
$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19852 #define $ac_func innocuous_$ac_func
19854 /* System header to define __stub macros and hopefully few prototypes,
19855 which can conflict with char $ac_func (); below.
19856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19857 <limits.h> exists even on freestanding compilers. */
19860 # include <limits.h>
19862 # include <assert.h>
19867 /* Override any gcc2 internal prototype to avoid an error. */
19872 /* We use char because int might match the return type of a gcc2
19873 builtin and then its argument prototype would still apply. */
19875 /* The GNU C library defines this for functions which it implements
19876 to always fail with ENOSYS. Some functions are actually named
19877 something starting with __ and the normal name is an alias. */
19878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19881 char (*f) () = $ac_func;
19890 return f != $ac_func;
19895 rm -f conftest.
$ac_objext conftest
$ac_exeext
19896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19897 (eval $ac_link) 2>conftest.er1
19899 grep -v '^ *+' conftest.er1
>conftest.err
19901 cat conftest.err
>&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } &&
19904 { ac_try
='test -z "$ac_c_werror_flag"
19905 || test ! -s conftest.err'
19906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19907 (eval $ac_try) 2>&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); }; } &&
19911 { ac_try
='test -s conftest$ac_exeext'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; }; then
19917 eval "$as_ac_var=yes"
19919 echo "$as_me: failed program was:" >&5
19920 sed 's/^/| /' conftest.
$ac_ext >&5
19922 eval "$as_ac_var=no"
19924 rm -f conftest.err conftest.
$ac_objext \
19925 conftest
$ac_exeext conftest.
$ac_ext
19927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19929 if test `eval echo '${'$as_ac_var'}'` = yes; then
19930 cat >>confdefs.h
<<_ACEOF
19931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19937 if test $ac_cv_func_gettimeofday = yes; then
19938 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
19939 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
19940 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
19941 echo $ECHO_N "(cached) $ECHO_C" >&6
19943 cat >conftest.
$ac_ext <<_ACEOF
19946 cat confdefs.h
>>conftest.
$ac_ext
19947 cat >>conftest.
$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19950 #ifdef TIME_WITH_SYS_TIME
19951 #include <sys/time.h>
19954 #ifdef HAVE_SYS_TIME_H
19955 #include <sys/time.h>
19963 struct timeval time;
19964 gettimeofday (&time, 0);
19969 rm -f conftest.
$ac_objext
19970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19971 (eval $ac_compile) 2>conftest.er1
19973 grep -v '^ *+' conftest.er1
>conftest.err
19975 cat conftest.err
>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } &&
19978 { ac_try
='test -z "$ac_c_werror_flag"
19979 || test ! -s conftest.err'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; } &&
19985 { ac_try
='test -s conftest.$ac_objext'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; }; then
19991 emacs_cv_gettimeofday_two_arguments
=yes
19993 echo "$as_me: failed program was:" >&5
19994 sed 's/^/| /' conftest.
$ac_ext >&5
19996 emacs_cv_gettimeofday_two_arguments
=no
19998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20000 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
20001 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
20002 if test $emacs_cv_gettimeofday_two_arguments = no
; then
20004 cat >>confdefs.h
<<\_ACEOF
20005 #define GETTIMEOFDAY_ONE_ARGUMENT 1
20012 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
20013 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
20014 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
20015 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
20016 echo $ECHO_N "(cached) $ECHO_C" >&6
20018 cat >conftest.
$ac_ext <<_ACEOF
20021 cat confdefs.h
>>conftest.
$ac_ext
20022 cat >>conftest.
$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024 #include <sys/types.h>
20025 #include <$ac_cv_struct_tm>
20031 static struct tm ac_aggr;
20032 if (ac_aggr.tm_zone)
20038 rm -f conftest.
$ac_objext
20039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20040 (eval $ac_compile) 2>conftest.er1
20042 grep -v '^ *+' conftest.er1
>conftest.err
20044 cat conftest.err
>&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); } &&
20047 { ac_try
='test -z "$ac_c_werror_flag"
20048 || test ! -s conftest.err'
20049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 (eval $ac_try) 2>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; } &&
20054 { ac_try
='test -s conftest.$ac_objext'
20055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20056 (eval $ac_try) 2>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); }; }; then
20060 ac_cv_member_struct_tm_tm_zone
=yes
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.
$ac_ext >&5
20065 cat >conftest.
$ac_ext <<_ACEOF
20068 cat confdefs.h
>>conftest.
$ac_ext
20069 cat >>conftest.
$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20071 #include <sys/types.h>
20072 #include <$ac_cv_struct_tm>
20078 static struct tm ac_aggr;
20079 if (sizeof ac_aggr.tm_zone)
20085 rm -f conftest.
$ac_objext
20086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20087 (eval $ac_compile) 2>conftest.er1
20089 grep -v '^ *+' conftest.er1
>conftest.err
20091 cat conftest.err
>&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); } &&
20094 { ac_try
='test -z "$ac_c_werror_flag"
20095 || test ! -s conftest.err'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; } &&
20101 { ac_try
='test -s conftest.$ac_objext'
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; }; then
20107 ac_cv_member_struct_tm_tm_zone
=yes
20109 echo "$as_me: failed program was:" >&5
20110 sed 's/^/| /' conftest.
$ac_ext >&5
20112 ac_cv_member_struct_tm_tm_zone
=no
20114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20118 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
20119 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
20120 if test $ac_cv_member_struct_tm_tm_zone = yes; then
20122 cat >>confdefs.h
<<_ACEOF
20123 #define HAVE_STRUCT_TM_TM_ZONE 1
20129 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
20131 cat >>confdefs.h
<<\_ACEOF
20132 #define HAVE_TM_ZONE 1
20136 echo "$as_me:$LINENO: checking for tzname" >&5
20137 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
20138 if test "${ac_cv_var_tzname+set}" = set; then
20139 echo $ECHO_N "(cached) $ECHO_C" >&6
20141 cat >conftest.
$ac_ext <<_ACEOF
20144 cat confdefs.h
>>conftest.
$ac_ext
20145 cat >>conftest.
$ac_ext <<_ACEOF
20146 /* end confdefs.h. */
20148 #ifndef tzname /* For SGI. */
20149 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
20160 rm -f conftest.
$ac_objext conftest
$ac_exeext
20161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20162 (eval $ac_link) 2>conftest.er1
20164 grep -v '^ *+' conftest.er1
>conftest.err
20166 cat conftest.err
>&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } &&
20169 { ac_try
='test -z "$ac_c_werror_flag"
20170 || test ! -s conftest.err'
20171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20172 (eval $ac_try) 2>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); }; } &&
20176 { ac_try
='test -s conftest$ac_exeext'
20177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178 (eval $ac_try) 2>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); }; }; then
20182 ac_cv_var_tzname
=yes
20184 echo "$as_me: failed program was:" >&5
20185 sed 's/^/| /' conftest.
$ac_ext >&5
20187 ac_cv_var_tzname
=no
20189 rm -f conftest.err conftest.
$ac_objext \
20190 conftest
$ac_exeext conftest.
$ac_ext
20192 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
20193 echo "${ECHO_T}$ac_cv_var_tzname" >&6
20194 if test $ac_cv_var_tzname = yes; then
20196 cat >>confdefs.h
<<\_ACEOF
20197 #define HAVE_TZNAME 1
20204 if test "$ac_cv_func_gettimeofday" = yes; then
20205 echo "$as_me:$LINENO: checking for struct timezone" >&5
20206 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
20207 if test "${emacs_cv_struct_timezone+set}" = set; then
20208 echo $ECHO_N "(cached) $ECHO_C" >&6
20210 cat >conftest.
$ac_ext <<_ACEOF
20213 cat confdefs.h
>>conftest.
$ac_ext
20214 cat >>conftest.
$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 #include <sys/time.h>
20220 struct timezone tz;
20225 rm -f conftest.
$ac_objext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20227 (eval $ac_compile) 2>conftest.er1
20229 grep -v '^ *+' conftest.er1
>conftest.err
20231 cat conftest.err
>&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } &&
20234 { ac_try
='test -z "$ac_c_werror_flag"
20235 || test ! -s conftest.err'
20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20237 (eval $ac_try) 2>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; } &&
20241 { ac_try
='test -s conftest.$ac_objext'
20242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20243 (eval $ac_try) 2>&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); }; }; then
20247 if test "$cross_compiling" = yes; then
20248 emacs_cv_struct_timezone
=yes
20250 cat >conftest.
$ac_ext <<_ACEOF
20253 cat confdefs.h
>>conftest.
$ac_ext
20254 cat >>conftest.
$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20257 #ifdef TIME_WITH_SYS_TIME
20258 #include <sys/time.h>
20261 #ifdef HAVE_SYS_TIME_H
20262 #include <sys/time.h>
20268 struct timeval time;
20269 struct timezone dummy;
20270 exit (gettimeofday (&time, &dummy));
20273 rm -f conftest
$ac_exeext
20274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20275 (eval $ac_link) 2>&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20280 (eval $ac_try) 2>&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); }; }; then
20284 emacs_cv_struct_timezone
=yes
20286 echo "$as_me: program exited with status $ac_status" >&5
20287 echo "$as_me: failed program was:" >&5
20288 sed 's/^/| /' conftest.
$ac_ext >&5
20290 ( exit $ac_status )
20291 emacs_cv_struct_timezone
=no
20293 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.
$ac_ext >&5
20299 emacs_cv_struct_timezone
=no
20301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20303 echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
20304 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
20308 echo "$as_me:$LINENO: checking for socket" >&5
20309 echo $ECHO_N "checking for socket... $ECHO_C" >&6
20310 if test "${ac_cv_func_socket+set}" = set; then
20311 echo $ECHO_N "(cached) $ECHO_C" >&6
20313 cat >conftest.
$ac_ext <<_ACEOF
20316 cat confdefs.h
>>conftest.
$ac_ext
20317 cat >>conftest.
$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
20320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20321 #define socket innocuous_socket
20323 /* System header to define __stub macros and hopefully few prototypes,
20324 which can conflict with char socket (); below.
20325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20326 <limits.h> exists even on freestanding compilers. */
20329 # include <limits.h>
20331 # include <assert.h>
20336 /* Override any gcc2 internal prototype to avoid an error. */
20341 /* We use char because int might match the return type of a gcc2
20342 builtin and then its argument prototype would still apply. */
20344 /* The GNU C library defines this for functions which it implements
20345 to always fail with ENOSYS. Some functions are actually named
20346 something starting with __ and the normal name is an alias. */
20347 #if defined (__stub_socket) || defined (__stub___socket)
20350 char (*f) () = socket;
20359 return f != socket;
20364 rm -f conftest.
$ac_objext conftest
$ac_exeext
20365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20366 (eval $ac_link) 2>conftest.er1
20368 grep -v '^ *+' conftest.er1
>conftest.err
20370 cat conftest.err
>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } &&
20373 { ac_try
='test -z "$ac_c_werror_flag"
20374 || test ! -s conftest.err'
20375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20376 (eval $ac_try) 2>&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); }; } &&
20380 { ac_try
='test -s conftest$ac_exeext'
20381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382 (eval $ac_try) 2>&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; }; then
20386 ac_cv_func_socket
=yes
20388 echo "$as_me: failed program was:" >&5
20389 sed 's/^/| /' conftest.
$ac_ext >&5
20391 ac_cv_func_socket
=no
20393 rm -f conftest.err conftest.
$ac_objext \
20394 conftest
$ac_exeext conftest.
$ac_ext
20396 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
20397 echo "${ECHO_T}$ac_cv_func_socket" >&6
20398 if test $ac_cv_func_socket = yes; then
20404 if test $ok_so_far = yes; then
20405 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20406 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
20407 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
20408 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20409 echo $ECHO_N "(cached) $ECHO_C" >&6
20411 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
20412 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
20414 # Is the header compilable?
20415 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
20416 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
20417 cat >conftest.
$ac_ext <<_ACEOF
20420 cat confdefs.h
>>conftest.
$ac_ext
20421 cat >>conftest.
$ac_ext <<_ACEOF
20422 /* end confdefs.h. */
20423 $ac_includes_default
20424 #include <netinet/in.h>
20426 rm -f conftest.
$ac_objext
20427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20428 (eval $ac_compile) 2>conftest.er1
20430 grep -v '^ *+' conftest.er1
>conftest.err
20432 cat conftest.err
>&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } &&
20435 { ac_try
='test -z "$ac_c_werror_flag"
20436 || test ! -s conftest.err'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; } &&
20442 { ac_try
='test -s conftest.$ac_objext'
20443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444 (eval $ac_try) 2>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; }; then
20448 ac_header_compiler
=yes
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.
$ac_ext >&5
20453 ac_header_compiler
=no
20455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20457 echo "${ECHO_T}$ac_header_compiler" >&6
20459 # Is the header present?
20460 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
20461 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
20462 cat >conftest.
$ac_ext <<_ACEOF
20465 cat confdefs.h
>>conftest.
$ac_ext
20466 cat >>conftest.
$ac_ext <<_ACEOF
20467 /* end confdefs.h. */
20468 #include <netinet/in.h>
20470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20471 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20473 grep -v '^ *+' conftest.er1
>conftest.err
20475 cat conftest.err
>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } >/dev
/null
; then
20478 if test -s conftest.err
; then
20479 ac_cpp_err
=$ac_c_preproc_warn_flag
20480 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20487 if test -z "$ac_cpp_err"; then
20488 ac_header_preproc
=yes
20490 echo "$as_me: failed program was:" >&5
20491 sed 's/^/| /' conftest.
$ac_ext >&5
20493 ac_header_preproc
=no
20495 rm -f conftest.err conftest.
$ac_ext
20496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20497 echo "${ECHO_T}$ac_header_preproc" >&6
20499 # So? What about this header?
20500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20502 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
20503 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20504 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
20505 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
20506 ac_header_preproc
=yes
20509 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
20510 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
20511 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
20512 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
20513 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
20514 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
20515 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
20516 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
20517 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
20518 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
20519 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
20520 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
20523 ## ------------------------------------------ ##
20524 ## Report this to the AC_PACKAGE_NAME lists. ##
20525 ## ------------------------------------------ ##
20528 sed "s/^/$as_me: WARNING: /" >&2
20531 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
20532 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
20533 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20534 echo $ECHO_N "(cached) $ECHO_C" >&6
20536 ac_cv_header_netinet_in_h
=$ac_header_preproc
20538 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
20539 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
20542 if test $ac_cv_header_netinet_in_h = yes; then
20550 if test $ok_so_far = yes; then
20551 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20552 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
20553 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
20554 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20555 echo $ECHO_N "(cached) $ECHO_C" >&6
20557 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
20558 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
20560 # Is the header compilable?
20561 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
20562 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
20563 cat >conftest.
$ac_ext <<_ACEOF
20566 cat confdefs.h
>>conftest.
$ac_ext
20567 cat >>conftest.
$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 $ac_includes_default
20570 #include <arpa/inet.h>
20572 rm -f conftest.
$ac_objext
20573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20574 (eval $ac_compile) 2>conftest.er1
20576 grep -v '^ *+' conftest.er1
>conftest.err
20578 cat conftest.err
>&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); } &&
20581 { ac_try
='test -z "$ac_c_werror_flag"
20582 || test ! -s conftest.err'
20583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20584 (eval $ac_try) 2>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); }; } &&
20588 { ac_try
='test -s conftest.$ac_objext'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; }; then
20594 ac_header_compiler
=yes
20596 echo "$as_me: failed program was:" >&5
20597 sed 's/^/| /' conftest.
$ac_ext >&5
20599 ac_header_compiler
=no
20601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20602 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20603 echo "${ECHO_T}$ac_header_compiler" >&6
20605 # Is the header present?
20606 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
20607 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
20608 cat >conftest.
$ac_ext <<_ACEOF
20611 cat confdefs.h
>>conftest.
$ac_ext
20612 cat >>conftest.
$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 #include <arpa/inet.h>
20616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20617 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20619 grep -v '^ *+' conftest.er1
>conftest.err
20621 cat conftest.err
>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } >/dev
/null
; then
20624 if test -s conftest.err
; then
20625 ac_cpp_err
=$ac_c_preproc_warn_flag
20626 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20633 if test -z "$ac_cpp_err"; then
20634 ac_header_preproc
=yes
20636 echo "$as_me: failed program was:" >&5
20637 sed 's/^/| /' conftest.
$ac_ext >&5
20639 ac_header_preproc
=no
20641 rm -f conftest.err conftest.
$ac_ext
20642 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20643 echo "${ECHO_T}$ac_header_preproc" >&6
20645 # So? What about this header?
20646 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20648 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
20649 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20650 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
20651 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
20652 ac_header_preproc
=yes
20655 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
20656 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
20657 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
20658 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
20659 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
20660 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
20661 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
20662 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
20663 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
20664 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
20665 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
20666 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
20669 ## ------------------------------------------ ##
20670 ## Report this to the AC_PACKAGE_NAME lists. ##
20671 ## ------------------------------------------ ##
20674 sed "s/^/$as_me: WARNING: /" >&2
20677 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
20678 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
20679 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
20680 echo $ECHO_N "(cached) $ECHO_C" >&6
20682 ac_cv_header_arpa_inet_h
=$ac_header_preproc
20684 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
20685 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
20688 if test $ac_cv_header_arpa_inet_h = yes; then
20696 if test $ok_so_far = yes; then
20698 cat >>confdefs.h
<<\_ACEOF
20699 #define HAVE_INET_SOCKETS 1
20705 for ac_header
in sys
/ioctl.h
20707 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20709 echo "$as_me:$LINENO: checking for $ac_header" >&5
20710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20712 echo $ECHO_N "(cached) $ECHO_C" >&6
20714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20717 # Is the header compilable?
20718 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20720 cat >conftest.
$ac_ext <<_ACEOF
20723 cat confdefs.h
>>conftest.
$ac_ext
20724 cat >>conftest.
$ac_ext <<_ACEOF
20725 /* end confdefs.h. */
20726 $ac_includes_default
20727 #include <$ac_header>
20729 rm -f conftest.
$ac_objext
20730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20731 (eval $ac_compile) 2>conftest.er1
20733 grep -v '^ *+' conftest.er1
>conftest.err
20735 cat conftest.err
>&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } &&
20738 { ac_try
='test -z "$ac_c_werror_flag"
20739 || test ! -s conftest.err'
20740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20741 (eval $ac_try) 2>&5
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); }; } &&
20745 { ac_try
='test -s conftest.$ac_objext'
20746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20747 (eval $ac_try) 2>&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); }; }; then
20751 ac_header_compiler
=yes
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.
$ac_ext >&5
20756 ac_header_compiler
=no
20758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20760 echo "${ECHO_T}$ac_header_compiler" >&6
20762 # Is the header present?
20763 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20765 cat >conftest.
$ac_ext <<_ACEOF
20768 cat confdefs.h
>>conftest.
$ac_ext
20769 cat >>conftest.
$ac_ext <<_ACEOF
20770 /* end confdefs.h. */
20771 #include <$ac_header>
20773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20774 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20776 grep -v '^ *+' conftest.er1
>conftest.err
20778 cat conftest.err
>&5
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); } >/dev
/null
; then
20781 if test -s conftest.err
; then
20782 ac_cpp_err
=$ac_c_preproc_warn_flag
20783 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20790 if test -z "$ac_cpp_err"; then
20791 ac_header_preproc
=yes
20793 echo "$as_me: failed program was:" >&5
20794 sed 's/^/| /' conftest.
$ac_ext >&5
20796 ac_header_preproc
=no
20798 rm -f conftest.err conftest.
$ac_ext
20799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20800 echo "${ECHO_T}$ac_header_preproc" >&6
20802 # So? What about this header?
20803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20809 ac_header_preproc
=yes
20812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20826 ## ------------------------------------------ ##
20827 ## Report this to the AC_PACKAGE_NAME lists. ##
20828 ## ------------------------------------------ ##
20831 sed "s/^/$as_me: WARNING: /" >&2
20834 echo "$as_me:$LINENO: checking for $ac_header" >&5
20835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20837 echo $ECHO_N "(cached) $ECHO_C" >&6
20839 eval "$as_ac_Header=\$ac_header_preproc"
20841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20846 cat >>confdefs.h
<<_ACEOF
20847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20855 if test -f /usr
/lpp
/X11
/bin
/smt.exp
; then
20857 cat >>confdefs.h
<<\_ACEOF
20858 #define HAVE_AIX_SMT_EXP 1
20863 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
20864 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
20865 if test -d /dev
/pts
&& ls -d /dev
/ptmx
> /dev
/null
2>&1 ; then
20866 echo "$as_me:$LINENO: result: yes" >&5
20867 echo "${ECHO_T}yes" >&6
20869 cat >>confdefs.h
<<\_ACEOF
20870 #define HAVE_DEV_PTMX 1
20874 echo "$as_me:$LINENO: result: no" >&5
20875 echo "${ECHO_T}no" >&6
20878 echo "$as_me:$LINENO: checking for pid_t" >&5
20879 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20880 if test "${ac_cv_type_pid_t+set}" = set; then
20881 echo $ECHO_N "(cached) $ECHO_C" >&6
20883 cat >conftest.
$ac_ext <<_ACEOF
20886 cat confdefs.h
>>conftest.
$ac_ext
20887 cat >>conftest.
$ac_ext <<_ACEOF
20888 /* end confdefs.h. */
20889 $ac_includes_default
20895 if (sizeof (pid_t))
20901 rm -f conftest.
$ac_objext
20902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20903 (eval $ac_compile) 2>conftest.er1
20905 grep -v '^ *+' conftest.er1
>conftest.err
20907 cat conftest.err
>&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); } &&
20910 { ac_try
='test -z "$ac_c_werror_flag"
20911 || test ! -s conftest.err'
20912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20913 (eval $ac_try) 2>&5
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); }; } &&
20917 { ac_try
='test -s conftest.$ac_objext'
20918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20919 (eval $ac_try) 2>&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); }; }; then
20923 ac_cv_type_pid_t
=yes
20925 echo "$as_me: failed program was:" >&5
20926 sed 's/^/| /' conftest.
$ac_ext >&5
20928 ac_cv_type_pid_t
=no
20930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20932 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20933 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20934 if test $ac_cv_type_pid_t = yes; then
20938 cat >>confdefs.h
<<_ACEOF
20946 for ac_header
in unistd.h vfork.h
20948 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20950 echo "$as_me:$LINENO: checking for $ac_header" >&5
20951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20953 echo $ECHO_N "(cached) $ECHO_C" >&6
20955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20958 # Is the header compilable?
20959 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20961 cat >conftest.
$ac_ext <<_ACEOF
20964 cat confdefs.h
>>conftest.
$ac_ext
20965 cat >>conftest.
$ac_ext <<_ACEOF
20966 /* end confdefs.h. */
20967 $ac_includes_default
20968 #include <$ac_header>
20970 rm -f conftest.
$ac_objext
20971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20972 (eval $ac_compile) 2>conftest.er1
20974 grep -v '^ *+' conftest.er1
>conftest.err
20976 cat conftest.err
>&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } &&
20979 { ac_try
='test -z "$ac_c_werror_flag"
20980 || test ! -s conftest.err'
20981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20982 (eval $ac_try) 2>&5
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); }; } &&
20986 { ac_try
='test -s conftest.$ac_objext'
20987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20988 (eval $ac_try) 2>&5
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); }; }; then
20992 ac_header_compiler
=yes
20994 echo "$as_me: failed program was:" >&5
20995 sed 's/^/| /' conftest.
$ac_ext >&5
20997 ac_header_compiler
=no
20999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21001 echo "${ECHO_T}$ac_header_compiler" >&6
21003 # Is the header present?
21004 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21005 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21006 cat >conftest.
$ac_ext <<_ACEOF
21009 cat confdefs.h
>>conftest.
$ac_ext
21010 cat >>conftest.
$ac_ext <<_ACEOF
21011 /* end confdefs.h. */
21012 #include <$ac_header>
21014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21015 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21017 grep -v '^ *+' conftest.er1
>conftest.err
21019 cat conftest.err
>&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } >/dev
/null
; then
21022 if test -s conftest.err
; then
21023 ac_cpp_err
=$ac_c_preproc_warn_flag
21024 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21031 if test -z "$ac_cpp_err"; then
21032 ac_header_preproc
=yes
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.
$ac_ext >&5
21037 ac_header_preproc
=no
21039 rm -f conftest.err conftest.
$ac_ext
21040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21041 echo "${ECHO_T}$ac_header_preproc" >&6
21043 # So? What about this header?
21044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21046 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21047 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21049 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21050 ac_header_preproc
=yes
21053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21057 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21058 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21059 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21060 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21062 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21063 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21064 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21067 ## ------------------------------------------ ##
21068 ## Report this to the AC_PACKAGE_NAME lists. ##
21069 ## ------------------------------------------ ##
21072 sed "s/^/$as_me: WARNING: /" >&2
21075 echo "$as_me:$LINENO: checking for $ac_header" >&5
21076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21078 echo $ECHO_N "(cached) $ECHO_C" >&6
21080 eval "$as_ac_Header=\$ac_header_preproc"
21082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21087 cat >>confdefs.h
<<_ACEOF
21088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21097 for ac_func
in fork vfork
21099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21100 echo "$as_me:$LINENO: checking for $ac_func" >&5
21101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21102 if eval "test \"\${$as_ac_var+set}\" = set"; then
21103 echo $ECHO_N "(cached) $ECHO_C" >&6
21105 cat >conftest.
$ac_ext <<_ACEOF
21108 cat confdefs.h
>>conftest.
$ac_ext
21109 cat >>conftest.
$ac_ext <<_ACEOF
21110 /* end confdefs.h. */
21111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21113 #define $ac_func innocuous_$ac_func
21115 /* System header to define __stub macros and hopefully few prototypes,
21116 which can conflict with char $ac_func (); below.
21117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21118 <limits.h> exists even on freestanding compilers. */
21121 # include <limits.h>
21123 # include <assert.h>
21128 /* Override any gcc2 internal prototype to avoid an error. */
21133 /* We use char because int might match the return type of a gcc2
21134 builtin and then its argument prototype would still apply. */
21136 /* The GNU C library defines this for functions which it implements
21137 to always fail with ENOSYS. Some functions are actually named
21138 something starting with __ and the normal name is an alias. */
21139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21142 char (*f) () = $ac_func;
21151 return f != $ac_func;
21156 rm -f conftest.
$ac_objext conftest
$ac_exeext
21157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21158 (eval $ac_link) 2>conftest.er1
21160 grep -v '^ *+' conftest.er1
>conftest.err
21162 cat conftest.err
>&5
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); } &&
21165 { ac_try
='test -z "$ac_c_werror_flag"
21166 || test ! -s conftest.err'
21167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21168 (eval $ac_try) 2>&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); }; } &&
21172 { ac_try
='test -s conftest$ac_exeext'
21173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21174 (eval $ac_try) 2>&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; }; then
21178 eval "$as_ac_var=yes"
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.
$ac_ext >&5
21183 eval "$as_ac_var=no"
21185 rm -f conftest.err conftest.
$ac_objext \
21186 conftest
$ac_exeext conftest.
$ac_ext
21188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21190 if test `eval echo '${'$as_ac_var'}'` = yes; then
21191 cat >>confdefs.h
<<_ACEOF
21192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21198 if test "x$ac_cv_func_fork" = xyes
; then
21199 echo "$as_me:$LINENO: checking for working fork" >&5
21200 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
21201 if test "${ac_cv_func_fork_works+set}" = set; then
21202 echo $ECHO_N "(cached) $ECHO_C" >&6
21204 if test "$cross_compiling" = yes; then
21205 ac_cv_func_fork_works
=cross
21207 cat >conftest.
$ac_ext <<_ACEOF
21208 /* By Ruediger Kuhlmann. */
21209 #include <sys/types.h>
21211 # include <unistd.h>
21213 /* Some systems only have a dummy stub for fork() */
21221 rm -f conftest
$ac_exeext
21222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21223 (eval $ac_link) 2>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21228 (eval $ac_try) 2>&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); }; }; then
21232 ac_cv_func_fork_works
=yes
21234 echo "$as_me: program exited with status $ac_status" >&5
21235 echo "$as_me: failed program was:" >&5
21236 sed 's/^/| /' conftest.
$ac_ext >&5
21238 ( exit $ac_status )
21239 ac_cv_func_fork_works
=no
21241 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21244 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
21245 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
21248 ac_cv_func_fork_works
=$ac_cv_func_fork
21250 if test "x$ac_cv_func_fork_works" = xcross
; then
21252 *-*-amigaos* |
*-*-msdosdjgpp*)
21253 # Override, as these systems have only a dummy fork() stub
21254 ac_cv_func_fork_works
=no
21257 ac_cv_func_fork_works
=yes
21260 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21261 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21263 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21264 if test "x$ac_cv_func_vfork" = xyes
; then
21265 echo "$as_me:$LINENO: checking for working vfork" >&5
21266 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
21267 if test "${ac_cv_func_vfork_works+set}" = set; then
21268 echo $ECHO_N "(cached) $ECHO_C" >&6
21270 if test "$cross_compiling" = yes; then
21271 ac_cv_func_vfork_works
=cross
21273 cat >conftest.
$ac_ext <<_ACEOF
21276 cat confdefs.h
>>conftest.
$ac_ext
21277 cat >>conftest.
$ac_ext <<_ACEOF
21278 /* end confdefs.h. */
21279 /* Thanks to Paul Eggert for this test. */
21281 #include <stdlib.h>
21282 #include <sys/types.h>
21283 #include <sys/stat.h>
21284 #include <sys/wait.h>
21286 # include <unistd.h>
21289 # include <vfork.h>
21291 /* On some sparc systems, changes by the child to local and incoming
21292 argument registers are propagated back to the parent. The compiler
21293 is told about this with #include <vfork.h>, but some compilers
21294 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21295 static variable whose address is put into a register that is
21296 clobbered by the vfork. */
21299 sparc_address_test (int arg)
21301 sparc_address_test (arg) int arg;
21304 static pid_t child;
21322 pid_t parent = getpid ();
21325 sparc_address_test (0);
21330 /* Here is another test for sparc vfork register problems. This
21331 test uses lots of local variables, at least as many local
21332 variables as main has allocated so far including compiler
21333 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21334 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21335 reuse the register of parent for one of the local variables,
21336 since it will think that parent can't possibly be used any more
21337 in this routine. Assigning to the local variable will thus
21338 munge parent in the parent process. */
21340 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21341 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21342 /* Convince the compiler that p..p7 are live; otherwise, it might
21343 use the same hardware register for all 8 local variables. */
21344 if (p != p1 || p != p2 || p != p3 || p != p4
21345 || p != p5 || p != p6 || p != p7)
21348 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21349 from child file descriptors. If the child closes a descriptor
21350 before it execs or exits, this munges the parent's descriptor
21351 as well. Test for this by closing stdout in the child. */
21352 _exit(close(fileno(stdout)) != 0);
21357 while (wait(&status) != child)
21360 /* Was there some problem with vforking? */
21363 /* Did the child fail? (This shouldn't happen.) */
21366 /* Did the vfork/compiler bug occur? */
21367 || parent != getpid()
21369 /* Did the file descriptor bug occur? */
21370 || fstat(fileno(stdout), &st) != 0
21375 rm -f conftest
$ac_exeext
21376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21377 (eval $ac_link) 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21382 (eval $ac_try) 2>&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); }; }; then
21386 ac_cv_func_vfork_works
=yes
21388 echo "$as_me: program exited with status $ac_status" >&5
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.
$ac_ext >&5
21392 ( exit $ac_status )
21393 ac_cv_func_vfork_works
=no
21395 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21398 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
21399 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
21402 if test "x$ac_cv_func_fork_works" = xcross
; then
21403 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21404 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21405 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21408 if test "x$ac_cv_func_vfork_works" = xyes
; then
21410 cat >>confdefs.h
<<\_ACEOF
21411 #define HAVE_WORKING_VFORK 1
21416 cat >>confdefs.h
<<\_ACEOF
21421 if test "x$ac_cv_func_fork_works" = xyes
; then
21423 cat >>confdefs.h
<<\_ACEOF
21424 #define HAVE_WORKING_FORK 1
21430 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
21431 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
21432 if test "${emacs_cv_langinfo_codeset+set}" = set; then
21433 echo $ECHO_N "(cached) $ECHO_C" >&6
21435 cat >conftest.
$ac_ext <<_ACEOF
21438 cat confdefs.h
>>conftest.
$ac_ext
21439 cat >>conftest.
$ac_ext <<_ACEOF
21440 /* end confdefs.h. */
21441 #include <langinfo.h>
21445 char* cs = nl_langinfo(CODESET);
21450 rm -f conftest.
$ac_objext conftest
$ac_exeext
21451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21452 (eval $ac_link) 2>conftest.er1
21454 grep -v '^ *+' conftest.er1
>conftest.err
21456 cat conftest.err
>&5
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); } &&
21459 { ac_try
='test -z "$ac_c_werror_flag"
21460 || test ! -s conftest.err'
21461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21462 (eval $ac_try) 2>&5
21464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); }; } &&
21466 { ac_try
='test -s conftest$ac_exeext'
21467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21468 (eval $ac_try) 2>&5
21470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21471 (exit $ac_status); }; }; then
21472 emacs_cv_langinfo_codeset
=yes
21474 echo "$as_me: failed program was:" >&5
21475 sed 's/^/| /' conftest.
$ac_ext >&5
21477 emacs_cv_langinfo_codeset
=no
21479 rm -f conftest.err conftest.
$ac_objext \
21480 conftest
$ac_exeext conftest.
$ac_ext
21483 echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
21484 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6
21485 if test $emacs_cv_langinfo_codeset = yes; then
21487 cat >>confdefs.h
<<\_ACEOF
21488 #define HAVE_LANGINFO_CODESET 1
21493 echo "$as_me:$LINENO: checking for size_t" >&5
21494 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21495 if test "${ac_cv_type_size_t+set}" = set; then
21496 echo $ECHO_N "(cached) $ECHO_C" >&6
21498 cat >conftest.
$ac_ext <<_ACEOF
21501 cat confdefs.h
>>conftest.
$ac_ext
21502 cat >>conftest.
$ac_ext <<_ACEOF
21503 /* end confdefs.h. */
21504 $ac_includes_default
21510 if (sizeof (size_t))
21516 rm -f conftest.
$ac_objext
21517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21518 (eval $ac_compile) 2>conftest.er1
21520 grep -v '^ *+' conftest.er1
>conftest.err
21522 cat conftest.err
>&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); } &&
21525 { ac_try
='test -z "$ac_c_werror_flag"
21526 || test ! -s conftest.err'
21527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21528 (eval $ac_try) 2>&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); }; } &&
21532 { ac_try
='test -s conftest.$ac_objext'
21533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21534 (eval $ac_try) 2>&5
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); }; }; then
21538 ac_cv_type_size_t
=yes
21540 echo "$as_me: failed program was:" >&5
21541 sed 's/^/| /' conftest.
$ac_ext >&5
21543 ac_cv_type_size_t
=no
21545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21547 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21548 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21549 if test $ac_cv_type_size_t = yes; then
21551 cat >>confdefs.h
<<_ACEOF
21552 #define HAVE_SIZE_T 1
21559 echo "$as_me:$LINENO: checking for mbstate_t" >&5
21560 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
21561 if test "${ac_cv_type_mbstate_t+set}" = set; then
21562 echo $ECHO_N "(cached) $ECHO_C" >&6
21564 cat >conftest.
$ac_ext <<_ACEOF
21567 cat confdefs.h
>>conftest.
$ac_ext
21568 cat >>conftest.
$ac_ext <<_ACEOF
21569 /* end confdefs.h. */
21570 $ac_includes_default
21571 # include <wchar.h>
21575 mbstate_t x; return sizeof x;
21580 rm -f conftest.
$ac_objext
21581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21582 (eval $ac_compile) 2>conftest.er1
21584 grep -v '^ *+' conftest.er1
>conftest.err
21586 cat conftest.err
>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); } &&
21589 { ac_try
='test -z "$ac_c_werror_flag"
21590 || test ! -s conftest.err'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; } &&
21596 { ac_try
='test -s conftest.$ac_objext'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; }; then
21602 ac_cv_type_mbstate_t
=yes
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.
$ac_ext >&5
21607 ac_cv_type_mbstate_t
=no
21609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21611 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
21612 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
21613 if test $ac_cv_type_mbstate_t = yes; then
21615 cat >>confdefs.h
<<\_ACEOF
21616 #define HAVE_MBSTATE_T 1
21621 cat >>confdefs.h
<<\_ACEOF
21622 #define mbstate_t int
21627 echo "$as_me:$LINENO: checking for C restrict keyword" >&5
21628 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6
21629 if test "${emacs_cv_c_restrict+set}" = set; then
21630 echo $ECHO_N "(cached) $ECHO_C" >&6
21632 cat >conftest.
$ac_ext <<_ACEOF
21635 cat confdefs.h
>>conftest.
$ac_ext
21636 cat >>conftest.
$ac_ext <<_ACEOF
21637 /* end confdefs.h. */
21638 void fred (int *restrict x);
21647 rm -f conftest.
$ac_objext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21649 (eval $ac_compile) 2>conftest.er1
21651 grep -v '^ *+' conftest.er1
>conftest.err
21653 cat conftest.err
>&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); } &&
21656 { ac_try
='test -z "$ac_c_werror_flag"
21657 || test ! -s conftest.err'
21658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21659 (eval $ac_try) 2>&5
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); }; } &&
21663 { ac_try
='test -s conftest.$ac_objext'
21664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665 (eval $ac_try) 2>&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); }; }; then
21669 emacs_cv_c_restrict
=yes
21671 echo "$as_me: failed program was:" >&5
21672 sed 's/^/| /' conftest.
$ac_ext >&5
21674 cat >conftest.
$ac_ext <<_ACEOF
21677 cat confdefs.h
>>conftest.
$ac_ext
21678 cat >>conftest.
$ac_ext <<_ACEOF
21679 /* end confdefs.h. */
21680 void fred (int *__restrict x);
21689 rm -f conftest.
$ac_objext
21690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21691 (eval $ac_compile) 2>conftest.er1
21693 grep -v '^ *+' conftest.er1
>conftest.err
21695 cat conftest.err
>&5
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); } &&
21698 { ac_try
='test -z "$ac_c_werror_flag"
21699 || test ! -s conftest.err'
21700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21701 (eval $ac_try) 2>&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); }; } &&
21705 { ac_try
='test -s conftest.$ac_objext'
21706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21707 (eval $ac_try) 2>&5
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); }; }; then
21711 emacs_cv_c_restrict
=__restrict
21713 echo "$as_me: failed program was:" >&5
21714 sed 's/^/| /' conftest.
$ac_ext >&5
21716 emacs_cv_c_restrict
=no
21718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21722 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
21723 echo "${ECHO_T}$emacs_cv_c_restrict" >&6
21724 case "$emacs_cv_c_restrict" in
21725 yes) emacs_restrict
=restrict
;;
21726 no
) emacs_restrict
="";;
21727 *) emacs_restrict
="$emacs_cv_c_restrict";;
21729 if test "$emacs_restrict" != __restrict
; then
21731 cat >>confdefs.h
<<_ACEOF
21732 #define __restrict $emacs_restrict
21737 echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
21738 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6
21739 if test "${emacs_cv_c_restrict_arr+set}" = set; then
21740 echo $ECHO_N "(cached) $ECHO_C" >&6
21742 cat >conftest.
$ac_ext <<_ACEOF
21745 cat confdefs.h
>>conftest.
$ac_ext
21746 cat >>conftest.
$ac_ext <<_ACEOF
21747 /* end confdefs.h. */
21748 void fred (int x[__restrict]);
21757 rm -f conftest.
$ac_objext
21758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21759 (eval $ac_compile) 2>conftest.er1
21761 grep -v '^ *+' conftest.er1
>conftest.err
21763 cat conftest.err
>&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } &&
21766 { ac_try
='test -z "$ac_c_werror_flag"
21767 || test ! -s conftest.err'
21768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21769 (eval $ac_try) 2>&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); }; } &&
21773 { ac_try
='test -s conftest.$ac_objext'
21774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21775 (eval $ac_try) 2>&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); }; }; then
21779 emacs_cv_c_restrict_arr
=yes
21781 echo "$as_me: failed program was:" >&5
21782 sed 's/^/| /' conftest.
$ac_ext >&5
21784 emacs_cv_c_restrict_arr
=no
21786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21788 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
21789 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6
21790 if test "$emacs_cv_c_restrict_arr" = yes; then
21792 cat >>confdefs.h
<<\_ACEOF
21793 #define __restrict_arr __restrict
21800 # Set up the CFLAGS for real compilation, so we can substitute it.
21801 CFLAGS
="$REAL_CFLAGS"
21802 CPPFLAGS
="$REAL_CPPFLAGS"
21804 #### Find out which version of Emacs this is.
21805 version
=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
21806 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
21807 if test x
"${version}" = x
; then
21808 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
21809 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
21810 { (exit 1); exit 1; }; }
21813 ### Specify what sort of things we'll be editing into Makefile and config.h.
21814 ### Use configuration here uncanonicalized to avoid exceeding size limits.
21850 cat >>confdefs.h
<<_ACEOF
21851 #define EMACS_CONFIGURATION "${canonical}"
21855 cat >>confdefs.h
<<_ACEOF
21856 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
21860 cat >>confdefs.h
<<_ACEOF
21861 #define config_machfile "${machfile}"
21865 cat >>confdefs.h
<<_ACEOF
21866 #define config_opsysfile "${opsysfile}"
21870 cat >>confdefs.h
<<_ACEOF
21871 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
21875 cat >>confdefs.h
<<_ACEOF
21876 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
21880 cat >>confdefs.h
<<_ACEOF
21881 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
21885 cat >>confdefs.h
<<_ACEOF
21886 #define UNEXEC_SRC ${UNEXEC_SRC}
21890 if test "${HAVE_X_WINDOWS}" = "yes" ; then
21892 cat >>confdefs.h
<<\_ACEOF
21893 #define HAVE_X_WINDOWS 1
21897 if test "${USE_X_TOOLKIT}" != "none" ; then
21899 cat >>confdefs.h
<<\_ACEOF
21900 #define USE_X_TOOLKIT 1
21904 if test "${HAVE_X11}" = "yes" ; then
21906 cat >>confdefs.h
<<\_ACEOF
21911 if test "${HAVE_XFREE386}" = "yes" ; then
21913 cat >>confdefs.h
<<\_ACEOF
21914 #define HAVE_XFREE386 1
21918 if test "${HAVE_MENUS}" = "yes" ; then
21920 cat >>confdefs.h
<<\_ACEOF
21921 #define HAVE_MENUS 1
21925 if test "${GNU_MALLOC}" = "yes" ; then
21927 cat >>confdefs.h
<<\_ACEOF
21928 #define GNU_MALLOC 1
21932 if test "${REL_ALLOC}" = "yes" ; then
21934 cat >>confdefs.h
<<\_ACEOF
21935 #define REL_ALLOC 1
21944 #### Report on what we decided to do.
21945 #### Report GTK as a toolkit, even if it doesn't use Xt.
21946 #### It makes printing result more understandable as using GTK sets
21947 #### toolkit_scroll_bars to yes by default.
21948 if test "${HAVE_GTK}" = "yes"; then
21953 Configured for \`${canonical}'.
21955 Where should the build process find the source code? ${srcdir}
21956 What operating system and machine description files should Emacs use?
21957 \`${opsysfile}' and \`${machfile}'
21958 What compiler should emacs be built with? ${CC} ${CFLAGS}
21959 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
21960 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
21961 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
21962 What window system should Emacs use? ${window_system}
21963 What toolkit should Emacs use? ${USE_X_TOOLKIT}"
21965 if test -n "${x_includes}"; then
21966 echo " Where do we find X Windows header files? ${x_includes}"
21968 echo " Where do we find X Windows header files? Standard dirs"
21970 if test -n "${x_libraries}"; then
21971 echo " Where do we find X Windows libraries? ${x_libraries}"
21973 echo " Where do we find X Windows libraries? Standard dirs"
21976 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
21977 echo " Does Emacs use -lXpm? ${HAVE_XPM}"
21978 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
21979 echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
21980 echo " Does Emacs use -lungif? ${HAVE_GIF}"
21981 echo " Does Emacs use -lpng? ${HAVE_PNG}"
21982 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
21985 if test $USE_XASSERTS = yes; then
21986 echo " Compiling with asserts turned on."
21987 CPPFLAGS
="$CPPFLAGS -DXASSERTS=1"
21993 # Remove any trailing slashes in these variables.
21994 test "${prefix}" != NONE
&&
21995 prefix
=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
21996 test "${exec_prefix}" != NONE
&&
21997 exec_prefix
=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
21999 ## Check if the C preprocessor will convert `..' to `. .'. If so, set
22000 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
22001 ## from Makefile.c can correctly provide the arg `-traditional' to the
22004 cat >conftest.
$ac_ext <<_ACEOF
22007 cat confdefs.h
>>conftest.
$ac_ext
22008 cat >>conftest.
$ac_ext <<_ACEOF
22009 /* end confdefs.h. */
22012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22013 $EGREP "yes..yes" >/dev
/null
2>&1; then
22014 CPP_NEED_TRADITIONAL
=no
22016 CPP_NEED_TRADITIONAL
=yes
22021 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"
22022 ac_config_commands
="$ac_config_commands default"
22023 cat >confcache
<<\_ACEOF
22024 # This file is a shell script that caches the results of configure
22025 # tests run on this system so they can be shared between configure
22026 # scripts and configure runs, see configure's option --config-cache.
22027 # It is not useful on other systems. If it contains results you don't
22028 # want to keep, you may remove or edit it.
22030 # config.status only pays attention to the cache file if you give it
22031 # the --recheck option to rerun configure.
22033 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22034 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22035 # following values.
22039 # The following way of writing the cache mishandles newlines in values,
22040 # but we know of no workaround that is simple, portable, and efficient.
22041 # So, don't put newlines in cache variables' values.
22042 # Ultrix sh set writes to stderr and can't be redirected directly,
22043 # and sets the high bit in the cache file unless we assign to the vars.
22046 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22048 # `set' does not quote correctly, so add quotes (double-quote
22049 # substitution turns \\\\ into \\, and sed turns \\ into \).
22052 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22055 # `set' quotes correctly as required by POSIX, so do not add quotes.
22057 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22064 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22066 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22068 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22069 if test -w $cache_file; then
22070 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22071 cat confcache
>$cache_file
22073 echo "not updating unwritable cache $cache_file"
22078 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22079 # Let make expand exec_prefix.
22080 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22082 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22083 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22084 # trailing colons and then remove the whole line if VPATH becomes empty
22085 # (actually we leave an empty line to preserve line numbers).
22086 if test "x$srcdir" = x.
; then
22087 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22088 s/:*\$(srcdir):*/:/;
22089 s/:*\${srcdir}:*/:/;
22091 s/^\([^=]*=[ ]*\):*/\1/;
22097 DEFS
=-DHAVE_CONFIG_H
22101 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22102 # 1. Remove the extension, and $U if already installed.
22103 ac_i
=`echo "$ac_i" |
22104 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22106 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22107 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22109 LIBOBJS
=$ac_libobjs
22111 LTLIBOBJS
=$ac_ltlibobjs
22115 : ${CONFIG_STATUS=./config.status}
22116 ac_clean_files_save
=$ac_clean_files
22117 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22118 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22119 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22120 cat >$CONFIG_STATUS <<_ACEOF
22122 # Generated by $as_me.
22123 # Run this file to recreate the current configuration.
22124 # Compiler output produced by configure, useful for debugging
22125 # configure, is in config.log if it exists.
22128 ac_cs_recheck=false
22130 SHELL=\${CONFIG_SHELL-$SHELL}
22133 cat >>$CONFIG_STATUS <<\_ACEOF
22134 ## --------------------- ##
22135 ## M4sh Initialization. ##
22136 ## --------------------- ##
22138 # Be Bourne compatible
22139 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22142 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22143 # is contrary to our usage. Disable this feature.
22144 alias -g '${1+"$@"}'='"$@"'
22145 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22148 DUALCASE
=1; export DUALCASE
# for MKS sh
22150 # Support unset when possible.
22151 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22158 # Work around bugs in pre-3.0 UWIN ksh.
22159 $as_unset ENV MAIL MAILPATH
22166 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22167 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22168 LC_TELEPHONE LC_TIME
22170 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22171 eval $as_var=C
; export $as_var
22177 # Required to use basename.
22178 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22184 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22185 as_basename
=basename
22191 # Name of the executable.
22192 as_me
=`$as_basename "$0" ||
22193 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22194 X"$0" : 'X\(//\)$' \| \
22195 X"$0" : 'X\(/\)$' \| \
22196 . : '\(.\)' 2>/dev/null ||
22198 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22199 /^X\/\(\/\/\)$/{ s//\1/; q; }
22200 /^X\/\(\/\).*/{ s//\1/; q; }
22204 # PATH needs CR, and LINENO needs CR and PATH.
22205 # Avoid depending upon Character Ranges.
22206 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22207 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22208 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22209 as_cr_digits
='0123456789'
22210 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22212 # The user is always right.
22213 if test "${PATH_SEPARATOR+set}" != set; then
22214 echo "#! /bin/sh" >conf$$.sh
22215 echo "exit 0" >>conf$$.sh
22217 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22226 as_lineno_1
=$LINENO
22227 as_lineno_2
=$LINENO
22228 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22229 test "x$as_lineno_1" != "x$as_lineno_2" &&
22230 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22231 # Find who we are. Look in the path if we contain no path at all
22234 *[\\/]* ) as_myself
=$0 ;;
22235 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22236 for as_dir
in $PATH
22239 test -z "$as_dir" && as_dir
=.
22240 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22245 # We did not find ourselves, most probably we were run as `sh COMMAND'
22246 # in which case we are not to be found in the path.
22247 if test "x$as_myself" = x
; then
22250 if test ! -f "$as_myself"; then
22251 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22252 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22253 { (exit 1); exit 1; }; }
22255 case $CONFIG_SHELL in
22257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22258 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22261 test -z "$as_dir" && as_dir
=.
22262 for as_base
in sh bash ksh sh5
; do
22265 if ("$as_dir/$as_base" -c '
22266 as_lineno_1=$LINENO
22267 as_lineno_2=$LINENO
22268 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22269 test "x$as_lineno_1" != "x$as_lineno_2" &&
22270 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22271 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22272 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22273 CONFIG_SHELL
=$as_dir/$as_base
22274 export CONFIG_SHELL
22275 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22283 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22284 # uniformly replaced by the line number. The first 'sed' inserts a
22285 # line-number line before each line; the second 'sed' does the real
22286 # work. The second script uses 'N' to pair each line-number line
22287 # with the numbered line, and appends trailing '-' during
22288 # substitution so that $LINENO is not a special case at line end.
22289 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22290 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22291 sed '=' <$as_myself |
22296 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22299 s,^['$as_cr_digits']*\n,,
22300 ' >$as_me.lineno
&&
22301 chmod +x
$as_me.lineno ||
22302 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22303 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22304 { (exit 1); exit 1; }; }
22306 # Don't try to exec as it changes $[0], causing all sort of problems
22307 # (the dirname of $[0] is not the place where we might find the
22308 # original and so on. Autoconf is especially sensible to this).
22310 # Exit status is that of the last command.
22315 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22316 *c
*,-n*) ECHO_N
= ECHO_C
='
22318 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22319 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22322 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22328 rm -f conf$$ conf$$.exe conf$$.
file
22330 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22331 # We could just check for DJGPP; but this test a) works b) is more generic
22332 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22333 if test -f conf$$.exe
; then
22334 # Don't use ln at all; we don't have any links
22339 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22344 rm -f conf$$ conf$$.exe conf$$.
file
22346 if mkdir
-p .
2>/dev
/null
; then
22349 test -d .
/-p && rmdir .
/-p
22353 as_executable_p
="test -f"
22355 # Sed expression to map a string onto a valid CPP name.
22356 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22358 # Sed expression to map a string onto a valid variable name.
22359 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22363 # We need space, tab and new line, in precisely that order.
22373 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22374 # report actual input values of CONFIG_FILES etc. instead of their
22375 # values after options handling. Logging --version etc. is OK.
22379 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22380 ## Running $as_me. ##
22385 This file was extended by $as_me, which was
22386 generated by GNU Autoconf 2.59. Invocation command line was
22388 CONFIG_FILES = $CONFIG_FILES
22389 CONFIG_HEADERS = $CONFIG_HEADERS
22390 CONFIG_LINKS = $CONFIG_LINKS
22391 CONFIG_COMMANDS = $CONFIG_COMMANDS
22395 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22399 # Files that config.status was made for.
22400 if test -n "$ac_config_files"; then
22401 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22404 if test -n "$ac_config_headers"; then
22405 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22408 if test -n "$ac_config_links"; then
22409 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22412 if test -n "$ac_config_commands"; then
22413 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22416 cat >>$CONFIG_STATUS <<\_ACEOF
22419 \`$as_me' instantiates files from templates according to the
22420 current configuration.
22422 Usage: $0 [OPTIONS] [FILE]...
22424 -h, --help print this help, then exit
22425 -V, --version print version number, then exit
22426 -q, --quiet do not print progress messages
22427 -d, --debug don't remove temporary files
22428 --recheck update $as_me by reconfiguring in the same conditions
22429 --file=FILE[:TEMPLATE]
22430 instantiate the configuration file FILE
22431 --header=FILE[:TEMPLATE]
22432 instantiate the configuration header FILE
22434 Configuration files:
22437 Configuration headers:
22440 Configuration commands:
22443 Report bugs to <bug-autoconf@gnu.org>."
22446 cat >>$CONFIG_STATUS <<_ACEOF
22449 configured by $0, generated by GNU Autoconf 2.59,
22450 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22452 Copyright (C) 2003 Free Software Foundation, Inc.
22453 This config.status script is free software; the Free Software Foundation
22454 gives unlimited permission to copy, distribute and modify it."
22459 cat >>$CONFIG_STATUS <<\_ACEOF
22460 # If no file are specified by the user, then we need to provide default
22461 # value. By we need to know if files were specified by the user.
22467 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22468 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22476 *) # This is not an option, so the user has probably given explicit
22479 ac_need_defaults
=false
;;
22483 # Handling of the options.
22485 cat >>$CONFIG_STATUS <<\_ACEOF
22486 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22488 --version |
--vers* |
-V )
22489 echo "$ac_cs_version"; exit 0 ;;
22491 # Conflict between --help and --header
22492 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22493 Try \`$0 --help' for more information." >&5
22494 echo "$as_me: error: ambiguous option: $1
22495 Try \`$0 --help' for more information." >&2;}
22496 { (exit 1); exit 1; }; };;
22497 --help |
--hel |
-h )
22498 echo "$ac_cs_usage"; exit 0 ;;
22499 --debug |
--d* |
-d )
22501 --file |
--fil |
--fi |
--f )
22503 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22504 ac_need_defaults
=false
;;
22505 --header |
--heade |
--head |
--hea )
22507 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22508 ac_need_defaults
=false
;;
22509 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22510 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22513 # This is an error.
22514 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22515 Try \`$0 --help' for more information." >&5
22516 echo "$as_me: error: unrecognized option: $1
22517 Try \`$0 --help' for more information." >&2;}
22518 { (exit 1); exit 1; }; } ;;
22520 *) ac_config_targets
="$ac_config_targets $1" ;;
22526 ac_configure_extra_args
=
22528 if $ac_cs_silent; then
22530 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22534 cat >>$CONFIG_STATUS <<_ACEOF
22535 if \$ac_cs_recheck; then
22536 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22537 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22542 cat >>$CONFIG_STATUS <<_ACEOF
22544 # INIT-COMMANDS section.
22547 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
22553 cat >>$CONFIG_STATUS <<\_ACEOF
22554 for ac_config_target
in $ac_config_targets
22556 case "$ac_config_target" in
22557 # Handling of arguments.
22558 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22559 "lib-src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;;
22560 "oldXMenu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES oldXMenu/Makefile" ;;
22561 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
22562 "lwlib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lwlib/Makefile" ;;
22563 "src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
22564 "lisp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lisp/Makefile" ;;
22565 "lispref/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispref/Makefile" ;;
22566 "lispintro/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispintro/Makefile" ;;
22567 "leim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES leim/Makefile" ;;
22568 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
22569 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h:src/config.in" ;;
22570 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22571 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22572 { (exit 1); exit 1; }; };;
22576 # If the user did not use the arguments to specify the items to instantiate,
22577 # then the envvar interface is used. Set only those that are not.
22578 # We use the long form for the default assignment because of an extremely
22579 # bizarre bug on SunOS 4.1.3.
22580 if $ac_need_defaults; then
22581 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22582 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22583 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22586 # Have a temporary directory for convenience. Make it in the build tree
22587 # simply because there is no reason to put it here, and in addition,
22588 # creating and moving files from /tmp can sometimes cause problems.
22589 # Create a temporary directory, and hook for its removal unless debugging.
22592 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22593 trap '{ (exit 1); exit 1; }' 1 2 13 15
22596 # Create a (secure) tmp directory for tmp files.
22599 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22600 test -n "$tmp" && test -d "$tmp"
22603 tmp
=.
/confstat$$
-$RANDOM
22604 (umask 077 && mkdir
$tmp)
22607 echo "$me: cannot create a temporary directory in ." >&2
22608 { (exit 1); exit 1; }
22613 cat >>$CONFIG_STATUS <<_ACEOF
22616 # CONFIG_FILES section.
22619 # No need to generate the scripts if there are no CONFIG_FILES.
22620 # This happens for instance when ./config.status config.h
22621 if test -n "\$CONFIG_FILES"; then
22622 # Protect against being on the right side of a sed subst in config.status.
22623 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22624 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22625 s,@SHELL@,$SHELL,;t t
22626 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22627 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22628 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22629 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22630 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22631 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22632 s,@exec_prefix@,$exec_prefix,;t t
22633 s,@prefix@,$prefix,;t t
22634 s,@program_transform_name@,$program_transform_name,;t t
22635 s,@bindir@,$bindir,;t t
22636 s,@sbindir@,$sbindir,;t t
22637 s,@libexecdir@,$libexecdir,;t t
22638 s,@datadir@,$datadir,;t t
22639 s,@sysconfdir@,$sysconfdir,;t t
22640 s,@sharedstatedir@,$sharedstatedir,;t t
22641 s,@localstatedir@,$localstatedir,;t t
22642 s,@libdir@,$libdir,;t t
22643 s,@includedir@,$includedir,;t t
22644 s,@oldincludedir@,$oldincludedir,;t t
22645 s,@infodir@,$infodir,;t t
22646 s,@mandir@,$mandir,;t t
22647 s,@build_alias@,$build_alias,;t t
22648 s,@host_alias@,$host_alias,;t t
22649 s,@target_alias@,$target_alias,;t t
22650 s,@DEFS@,$DEFS,;t t
22651 s,@ECHO_C@,$ECHO_C,;t t
22652 s,@ECHO_N@,$ECHO_N,;t t
22653 s,@ECHO_T@,$ECHO_T,;t t
22654 s,@LIBS@,$LIBS,;t t
22655 s,@MAINT@,$MAINT,;t t
22656 s,@build@,$build,;t t
22657 s,@build_cpu@,$build_cpu,;t t
22658 s,@build_vendor@,$build_vendor,;t t
22659 s,@build_os@,$build_os,;t t
22660 s,@host@,$host,;t t
22661 s,@host_cpu@,$host_cpu,;t t
22662 s,@host_vendor@,$host_vendor,;t t
22663 s,@host_os@,$host_os,;t t
22665 s,@CFLAGS@,$CFLAGS,;t t
22666 s,@LDFLAGS@,$LDFLAGS,;t t
22667 s,@CPPFLAGS@,$CPPFLAGS,;t t
22668 s,@ac_ct_CC@,$ac_ct_CC,;t t
22669 s,@EXEEXT@,$EXEEXT,;t t
22670 s,@OBJEXT@,$OBJEXT,;t t
22671 s,@LN_S@,$LN_S,;t t
22673 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22674 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22675 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22676 s,@RANLIB@,$RANLIB,;t t
22677 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22678 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
22679 s,@EGREP@,$EGREP,;t t
22680 s,@LIBSOUND@,$LIBSOUND,;t t
22681 s,@SET_MAKE@,$SET_MAKE,;t t
22682 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22683 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
22684 s,@GTK_LIBS@,$GTK_LIBS,;t t
22685 s,@ALLOCA@,$ALLOCA,;t t
22686 s,@liblockfile@,$liblockfile,;t t
22687 s,@LIBOBJS@,$LIBOBJS,;t t
22688 s,@NEED_SETGID@,$NEED_SETGID,;t t
22689 s,@KMEM_GROUP@,$KMEM_GROUP,;t t
22690 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
22691 s,@version@,$version,;t t
22692 s,@configuration@,$configuration,;t t
22693 s,@canonical@,$canonical,;t t
22694 s,@srcdir@,$srcdir,;t t
22695 s,@lispdir@,$lispdir,;t t
22696 s,@locallisppath@,$locallisppath,;t t
22697 s,@lisppath@,$lisppath,;t t
22698 s,@x_default_search_path@,$x_default_search_path,;t t
22699 s,@etcdir@,$etcdir,;t t
22700 s,@archlibdir@,$archlibdir,;t t
22701 s,@docdir@,$docdir,;t t
22702 s,@bitmapdir@,$bitmapdir,;t t
22703 s,@gamedir@,$gamedir,;t t
22704 s,@gameuser@,$gameuser,;t t
22705 s,@c_switch_system@,$c_switch_system,;t t
22706 s,@c_switch_machine@,$c_switch_machine,;t t
22707 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t
22708 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t
22709 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t
22710 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
22711 s,@machfile@,$machfile,;t t
22712 s,@opsysfile@,$opsysfile,;t t
22713 s,@carbon_appdir@,$carbon_appdir,;t t
22714 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22719 cat >>$CONFIG_STATUS <<\_ACEOF
22720 # Split the substitutions into bite-sized pieces for seds with
22721 # small command number limits, like on Digital OSF/1 and HP-UX.
22722 ac_max_sed_lines
=48
22723 ac_sed_frag
=1 # Number of current file.
22724 ac_beg
=1 # First line for current file.
22725 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22728 while $ac_more_lines; do
22729 if test $ac_beg -gt 1; then
22730 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22732 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22734 if test ! -s $tmp/subs.frag
; then
22735 ac_more_lines
=false
22737 # The purpose of the label and of the branching condition is to
22738 # speed up the sed processing (if there are no `@' at all, there
22739 # is no need to browse any of the substitutions).
22740 # These are the two extra sed commands mentioned above.
22742 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22743 if test -z "$ac_sed_cmds"; then
22744 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22746 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22748 ac_sed_frag
=`expr $ac_sed_frag + 1`
22750 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22753 if test -z "$ac_sed_cmds"; then
22756 fi # test -n "$CONFIG_FILES"
22759 cat >>$CONFIG_STATUS <<\_ACEOF
22760 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22761 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22763 - |
*:- |
*:-:* ) # input from stdin
22765 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22766 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22767 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22768 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22769 * ) ac_file_in
=$ac_file.
in ;;
22772 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22773 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22774 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22775 X"$ac_file" : 'X\(//\)[^/]' \| \
22776 X"$ac_file" : 'X\(//\)$' \| \
22777 X"$ac_file" : 'X\(/\)' \| \
22778 . : '\(.\)' 2>/dev/null ||
22780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22781 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22782 /^X\(\/\/\)$/{ s//\1/; q; }
22783 /^X\(\/\).*/{ s//\1/; q; }
22785 { if $as_mkdir_p; then
22790 while test ! -d "$as_dir"; do
22791 as_dirs
="$as_dir $as_dirs"
22792 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22793 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22794 X"$as_dir" : 'X\(//\)[^/]' \| \
22795 X"$as_dir" : 'X\(//\)$' \| \
22796 X"$as_dir" : 'X\(/\)' \| \
22797 . : '\(.\)' 2>/dev/null ||
22799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22800 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22801 /^X\(\/\/\)$/{ s//\1/; q; }
22802 /^X\(\/\).*/{ s//\1/; q; }
22805 test ! -n "$as_dirs" || mkdir
$as_dirs
22806 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22807 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22808 { (exit 1); exit 1; }; }; }
22812 if test "$ac_dir" != .
; then
22813 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22814 # A "../" for each directory in $ac_dir_suffix.
22815 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22817 ac_dir_suffix
= ac_top_builddir
=
22821 .
) # No --srcdir option. We are building in place.
22823 if test -z "$ac_top_builddir"; then
22826 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22828 [\\/]* | ?
:[\\/]* ) # Absolute path.
22829 ac_srcdir
=$srcdir$ac_dir_suffix;
22830 ac_top_srcdir
=$srcdir ;;
22831 *) # Relative path.
22832 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22833 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22836 # Do not use `cd foo && pwd` to compute absolute paths, because
22837 # the directories may not exist.
22839 .
) ac_abs_builddir
="$ac_dir";;
22842 .
) ac_abs_builddir
=`pwd`;;
22843 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22844 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22847 case $ac_abs_builddir in
22848 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22850 case ${ac_top_builddir}.
in
22851 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22852 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22853 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22856 case $ac_abs_builddir in
22857 .
) ac_abs_srcdir
=$ac_srcdir;;
22860 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22861 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22862 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22865 case $ac_abs_builddir in
22866 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22868 case $ac_top_srcdir in
22869 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22870 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22871 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22877 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22878 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22881 if test x
"$ac_file" != x-
; then
22882 { echo "$as_me:$LINENO: creating $ac_file" >&5
22883 echo "$as_me: creating $ac_file" >&6;}
22886 # Let's still pretend it is `configure' which instantiates (i.e., don't
22887 # use $as_me), people would be surprised to read:
22888 # /* config.h. Generated by config.status. */
22889 if test x
"$ac_file" = x-
; then
22892 configure_input
="$ac_file. "
22894 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22895 sed 's,.*/,,'` by configure."
22897 # First look for the input files in the build tree, otherwise in the
22899 ac_file_inputs
=`IFS=:
22900 for f in $ac_file_in; do
22902 -) echo $tmp/stdin ;;
22904 # Absolute (can't be DOS-style, as IFS=:)
22905 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22906 echo "$as_me: error: cannot find input file: $f" >&2;}
22907 { (exit 1); exit 1; }; }
22910 if test -f "$f"; then
22913 elif test -f "$srcdir/$f"; then
22918 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22919 echo "$as_me: error: cannot find input file: $f" >&2;}
22920 { (exit 1); exit 1; }; }
22923 done` ||
{ (exit 1); exit 1; }
22925 cat >>$CONFIG_STATUS <<_ACEOF
22929 cat >>$CONFIG_STATUS <<\_ACEOF
22931 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22932 s
,@configure_input@
,$configure_input,;t t
22933 s
,@srcdir@
,$ac_srcdir,;t t
22934 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
22935 s
,@top_srcdir@
,$ac_top_srcdir,;t t
22936 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
22937 s
,@builddir@
,$ac_builddir,;t t
22938 s
,@abs_builddir@
,$ac_abs_builddir,;t t
22939 s
,@top_builddir@
,$ac_top_builddir,;t t
22940 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
22941 s
,@INSTALL@
,$ac_INSTALL,;t t
22942 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22944 if test x"$ac_file" != x-; then
22945 mv $tmp/out $ac_file
22953 cat >>$CONFIG_STATUS <<\_ACEOF
22956 # CONFIG_HEADER section.
22959 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
22960 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22962 # ac_d sets the value in "#define NAME VALUE" lines.
22963 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22964 ac_dB
='[ ].*$,\1#\2'
22967 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22968 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22969 ac_uB
='$,\1#\2define\3'
22973 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
22974 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22976 - |
*:- |
*:-:* ) # input from stdin
22978 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22979 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22980 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22981 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22982 * ) ac_file_in
=$ac_file.
in ;;
22985 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
22986 echo "$as_me: creating $ac_file" >&6;}
22988 # First look for the input files in the build tree, otherwise in the
22990 ac_file_inputs
=`IFS=:
22991 for f in $ac_file_in; do
22993 -) echo $tmp/stdin ;;
22995 # Absolute (can't be DOS-style, as IFS=:)
22996 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22997 echo "$as_me: error: cannot find input file: $f" >&2;}
22998 { (exit 1); exit 1; }; }
22999 # Do quote $f, to prevent DOS paths from being IFS'd.
23002 if test -f "$f"; then
23005 elif test -f "$srcdir/$f"; then
23010 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23011 echo "$as_me: error: cannot find input file: $f" >&2;}
23012 { (exit 1); exit 1; }; }
23015 done` ||
{ (exit 1); exit 1; }
23016 # Remove the trailing spaces.
23017 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23021 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23022 # `conftest.undefs', that substitutes the proper values into
23023 # config.h.in to produce config.h. The first handles `#define'
23024 # templates, and the second `#undef' templates.
23025 # And first: Protect against being on the right side of a sed subst in
23026 # config.status. Protect against being in an unquoted here document
23027 # in config.status.
23028 rm -f conftest.defines conftest.undefs
23029 # Using a here document instead of a string reduces the quoting nightmare.
23030 # Putting comments in sed scripts is not portable.
23032 # `end' is used to avoid that the second main sed command (meant for
23033 # 0-ary CPP macros) applies to n-ary macro definitions.
23034 # See the Autoconf documentation for `clear'.
23035 cat >confdef2sed.
sed <<\_ACEOF
23040 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23042 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23045 # If some macros were called several times there might be several times
23046 # the same #defines, which is useless. Nevertheless, we may not want to
23047 # sort them, since we want the *last* AC-DEFINE to be honored.
23048 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23049 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23050 rm -f confdef2sed.sed
23052 # This sed command replaces #undef with comments. This is necessary, for
23053 # example, in the case of _POSIX_SOURCE, which is predefined and required
23054 # on some systems where configure will not decide to define it.
23055 cat >>conftest.undefs <<\_ACEOF
23056 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23059 # Break up conftest.defines because some shells have a limit on the size
23060 # of here documents, and old seds have small limits too (100 cmds).
23061 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23062 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23063 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23064 echo ' :' >>$CONFIG_STATUS
23065 rm -f conftest.tail
23066 while grep . conftest.defines >/dev/null
23068 # Write a limited-size here document to $tmp/defines.sed.
23069 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23070 # Speed up: don't consider the non `#define' lines.
23071 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23072 # Work around the forget-to-reset-the-flag bug.
23073 echo 't clr' >>$CONFIG_STATUS
23074 echo ': clr' >>$CONFIG_STATUS
23075 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23077 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23079 mv $tmp/out $tmp/in
23081 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23082 rm -f conftest.defines
23083 mv conftest.
tail conftest.defines
23085 rm -f conftest.defines
23086 echo ' fi # grep' >>$CONFIG_STATUS
23087 echo >>$CONFIG_STATUS
23089 # Break up conftest.undefs because some shells have a limit on the size
23090 # of here documents, and old seds have small limits too (100 cmds).
23091 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23092 rm -f conftest.
tail
23093 while grep . conftest.undefs
>/dev
/null
23095 # Write a limited-size here document to $tmp/undefs.sed.
23096 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23097 # Speed up: don't consider the non
`#undef'
23098 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23099 # Work around the forget-to-reset-the-flag bug.
23100 echo 't clr' >>$CONFIG_STATUS
23101 echo ': clr' >>$CONFIG_STATUS
23102 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23104 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23106 mv $tmp/out $tmp/in
23108 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23109 rm -f conftest.undefs
23110 mv conftest.tail conftest.undefs
23112 rm -f conftest.undefs
23114 cat >>$CONFIG_STATUS <<\_ACEOF
23115 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23116 # use $as_me), people would be surprised to read:
23117 # /* config.h. Generated by config.status. */
23118 if test x
"$ac_file" = x-
; then
23119 echo "/* Generated by configure. */" >$tmp/config.h
23121 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23123 cat $tmp/in >>$tmp/config.h
23125 if test x
"$ac_file" != x-
; then
23126 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23127 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23128 echo "$as_me: $ac_file is unchanged" >&6;}
23130 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23131 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23132 X"$ac_file" : 'X\(//\)[^/]' \| \
23133 X"$ac_file" : 'X\(//\)$' \| \
23134 X"$ac_file" : 'X\(/\)' \| \
23135 . : '\(.\)' 2>/dev/null ||
23137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23138 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23139 /^X\(\/\/\)$/{ s//\1/; q; }
23140 /^X\(\/\).*/{ s//\1/; q; }
23142 { if $as_mkdir_p; then
23147 while test ! -d "$as_dir"; do
23148 as_dirs
="$as_dir $as_dirs"
23149 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23150 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23151 X"$as_dir" : 'X\(//\)[^/]' \| \
23152 X"$as_dir" : 'X\(//\)$' \| \
23153 X"$as_dir" : 'X\(/\)' \| \
23154 . : '\(.\)' 2>/dev/null ||
23156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23157 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23158 /^X\(\/\/\)$/{ s//\1/; q; }
23159 /^X\(\/\).*/{ s//\1/; q; }
23162 test ! -n "$as_dirs" || mkdir
$as_dirs
23163 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23164 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23165 { (exit 1); exit 1; }; }; }
23168 mv $tmp/config.h
$ac_file
23172 rm -f $tmp/config.h
23176 cat >>$CONFIG_STATUS <<\_ACEOF
23179 # CONFIG_COMMANDS section.
23181 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23182 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23183 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23184 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23185 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23186 X"$ac_dest" : 'X\(//\)[^/]' \| \
23187 X"$ac_dest" : 'X\(//\)$' \| \
23188 X"$ac_dest" : 'X\(/\)' \| \
23189 . : '\(.\)' 2>/dev/null ||
23191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23192 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23193 /^X\(\/\/\)$/{ s//\1/; q; }
23194 /^X\(\/\).*/{ s//\1/; q; }
23196 { if $as_mkdir_p; then
23201 while test ! -d "$as_dir"; do
23202 as_dirs
="$as_dir $as_dirs"
23203 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23204 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23205 X"$as_dir" : 'X\(//\)[^/]' \| \
23206 X"$as_dir" : 'X\(//\)$' \| \
23207 X"$as_dir" : 'X\(/\)' \| \
23208 . : '\(.\)' 2>/dev/null ||
23210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23211 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23212 /^X\(\/\/\)$/{ s//\1/; q; }
23213 /^X\(\/\).*/{ s//\1/; q; }
23216 test ! -n "$as_dirs" || mkdir
$as_dirs
23217 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23218 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23219 { (exit 1); exit 1; }; }; }
23223 if test "$ac_dir" != .
; then
23224 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23225 # A "../" for each directory in $ac_dir_suffix.
23226 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23228 ac_dir_suffix
= ac_top_builddir
=
23232 .
) # No --srcdir option. We are building in place.
23234 if test -z "$ac_top_builddir"; then
23237 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23239 [\\/]* | ?
:[\\/]* ) # Absolute path.
23240 ac_srcdir
=$srcdir$ac_dir_suffix;
23241 ac_top_srcdir
=$srcdir ;;
23242 *) # Relative path.
23243 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23244 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23247 # Do not use `cd foo && pwd` to compute absolute paths, because
23248 # the directories may not exist.
23250 .
) ac_abs_builddir
="$ac_dir";;
23253 .
) ac_abs_builddir
=`pwd`;;
23254 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23255 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23258 case $ac_abs_builddir in
23259 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23261 case ${ac_top_builddir}.
in
23262 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23263 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23264 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23267 case $ac_abs_builddir in
23268 .
) ac_abs_srcdir
=$ac_srcdir;;
23271 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23272 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23273 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23276 case $ac_abs_builddir in
23277 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23279 case $ac_top_srcdir in
23280 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23281 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23282 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23287 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23288 echo "$as_me: executing $ac_dest commands" >&6;}
23292 ### Make the necessary directories, if they don't exist.
23293 for dir
in etc lisp
; do
23294 test -d ${dir} || mkdir
${dir}
23297 # Build src/Makefile from ${srcdir}/src/Makefile.c
23298 # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
23299 # This must be done after src/config.h is built, since we rely on that file.
23301 # Now get this: Some word that is part of the ${srcdir} directory name
23302 # or the ${configuration} value might, just might, happen to be an
23303 # identifier like `sun4' or `i386' or something, and be predefined by
23304 # the C preprocessor to some helpful value like 1, or maybe the empty
23305 # string. Needless to say consequent macro substitutions are less
23306 # than conducive to the makefile finding the correct directory.
23307 undefs
="`echo $top_srcdir $configuration $canonical |
23308 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
23309 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
23312 echo creating src
/epaths.h
23313 ${MAKE-make} epaths-force
23315 # As of 2000-11-19, newest development versions of GNU cpp preprocess
23316 # `..' to `. .' unless invoked with -traditional
23318 if test "x$GCC" = xyes
&& test "x$CPP_NEED_TRADITIONAL" = xyes
; then
23319 CPPFLAGS
="$CPPFLAGS -traditional"
23322 echo creating lib-src
/Makefile
23324 rm -f junk.c junk1.c junk2.c
23325 sed -e '/start of cpp stuff/q' \
23326 < Makefile.c
> junk1.c
23327 sed -e '1,/start of cpp stuff/d'\
23328 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
23329 < Makefile.c
> junk.c
23330 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
23331 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
23332 cat junk1.c junk2.c
> Makefile.new
23333 rm -f junk.c junk1.c junk2.c
23334 chmod 444 Makefile.new
23335 mv -f Makefile.new Makefile
23338 echo creating src
/Makefile
23340 rm -f junk.c junk1.c junk2.c
23341 sed -e '/start of cpp stuff/q' \
23342 < Makefile.c
> junk1.c
23343 sed -e '1,/start of cpp stuff/d'\
23344 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
23345 < Makefile.c
> junk.c
23346 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
23347 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
23348 cat junk1.c junk2.c
> Makefile.new
23349 rm -f junk.c junk1.c junk2.c
23350 chmod 444 Makefile.new
23351 mv -f Makefile.new Makefile
23354 if test ! -f src
/.gdbinit
&& test -f $srcdir/src
/.gdbinit
; then
23355 echo creating src
/.gdbinit
23356 echo source $srcdir/src
/.gdbinit
> src
/.gdbinit
23359 # This is how we know whether to re-run configure in certain cases.
23360 touch src
/config.stamp
23367 cat >>$CONFIG_STATUS <<\_ACEOF
23369 { (exit 0); exit 0; }
23371 chmod +x
$CONFIG_STATUS
23372 ac_clean_files
=$ac_clean_files_save
23375 # configure is writing to config.log, and then calls config.status.
23376 # config.status does its own redirection, appending to config.log.
23377 # Unfortunately, on DOS this fails, as config.log is still kept open
23378 # by configure, so config.status won't be able to write to it; its
23379 # output is simply discarded. So we exec the FD to /dev/null,
23380 # effectively closing config.log, so it can be properly (re)opened and
23381 # appended to by config.status. When coming back to configure, we
23382 # need to make the FD available again.
23383 if test "$no_create" != yes; then
23385 ac_config_status_args
=
23386 test "$silent" = yes &&
23387 ac_config_status_args
="$ac_config_status_args --quiet"
23389 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23391 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23392 # would make configure fail if this is the last instruction.
23393 $ac_cs_success ||
{ (exit 1); exit 1; }