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 GZIP_PROG EGREP LIBSOUND SET_MAKE PKG_CONFIG GTK_CFLAGS GTK_LIBS ALLOCA liblockfile LIBOBJS NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS GETOPT_H GETOPTOBJS version configuration canonical srcdir lispdir locallisppath lisppath x_default_search_path etcdir archlibdir docdir bitmapdir gamedir gameuser c_switch_system c_switch_machine LD_SWITCH_X_SITE LD_SWITCH_X_SITE_AUX C_SWITCH_X_SITE X_TOOLKIT_TYPE machfile opsysfile carbon_appdir LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 --x-includes=DIR X include files are
in DIR
842 --x-libraries=DIR X library files are
in DIR
845 --build=BUILD configure
for building on BUILD
[guessed
]
846 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
850 if test -n "$ac_init_help"; then
855 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
856 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
857 --enable-carbon-app[=DIR
] [DIR
=/Application
]
858 specify
install directory
for Emacs.app on Mac OS X
859 --enable-asserts compile code with asserts enabled
860 --enable-maintainer-mode enable make rules and dependencies not useful
861 (and sometimes confusing
) to the casual installer
862 --enable-locallisppath=PATH
863 directories Emacs should search
for lisp files
864 specific to this site
865 --disable-largefile omit support
for large files
868 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
869 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
870 --without-gcc don
't use GCC to compile Emacs if GCC is found
871 --without-pop don't support POP
mail retrieval with movemail
872 --with-kerberos support Kerberos-authenticated POP
873 --with-kerberos5 support Kerberos version
5 authenticated POP
874 --with-hesiod support Hesiod to get the POP server
host
875 --without-sound don
't compile with sound support
876 --with-x-toolkit=KIT use an X toolkit
877 (KIT = yes/lucid/athena/motif/gtk/no)
878 --with-xpm use -lXpm for displaying XPM images
879 --with-jpeg use -ljpeg for displaying JPEG images
880 --with-tiff use -ltiff for displaying TIFF images
881 --with-gif use -lungif for displaying GIF images
882 --with-png use -lpng for displaying PNG images
883 --with-gtk use GTK (same as --with-x-toolkit=gtk)
884 --with-pkg-config-prog Path to pkg-config to use for finding GTK
885 --without-toolkit-scroll-bars
886 don't use Motif or Xaw3d scroll bars
887 --without-xim don
't use X11 XIM
888 --without-carbon don't use Carbon GUI on Mac OS X
889 --with-x use the X Window System
891 Some influential environment variables
:
892 CC C compiler
command
893 CFLAGS C compiler flags
894 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
895 nonstandard directory
<lib dir
>
896 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
897 headers
in a nonstandard directory
<include dir
>
900 Use these variables to override the choices made by
`configure' or to help
901 it to find libraries and programs with nonstandard names/locations.
906 if test "$ac_init_help" = "recursive"; then
907 # If there are subdirs, report their specific --help.
909 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
910 test -d $ac_dir || continue
913 if test "$ac_dir" != .; then
914 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
915 # A "../" for each directory in $ac_dir_suffix.
916 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
918 ac_dir_suffix= ac_top_builddir=
922 .) # No --srcdir option. We are building in place.
924 if test -z "$ac_top_builddir"; then
927 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
929 [\\/]* | ?:[\\/]* ) # Absolute path.
930 ac_srcdir=$srcdir$ac_dir_suffix;
931 ac_top_srcdir=$srcdir ;;
933 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
934 ac_top_srcdir=$ac_top_builddir$srcdir ;;
937 # Do not use `cd foo
&& pwd` to compute absolute paths, because
938 # the directories may not exist.
940 .) ac_abs_builddir="$ac_dir";;
943 .) ac_abs_builddir=`pwd`;;
944 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
945 *) ac_abs_builddir=`pwd`/"$ac_dir";;
948 case $ac_abs_builddir in
949 .) ac_abs_top_builddir=${ac_top_builddir}.;;
951 case ${ac_top_builddir}. in
952 .) ac_abs_top_builddir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
954 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
957 case $ac_abs_builddir in
958 .) ac_abs_srcdir=$ac_srcdir;;
961 .) ac_abs_srcdir=$ac_abs_builddir;;
962 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
963 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
966 case $ac_abs_builddir in
967 .) ac_abs_top_srcdir=$ac_top_srcdir;;
969 case $ac_top_srcdir in
970 .) ac_abs_top_srcdir=$ac_abs_builddir;;
971 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
972 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
977 # Check for guested configure; otherwise get Cygnus style configure.
978 if test -f $ac_srcdir/configure.gnu; then
980 $SHELL $ac_srcdir/configure.gnu --help=recursive
981 elif test -f $ac_srcdir/configure; then
983 $SHELL $ac_srcdir/configure --help=recursive
984 elif test -f $ac_srcdir/configure.ac ||
985 test -f $ac_srcdir/configure.in; then
989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
995 test -n "$ac_init_help" && exit 0
996 if $ac_init_version; then
999 Copyright (C) 2003 Free Software Foundation, Inc.
1000 This configure script is free software; the Free Software Foundation
1001 gives unlimited permission to copy, distribute and modify it.
1007 This file contains any messages produced by compilers while
1008 running configure, to aid debugging if configure makes a mistake.
1010 It was created by $as_me, which was
1011 generated by GNU Autoconf 2.59. Invocation command line was
1022 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1023 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1024 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1025 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1026 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1028 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1029 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1031 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1032 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1033 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1034 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1035 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1036 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1037 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1045 test -z "$as_dir" && as_dir=.
1046 echo "PATH: $as_dir"
1061 # Keep a trace of the command line.
1062 # Strip out --no-create and --no-recursion so they do not pile up.
1063 # Strip out --silent because we don't want to record it for future runs.
1064 # Also quote any args containing shell meta-characters.
1065 # Make two passes to allow for proper duplicate-argument suppression.
1070 ac_must_keep_next=false
1076 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1078 | -silent | --silent | --silen | --sile | --sil)
1080 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1081 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1084 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1086 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1087 if test $ac_must_keep_next = true; then
1088 ac_must_keep_next=false # Got value, back to normal.
1091 *=* | --config-cache | -C | -disable-* | --disable-* \
1092 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1093 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1094 | -with-* | --with-* | -without-* | --without-* | --x)
1095 case "$ac_configure_args0 " in
1096 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1099 -* ) ac_must_keep_next=true ;;
1102 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1103 # Get rid of the leading space.
1109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1112 # When interrupted or exit'd, cleanup temporary files, and complete
1113 # config.log. We remove comments because anyway the quotes in there
1114 # would cause problems or look ugly.
1115 # WARNING: Be sure not to use single quotes in there, as some shells,
1116 # such as our DU 5.0 friend, will then `close
' the trap.
1117 trap 'exit_status
=$?
1118 # Save into config.log some information that might help in debugging.
1123 ## ---------------- ##
1124 ## Cache variables. ##
1125 ## ---------------- ##
1128 # The following way of writing the cache mishandles newlines in values,
1131 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1134 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1139 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1146 ## ----------------- ##
1147 ## Output variables. ##
1148 ## ----------------- ##
1151 for ac_var
in $ac_subst_vars
1153 eval ac_val
=$
`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1158 if test -n "$ac_subst_files"; then
1165 for ac_var
in $ac_subst_files
1167 eval ac_val
=$
`echo $ac_var`
1168 echo "$ac_var='"'"'$ac_val'"'"'"
1173 if test -s confdefs.h
; then
1180 sed "/^$/d" confdefs.h |
sort
1183 test "$ac_signal" != 0 &&
1184 echo "$as_me: caught signal $ac_signal"
1185 echo "$as_me: exit $exit_status"
1187 rm -f core
*.core
&&
1188 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1191 for ac_signal in 1 2 13 15; do
1192 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1196 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1197 rm -rf conftest* confdefs.h
1198 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1201 # Predefined preprocessor variables.
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_NAME "$PACKAGE_NAME"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1218 cat >>confdefs.h <<_ACEOF
1219 #define PACKAGE_STRING "$PACKAGE_STRING"
1223 cat >>confdefs.h <<_ACEOF
1224 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1228 # Let the site file select an alternate cache file if it wants to.
1229 # Prefer explicitly selected file to automatically selected ones.
1230 if test -z "$CONFIG_SITE"; then
1231 if test "x$prefix" != xNONE; then
1232 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1234 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1237 for ac_site_file in $CONFIG_SITE; do
1238 if test -r "$ac_site_file"; then
1239 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1240 echo "$as_me: loading site script $ac_site_file" >&6;}
1241 sed 's
/^
/|
/' "$ac_site_file" >&5
1246 if test -r "$cache_file"; then
1247 # Some versions of bash will fail to source /dev/null (special
1248 # files actually), so we avoid doing that.
1249 if test -f "$cache_file"; then
1250 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1251 echo "$as_me: loading cache $cache_file" >&6;}
1253 [\\/]* | ?:[\\/]* ) . $cache_file;;
1254 *) . ./$cache_file;;
1258 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1259 echo "$as_me: creating cache $cache_file" >&6;}
1263 # Check that the precious variables saved in the cache have kept the same
1265 ac_cache_corrupted=false
1266 for ac_var in `(set) 2>&1 |
1267 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1268 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1269 eval ac_new_set=\$ac_env_${ac_var}_set
1270 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1271 eval ac_new_val="\$ac_env_${ac_var}_value"
1272 case $ac_old_set,$ac_new_set in
1274 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1275 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1276 ac_cache_corrupted=: ;;
1278 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1279 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1280 ac_cache_corrupted=: ;;
1283 if test "x$ac_old_val" != "x$ac_new_val"; then
1284 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1285 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1286 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1287 echo "$as_me: former value: $ac_old_val" >&2;}
1288 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1289 echo "$as_me: current value: $ac_new_val" >&2;}
1290 ac_cache_corrupted=:
1293 # Pass precious variables to config.status.
1294 if test "$ac_new_set" = set; then
1296 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1297 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1298 *) ac_arg=$ac_var=$ac_new_val ;;
1300 case " $ac_configure_args " in
1301 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1302 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1306 if $ac_cache_corrupted; then
1307 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1308 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1309 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1310 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1311 { (exit 1); exit 1; }; }
1315 ac_cpp='$CPP $CPPFLAGS'
1316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1317 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1338 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
1341 test "$program_prefix" != NONE &&
1342 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1343 # Use a double $ so make ignores it.
1344 test "$program_suffix" != NONE &&
1345 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1346 # Double any \ or $. echo might interpret backslashes.
1347 # By default was `s,x,x', remove it
if useless.
1348 cat <<\_ACEOF
>conftest.
sed
1349 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1351 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1355 lispdir
='${datadir}/emacs/${version}/lisp'
1356 locallisppath
='${datadir}/emacs/${version}/site-lisp:'\
1357 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
1358 lisppath
='${locallisppath}:${lispdir}'
1359 etcdir
='${datadir}/emacs/${version}/etc'
1360 archlibdir
='${libexecdir}/emacs/${version}/${configuration}'
1361 docdir
='${datadir}/emacs/${version}/etc'
1362 gamedir
='${localstatedir}/games/emacs'
1367 # Check whether --with-gcc or --without-gcc was given.
1368 if test "${with_gcc+set}" = set; then
1373 # Check whether --with-pop or --without-pop was given.
1374 if test "${with_pop+set}" = set; then
1376 if test "$withval" = yes; then
1377 cat >>confdefs.h
<<\_ACEOF
1378 #define MAIL_USE_POP 1
1384 cat >>confdefs.h
<<\_ACEOF
1385 #define MAIL_USE_POP 1
1391 # Check whether --with-kerberos or --without-kerberos was given.
1392 if test "${with_kerberos+set}" = set; then
1393 withval
="$with_kerberos"
1394 cat >>confdefs.h
<<\_ACEOF
1401 # Check whether --with-kerberos5 or --without-kerberos5 was given.
1402 if test "${with_kerberos5+set}" = set; then
1403 withval
="$with_kerberos5"
1404 if test "${with_kerberos5+set}" = set; then
1405 if test "${with_kerberos+set}" != set; then
1407 cat >>confdefs.h
<<\_ACEOF
1414 cat >>confdefs.h
<<\_ACEOF
1420 # Check whether --with-hesiod or --without-hesiod was given.
1421 if test "${with_hesiod+set}" = set; then
1422 withval
="$with_hesiod"
1424 cat >>confdefs.h
<<\_ACEOF
1431 # Check whether --with-sound or --without-sound was given.
1432 if test "${with_sound+set}" = set; then
1433 withval
="$with_sound"
1438 # Check whether --with-x-toolkit or --without-x-toolkit was given.
1439 if test "${with_x_toolkit+set}" = set; then
1440 withval
="$with_x_toolkit"
1441 case "${withval}" in
1442 y | ye |
yes ) val
=athena
;;
1444 l | lu | luc | luci | lucid
) val
=lucid
;;
1445 a |
at | ath | athe | athen | athena
) val
=athena
;;
1446 m | mo | mot | moti | motif
) val
=motif
;;
1447 g | gt | gtk
) val
=gtk
;;
1449 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\;
1450 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1451 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
1452 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
1453 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1454 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;}
1455 { (exit 1); exit 1; }; }
1462 # Check whether --with-xpm or --without-xpm was given.
1463 if test "${with_xpm+set}" = set; then
1468 # Check whether --with-jpeg or --without-jpeg was given.
1469 if test "${with_jpeg+set}" = set; then
1470 withval
="$with_jpeg"
1474 # Check whether --with-tiff or --without-tiff was given.
1475 if test "${with_tiff+set}" = set; then
1476 withval
="$with_tiff"
1480 # Check whether --with-gif or --without-gif was given.
1481 if test "${with_gif+set}" = set; then
1486 # Check whether --with-png or --without-png was given.
1487 if test "${with_png+set}" = set; then
1492 # Check whether --with-gtk or --without-gtk was given.
1493 if test "${with_gtk+set}" = set; then
1498 # Check whether --with-pkg-config-prog or --without-pkg-config-prog was given.
1499 if test "${with_pkg_config_prog+set}" = set; then
1500 withval
="$with_pkg_config_prog"
1504 # Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given.
1505 if test "${with_toolkit_scroll_bars+set}" = set; then
1506 withval
="$with_toolkit_scroll_bars"
1510 # Check whether --with-xim or --without-xim was given.
1511 if test "${with_xim+set}" = set; then
1516 # Check whether --with-carbon or --without-carbon was given.
1517 if test "${with_carbon+set}" = set; then
1518 withval
="$with_carbon"
1521 # Check whether --enable-carbon-app or --disable-carbon-app was given.
1522 if test "${enable_carbon_app+set}" = set; then
1523 enableval
="$enable_carbon_app"
1524 carbon_appdir_x
=${enableval}
1527 # Check whether --enable-asserts or --disable-asserts was given.
1528 if test "${enable_asserts+set}" = set; then
1529 enableval
="$enable_asserts"
1530 USE_XASSERTS
=$enableval
1535 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1536 if test "${enable_maintainer_mode+set}" = set; then
1537 enableval
="$enable_maintainer_mode"
1538 USE_MAINTAINER_MODE
=$enableval
1540 USE_MAINTAINER_MODE
=no
1542 if test $USE_MAINTAINER_MODE = yes; then
1549 # Check whether --enable-locallisppath or --disable-locallisppath was given.
1550 if test "${enable_locallisppath+set}" = set; then
1551 enableval
="$enable_locallisppath"
1552 if test "${enableval}" = "no"; then
1554 elif test "${enableval}" != "yes"; then
1555 locallisppath
=${enableval}
1559 #### Make srcdir absolute, if it isn't already. It's important to
1560 #### avoid running the path through pwd unnecessarily, since pwd can
1561 #### give you automounter prefixes, which can go away. We do all this
1562 #### so Emacs can find its files when run uninstalled.
1563 ## Make sure CDPATH doesn't affect cd (in case PWD is relative).
1568 ## We may be able to use the $PWD environment variable to make this
1569 ## absolute. But sometimes PWD is inaccurate.
1570 ## Note: we used to use ${PWD} at the end instead of `pwd`,
1571 ## but that tested only for a well-formed and valid PWD,
1572 ## it did not object when PWD was well-formed and valid but just wrong.
1573 if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".`pwd`" ;
1577 srcdir
="`(cd ${srcdir}; pwd)`"
1580 * ) srcdir
="`(cd ${srcdir}; pwd)`" ;;
1583 #### Check if the source directory already has a configured system in it.
1584 if test `pwd` != `(cd ${srcdir} && pwd)` \
1585 && test -f "${srcdir}/src/config.h" ; then
1586 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
1587 as a build directory right now; it has been configured in its own
1588 right. To configure in another directory as well, you MUST
1589 use GNU make. If you do not have GNU make, then you must
1590 now do \`make distclean' in ${srcdir},
1591 and then run $0 again." >&5
1592 echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used
1593 as a build directory right now; it has been configured in its own
1594 right. To configure in another directory as well, you MUST
1595 use GNU make. If you do not have GNU make, then you must
1596 now do \`make distclean' in ${srcdir},
1597 and then run $0 again." >&2;}
1600 #### Given the configuration name, set machfile and opsysfile to the
1601 #### names of the m/*.h and s/*.h files we should use.
1603 ### Canonicalize the configuration name.
1606 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1607 if test -f $ac_dir/install-sh
; then
1609 ac_install_sh
="$ac_aux_dir/install-sh -c"
1611 elif test -f $ac_dir/install.sh
; then
1613 ac_install_sh
="$ac_aux_dir/install.sh -c"
1615 elif test -f $ac_dir/shtool
; then
1617 ac_install_sh
="$ac_aux_dir/shtool install -c"
1621 if test -z "$ac_aux_dir"; then
1622 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1623 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1624 { (exit 1); exit 1; }; }
1626 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1627 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1628 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1630 # Make sure we can run config.sub.
1631 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1632 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1633 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1634 { (exit 1); exit 1; }; }
1636 echo "$as_me:$LINENO: checking build system type" >&5
1637 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1638 if test "${ac_cv_build+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 ac_cv_build_alias
=$build_alias
1642 test -z "$ac_cv_build_alias" &&
1643 ac_cv_build_alias
=`$ac_config_guess`
1644 test -z "$ac_cv_build_alias" &&
1645 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1646 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1647 { (exit 1); exit 1; }; }
1648 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1649 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1650 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1651 { (exit 1); exit 1; }; }
1654 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1655 echo "${ECHO_T}$ac_cv_build" >&6
1657 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1658 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1659 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1662 echo "$as_me:$LINENO: checking host system type" >&5
1663 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1664 if test "${ac_cv_host+set}" = set; then
1665 echo $ECHO_N "(cached) $ECHO_C" >&6
1667 ac_cv_host_alias
=$host_alias
1668 test -z "$ac_cv_host_alias" &&
1669 ac_cv_host_alias
=$ac_cv_build_alias
1670 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1671 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1672 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1673 { (exit 1); exit 1; }; }
1676 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1677 echo "${ECHO_T}$ac_cv_host" >&6
1679 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1680 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1681 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1685 configuration
=${host_alias-$host}
1689 ### If you add support for a new configuration, add code to this
1690 ### switch statement to recognize your configuration name and select
1691 ### the appropriate operating system and machine description files.
1693 ### You would hope that you could choose an m/*.h file pretty much
1694 ### based on the machine portion of the configuration name, and an s-
1695 ### file based on the operating system portion. However, it turns out
1696 ### that each m/*.h file is pretty manufacturer-specific - for
1697 ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are
1698 ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS
1699 ### machines. So we basically have to have a special case for each
1700 ### configuration name.
1702 ### As far as handling version numbers on operating systems is
1703 ### concerned, make sure things will fail in a fixable way. If
1704 ### /etc/MACHINES doesn't say anything about version numbers, be
1705 ### prepared to handle anything reasonably. If version numbers
1706 ### matter, be sure /etc/MACHINES says something about it.
1708 ### Eric Raymond says we should accept strings like "sysvr4" to mean
1709 ### "System V Release 4"; he writes, "The old convention encouraged
1710 ### confusion between `system' and `release' levels'."
1712 machine
='' opsys
='' unported
=no
1713 case "${canonical}" in
1718 case "${canonical}" in
1719 alpha
*-*-freebsd*) machine
=alpha
;;
1720 i
[3456]86-*-freebsd*) machine
=intel386
;;
1727 if test -f /usr
/lib
/crti.o
; then
1729 cat >>confdefs.h
<<\_ACEOF
1735 case "${canonical}" in
1736 alpha
*-*-netbsd*) machine
=alpha
;;
1737 i
[3456]86-*-netbsd*) machine
=intel386
;;
1739 # This is somewhat bogus.
1740 machine
=hp9000s300
;;
1741 powerpc-apple-netbsd
*) machine
=macppc
;;
1742 mips-
*-netbsd*) machine
=pmax
;;
1743 mipsel-
*-netbsd*) machine
=pmax
;;
1744 mipseb-
*-netbsd*) machine
=pmax
;;
1745 ns32k-
*-netbsd*) machine
=ns32000
;;
1746 powerpc-
*-netbsd*) machine
=macppc
;;
1747 sparc
*-*-netbsd*) machine
=sparc
;;
1748 vax-
*-netbsd*) machine
=vax
;;
1749 arm-
*-netbsd*) machine
=arm
;;
1756 case "${canonical}" in
1757 alpha
*-*-openbsd*) machine
=alpha
;;
1758 i386-
*-openbsd*) machine
=intel386
;;
1759 m68k-
*-openbsd*) machine
=hp9000s300
;;
1760 mipsel-
*-openbsd*) machine
=pmax
;;
1761 ns32k-
*-openbsd*) machine
=ns32000
;;
1762 sparc-
*-openbsd*) machine
=sparc
;;
1763 vax-
*-openbsd*) machine
=vax
;;
1770 case "${canonical}" in
1771 i
[3456]86-*-lynxos*) machine
=intel386
;;
1772 powerpc-
*-lynxos*) machine
=powerpc
;;
1777 arm-acorn-riscix1.1
* )
1778 machine
=acorn opsys
=riscix1-1
1780 arm-acorn-riscix1.2
* | arm-acorn-riscix
)
1781 ## This name is riscix12 instead of riscix1.2
1782 ## to avoid a file name conflict on MSDOS.
1783 machine
=acorn opsys
=riscix12
1789 case "${canonical}" in
1790 i
[345]86-*-bsdi*) machine
=intel386
;;
1791 sparc-
*-bsdi*) machine
=sparc
;;
1792 powerpc-
*-bsdi*) machine
=macppc
;;
1794 case "${canonical}" in
1795 *-*-bsd386* |
*-*-bsdi1* ) opsys
=bsd386
;;
1796 *-*-bsdi2.0
* ) opsys
=bsdos2
;;
1797 *-*-bsdi2* ) opsys
=bsdos2-1
;;
1798 *-*-bsdi3* ) opsys
=bsdos3
;;
1799 *-*-bsdi[45]* ) opsys
=bsdos4
;;
1804 ## Strictly speaking, we need the version of the alliant operating
1805 ## system to choose the right machine file, but currently the
1806 ## configuration name doesn't tell us enough to choose the right
1807 ## one; we need to give alliants their own operating system name to
1808 ## do this right. When someone cares, they can help us.
1810 machine
=alliant4 opsys
=bsd4-2
1813 machine
=alliant-2800 opsys
=bsd4-3
1816 ## Alpha (DEC) machines.
1818 machine
=alpha opsys
=osf1
1819 # This is needed to find X11R6.1 libraries for certain tests.
1820 NON_GCC_LINK_TEST_OPTIONS
=-Wl,-rpath,/usr
/X11R
6/lib
1821 GCC_LINK_TEST_OPTIONS
=-Wl,-rpath,/usr
/X11R
6/lib
1822 # NON_GNU_CPP is necessary on 5.0 to avoid mangling src/Makefile
1823 # due to non-traditional preprocessing with the current compiler
1824 # defaults. OSF 4 can also have that compiler version, and there
1825 # seems always to have been a usable /usr/bin/cpp.
1826 NON_GNU_CPP
=/usr
/bin
/cpp
1827 case "${canonical}" in
1828 alpha
*-dec-osf[5-9]*)
1833 alpha
*-*-linux-gnu* )
1834 machine
=alpha opsys
=gnu-linux
1838 machine
=arm opsys
=gnu-linux
1843 machine
=altos opsys
=usg5-2
1848 machine
=amdahl opsys
=usg5-2-2
1851 ## Apollo, Domain/OS
1853 machine
=apollo opsys
=bsd4-3
1856 ## AT&T 3b2, 3b5, 3b15, 3b20
1858 machine
=att3b opsys
=usg5-2-2
1861 ## AT&T 3b1 - The Mighty Unix PC!
1863 machine
=7300 opsys
=usg5-2-2
1868 machine
=ibmrs6000 opsys
=aix3-2
1873 machine
=dpx2 opsys
=usg5-3
1878 machine
=sps7 opsys
=usg5-2
1881 ## CCI 5/32, 6/32 -- see "Tahoe".
1884 ## I don't know what configuration name to use for this; config.sub
1885 ## doesn't seem to know anything about it. Hey, Celerity users, get
1886 ## in touch with us!
1887 celerity-celerity-bsd
* )
1888 machine
=celerity opsys
=bsd4-2
1892 ## What operating systems does this chip run that Emacs has been
1896 ## We'll use the catch-all code at the bottom to guess the
1897 ## operating system.
1901 mips-compaq-nonstopux
* )
1902 machine
=nonstopux opsys
=nonstopux
1906 *-convex-bsd* |
*-convex-convexos* )
1907 machine
=convex opsys
=bsd4-3
1908 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov
1909 NON_GNU_CPP
="cc -E -P"
1913 i
[3456]86-cubix-sysv* )
1914 machine
=intel386 opsys
=usg5-3
1918 cydra
*-cydrome-sysv* )
1919 machine
=cydra5 opsys
=usg5-3
1922 ## Data General AViiON Machines
1923 ## DG changed naming conventions with the release of 5.4.4.10, they
1924 ## dropped the initial 5.4 but left the intervening R. Because of the
1925 ## R this shouldn't conflict with older versions of the OS (which I
1926 ## think were named like dgux4.*). In addition, DG new AViiONs series
1927 ## uses either Motorola M88k or Intel Pentium CPUs.
1928 m88k-dg-dguxR4.
* | m88k-dg-dgux4
* )
1929 machine
=aviion opsys
=dgux4
1931 m88k-dg-dgux5.4R3
* | m88k-dg-dgux5.4
.3* )
1932 ## This name is dgux5-4-3 instead of dgux5-4r3
1933 ## to avoid a file name conflict on MSDOS.
1934 machine
=aviion opsys
=dgux5-4-3
1936 m88k-dg-dgux5.4R2
* | m88k-dg-dgux5.4
.2* )
1937 machine
=aviion opsys
=dgux5-4r2
1940 machine
=aviion opsys
=dgux
1943 ## Data General AViiON Intel (x86) Machines
1944 ## Exists from 5.4.3 (current i586-dg-dguxR4.11)
1945 ## Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il
1946 i
[345]86-dg-dguxR4* )
1947 machine
=aviion-intel opsys
=dgux4
1951 mips-dec-ultrix
[0-3].
* | mips-dec-ultrix4.0
* | mips-dec-bsd4.2
* )
1952 machine
=pmax opsys
=bsd4-2
1954 mips-dec-ultrix4.
[12]* | mips-dec-bsd
* )
1955 machine
=pmax opsys
=bsd4-3
1958 machine
=pmax opsys
=ultrix4-3
1961 machine
=pmax opsys
=osf1
1963 mips-dec-mach_bsd4.3
* )
1964 machine
=pmax opsys
=mach-bsd4-3
1967 ## Motorola Delta machines
1968 m68k-motorola-sysv
* | m68000-motorola-sysv
* )
1969 machine
=delta opsys
=usg5-3
1970 if test -z "`type gnucc | grep 'not found'`"
1972 if test -s /etc
/167config
1973 then CC
="gnucc -m68040"
1974 else CC
="gnucc -m68881"
1977 if test -z "`type gcc | grep 'not found'`"
1983 m88k-motorola-sysv4
* )
1984 # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110
1985 # needs POSIX_SIGNALS and therefore needs usg5-4-2.
1986 # I hope there are not other 4.0 versions for this machine
1987 # which really need usg5-4 instead.
1988 machine
=delta88k opsys
=usg5-4-2
1990 m88k-motorola-sysv
* | m88k-motorola-m88kbcs
* )
1991 machine
=delta88k opsys
=usg5-3
1996 machine
=dual opsys
=usg5-2
1998 m68
*-dual-uniplus* )
1999 machine
=dual opsys
=unipl5-2
2004 machine
=elxsi opsys
=usg5-2
2009 machine
=ns16000 opsys
=umax
2012 ## The GEC 63 - apparently, this port isn't really finished yet.
2013 # I'm sure we finished off the last of the machines, though. -- fx
2015 ## Gould Power Node and NP1
2017 machine
=gould opsys
=bsd4-2
2020 machine
=gould opsys
=bsd4-3
2023 machine
=gould-np1 opsys
=bsd4-3
2026 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000
2027 ## as far as Emacs is concerned).
2029 # Build needs to be different on 7.0 and later releases
2030 case "`uname -r`" in
2031 [56].
[0-9] ) machine
=nh4000 opsys
=cxux
;;
2032 [7].
[0-9] ) machine
=nh4000 opsys
=cxux7
;;
2034 NON_GNU_CPP
="/lib/cpp"
2036 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000)
2038 machine
=nh3000 opsys
=cxux
2040 ## Harris power pc NightHawk running Power UNIX (Series 6000)
2041 powerpc-harris-powerunix
)
2042 machine
=nh6000 opsys
=powerunix
2043 NON_GNU_CPP
="cc -Xo -E -P"
2045 ## SR2001/SR2201 running HI-UX/MPP
2046 hppa1.1
-hitachi-hiuxmpp* )
2047 machine
=sr2k opsys
=hiuxmpp
2049 hppa1.1
-hitachi-hiuxwe2* )
2050 machine
=sr2k opsys
=hiuxwe2
2053 xps
*-honeywell-sysv* )
2054 machine
=xps100 opsys
=usg5-2
2057 ## HP 9000 series 200 or 300
2059 machine
=hp9000s300 opsys
=bsd4-3
2061 ## HP/UX 7, 8, 9, and 10 are supported on these machines.
2063 case "`uname -r`" in
2064 ## Someone's system reports A.B8.05 for this.
2065 ## I wonder what other possibilities there are.
2066 *.B8.
* ) machine
=hp9000s300 opsys
=hpux8
;;
2067 *.08.
* ) machine
=hp9000s300 opsys
=hpux8
;;
2068 *.09.
* ) machine
=hp9000s300 opsys
=hpux9
;;
2069 *.1[0-9].
* ) machine
=hp9000s300 opsys
=hpux9shr
;;
2070 *) machine
=hp9000s300 opsys
=hpux
;;
2074 ## HP 9000 series 700 and 800, running HP/UX
2076 machine
=hp800 opsys
=hpux
2079 machine
=hp800 opsys
=hpux8
2081 hppa
*-hp-hpux9shr* )
2082 machine
=hp800 opsys
=hpux9shr
2085 machine
=hp800 opsys
=hpux9
2087 hppa
*-hp-hpux10.2
* )
2088 machine
=hp800 opsys
=hpux10-20
2091 machine
=hp800 opsys
=hpux10
2093 hppa
*-hp-hpux1[1-9]* )
2094 machine
=hp800 opsys
=hpux11
2097 hppa
*-*-linux-gnu* )
2098 machine
=hp800 opsys
=gnu-linux
2101 ## HP 9000 series 700 and 800, running HP/UX
2103 ## Cross-compilation? Nah!
2104 case "`uname -r`" in
2105 ## Someone's system reports A.B8.05 for this.
2106 ## I wonder what other possibilities there are.
2107 *.B8.
* ) machine
=hp800 opsys
=hpux8
;;
2108 *.08.
* ) machine
=hp800 opsys
=hpux8
;;
2109 *.09.
* ) machine
=hp800 opsys
=hpux9
;;
2110 *) machine
=hp800 opsys
=hpux10
;;
2114 machine
=hp800 opsys
=nextstep
2119 machine
=orion opsys
=bsd4-2
2121 clipper-orion-bsd
* )
2122 machine
=orion105 opsys
=bsd4-2
2126 i
[3456]86-ibm-aix1.1
* )
2127 machine
=ibmps2-aix opsys
=usg5-2-2
2129 i
[3456]86-ibm-aix1.
[23]* | i
[3456]86-ibm-aix* )
2130 machine
=ibmps2-aix opsys
=usg5-3
2133 machine
=ibm370aix opsys
=usg5-3
2136 machine
=ibms390 opsys
=gnu-linux
2138 rs6000-ibm-aix3.1
* | powerpc-ibm-aix3.1
* )
2139 machine
=ibmrs6000 opsys
=aix3-1
2141 rs6000-ibm-aix3.2
.5 | powerpc-ibm-aix3.2
.5 )
2142 machine
=ibmrs6000 opsys
=aix3-2-5
2144 rs6000-ibm-aix4.1
* | powerpc-ibm-aix4.1
* )
2145 machine
=ibmrs6000 opsys
=aix4-1
2147 rs6000-ibm-aix4.2
* | powerpc-ibm-aix4.2
* )
2148 machine
=ibmrs6000 opsys
=aix4-2
2150 rs6000-ibm-aix5
* | powerpc-ibm-aix5
* )
2151 machine
=ibmrs6000 opsys
=aix4-2
2153 rs6000-ibm-aix4.0
* | powerpc-ibm-aix4.0
* )
2154 machine
=ibmrs6000 opsys
=aix4
2156 rs6000-ibm-aix4
* | powerpc-ibm-aix4
* )
2157 machine
=ibmrs6000 opsys
=aix4-1
2159 rs6000-ibm-aix
* | powerpc-ibm-aix
* )
2160 machine
=ibmrs6000 opsys
=aix3-2
2163 machine
=ibmrt opsys
=bsd4-3
2166 machine
=ibmrt opsys
=bsd4-2
2169 machine
=ibmrt opsys
=bsd4-3
2172 machine
=ibmrt opsys
=bsd4-2
2175 machine
=ibmrt opsys
=bsd4-3
2178 machine
=ibmrt opsys
=bsd4-3
2181 machine
=ibmrt-aix opsys
=usg5-2-2
2184 ## Integrated Solutions `Optimum V'
2186 machine
=isi-ov opsys
=bsd4-2
2189 machine
=isi-ov opsys
=bsd4-3
2192 ## Intel 386 machines where we do care about the manufacturer
2193 i
[3456]86-intsys-sysv* )
2194 machine
=is386 opsys
=usg5-2-2
2198 i
[3456]86-prime-sysv* )
2199 machine
=i386 opsys
=usg5-3
2202 ## Sequent Symmetry running Dynix
2203 i
[3456]86-sequent-bsd* )
2204 machine
=symmetry opsys
=bsd4-3
2207 ## Sequent Symmetry running ptx 4, which is a modified SVR4.
2208 i
[3456]86-sequent-ptx4* | i
[3456]86-sequent-sysv4* )
2209 machine
=sequent-ptx opsys
=ptx4
2210 NON_GNU_CPP
=/lib
/cpp
2213 ## Sequent Symmetry running DYNIX/ptx
2214 ## Use the old cpp rather than the newer ANSI one.
2215 i
[3456]86-sequent-ptx* )
2216 machine
=sequent-ptx opsys
=ptx
2217 NON_GNU_CPP
="/lib/cpp"
2220 ## ncr machine running svr4.3.
2221 i
[3456]86-ncr-sysv4.3
)
2222 machine
=ncr386 opsys
=usg5-4-3
2225 ## Unspecified sysv on an ncr machine defaults to svr4.2.
2226 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.)
2227 i
[3456]86-ncr-sysv* )
2228 machine
=ncr386 opsys
=usg5-4-2
2231 ## Intel Paragon OSF/1
2233 machine
=paragon opsys
=osf1 NON_GNU_CPP
=/usr
/mach
/lib
/cpp
2238 machine
=i860 opsys
=usg5-4
2239 NON_GNU_CC
="/bin/cc" # Ie, not the one in /usr/ucb/cc.
2240 NON_GNU_CPP
="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion.
2243 ## Macintosh PowerPC
2244 powerpc
*-*-linux-gnu* )
2245 machine
=macppc opsys
=gnu-linux
2248 ## Masscomp machines
2249 m68
*-masscomp-rtu* )
2250 machine
=masscomp opsys
=rtu
2253 ## Megatest machines
2254 m68
*-megatest-bsd* )
2255 machine
=mega68 opsys
=bsd4-2
2258 ## Workstations sold by MIPS
2259 ## This is not necessarily all workstations using the MIPS processor -
2260 ## Irises are produced by SGI, and DECstations by DEC.
2262 ## etc/MACHINES lists mips.h and mips4.h as possible machine files,
2263 ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance
2264 ## it gives for choosing between the alternatives seems to be "Use
2265 ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with
2266 ## the BSD world." I'll assume that these are instructions for
2267 ## handling two odd situations, and that every other situation
2268 ## should use mips.h and usg5-2-2, they being listed first.
2271 ## Fall through to the general code at the bottom to decide on the OS.
2273 mips-mips-riscos4
* )
2274 machine
=mips4 opsys
=bsd4-3
2275 NON_GNU_CC
="cc -systype bsd43"
2276 NON_GNU_CPP
="cc -systype bsd43 -E"
2278 mips-mips-riscos5
* )
2279 machine
=mips4 opsys
=riscos5
2280 NON_GNU_CC
="cc -systype bsd43"
2281 NON_GNU_CPP
="cc -systype bsd43 -E"
2284 machine
=mips opsys
=bsd4-3
2287 machine
=mips opsys
=usg5-2-2
2291 m68
*-next-* | m68k-
*-nextstep* )
2292 machine
=m68k opsys
=nextstep
2295 ## The complete machine from National Semiconductor
2297 machine
=ns32000 opsys
=usg5-2
2301 m68
*-ncr-sysv2* | m68
*-ncr-sysvr2* )
2302 machine
=tower32 opsys
=usg5-2-2
2304 m68
*-ncr-sysv3* | m68
*-ncr-sysvr3* )
2305 machine
=tower32v3 opsys
=usg5-3
2310 machine
=ews4800 opsys
=ux4800
2313 ## Nixdorf Targon 31
2314 m68
*-nixdorf-sysv* )
2315 machine
=targon31 opsys
=usg5-2-2
2320 machine
=nu opsys
=usg5-2
2325 machine
=plexus opsys
=usg5-2
2329 ## I don't really have any idea what sort of processor the Pyramid has,
2330 ## so I'm assuming it is its own architecture.
2331 pyramid-pyramid-bsd
* )
2332 machine
=pyramid opsys
=bsd4-2
2336 ns32k-sequent-bsd4.2
* )
2337 machine
=sequent opsys
=bsd4-2
2339 ns32k-sequent-bsd4.3
* )
2340 machine
=sequent opsys
=bsd4-3
2344 mips-siemens-sysv
* | mips-sni-sysv
*)
2345 machine
=mips-siemens opsys
=usg5-4
2346 NON_GNU_CC
=/usr
/ccs
/bin
/cc
2347 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2350 ## Silicon Graphics machines
2351 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
2353 machine
=irist opsys
=iris3-5
2355 m68
*-sgi-iris3.6
* | m68
*-sgi-iris*)
2356 machine
=irist opsys
=iris3-6
2360 machine
=iris4d opsys
=irix3-3
2363 machine
=iris4d opsys
=irix4-0
2366 machine
=iris4d opsys
=irix6-5
2367 # Without defining _LANGUAGE_C, things get masked out in the headers
2368 # so that, for instance, grepping for `free' in stdlib.h fails and
2369 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m).
2370 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2371 NON_GCC_TEST_OPTIONS
="-D_LANGUAGE_C"
2374 machine
=iris4d opsys
=irix6-0
2375 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5,
2376 # but presumably it does no harm.
2377 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2378 # -32 probably isn't necessary in later v.6s -- anyone know which?
2379 NON_GCC_TEST_OPTIONS
=-32
2381 mips-sgi-irix5.
[01]* )
2382 machine
=iris4d opsys
=irix5-0
2384 mips-sgi-irix5
* | mips-sgi-irix
* )
2385 machine
=iris4d opsys
=irix5-2
2390 machine
=news opsys
=bsd4-2
2393 machine
=news opsys
=bsd4-3
2395 m68
*-sony-newsos3* | m68
*-sony-news3*)
2396 machine
=news opsys
=bsd4-3
2398 mips-sony-bsd
* | mips-sony-newsos4
* | mips-sony-news4
*)
2399 machine
=news-risc opsys
=bsd4-3
2401 mips-sony-newsos6
* )
2402 machine
=news-r6 opsys
=newsos6
2405 machine
=news-risc opsys
=newsos5
2410 machine
=stride opsys
=usg5-2
2414 sparc-
*-linux-gnu* | sparc64-
*-linux-gnu* )
2415 machine
=sparc opsys
=gnu-linux
2418 *-auspex-sunos* |
*-sun-sunos* |
*-sun-bsd* |
*-sun-solaris* \
2419 | i
[3456]86-*-solaris2* | i
[3456]86-*-sunos5* | powerpc
*-*-solaris2* \
2420 | rs6000-
*-solaris2*)
2421 case "${canonical}" in
2422 m68
*-sunos1* ) machine
=sun1
;;
2423 m68
*-sunos2* ) machine
=sun2
;;
2424 m68
* ) machine
=sun3
;;
2425 i
[3456]86-sun-sunos[34]* ) machine
=sun386
;;
2426 i
[3456]86-*-* ) machine
=intel386
;;
2427 powerpcle
* ) machine
=powerpcle
;;
2428 powerpc
* | rs6000
* ) machine
=ibmrs6000
;;
2429 sparc
* ) machine
=sparc
;;
2432 case "${canonical}" in
2433 ## The Sun386 didn't get past 4.0.
2434 i
[3456]86-*-sunos4 ) opsys
=sunos4-0
;;
2435 *-sunos4.0
* ) opsys
=sunos4-0
;;
2436 *-sunos4.1.
[3-9]*noshare
)
2437 ## This name is sunos413 instead of sunos4-1-3
2438 ## to avoid a file name conflict on MSDOS.
2440 NON_GNU_CPP
=/usr
/lib
/cpp
2441 NON_GCC_TEST_OPTIONS
=-Bstatic
2442 GCC_TEST_OPTIONS
=-static
2444 *-sunos4.1.
[3-9]* |
*-sunos4shr*)
2446 NON_GNU_CPP
=/usr
/lib
/cpp
2448 *-sunos4* |
*-sunos )
2450 NON_GCC_TEST_OPTIONS
=-Bstatic
2451 GCC_TEST_OPTIONS
=-static
2453 *-sunos5.3
* |
*-solaris2.3
* )
2455 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2457 *-sunos5.4
* |
*-solaris2.4
* )
2459 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2462 *-sunos5.5
* |
*-solaris2.5
* )
2464 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2467 *-sunos5.6
* |
*-solaris2.6
* )
2469 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2472 *-sunos5* |
*-solaris* )
2474 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2478 ## Watch out for a compiler that we know will not work.
2479 case "${canonical}" in
2480 *-solaris* |
*-sunos5* )
2481 if [ "x$CC" = x
/usr
/ucb
/cc
]; then
2482 ## /usr/ucb/cc doesn't work;
2483 ## we should find some other compiler that does work.
2491 machine
=sparc opsys
=nextstep
2495 m68
*-tadpole-sysv* )
2496 machine
=tad68k opsys
=usg5-3
2500 tahoe-tahoe-bsd4.2
* )
2501 machine
=tahoe opsys
=bsd4-2
2503 tahoe-tahoe-bsd4.3
* )
2504 machine
=tahoe opsys
=bsd4-3
2507 ## Tandem Integrity S2
2509 machine
=tandem-s2 opsys
=usg5-3
2513 m88k-tektronix-sysv3
* )
2514 machine
=tekxd88 opsys
=usg5-3
2517 ## Tektronix 16000 box (6130?)
2518 ns16k-tektronix-bsd
* )
2519 machine
=ns16000 opsys
=bsd4-2
2522 ## src/m/tek4300.h hints that this is a m68k machine.
2523 m68
*-tektronix-bsd* )
2524 machine
=tek4300 opsys
=bsd4-3
2528 ## We seem to have lost the machine-description file titan.h!
2530 machine
=titan opsys
=usg5-3
2533 ## Ustation E30 (SS5E)
2534 m68
*-unisys-uniplus* )
2535 machine
=ustation opsystem
=unipl5-2
2541 case "${canonical}" in
2542 *-bsd4.1
* ) opsys
=bsd4-1
;;
2543 *-bsd4.2
* |
*-ultrix[0-3].
* |
*-ultrix4.0
* ) opsys
=bsd4-2
;;
2544 *-bsd4.3
* |
*-ultrix* ) opsys
=bsd4-3
;;
2545 *-sysv[01]* |
*-sysvr[01]* ) opsys
=usg5-0
;;
2546 *-sysv2* |
*-sysvr2* ) opsys
=usg5-2
;;
2547 *-vms* ) opsys
=vms
;;
2553 ns16k-whitechapel-
* )
2555 ## We don't know what sort of OS runs on these; we'll let the
2556 ## operating system guessing code below try.
2561 machine
=wicat opsys
=usg5-2
2566 machine
=ia64 opsys
=gnu-linux
2569 ## Intel 386 machines where we don't care about the manufacturer
2572 case "${canonical}" in
2573 *-cygwin ) opsys
=cygwin
;;
2574 *-darwin* ) opsys
=darwin
2575 CPP
="${CC-cc} -E -no-cpp-precomp"
2577 *-isc1.
* |
*-isc2.
[01]* ) opsys
=386-ix ;;
2578 *-isc2.2
* ) opsys
=isc2-2
;;
2579 *-isc4.0
* ) opsys
=isc4-0
;;
2580 *-isc4.
* ) opsys
=isc4-1
2581 GCC_TEST_OPTIONS
=-posix
2582 NON_GCC_TEST_OPTIONS
=-Xp
2584 *-isc* ) opsys
=isc3-0
;;
2585 *-esix5* ) opsys
=esix5r4
; NON_GNU_CPP
=/usr
/lib
/cpp
;;
2586 *-esix* ) opsys
=esix
;;
2587 *-xenix* ) opsys
=xenix
;;
2588 *-linux-gnu* ) opsys
=gnu-linux
;;
2589 *-sco3.2v4
* ) opsys
=sco4
; NON_GNU_CPP
=/lib
/cpp
;;
2590 *-sco3.2v5
* ) opsys
=sco5
2591 NON_GNU_CPP
=/lib
/cpp
2592 # Prevent -belf from being passed to $CPP.
2593 # /lib/cpp does not accept it.
2594 OVERRIDE_CPPFLAGS
=" "
2596 *-sysv4.2uw
* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2597 *-sysv5uw* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2598 *-sysv5OpenUNIX* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2599 *-386bsd* ) opsys
=386bsd
;;
2600 *-nextstep* ) opsys
=nextstep
;;
2601 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
2605 ## m68k Linux-based GNU system
2607 machine
=m68k opsys
=gnu-linux
2610 ## Mips Linux-based GNU system
2611 mips-
*-linux-gnu* | mipsel-
*-linux-gnu* )
2612 machine
=mips opsys
=gnu-linux
2616 sparc-fujitsu-sysv4
* )
2617 machine
=sparc opsys
=uxpds
2618 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2623 f301-fujitsu-uxpv4.1
)
2624 machine
=f301 opsys
=uxpv
2627 ## Darwin / Mac OS X
2628 powerpc-apple-darwin
* )
2629 machine
=powermac opsys
=darwin
2630 # Define CPP as follows to make autoconf work correctly.
2631 CPP
="${CC-cc} -E -no-cpp-precomp"
2632 # Use fink packages if available.
2633 if test -d /sw
/include
&& test -d /sw
/lib
; then
2634 GCC_TEST_OPTIONS
="-I/sw/include -L/sw/lib"
2635 CPP
="${CPP} ${GCC_TEST_OPTIONS}"
2636 NON_GCC_TEST_OPTIONS
=${GCC_TEST_OPTIONS}
2640 ## AMD x86-64 Linux-based GNU system
2641 x86_64-
*-linux-gnu* )
2642 machine
=amdx86-64 opsys
=gnu-linux
2650 ### If the code above didn't choose an operating system, just choose
2651 ### an operating system based on the configuration name. You really
2652 ### only want to use this when you have no idea what the right
2653 ### operating system is; if you know what operating systems a machine
2654 ### runs, it's cleaner to make it explicit in the case statement
2656 if test x
"${opsys}" = x
; then
2657 case "${canonical}" in
2658 *-gnu* ) opsys
=gnu
;;
2659 *-bsd4.
[01] ) opsys
=bsd4-1
;;
2660 *-bsd4.2
) opsys
=bsd4-2
;;
2661 *-bsd4.3
) opsys
=bsd4-3
;;
2662 *-sysv0 |
*-sysvr0 ) opsys
=usg5-0
;;
2663 *-sysv2 |
*-sysvr2 ) opsys
=usg5-2
;;
2664 *-sysv2.2 |
*-sysvr2.2
) opsys
=usg5-2-2
;;
2665 *-sysv3* |
*-sysvr3* ) opsys
=usg5-3
;;
2666 *-sysv4.2uw
* ) opsys
=unixware
;;
2667 *-sysv5uw* ) opsys
=unixware
;;
2668 *-sysv5OpenUNIX* ) opsys
=unixware
;;
2669 *-sysv4.1
* |
*-sysvr4.1
* )
2670 NON_GNU_CPP
=/usr
/lib
/cpp
2672 *-sysv4.
[2-9]* |
*-sysvr4.
[2-9]* )
2673 if [ x
$NON_GNU_CPP = x
]; then
2674 if [ -f /usr
/ccs
/lib
/cpp
]; then
2675 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2677 NON_GNU_CPP
=/lib
/cpp
2681 *-sysv4* |
*-sysvr4* ) opsys
=usg5-4
;;
2690 if test $unported = yes; then
2691 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
2692 Check \`etc/MACHINES' for recognized configuration names." >&5
2693 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2694 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2695 { (exit 1); exit 1; }; }
2698 machfile
="m/${machine}.h"
2699 opsysfile
="s/${opsys}.h"
2702 #### Choose a compiler.
2703 test -n "$CC" && cc_specified
=yes
2705 # Save the value of CFLAGS that the user specified.
2706 SPECIFIED_CFLAGS
="$CFLAGS"
2709 "yes" ) CC
="gcc" GCC
=yes ;;
2710 "no" ) : ${CC=cc} ;;
2714 ac_cpp
='$CPP $CPPFLAGS'
2715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2718 if test -n "$ac_tool_prefix"; then
2719 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2720 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2721 echo "$as_me:$LINENO: checking for $ac_word" >&5
2722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2723 if test "${ac_cv_prog_CC+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2726 if test -n "$CC"; then
2727 ac_cv_prog_CC
="$CC" # Let the user override the test.
2729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir
=.
2734 for ac_exec_ext
in '' $ac_executable_extensions; do
2735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2736 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 if test -n "$CC"; then
2747 echo "$as_me:$LINENO: result: $CC" >&5
2748 echo "${ECHO_T}$CC" >&6
2750 echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2755 if test -z "$ac_cv_prog_CC"; then
2757 # Extract the first word of "gcc", so it can be a program name with args.
2758 set dummy gcc
; ac_word
=$2
2759 echo "$as_me:$LINENO: checking for $ac_word" >&5
2760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2761 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2762 echo $ECHO_N "(cached) $ECHO_C" >&6
2764 if test -n "$ac_ct_CC"; then
2765 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir
=.
2772 for ac_exec_ext
in '' $ac_executable_extensions; do
2773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774 ac_cv_prog_ac_ct_CC
="gcc"
2775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2783 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2784 if test -n "$ac_ct_CC"; then
2785 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2786 echo "${ECHO_T}$ac_ct_CC" >&6
2788 echo "$as_me:$LINENO: result: no" >&5
2789 echo "${ECHO_T}no" >&6
2797 if test -z "$CC"; then
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2800 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2801 echo "$as_me:$LINENO: checking for $ac_word" >&5
2802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2803 if test "${ac_cv_prog_CC+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 if test -n "$CC"; then
2807 ac_cv_prog_CC
="$CC" # Let the user override the test.
2809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir
=.
2814 for ac_exec_ext
in '' $ac_executable_extensions; do
2815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 if test -n "$CC"; then
2827 echo "$as_me:$LINENO: result: $CC" >&5
2828 echo "${ECHO_T}$CC" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2835 if test -z "$ac_cv_prog_CC"; then
2837 # Extract the first word of "cc", so it can be a program name with args.
2838 set dummy cc
; ac_word
=$2
2839 echo "$as_me:$LINENO: checking for $ac_word" >&5
2840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2841 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 if test -n "$ac_ct_CC"; then
2845 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir
=.
2852 for ac_exec_ext
in '' $ac_executable_extensions; do
2853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2854 ac_cv_prog_ac_ct_CC
="cc"
2855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2864 if test -n "$ac_ct_CC"; then
2865 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2866 echo "${ECHO_T}$ac_ct_CC" >&6
2868 echo "$as_me:$LINENO: result: no" >&5
2869 echo "${ECHO_T}no" >&6
2878 if test -z "$CC"; then
2879 # Extract the first word of "cc", so it can be a program name with args.
2880 set dummy cc
; ac_word
=$2
2881 echo "$as_me:$LINENO: checking for $ac_word" >&5
2882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2883 if test "${ac_cv_prog_CC+set}" = set; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 if test -n "$CC"; then
2887 ac_cv_prog_CC
="$CC" # Let the user override the test.
2890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir
=.
2895 for ac_exec_ext
in '' $ac_executable_extensions; do
2896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2897 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2898 ac_prog_rejected
=yes
2902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 if test $ac_prog_rejected = yes; then
2909 # We found a bogon in the path, so make sure we never use it.
2910 set dummy
$ac_cv_prog_CC
2912 if test $# != 0; then
2913 # We chose a different compiler from the bogus one.
2914 # However, it has the same basename, so the bogon will be chosen
2915 # first if we set CC to just the basename; use the full file name.
2917 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2923 if test -n "$CC"; then
2924 echo "$as_me:$LINENO: result: $CC" >&5
2925 echo "${ECHO_T}$CC" >&6
2927 echo "$as_me:$LINENO: result: no" >&5
2928 echo "${ECHO_T}no" >&6
2932 if test -z "$CC"; then
2933 if test -n "$ac_tool_prefix"; then
2936 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2937 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2938 echo "$as_me:$LINENO: checking for $ac_word" >&5
2939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2940 if test "${ac_cv_prog_CC+set}" = set; then
2941 echo $ECHO_N "(cached) $ECHO_C" >&6
2943 if test -n "$CC"; then
2944 ac_cv_prog_CC
="$CC" # Let the user override the test.
2946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir
=.
2951 for ac_exec_ext
in '' $ac_executable_extensions; do
2952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2953 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 if test -n "$CC"; then
2964 echo "$as_me:$LINENO: result: $CC" >&5
2965 echo "${ECHO_T}$CC" >&6
2967 echo "$as_me:$LINENO: result: no" >&5
2968 echo "${ECHO_T}no" >&6
2971 test -n "$CC" && break
2974 if test -z "$CC"; then
2978 # Extract the first word of "$ac_prog", so it can be a program name with args.
2979 set dummy
$ac_prog; ac_word
=$2
2980 echo "$as_me:$LINENO: checking for $ac_word" >&5
2981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2982 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 if test -n "$ac_ct_CC"; then
2986 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2992 test -z "$as_dir" && as_dir
=.
2993 for ac_exec_ext
in '' $ac_executable_extensions; do
2994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2995 ac_cv_prog_ac_ct_CC
="$ac_prog"
2996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3004 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3005 if test -n "$ac_ct_CC"; then
3006 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3007 echo "${ECHO_T}$ac_ct_CC" >&6
3009 echo "$as_me:$LINENO: result: no" >&5
3010 echo "${ECHO_T}no" >&6
3013 test -n "$ac_ct_CC" && break
3022 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3023 See \`config.log' for more details." >&5
3024 echo "$as_me: error: no acceptable C compiler found in \$PATH
3025 See \`config.log' for more details." >&2;}
3026 { (exit 1); exit 1; }; }
3028 # Provide some information about the compiler.
3029 echo "$as_me:$LINENO:" \
3030 "checking for C compiler version" >&5
3031 ac_compiler
=`set X $ac_compile; echo $2`
3032 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3033 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); }
3037 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3038 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); }
3042 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3043 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); }
3048 cat >conftest.
$ac_ext <<_ACEOF
3051 cat confdefs.h
>>conftest.
$ac_ext
3052 cat >>conftest.
$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3063 ac_clean_files_save
=$ac_clean_files
3064 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3065 # Try to create an executable without -o first, disregard a.out.
3066 # It will help us diagnose broken compilers, and finding out an intuition
3068 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3069 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3070 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3071 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3072 (eval $ac_link_default) 2>&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; then
3076 # Find the output, starting from the most likely. This scheme is
3077 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3080 # Be careful to initialize this variable, since it used to be cached.
3081 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3083 # b.out is created by i960 compilers.
3084 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3086 test -f "$ac_file" ||
continue
3088 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3091 # This is the source file.
3094 # We found the default executable, but exeext='' is most
3098 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3099 # FIXME: I believe we export ac_cv_exeext for Libtool,
3100 # but it would be cool to find out if it's true. Does anybody
3101 # maintain Libtool? --akim.
3109 echo "$as_me: failed program was:" >&5
3110 sed 's/^/| /' conftest.
$ac_ext >&5
3112 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3113 See \`config.log' for more details." >&5
3114 echo "$as_me: error: C compiler cannot create executables
3115 See \`config.log' for more details." >&2;}
3116 { (exit 77); exit 77; }; }
3119 ac_exeext
=$ac_cv_exeext
3120 echo "$as_me:$LINENO: result: $ac_file" >&5
3121 echo "${ECHO_T}$ac_file" >&6
3123 # Check the compiler produces executables we can run. If not, either
3124 # the compiler is broken, or we cross compile.
3125 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3126 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3127 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3128 # If not cross compiling, check that we can run a simple program.
3129 if test "$cross_compiling" != yes; then
3130 if { ac_try
='./$ac_file'
3131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); }; }; then
3138 if test "$cross_compiling" = maybe
; then
3141 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3142 If you meant to cross compile, use \`--host'.
3143 See \`config.log' for more details." >&5
3144 echo "$as_me: error: cannot run C compiled programs.
3145 If you meant to cross compile, use \`--host'.
3146 See \`config.log' for more details." >&2;}
3147 { (exit 1); exit 1; }; }
3151 echo "$as_me:$LINENO: result: yes" >&5
3152 echo "${ECHO_T}yes" >&6
3154 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3155 ac_clean_files
=$ac_clean_files_save
3156 # Check the compiler produces executables we can run. If not, either
3157 # the compiler is broken, or we cross compile.
3158 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3159 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3160 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3161 echo "${ECHO_T}$cross_compiling" >&6
3163 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3164 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3166 (eval $ac_link) 2>&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; then
3170 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3171 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3172 # work properly (i.e., refer to `conftest.exe'), while it won't with
3174 for ac_file
in conftest.exe conftest conftest.
*; do
3175 test -f "$ac_file" ||
continue
3177 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3178 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3185 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3186 See \`config.log' for more details." >&5
3187 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3188 See \`config.log' for more details." >&2;}
3189 { (exit 1); exit 1; }; }
3192 rm -f conftest
$ac_cv_exeext
3193 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3194 echo "${ECHO_T}$ac_cv_exeext" >&6
3196 rm -f conftest.
$ac_ext
3197 EXEEXT
=$ac_cv_exeext
3199 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3200 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3201 if test "${ac_cv_objext+set}" = set; then
3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 cat >conftest.
$ac_ext <<_ACEOF
3207 cat confdefs.h
>>conftest.
$ac_ext
3208 cat >>conftest.
$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3219 rm -f conftest.o conftest.obj
3220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3221 (eval $ac_compile) 2>&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; then
3225 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3227 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3228 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3233 echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.
$ac_ext >&5
3236 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3237 See \`config.log' for more details." >&5
3238 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3239 See \`config.log' for more details." >&2;}
3240 { (exit 1); exit 1; }; }
3243 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3245 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3246 echo "${ECHO_T}$ac_cv_objext" >&6
3247 OBJEXT
=$ac_cv_objext
3249 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3250 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3251 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 cat >conftest.
$ac_ext <<_ACEOF
3257 cat confdefs.h
>>conftest.
$ac_ext
3258 cat >>conftest.
$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3272 rm -f conftest.
$ac_objext
3273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3274 (eval $ac_compile) 2>conftest.er1
3276 grep -v '^ *+' conftest.er1
>conftest.err
3278 cat conftest.err
>&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); } &&
3281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); }; } &&
3287 { ac_try
='test -s conftest.$ac_objext'
3288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); }; }; then
3295 echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.
$ac_ext >&5
3300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3301 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3304 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3305 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3306 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3307 ac_test_CFLAGS
=${CFLAGS+set}
3308 ac_save_CFLAGS
=$CFLAGS
3310 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3311 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3312 if test "${ac_cv_prog_cc_g+set}" = set; then
3313 echo $ECHO_N "(cached) $ECHO_C" >&6
3315 cat >conftest.
$ac_ext <<_ACEOF
3318 cat confdefs.h
>>conftest.
$ac_ext
3319 cat >>conftest.
$ac_ext <<_ACEOF
3320 /* end confdefs.h. */
3330 rm -f conftest.
$ac_objext
3331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3332 (eval $ac_compile) 2>conftest.er1
3334 grep -v '^ *+' conftest.er1
>conftest.err
3336 cat conftest.err
>&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); } &&
3339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; } &&
3345 { ac_try
='test -s conftest.$ac_objext'
3346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; }; then
3353 echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.
$ac_ext >&5
3358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3360 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3361 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3362 if test "$ac_test_CFLAGS" = set; then
3363 CFLAGS
=$ac_save_CFLAGS
3364 elif test $ac_cv_prog_cc_g = yes; then
3365 if test "$GCC" = yes; then
3371 if test "$GCC" = yes; then
3377 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3378 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3379 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3380 echo $ECHO_N "(cached) $ECHO_C" >&6
3382 ac_cv_prog_cc_stdc
=no
3384 cat >conftest.
$ac_ext <<_ACEOF
3387 cat confdefs.h
>>conftest.
$ac_ext
3388 cat >>conftest.
$ac_ext <<_ACEOF
3389 /* end confdefs.h. */
3392 #include <sys/types.h>
3393 #include <sys/stat.h>
3394 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3395 struct buf { int x; };
3396 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3397 static char *e (p, i)
3403 static char *f (char * (*g) (char **, int), char **p, ...)
3408 s = g (p, va_arg (v,int));
3413 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3414 function prototypes and stuff, but not '\xHH' hex character constants.
3415 These don't provoke an error unfortunately, instead are silently treated
3416 as 'x'. The following induces an error, until -std1 is added to get
3417 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3418 array size at least. It's necessary to write '\x00'==0 to get something
3419 that's true only with -std1. */
3420 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3422 int test (int i, double x);
3423 struct s1 {int (*f) (int a);};
3424 struct s2 {int (*f) (double a);};
3425 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3431 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3436 # Don't try gcc -ansi; that turns off useful extensions and
3437 # breaks some systems' header files.
3438 # AIX -qlanglvl=ansi
3439 # Ultrix and OSF/1 -std1
3440 # HP-UX 10.20 and later -Ae
3441 # HP-UX older versions -Aa -D_HPUX_SOURCE
3442 # SVR4 -Xc -D__EXTENSIONS__
3443 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3445 CC
="$ac_save_CC $ac_arg"
3446 rm -f conftest.
$ac_objext
3447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3448 (eval $ac_compile) 2>conftest.er1
3450 grep -v '^ *+' conftest.er1
>conftest.err
3452 cat conftest.err
>&5
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); } &&
3455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); }; } &&
3461 { ac_try
='test -s conftest.$ac_objext'
3462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); }; }; then
3467 ac_cv_prog_cc_stdc
=$ac_arg
3470 echo "$as_me: failed program was:" >&5
3471 sed 's/^/| /' conftest.
$ac_ext >&5
3474 rm -f conftest.err conftest.
$ac_objext
3476 rm -f conftest.
$ac_ext conftest.
$ac_objext
3481 case "x$ac_cv_prog_cc_stdc" in
3483 echo "$as_me:$LINENO: result: none needed" >&5
3484 echo "${ECHO_T}none needed" >&6 ;;
3486 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3487 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3488 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3491 # Some people use a C++ compiler to compile C. Since we use `exit',
3492 # in C++ we need to declare it. In case someone uses the same compiler
3493 # for both compiling C and C++ we need to have the C++ compiler decide
3494 # the declaration of exit, since it's the most demanding environment.
3495 cat >conftest.
$ac_ext <<_ACEOF
3500 rm -f conftest.
$ac_objext
3501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3502 (eval $ac_compile) 2>conftest.er1
3504 grep -v '^ *+' conftest.er1
>conftest.err
3506 cat conftest.err
>&5
3507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508 (exit $ac_status); } &&
3509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); }; } &&
3515 { ac_try
='test -s conftest.$ac_objext'
3516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); }; }; then
3521 for ac_declaration
in \
3523 'extern "C" void std::exit (int) throw (); using std::exit;' \
3524 'extern "C" void std::exit (int); using std::exit;' \
3525 'extern "C" void exit (int) throw ();' \
3526 'extern "C" void exit (int);' \
3529 cat >conftest.
$ac_ext <<_ACEOF
3532 cat confdefs.h
>>conftest.
$ac_ext
3533 cat >>conftest.
$ac_ext <<_ACEOF
3534 /* end confdefs.h. */
3545 rm -f conftest.
$ac_objext
3546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3547 (eval $ac_compile) 2>conftest.er1
3549 grep -v '^ *+' conftest.er1
>conftest.err
3551 cat conftest.err
>&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } &&
3554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); }; } &&
3560 { ac_try
='test -s conftest.$ac_objext'
3561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); }; }; then
3568 echo "$as_me: failed program was:" >&5
3569 sed 's/^/| /' conftest.
$ac_ext >&5
3573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3574 cat >conftest.
$ac_ext <<_ACEOF
3577 cat confdefs.h
>>conftest.
$ac_ext
3578 cat >>conftest.
$ac_ext <<_ACEOF
3579 /* end confdefs.h. */
3589 rm -f conftest.
$ac_objext
3590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3591 (eval $ac_compile) 2>conftest.er1
3593 grep -v '^ *+' conftest.er1
>conftest.err
3595 cat conftest.err
>&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); } &&
3598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; } &&
3604 { ac_try
='test -s conftest.$ac_objext'
3605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); }; }; then
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.
$ac_ext >&5
3616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3619 if test -n "$ac_declaration"; then
3620 echo '#ifdef __cplusplus' >>confdefs.h
3621 echo $ac_declaration >>confdefs.h
3622 echo '#endif' >>confdefs.h
3626 echo "$as_me: failed program was:" >&5
3627 sed 's/^/| /' conftest.
$ac_ext >&5
3630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3632 ac_cpp
='$CPP $CPPFLAGS'
3633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3638 # On Suns, sometimes $CPP names a directory.
3639 if test -n "$CPP" && test -d "$CPP"; then
3643 #### Some systems specify a CPP to use unless we are using GCC.
3644 #### Now that we know whether we are using GCC, we can decide whether
3645 #### to use that one.
3646 if test "x$NON_GNU_CPP" != x
&& test x
$GCC != xyes
&& test "x$CPP" = x
3651 #### Some systems specify a CC to use unless we are using GCC.
3652 #### Now that we know whether we are using GCC, we can decide whether
3653 #### to use that one.
3654 if test "x$NON_GNU_CC" != x
&& test x
$GCC != xyes
&&
3655 test x
$cc_specified != xyes
3660 if test x
$GCC = xyes
&& test "x$GCC_TEST_OPTIONS" != x
3662 CC
="$CC $GCC_TEST_OPTIONS"
3665 if test x
$GCC = x
&& test "x$NON_GCC_TEST_OPTIONS" != x
3667 CC
="$CC $NON_GCC_TEST_OPTIONS"
3670 #### Some other nice autoconf tests.
3672 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3673 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3675 if test "$LN_S" = "ln -s"; then
3676 echo "$as_me:$LINENO: result: yes" >&5
3677 echo "${ECHO_T}yes" >&6
3679 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3680 echo "${ECHO_T}no, using $LN_S" >&6
3684 ac_cpp
='$CPP $CPPFLAGS'
3685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3688 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3689 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3690 # On Suns, sometimes $CPP names a directory.
3691 if test -n "$CPP" && test -d "$CPP"; then
3694 if test -z "$CPP"; then
3695 if test "${ac_cv_prog_CPP+set}" = set; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3698 # Double quotes because CPP needs to be expanded
3699 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3702 for ac_c_preproc_warn_flag
in '' yes
3704 # Use a header file that comes with gcc, so configuring glibc
3705 # with a fresh cross-compiler works.
3706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3707 # <limits.h> exists even on freestanding compilers.
3708 # On the NeXT, cc -E runs the code through the compiler's parser,
3709 # not just through cpp. "Syntax error" is here to catch this case.
3710 cat >conftest.
$ac_ext <<_ACEOF
3713 cat confdefs.h
>>conftest.
$ac_ext
3714 cat >>conftest.
$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3717 # include <limits.h>
3719 # include <assert.h>
3723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3724 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3726 grep -v '^ *+' conftest.er1
>conftest.err
3728 cat conftest.err
>&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); } >/dev
/null
; then
3731 if test -s conftest.err
; then
3732 ac_cpp_err
=$ac_c_preproc_warn_flag
3733 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3740 if test -z "$ac_cpp_err"; then
3743 echo "$as_me: failed program was:" >&5
3744 sed 's/^/| /' conftest.
$ac_ext >&5
3746 # Broken: fails on valid input.
3749 rm -f conftest.err conftest.
$ac_ext
3751 # OK, works on sane cases. Now check whether non-existent headers
3752 # can be detected and how.
3753 cat >conftest.
$ac_ext <<_ACEOF
3756 cat confdefs.h
>>conftest.
$ac_ext
3757 cat >>conftest.
$ac_ext <<_ACEOF
3758 /* end confdefs.h. */
3759 #include <ac_nonexistent.h>
3761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3764 grep -v '^ *+' conftest.er1
>conftest.err
3766 cat conftest.err
>&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } >/dev
/null
; then
3769 if test -s conftest.err
; then
3770 ac_cpp_err
=$ac_c_preproc_warn_flag
3771 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3778 if test -z "$ac_cpp_err"; then
3779 # Broken: success on invalid input.
3782 echo "$as_me: failed program was:" >&5
3783 sed 's/^/| /' conftest.
$ac_ext >&5
3785 # Passes both tests.
3789 rm -f conftest.err conftest.
$ac_ext
3792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3793 rm -f conftest.err conftest.
$ac_ext
3794 if $ac_preproc_ok; then
3806 echo "$as_me:$LINENO: result: $CPP" >&5
3807 echo "${ECHO_T}$CPP" >&6
3809 for ac_c_preproc_warn_flag
in '' yes
3811 # Use a header file that comes with gcc, so configuring glibc
3812 # with a fresh cross-compiler works.
3813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3814 # <limits.h> exists even on freestanding compilers.
3815 # On the NeXT, cc -E runs the code through the compiler's parser,
3816 # not just through cpp. "Syntax error" is here to catch this case.
3817 cat >conftest.
$ac_ext <<_ACEOF
3820 cat confdefs.h
>>conftest.
$ac_ext
3821 cat >>conftest.
$ac_ext <<_ACEOF
3822 /* end confdefs.h. */
3824 # include <limits.h>
3826 # include <assert.h>
3830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3833 grep -v '^ *+' conftest.er1
>conftest.err
3835 cat conftest.err
>&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); } >/dev
/null
; then
3838 if test -s conftest.err
; then
3839 ac_cpp_err
=$ac_c_preproc_warn_flag
3840 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3847 if test -z "$ac_cpp_err"; then
3850 echo "$as_me: failed program was:" >&5
3851 sed 's/^/| /' conftest.
$ac_ext >&5
3853 # Broken: fails on valid input.
3856 rm -f conftest.err conftest.
$ac_ext
3858 # OK, works on sane cases. Now check whether non-existent headers
3859 # can be detected and how.
3860 cat >conftest.
$ac_ext <<_ACEOF
3863 cat confdefs.h
>>conftest.
$ac_ext
3864 cat >>conftest.
$ac_ext <<_ACEOF
3865 /* end confdefs.h. */
3866 #include <ac_nonexistent.h>
3868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3869 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3871 grep -v '^ *+' conftest.er1
>conftest.err
3873 cat conftest.err
>&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); } >/dev
/null
; then
3876 if test -s conftest.err
; then
3877 ac_cpp_err
=$ac_c_preproc_warn_flag
3878 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3885 if test -z "$ac_cpp_err"; then
3886 # Broken: success on invalid input.
3889 echo "$as_me: failed program was:" >&5
3890 sed 's/^/| /' conftest.
$ac_ext >&5
3892 # Passes both tests.
3896 rm -f conftest.err conftest.
$ac_ext
3899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3900 rm -f conftest.err conftest.
$ac_ext
3901 if $ac_preproc_ok; then
3904 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3905 See \`config.log' for more details." >&5
3906 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3907 See \`config.log' for more details." >&2;}
3908 { (exit 1); exit 1; }; }
3912 ac_cpp
='$CPP $CPPFLAGS'
3913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3917 # Find a good install program. We prefer a C program (faster),
3918 # so one script is as good as another. But avoid the broken or
3919 # incompatible versions:
3920 # SysV /etc/install, /usr/sbin/install
3921 # SunOS /usr/etc/install
3922 # IRIX /sbin/install
3924 # AmigaOS /C/install, which installs bootblocks on floppy discs
3925 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3926 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3927 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3928 # OS/2's system install, which has a completely different semantic
3929 # ./install, which can be erroneously created by make from ./install.sh.
3930 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3931 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3932 if test -z "$INSTALL"; then
3933 if test "${ac_cv_path_install+set}" = set; then
3934 echo $ECHO_N "(cached) $ECHO_C" >&6
3936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3940 test -z "$as_dir" && as_dir
=.
3941 # Account for people who put trailing slashes in PATH elements.
3943 .
/ | .
// |
/cC
/* | \
3944 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3945 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3948 # OSF1 and SCO ODT 3.0 have their own names for install.
3949 # Don't use installbsd from OSF since it installs stuff as root
3951 for ac_prog
in ginstall scoinst
install; do
3952 for ac_exec_ext
in '' $ac_executable_extensions; do
3953 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3954 if test $ac_prog = install &&
3955 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3956 # AIX install. It has an incompatible calling convention.
3958 elif test $ac_prog = install &&
3959 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3960 # program-specific install script used by HP pwplus--don't use.
3963 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3975 if test "${ac_cv_path_install+set}" = set; then
3976 INSTALL
=$ac_cv_path_install
3978 # As a last resort, use the slow shell script. We don't cache a
3979 # path for INSTALL within a source directory, because that will
3980 # break other packages using the cache if that directory is
3981 # removed, or if the path is relative.
3982 INSTALL
=$ac_install_sh
3985 echo "$as_me:$LINENO: result: $INSTALL" >&5
3986 echo "${ECHO_T}$INSTALL" >&6
3988 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3989 # It thinks the first close brace ends the variable substitution.
3990 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3992 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3994 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3996 if test "x$RANLIB" = x
; then
3997 if test -n "$ac_tool_prefix"; then
3998 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3999 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4000 echo "$as_me:$LINENO: checking for $ac_word" >&5
4001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4002 if test "${ac_cv_prog_RANLIB+set}" = set; then
4003 echo $ECHO_N "(cached) $ECHO_C" >&6
4005 if test -n "$RANLIB"; then
4006 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4012 test -z "$as_dir" && as_dir
=.
4013 for ac_exec_ext
in '' $ac_executable_extensions; do
4014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4015 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4024 RANLIB
=$ac_cv_prog_RANLIB
4025 if test -n "$RANLIB"; then
4026 echo "$as_me:$LINENO: result: $RANLIB" >&5
4027 echo "${ECHO_T}$RANLIB" >&6
4029 echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6
4034 if test -z "$ac_cv_prog_RANLIB"; then
4035 ac_ct_RANLIB
=$RANLIB
4036 # Extract the first word of "ranlib", so it can be a program name with args.
4037 set dummy ranlib
; ac_word
=$2
4038 echo "$as_me:$LINENO: checking for $ac_word" >&5
4039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4040 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4041 echo $ECHO_N "(cached) $ECHO_C" >&6
4043 if test -n "$ac_ct_RANLIB"; then
4044 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4050 test -z "$as_dir" && as_dir
=.
4051 for ac_exec_ext
in '' $ac_executable_extensions; do
4052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4053 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4060 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4063 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4064 if test -n "$ac_ct_RANLIB"; then
4065 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4066 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4072 RANLIB
=$ac_ct_RANLIB
4074 RANLIB
="$ac_cv_prog_RANLIB"
4078 # Extract the first word of "install-info", so it can be a program name with args.
4079 set dummy install-info
; ac_word
=$2
4080 echo "$as_me:$LINENO: checking for $ac_word" >&5
4081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4082 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4083 echo $ECHO_N "(cached) $ECHO_C" >&6
4085 case $INSTALL_INFO in
4087 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4094 test -z "$as_dir" && as_dir
=.
4095 for ac_exec_ext
in '' $ac_executable_extensions; do
4096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4097 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4107 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4109 if test -n "$INSTALL_INFO"; then
4110 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4111 echo "${ECHO_T}$INSTALL_INFO" >&6
4113 echo "$as_me:$LINENO: result: no" >&5
4114 echo "${ECHO_T}no" >&6
4117 # Extract the first word of "install-info", so it can be a program name with args.
4118 set dummy install-info
; ac_word
=$2
4119 echo "$as_me:$LINENO: checking for $ac_word" >&5
4120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4121 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 case $INSTALL_INFO in
4126 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4130 for as_dir
in /usr
/sbin
4133 test -z "$as_dir" && as_dir
=.
4134 for ac_exec_ext
in '' $ac_executable_extensions; do
4135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4136 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4146 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4148 if test -n "$INSTALL_INFO"; then
4149 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4150 echo "${ECHO_T}$INSTALL_INFO" >&6
4152 echo "$as_me:$LINENO: result: no" >&5
4153 echo "${ECHO_T}no" >&6
4156 # Extract the first word of "install-info", so it can be a program name with args.
4157 set dummy install-info
; ac_word
=$2
4158 echo "$as_me:$LINENO: checking for $ac_word" >&5
4159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4160 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 case $INSTALL_INFO in
4165 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4172 test -z "$as_dir" && as_dir
=.
4173 for ac_exec_ext
in '' $ac_executable_extensions; do
4174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4175 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
=":"
4186 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4188 if test -n "$INSTALL_INFO"; then
4189 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4190 echo "${ECHO_T}$INSTALL_INFO" >&6
4192 echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6
4196 # Extract the first word of "gzip", so it can be a program name with args.
4197 set dummy
gzip; ac_word
=$2
4198 echo "$as_me:$LINENO: checking for $ac_word" >&5
4199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4200 if test "${ac_cv_path_GZIP_PROG+set}" = set; then
4201 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 ac_cv_path_GZIP_PROG
="$GZIP_PROG" # Let the user override the test with a path.
4208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4212 test -z "$as_dir" && as_dir
=.
4213 for ac_exec_ext
in '' $ac_executable_extensions; do
4214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4215 ac_cv_path_GZIP_PROG
="$as_dir/$ac_word$ac_exec_ext"
4216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 GZIP_PROG
=$ac_cv_path_GZIP_PROG
4227 if test -n "$GZIP_PROG"; then
4228 echo "$as_me:$LINENO: result: $GZIP_PROG" >&5
4229 echo "${ECHO_T}$GZIP_PROG" >&6
4231 echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6
4237 if test x
$GCC = xyes
&& test "x$GCC_LINK_TEST_OPTIONS" != x
4239 ac_link
="$ac_link $GCC_LINK_TEST_OPTIONS"
4242 if test x
$GCC = x
&& test "x$NON_GCC_LINK_TEST_OPTIONS" != x
4244 ac_link
="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
4248 late_LDFLAGS
=$LDFLAGS
4249 if test "$GCC" = yes; then
4250 LDFLAGS
="$LDFLAGS -Wl,-znocombreloc"
4252 LDFLAGS
="$LDFLAGS -znocombreloc"
4255 echo "$as_me:$LINENO: checking for -znocombreloc" >&5
4256 echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6
4258 cat >conftest.
$ac_ext <<_ACEOF
4261 rm -f conftest.
$ac_objext conftest
$ac_exeext
4262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4263 (eval $ac_link) 2>conftest.er1
4265 grep -v '^ *+' conftest.er1
>conftest.err
4267 cat conftest.err
>&5
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); } &&
4270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); }; } &&
4276 { ac_try
='test -s conftest$ac_exeext'
4277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); }; }; then
4282 echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6
4285 echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.
$ac_ext >&5
4288 LDFLAGS
=$late_LDFLAGS
4289 echo "$as_me:$LINENO: result: no" >&5
4290 echo "${ECHO_T}no" >&6
4292 rm -f conftest.err conftest.
$ac_objext \
4293 conftest
$ac_exeext conftest.
$ac_ext
4296 echo "$as_me:$LINENO: checking for egrep" >&5
4297 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4298 if test "${ac_cv_prog_egrep+set}" = set; then
4299 echo $ECHO_N "(cached) $ECHO_C" >&6
4301 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4302 then ac_cv_prog_egrep
='grep -E'
4303 else ac_cv_prog_egrep
='egrep'
4306 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4307 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4308 EGREP
=$ac_cv_prog_egrep
4312 echo "$as_me:$LINENO: checking for AIX" >&5
4313 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
4314 cat >conftest.
$ac_ext <<_ACEOF
4317 cat confdefs.h
>>conftest.
$ac_ext
4318 cat >>conftest.
$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4326 $EGREP "yes" >/dev
/null
2>&1; then
4327 echo "$as_me:$LINENO: result: yes" >&5
4328 echo "${ECHO_T}yes" >&6
4329 cat >>confdefs.h
<<\_ACEOF
4330 #define _ALL_SOURCE 1
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4342 #### Extract some information from the operating system and machine files.
4344 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
4345 - which libraries the lib-src programs will want, and
4346 - whether the GNU malloc routines are usable..." >&5
4347 echo "$as_me: checking the machine- and system-dependent files to find out
4348 - which libraries the lib-src programs will want, and
4349 - whether the GNU malloc routines are usable..." >&6;}
4351 ### First figure out CFLAGS (which we use for running the compiler here)
4352 ### and REAL_CFLAGS (which we use for real compilation).
4353 ### The two are the same except on a few systems, where they are made
4354 ### different to work around various lossages. For example,
4355 ### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
4356 ### as implying static linking.
4358 ### If the CFLAGS env var is specified, we use that value
4359 ### instead of the default.
4361 ### It's not important that this name contain the PID; you can't run
4362 ### two configures in the same directory and have anything work
4364 tempcname
="conftest.c"
4367 #include "'${srcdir}'/src/'${opsysfile}'"
4368 #include "'${srcdir}'/src/'${machfile}'"
4369 #ifndef LIBS_MACHINE
4370 #define LIBS_MACHINE
4375 #ifndef C_SWITCH_SYSTEM
4376 #define C_SWITCH_SYSTEM
4378 #ifndef C_SWITCH_MACHINE
4379 #define C_SWITCH_MACHINE
4381 configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
4382 configure___ c_switch_system=C_SWITCH_SYSTEM
4383 configure___ c_switch_machine=C_SWITCH_MACHINE
4386 #define LIB_X11_LIB -lX11
4389 #ifndef LIBX11_MACHINE
4390 #define LIBX11_MACHINE
4393 #ifndef LIBX11_SYSTEM
4394 #define LIBX11_SYSTEM
4396 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
4399 configure___ unexec=UNEXEC
4401 configure___ unexec=unexec.o
4404 #ifdef SYSTEM_MALLOC
4405 configure___ system_malloc=yes
4407 configure___ system_malloc=no
4410 #ifdef USE_MMAP_FOR_BUFFERS
4411 configure___ use_mmap_for_buffers=yes
4413 configure___ use_mmap_for_buffers=no
4416 #ifndef C_DEBUG_SWITCH
4417 #define C_DEBUG_SWITCH -g
4420 #ifndef C_OPTIMIZE_SWITCH
4422 #define C_OPTIMIZE_SWITCH -O2
4424 #define C_OPTIMIZE_SWITCH -O
4428 #ifndef LD_SWITCH_MACHINE
4429 #define LD_SWITCH_MACHINE
4432 #ifndef LD_SWITCH_SYSTEM
4433 #define LD_SWITCH_SYSTEM
4436 #ifndef LD_SWITCH_X_SITE_AUX
4437 #define LD_SWITCH_X_SITE_AUX
4440 configure___ ld_switch_system=LD_SWITCH_SYSTEM
4441 configure___ ld_switch_machine=LD_SWITCH_MACHINE
4443 #ifdef THIS_IS_CONFIGURE
4445 /* Get the CFLAGS for tests in configure. */
4447 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4449 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4452 #else /* not THIS_IS_CONFIGURE */
4454 /* Get the CFLAGS for real compilation. */
4456 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4458 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4461 #endif /* not THIS_IS_CONFIGURE */
4464 # The value of CPP is a quoted variable reference, so we need to do this
4465 # to get its actual value...
4466 CPP
=`eval "echo $CPP"`
4467 eval `${CPP} -Isrc ${tempcname} \
4468 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4469 if test "x$SPECIFIED_CFLAGS" = x
; then
4470 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
4471 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4473 REAL_CFLAGS
="$CFLAGS"
4477 ac_link
="$ac_link $ld_switch_machine $ld_switch_system"
4479 ### Make sure subsequent tests use flags consistent with the build flags.
4481 if test x
"${OVERRIDE_CPPFLAGS}" != x
; then
4482 CPPFLAGS
="${OVERRIDE_CPPFLAGS}"
4484 CPPFLAGS
="$c_switch_system $c_switch_machine $CPPFLAGS"
4490 cat >>confdefs.h
<<\_ACEOF
4491 #define _GNU_SOURCE 1
4496 # Check whether --enable-largefile or --disable-largefile was given.
4497 if test "${enable_largefile+set}" = set; then
4498 enableval
="$enable_largefile"
4501 if test "$enable_largefile" != no
; then
4503 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4504 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4505 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 ac_cv_sys_largefile_CC
=no
4509 if test "$GCC" != yes; then
4512 # IRIX 6.2 and later do not support large files by default,
4513 # so use the C compiler's -n32 option if that helps.
4514 cat >conftest.
$ac_ext <<_ACEOF
4517 cat confdefs.h
>>conftest.
$ac_ext
4518 cat >>conftest.
$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4520 #include <sys/types.h>
4521 /* Check that off_t can represent 2**63 - 1 correctly.
4522 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4523 since some C++ compilers masquerading as C compilers
4524 incorrectly reject 9223372036854775807. */
4525 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4526 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4527 && LARGE_OFF_T % 2147483647 == 1)
4537 rm -f conftest.
$ac_objext
4538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4539 (eval $ac_compile) 2>conftest.er1
4541 grep -v '^ *+' conftest.er1
>conftest.err
4543 cat conftest.err
>&5
4544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545 (exit $ac_status); } &&
4546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551 (exit $ac_status); }; } &&
4552 { ac_try
='test -s conftest.$ac_objext'
4553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); }; }; then
4560 echo "$as_me: failed program was:" >&5
4561 sed 's/^/| /' conftest.
$ac_ext >&5
4564 rm -f conftest.err conftest.
$ac_objext
4566 rm -f conftest.
$ac_objext
4567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4568 (eval $ac_compile) 2>conftest.er1
4570 grep -v '^ *+' conftest.er1
>conftest.err
4572 cat conftest.err
>&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); } &&
4575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }; } &&
4581 { ac_try
='test -s conftest.$ac_objext'
4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; }; then
4587 ac_cv_sys_largefile_CC
=' -n32'; break
4589 echo "$as_me: failed program was:" >&5
4590 sed 's/^/| /' conftest.
$ac_ext >&5
4593 rm -f conftest.err conftest.
$ac_objext
4597 rm -f conftest.
$ac_ext
4600 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4601 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4602 if test "$ac_cv_sys_largefile_CC" != no
; then
4603 CC
=$CC$ac_cv_sys_largefile_CC
4606 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4607 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4608 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 ac_cv_sys_file_offset_bits
=no
4613 cat >conftest.
$ac_ext <<_ACEOF
4616 cat confdefs.h
>>conftest.
$ac_ext
4617 cat >>conftest.
$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4619 #include <sys/types.h>
4620 /* Check that off_t can represent 2**63 - 1 correctly.
4621 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4622 since some C++ compilers masquerading as C compilers
4623 incorrectly reject 9223372036854775807. */
4624 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4625 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4626 && LARGE_OFF_T % 2147483647 == 1)
4636 rm -f conftest.
$ac_objext
4637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4638 (eval $ac_compile) 2>conftest.er1
4640 grep -v '^ *+' conftest.er1
>conftest.err
4642 cat conftest.err
>&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } &&
4645 { ac_try
='test -z "$ac_c_werror_flag" || 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
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
4664 cat >conftest.
$ac_ext <<_ACEOF
4667 cat confdefs.h
>>conftest.
$ac_ext
4668 cat >>conftest.
$ac_ext <<_ACEOF
4669 /* end confdefs.h. */
4670 #define _FILE_OFFSET_BITS 64
4671 #include <sys/types.h>
4672 /* Check that off_t can represent 2**63 - 1 correctly.
4673 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4674 since some C++ compilers masquerading as C compilers
4675 incorrectly reject 9223372036854775807. */
4676 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4677 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4678 && LARGE_OFF_T % 2147483647 == 1)
4688 rm -f conftest.
$ac_objext
4689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4690 (eval $ac_compile) 2>conftest.er1
4692 grep -v '^ *+' conftest.er1
>conftest.err
4694 cat conftest.err
>&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } &&
4697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); }; } &&
4703 { ac_try
='test -s conftest.$ac_objext'
4704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); }; }; then
4709 ac_cv_sys_file_offset_bits
=64; break
4711 echo "$as_me: failed program was:" >&5
4712 sed 's/^/| /' conftest.
$ac_ext >&5
4715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4719 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4720 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4721 if test "$ac_cv_sys_file_offset_bits" != no
; then
4723 cat >>confdefs.h
<<_ACEOF
4724 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4729 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4730 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4731 if test "${ac_cv_sys_large_files+set}" = set; then
4732 echo $ECHO_N "(cached) $ECHO_C" >&6
4735 ac_cv_sys_large_files
=no
4736 cat >conftest.
$ac_ext <<_ACEOF
4739 cat confdefs.h
>>conftest.
$ac_ext
4740 cat >>conftest.
$ac_ext <<_ACEOF
4741 /* end confdefs.h. */
4742 #include <sys/types.h>
4743 /* Check that off_t can represent 2**63 - 1 correctly.
4744 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4745 since some C++ compilers masquerading as C compilers
4746 incorrectly reject 9223372036854775807. */
4747 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4748 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4749 && LARGE_OFF_T % 2147483647 == 1)
4759 rm -f conftest.
$ac_objext
4760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4761 (eval $ac_compile) 2>conftest.er1
4763 grep -v '^ *+' conftest.er1
>conftest.err
4765 cat conftest.err
>&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); } &&
4768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); }; } &&
4774 { ac_try
='test -s conftest.$ac_objext'
4775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); }; }; then
4782 echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.
$ac_ext >&5
4786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4787 cat >conftest.
$ac_ext <<_ACEOF
4790 cat confdefs.h
>>conftest.
$ac_ext
4791 cat >>conftest.
$ac_ext <<_ACEOF
4792 /* end confdefs.h. */
4793 #define _LARGE_FILES 1
4794 #include <sys/types.h>
4795 /* Check that off_t can represent 2**63 - 1 correctly.
4796 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4797 since some C++ compilers masquerading as C compilers
4798 incorrectly reject 9223372036854775807. */
4799 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4800 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4801 && LARGE_OFF_T % 2147483647 == 1)
4811 rm -f conftest.
$ac_objext
4812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4813 (eval $ac_compile) 2>conftest.er1
4815 grep -v '^ *+' conftest.er1
>conftest.err
4817 cat conftest.err
>&5
4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819 (exit $ac_status); } &&
4820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); }; } &&
4826 { ac_try
='test -s conftest.$ac_objext'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; }; then
4832 ac_cv_sys_large_files
=1; break
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.
$ac_ext >&5
4838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4842 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4843 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4844 if test "$ac_cv_sys_large_files" != no
; then
4846 cat >>confdefs.h
<<_ACEOF
4847 #define _LARGE_FILES $ac_cv_sys_large_files
4855 if test "${with_sound}" != "no"; then
4856 # Sound support for GNU/Linux and the free BSDs.
4857 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4858 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4859 if test "${ac_cv_header_stdc+set}" = set; then
4860 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 cat >conftest.
$ac_ext <<_ACEOF
4865 cat confdefs.h
>>conftest.
$ac_ext
4866 cat >>conftest.
$ac_ext <<_ACEOF
4867 /* end confdefs.h. */
4881 rm -f conftest.
$ac_objext
4882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4883 (eval $ac_compile) 2>conftest.er1
4885 grep -v '^ *+' conftest.er1
>conftest.err
4887 cat conftest.err
>&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } &&
4890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; } &&
4896 { ac_try
='test -s conftest.$ac_objext'
4897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); }; }; then
4902 ac_cv_header_stdc
=yes
4904 echo "$as_me: failed program was:" >&5
4905 sed 's/^/| /' conftest.
$ac_ext >&5
4907 ac_cv_header_stdc
=no
4909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4911 if test $ac_cv_header_stdc = yes; then
4912 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4913 cat >conftest.
$ac_ext <<_ACEOF
4916 cat confdefs.h
>>conftest.
$ac_ext
4917 cat >>conftest.
$ac_ext <<_ACEOF
4918 /* end confdefs.h. */
4922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4923 $EGREP "memchr" >/dev
/null
2>&1; then
4926 ac_cv_header_stdc
=no
4932 if test $ac_cv_header_stdc = yes; then
4933 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4934 cat >conftest.
$ac_ext <<_ACEOF
4937 cat confdefs.h
>>conftest.
$ac_ext
4938 cat >>conftest.
$ac_ext <<_ACEOF
4939 /* end confdefs.h. */
4943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4944 $EGREP "free" >/dev
/null
2>&1; then
4947 ac_cv_header_stdc
=no
4953 if test $ac_cv_header_stdc = yes; then
4954 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4955 if test "$cross_compiling" = yes; then
4958 cat >conftest.
$ac_ext <<_ACEOF
4961 cat confdefs.h
>>conftest.
$ac_ext
4962 cat >>conftest.
$ac_ext <<_ACEOF
4963 /* end confdefs.h. */
4965 #if ((' ' & 0x0FF) == 0x020)
4966 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4967 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4969 # define ISLOWER(c) \
4970 (('a' <= (c) && (c) <= 'i') \
4971 || ('j' <= (c) && (c) <= 'r') \
4972 || ('s' <= (c) && (c) <= 'z'))
4973 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4976 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4981 for (i = 0; i < 256; i++)
4982 if (XOR (islower (i), ISLOWER (i))
4983 || toupper (i) != TOUPPER (i))
4988 rm -f conftest
$ac_exeext
4989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4990 (eval $ac_link) 2>&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); }; }; then
5001 echo "$as_me: program exited with status $ac_status" >&5
5002 echo "$as_me: failed program was:" >&5
5003 sed 's/^/| /' conftest.
$ac_ext >&5
5006 ac_cv_header_stdc
=no
5008 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5012 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5013 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5014 if test $ac_cv_header_stdc = yes; then
5016 cat >>confdefs.h
<<\_ACEOF
5017 #define STDC_HEADERS 1
5022 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5032 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5033 inttypes.h stdint.h unistd.h
5035 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5036 echo "$as_me:$LINENO: checking for $ac_header" >&5
5037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5039 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 cat >conftest.
$ac_ext <<_ACEOF
5044 cat confdefs.h
>>conftest.
$ac_ext
5045 cat >>conftest.
$ac_ext <<_ACEOF
5046 /* end confdefs.h. */
5047 $ac_includes_default
5049 #include <$ac_header>
5051 rm -f conftest.
$ac_objext
5052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5053 (eval $ac_compile) 2>conftest.er1
5055 grep -v '^ *+' conftest.er1
>conftest.err
5057 cat conftest.err
>&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); } &&
5060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); }; } &&
5066 { ac_try
='test -s conftest.$ac_objext'
5067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); }; }; then
5072 eval "$as_ac_Header=yes"
5074 echo "$as_me: failed program was:" >&5
5075 sed 's/^/| /' conftest.
$ac_ext >&5
5077 eval "$as_ac_Header=no"
5079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5084 cat >>confdefs.h
<<_ACEOF
5085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5096 for ac_header
in machine
/soundcard.h sys
/soundcard.h soundcard.h
5098 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5100 echo "$as_me:$LINENO: checking for $ac_header" >&5
5101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5108 # Is the header compilable?
5109 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5111 cat >conftest.
$ac_ext <<_ACEOF
5114 cat confdefs.h
>>conftest.
$ac_ext
5115 cat >>conftest.
$ac_ext <<_ACEOF
5116 /* end confdefs.h. */
5117 $ac_includes_default
5118 #include <$ac_header>
5120 rm -f conftest.
$ac_objext
5121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5122 (eval $ac_compile) 2>conftest.er1
5124 grep -v '^ *+' conftest.er1
>conftest.err
5126 cat conftest.err
>&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); } &&
5129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); }; } &&
5135 { ac_try
='test -s conftest.$ac_objext'
5136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140 (exit $ac_status); }; }; then
5141 ac_header_compiler
=yes
5143 echo "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.
$ac_ext >&5
5146 ac_header_compiler
=no
5148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5150 echo "${ECHO_T}$ac_header_compiler" >&6
5152 # Is the header present?
5153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5155 cat >conftest.
$ac_ext <<_ACEOF
5158 cat confdefs.h
>>conftest.
$ac_ext
5159 cat >>conftest.
$ac_ext <<_ACEOF
5160 /* end confdefs.h. */
5161 #include <$ac_header>
5163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5164 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5166 grep -v '^ *+' conftest.er1
>conftest.err
5168 cat conftest.err
>&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); } >/dev
/null
; then
5171 if test -s conftest.err
; then
5172 ac_cpp_err
=$ac_c_preproc_warn_flag
5173 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5180 if test -z "$ac_cpp_err"; then
5181 ac_header_preproc
=yes
5183 echo "$as_me: failed program was:" >&5
5184 sed 's/^/| /' conftest.
$ac_ext >&5
5186 ac_header_preproc
=no
5188 rm -f conftest.err conftest.
$ac_ext
5189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5190 echo "${ECHO_T}$ac_header_preproc" >&6
5192 # So? What about this header?
5193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5195 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5199 ac_header_preproc
=yes
5202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5206 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5208 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5209 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5212 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5216 ## ------------------------------------------ ##
5217 ## Report this to the AC_PACKAGE_NAME lists. ##
5218 ## ------------------------------------------ ##
5221 sed "s/^/$as_me: WARNING: /" >&2
5224 echo "$as_me:$LINENO: checking for $ac_header" >&5
5225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5227 echo $ECHO_N "(cached) $ECHO_C" >&6
5229 eval "$as_ac_Header=\$ac_header_preproc"
5231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5236 cat >>confdefs.h
<<_ACEOF
5237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5244 # Emulation library used on NetBSD.
5245 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5246 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5247 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 ac_check_lib_save_LIBS
=$LIBS
5251 LIBS
="-lossaudio $LIBS"
5252 cat >conftest.
$ac_ext <<_ACEOF
5255 cat confdefs.h
>>conftest.
$ac_ext
5256 cat >>conftest.
$ac_ext <<_ACEOF
5257 /* end confdefs.h. */
5259 /* Override any gcc2 internal prototype to avoid an error. */
5263 /* We use char because int might match the return type of a gcc2
5264 builtin and then its argument prototype would still apply. */
5274 rm -f conftest.
$ac_objext conftest
$ac_exeext
5275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5276 (eval $ac_link) 2>conftest.er1
5278 grep -v '^ *+' conftest.er1
>conftest.err
5280 cat conftest.err
>&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); } &&
5283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; } &&
5289 { ac_try
='test -s conftest$ac_exeext'
5290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); }; }; then
5295 ac_cv_lib_ossaudio__oss_ioctl
=yes
5297 echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.
$ac_ext >&5
5300 ac_cv_lib_ossaudio__oss_ioctl
=no
5302 rm -f conftest.err conftest.
$ac_objext \
5303 conftest
$ac_exeext conftest.
$ac_ext
5304 LIBS
=$ac_check_lib_save_LIBS
5306 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5307 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5308 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5342 for ac_header
in sys
/select.h sys
/timeb.h sys
/time.h unistd.h utime.h \
5343 linux
/version.h sys
/systeminfo.h termios.h limits.h string.h stdlib.h \
5344 termcap.h stdio_ext.h fcntl.h
strings.h coff.h pty.h sys
/mman.h \
5345 sys
/param.h sys
/vlimit.h sys
/resource.h locale.h sys
/_mbstate_t.h \
5348 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5350 echo "$as_me:$LINENO: checking for $ac_header" >&5
5351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5353 echo $ECHO_N "(cached) $ECHO_C" >&6
5355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5358 # Is the header compilable?
5359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5361 cat >conftest.
$ac_ext <<_ACEOF
5364 cat confdefs.h
>>conftest.
$ac_ext
5365 cat >>conftest.
$ac_ext <<_ACEOF
5366 /* end confdefs.h. */
5367 $ac_includes_default
5368 #include <$ac_header>
5370 rm -f conftest.
$ac_objext
5371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5372 (eval $ac_compile) 2>conftest.er1
5374 grep -v '^ *+' conftest.er1
>conftest.err
5376 cat conftest.err
>&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } &&
5379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); }; } &&
5385 { ac_try
='test -s conftest.$ac_objext'
5386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); }; }; then
5391 ac_header_compiler
=yes
5393 echo "$as_me: failed program was:" >&5
5394 sed 's/^/| /' conftest.
$ac_ext >&5
5396 ac_header_compiler
=no
5398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5399 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5400 echo "${ECHO_T}$ac_header_compiler" >&6
5402 # Is the header present?
5403 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5404 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5405 cat >conftest.
$ac_ext <<_ACEOF
5408 cat confdefs.h
>>conftest.
$ac_ext
5409 cat >>conftest.
$ac_ext <<_ACEOF
5410 /* end confdefs.h. */
5411 #include <$ac_header>
5413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5414 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5416 grep -v '^ *+' conftest.er1
>conftest.err
5418 cat conftest.err
>&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); } >/dev
/null
; then
5421 if test -s conftest.err
; then
5422 ac_cpp_err
=$ac_c_preproc_warn_flag
5423 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5430 if test -z "$ac_cpp_err"; then
5431 ac_header_preproc
=yes
5433 echo "$as_me: failed program was:" >&5
5434 sed 's/^/| /' conftest.
$ac_ext >&5
5436 ac_header_preproc
=no
5438 rm -f conftest.err conftest.
$ac_ext
5439 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5440 echo "${ECHO_T}$ac_header_preproc" >&6
5442 # So? What about this header?
5443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5445 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5446 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5448 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5449 ac_header_preproc
=yes
5452 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5453 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5454 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5455 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5456 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5457 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5458 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5459 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5461 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5462 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5463 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5466 ## ------------------------------------------ ##
5467 ## Report this to the AC_PACKAGE_NAME lists. ##
5468 ## ------------------------------------------ ##
5471 sed "s/^/$as_me: WARNING: /" >&2
5474 echo "$as_me:$LINENO: checking for $ac_header" >&5
5475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5477 echo $ECHO_N "(cached) $ECHO_C" >&6
5479 eval "$as_ac_Header=\$ac_header_preproc"
5481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5486 cat >>confdefs.h
<<_ACEOF
5487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5495 echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5
5496 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6
5497 cat >conftest.
$ac_ext <<_ACEOF
5500 cat confdefs.h
>>conftest.
$ac_ext
5501 cat >>conftest.
$ac_ext <<_ACEOF
5502 /* end confdefs.h. */
5503 #include <sys/personality.h>
5507 personality (PER_LINUX32)
5512 rm -f conftest.
$ac_objext
5513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5514 (eval $ac_compile) 2>conftest.er1
5516 grep -v '^ *+' conftest.er1
>conftest.err
5518 cat conftest.err
>&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); } &&
5521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526 (exit $ac_status); }; } &&
5527 { ac_try
='test -s conftest.$ac_objext'
5528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532 (exit $ac_status); }; }; then
5533 emacs_cv_personality_linux32
=yes
5535 echo "$as_me: failed program was:" >&5
5536 sed 's/^/| /' conftest.
$ac_ext >&5
5538 emacs_cv_personality_linux32
=no
5540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5541 echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
5542 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6
5544 if test $emacs_cv_personality_linux32 = yes; then
5546 cat >>confdefs.h
<<\_ACEOF
5547 #define HAVE_PERSONALITY_LINUX32 1
5553 for ac_header
in term.h
5555 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5556 echo "$as_me:$LINENO: checking for $ac_header" >&5
5557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5559 echo $ECHO_N "(cached) $ECHO_C" >&6
5561 cat >conftest.
$ac_ext <<_ACEOF
5564 cat confdefs.h
>>conftest.
$ac_ext
5565 cat >>conftest.
$ac_ext <<_ACEOF
5566 /* end confdefs.h. */
5567 #include <$ac_header>
5569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5572 grep -v '^ *+' conftest.er1
>conftest.err
5574 cat conftest.err
>&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); } >/dev
/null
; then
5577 if test -s conftest.err
; then
5578 ac_cpp_err
=$ac_c_preproc_warn_flag
5579 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5586 if test -z "$ac_cpp_err"; then
5587 eval "$as_ac_Header=yes"
5589 echo "$as_me: failed program was:" >&5
5590 sed 's/^/| /' conftest.
$ac_ext >&5
5592 eval "$as_ac_Header=no"
5594 rm -f conftest.err conftest.
$ac_ext
5596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5598 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5599 cat >>confdefs.h
<<_ACEOF
5600 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5607 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5608 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5609 if test "${ac_cv_header_stdc+set}" = set; then
5610 echo $ECHO_N "(cached) $ECHO_C" >&6
5612 cat >conftest.
$ac_ext <<_ACEOF
5615 cat confdefs.h
>>conftest.
$ac_ext
5616 cat >>conftest.
$ac_ext <<_ACEOF
5617 /* end confdefs.h. */
5631 rm -f conftest.
$ac_objext
5632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5633 (eval $ac_compile) 2>conftest.er1
5635 grep -v '^ *+' conftest.er1
>conftest.err
5637 cat conftest.err
>&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } &&
5640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); }; } &&
5646 { ac_try
='test -s conftest.$ac_objext'
5647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; }; then
5652 ac_cv_header_stdc
=yes
5654 echo "$as_me: failed program was:" >&5
5655 sed 's/^/| /' conftest.
$ac_ext >&5
5657 ac_cv_header_stdc
=no
5659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5661 if test $ac_cv_header_stdc = yes; then
5662 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5663 cat >conftest.
$ac_ext <<_ACEOF
5666 cat confdefs.h
>>conftest.
$ac_ext
5667 cat >>conftest.
$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5673 $EGREP "memchr" >/dev
/null
2>&1; then
5676 ac_cv_header_stdc
=no
5682 if test $ac_cv_header_stdc = yes; then
5683 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5684 cat >conftest.
$ac_ext <<_ACEOF
5687 cat confdefs.h
>>conftest.
$ac_ext
5688 cat >>conftest.
$ac_ext <<_ACEOF
5689 /* end confdefs.h. */
5693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5694 $EGREP "free" >/dev
/null
2>&1; then
5697 ac_cv_header_stdc
=no
5703 if test $ac_cv_header_stdc = yes; then
5704 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5705 if test "$cross_compiling" = yes; then
5708 cat >conftest.
$ac_ext <<_ACEOF
5711 cat confdefs.h
>>conftest.
$ac_ext
5712 cat >>conftest.
$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5715 #if ((' ' & 0x0FF) == 0x020)
5716 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5717 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5719 # define ISLOWER(c) \
5720 (('a' <= (c) && (c) <= 'i') \
5721 || ('j' <= (c) && (c) <= 'r') \
5722 || ('s' <= (c) && (c) <= 'z'))
5723 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5726 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5731 for (i = 0; i < 256; i++)
5732 if (XOR (islower (i), ISLOWER (i))
5733 || toupper (i) != TOUPPER (i))
5738 rm -f conftest
$ac_exeext
5739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5740 (eval $ac_link) 2>&5
5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }; }; then
5751 echo "$as_me: program exited with status $ac_status" >&5
5752 echo "$as_me: failed program was:" >&5
5753 sed 's/^/| /' conftest.
$ac_ext >&5
5756 ac_cv_header_stdc
=no
5758 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5762 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5763 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5764 if test $ac_cv_header_stdc = yes; then
5766 cat >>confdefs.h
<<\_ACEOF
5767 #define STDC_HEADERS 1
5772 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5773 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5774 if test "${ac_cv_header_time+set}" = set; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5777 cat >conftest.
$ac_ext <<_ACEOF
5780 cat confdefs.h
>>conftest.
$ac_ext
5781 cat >>conftest.
$ac_ext <<_ACEOF
5782 /* end confdefs.h. */
5783 #include <sys/types.h>
5784 #include <sys/time.h>
5790 if ((struct tm *) 0)
5796 rm -f conftest.
$ac_objext
5797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5798 (eval $ac_compile) 2>conftest.er1
5800 grep -v '^ *+' conftest.er1
>conftest.err
5802 cat conftest.err
>&5
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); } &&
5805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 (exit $ac_status); }; } &&
5811 { ac_try
='test -s conftest.$ac_objext'
5812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 (exit $ac_status); }; }; then
5817 ac_cv_header_time
=yes
5819 echo "$as_me: failed program was:" >&5
5820 sed 's/^/| /' conftest.
$ac_ext >&5
5822 ac_cv_header_time
=no
5824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5826 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5827 echo "${ECHO_T}$ac_cv_header_time" >&6
5828 if test $ac_cv_header_time = yes; then
5830 cat >>confdefs.h
<<\_ACEOF
5831 #define TIME_WITH_SYS_TIME 1
5836 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
5837 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
5838 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 cat >conftest.
$ac_ext <<_ACEOF
5844 cat confdefs.h
>>conftest.
$ac_ext
5845 cat >>conftest.
$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5847 $ac_includes_default
5852 char *p = (char *) sys_siglist;
5859 rm -f conftest.
$ac_objext
5860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5861 (eval $ac_compile) 2>conftest.er1
5863 grep -v '^ *+' conftest.er1
>conftest.err
5865 cat conftest.err
>&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); } &&
5868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); }; } &&
5874 { ac_try
='test -s conftest.$ac_objext'
5875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); }; }; then
5880 ac_cv_have_decl_sys_siglist
=yes
5882 echo "$as_me: failed program was:" >&5
5883 sed 's/^/| /' conftest.
$ac_ext >&5
5885 ac_cv_have_decl_sys_siglist
=no
5887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5889 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
5890 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
5891 if test $ac_cv_have_decl_sys_siglist = yes; then
5893 cat >>confdefs.h
<<_ACEOF
5894 #define HAVE_DECL_SYS_SIGLIST 1
5899 cat >>confdefs.h
<<_ACEOF
5900 #define HAVE_DECL_SYS_SIGLIST 0
5907 if test $ac_cv_have_decl_sys_siglist != yes; then
5908 # For Tru64, at least:
5909 echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
5910 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6
5911 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
5912 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 cat >conftest.
$ac_ext <<_ACEOF
5917 cat confdefs.h
>>conftest.
$ac_ext
5918 cat >>conftest.
$ac_ext <<_ACEOF
5919 /* end confdefs.h. */
5920 $ac_includes_default
5924 #ifndef __sys_siglist
5925 char *p = (char *) __sys_siglist;
5932 rm -f conftest.
$ac_objext
5933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5934 (eval $ac_compile) 2>conftest.er1
5936 grep -v '^ *+' conftest.er1
>conftest.err
5938 cat conftest.err
>&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); } &&
5941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); }; } &&
5947 { ac_try
='test -s conftest.$ac_objext'
5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; }; then
5953 ac_cv_have_decl___sys_siglist
=yes
5955 echo "$as_me: failed program was:" >&5
5956 sed 's/^/| /' conftest.
$ac_ext >&5
5958 ac_cv_have_decl___sys_siglist
=no
5960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5962 echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
5963 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6
5964 if test $ac_cv_have_decl___sys_siglist = yes; then
5966 cat >>confdefs.h
<<_ACEOF
5967 #define HAVE_DECL___SYS_SIGLIST 1
5972 cat >>confdefs.h
<<_ACEOF
5973 #define HAVE_DECL___SYS_SIGLIST 0
5980 if test $ac_cv_have_decl___sys_siglist = yes; then
5982 cat >>confdefs.h
<<\_ACEOF
5983 #define sys_siglist __sys_siglist
5988 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5989 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5990 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5991 echo $ECHO_N "(cached) $ECHO_C" >&6
5993 cat >conftest.
$ac_ext <<_ACEOF
5996 cat confdefs.h
>>conftest.
$ac_ext
5997 cat >>conftest.
$ac_ext <<_ACEOF
5998 /* end confdefs.h. */
5999 #include <sys/types.h>
6000 #include <sys/wait.h>
6002 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
6005 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6013 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6018 rm -f conftest.
$ac_objext
6019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6020 (eval $ac_compile) 2>conftest.er1
6022 grep -v '^ *+' conftest.er1
>conftest.err
6024 cat conftest.err
>&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); } &&
6027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); }; } &&
6033 { ac_try
='test -s conftest.$ac_objext'
6034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); }; }; then
6039 ac_cv_header_sys_wait_h
=yes
6041 echo "$as_me: failed program was:" >&5
6042 sed 's/^/| /' conftest.
$ac_ext >&5
6044 ac_cv_header_sys_wait_h
=no
6046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6048 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6049 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
6050 if test $ac_cv_header_sys_wait_h = yes; then
6052 cat >>confdefs.h
<<\_ACEOF
6053 #define HAVE_SYS_WAIT_H 1
6059 echo "$as_me:$LINENO: checking for struct utimbuf" >&5
6060 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
6061 if test "${emacs_cv_struct_utimbuf+set}" = set; then
6062 echo $ECHO_N "(cached) $ECHO_C" >&6
6064 cat >conftest.
$ac_ext <<_ACEOF
6067 cat confdefs.h
>>conftest.
$ac_ext
6068 cat >>conftest.
$ac_ext <<_ACEOF
6069 /* end confdefs.h. */
6070 #ifdef TIME_WITH_SYS_TIME
6071 #include <sys/time.h>
6074 #ifdef HAVE_SYS_TIME_H
6075 #include <sys/time.h>
6086 static struct utimbuf x; x.actime = x.modtime;
6091 rm -f conftest.
$ac_objext
6092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6093 (eval $ac_compile) 2>conftest.er1
6095 grep -v '^ *+' conftest.er1
>conftest.err
6097 cat conftest.err
>&5
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); } &&
6100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); }; } &&
6106 { ac_try
='test -s conftest.$ac_objext'
6107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); }; }; then
6112 emacs_cv_struct_utimbuf
=yes
6114 echo "$as_me: failed program was:" >&5
6115 sed 's/^/| /' conftest.
$ac_ext >&5
6117 emacs_cv_struct_utimbuf
=no
6119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6121 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
6122 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
6123 if test $emacs_cv_struct_utimbuf = yes; then
6125 cat >>confdefs.h
<<\_ACEOF
6126 #define HAVE_STRUCT_UTIMBUF 1
6131 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6132 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6133 if test "${ac_cv_type_signal+set}" = set; then
6134 echo $ECHO_N "(cached) $ECHO_C" >&6
6136 cat >conftest.
$ac_ext <<_ACEOF
6139 cat confdefs.h
>>conftest.
$ac_ext
6140 cat >>conftest.
$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6142 #include <sys/types.h>
6148 extern "C" void (*signal (int, void (*)(int)))(int);
6150 void (*signal ()) ();
6161 rm -f conftest.
$ac_objext
6162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6163 (eval $ac_compile) 2>conftest.er1
6165 grep -v '^ *+' conftest.er1
>conftest.err
6167 cat conftest.err
>&5
6168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 (exit $ac_status); } &&
6170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); }; } &&
6176 { ac_try
='test -s conftest.$ac_objext'
6177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }; }; then
6182 ac_cv_type_signal
=void
6184 echo "$as_me: failed program was:" >&5
6185 sed 's/^/| /' conftest.
$ac_ext >&5
6187 ac_cv_type_signal
=int
6189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6191 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6192 echo "${ECHO_T}$ac_cv_type_signal" >&6
6194 cat >>confdefs.h
<<_ACEOF
6195 #define RETSIGTYPE $ac_cv_type_signal
6200 echo "$as_me:$LINENO: checking for speed_t" >&5
6201 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
6202 if test "${emacs_cv_speed_t+set}" = set; then
6203 echo $ECHO_N "(cached) $ECHO_C" >&6
6205 cat >conftest.
$ac_ext <<_ACEOF
6208 cat confdefs.h
>>conftest.
$ac_ext
6209 cat >>conftest.
$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6211 #include <termios.h>
6220 rm -f conftest.
$ac_objext
6221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6222 (eval $ac_compile) 2>conftest.er1
6224 grep -v '^ *+' conftest.er1
>conftest.err
6226 cat conftest.err
>&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); } &&
6229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234 (exit $ac_status); }; } &&
6235 { ac_try
='test -s conftest.$ac_objext'
6236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); }; }; then
6241 emacs_cv_speed_t
=yes
6243 echo "$as_me: failed program was:" >&5
6244 sed 's/^/| /' conftest.
$ac_ext >&5
6248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6250 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
6251 echo "${ECHO_T}$emacs_cv_speed_t" >&6
6252 if test $emacs_cv_speed_t = yes; then
6254 cat >>confdefs.h
<<\_ACEOF
6255 #define HAVE_SPEED_T 1
6260 echo "$as_me:$LINENO: checking for struct timeval" >&5
6261 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
6262 if test "${emacs_cv_struct_timeval+set}" = set; then
6263 echo $ECHO_N "(cached) $ECHO_C" >&6
6265 cat >conftest.
$ac_ext <<_ACEOF
6268 cat confdefs.h
>>conftest.
$ac_ext
6269 cat >>conftest.
$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6271 #ifdef TIME_WITH_SYS_TIME
6272 #include <sys/time.h>
6275 #ifdef HAVE_SYS_TIME_H
6276 #include <sys/time.h>
6284 static struct timeval x; x.tv_sec = x.tv_usec;
6289 rm -f conftest.
$ac_objext
6290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6291 (eval $ac_compile) 2>conftest.er1
6293 grep -v '^ *+' conftest.er1
>conftest.err
6295 cat conftest.err
>&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); } &&
6298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); }; } &&
6304 { ac_try
='test -s conftest.$ac_objext'
6305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); }; }; then
6310 emacs_cv_struct_timeval
=yes
6312 echo "$as_me: failed program was:" >&5
6313 sed 's/^/| /' conftest.
$ac_ext >&5
6315 emacs_cv_struct_timeval
=no
6317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6319 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
6320 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
6321 HAVE_TIMEVAL
=$emacs_cv_struct_timeval
6322 if test $emacs_cv_struct_timeval = yes; then
6324 cat >>confdefs.h
<<\_ACEOF
6325 #define HAVE_TIMEVAL 1
6330 echo "$as_me:$LINENO: checking for struct exception" >&5
6331 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
6332 if test "${emacs_cv_struct_exception+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6335 cat >conftest.
$ac_ext <<_ACEOF
6338 cat confdefs.h
>>conftest.
$ac_ext
6339 cat >>conftest.
$ac_ext <<_ACEOF
6340 /* end confdefs.h. */
6345 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
6350 rm -f conftest.
$ac_objext
6351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6352 (eval $ac_compile) 2>conftest.er1
6354 grep -v '^ *+' conftest.er1
>conftest.err
6356 cat conftest.err
>&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); } &&
6359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; } &&
6365 { ac_try
='test -s conftest.$ac_objext'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; }; then
6371 emacs_cv_struct_exception
=yes
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.
$ac_ext >&5
6376 emacs_cv_struct_exception
=no
6378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6380 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
6381 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
6382 HAVE_EXCEPTION
=$emacs_cv_struct_exception
6383 if test $emacs_cv_struct_exception != yes; then
6385 cat >>confdefs.h
<<\_ACEOF
6386 #define NO_MATHERR 1
6392 for ac_header
in sys
/socket.h
6394 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6396 echo "$as_me:$LINENO: checking for $ac_header" >&5
6397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6399 echo $ECHO_N "(cached) $ECHO_C" >&6
6401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6404 # Is the header compilable?
6405 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6407 cat >conftest.
$ac_ext <<_ACEOF
6410 cat confdefs.h
>>conftest.
$ac_ext
6411 cat >>conftest.
$ac_ext <<_ACEOF
6412 /* end confdefs.h. */
6413 $ac_includes_default
6414 #include <$ac_header>
6416 rm -f conftest.
$ac_objext
6417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6418 (eval $ac_compile) 2>conftest.er1
6420 grep -v '^ *+' conftest.er1
>conftest.err
6422 cat conftest.err
>&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); } &&
6425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; } &&
6431 { ac_try
='test -s conftest.$ac_objext'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; }; then
6437 ac_header_compiler
=yes
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.
$ac_ext >&5
6442 ac_header_compiler
=no
6444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6446 echo "${ECHO_T}$ac_header_compiler" >&6
6448 # Is the header present?
6449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6451 cat >conftest.
$ac_ext <<_ACEOF
6454 cat confdefs.h
>>conftest.
$ac_ext
6455 cat >>conftest.
$ac_ext <<_ACEOF
6456 /* end confdefs.h. */
6457 #include <$ac_header>
6459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6462 grep -v '^ *+' conftest.er1
>conftest.err
6464 cat conftest.err
>&5
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); } >/dev
/null
; then
6467 if test -s conftest.err
; then
6468 ac_cpp_err
=$ac_c_preproc_warn_flag
6469 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6476 if test -z "$ac_cpp_err"; then
6477 ac_header_preproc
=yes
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.
$ac_ext >&5
6482 ac_header_preproc
=no
6484 rm -f conftest.err conftest.
$ac_ext
6485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6486 echo "${ECHO_T}$ac_header_preproc" >&6
6488 # So? What about this header?
6489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6495 ac_header_preproc
=yes
6498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6512 ## ------------------------------------------ ##
6513 ## Report this to the AC_PACKAGE_NAME lists. ##
6514 ## ------------------------------------------ ##
6517 sed "s/^/$as_me: WARNING: /" >&2
6520 echo "$as_me:$LINENO: checking for $ac_header" >&5
6521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6525 eval "$as_ac_Header=\$ac_header_preproc"
6527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6532 cat >>confdefs.h
<<_ACEOF
6533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6541 for ac_header
in net
/if.h
6543 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6544 echo "$as_me:$LINENO: checking for $ac_header" >&5
6545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6547 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 cat >conftest.
$ac_ext <<_ACEOF
6552 cat confdefs.h
>>conftest.
$ac_ext
6553 cat >>conftest.
$ac_ext <<_ACEOF
6554 /* end confdefs.h. */
6555 $ac_includes_default
6556 #if HAVE_SYS_SOCKET_H
6557 #include <sys/socket.h>
6560 #include <$ac_header>
6562 rm -f conftest.
$ac_objext
6563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6564 (eval $ac_compile) 2>conftest.er1
6566 grep -v '^ *+' conftest.er1
>conftest.err
6568 cat conftest.err
>&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); } &&
6571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); }; } &&
6577 { ac_try
='test -s conftest.$ac_objext'
6578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); }; }; then
6583 eval "$as_ac_Header=yes"
6585 echo "$as_me: failed program was:" >&5
6586 sed 's/^/| /' conftest.
$ac_ext >&5
6588 eval "$as_ac_Header=no"
6590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6595 cat >>confdefs.h
<<_ACEOF
6596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6604 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6605 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6606 if test "${ac_cv_struct_tm+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6
6609 cat >conftest.
$ac_ext <<_ACEOF
6612 cat confdefs.h
>>conftest.
$ac_ext
6613 cat >>conftest.
$ac_ext <<_ACEOF
6614 /* end confdefs.h. */
6615 #include <sys/types.h>
6621 struct tm *tp; tp->tm_sec;
6626 rm -f conftest.
$ac_objext
6627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6628 (eval $ac_compile) 2>conftest.er1
6630 grep -v '^ *+' conftest.er1
>conftest.err
6632 cat conftest.err
>&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } &&
6635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; } &&
6641 { ac_try
='test -s conftest.$ac_objext'
6642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); }; }; then
6647 ac_cv_struct_tm
=time.h
6649 echo "$as_me: failed program was:" >&5
6650 sed 's/^/| /' conftest.
$ac_ext >&5
6652 ac_cv_struct_tm
=sys
/time.h
6654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6656 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6657 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6658 if test $ac_cv_struct_tm = sys
/time.h
; then
6660 cat >>confdefs.h
<<\_ACEOF
6661 #define TM_IN_SYS_TIME 1
6666 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6667 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
6668 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6669 echo $ECHO_N "(cached) $ECHO_C" >&6
6671 cat >conftest.
$ac_ext <<_ACEOF
6674 cat confdefs.h
>>conftest.
$ac_ext
6675 cat >>conftest.
$ac_ext <<_ACEOF
6676 /* end confdefs.h. */
6677 #include <sys/types.h>
6678 #include <$ac_cv_struct_tm>
6684 static struct tm ac_aggr;
6685 if (ac_aggr.tm_zone)
6691 rm -f conftest.
$ac_objext
6692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6693 (eval $ac_compile) 2>conftest.er1
6695 grep -v '^ *+' conftest.er1
>conftest.err
6697 cat conftest.err
>&5
6698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); } &&
6700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); }; } &&
6706 { ac_try
='test -s conftest.$ac_objext'
6707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); }; }; then
6712 ac_cv_member_struct_tm_tm_zone
=yes
6714 echo "$as_me: failed program was:" >&5
6715 sed 's/^/| /' conftest.
$ac_ext >&5
6717 cat >conftest.
$ac_ext <<_ACEOF
6720 cat confdefs.h
>>conftest.
$ac_ext
6721 cat >>conftest.
$ac_ext <<_ACEOF
6722 /* end confdefs.h. */
6723 #include <sys/types.h>
6724 #include <$ac_cv_struct_tm>
6730 static struct tm ac_aggr;
6731 if (sizeof ac_aggr.tm_zone)
6737 rm -f conftest.
$ac_objext
6738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6739 (eval $ac_compile) 2>conftest.er1
6741 grep -v '^ *+' conftest.er1
>conftest.err
6743 cat conftest.err
>&5
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); } &&
6746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); }; } &&
6752 { ac_try
='test -s conftest.$ac_objext'
6753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); }; }; then
6758 ac_cv_member_struct_tm_tm_zone
=yes
6760 echo "$as_me: failed program was:" >&5
6761 sed 's/^/| /' conftest.
$ac_ext >&5
6763 ac_cv_member_struct_tm_tm_zone
=no
6765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6769 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6770 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
6771 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6773 cat >>confdefs.h
<<_ACEOF
6774 #define HAVE_STRUCT_TM_TM_ZONE 1
6780 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6782 cat >>confdefs.h
<<\_ACEOF
6783 #define HAVE_TM_ZONE 1
6787 echo "$as_me:$LINENO: checking for tzname" >&5
6788 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6789 if test "${ac_cv_var_tzname+set}" = set; then
6790 echo $ECHO_N "(cached) $ECHO_C" >&6
6792 cat >conftest.
$ac_ext <<_ACEOF
6795 cat confdefs.h
>>conftest.
$ac_ext
6796 cat >>conftest.
$ac_ext <<_ACEOF
6797 /* end confdefs.h. */
6799 #ifndef tzname /* For SGI. */
6800 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6811 rm -f conftest.
$ac_objext conftest
$ac_exeext
6812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6813 (eval $ac_link) 2>conftest.er1
6815 grep -v '^ *+' conftest.er1
>conftest.err
6817 cat conftest.err
>&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); } &&
6820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; } &&
6826 { ac_try
='test -s conftest$ac_exeext'
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; }; then
6832 ac_cv_var_tzname
=yes
6834 echo "$as_me: failed program was:" >&5
6835 sed 's/^/| /' conftest.
$ac_ext >&5
6839 rm -f conftest.err conftest.
$ac_objext \
6840 conftest
$ac_exeext conftest.
$ac_ext
6842 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6843 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6844 if test $ac_cv_var_tzname = yes; then
6846 cat >>confdefs.h
<<\_ACEOF
6847 #define HAVE_TZNAME 1
6853 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
6854 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
6855 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
6856 echo $ECHO_N "(cached) $ECHO_C" >&6
6858 cat >conftest.
$ac_ext <<_ACEOF
6861 cat confdefs.h
>>conftest.
$ac_ext
6862 cat >>conftest.
$ac_ext <<_ACEOF
6863 /* end confdefs.h. */
6869 static struct tm ac_aggr;
6870 if (ac_aggr.tm_gmtoff)
6876 rm -f conftest.
$ac_objext
6877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6878 (eval $ac_compile) 2>conftest.er1
6880 grep -v '^ *+' conftest.er1
>conftest.err
6882 cat conftest.err
>&5
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); } &&
6885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); }; } &&
6891 { ac_try
='test -s conftest.$ac_objext'
6892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; }; then
6897 ac_cv_member_struct_tm_tm_gmtoff
=yes
6899 echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.
$ac_ext >&5
6902 cat >conftest.
$ac_ext <<_ACEOF
6905 cat confdefs.h
>>conftest.
$ac_ext
6906 cat >>conftest.
$ac_ext <<_ACEOF
6907 /* end confdefs.h. */
6913 static struct tm ac_aggr;
6914 if (sizeof ac_aggr.tm_gmtoff)
6920 rm -f conftest.
$ac_objext
6921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6922 (eval $ac_compile) 2>conftest.er1
6924 grep -v '^ *+' conftest.er1
>conftest.err
6926 cat conftest.err
>&5
6927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928 (exit $ac_status); } &&
6929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); }; } &&
6935 { ac_try
='test -s conftest.$ac_objext'
6936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); }; }; then
6941 ac_cv_member_struct_tm_tm_gmtoff
=yes
6943 echo "$as_me: failed program was:" >&5
6944 sed 's/^/| /' conftest.
$ac_ext >&5
6946 ac_cv_member_struct_tm_tm_gmtoff
=no
6948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6952 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
6953 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
6954 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
6956 cat >>confdefs.h
<<\_ACEOF
6957 #define HAVE_TM_GMTOFF 1
6962 echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
6963 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6
6964 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 cat >conftest.
$ac_ext <<_ACEOF
6970 cat confdefs.h
>>conftest.
$ac_ext
6971 cat >>conftest.
$ac_ext <<_ACEOF
6972 /* end confdefs.h. */
6973 $ac_includes_default
6974 #if HAVE_SYS_SOCKET_H
6975 #include <sys/socket.h>
6984 static struct ifreq ac_aggr;
6985 if (ac_aggr.ifr_flags)
6991 rm -f conftest.
$ac_objext
6992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6993 (eval $ac_compile) 2>conftest.er1
6995 grep -v '^ *+' conftest.er1
>conftest.err
6997 cat conftest.err
>&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); } &&
7000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005 (exit $ac_status); }; } &&
7006 { ac_try
='test -s conftest.$ac_objext'
7007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); }; }; then
7012 ac_cv_member_struct_ifreq_ifr_flags
=yes
7014 echo "$as_me: failed program was:" >&5
7015 sed 's/^/| /' conftest.
$ac_ext >&5
7017 cat >conftest.
$ac_ext <<_ACEOF
7020 cat confdefs.h
>>conftest.
$ac_ext
7021 cat >>conftest.
$ac_ext <<_ACEOF
7022 /* end confdefs.h. */
7023 $ac_includes_default
7024 #if HAVE_SYS_SOCKET_H
7025 #include <sys/socket.h>
7034 static struct ifreq ac_aggr;
7035 if (sizeof ac_aggr.ifr_flags)
7041 rm -f conftest.
$ac_objext
7042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7043 (eval $ac_compile) 2>conftest.er1
7045 grep -v '^ *+' conftest.er1
>conftest.err
7047 cat conftest.err
>&5
7048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049 (exit $ac_status); } &&
7050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); }; } &&
7056 { ac_try
='test -s conftest.$ac_objext'
7057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); }; }; then
7062 ac_cv_member_struct_ifreq_ifr_flags
=yes
7064 echo "$as_me: failed program was:" >&5
7065 sed 's/^/| /' conftest.
$ac_ext >&5
7067 ac_cv_member_struct_ifreq_ifr_flags
=no
7069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7073 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
7074 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6
7075 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
7077 cat >>confdefs.h
<<_ACEOF
7078 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
7083 echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
7084 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6
7085 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
7086 echo $ECHO_N "(cached) $ECHO_C" >&6
7088 cat >conftest.
$ac_ext <<_ACEOF
7091 cat confdefs.h
>>conftest.
$ac_ext
7092 cat >>conftest.
$ac_ext <<_ACEOF
7093 /* end confdefs.h. */
7094 $ac_includes_default
7095 #if HAVE_SYS_SOCKET_H
7096 #include <sys/socket.h>
7105 static struct ifreq ac_aggr;
7106 if (ac_aggr.ifr_hwaddr)
7112 rm -f conftest.
$ac_objext
7113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7114 (eval $ac_compile) 2>conftest.er1
7116 grep -v '^ *+' conftest.er1
>conftest.err
7118 cat conftest.err
>&5
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); } &&
7121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 (exit $ac_status); }; } &&
7127 { ac_try
='test -s conftest.$ac_objext'
7128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 (exit $ac_status); }; }; then
7133 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7135 echo "$as_me: failed program was:" >&5
7136 sed 's/^/| /' conftest.
$ac_ext >&5
7138 cat >conftest.
$ac_ext <<_ACEOF
7141 cat confdefs.h
>>conftest.
$ac_ext
7142 cat >>conftest.
$ac_ext <<_ACEOF
7143 /* end confdefs.h. */
7144 $ac_includes_default
7145 #if HAVE_SYS_SOCKET_H
7146 #include <sys/socket.h>
7155 static struct ifreq ac_aggr;
7156 if (sizeof ac_aggr.ifr_hwaddr)
7162 rm -f conftest.
$ac_objext
7163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7164 (eval $ac_compile) 2>conftest.er1
7166 grep -v '^ *+' conftest.er1
>conftest.err
7168 cat conftest.err
>&5
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); } &&
7171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }; } &&
7177 { ac_try
='test -s conftest.$ac_objext'
7178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); }; }; then
7183 ac_cv_member_struct_ifreq_ifr_hwaddr
=yes
7185 echo "$as_me: failed program was:" >&5
7186 sed 's/^/| /' conftest.
$ac_ext >&5
7188 ac_cv_member_struct_ifreq_ifr_hwaddr
=no
7190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7194 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
7195 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6
7196 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
7198 cat >>confdefs.h
<<_ACEOF
7199 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
7204 echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
7205 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6
7206 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7209 cat >conftest.
$ac_ext <<_ACEOF
7212 cat confdefs.h
>>conftest.
$ac_ext
7213 cat >>conftest.
$ac_ext <<_ACEOF
7214 /* end confdefs.h. */
7215 $ac_includes_default
7216 #if HAVE_SYS_SOCKET_H
7217 #include <sys/socket.h>
7226 static struct ifreq ac_aggr;
7227 if (ac_aggr.ifr_netmask)
7233 rm -f conftest.
$ac_objext
7234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7235 (eval $ac_compile) 2>conftest.er1
7237 grep -v '^ *+' conftest.er1
>conftest.err
7239 cat conftest.err
>&5
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); } &&
7242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); }; } &&
7248 { ac_try
='test -s conftest.$ac_objext'
7249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); }; }; then
7254 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7256 echo "$as_me: failed program was:" >&5
7257 sed 's/^/| /' conftest.
$ac_ext >&5
7259 cat >conftest.
$ac_ext <<_ACEOF
7262 cat confdefs.h
>>conftest.
$ac_ext
7263 cat >>conftest.
$ac_ext <<_ACEOF
7264 /* end confdefs.h. */
7265 $ac_includes_default
7266 #if HAVE_SYS_SOCKET_H
7267 #include <sys/socket.h>
7276 static struct ifreq ac_aggr;
7277 if (sizeof ac_aggr.ifr_netmask)
7283 rm -f conftest.
$ac_objext
7284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7285 (eval $ac_compile) 2>conftest.er1
7287 grep -v '^ *+' conftest.er1
>conftest.err
7289 cat conftest.err
>&5
7290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); } &&
7292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); }; } &&
7298 { ac_try
='test -s conftest.$ac_objext'
7299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); }; }; then
7304 ac_cv_member_struct_ifreq_ifr_netmask
=yes
7306 echo "$as_me: failed program was:" >&5
7307 sed 's/^/| /' conftest.
$ac_ext >&5
7309 ac_cv_member_struct_ifreq_ifr_netmask
=no
7311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7315 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
7316 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6
7317 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
7319 cat >>confdefs.h
<<_ACEOF
7320 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
7325 echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
7326 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6
7327 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
7328 echo $ECHO_N "(cached) $ECHO_C" >&6
7330 cat >conftest.
$ac_ext <<_ACEOF
7333 cat confdefs.h
>>conftest.
$ac_ext
7334 cat >>conftest.
$ac_ext <<_ACEOF
7335 /* end confdefs.h. */
7336 $ac_includes_default
7337 #if HAVE_SYS_SOCKET_H
7338 #include <sys/socket.h>
7347 static struct ifreq ac_aggr;
7348 if (ac_aggr.ifr_broadaddr)
7354 rm -f conftest.
$ac_objext
7355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7356 (eval $ac_compile) 2>conftest.er1
7358 grep -v '^ *+' conftest.er1
>conftest.err
7360 cat conftest.err
>&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } &&
7363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); }; } &&
7369 { ac_try
='test -s conftest.$ac_objext'
7370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374 (exit $ac_status); }; }; then
7375 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7377 echo "$as_me: failed program was:" >&5
7378 sed 's/^/| /' conftest.
$ac_ext >&5
7380 cat >conftest.
$ac_ext <<_ACEOF
7383 cat confdefs.h
>>conftest.
$ac_ext
7384 cat >>conftest.
$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7386 $ac_includes_default
7387 #if HAVE_SYS_SOCKET_H
7388 #include <sys/socket.h>
7397 static struct ifreq ac_aggr;
7398 if (sizeof ac_aggr.ifr_broadaddr)
7404 rm -f conftest.
$ac_objext
7405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7406 (eval $ac_compile) 2>conftest.er1
7408 grep -v '^ *+' conftest.er1
>conftest.err
7410 cat conftest.err
>&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); } &&
7413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); }; } &&
7419 { ac_try
='test -s conftest.$ac_objext'
7420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); }; }; then
7425 ac_cv_member_struct_ifreq_ifr_broadaddr
=yes
7427 echo "$as_me: failed program was:" >&5
7428 sed 's/^/| /' conftest.
$ac_ext >&5
7430 ac_cv_member_struct_ifreq_ifr_broadaddr
=no
7432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7436 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
7437 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6
7438 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
7440 cat >>confdefs.h
<<_ACEOF
7441 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
7446 echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
7447 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6
7448 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
7449 echo $ECHO_N "(cached) $ECHO_C" >&6
7451 cat >conftest.
$ac_ext <<_ACEOF
7454 cat confdefs.h
>>conftest.
$ac_ext
7455 cat >>conftest.
$ac_ext <<_ACEOF
7456 /* end confdefs.h. */
7457 $ac_includes_default
7458 #if HAVE_SYS_SOCKET_H
7459 #include <sys/socket.h>
7468 static struct ifreq ac_aggr;
7469 if (ac_aggr.ifr_addr)
7475 rm -f conftest.
$ac_objext
7476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7477 (eval $ac_compile) 2>conftest.er1
7479 grep -v '^ *+' conftest.er1
>conftest.err
7481 cat conftest.err
>&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); } &&
7484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; } &&
7490 { ac_try
='test -s conftest.$ac_objext'
7491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); }; }; then
7496 ac_cv_member_struct_ifreq_ifr_addr
=yes
7498 echo "$as_me: failed program was:" >&5
7499 sed 's/^/| /' conftest.
$ac_ext >&5
7501 cat >conftest.
$ac_ext <<_ACEOF
7504 cat confdefs.h
>>conftest.
$ac_ext
7505 cat >>conftest.
$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 $ac_includes_default
7508 #if HAVE_SYS_SOCKET_H
7509 #include <sys/socket.h>
7518 static struct ifreq ac_aggr;
7519 if (sizeof ac_aggr.ifr_addr)
7525 rm -f conftest.
$ac_objext
7526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7527 (eval $ac_compile) 2>conftest.er1
7529 grep -v '^ *+' conftest.er1
>conftest.err
7531 cat conftest.err
>&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } &&
7534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); }; } &&
7540 { ac_try
='test -s conftest.$ac_objext'
7541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545 (exit $ac_status); }; }; then
7546 ac_cv_member_struct_ifreq_ifr_addr
=yes
7548 echo "$as_me: failed program was:" >&5
7549 sed 's/^/| /' conftest.
$ac_ext >&5
7551 ac_cv_member_struct_ifreq_ifr_addr
=no
7553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7557 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
7558 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6
7559 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
7561 cat >>confdefs.h
<<_ACEOF
7562 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
7570 echo "$as_me:$LINENO: checking for function prototypes" >&5
7571 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
7572 if test "$ac_cv_prog_cc_stdc" != no
; then
7573 echo "$as_me:$LINENO: result: yes" >&5
7574 echo "${ECHO_T}yes" >&6
7576 cat >>confdefs.h
<<\_ACEOF
7577 #define PROTOTYPES 1
7581 cat >>confdefs.h
<<\_ACEOF
7582 #define __PROTOTYPES 1
7586 echo "$as_me:$LINENO: result: no" >&5
7587 echo "${ECHO_T}no" >&6
7590 echo "$as_me:$LINENO: checking for working volatile" >&5
7591 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
7592 if test "${ac_cv_c_volatile+set}" = set; then
7593 echo $ECHO_N "(cached) $ECHO_C" >&6
7595 cat >conftest.
$ac_ext <<_ACEOF
7598 cat confdefs.h
>>conftest.
$ac_ext
7599 cat >>conftest.
$ac_ext <<_ACEOF
7600 /* end confdefs.h. */
7612 rm -f conftest.
$ac_objext
7613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7614 (eval $ac_compile) 2>conftest.er1
7616 grep -v '^ *+' conftest.er1
>conftest.err
7618 cat conftest.err
>&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); } &&
7621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); }; } &&
7627 { ac_try
='test -s conftest.$ac_objext'
7628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); }; }; then
7633 ac_cv_c_volatile
=yes
7635 echo "$as_me: failed program was:" >&5
7636 sed 's/^/| /' conftest.
$ac_ext >&5
7640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7642 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
7643 echo "${ECHO_T}$ac_cv_c_volatile" >&6
7644 if test $ac_cv_c_volatile = no
; then
7646 cat >>confdefs.h
<<\_ACEOF
7652 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7653 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7654 if test "${ac_cv_c_const+set}" = set; then
7655 echo $ECHO_N "(cached) $ECHO_C" >&6
7657 cat >conftest.
$ac_ext <<_ACEOF
7660 cat confdefs.h
>>conftest.
$ac_ext
7661 cat >>conftest.
$ac_ext <<_ACEOF
7662 /* end confdefs.h. */
7667 /* FIXME: Include the comments suggested by Paul. */
7669 /* Ultrix mips cc rejects this. */
7670 typedef int charset[2];
7672 /* SunOS 4.1.1 cc rejects this. */
7673 char const *const *ccp;
7675 /* NEC SVR4.0.2 mips cc rejects this. */
7676 struct point {int x, y;};
7677 static struct point const zero = {0,0};
7678 /* AIX XL C 1.02.0.0 rejects this.
7679 It does not let you subtract one const X* pointer from another in
7680 an arm of an if-expression whose if-part is not a constant
7682 const char *g = "string";
7683 ccp = &g + (g ? g-g : 0);
7684 /* HPUX 7.0 cc rejects these. */
7687 ccp = (char const *const *) p;
7688 { /* SCO 3.2v4 cc rejects this. */
7690 char const *s = 0 ? (char *) 0 : (char const *) 0;
7694 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7696 const int *foo = &x[0];
7699 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7700 typedef const int *iptr;
7704 { /* AIX XL C 1.02.0.0 rejects this saying
7705 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7706 struct s { int j; const int *ap[3]; };
7707 struct s *b; b->j = 5;
7709 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7718 rm -f conftest.
$ac_objext
7719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7720 (eval $ac_compile) 2>conftest.er1
7722 grep -v '^ *+' conftest.er1
>conftest.err
7724 cat conftest.err
>&5
7725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); } &&
7727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); }; } &&
7733 { ac_try
='test -s conftest.$ac_objext'
7734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); }; }; then
7741 echo "$as_me: failed program was:" >&5
7742 sed 's/^/| /' conftest.
$ac_ext >&5
7746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7748 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7749 echo "${ECHO_T}$ac_cv_c_const" >&6
7750 if test $ac_cv_c_const = no
; then
7752 cat >>confdefs.h
<<\_ACEOF
7758 echo "$as_me:$LINENO: checking for void * support" >&5
7759 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
7760 if test "${emacs_cv_void_star+set}" = set; then
7761 echo $ECHO_N "(cached) $ECHO_C" >&6
7763 cat >conftest.
$ac_ext <<_ACEOF
7766 cat confdefs.h
>>conftest.
$ac_ext
7767 cat >>conftest.
$ac_ext <<_ACEOF
7768 /* end confdefs.h. */
7778 rm -f conftest.
$ac_objext
7779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7780 (eval $ac_compile) 2>conftest.er1
7782 grep -v '^ *+' conftest.er1
>conftest.err
7784 cat conftest.err
>&5
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); } &&
7787 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); }; } &&
7793 { ac_try
='test -s conftest.$ac_objext'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; }; then
7799 emacs_cv_void_star
=yes
7801 echo "$as_me: failed program was:" >&5
7802 sed 's/^/| /' conftest.
$ac_ext >&5
7804 emacs_cv_void_star
=no
7806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7808 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
7809 echo "${ECHO_T}$emacs_cv_void_star" >&6
7810 if test $emacs_cv_void_star = yes; then
7811 cat >>confdefs.h
<<\_ACEOF
7812 #define POINTER_TYPE void
7816 cat >>confdefs.h
<<\_ACEOF
7817 #define POINTER_TYPE char
7826 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7827 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7828 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
7829 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7830 echo $ECHO_N "(cached) $ECHO_C" >&6
7832 cat >conftest.
make <<\_ACEOF
7834 @
echo 'ac_maketemp="$(MAKE)"'
7836 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7837 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7838 if test -n "$ac_maketemp"; then
7839 eval ac_cv_prog_make_
${ac_make}_set
=yes
7841 eval ac_cv_prog_make_
${ac_make}_set
=no
7845 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7846 echo "$as_me:$LINENO: result: yes" >&5
7847 echo "${ECHO_T}yes" >&6
7850 echo "$as_me:$LINENO: result: no" >&5
7851 echo "${ECHO_T}no" >&6
7852 SET_MAKE
="MAKE=${MAKE-make}"
7856 echo "$as_me:$LINENO: checking for long file names" >&5
7857 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
7858 if test "${ac_cv_sys_long_file_names+set}" = set; then
7859 echo $ECHO_N "(cached) $ECHO_C" >&6
7861 ac_cv_sys_long_file_names
=yes
7862 # Test for long file names in all the places we know might matter:
7863 # . the current directory, where building will happen
7864 # $prefix/lib where we will be installing things
7865 # $exec_prefix/lib likewise
7866 # eval it to expand exec_prefix.
7867 # $TMPDIR if set, where it might want to write temporary files
7868 # if $TMPDIR is not set:
7869 # /tmp where it might want to write temporary files
7872 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
7875 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
7877 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
7878 test -d $ac_dir ||
continue
7879 test -w $ac_dir ||
continue # It is less confusing to not echo anything here.
7880 ac_xdir
=$ac_dir/cf$$
7881 (umask 077 && mkdir
$ac_xdir 2>/dev
/null
) ||
continue
7882 ac_tf1
=$ac_xdir/conftest9012345
7883 ac_tf2
=$ac_xdir/conftest9012346
7884 (echo 1 >$ac_tf1) 2>/dev
/null
7885 (echo 2 >$ac_tf2) 2>/dev
/null
7886 ac_val
=`cat $ac_tf1 2>/dev/null`
7887 if test ! -f $ac_tf1 ||
test "$ac_val" != 1; then
7888 ac_cv_sys_long_file_names
=no
7889 rm -rf $ac_xdir 2>/dev
/null
7892 rm -rf $ac_xdir 2>/dev
/null
7895 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
7896 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
7897 if test $ac_cv_sys_long_file_names = yes; then
7899 cat >>confdefs.h
<<\_ACEOF
7900 #define HAVE_LONG_FILE_NAMES 1
7906 #### Choose a window system.
7908 echo "$as_me:$LINENO: checking for X" >&5
7909 echo $ECHO_N "checking for X... $ECHO_C" >&6
7911 ac_path_x_has_been_run
=yes
7913 # Check whether --with-x or --without-x was given.
7914 if test "${with_x+set}" = set; then
7918 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7919 if test "x$with_x" = xno
; then
7920 # The user explicitly disabled X.
7923 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7924 # Both variables are already set.
7927 if test "${ac_cv_have_x+set}" = set; then
7928 echo $ECHO_N "(cached) $ECHO_C" >&6
7930 # One or both of the vars are not set, and there is no cached value.
7931 ac_x_includes
=no ac_x_libraries
=no
7933 if mkdir conftest.dir
; then
7935 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7936 cat >Imakefile
<<'_ACEOF'
7938 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7940 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7941 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7942 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7943 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7944 for ac_extension
in a so sl
; do
7945 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7946 test -f $ac_im_libdir/libX11.
$ac_extension; then
7947 ac_im_usrlibdir
=$ac_im_libdir; break
7950 # Screen out bogus values from the imake configuration. They are
7951 # bogus both because they are the default anyway, and because
7952 # using them would break gcc on systems where it needs fixed includes.
7953 case $ac_im_incroot in
7955 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7957 case $ac_im_usrlibdir in
7959 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7966 # Standard set of common directories for X headers.
7967 # Check X11 before X11Rn because it is often a symlink to the current release.
7979 /usr/local/X11/include
7980 /usr/local/X11R6/include
7981 /usr/local/X11R5/include
7982 /usr/local/X11R4/include
7984 /usr/local/include/X11
7985 /usr/local/include/X11R6
7986 /usr/local/include/X11R5
7987 /usr/local/include/X11R4
7991 /usr/XFree86/include/X11
7995 /usr/unsupported/include
7997 /usr/local/x11r5/include
7998 /usr/lpp/Xamples/include
8000 /usr/openwin/include
8001 /usr/openwin/share/include'
8003 if test "$ac_x_includes" = no
; then
8004 # Guess where to find include files, by looking for a specified header file.
8005 # First, try using that file with no special directory specified.
8006 cat >conftest.
$ac_ext <<_ACEOF
8009 cat confdefs.h
>>conftest.
$ac_ext
8010 cat >>conftest.
$ac_ext <<_ACEOF
8011 /* end confdefs.h. */
8012 #include <X11/Xlib.h>
8014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8015 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8017 grep -v '^ *+' conftest.er1
>conftest.err
8019 cat conftest.err
>&5
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); } >/dev
/null
; then
8022 if test -s conftest.err
; then
8023 ac_cpp_err
=$ac_c_preproc_warn_flag
8024 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8031 if test -z "$ac_cpp_err"; then
8032 # We can compile using X headers with no special include directory.
8035 echo "$as_me: failed program was:" >&5
8036 sed 's/^/| /' conftest.
$ac_ext >&5
8038 for ac_dir
in $ac_x_header_dirs; do
8039 if test -r "$ac_dir/X11/Xlib.h"; then
8040 ac_x_includes
=$ac_dir
8045 rm -f conftest.err conftest.
$ac_ext
8046 fi # $ac_x_includes = no
8048 if test "$ac_x_libraries" = no
; then
8049 # Check for the libraries.
8050 # See if we find them without any special options.
8051 # Don't add to $LIBS permanently.
8054 cat >conftest.
$ac_ext <<_ACEOF
8057 cat confdefs.h
>>conftest.
$ac_ext
8058 cat >>conftest.
$ac_ext <<_ACEOF
8059 /* end confdefs.h. */
8060 #include <X11/Xlib.h>
8069 rm -f conftest.
$ac_objext conftest
$ac_exeext
8070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8071 (eval $ac_link) 2>conftest.er1
8073 grep -v '^ *+' conftest.er1
>conftest.err
8075 cat conftest.err
>&5
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); } &&
8078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083 (exit $ac_status); }; } &&
8084 { ac_try
='test -s conftest$ac_exeext'
8085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); }; }; then
8091 # We can link X programs with no special library path.
8094 echo "$as_me: failed program was:" >&5
8095 sed 's/^/| /' conftest.
$ac_ext >&5
8098 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8100 # Don't even attempt the hair of trying to link an X program!
8101 for ac_extension
in a so sl
; do
8102 if test -r $ac_dir/libX11.
$ac_extension; then
8103 ac_x_libraries
=$ac_dir
8109 rm -f conftest.err conftest.
$ac_objext \
8110 conftest
$ac_exeext conftest.
$ac_ext
8111 fi # $ac_x_libraries = no
8113 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
8114 # Didn't find X anywhere. Cache the known absence of X.
8115 ac_cv_have_x
="have_x=no"
8117 # Record where we found X for the cache.
8118 ac_cv_have_x
="have_x=yes \
8119 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8124 eval "$ac_cv_have_x"
8127 if test "$have_x" != yes; then
8128 echo "$as_me:$LINENO: result: $have_x" >&5
8129 echo "${ECHO_T}$have_x" >&6
8132 # If each of the values was on the command line, it overrides each guess.
8133 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8134 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8135 # Update the cache value to reflect the command line values.
8136 ac_cv_have_x
="have_x=yes \
8137 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8138 # It might be that x_includes is empty (headers are found in the
8139 # standard search path. Then output the corresponding message
8140 ac_out_x_includes
=$x_includes
8141 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
8142 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
8143 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
8146 if test "$no_x" = yes; then
8152 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
8153 LD_SWITCH_X_SITE
=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
8154 LD_SWITCH_X_SITE_AUX
=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
8155 x_default_search_path
=""
8156 for x_library
in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
8158 ${x_library}/X11/%L/%T/%N%C%S:\
8159 ${x_library}/X11/%l/%T/%N%C%S:\
8160 ${x_library}/X11/%T/%N%C%S:\
8161 ${x_library}/X11/%L/%T/%N%S:\
8162 ${x_library}/X11/%l/%T/%N%S:\
8163 ${x_library}/X11/%T/%N%S"
8164 if test x
"${x_default_search_path}" = x
; then
8165 x_default_search_path
=${x_search_path}
8167 x_default_search_path
="${x_search_path}:${x_default_search_path}"
8171 if test "${x_includes}" != NONE
&& test -n "${x_includes}"; then
8172 C_SWITCH_X_SITE
=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
8175 if test x
"${x_includes}" = x
; then
8176 bitmapdir
=/usr
/include
/X11
/bitmaps
8178 # accumulate include directories that have X11 bitmap subdirectories
8180 for bmd
in `echo ${x_includes} | sed -e "s/:/ /g"`; do
8181 if test -d "${bmd}/X11/bitmaps"; then
8182 bmd_acc
="${bmd_acc}:${bmd}/X11/bitmaps"
8184 if test -d "${bmd}/bitmaps"; then
8185 bmd_acc
="${bmd_acc}:${bmd}/bitmaps"
8188 if test ${bmd_acc} != "dummyval"; then
8189 bitmapdir
=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
8194 if test "${with_carbon}" != no
; then
8195 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
8196 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
8197 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
8198 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
8199 echo $ECHO_N "(cached) $ECHO_C" >&6
8201 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
8202 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
8204 # Is the header compilable?
8205 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
8206 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
8207 cat >conftest.
$ac_ext <<_ACEOF
8210 cat confdefs.h
>>conftest.
$ac_ext
8211 cat >>conftest.
$ac_ext <<_ACEOF
8212 /* end confdefs.h. */
8213 $ac_includes_default
8214 #include <Carbon/Carbon.h>
8216 rm -f conftest.
$ac_objext
8217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8218 (eval $ac_compile) 2>conftest.er1
8220 grep -v '^ *+' conftest.er1
>conftest.err
8222 cat conftest.err
>&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); } &&
8225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); }; } &&
8231 { ac_try
='test -s conftest.$ac_objext'
8232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); }; }; then
8237 ac_header_compiler
=yes
8239 echo "$as_me: failed program was:" >&5
8240 sed 's/^/| /' conftest.
$ac_ext >&5
8242 ac_header_compiler
=no
8244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8246 echo "${ECHO_T}$ac_header_compiler" >&6
8248 # Is the header present?
8249 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
8250 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
8251 cat >conftest.
$ac_ext <<_ACEOF
8254 cat confdefs.h
>>conftest.
$ac_ext
8255 cat >>conftest.
$ac_ext <<_ACEOF
8256 /* end confdefs.h. */
8257 #include <Carbon/Carbon.h>
8259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8260 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8262 grep -v '^ *+' conftest.er1
>conftest.err
8264 cat conftest.err
>&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); } >/dev
/null
; then
8267 if test -s conftest.err
; then
8268 ac_cpp_err
=$ac_c_preproc_warn_flag
8269 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8276 if test -z "$ac_cpp_err"; then
8277 ac_header_preproc
=yes
8279 echo "$as_me: failed program was:" >&5
8280 sed 's/^/| /' conftest.
$ac_ext >&5
8282 ac_header_preproc
=no
8284 rm -f conftest.err conftest.
$ac_ext
8285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8286 echo "${ECHO_T}$ac_header_preproc" >&6
8288 # So? What about this header?
8289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8291 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
8292 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8293 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
8294 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
8295 ac_header_preproc
=yes
8298 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
8299 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
8300 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
8301 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
8302 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
8303 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
8304 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
8305 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
8306 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
8307 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
8308 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
8309 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
8312 ## ------------------------------------------ ##
8313 ## Report this to the AC_PACKAGE_NAME lists. ##
8314 ## ------------------------------------------ ##
8317 sed "s/^/$as_me: WARNING: /" >&2
8320 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
8321 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
8322 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
8323 echo $ECHO_N "(cached) $ECHO_C" >&6
8325 ac_cv_header_Carbon_Carbon_h
=$ac_header_preproc
8327 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
8328 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
8331 if test $ac_cv_header_Carbon_Carbon_h = yes; then
8337 if test "${window_system}" = x11
&& test "${HAVE_CARBON}" = yes; then
8338 if test "${with_carbon+set}" != set \
8339 && test "${carbon_appdir_x+set}" != set; then
8343 if test "${HAVE_CARBON}" = yes; then
8347 case "${window_system}" in
8351 case "${with_x_toolkit}" in
8352 athena | lucid
) USE_X_TOOLKIT
=LUCID
;;
8353 motif
) USE_X_TOOLKIT
=MOTIF
;;
8355 USE_X_TOOLKIT
=none
;;
8356 no
) USE_X_TOOLKIT
=none
;;
8357 * ) USE_X_TOOLKIT
=maybe
;;
8367 ### If we're using X11, we should use the X menu package.
8370 yes ) HAVE_MENUS
=yes ;;
8373 if test "${opsys}" = "hpux9"; then
8374 case "${x_libraries}" in
8376 opsysfile
="s/hpux9-x11r4.h"
8381 if test "${opsys}" = "hpux9shr"; then
8382 case "${x_libraries}" in
8384 opsysfile
="s/hpux9shxr4.h"
8389 ### Compute the unexec source name from the object name.
8390 UNEXEC_SRC
="`echo ${unexec} | sed 's/\.o/.c/'`"
8392 # Do the opsystem or machine files prohibit the use of the GNU malloc?
8393 # Assume not, until told otherwise.
8396 echo "$as_me:$LINENO: checking for malloc_get_state" >&5
8397 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
8398 if test "${ac_cv_func_malloc_get_state+set}" = set; then
8399 echo $ECHO_N "(cached) $ECHO_C" >&6
8401 cat >conftest.
$ac_ext <<_ACEOF
8404 cat confdefs.h
>>conftest.
$ac_ext
8405 cat >>conftest.
$ac_ext <<_ACEOF
8406 /* end confdefs.h. */
8407 /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state.
8408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8409 #define malloc_get_state innocuous_malloc_get_state
8411 /* System header to define __stub macros and hopefully few prototypes,
8412 which can conflict with char malloc_get_state (); below.
8413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8414 <limits.h> exists even on freestanding compilers. */
8417 # include <limits.h>
8419 # include <assert.h>
8422 #undef malloc_get_state
8424 /* Override any gcc2 internal prototype to avoid an error. */
8429 /* We use char because int might match the return type of a gcc2
8430 builtin and then its argument prototype would still apply. */
8431 char malloc_get_state ();
8432 /* The GNU C library defines this for functions which it implements
8433 to always fail with ENOSYS. Some functions are actually named
8434 something starting with __ and the normal name is an alias. */
8435 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
8438 char (*f) () = malloc_get_state;
8447 return f != malloc_get_state;
8452 rm -f conftest.
$ac_objext conftest
$ac_exeext
8453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8454 (eval $ac_link) 2>conftest.er1
8456 grep -v '^ *+' conftest.er1
>conftest.err
8458 cat conftest.err
>&5
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); } &&
8461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); }; } &&
8467 { ac_try
='test -s conftest$ac_exeext'
8468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); }; }; then
8473 ac_cv_func_malloc_get_state
=yes
8475 echo "$as_me: failed program was:" >&5
8476 sed 's/^/| /' conftest.
$ac_ext >&5
8478 ac_cv_func_malloc_get_state
=no
8480 rm -f conftest.err conftest.
$ac_objext \
8481 conftest
$ac_exeext conftest.
$ac_ext
8483 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
8484 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
8485 if test $ac_cv_func_malloc_get_state = yes; then
8491 echo "$as_me:$LINENO: checking for malloc_set_state" >&5
8492 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
8493 if test "${ac_cv_func_malloc_set_state+set}" = set; then
8494 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 cat >conftest.
$ac_ext <<_ACEOF
8499 cat confdefs.h
>>conftest.
$ac_ext
8500 cat >>conftest.
$ac_ext <<_ACEOF
8501 /* end confdefs.h. */
8502 /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state.
8503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8504 #define malloc_set_state innocuous_malloc_set_state
8506 /* System header to define __stub macros and hopefully few prototypes,
8507 which can conflict with char malloc_set_state (); below.
8508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8509 <limits.h> exists even on freestanding compilers. */
8512 # include <limits.h>
8514 # include <assert.h>
8517 #undef malloc_set_state
8519 /* Override any gcc2 internal prototype to avoid an error. */
8524 /* We use char because int might match the return type of a gcc2
8525 builtin and then its argument prototype would still apply. */
8526 char malloc_set_state ();
8527 /* The GNU C library defines this for functions which it implements
8528 to always fail with ENOSYS. Some functions are actually named
8529 something starting with __ and the normal name is an alias. */
8530 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
8533 char (*f) () = malloc_set_state;
8542 return f != malloc_set_state;
8547 rm -f conftest.
$ac_objext conftest
$ac_exeext
8548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8549 (eval $ac_link) 2>conftest.er1
8551 grep -v '^ *+' conftest.er1
>conftest.err
8553 cat conftest.err
>&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); } &&
8556 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); }; } &&
8562 { ac_try
='test -s conftest$ac_exeext'
8563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); }; }; then
8568 ac_cv_func_malloc_set_state
=yes
8570 echo "$as_me: failed program was:" >&5
8571 sed 's/^/| /' conftest.
$ac_ext >&5
8573 ac_cv_func_malloc_set_state
=no
8575 rm -f conftest.err conftest.
$ac_objext \
8576 conftest
$ac_exeext conftest.
$ac_ext
8578 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
8579 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
8580 if test $ac_cv_func_malloc_set_state = yes; then
8586 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
8587 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
8588 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
8589 echo $ECHO_N "(cached) $ECHO_C" >&6
8591 cat >conftest.
$ac_ext <<_ACEOF
8594 cat confdefs.h
>>conftest.
$ac_ext
8595 cat >>conftest.
$ac_ext <<_ACEOF
8596 /* end confdefs.h. */
8597 extern void (* __after_morecore_hook)();
8601 __after_morecore_hook = 0
8606 rm -f conftest.
$ac_objext conftest
$ac_exeext
8607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8608 (eval $ac_link) 2>conftest.er1
8610 grep -v '^ *+' conftest.er1
>conftest.err
8612 cat conftest.err
>&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); } &&
8615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); }; } &&
8621 { ac_try
='test -s conftest$ac_exeext'
8622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8626 (exit $ac_status); }; }; then
8627 emacs_cv_var___after_morecore_hook
=yes
8629 echo "$as_me: failed program was:" >&5
8630 sed 's/^/| /' conftest.
$ac_ext >&5
8632 emacs_cv_var___after_morecore_hook
=no
8634 rm -f conftest.err conftest.
$ac_objext \
8635 conftest
$ac_exeext conftest.
$ac_ext
8637 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
8638 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
8639 if test $emacs_cv_var___after_morecore_hook = no
; then
8642 if test "${system_malloc}" = "yes"; then
8645 (The GNU allocators don't work with this system configuration.)"
8647 if test "$doug_lea_malloc" = "yes" ; then
8648 if test "$GNU_MALLOC" = yes ; then
8650 (Using Doug Lea's new malloc from the GNU C Library.)"
8653 cat >>confdefs.h
<<\_ACEOF
8654 #define DOUG_LEA_MALLOC 1
8659 if test x
"${REL_ALLOC}" = x
; then
8660 REL_ALLOC
=${GNU_MALLOC}
8666 for ac_header
in stdlib.h unistd.h
8668 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8670 echo "$as_me:$LINENO: checking for $ac_header" >&5
8671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8673 echo $ECHO_N "(cached) $ECHO_C" >&6
8675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8678 # Is the header compilable?
8679 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8680 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8681 cat >conftest.
$ac_ext <<_ACEOF
8684 cat confdefs.h
>>conftest.
$ac_ext
8685 cat >>conftest.
$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8687 $ac_includes_default
8688 #include <$ac_header>
8690 rm -f conftest.
$ac_objext
8691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8692 (eval $ac_compile) 2>conftest.er1
8694 grep -v '^ *+' conftest.er1
>conftest.err
8696 cat conftest.err
>&5
8697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698 (exit $ac_status); } &&
8699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); }; } &&
8705 { ac_try
='test -s conftest.$ac_objext'
8706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); }; }; then
8711 ac_header_compiler
=yes
8713 echo "$as_me: failed program was:" >&5
8714 sed 's/^/| /' conftest.
$ac_ext >&5
8716 ac_header_compiler
=no
8718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8720 echo "${ECHO_T}$ac_header_compiler" >&6
8722 # Is the header present?
8723 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8725 cat >conftest.
$ac_ext <<_ACEOF
8728 cat confdefs.h
>>conftest.
$ac_ext
8729 cat >>conftest.
$ac_ext <<_ACEOF
8730 /* end confdefs.h. */
8731 #include <$ac_header>
8733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8736 grep -v '^ *+' conftest.er1
>conftest.err
8738 cat conftest.err
>&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); } >/dev
/null
; then
8741 if test -s conftest.err
; then
8742 ac_cpp_err
=$ac_c_preproc_warn_flag
8743 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8750 if test -z "$ac_cpp_err"; then
8751 ac_header_preproc
=yes
8753 echo "$as_me: failed program was:" >&5
8754 sed 's/^/| /' conftest.
$ac_ext >&5
8756 ac_header_preproc
=no
8758 rm -f conftest.err conftest.
$ac_ext
8759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8760 echo "${ECHO_T}$ac_header_preproc" >&6
8762 # So? What about this header?
8763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8765 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8768 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8769 ac_header_preproc
=yes
8772 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8774 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8775 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8776 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8777 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8778 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8779 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8782 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8783 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8786 ## ------------------------------------------ ##
8787 ## Report this to the AC_PACKAGE_NAME lists. ##
8788 ## ------------------------------------------ ##
8791 sed "s/^/$as_me: WARNING: /" >&2
8794 echo "$as_me:$LINENO: checking for $ac_header" >&5
8795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8797 echo $ECHO_N "(cached) $ECHO_C" >&6
8799 eval "$as_ac_Header=\$ac_header_preproc"
8801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8806 cat >>confdefs.h
<<_ACEOF
8807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8815 for ac_func
in getpagesize
8817 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8818 echo "$as_me:$LINENO: checking for $ac_func" >&5
8819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8820 if eval "test \"\${$as_ac_var+set}\" = set"; then
8821 echo $ECHO_N "(cached) $ECHO_C" >&6
8823 cat >conftest.
$ac_ext <<_ACEOF
8826 cat confdefs.h
>>conftest.
$ac_ext
8827 cat >>conftest.
$ac_ext <<_ACEOF
8828 /* end confdefs.h. */
8829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8831 #define $ac_func innocuous_$ac_func
8833 /* System header to define __stub macros and hopefully few prototypes,
8834 which can conflict with char $ac_func (); below.
8835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8836 <limits.h> exists even on freestanding compilers. */
8839 # include <limits.h>
8841 # include <assert.h>
8846 /* Override any gcc2 internal prototype to avoid an error. */
8851 /* We use char because int might match the return type of a gcc2
8852 builtin and then its argument prototype would still apply. */
8854 /* The GNU C library defines this for functions which it implements
8855 to always fail with ENOSYS. Some functions are actually named
8856 something starting with __ and the normal name is an alias. */
8857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8860 char (*f) () = $ac_func;
8869 return f != $ac_func;
8874 rm -f conftest.
$ac_objext conftest
$ac_exeext
8875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8876 (eval $ac_link) 2>conftest.er1
8878 grep -v '^ *+' conftest.er1
>conftest.err
8880 cat conftest.err
>&5
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); } &&
8883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); }; } &&
8889 { ac_try
='test -s conftest$ac_exeext'
8890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); }; }; then
8895 eval "$as_ac_var=yes"
8897 echo "$as_me: failed program was:" >&5
8898 sed 's/^/| /' conftest.
$ac_ext >&5
8900 eval "$as_ac_var=no"
8902 rm -f conftest.err conftest.
$ac_objext \
8903 conftest
$ac_exeext conftest.
$ac_ext
8905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8907 if test `eval echo '${'$as_ac_var'}'` = yes; then
8908 cat >>confdefs.h
<<_ACEOF
8909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8915 echo "$as_me:$LINENO: checking for working mmap" >&5
8916 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8917 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8918 echo $ECHO_N "(cached) $ECHO_C" >&6
8920 if test "$cross_compiling" = yes; then
8921 ac_cv_func_mmap_fixed_mapped
=no
8923 cat >conftest.
$ac_ext <<_ACEOF
8926 cat confdefs.h
>>conftest.
$ac_ext
8927 cat >>conftest.
$ac_ext <<_ACEOF
8928 /* end confdefs.h. */
8929 $ac_includes_default
8930 /* malloc might have been renamed as rpl_malloc. */
8933 /* Thanks to Mike Haertel and Jim Avera for this test.
8934 Here is a matrix of mmap possibilities:
8935 mmap private not fixed
8936 mmap private fixed at somewhere currently unmapped
8937 mmap private fixed at somewhere already mapped
8938 mmap shared not fixed
8939 mmap shared fixed at somewhere currently unmapped
8940 mmap shared fixed at somewhere already mapped
8941 For private mappings, we should verify that changes cannot be read()
8942 back from the file, nor mmap's back from the file at a different
8943 address. (There have been systems where private was not correctly
8944 implemented like the infamous i386 svr4.0, and systems where the
8945 VM page cache was not coherent with the file system buffer cache
8946 like early versions of FreeBSD and possibly contemporary NetBSD.)
8947 For shared mappings, we should conversely verify that changes get
8948 propagated back to all the places they're supposed to be.
8950 Grep wants private fixed already mapped.
8951 The main things grep needs to know about mmap are:
8952 * does it exist and is it safe to write into the mmap'd area
8953 * how to use it (BSD variants) */
8956 #include <sys/mman.h>
8958 #if !STDC_HEADERS && !HAVE_STDLIB_H
8962 /* This mess was copied from the GNU getpagesize.h. */
8963 #if !HAVE_GETPAGESIZE
8964 /* Assume that all systems that can run configure have sys/param.h. */
8965 # if !HAVE_SYS_PARAM_H
8966 # define HAVE_SYS_PARAM_H 1
8969 # ifdef _SC_PAGESIZE
8970 # define getpagesize() sysconf(_SC_PAGESIZE)
8971 # else /* no _SC_PAGESIZE */
8972 # if HAVE_SYS_PARAM_H
8973 # include <sys/param.h>
8974 # ifdef EXEC_PAGESIZE
8975 # define getpagesize() EXEC_PAGESIZE
8976 # else /* no EXEC_PAGESIZE */
8978 # define getpagesize() NBPG * CLSIZE
8981 # endif /* no CLSIZE */
8982 # else /* no NBPG */
8984 # define getpagesize() NBPC
8985 # else /* no NBPC */
8987 # define getpagesize() PAGESIZE
8988 # endif /* PAGESIZE */
8989 # endif /* no NBPC */
8990 # endif /* no NBPG */
8991 # endif /* no EXEC_PAGESIZE */
8992 # else /* no HAVE_SYS_PARAM_H */
8993 # define getpagesize() 8192 /* punt totally */
8994 # endif /* no HAVE_SYS_PARAM_H */
8995 # endif /* no _SC_PAGESIZE */
8997 #endif /* no HAVE_GETPAGESIZE */
9002 char *data, *data2, *data3;
9006 pagesize = getpagesize ();
9008 /* First, make a file with some known garbage in it. */
9009 data = (char *) malloc (pagesize);
9012 for (i = 0; i < pagesize; ++i)
9013 *(data + i) = rand ();
9015 fd = creat ("conftest.mmap", 0600);
9018 if (write (fd, data, pagesize) != pagesize)
9022 /* Next, try to mmap the file at a fixed address which already has
9023 something else allocated at it. If we can, also make sure that
9024 we see the same garbage. */
9025 fd = open ("conftest.mmap", O_RDWR);
9028 data2 = (char *) malloc (2 * pagesize);
9031 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
9032 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9033 MAP_PRIVATE | MAP_FIXED, fd, 0L))
9035 for (i = 0; i < pagesize; ++i)
9036 if (*(data + i) != *(data2 + i))
9039 /* Finally, make sure that changes to the mapped area do not
9040 percolate back to the file as seen by read(). (This is a bug on
9041 some variants of i386 svr4.0.) */
9042 for (i = 0; i < pagesize; ++i)
9043 *(data2 + i) = *(data2 + i) + 1;
9044 data3 = (char *) malloc (pagesize);
9047 if (read (fd, data3, pagesize) != pagesize)
9049 for (i = 0; i < pagesize; ++i)
9050 if (*(data + i) != *(data3 + i))
9056 rm -f conftest
$ac_exeext
9057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9058 (eval $ac_link) 2>&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); }; }; then
9067 ac_cv_func_mmap_fixed_mapped
=yes
9069 echo "$as_me: program exited with status $ac_status" >&5
9070 echo "$as_me: failed program was:" >&5
9071 sed 's/^/| /' conftest.
$ac_ext >&5
9074 ac_cv_func_mmap_fixed_mapped
=no
9076 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9079 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9080 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9081 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9083 cat >>confdefs.h
<<\_ACEOF
9090 if test $use_mmap_for_buffers = yes; then
9094 LIBS
="$libsrc_libs $LIBS"
9097 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
9098 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
9099 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
9100 echo $ECHO_N "(cached) $ECHO_C" >&6
9102 ac_check_lib_save_LIBS
=$LIBS
9104 cat >conftest.
$ac_ext <<_ACEOF
9107 cat confdefs.h
>>conftest.
$ac_ext
9108 cat >>conftest.
$ac_ext <<_ACEOF
9109 /* end confdefs.h. */
9111 /* Override any gcc2 internal prototype to avoid an error. */
9115 /* We use char because int might match the return type of a gcc2
9116 builtin and then its argument prototype would still apply. */
9126 rm -f conftest.
$ac_objext conftest
$ac_exeext
9127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9128 (eval $ac_link) 2>conftest.er1
9130 grep -v '^ *+' conftest.er1
>conftest.err
9132 cat conftest.err
>&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); } &&
9135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); }; } &&
9141 { ac_try
='test -s conftest$ac_exeext'
9142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); }; }; then
9147 ac_cv_lib_dnet_dnet_ntoa
=yes
9149 echo "$as_me: failed program was:" >&5
9150 sed 's/^/| /' conftest.
$ac_ext >&5
9152 ac_cv_lib_dnet_dnet_ntoa
=no
9154 rm -f conftest.err conftest.
$ac_objext \
9155 conftest
$ac_exeext conftest.
$ac_ext
9156 LIBS
=$ac_check_lib_save_LIBS
9158 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9159 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
9160 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
9161 cat >>confdefs.h
<<_ACEOF
9162 #define HAVE_LIBDNET 1
9170 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
9171 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
9172 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
9173 echo $ECHO_N "(cached) $ECHO_C" >&6
9175 ac_check_lib_save_LIBS
=$LIBS
9177 cat >conftest.
$ac_ext <<_ACEOF
9180 cat confdefs.h
>>conftest.
$ac_ext
9181 cat >>conftest.
$ac_ext <<_ACEOF
9182 /* end confdefs.h. */
9193 rm -f conftest.
$ac_objext conftest
$ac_exeext
9194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9195 (eval $ac_link) 2>conftest.er1
9197 grep -v '^ *+' conftest.er1
>conftest.err
9199 cat conftest.err
>&5
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); } &&
9202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); }; } &&
9208 { ac_try
='test -s conftest$ac_exeext'
9209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 (exit $ac_status); }; }; then
9214 ac_cv_lib_Xbsd_main
=yes
9216 echo "$as_me: failed program was:" >&5
9217 sed 's/^/| /' conftest.
$ac_ext >&5
9219 ac_cv_lib_Xbsd_main
=no
9221 rm -f conftest.err conftest.
$ac_objext \
9222 conftest
$ac_exeext conftest.
$ac_ext
9223 LIBS
=$ac_check_lib_save_LIBS
9225 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
9226 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
9227 if test $ac_cv_lib_Xbsd_main = yes; then
9228 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -lXbsd"
9233 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
9234 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
9235 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
9236 echo $ECHO_N "(cached) $ECHO_C" >&6
9238 ac_check_lib_save_LIBS
=$LIBS
9239 LIBS
="-lpthreads $LIBS"
9240 cat >conftest.
$ac_ext <<_ACEOF
9243 cat confdefs.h
>>conftest.
$ac_ext
9244 cat >>conftest.
$ac_ext <<_ACEOF
9245 /* end confdefs.h. */
9247 /* Override any gcc2 internal prototype to avoid an error. */
9251 /* We use char because int might match the return type of a gcc2
9252 builtin and then its argument prototype would still apply. */
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" || test ! -s conftest.err'
9272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); }; } &&
9277 { ac_try
='test -s conftest$ac_exeext'
9278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); }; }; then
9283 ac_cv_lib_pthreads_cma_open
=yes
9285 echo "$as_me: failed program was:" >&5
9286 sed 's/^/| /' conftest.
$ac_ext >&5
9288 ac_cv_lib_pthreads_cma_open
=no
9290 rm -f conftest.err conftest.
$ac_objext \
9291 conftest
$ac_exeext conftest.
$ac_ext
9292 LIBS
=$ac_check_lib_save_LIBS
9294 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
9295 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
9296 if test $ac_cv_lib_pthreads_cma_open = yes; then
9297 cat >>confdefs.h
<<_ACEOF
9298 #define HAVE_LIBPTHREADS 1
9301 LIBS
="-lpthreads $LIBS"
9306 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
9307 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
9308 if test -d /usr
/X386
/include
; then
9310 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
9314 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
9315 echo "${ECHO_T}$HAVE_XFREE386" >&6
9320 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
9321 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
9322 if test "${gdb_cv_bigtoc+set}" = set; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9327 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
9328 *) gdb_cv_bigtoc
=-bbigtoc ;;
9331 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
9332 cat >conftest.
$ac_ext <<_ACEOF
9335 cat confdefs.h
>>conftest.
$ac_ext
9336 cat >>conftest.
$ac_ext <<_ACEOF
9337 /* end confdefs.h. */
9347 rm -f conftest.
$ac_objext conftest
$ac_exeext
9348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9349 (eval $ac_link) 2>conftest.er1
9351 grep -v '^ *+' conftest.er1
>conftest.err
9353 cat conftest.err
>&5
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); } &&
9356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); }; } &&
9362 { ac_try
='test -s conftest$ac_exeext'
9363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); }; }; then
9370 echo "$as_me: failed program was:" >&5
9371 sed 's/^/| /' conftest.
$ac_ext >&5
9375 rm -f conftest.err conftest.
$ac_objext \
9376 conftest
$ac_exeext conftest.
$ac_ext
9379 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
9380 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
9384 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
9385 # used for the tests that follow. We set them back to REAL_CFLAGS and
9386 # REAL_CPPFLAGS later on.
9388 REAL_CPPFLAGS
="$CPPFLAGS"
9390 if test "${HAVE_X11}" = "yes"; then
9391 DEFS
="$C_SWITCH_X_SITE $DEFS"
9392 LDFLAGS
="$LDFLAGS $LD_SWITCH_X_SITE"
9394 CFLAGS
="$C_SWITCH_X_SITE $CFLAGS"
9395 CPPFLAGS
="$C_SWITCH_X_SITE $CPPFLAGS"
9397 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
9398 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
9399 # but it's more convenient here to set LD_RUN_PATH
9400 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
9401 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
9402 LD_RUN_PATH
=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
9406 if test "${opsys}" = "gnu-linux"; then
9407 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
9408 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
9409 cat >conftest.
$ac_ext <<_ACEOF
9412 cat confdefs.h
>>conftest.
$ac_ext
9413 cat >>conftest.
$ac_ext <<_ACEOF
9414 /* end confdefs.h. */
9419 XOpenDisplay ("foo");
9424 rm -f conftest.
$ac_objext conftest
$ac_exeext
9425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9426 (eval $ac_link) 2>conftest.er1
9428 grep -v '^ *+' conftest.er1
>conftest.err
9430 cat conftest.err
>&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); } &&
9433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); }; } &&
9439 { ac_try
='test -s conftest$ac_exeext'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; }; then
9445 xlinux_first_failure
=no
9447 echo "$as_me: failed program was:" >&5
9448 sed 's/^/| /' conftest.
$ac_ext >&5
9450 xlinux_first_failure
=yes
9452 rm -f conftest.err conftest.
$ac_objext \
9453 conftest
$ac_exeext conftest.
$ac_ext
9454 if test "${xlinux_first_failure}" = "yes"; then
9455 OLD_LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE"
9456 OLD_C_SWITCH_X_SITE
="$C_SWITCH_X_SITE"
9457 OLD_CPPFLAGS
="$CPPFLAGS"
9459 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -b i486-linuxaout"
9460 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE -b i486-linuxaout"
9461 CPPFLAGS
="$CPPFLAGS -b i486-linuxaout"
9462 LIBS
="$LIBS -b i486-linuxaout"
9463 cat >conftest.
$ac_ext <<_ACEOF
9466 cat confdefs.h
>>conftest.
$ac_ext
9467 cat >>conftest.
$ac_ext <<_ACEOF
9468 /* end confdefs.h. */
9473 XOpenDisplay ("foo");
9478 rm -f conftest.
$ac_objext conftest
$ac_exeext
9479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9480 (eval $ac_link) 2>conftest.er1
9482 grep -v '^ *+' conftest.er1
>conftest.err
9484 cat conftest.err
>&5
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); } &&
9487 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 (exit $ac_status); }; } &&
9493 { ac_try
='test -s conftest$ac_exeext'
9494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); }; }; then
9499 xlinux_second_failure
=no
9501 echo "$as_me: failed program was:" >&5
9502 sed 's/^/| /' conftest.
$ac_ext >&5
9504 xlinux_second_failure
=yes
9506 rm -f conftest.err conftest.
$ac_objext \
9507 conftest
$ac_exeext conftest.
$ac_ext
9508 if test "${xlinux_second_failure}" = "yes"; then
9509 # If we get the same failure with -b, there is no use adding -b.
9510 # So take it out. This plays safe.
9511 LD_SWITCH_X_SITE
="$OLD_LD_SWITCH_X_SITE"
9512 C_SWITCH_X_SITE
="$OLD_C_SWITCH_X_SITE"
9513 CPPFLAGS
="$OLD_CPPFLAGS"
9515 echo "$as_me:$LINENO: result: no" >&5
9516 echo "${ECHO_T}no" >&6
9518 echo "$as_me:$LINENO: result: yes" >&5
9519 echo "${ECHO_T}yes" >&6
9522 echo "$as_me:$LINENO: result: no" >&5
9523 echo "${ECHO_T}no" >&6
9527 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
9528 # header files included from there.
9529 echo "$as_me:$LINENO: checking for Xkb" >&5
9530 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
9531 cat >conftest.
$ac_ext <<_ACEOF
9534 cat confdefs.h
>>conftest.
$ac_ext
9535 cat >>conftest.
$ac_ext <<_ACEOF
9536 /* end confdefs.h. */
9537 #include <X11/Xlib.h>
9538 #include <X11/XKBlib.h>
9542 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
9547 rm -f conftest.
$ac_objext conftest
$ac_exeext
9548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9549 (eval $ac_link) 2>conftest.er1
9551 grep -v '^ *+' conftest.er1
>conftest.err
9553 cat conftest.err
>&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 (exit $ac_status); } &&
9556 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9561 (exit $ac_status); }; } &&
9562 { ac_try
='test -s conftest$ac_exeext'
9563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); }; }; then
9570 echo "$as_me: failed program was:" >&5
9571 sed 's/^/| /' conftest.
$ac_ext >&5
9575 rm -f conftest.err conftest.
$ac_objext \
9576 conftest
$ac_exeext conftest.
$ac_ext
9577 echo "$as_me:$LINENO: result: $emacs_xkb" >&5
9578 echo "${ECHO_T}$emacs_xkb" >&6
9579 if test $emacs_xkb = yes; then
9581 cat >>confdefs.h
<<\_ACEOF
9582 #define HAVE_XKBGETKEYBOARD 1
9591 for ac_func
in XrmSetDatabase XScreenResourceString \
9592 XScreenNumberOfScreen XSetWMProtocols
9594 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9595 echo "$as_me:$LINENO: checking for $ac_func" >&5
9596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9597 if eval "test \"\${$as_ac_var+set}\" = set"; then
9598 echo $ECHO_N "(cached) $ECHO_C" >&6
9600 cat >conftest.
$ac_ext <<_ACEOF
9603 cat confdefs.h
>>conftest.
$ac_ext
9604 cat >>conftest.
$ac_ext <<_ACEOF
9605 /* end confdefs.h. */
9606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9608 #define $ac_func innocuous_$ac_func
9610 /* System header to define __stub macros and hopefully few prototypes,
9611 which can conflict with char $ac_func (); below.
9612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9613 <limits.h> exists even on freestanding compilers. */
9616 # include <limits.h>
9618 # include <assert.h>
9623 /* Override any gcc2 internal prototype to avoid an error. */
9628 /* We use char because int might match the return type of a gcc2
9629 builtin and then its argument prototype would still apply. */
9631 /* The GNU C library defines this for functions which it implements
9632 to always fail with ENOSYS. Some functions are actually named
9633 something starting with __ and the normal name is an alias. */
9634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9637 char (*f) () = $ac_func;
9646 return f != $ac_func;
9651 rm -f conftest.
$ac_objext conftest
$ac_exeext
9652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9653 (eval $ac_link) 2>conftest.er1
9655 grep -v '^ *+' conftest.er1
>conftest.err
9657 cat conftest.err
>&5
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); } &&
9660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); }; } &&
9666 { ac_try
='test -s conftest$ac_exeext'
9667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); }; }; then
9672 eval "$as_ac_var=yes"
9674 echo "$as_me: failed program was:" >&5
9675 sed 's/^/| /' conftest.
$ac_ext >&5
9677 eval "$as_ac_var=no"
9679 rm -f conftest.err conftest.
$ac_objext \
9680 conftest
$ac_exeext conftest.
$ac_ext
9682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9684 if test `eval echo '${'$as_ac_var'}'` = yes; then
9685 cat >>confdefs.h
<<_ACEOF
9686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9694 if test "${window_system}" = "x11"; then
9695 echo "$as_me:$LINENO: checking X11 version 6" >&5
9696 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
9697 if test "${emacs_cv_x11_version_6+set}" = set; then
9698 echo $ECHO_N "(cached) $ECHO_C" >&6
9700 cat >conftest.
$ac_ext <<_ACEOF
9703 cat confdefs.h
>>conftest.
$ac_ext
9704 cat >>conftest.
$ac_ext <<_ACEOF
9705 /* end confdefs.h. */
9706 #include <X11/Xlib.h>
9710 #if XlibSpecificationRelease < 6
9718 rm -f conftest.
$ac_objext conftest
$ac_exeext
9719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9720 (eval $ac_link) 2>conftest.er1
9722 grep -v '^ *+' conftest.er1
>conftest.err
9724 cat conftest.err
>&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); } &&
9727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); }; } &&
9733 { ac_try
='test -s conftest$ac_exeext'
9734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); }; }; then
9739 emacs_cv_x11_version_6
=yes
9741 echo "$as_me: failed program was:" >&5
9742 sed 's/^/| /' conftest.
$ac_ext >&5
9744 emacs_cv_x11_version_6
=no
9746 rm -f conftest.err conftest.
$ac_objext \
9747 conftest
$ac_exeext conftest.
$ac_ext
9750 if test $emacs_cv_x11_version_6 = yes; then
9751 echo "$as_me:$LINENO: result: 6 or newer" >&5
9752 echo "${ECHO_T}6 or newer" >&6
9754 cat >>confdefs.h
<<\_ACEOF
9755 #define HAVE_X11R6 1
9759 echo "$as_me:$LINENO: result: before 6" >&5
9760 echo "${ECHO_T}before 6" >&6
9764 if test "${window_system}" = "x11"; then
9765 echo "$as_me:$LINENO: checking X11 version 5" >&5
9766 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
9767 if test "${emacs_cv_x11_version_5+set}" = set; then
9768 echo $ECHO_N "(cached) $ECHO_C" >&6
9770 cat >conftest.
$ac_ext <<_ACEOF
9773 cat confdefs.h
>>conftest.
$ac_ext
9774 cat >>conftest.
$ac_ext <<_ACEOF
9775 /* end confdefs.h. */
9776 #include <X11/Xlib.h>
9780 #if XlibSpecificationRelease < 5
9788 rm -f conftest.
$ac_objext conftest
$ac_exeext
9789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9790 (eval $ac_link) 2>conftest.er1
9792 grep -v '^ *+' conftest.er1
>conftest.err
9794 cat conftest.err
>&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } &&
9797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); }; } &&
9803 { ac_try
='test -s conftest$ac_exeext'
9804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 (exit $ac_status); }; }; then
9809 emacs_cv_x11_version_5
=yes
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.
$ac_ext >&5
9814 emacs_cv_x11_version_5
=no
9816 rm -f conftest.err conftest.
$ac_objext \
9817 conftest
$ac_exeext conftest.
$ac_ext
9820 if test $emacs_cv_x11_version_5 = yes; then
9821 echo "$as_me:$LINENO: result: 5 or newer" >&5
9822 echo "${ECHO_T}5 or newer" >&6
9825 cat >>confdefs.h
<<\_ACEOF
9826 #define HAVE_X11R5 1
9831 echo "$as_me:$LINENO: result: before 5" >&5
9832 echo "${ECHO_T}before 5" >&6
9839 if test "${with_gtk}" = "yes" ||
test "$USE_X_TOOLKIT" = "gtk"; then
9840 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
9841 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5
9842 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;}
9843 { (exit 1); exit 1; }; };
9847 GTK_MODULES
="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
9849 if test "X${with_pkg_config_prog}" != X
; then
9850 PKG_CONFIG
="${with_pkg_config_prog}"
9855 if test -z "$PKG_CONFIG"; then
9856 # Extract the first word of "pkg-config", so it can be a program name with args.
9857 set dummy pkg-config
; ac_word
=$2
9858 echo "$as_me:$LINENO: checking for $ac_word" >&5
9859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9860 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9861 echo $ECHO_N "(cached) $ECHO_C" >&6
9865 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9872 test -z "$as_dir" && as_dir
=.
9873 for ac_exec_ext
in '' $ac_executable_extensions; do
9874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9875 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9882 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9886 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9888 if test -n "$PKG_CONFIG"; then
9889 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9890 echo "${ECHO_T}$PKG_CONFIG" >&6
9892 echo "$as_me:$LINENO: result: no" >&5
9893 echo "${ECHO_T}no" >&6
9898 if test "$PKG_CONFIG" = "no" ; then
9899 echo "*** The pkg-config script could not be found. Make sure it is"
9900 echo "*** in your path, or give the full path to pkg-config with"
9901 echo "*** the PKG_CONFIG environment variable or --with-pkg-config-prog."
9902 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9904 PKG_CONFIG_MIN_VERSION
=0.9.0
9905 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9906 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
9907 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6
9909 if $PKG_CONFIG --exists "$GTK_MODULES" ; then
9910 echo "$as_me:$LINENO: result: yes" >&5
9911 echo "${ECHO_T}yes" >&6
9914 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
9915 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
9916 GTK_CFLAGS
=`$PKG_CONFIG --cflags "$GTK_MODULES"`
9917 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
9918 echo "${ECHO_T}$GTK_CFLAGS" >&6
9920 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
9921 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
9922 GTK_LIBS
=`$PKG_CONFIG --libs "$GTK_MODULES"`
9923 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
9924 echo "${ECHO_T}$GTK_LIBS" >&6
9928 ## If we have a custom action on failure, don't print errors, but
9929 ## do set a variable so people can do so.
9930 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
9931 echo $GTK_PKG_ERRORS
9937 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9938 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9942 if test $succeeded = yes; then
9945 { { 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
9946 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;}
9947 { (exit 1); exit 1; }; }
9952 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE $GTK_CFLAGS"
9953 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9954 LIBS
="$GTK_LIBS $LIBS"
9957 cat >>confdefs.h
<<\_ACEOF
9963 if test "$with_toolkit_scroll_bars" != no
; then
9964 with_toolkit_scroll_bars
=yes
9967 HAVE_GTK_MULTIDISPLAY
=no
9969 for ac_func
in gdk_display_open
9971 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9972 echo "$as_me:$LINENO: checking for $ac_func" >&5
9973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9974 if eval "test \"\${$as_ac_var+set}\" = set"; then
9975 echo $ECHO_N "(cached) $ECHO_C" >&6
9977 cat >conftest.
$ac_ext <<_ACEOF
9980 cat confdefs.h
>>conftest.
$ac_ext
9981 cat >>conftest.
$ac_ext <<_ACEOF
9982 /* end confdefs.h. */
9983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9985 #define $ac_func innocuous_$ac_func
9987 /* System header to define __stub macros and hopefully few prototypes,
9988 which can conflict with char $ac_func (); below.
9989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9990 <limits.h> exists even on freestanding compilers. */
9993 # include <limits.h>
9995 # include <assert.h>
10000 /* Override any gcc2 internal prototype to avoid an error. */
10005 /* We use char because int might match the return type of a gcc2
10006 builtin and then its argument prototype would still apply. */
10008 /* The GNU C library defines this for functions which it implements
10009 to always fail with ENOSYS. Some functions are actually named
10010 something starting with __ and the normal name is an alias. */
10011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10014 char (*f) () = $ac_func;
10023 return f != $ac_func;
10028 rm -f conftest.
$ac_objext conftest
$ac_exeext
10029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10030 (eval $ac_link) 2>conftest.er1
10032 grep -v '^ *+' conftest.er1
>conftest.err
10034 cat conftest.err
>&5
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); } &&
10037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10039 (eval $ac_try) 2>&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); }; } &&
10043 { ac_try
='test -s conftest$ac_exeext'
10044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045 (eval $ac_try) 2>&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); }; }; then
10049 eval "$as_ac_var=yes"
10051 echo "$as_me: failed program was:" >&5
10052 sed 's/^/| /' conftest.
$ac_ext >&5
10054 eval "$as_ac_var=no"
10056 rm -f conftest.err conftest.
$ac_objext \
10057 conftest
$ac_exeext conftest.
$ac_ext
10059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10061 if test `eval echo '${'$as_ac_var'}'` = yes; then
10062 cat >>confdefs.h
<<_ACEOF
10063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10065 HAVE_GTK_MULTIDISPLAY
=yes
10069 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
10071 cat >>confdefs.h
<<\_ACEOF
10072 #define HAVE_GTK_MULTIDISPLAY 1
10076 HAVE_GTK_FILE_SELECTION
=no
10078 for ac_func
in gtk_file_selection_new
10080 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10081 echo "$as_me:$LINENO: checking for $ac_func" >&5
10082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10083 if eval "test \"\${$as_ac_var+set}\" = set"; then
10084 echo $ECHO_N "(cached) $ECHO_C" >&6
10086 cat >conftest.
$ac_ext <<_ACEOF
10089 cat confdefs.h
>>conftest.
$ac_ext
10090 cat >>conftest.
$ac_ext <<_ACEOF
10091 /* end confdefs.h. */
10092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10094 #define $ac_func innocuous_$ac_func
10096 /* System header to define __stub macros and hopefully few prototypes,
10097 which can conflict with char $ac_func (); below.
10098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10099 <limits.h> exists even on freestanding compilers. */
10102 # include <limits.h>
10104 # include <assert.h>
10109 /* Override any gcc2 internal prototype to avoid an error. */
10114 /* We use char because int might match the return type of a gcc2
10115 builtin and then its argument prototype would still apply. */
10117 /* The GNU C library defines this for functions which it implements
10118 to always fail with ENOSYS. Some functions are actually named
10119 something starting with __ and the normal name is an alias. */
10120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10123 char (*f) () = $ac_func;
10132 return f != $ac_func;
10137 rm -f conftest.
$ac_objext conftest
$ac_exeext
10138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10139 (eval $ac_link) 2>conftest.er1
10141 grep -v '^ *+' conftest.er1
>conftest.err
10143 cat conftest.err
>&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); } &&
10146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10148 (eval $ac_try) 2>&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); }; } &&
10152 { ac_try
='test -s conftest$ac_exeext'
10153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10154 (eval $ac_try) 2>&5
10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157 (exit $ac_status); }; }; then
10158 eval "$as_ac_var=yes"
10160 echo "$as_me: failed program was:" >&5
10161 sed 's/^/| /' conftest.
$ac_ext >&5
10163 eval "$as_ac_var=no"
10165 rm -f conftest.err conftest.
$ac_objext \
10166 conftest
$ac_exeext conftest.
$ac_ext
10168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10170 if test `eval echo '${'$as_ac_var'}'` = yes; then
10171 cat >>confdefs.h
<<_ACEOF
10172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10174 HAVE_GTK_FILE_SELECTION
=yes
10179 HAVE_GTK_FILE_CHOOSER
=no
10181 for ac_func
in gtk_file_chooser_dialog_new
10183 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10184 echo "$as_me:$LINENO: checking for $ac_func" >&5
10185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10186 if eval "test \"\${$as_ac_var+set}\" = set"; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 cat >conftest.
$ac_ext <<_ACEOF
10192 cat confdefs.h
>>conftest.
$ac_ext
10193 cat >>conftest.
$ac_ext <<_ACEOF
10194 /* end confdefs.h. */
10195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10197 #define $ac_func innocuous_$ac_func
10199 /* System header to define __stub macros and hopefully few prototypes,
10200 which can conflict with char $ac_func (); below.
10201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10202 <limits.h> exists even on freestanding compilers. */
10205 # include <limits.h>
10207 # include <assert.h>
10212 /* Override any gcc2 internal prototype to avoid an error. */
10217 /* We use char because int might match the return type of a gcc2
10218 builtin and then its argument prototype would still apply. */
10220 /* The GNU C library defines this for functions which it implements
10221 to always fail with ENOSYS. Some functions are actually named
10222 something starting with __ and the normal name is an alias. */
10223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10226 char (*f) () = $ac_func;
10235 return f != $ac_func;
10240 rm -f conftest.
$ac_objext conftest
$ac_exeext
10241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10242 (eval $ac_link) 2>conftest.er1
10244 grep -v '^ *+' conftest.er1
>conftest.err
10246 cat conftest.err
>&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); } &&
10249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10251 (eval $ac_try) 2>&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); }; } &&
10255 { ac_try
='test -s conftest$ac_exeext'
10256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257 (eval $ac_try) 2>&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; }; then
10261 eval "$as_ac_var=yes"
10263 echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.
$ac_ext >&5
10266 eval "$as_ac_var=no"
10268 rm -f conftest.err conftest.
$ac_objext \
10269 conftest
$ac_exeext conftest.
$ac_ext
10271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10273 if test `eval echo '${'$as_ac_var'}'` = yes; then
10274 cat >>confdefs.h
<<_ACEOF
10275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10277 HAVE_GTK_FILE_CHOOSER
=yes
10282 if test "$HAVE_GTK_FILE_SELECTION" = yes \
10283 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then
10285 cat >>confdefs.h
<<\_ACEOF
10286 #define HAVE_GTK_FILE_BOTH 1
10291 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
10292 HAVE_GTK_AND_PTHREAD
=no
10294 for ac_header
in pthread.h
10296 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10298 echo "$as_me:$LINENO: checking for $ac_header" >&5
10299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10301 echo $ECHO_N "(cached) $ECHO_C" >&6
10303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10306 # Is the header compilable?
10307 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10308 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10309 cat >conftest.
$ac_ext <<_ACEOF
10312 cat confdefs.h
>>conftest.
$ac_ext
10313 cat >>conftest.
$ac_ext <<_ACEOF
10314 /* end confdefs.h. */
10315 $ac_includes_default
10316 #include <$ac_header>
10318 rm -f conftest.
$ac_objext
10319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10320 (eval $ac_compile) 2>conftest.er1
10322 grep -v '^ *+' conftest.er1
>conftest.err
10324 cat conftest.err
>&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); } &&
10327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10329 (eval $ac_try) 2>&5
10331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332 (exit $ac_status); }; } &&
10333 { ac_try
='test -s conftest.$ac_objext'
10334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10335 (eval $ac_try) 2>&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); }; }; then
10339 ac_header_compiler
=yes
10341 echo "$as_me: failed program was:" >&5
10342 sed 's/^/| /' conftest.
$ac_ext >&5
10344 ac_header_compiler
=no
10346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10348 echo "${ECHO_T}$ac_header_compiler" >&6
10350 # Is the header present?
10351 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10352 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10353 cat >conftest.
$ac_ext <<_ACEOF
10356 cat confdefs.h
>>conftest.
$ac_ext
10357 cat >>conftest.
$ac_ext <<_ACEOF
10358 /* end confdefs.h. */
10359 #include <$ac_header>
10361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10362 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10364 grep -v '^ *+' conftest.er1
>conftest.err
10366 cat conftest.err
>&5
10367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); } >/dev
/null
; then
10369 if test -s conftest.err
; then
10370 ac_cpp_err
=$ac_c_preproc_warn_flag
10371 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10378 if test -z "$ac_cpp_err"; then
10379 ac_header_preproc
=yes
10381 echo "$as_me: failed program was:" >&5
10382 sed 's/^/| /' conftest.
$ac_ext >&5
10384 ac_header_preproc
=no
10386 rm -f conftest.err conftest.
$ac_ext
10387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10388 echo "${ECHO_T}$ac_header_preproc" >&6
10390 # So? What about this header?
10391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10393 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10394 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10396 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10397 ac_header_preproc
=yes
10400 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10401 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10402 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10403 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10404 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10405 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10406 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10407 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10409 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10410 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10411 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10414 ## ------------------------------------------ ##
10415 ## Report this to the AC_PACKAGE_NAME lists. ##
10416 ## ------------------------------------------ ##
10419 sed "s/^/$as_me: WARNING: /" >&2
10422 echo "$as_me:$LINENO: checking for $ac_header" >&5
10423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10425 echo $ECHO_N "(cached) $ECHO_C" >&6
10427 eval "$as_ac_Header=\$ac_header_preproc"
10429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10434 cat >>confdefs.h
<<_ACEOF
10435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10442 if test "$ac_cv_header_pthread_h"; then
10443 echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
10444 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6
10445 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 ac_check_lib_save_LIBS
=$LIBS
10449 LIBS
="-lpthread $LIBS"
10450 cat >conftest.
$ac_ext <<_ACEOF
10453 cat confdefs.h
>>conftest.
$ac_ext
10454 cat >>conftest.
$ac_ext <<_ACEOF
10455 /* end confdefs.h. */
10457 /* Override any gcc2 internal prototype to avoid an error. */
10461 /* We use char because int might match the return type of a gcc2
10462 builtin and then its argument prototype would still apply. */
10463 char pthread_self ();
10472 rm -f conftest.
$ac_objext conftest
$ac_exeext
10473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10474 (eval $ac_link) 2>conftest.er1
10476 grep -v '^ *+' conftest.er1
>conftest.err
10478 cat conftest.err
>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } &&
10481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10483 (eval $ac_try) 2>&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); }; } &&
10487 { ac_try
='test -s conftest$ac_exeext'
10488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10489 (eval $ac_try) 2>&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); }; }; then
10493 ac_cv_lib_pthread_pthread_self
=yes
10495 echo "$as_me: failed program was:" >&5
10496 sed 's/^/| /' conftest.
$ac_ext >&5
10498 ac_cv_lib_pthread_pthread_self
=no
10500 rm -f conftest.err conftest.
$ac_objext \
10501 conftest
$ac_exeext conftest.
$ac_ext
10502 LIBS
=$ac_check_lib_save_LIBS
10504 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
10505 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6
10506 if test $ac_cv_lib_pthread_pthread_self = yes; then
10507 HAVE_GTK_AND_PTHREAD
=yes
10511 if test "$HAVE_GTK_AND_PTHREAD" = yes; then
10512 GTK_LIBS
="$GTK_LIBS -lpthread"
10514 cat >>confdefs.h
<<\_ACEOF
10515 #define HAVE_GTK_AND_PTHREAD 1
10522 if test x
"${USE_X_TOOLKIT}" = xmaybe
; then
10523 if test x
"${HAVE_X11R5}" = xyes
; then
10524 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
10525 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
10526 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
10527 echo $ECHO_N "(cached) $ECHO_C" >&6
10529 cat >conftest.
$ac_ext <<_ACEOF
10532 cat confdefs.h
>>conftest.
$ac_ext
10533 cat >>conftest.
$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10536 #include <X11/Intrinsic.h>
10537 #include <X11/Xaw/Simple.h>
10546 rm -f conftest.
$ac_objext conftest
$ac_exeext
10547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10548 (eval $ac_link) 2>conftest.er1
10550 grep -v '^ *+' conftest.er1
>conftest.err
10552 cat conftest.err
>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } &&
10555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; } &&
10561 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
10567 emacs_cv_x11_version_5_with_xaw
=yes
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.
$ac_ext >&5
10572 emacs_cv_x11_version_5_with_xaw
=no
10574 rm -f conftest.err conftest.
$ac_objext \
10575 conftest
$ac_exeext conftest.
$ac_ext
10578 if test $emacs_cv_x11_version_5_with_xaw = yes; then
10579 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
10580 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
10581 USE_X_TOOLKIT
=LUCID
10583 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
10584 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
10592 X_TOOLKIT_TYPE
=$USE_X_TOOLKIT
10594 if test "${USE_X_TOOLKIT}" != "none"; then
10595 echo "$as_me:$LINENO: checking X11 toolkit version" >&5
10596 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
10597 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
10598 echo $ECHO_N "(cached) $ECHO_C" >&6
10600 cat >conftest.
$ac_ext <<_ACEOF
10603 cat confdefs.h
>>conftest.
$ac_ext
10604 cat >>conftest.
$ac_ext <<_ACEOF
10605 /* end confdefs.h. */
10606 #include <X11/Intrinsic.h>
10610 #if XtSpecificationRelease < 6
10618 rm -f conftest.
$ac_objext conftest
$ac_exeext
10619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10620 (eval $ac_link) 2>conftest.er1
10622 grep -v '^ *+' conftest.er1
>conftest.err
10624 cat conftest.err
>&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); } &&
10627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10629 (eval $ac_try) 2>&5
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; } &&
10633 { ac_try
='test -s conftest$ac_exeext'
10634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10635 (eval $ac_try) 2>&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); }; }; then
10639 emacs_cv_x11_toolkit_version_6
=yes
10641 echo "$as_me: failed program was:" >&5
10642 sed 's/^/| /' conftest.
$ac_ext >&5
10644 emacs_cv_x11_toolkit_version_6
=no
10646 rm -f conftest.err conftest.
$ac_objext \
10647 conftest
$ac_exeext conftest.
$ac_ext
10650 HAVE_X11XTR6
=$emacs_cv_x11_toolkit_version_6
10651 if test $emacs_cv_x11_toolkit_version_6 = yes; then
10652 echo "$as_me:$LINENO: result: 6 or newer" >&5
10653 echo "${ECHO_T}6 or newer" >&6
10655 cat >>confdefs.h
<<\_ACEOF
10656 #define HAVE_X11XTR6 1
10660 echo "$as_me:$LINENO: result: before 6" >&5
10661 echo "${ECHO_T}before 6" >&6
10665 if test x
$HAVE_X11XTR6 = xyes
; then
10666 LIBS
="-lXt -lSM -lICE $LIBS"
10671 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
10672 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
10673 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
10674 echo $ECHO_N "(cached) $ECHO_C" >&6
10676 ac_check_lib_save_LIBS
=$LIBS
10678 cat >conftest.
$ac_ext <<_ACEOF
10681 cat confdefs.h
>>conftest.
$ac_ext
10682 cat >>conftest.
$ac_ext <<_ACEOF
10683 /* end confdefs.h. */
10685 /* Override any gcc2 internal prototype to avoid an error. */
10689 /* We use char because int might match the return type of a gcc2
10690 builtin and then its argument prototype would still apply. */
10691 char XmuConvertStandardSelection ();
10695 XmuConvertStandardSelection ();
10700 rm -f conftest.
$ac_objext conftest
$ac_exeext
10701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10702 (eval $ac_link) 2>conftest.er1
10704 grep -v '^ *+' conftest.er1
>conftest.err
10706 cat conftest.err
>&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } &&
10709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; } &&
10715 { ac_try
='test -s conftest$ac_exeext'
10716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10717 (eval $ac_try) 2>&5
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); }; }; then
10721 ac_cv_lib_Xmu_XmuConvertStandardSelection
=yes
10723 echo "$as_me: failed program was:" >&5
10724 sed 's/^/| /' conftest.
$ac_ext >&5
10726 ac_cv_lib_Xmu_XmuConvertStandardSelection
=no
10728 rm -f conftest.err conftest.
$ac_objext \
10729 conftest
$ac_exeext conftest.
$ac_ext
10730 LIBS
=$ac_check_lib_save_LIBS
10732 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
10733 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
10734 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
10735 cat >>confdefs.h
<<_ACEOF
10736 #define HAVE_LIBXMU 1
10743 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no
&& LIBS
="$OLDLIBS"
10746 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
10747 if test "${HAVE_X11}" = "yes"; then
10748 if test "${USE_X_TOOLKIT}" != "none"; then
10750 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10751 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
10752 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10753 echo $ECHO_N "(cached) $ECHO_C" >&6
10755 ac_check_lib_save_LIBS
=$LIBS
10756 LIBS
="-lXext $LIBS"
10757 cat >conftest.
$ac_ext <<_ACEOF
10760 cat confdefs.h
>>conftest.
$ac_ext
10761 cat >>conftest.
$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10764 /* Override any gcc2 internal prototype to avoid an error. */
10768 /* We use char because int might match the return type of a gcc2
10769 builtin and then its argument prototype would still apply. */
10770 char XShapeQueryExtension ();
10774 XShapeQueryExtension ();
10779 rm -f conftest.
$ac_objext conftest
$ac_exeext
10780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10781 (eval $ac_link) 2>conftest.er1
10783 grep -v '^ *+' conftest.er1
>conftest.err
10785 cat conftest.err
>&5
10786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787 (exit $ac_status); } &&
10788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10790 (eval $ac_try) 2>&5
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); }; } &&
10794 { ac_try
='test -s conftest$ac_exeext'
10795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10796 (eval $ac_try) 2>&5
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; }; then
10800 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10802 echo "$as_me: failed program was:" >&5
10803 sed 's/^/| /' conftest.
$ac_ext >&5
10805 ac_cv_lib_Xext_XShapeQueryExtension
=no
10807 rm -f conftest.err conftest.
$ac_objext \
10808 conftest
$ac_exeext conftest.
$ac_ext
10809 LIBS
=$ac_check_lib_save_LIBS
10811 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10812 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
10813 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10814 cat >>confdefs.h
<<_ACEOF
10815 #define HAVE_LIBXEXT 1
10818 LIBS
="-lXext $LIBS"
10825 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
10826 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
10827 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
10828 if test "${emacs_cv_motif_version_2_1+set}" = set; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 cat >conftest.
$ac_ext <<_ACEOF
10834 cat confdefs.h
>>conftest.
$ac_ext
10835 cat >>conftest.
$ac_ext <<_ACEOF
10836 /* end confdefs.h. */
10841 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
10844 Motif version prior to 2.1.
10850 rm -f conftest.
$ac_objext
10851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10852 (eval $ac_compile) 2>conftest.er1
10854 grep -v '^ *+' conftest.er1
>conftest.err
10856 cat conftest.err
>&5
10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10858 (exit $ac_status); } &&
10859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10861 (eval $ac_try) 2>&5
10863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10864 (exit $ac_status); }; } &&
10865 { ac_try
='test -s conftest.$ac_objext'
10866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10867 (eval $ac_try) 2>&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); }; }; then
10871 emacs_cv_motif_version_2_1
=yes
10873 echo "$as_me: failed program was:" >&5
10874 sed 's/^/| /' conftest.
$ac_ext >&5
10876 emacs_cv_motif_version_2_1
=no
10878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10880 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
10881 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
10882 HAVE_MOTIF_2_1
=$emacs_cv_motif_version_2_1
10883 if test $emacs_cv_motif_version_2_1 = yes; then
10886 cat >>confdefs.h
<<\_ACEOF
10887 #define HAVE_MOTIF_2_1 1
10890 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
10891 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
10892 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
10893 echo $ECHO_N "(cached) $ECHO_C" >&6
10895 ac_check_lib_save_LIBS
=$LIBS
10897 cat >conftest.
$ac_ext <<_ACEOF
10900 cat confdefs.h
>>conftest.
$ac_ext
10901 cat >>conftest.
$ac_ext <<_ACEOF
10902 /* end confdefs.h. */
10904 /* Override any gcc2 internal prototype to avoid an error. */
10908 /* We use char because int might match the return type of a gcc2
10909 builtin and then its argument prototype would still apply. */
10910 char XpCreateContext ();
10914 XpCreateContext ();
10919 rm -f conftest.
$ac_objext conftest
$ac_exeext
10920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10921 (eval $ac_link) 2>conftest.er1
10923 grep -v '^ *+' conftest.er1
>conftest.err
10925 cat conftest.err
>&5
10926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 (exit $ac_status); } &&
10928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10930 (eval $ac_try) 2>&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); }; } &&
10934 { ac_try
='test -s conftest$ac_exeext'
10935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10936 (eval $ac_try) 2>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }; }; then
10940 ac_cv_lib_Xp_XpCreateContext
=yes
10942 echo "$as_me: failed program was:" >&5
10943 sed 's/^/| /' conftest.
$ac_ext >&5
10945 ac_cv_lib_Xp_XpCreateContext
=no
10947 rm -f conftest.err conftest.
$ac_objext \
10948 conftest
$ac_exeext conftest.
$ac_ext
10949 LIBS
=$ac_check_lib_save_LIBS
10951 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
10952 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
10953 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
10957 if test ${HAVE_LIBXP} = yes; then
10959 cat >>confdefs.h
<<\_ACEOF
10960 #define HAVE_LIBXP 1
10965 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
10966 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
10967 if test "${emacs_cv_lesstif+set}" = set; then
10968 echo $ECHO_N "(cached) $ECHO_C" >&6
10970 # We put this in CFLAGS temporarily to precede other -I options
10971 # that might be in CFLAGS temporarily.
10972 # We put this in CPPFLAGS where it precedes the other -I options.
10973 OLD_CPPFLAGS
=$CPPFLAGS
10975 CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
10976 CFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
10977 cat >conftest.
$ac_ext <<_ACEOF
10980 cat confdefs.h
>>conftest.
$ac_ext
10981 cat >>conftest.
$ac_ext <<_ACEOF
10982 /* end confdefs.h. */
10983 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
10992 rm -f conftest.
$ac_objext
10993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10994 (eval $ac_compile) 2>conftest.er1
10996 grep -v '^ *+' conftest.er1
>conftest.err
10998 cat conftest.err
>&5
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); } &&
11001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11003 (eval $ac_try) 2>&5
11005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006 (exit $ac_status); }; } &&
11007 { ac_try
='test -s conftest.$ac_objext'
11008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11009 (eval $ac_try) 2>&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); }; }; then
11013 emacs_cv_lesstif
=yes
11015 echo "$as_me: failed program was:" >&5
11016 sed 's/^/| /' conftest.
$ac_ext >&5
11018 emacs_cv_lesstif
=no
11020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11022 echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
11023 echo "${ECHO_T}$emacs_cv_lesstif" >&6
11024 if test $emacs_cv_lesstif = yes; then
11025 # Make sure this -I option remains in CPPFLAGS after it is set
11026 # back to REAL_CPPFLAGS.
11027 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
11028 # have those other -I options anyway. Ultimately, having this
11029 # directory ultimately in CPPFLAGS will be enough.
11030 REAL_CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $REAL_CPPFLAGS"
11031 LDFLAGS
="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
11034 CPPFLAGS
=$OLD_CPPFLAGS
11039 ### Is -lXaw3d available?
11041 if test "${HAVE_X11}" = "yes"; then
11042 if test "${USE_X_TOOLKIT}" != "none"; then
11043 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
11044 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
11045 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6
11048 cat >conftest.
$ac_ext <<_ACEOF
11051 cat confdefs.h
>>conftest.
$ac_ext
11052 cat >>conftest.
$ac_ext <<_ACEOF
11053 /* end confdefs.h. */
11054 #include <X11/Xaw3d/Scrollbar.h>
11056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11057 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11059 grep -v '^ *+' conftest.er1
>conftest.err
11061 cat conftest.err
>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); } >/dev
/null
; then
11064 if test -s conftest.err
; then
11065 ac_cpp_err
=$ac_c_preproc_warn_flag
11066 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11073 if test -z "$ac_cpp_err"; then
11074 ac_cv_header_X11_Xaw3d_Scrollbar_h
=yes
11076 echo "$as_me: failed program was:" >&5
11077 sed 's/^/| /' conftest.
$ac_ext >&5
11079 ac_cv_header_X11_Xaw3d_Scrollbar_h
=no
11081 rm -f conftest.err conftest.
$ac_ext
11083 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
11084 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
11085 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
11086 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
11087 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
11088 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
11089 echo $ECHO_N "(cached) $ECHO_C" >&6
11091 ac_check_lib_save_LIBS
=$LIBS
11092 LIBS
="-lXaw3d $LIBS"
11093 cat >conftest.
$ac_ext <<_ACEOF
11096 cat confdefs.h
>>conftest.
$ac_ext
11097 cat >>conftest.
$ac_ext <<_ACEOF
11098 /* end confdefs.h. */
11100 /* Override any gcc2 internal prototype to avoid an error. */
11104 /* We use char because int might match the return type of a gcc2
11105 builtin and then its argument prototype would still apply. */
11106 char XawScrollbarSetThumb ();
11110 XawScrollbarSetThumb ();
11115 rm -f conftest.
$ac_objext conftest
$ac_exeext
11116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11117 (eval $ac_link) 2>conftest.er1
11119 grep -v '^ *+' conftest.er1
>conftest.err
11121 cat conftest.err
>&5
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); } &&
11124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11126 (eval $ac_try) 2>&5
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); }; } &&
11130 { ac_try
='test -s conftest$ac_exeext'
11131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11132 (eval $ac_try) 2>&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); }; }; then
11136 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=yes
11138 echo "$as_me: failed program was:" >&5
11139 sed 's/^/| /' conftest.
$ac_ext >&5
11141 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=no
11143 rm -f conftest.err conftest.
$ac_objext \
11144 conftest
$ac_exeext conftest.
$ac_ext
11145 LIBS
=$ac_check_lib_save_LIBS
11147 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
11148 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
11149 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
11156 if test "${HAVE_XAW3D}" = "yes"; then
11158 cat >>confdefs.h
<<\_ACEOF
11159 #define HAVE_XAW3D 1
11168 USE_TOOLKIT_SCROLL_BARS
=no
11169 if test "${with_toolkit_scroll_bars}" != "no"; then
11170 if test "${USE_X_TOOLKIT}" != "none"; then
11171 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
11172 cat >>confdefs.h
<<\_ACEOF
11173 #define USE_TOOLKIT_SCROLL_BARS 1
11177 USE_TOOLKIT_SCROLL_BARS
=yes
11178 elif test "${HAVE_XAW3D}" = "yes"; then
11179 cat >>confdefs.h
<<\_ACEOF
11180 #define USE_TOOLKIT_SCROLL_BARS 1
11183 USE_TOOLKIT_SCROLL_BARS
=yes
11185 elif test "${HAVE_GTK}" = "yes"; then
11186 cat >>confdefs.h
<<\_ACEOF
11187 #define USE_TOOLKIT_SCROLL_BARS 1
11190 USE_TOOLKIT_SCROLL_BARS
=yes
11191 elif test "${HAVE_CARBON}" = "yes"; then
11192 cat >>confdefs.h
<<\_ACEOF
11193 #define USE_TOOLKIT_SCROLL_BARS 1
11196 USE_TOOLKIT_SCROLL_BARS
=yes
11200 cat >conftest.
$ac_ext <<_ACEOF
11203 cat confdefs.h
>>conftest.
$ac_ext
11204 cat >>conftest.
$ac_ext <<_ACEOF
11205 /* end confdefs.h. */
11207 #include <X11/Xlib.h>
11208 #include <X11/Xresource.h>
11217 rm -f conftest.
$ac_objext
11218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11219 (eval $ac_compile) 2>conftest.er1
11221 grep -v '^ *+' conftest.er1
>conftest.err
11223 cat conftest.err
>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); } &&
11226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228 (eval $ac_try) 2>&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); }; } &&
11232 { ac_try
='test -s conftest.$ac_objext'
11233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11234 (eval $ac_try) 2>&5
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); }; }; then
11240 cat >>confdefs.h
<<\_ACEOF
11245 echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.
$ac_ext >&5
11250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11253 if test "${with_xim}" != "no"; then
11255 cat >>confdefs.h
<<\_ACEOF
11262 if test "${HAVE_XIM}" != "no"; then
11263 late_CFLAGS
=$CFLAGS
11264 if test "$GCC" = yes; then
11265 CFLAGS
="$CFLAGS --pedantic-errors"
11267 cat >conftest.
$ac_ext <<_ACEOF
11270 cat confdefs.h
>>conftest.
$ac_ext
11271 cat >>conftest.
$ac_ext <<_ACEOF
11272 /* end confdefs.h. */
11274 #include <X11/Xlib.h>
11275 #include <X11/Xresource.h>
11284 XPointer *client_data;
11286 /* If we're not using GCC, it's probably not XFree86, and this is
11287 probably right, but we can't use something like --pedantic-errors. */
11288 extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
11289 char*, XIMProc, XPointer*);
11291 (void)XRegisterIMInstantiateCallback(display, db, res_name, res_class, callback,
11297 rm -f conftest.
$ac_objext
11298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11299 (eval $ac_compile) 2>conftest.er1
11301 grep -v '^ *+' conftest.er1
>conftest.err
11303 cat conftest.err
>&5
11304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); } &&
11306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11308 (eval $ac_try) 2>&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); }; } &&
11312 { ac_try
='test -s conftest.$ac_objext'
11313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11314 (eval $ac_try) 2>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; }; then
11318 emacs_cv_arg6_star
=yes
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.
$ac_ext >&5
11324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11326 if test "$emacs_cv_arg6_star" = yes; then
11327 cat >>confdefs.h
<<\_ACEOF
11328 #define XRegisterIMInstantiateCallback_arg6 XPointer*
11332 cat >>confdefs.h
<<\_ACEOF
11333 #define XRegisterIMInstantiateCallback_arg6 XPointer
11337 CFLAGS
=$late_CFLAGS
11340 ### Use -lXpm if available, unless `--with-xpm=no'.
11342 if test "${HAVE_X11}" = "yes"; then
11343 if test "${with_xpm}" != "no"; then
11344 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11345 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11346 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
11347 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11348 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11351 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
11353 # Is the header compilable?
11354 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
11355 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
11356 cat >conftest.
$ac_ext <<_ACEOF
11359 cat confdefs.h
>>conftest.
$ac_ext
11360 cat >>conftest.
$ac_ext <<_ACEOF
11361 /* end confdefs.h. */
11362 $ac_includes_default
11363 #include <X11/xpm.h>
11365 rm -f conftest.
$ac_objext
11366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11367 (eval $ac_compile) 2>conftest.er1
11369 grep -v '^ *+' conftest.er1
>conftest.err
11371 cat conftest.err
>&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); } &&
11374 { ac_try
='test -z "$ac_c_werror_flag" || 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_objext'
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_header_compiler
=yes
11388 echo "$as_me: failed program was:" >&5
11389 sed 's/^/| /' conftest.
$ac_ext >&5
11391 ac_header_compiler
=no
11393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11395 echo "${ECHO_T}$ac_header_compiler" >&6
11397 # Is the header present?
11398 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
11399 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
11400 cat >conftest.
$ac_ext <<_ACEOF
11403 cat confdefs.h
>>conftest.
$ac_ext
11404 cat >>conftest.
$ac_ext <<_ACEOF
11405 /* end confdefs.h. */
11406 #include <X11/xpm.h>
11408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11409 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11411 grep -v '^ *+' conftest.er1
>conftest.err
11413 cat conftest.err
>&5
11414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415 (exit $ac_status); } >/dev
/null
; then
11416 if test -s conftest.err
; then
11417 ac_cpp_err
=$ac_c_preproc_warn_flag
11418 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11425 if test -z "$ac_cpp_err"; then
11426 ac_header_preproc
=yes
11428 echo "$as_me: failed program was:" >&5
11429 sed 's/^/| /' conftest.
$ac_ext >&5
11431 ac_header_preproc
=no
11433 rm -f conftest.err conftest.
$ac_ext
11434 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11435 echo "${ECHO_T}$ac_header_preproc" >&6
11437 # So? What about this header?
11438 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11440 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
11441 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11442 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
11443 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
11444 ac_header_preproc
=yes
11447 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
11448 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
11449 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
11450 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
11451 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
11452 echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
11453 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
11454 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
11455 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
11456 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
11457 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
11458 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
11461 ## ------------------------------------------ ##
11462 ## Report this to the AC_PACKAGE_NAME lists. ##
11463 ## ------------------------------------------ ##
11466 sed "s/^/$as_me: WARNING: /" >&2
11469 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11470 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
11471 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11472 echo $ECHO_N "(cached) $ECHO_C" >&6
11474 ac_cv_header_X11_xpm_h
=$ac_header_preproc
11476 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11477 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
11480 if test $ac_cv_header_X11_xpm_h = yes; then
11481 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
11482 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
11483 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
11484 echo $ECHO_N "(cached) $ECHO_C" >&6
11486 ac_check_lib_save_LIBS
=$LIBS
11487 LIBS
="-lXpm -lX11 $LIBS"
11488 cat >conftest.
$ac_ext <<_ACEOF
11491 cat confdefs.h
>>conftest.
$ac_ext
11492 cat >>conftest.
$ac_ext <<_ACEOF
11493 /* end confdefs.h. */
11495 /* Override any gcc2 internal prototype to avoid an error. */
11499 /* We use char because int might match the return type of a gcc2
11500 builtin and then its argument prototype would still apply. */
11501 char XpmReadFileToPixmap ();
11505 XpmReadFileToPixmap ();
11510 rm -f conftest.
$ac_objext conftest
$ac_exeext
11511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11512 (eval $ac_link) 2>conftest.er1
11514 grep -v '^ *+' conftest.er1
>conftest.err
11516 cat conftest.err
>&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); } &&
11519 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try
='test -s conftest$ac_exeext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 ac_cv_lib_Xpm_XpmReadFileToPixmap
=yes
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.
$ac_ext >&5
11536 ac_cv_lib_Xpm_XpmReadFileToPixmap
=no
11538 rm -f conftest.err conftest.
$ac_objext \
11539 conftest
$ac_exeext conftest.
$ac_ext
11540 LIBS
=$ac_check_lib_save_LIBS
11542 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
11543 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
11544 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
11551 if test "${HAVE_XPM}" = "yes"; then
11552 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
11553 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
11554 cat >conftest.
$ac_ext <<_ACEOF
11557 cat confdefs.h
>>conftest.
$ac_ext
11558 cat >>conftest.
$ac_ext <<_ACEOF
11559 /* end confdefs.h. */
11560 #include "X11/xpm.h"
11561 #ifndef XpmReturnAllocPixels
11562 no_return_alloc_pixels
11566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11567 $EGREP "no_return_alloc_pixels" >/dev
/null
2>&1; then
11575 if test "${HAVE_XPM}" = "yes"; then
11576 echo "$as_me:$LINENO: result: yes" >&5
11577 echo "${ECHO_T}yes" >&6
11579 echo "$as_me:$LINENO: result: no" >&5
11580 echo "${ECHO_T}no" >&6
11585 if test "${HAVE_XPM}" = "yes"; then
11587 cat >>confdefs.h
<<\_ACEOF
11594 ### Use -ljpeg if available, unless `--with-jpeg=no'.
11596 if test "${HAVE_X11}" = "yes"; then
11597 if test "${with_jpeg}" != "no"; then
11598 if test "${ac_cv_header_jerror_h+set}" = set; then
11599 echo "$as_me:$LINENO: checking for jerror.h" >&5
11600 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
11601 if test "${ac_cv_header_jerror_h+set}" = set; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11605 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
11607 # Is the header compilable?
11608 echo "$as_me:$LINENO: checking jerror.h usability" >&5
11609 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
11610 cat >conftest.
$ac_ext <<_ACEOF
11613 cat confdefs.h
>>conftest.
$ac_ext
11614 cat >>conftest.
$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11616 $ac_includes_default
11617 #include <jerror.h>
11619 rm -f conftest.
$ac_objext
11620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11621 (eval $ac_compile) 2>conftest.er1
11623 grep -v '^ *+' conftest.er1
>conftest.err
11625 cat conftest.err
>&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } &&
11628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11630 (eval $ac_try) 2>&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; } &&
11634 { ac_try
='test -s conftest.$ac_objext'
11635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636 (eval $ac_try) 2>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }; }; then
11640 ac_header_compiler
=yes
11642 echo "$as_me: failed program was:" >&5
11643 sed 's/^/| /' conftest.
$ac_ext >&5
11645 ac_header_compiler
=no
11647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11649 echo "${ECHO_T}$ac_header_compiler" >&6
11651 # Is the header present?
11652 echo "$as_me:$LINENO: checking jerror.h presence" >&5
11653 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
11654 cat >conftest.
$ac_ext <<_ACEOF
11657 cat confdefs.h
>>conftest.
$ac_ext
11658 cat >>conftest.
$ac_ext <<_ACEOF
11659 /* end confdefs.h. */
11660 #include <jerror.h>
11662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11663 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11665 grep -v '^ *+' conftest.er1
>conftest.err
11667 cat conftest.err
>&5
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); } >/dev
/null
; then
11670 if test -s conftest.err
; then
11671 ac_cpp_err
=$ac_c_preproc_warn_flag
11672 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11679 if test -z "$ac_cpp_err"; then
11680 ac_header_preproc
=yes
11682 echo "$as_me: failed program was:" >&5
11683 sed 's/^/| /' conftest.
$ac_ext >&5
11685 ac_header_preproc
=no
11687 rm -f conftest.err conftest.
$ac_ext
11688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11689 echo "${ECHO_T}$ac_header_preproc" >&6
11691 # So? What about this header?
11692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11694 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
11695 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11696 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
11697 echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
11698 ac_header_preproc
=yes
11701 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
11702 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
11703 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
11704 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
11705 { echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
11706 echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
11707 { echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
11708 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
11709 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
11710 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
11711 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
11712 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
11715 ## ------------------------------------------ ##
11716 ## Report this to the AC_PACKAGE_NAME lists. ##
11717 ## ------------------------------------------ ##
11720 sed "s/^/$as_me: WARNING: /" >&2
11723 echo "$as_me:$LINENO: checking for jerror.h" >&5
11724 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
11725 if test "${ac_cv_header_jerror_h+set}" = set; then
11726 echo $ECHO_N "(cached) $ECHO_C" >&6
11728 ac_cv_header_jerror_h
=$ac_header_preproc
11730 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11731 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
11734 if test $ac_cv_header_jerror_h = yes; then
11735 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
11736 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
11737 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
11738 echo $ECHO_N "(cached) $ECHO_C" >&6
11740 ac_check_lib_save_LIBS
=$LIBS
11741 LIBS
="-ljpeg $LIBS"
11742 cat >conftest.
$ac_ext <<_ACEOF
11745 cat confdefs.h
>>conftest.
$ac_ext
11746 cat >>conftest.
$ac_ext <<_ACEOF
11747 /* end confdefs.h. */
11749 /* Override any gcc2 internal prototype to avoid an error. */
11753 /* We use char because int might match the return type of a gcc2
11754 builtin and then its argument prototype would still apply. */
11755 char jpeg_destroy_compress ();
11759 jpeg_destroy_compress ();
11764 rm -f conftest.
$ac_objext conftest
$ac_exeext
11765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11766 (eval $ac_link) 2>conftest.er1
11768 grep -v '^ *+' conftest.er1
>conftest.err
11770 cat conftest.err
>&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } &&
11773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11775 (eval $ac_try) 2>&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); }; } &&
11779 { ac_try
='test -s conftest$ac_exeext'
11780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11781 (eval $ac_try) 2>&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); }; }; then
11785 ac_cv_lib_jpeg_jpeg_destroy_compress
=yes
11787 echo "$as_me: failed program was:" >&5
11788 sed 's/^/| /' conftest.
$ac_ext >&5
11790 ac_cv_lib_jpeg_jpeg_destroy_compress
=no
11792 rm -f conftest.err conftest.
$ac_objext \
11793 conftest
$ac_exeext conftest.
$ac_ext
11794 LIBS
=$ac_check_lib_save_LIBS
11796 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
11797 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
11798 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
11808 if test "${HAVE_JPEG}" = "yes"; then
11809 cat >>confdefs.h
<<\_ACEOF
11810 #define HAVE_JPEG 1
11813 cat >conftest.
$ac_ext <<_ACEOF
11816 cat confdefs.h
>>conftest.
$ac_ext
11817 cat >>conftest.
$ac_ext <<_ACEOF
11818 /* end confdefs.h. */
11819 #include <jpeglib.h>
11820 version=JPEG_LIB_VERSION
11823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11824 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev
/null
2>&1; then
11825 cat >>confdefs.h
<<\_ACEOF
11826 #define HAVE_JPEG 1
11830 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
11831 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
11839 ### Use -lpng if available, unless `--with-png=no'.
11841 if test "${HAVE_X11}" = "yes"; then
11842 if test "${with_png}" != "no"; then
11843 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h
11844 # in /usr/include/libpng.
11847 for ac_header
in png.h libpng
/png.h
11849 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11851 echo "$as_me:$LINENO: checking for $ac_header" >&5
11852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11854 echo $ECHO_N "(cached) $ECHO_C" >&6
11856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11859 # Is the header compilable?
11860 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11861 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11862 cat >conftest.
$ac_ext <<_ACEOF
11865 cat confdefs.h
>>conftest.
$ac_ext
11866 cat >>conftest.
$ac_ext <<_ACEOF
11867 /* end confdefs.h. */
11868 $ac_includes_default
11869 #include <$ac_header>
11871 rm -f conftest.
$ac_objext
11872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11873 (eval $ac_compile) 2>conftest.er1
11875 grep -v '^ *+' conftest.er1
>conftest.err
11877 cat conftest.err
>&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); } &&
11880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; } &&
11886 { ac_try
='test -s conftest.$ac_objext'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; }; then
11892 ac_header_compiler
=yes
11894 echo "$as_me: failed program was:" >&5
11895 sed 's/^/| /' conftest.
$ac_ext >&5
11897 ac_header_compiler
=no
11899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11901 echo "${ECHO_T}$ac_header_compiler" >&6
11903 # Is the header present?
11904 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11906 cat >conftest.
$ac_ext <<_ACEOF
11909 cat confdefs.h
>>conftest.
$ac_ext
11910 cat >>conftest.
$ac_ext <<_ACEOF
11911 /* end confdefs.h. */
11912 #include <$ac_header>
11914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11915 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11917 grep -v '^ *+' conftest.er1
>conftest.err
11919 cat conftest.err
>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); } >/dev
/null
; then
11922 if test -s conftest.err
; then
11923 ac_cpp_err
=$ac_c_preproc_warn_flag
11924 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11931 if test -z "$ac_cpp_err"; then
11932 ac_header_preproc
=yes
11934 echo "$as_me: failed program was:" >&5
11935 sed 's/^/| /' conftest.
$ac_ext >&5
11937 ac_header_preproc
=no
11939 rm -f conftest.err conftest.
$ac_ext
11940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11941 echo "${ECHO_T}$ac_header_preproc" >&6
11943 # So? What about this header?
11944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11950 ac_header_preproc
=yes
11953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11967 ## ------------------------------------------ ##
11968 ## Report this to the AC_PACKAGE_NAME lists. ##
11969 ## ------------------------------------------ ##
11972 sed "s/^/$as_me: WARNING: /" >&2
11975 echo "$as_me:$LINENO: checking for $ac_header" >&5
11976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11980 eval "$as_ac_Header=\$ac_header_preproc"
11982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11987 cat >>confdefs.h
<<_ACEOF
11988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11995 if test "$ac_cv_header_png_h" = yes ||
test "$ac_cv_header_libpng_png_h" = yes ; then
11996 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
11997 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
11998 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
11999 echo $ECHO_N "(cached) $ECHO_C" >&6
12001 ac_check_lib_save_LIBS
=$LIBS
12002 LIBS
="-lpng -lz -lm $LIBS"
12003 cat >conftest.
$ac_ext <<_ACEOF
12006 cat confdefs.h
>>conftest.
$ac_ext
12007 cat >>conftest.
$ac_ext <<_ACEOF
12008 /* end confdefs.h. */
12010 /* Override any gcc2 internal prototype to avoid an error. */
12014 /* We use char because int might match the return type of a gcc2
12015 builtin and then its argument prototype would still apply. */
12016 char png_get_channels ();
12020 png_get_channels ();
12025 rm -f conftest.
$ac_objext conftest
$ac_exeext
12026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12027 (eval $ac_link) 2>conftest.er1
12029 grep -v '^ *+' conftest.er1
>conftest.err
12031 cat conftest.err
>&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); } &&
12034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12036 (eval $ac_try) 2>&5
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); }; } &&
12040 { ac_try
='test -s conftest$ac_exeext'
12041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12042 (eval $ac_try) 2>&5
12044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12045 (exit $ac_status); }; }; then
12046 ac_cv_lib_png_png_get_channels
=yes
12048 echo "$as_me: failed program was:" >&5
12049 sed 's/^/| /' conftest.
$ac_ext >&5
12051 ac_cv_lib_png_png_get_channels
=no
12053 rm -f conftest.err conftest.
$ac_objext \
12054 conftest
$ac_exeext conftest.
$ac_ext
12055 LIBS
=$ac_check_lib_save_LIBS
12057 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
12058 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
12059 if test $ac_cv_lib_png_png_get_channels = yes; then
12066 if test "${HAVE_PNG}" = "yes"; then
12068 cat >>confdefs.h
<<\_ACEOF
12075 ### Use -ltiff if available, unless `--with-tiff=no'.
12077 if test "${HAVE_X11}" = "yes"; then
12078 if test "${with_tiff}" != "no"; then
12079 if test "${ac_cv_header_tiffio_h+set}" = set; then
12080 echo "$as_me:$LINENO: checking for tiffio.h" >&5
12081 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
12082 if test "${ac_cv_header_tiffio_h+set}" = set; then
12083 echo $ECHO_N "(cached) $ECHO_C" >&6
12085 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
12086 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
12088 # Is the header compilable?
12089 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
12090 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
12091 cat >conftest.
$ac_ext <<_ACEOF
12094 cat confdefs.h
>>conftest.
$ac_ext
12095 cat >>conftest.
$ac_ext <<_ACEOF
12096 /* end confdefs.h. */
12097 $ac_includes_default
12098 #include <tiffio.h>
12100 rm -f conftest.
$ac_objext
12101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12102 (eval $ac_compile) 2>conftest.er1
12104 grep -v '^ *+' conftest.er1
>conftest.err
12106 cat conftest.err
>&5
12107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); } &&
12109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12111 (eval $ac_try) 2>&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); }; } &&
12115 { ac_try
='test -s conftest.$ac_objext'
12116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12117 (eval $ac_try) 2>&5
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); }; }; then
12121 ac_header_compiler
=yes
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.
$ac_ext >&5
12126 ac_header_compiler
=no
12128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12130 echo "${ECHO_T}$ac_header_compiler" >&6
12132 # Is the header present?
12133 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
12134 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
12135 cat >conftest.
$ac_ext <<_ACEOF
12138 cat confdefs.h
>>conftest.
$ac_ext
12139 cat >>conftest.
$ac_ext <<_ACEOF
12140 /* end confdefs.h. */
12141 #include <tiffio.h>
12143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12146 grep -v '^ *+' conftest.er1
>conftest.err
12148 cat conftest.err
>&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); } >/dev
/null
; then
12151 if test -s conftest.err
; then
12152 ac_cpp_err
=$ac_c_preproc_warn_flag
12153 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12160 if test -z "$ac_cpp_err"; then
12161 ac_header_preproc
=yes
12163 echo "$as_me: failed program was:" >&5
12164 sed 's/^/| /' conftest.
$ac_ext >&5
12166 ac_header_preproc
=no
12168 rm -f conftest.err conftest.
$ac_ext
12169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12170 echo "${ECHO_T}$ac_header_preproc" >&6
12172 # So? What about this header?
12173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12175 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
12176 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12177 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
12178 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
12179 ac_header_preproc
=yes
12182 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
12183 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
12184 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
12185 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
12186 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
12187 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
12188 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
12189 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
12190 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
12191 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
12192 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
12193 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
12196 ## ------------------------------------------ ##
12197 ## Report this to the AC_PACKAGE_NAME lists. ##
12198 ## ------------------------------------------ ##
12201 sed "s/^/$as_me: WARNING: /" >&2
12204 echo "$as_me:$LINENO: checking for tiffio.h" >&5
12205 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
12206 if test "${ac_cv_header_tiffio_h+set}" = set; then
12207 echo $ECHO_N "(cached) $ECHO_C" >&6
12209 ac_cv_header_tiffio_h
=$ac_header_preproc
12211 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
12212 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
12215 if test $ac_cv_header_tiffio_h = yes; then
12217 # At least one tiff package requires the jpeg library.
12218 if test "${HAVE_JPEG}" = yes; then tifflibs
="-ljpeg $tifflibs"; fi
12219 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
12220 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
12221 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12224 ac_check_lib_save_LIBS
=$LIBS
12225 LIBS
="-ltiff $tifflibs $LIBS"
12226 cat >conftest.
$ac_ext <<_ACEOF
12229 cat confdefs.h
>>conftest.
$ac_ext
12230 cat >>conftest.
$ac_ext <<_ACEOF
12231 /* end confdefs.h. */
12233 /* Override any gcc2 internal prototype to avoid an error. */
12237 /* We use char because int might match the return type of a gcc2
12238 builtin and then its argument prototype would still apply. */
12239 char TIFFGetVersion ();
12248 rm -f conftest.
$ac_objext conftest
$ac_exeext
12249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12250 (eval $ac_link) 2>conftest.er1
12252 grep -v '^ *+' conftest.er1
>conftest.err
12254 cat conftest.err
>&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } &&
12257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; } &&
12263 { ac_try
='test -s conftest$ac_exeext'
12264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12265 (eval $ac_try) 2>&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); }; }; then
12269 ac_cv_lib_tiff_TIFFGetVersion
=yes
12271 echo "$as_me: failed program was:" >&5
12272 sed 's/^/| /' conftest.
$ac_ext >&5
12274 ac_cv_lib_tiff_TIFFGetVersion
=no
12276 rm -f conftest.err conftest.
$ac_objext \
12277 conftest
$ac_exeext conftest.
$ac_ext
12278 LIBS
=$ac_check_lib_save_LIBS
12280 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
12281 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
12282 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
12291 if test "${HAVE_TIFF}" = "yes"; then
12293 cat >>confdefs.h
<<\_ACEOF
12294 #define HAVE_TIFF 1
12300 ### Use -lgif if available, unless `--with-gif=no'.
12302 if test "${HAVE_X11}" = "yes"; then
12303 if test "${with_gif}" != "no"; then
12304 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12305 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12306 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
12307 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12308 echo $ECHO_N "(cached) $ECHO_C" >&6
12310 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12311 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
12313 # Is the header compilable?
12314 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
12315 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
12316 cat >conftest.
$ac_ext <<_ACEOF
12319 cat confdefs.h
>>conftest.
$ac_ext
12320 cat >>conftest.
$ac_ext <<_ACEOF
12321 /* end confdefs.h. */
12322 $ac_includes_default
12323 #include <gif_lib.h>
12325 rm -f conftest.
$ac_objext
12326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12327 (eval $ac_compile) 2>conftest.er1
12329 grep -v '^ *+' conftest.er1
>conftest.err
12331 cat conftest.err
>&5
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); } &&
12334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12336 (eval $ac_try) 2>&5
12338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; } &&
12340 { ac_try
='test -s conftest.$ac_objext'
12341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12342 (eval $ac_try) 2>&5
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); }; }; then
12346 ac_header_compiler
=yes
12348 echo "$as_me: failed program was:" >&5
12349 sed 's/^/| /' conftest.
$ac_ext >&5
12351 ac_header_compiler
=no
12353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12355 echo "${ECHO_T}$ac_header_compiler" >&6
12357 # Is the header present?
12358 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
12359 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
12360 cat >conftest.
$ac_ext <<_ACEOF
12363 cat confdefs.h
>>conftest.
$ac_ext
12364 cat >>conftest.
$ac_ext <<_ACEOF
12365 /* end confdefs.h. */
12366 #include <gif_lib.h>
12368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12371 grep -v '^ *+' conftest.er1
>conftest.err
12373 cat conftest.err
>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); } >/dev
/null
; then
12376 if test -s conftest.err
; then
12377 ac_cpp_err
=$ac_c_preproc_warn_flag
12378 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12385 if test -z "$ac_cpp_err"; then
12386 ac_header_preproc
=yes
12388 echo "$as_me: failed program was:" >&5
12389 sed 's/^/| /' conftest.
$ac_ext >&5
12391 ac_header_preproc
=no
12393 rm -f conftest.err conftest.
$ac_ext
12394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12395 echo "${ECHO_T}$ac_header_preproc" >&6
12397 # So? What about this header?
12398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12400 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12401 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12402 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
12403 echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
12404 ac_header_preproc
=yes
12407 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
12408 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
12409 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
12410 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
12411 { echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
12412 echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
12413 { echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
12414 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12415 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
12416 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
12417 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
12418 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
12421 ## ------------------------------------------ ##
12422 ## Report this to the AC_PACKAGE_NAME lists. ##
12423 ## ------------------------------------------ ##
12426 sed "s/^/$as_me: WARNING: /" >&2
12429 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12430 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
12431 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12432 echo $ECHO_N "(cached) $ECHO_C" >&6
12434 ac_cv_header_gif_lib_h
=$ac_header_preproc
12436 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12437 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
12440 if test $ac_cv_header_gif_lib_h = yes; then
12441 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
12442 # Earlier versions can crash Emacs.
12443 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
12444 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
12445 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
12446 echo $ECHO_N "(cached) $ECHO_C" >&6
12448 ac_check_lib_save_LIBS
=$LIBS
12449 LIBS
="-lungif $LIBS"
12450 cat >conftest.
$ac_ext <<_ACEOF
12453 cat confdefs.h
>>conftest.
$ac_ext
12454 cat >>conftest.
$ac_ext <<_ACEOF
12455 /* end confdefs.h. */
12457 /* Override any gcc2 internal prototype to avoid an error. */
12461 /* We use char because int might match the return type of a gcc2
12462 builtin and then its argument prototype would still apply. */
12463 char EGifPutExtensionLast ();
12467 EGifPutExtensionLast ();
12472 rm -f conftest.
$ac_objext conftest
$ac_exeext
12473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12474 (eval $ac_link) 2>conftest.er1
12476 grep -v '^ *+' conftest.er1
>conftest.err
12478 cat conftest.err
>&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); } &&
12481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12483 (eval $ac_try) 2>&5
12485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); }; } &&
12487 { ac_try
='test -s conftest$ac_exeext'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; }; then
12493 ac_cv_lib_ungif_EGifPutExtensionLast
=yes
12495 echo "$as_me: failed program was:" >&5
12496 sed 's/^/| /' conftest.
$ac_ext >&5
12498 ac_cv_lib_ungif_EGifPutExtensionLast
=no
12500 rm -f conftest.err conftest.
$ac_objext \
12501 conftest
$ac_exeext conftest.
$ac_ext
12502 LIBS
=$ac_check_lib_save_LIBS
12504 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
12505 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
12506 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
12515 if test "${HAVE_GIF}" = "yes"; then
12517 cat >>confdefs.h
<<\_ACEOF
12524 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12525 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
12526 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6
12527 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12528 echo $ECHO_N "(cached) $ECHO_C" >&6
12530 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
12531 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6
12533 # Is the header compilable?
12534 echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
12535 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6
12536 cat >conftest.
$ac_ext <<_ACEOF
12539 cat confdefs.h
>>conftest.
$ac_ext
12540 cat >>conftest.
$ac_ext <<_ACEOF
12541 /* end confdefs.h. */
12542 $ac_includes_default
12543 #include <malloc/malloc.h>
12545 rm -f conftest.
$ac_objext
12546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12547 (eval $ac_compile) 2>conftest.er1
12549 grep -v '^ *+' conftest.er1
>conftest.err
12551 cat conftest.err
>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); } &&
12554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; } &&
12560 { ac_try
='test -s conftest.$ac_objext'
12561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12562 (eval $ac_try) 2>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; }; then
12566 ac_header_compiler
=yes
12568 echo "$as_me: failed program was:" >&5
12569 sed 's/^/| /' conftest.
$ac_ext >&5
12571 ac_header_compiler
=no
12573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12574 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12575 echo "${ECHO_T}$ac_header_compiler" >&6
12577 # Is the header present?
12578 echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
12579 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6
12580 cat >conftest.
$ac_ext <<_ACEOF
12583 cat confdefs.h
>>conftest.
$ac_ext
12584 cat >>conftest.
$ac_ext <<_ACEOF
12585 /* end confdefs.h. */
12586 #include <malloc/malloc.h>
12588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12591 grep -v '^ *+' conftest.er1
>conftest.err
12593 cat conftest.err
>&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } >/dev
/null
; then
12596 if test -s conftest.err
; then
12597 ac_cpp_err
=$ac_c_preproc_warn_flag
12598 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12605 if test -z "$ac_cpp_err"; then
12606 ac_header_preproc
=yes
12608 echo "$as_me: failed program was:" >&5
12609 sed 's/^/| /' conftest.
$ac_ext >&5
12611 ac_header_preproc
=no
12613 rm -f conftest.err conftest.
$ac_ext
12614 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12615 echo "${ECHO_T}$ac_header_preproc" >&6
12617 # So? What about this header?
12618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12620 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
12621 echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12622 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5
12623 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;}
12624 ac_header_preproc
=yes
12627 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5
12628 echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;}
12629 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5
12630 echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;}
12631 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5
12632 echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;}
12633 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5
12634 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
12635 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
12636 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
12637 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
12638 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
12641 ## ------------------------------------------ ##
12642 ## Report this to the AC_PACKAGE_NAME lists. ##
12643 ## ------------------------------------------ ##
12646 sed "s/^/$as_me: WARNING: /" >&2
12649 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
12650 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6
12651 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12652 echo $ECHO_N "(cached) $ECHO_C" >&6
12654 ac_cv_header_malloc_malloc_h
=$ac_header_preproc
12656 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
12657 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6
12660 if test $ac_cv_header_malloc_malloc_h = yes; then
12662 cat >>confdefs.h
<<\_ACEOF
12663 #define HAVE_MALLOC_MALLOC_H 1
12670 ### Use Mac OS X Carbon API to implement GUI.
12671 if test "${HAVE_CARBON}" = "yes"; then
12673 cat >>confdefs.h
<<\_ACEOF
12674 #define HAVE_CARBON 1
12677 ## Specify the install directory
12679 if test "${carbon_appdir_x}" != ""; then
12680 case ${carbon_appdir_x} in
12681 y | ye |
yes) carbon_appdir
=/Applications
;;
12682 * ) carbon_appdir
=${carbon_appdir_x} ;;
12685 # We also have mouse menus.
12688 tmp_CFLAGS
="$CFLAGS"
12689 CFLAGS
="$CFLAGS -framework Carbon"
12690 echo "$as_me:$LINENO: checking for CancelMenuTracking" >&5
12691 echo $ECHO_N "checking for CancelMenuTracking... $ECHO_C" >&6
12692 if test "${ac_cv_func_CancelMenuTracking+set}" = set; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12695 cat >conftest.
$ac_ext <<_ACEOF
12698 cat confdefs.h
>>conftest.
$ac_ext
12699 cat >>conftest.
$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12701 /* Define CancelMenuTracking to an innocuous variant, in case <limits.h> declares CancelMenuTracking.
12702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12703 #define CancelMenuTracking innocuous_CancelMenuTracking
12705 /* System header to define __stub macros and hopefully few prototypes,
12706 which can conflict with char CancelMenuTracking (); below.
12707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12708 <limits.h> exists even on freestanding compilers. */
12711 # include <limits.h>
12713 # include <assert.h>
12716 #undef CancelMenuTracking
12718 /* Override any gcc2 internal prototype to avoid an error. */
12723 /* We use char because int might match the return type of a gcc2
12724 builtin and then its argument prototype would still apply. */
12725 char CancelMenuTracking ();
12726 /* The GNU C library defines this for functions which it implements
12727 to always fail with ENOSYS. Some functions are actually named
12728 something starting with __ and the normal name is an alias. */
12729 #if defined (__stub_CancelMenuTracking) || defined (__stub___CancelMenuTracking)
12732 char (*f) () = CancelMenuTracking;
12741 return f != CancelMenuTracking;
12746 rm -f conftest.
$ac_objext conftest
$ac_exeext
12747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12748 (eval $ac_link) 2>conftest.er1
12750 grep -v '^ *+' conftest.er1
>conftest.err
12752 cat conftest.err
>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; } &&
12761 { ac_try
='test -s conftest$ac_exeext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 ac_cv_func_CancelMenuTracking
=yes
12769 echo "$as_me: failed program was:" >&5
12770 sed 's/^/| /' conftest.
$ac_ext >&5
12772 ac_cv_func_CancelMenuTracking
=no
12774 rm -f conftest.err conftest.
$ac_objext \
12775 conftest
$ac_exeext conftest.
$ac_ext
12777 echo "$as_me:$LINENO: result: $ac_cv_func_CancelMenuTracking" >&5
12778 echo "${ECHO_T}$ac_cv_func_CancelMenuTracking" >&6
12779 if test $ac_cv_func_CancelMenuTracking = yes; then
12785 if test "$have_cmt" = yes; then
12787 cat >>confdefs.h
<<\_ACEOF
12788 #define HAVE_CANCELMENUTRACKING 1
12792 CFLAGS
="$tmp_CFLAGS"
12795 ### Use session management (-lSM -lICE) if available
12797 if test "${HAVE_X11}" = "yes"; then
12798 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12799 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12800 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12801 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12804 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12805 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12807 # Is the header compilable?
12808 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
12809 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
12810 cat >conftest.
$ac_ext <<_ACEOF
12813 cat confdefs.h
>>conftest.
$ac_ext
12814 cat >>conftest.
$ac_ext <<_ACEOF
12815 /* end confdefs.h. */
12816 $ac_includes_default
12817 #include <X11/SM/SMlib.h>
12819 rm -f conftest.
$ac_objext
12820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12821 (eval $ac_compile) 2>conftest.er1
12823 grep -v '^ *+' conftest.er1
>conftest.err
12825 cat conftest.err
>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } &&
12828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; } &&
12834 { ac_try
='test -s conftest.$ac_objext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12840 ac_header_compiler
=yes
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.
$ac_ext >&5
12845 ac_header_compiler
=no
12847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12849 echo "${ECHO_T}$ac_header_compiler" >&6
12851 # Is the header present?
12852 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
12853 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
12854 cat >conftest.
$ac_ext <<_ACEOF
12857 cat confdefs.h
>>conftest.
$ac_ext
12858 cat >>conftest.
$ac_ext <<_ACEOF
12859 /* end confdefs.h. */
12860 #include <X11/SM/SMlib.h>
12862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12863 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12865 grep -v '^ *+' conftest.er1
>conftest.err
12867 cat conftest.err
>&5
12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 (exit $ac_status); } >/dev
/null
; then
12870 if test -s conftest.err
; then
12871 ac_cpp_err
=$ac_c_preproc_warn_flag
12872 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12879 if test -z "$ac_cpp_err"; then
12880 ac_header_preproc
=yes
12882 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.
$ac_ext >&5
12885 ac_header_preproc
=no
12887 rm -f conftest.err conftest.
$ac_ext
12888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12889 echo "${ECHO_T}$ac_header_preproc" >&6
12891 # So? What about this header?
12892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12894 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12895 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12896 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
12897 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
12898 ac_header_preproc
=yes
12901 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
12902 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
12903 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
12904 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
12905 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
12906 echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
12907 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
12908 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12909 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
12910 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
12911 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
12912 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
12915 ## ------------------------------------------ ##
12916 ## Report this to the AC_PACKAGE_NAME lists. ##
12917 ## ------------------------------------------ ##
12920 sed "s/^/$as_me: WARNING: /" >&2
12923 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
12924 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
12925 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
12926 echo $ECHO_N "(cached) $ECHO_C" >&6
12928 ac_cv_header_X11_SM_SMlib_h
=$ac_header_preproc
12930 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
12931 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
12934 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
12935 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
12936 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
12937 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
12938 echo $ECHO_N "(cached) $ECHO_C" >&6
12940 ac_check_lib_save_LIBS
=$LIBS
12941 LIBS
="-lSM -lICE $LIBS"
12942 cat >conftest.
$ac_ext <<_ACEOF
12945 cat confdefs.h
>>conftest.
$ac_ext
12946 cat >>conftest.
$ac_ext <<_ACEOF
12947 /* end confdefs.h. */
12949 /* Override any gcc2 internal prototype to avoid an error. */
12953 /* We use char because int might match the return type of a gcc2
12954 builtin and then its argument prototype would still apply. */
12955 char SmcOpenConnection ();
12959 SmcOpenConnection ();
12964 rm -f conftest.
$ac_objext conftest
$ac_exeext
12965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12966 (eval $ac_link) 2>conftest.er1
12968 grep -v '^ *+' conftest.er1
>conftest.err
12970 cat conftest.err
>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); } &&
12973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975 (eval $ac_try) 2>&5
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); }; } &&
12979 { ac_try
='test -s conftest$ac_exeext'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981 (eval $ac_try) 2>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; }; then
12985 ac_cv_lib_SM_SmcOpenConnection
=yes
12987 echo "$as_me: failed program was:" >&5
12988 sed 's/^/| /' conftest.
$ac_ext >&5
12990 ac_cv_lib_SM_SmcOpenConnection
=no
12992 rm -f conftest.err conftest.
$ac_objext \
12993 conftest
$ac_exeext conftest.
$ac_ext
12994 LIBS
=$ac_check_lib_save_LIBS
12996 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
12997 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
12998 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
13006 if test "${HAVE_X_SM}" = "yes"; then
13008 cat >>confdefs.h
<<\_ACEOF
13009 #define HAVE_X_SM 1
13014 *) LIBS
="-lSM -lICE $LIBS" ;;
13019 # If netdb.h doesn't declare h_errno, we must declare it by hand.
13020 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
13021 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
13022 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
13023 echo $ECHO_N "(cached) $ECHO_C" >&6
13025 cat >conftest.
$ac_ext <<_ACEOF
13028 cat confdefs.h
>>conftest.
$ac_ext
13029 cat >>conftest.
$ac_ext <<_ACEOF
13030 /* end confdefs.h. */
13040 rm -f conftest.
$ac_objext conftest
$ac_exeext
13041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13042 (eval $ac_link) 2>conftest.er1
13044 grep -v '^ *+' conftest.er1
>conftest.err
13046 cat conftest.err
>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); } &&
13049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; } &&
13055 { ac_try
='test -s conftest$ac_exeext'
13056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13057 (eval $ac_try) 2>&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); }; }; then
13061 emacs_cv_netdb_declares_h_errno
=yes
13063 echo "$as_me: failed program was:" >&5
13064 sed 's/^/| /' conftest.
$ac_ext >&5
13066 emacs_cv_netdb_declares_h_errno
=no
13068 rm -f conftest.err conftest.
$ac_objext \
13069 conftest
$ac_exeext conftest.
$ac_ext
13071 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
13072 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
13073 if test $emacs_cv_netdb_declares_h_errno = yes; then
13075 cat >>confdefs.h
<<\_ACEOF
13076 #define HAVE_H_ERRNO 1
13081 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13082 # for constant arguments. Useless!
13083 echo "$as_me:$LINENO: checking for working alloca.h" >&5
13084 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
13085 if test "${ac_cv_working_alloca_h+set}" = set; then
13086 echo $ECHO_N "(cached) $ECHO_C" >&6
13088 cat >conftest.
$ac_ext <<_ACEOF
13091 cat confdefs.h
>>conftest.
$ac_ext
13092 cat >>conftest.
$ac_ext <<_ACEOF
13093 /* end confdefs.h. */
13094 #include <alloca.h>
13098 char *p = (char *) alloca (2 * sizeof (int));
13103 rm -f conftest.
$ac_objext conftest
$ac_exeext
13104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13105 (eval $ac_link) 2>conftest.er1
13107 grep -v '^ *+' conftest.er1
>conftest.err
13109 cat conftest.err
>&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); } &&
13112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; } &&
13118 { ac_try
='test -s conftest$ac_exeext'
13119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120 (eval $ac_try) 2>&5
13122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 (exit $ac_status); }; }; then
13124 ac_cv_working_alloca_h
=yes
13126 echo "$as_me: failed program was:" >&5
13127 sed 's/^/| /' conftest.
$ac_ext >&5
13129 ac_cv_working_alloca_h
=no
13131 rm -f conftest.err conftest.
$ac_objext \
13132 conftest
$ac_exeext conftest.
$ac_ext
13134 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
13135 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
13136 if test $ac_cv_working_alloca_h = yes; then
13138 cat >>confdefs.h
<<\_ACEOF
13139 #define HAVE_ALLOCA_H 1
13144 echo "$as_me:$LINENO: checking for alloca" >&5
13145 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
13146 if test "${ac_cv_func_alloca_works+set}" = set; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6
13149 cat >conftest.
$ac_ext <<_ACEOF
13152 cat confdefs.h
>>conftest.
$ac_ext
13153 cat >>conftest.
$ac_ext <<_ACEOF
13154 /* end confdefs.h. */
13156 # define alloca __builtin_alloca
13159 # include <malloc.h>
13160 # define alloca _alloca
13163 # include <alloca.h>
13168 # ifndef alloca /* predefined by HP cc +Olibcalls */
13179 char *p = (char *) alloca (1);
13184 rm -f conftest.
$ac_objext conftest
$ac_exeext
13185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13186 (eval $ac_link) 2>conftest.er1
13188 grep -v '^ *+' conftest.er1
>conftest.err
13190 cat conftest.err
>&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } &&
13193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13195 (eval $ac_try) 2>&5
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); }; } &&
13199 { ac_try
='test -s conftest$ac_exeext'
13200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13201 (eval $ac_try) 2>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); }; }; then
13205 ac_cv_func_alloca_works
=yes
13207 echo "$as_me: failed program was:" >&5
13208 sed 's/^/| /' conftest.
$ac_ext >&5
13210 ac_cv_func_alloca_works
=no
13212 rm -f conftest.err conftest.
$ac_objext \
13213 conftest
$ac_exeext conftest.
$ac_ext
13215 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13216 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
13218 if test $ac_cv_func_alloca_works = yes; then
13220 cat >>confdefs.h
<<\_ACEOF
13221 #define HAVE_ALLOCA 1
13225 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13226 # that cause trouble. Some versions do not even contain alloca or
13227 # contain a buggy version. If you still want to use their alloca,
13228 # use ar to extract alloca.o from them instead of compiling alloca.c.
13230 ALLOCA
=alloca.
$ac_objext
13232 cat >>confdefs.h
<<\_ACEOF
13237 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
13238 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
13239 if test "${ac_cv_os_cray+set}" = set; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13242 cat >conftest.
$ac_ext <<_ACEOF
13245 cat confdefs.h
>>conftest.
$ac_ext
13246 cat >>conftest.
$ac_ext <<_ACEOF
13247 /* end confdefs.h. */
13248 #if defined(CRAY) && ! defined(CRAY2)
13255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13256 $EGREP "webecray" >/dev
/null
2>&1; then
13264 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
13265 echo "${ECHO_T}$ac_cv_os_cray" >&6
13266 if test $ac_cv_os_cray = yes; then
13267 for ac_func
in _getb67 GETB67 getb67
; do
13268 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13269 echo "$as_me:$LINENO: checking for $ac_func" >&5
13270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13271 if eval "test \"\${$as_ac_var+set}\" = set"; then
13272 echo $ECHO_N "(cached) $ECHO_C" >&6
13274 cat >conftest.
$ac_ext <<_ACEOF
13277 cat confdefs.h
>>conftest.
$ac_ext
13278 cat >>conftest.
$ac_ext <<_ACEOF
13279 /* end confdefs.h. */
13280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13282 #define $ac_func innocuous_$ac_func
13284 /* System header to define __stub macros and hopefully few prototypes,
13285 which can conflict with char $ac_func (); below.
13286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13287 <limits.h> exists even on freestanding compilers. */
13290 # include <limits.h>
13292 # include <assert.h>
13297 /* Override any gcc2 internal prototype to avoid an error. */
13302 /* We use char because int might match the return type of a gcc2
13303 builtin and then its argument prototype would still apply. */
13305 /* The GNU C library defines this for functions which it implements
13306 to always fail with ENOSYS. Some functions are actually named
13307 something starting with __ and the normal name is an alias. */
13308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13311 char (*f) () = $ac_func;
13320 return f != $ac_func;
13325 rm -f conftest.
$ac_objext conftest
$ac_exeext
13326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13327 (eval $ac_link) 2>conftest.er1
13329 grep -v '^ *+' conftest.er1
>conftest.err
13331 cat conftest.err
>&5
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); } &&
13334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13336 (eval $ac_try) 2>&5
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); }; } &&
13340 { ac_try
='test -s conftest$ac_exeext'
13341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13342 (eval $ac_try) 2>&5
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); }; }; then
13346 eval "$as_ac_var=yes"
13348 echo "$as_me: failed program was:" >&5
13349 sed 's/^/| /' conftest.
$ac_ext >&5
13351 eval "$as_ac_var=no"
13353 rm -f conftest.err conftest.
$ac_objext \
13354 conftest
$ac_exeext conftest.
$ac_ext
13356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13358 if test `eval echo '${'$as_ac_var'}'` = yes; then
13360 cat >>confdefs.h
<<_ACEOF
13361 #define CRAY_STACKSEG_END $ac_func
13370 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13371 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
13372 if test "${ac_cv_c_stack_direction+set}" = set; then
13373 echo $ECHO_N "(cached) $ECHO_C" >&6
13375 if test "$cross_compiling" = yes; then
13376 ac_cv_c_stack_direction
=0
13378 cat >conftest.
$ac_ext <<_ACEOF
13381 cat confdefs.h
>>conftest.
$ac_ext
13382 cat >>conftest.
$ac_ext <<_ACEOF
13383 /* end confdefs.h. */
13385 find_stack_direction ()
13387 static char *addr = 0;
13392 return find_stack_direction ();
13395 return (&dummy > addr) ? 1 : -1;
13401 exit (find_stack_direction () < 0);
13404 rm -f conftest
$ac_exeext
13405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13406 (eval $ac_link) 2>&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13411 (eval $ac_try) 2>&5
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); }; }; then
13415 ac_cv_c_stack_direction
=1
13417 echo "$as_me: program exited with status $ac_status" >&5
13418 echo "$as_me: failed program was:" >&5
13419 sed 's/^/| /' conftest.
$ac_ext >&5
13421 ( exit $ac_status )
13422 ac_cv_c_stack_direction
=-1
13424 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13427 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
13428 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
13430 cat >>confdefs.h
<<_ACEOF
13431 #define STACK_DIRECTION $ac_cv_c_stack_direction
13438 # fmod, logb, and frexp are found in -lm on most systems.
13439 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
13441 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
13442 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
13443 if test "${ac_cv_lib_m_sqrt+set}" = set; then
13444 echo $ECHO_N "(cached) $ECHO_C" >&6
13446 ac_check_lib_save_LIBS
=$LIBS
13448 cat >conftest.
$ac_ext <<_ACEOF
13451 cat confdefs.h
>>conftest.
$ac_ext
13452 cat >>conftest.
$ac_ext <<_ACEOF
13453 /* end confdefs.h. */
13455 /* Override any gcc2 internal prototype to avoid an error. */
13459 /* We use char because int might match the return type of a gcc2
13460 builtin and then its argument prototype would still apply. */
13470 rm -f conftest.
$ac_objext conftest
$ac_exeext
13471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13472 (eval $ac_link) 2>conftest.er1
13474 grep -v '^ *+' conftest.er1
>conftest.err
13476 cat conftest.err
>&5
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); } &&
13479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13481 (eval $ac_try) 2>&5
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); }; } &&
13485 { ac_try
='test -s conftest$ac_exeext'
13486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13487 (eval $ac_try) 2>&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); }; }; then
13491 ac_cv_lib_m_sqrt
=yes
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.
$ac_ext >&5
13496 ac_cv_lib_m_sqrt
=no
13498 rm -f conftest.err conftest.
$ac_objext \
13499 conftest
$ac_exeext conftest.
$ac_ext
13500 LIBS
=$ac_check_lib_save_LIBS
13502 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
13503 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
13504 if test $ac_cv_lib_m_sqrt = yes; then
13505 cat >>confdefs.h
<<_ACEOF
13506 #define HAVE_LIBM 1
13514 # Check for mail-locking functions in a "mail" library. Probably this should
13515 # have the same check as for liblockfile below.
13517 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
13518 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
13519 if test "${ac_cv_lib_mail_maillock+set}" = set; then
13520 echo $ECHO_N "(cached) $ECHO_C" >&6
13522 ac_check_lib_save_LIBS
=$LIBS
13523 LIBS
="-lmail $LIBS"
13524 cat >conftest.
$ac_ext <<_ACEOF
13527 cat confdefs.h
>>conftest.
$ac_ext
13528 cat >>conftest.
$ac_ext <<_ACEOF
13529 /* end confdefs.h. */
13531 /* Override any gcc2 internal prototype to avoid an error. */
13535 /* We use char because int might match the return type of a gcc2
13536 builtin and then its argument prototype would still apply. */
13546 rm -f conftest.
$ac_objext conftest
$ac_exeext
13547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13548 (eval $ac_link) 2>conftest.er1
13550 grep -v '^ *+' conftest.er1
>conftest.err
13552 cat conftest.err
>&5
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); } &&
13555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13557 (eval $ac_try) 2>&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); }; } &&
13561 { ac_try
='test -s conftest$ac_exeext'
13562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13563 (eval $ac_try) 2>&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); }; }; then
13567 ac_cv_lib_mail_maillock
=yes
13569 echo "$as_me: failed program was:" >&5
13570 sed 's/^/| /' conftest.
$ac_ext >&5
13572 ac_cv_lib_mail_maillock
=no
13574 rm -f conftest.err conftest.
$ac_objext \
13575 conftest
$ac_exeext conftest.
$ac_ext
13576 LIBS
=$ac_check_lib_save_LIBS
13578 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
13579 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
13580 if test $ac_cv_lib_mail_maillock = yes; then
13581 cat >>confdefs.h
<<_ACEOF
13582 #define HAVE_LIBMAIL 1
13585 LIBS
="-lmail $LIBS"
13590 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
13591 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
13592 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
13593 echo $ECHO_N "(cached) $ECHO_C" >&6
13595 ac_check_lib_save_LIBS
=$LIBS
13596 LIBS
="-llockfile $LIBS"
13597 cat >conftest.
$ac_ext <<_ACEOF
13600 cat confdefs.h
>>conftest.
$ac_ext
13601 cat >>conftest.
$ac_ext <<_ACEOF
13602 /* end confdefs.h. */
13604 /* Override any gcc2 internal prototype to avoid an error. */
13608 /* We use char because int might match the return type of a gcc2
13609 builtin and then its argument prototype would still apply. */
13619 rm -f conftest.
$ac_objext conftest
$ac_exeext
13620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13621 (eval $ac_link) 2>conftest.er1
13623 grep -v '^ *+' conftest.er1
>conftest.err
13625 cat conftest.err
>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); } &&
13628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 (eval $ac_try) 2>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; } &&
13634 { ac_try
='test -s conftest$ac_exeext'
13635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13636 (eval $ac_try) 2>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); }; }; then
13640 ac_cv_lib_lockfile_maillock
=yes
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.
$ac_ext >&5
13645 ac_cv_lib_lockfile_maillock
=no
13647 rm -f conftest.err conftest.
$ac_objext \
13648 conftest
$ac_exeext conftest.
$ac_ext
13649 LIBS
=$ac_check_lib_save_LIBS
13651 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
13652 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
13653 if test $ac_cv_lib_lockfile_maillock = yes; then
13654 cat >>confdefs.h
<<_ACEOF
13655 #define HAVE_LIBLOCKFILE 1
13658 LIBS
="-llockfile $LIBS"
13662 # If we have the shared liblockfile, assume we must use it for mail
13663 # locking (e.g. Debian). If we couldn't link against liblockfile
13664 # (no liblockfile.a installed), ensure that we don't need to.
13665 if test "$ac_cv_lib_lockfile_maillock" = no
; then
13666 # Extract the first word of "liblockfile.so", so it can be a program name with args.
13667 set dummy liblockfile.so
; ac_word
=$2
13668 echo "$as_me:$LINENO: checking for $ac_word" >&5
13669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13670 if test "${ac_cv_prog_liblockfile+set}" = set; then
13671 echo $ECHO_N "(cached) $ECHO_C" >&6
13673 if test -n "$liblockfile"; then
13674 ac_cv_prog_liblockfile
="$liblockfile" # Let the user override the test.
13676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13677 as_dummy
="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
13678 for as_dir
in $as_dummy
13681 test -z "$as_dir" && as_dir
=.
13682 for ac_exec_ext
in '' $ac_executable_extensions; do
13683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13684 ac_cv_prog_liblockfile
="yes"
13685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13691 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile
="no"
13694 liblockfile
=$ac_cv_prog_liblockfile
13695 if test -n "$liblockfile"; then
13696 echo "$as_me:$LINENO: result: $liblockfile" >&5
13697 echo "${ECHO_T}$liblockfile" >&6
13699 echo "$as_me:$LINENO: result: no" >&5
13700 echo "${ECHO_T}no" >&6
13703 if test $ac_cv_prog_liblockfile = yes; then
13704 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
13705 This probably means that movemail could lose mail.
13706 There may be a \`development' package to install containing liblockfile." >&5
13707 echo "$as_me: error: Shared liblockfile found but can't link against it.
13708 This probably means that movemail could lose mail.
13709 There may be a \`development' package to install containing liblockfile." >&2;}
13710 { (exit 1); exit 1; }; }
13715 for ac_func
in touchlock
13717 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13718 echo "$as_me:$LINENO: checking for $ac_func" >&5
13719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13720 if eval "test \"\${$as_ac_var+set}\" = set"; then
13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13723 cat >conftest.
$ac_ext <<_ACEOF
13726 cat confdefs.h
>>conftest.
$ac_ext
13727 cat >>conftest.
$ac_ext <<_ACEOF
13728 /* end confdefs.h. */
13729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13731 #define $ac_func innocuous_$ac_func
13733 /* System header to define __stub macros and hopefully few prototypes,
13734 which can conflict with char $ac_func (); below.
13735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13736 <limits.h> exists even on freestanding compilers. */
13739 # include <limits.h>
13741 # include <assert.h>
13746 /* Override any gcc2 internal prototype to avoid an error. */
13751 /* We use char because int might match the return type of a gcc2
13752 builtin and then its argument prototype would still apply. */
13754 /* The GNU C library defines this for functions which it implements
13755 to always fail with ENOSYS. Some functions are actually named
13756 something starting with __ and the normal name is an alias. */
13757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13760 char (*f) () = $ac_func;
13769 return f != $ac_func;
13774 rm -f conftest.
$ac_objext conftest
$ac_exeext
13775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13776 (eval $ac_link) 2>conftest.er1
13778 grep -v '^ *+' conftest.er1
>conftest.err
13780 cat conftest.err
>&5
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } &&
13783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13785 (eval $ac_try) 2>&5
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); }; } &&
13789 { ac_try
='test -s conftest$ac_exeext'
13790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13791 (eval $ac_try) 2>&5
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 (exit $ac_status); }; }; then
13795 eval "$as_ac_var=yes"
13797 echo "$as_me: failed program was:" >&5
13798 sed 's/^/| /' conftest.
$ac_ext >&5
13800 eval "$as_ac_var=no"
13802 rm -f conftest.err conftest.
$ac_objext \
13803 conftest
$ac_exeext conftest.
$ac_ext
13805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13807 if test `eval echo '${'$as_ac_var'}'` = yes; then
13808 cat >>confdefs.h
<<_ACEOF
13809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13816 for ac_header
in maillock.h
13818 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13820 echo "$as_me:$LINENO: checking for $ac_header" >&5
13821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13823 echo $ECHO_N "(cached) $ECHO_C" >&6
13825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13828 # Is the header compilable?
13829 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13830 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13831 cat >conftest.
$ac_ext <<_ACEOF
13834 cat confdefs.h
>>conftest.
$ac_ext
13835 cat >>conftest.
$ac_ext <<_ACEOF
13836 /* end confdefs.h. */
13837 $ac_includes_default
13838 #include <$ac_header>
13840 rm -f conftest.
$ac_objext
13841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13842 (eval $ac_compile) 2>conftest.er1
13844 grep -v '^ *+' conftest.er1
>conftest.err
13846 cat conftest.err
>&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); } &&
13849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851 (eval $ac_try) 2>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; } &&
13855 { ac_try
='test -s conftest.$ac_objext'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; }; then
13861 ac_header_compiler
=yes
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.
$ac_ext >&5
13866 ac_header_compiler
=no
13868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13869 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13870 echo "${ECHO_T}$ac_header_compiler" >&6
13872 # Is the header present?
13873 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13874 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13875 cat >conftest.
$ac_ext <<_ACEOF
13878 cat confdefs.h
>>conftest.
$ac_ext
13879 cat >>conftest.
$ac_ext <<_ACEOF
13880 /* end confdefs.h. */
13881 #include <$ac_header>
13883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13884 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13886 grep -v '^ *+' conftest.er1
>conftest.err
13888 cat conftest.err
>&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); } >/dev
/null
; then
13891 if test -s conftest.err
; then
13892 ac_cpp_err
=$ac_c_preproc_warn_flag
13893 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13900 if test -z "$ac_cpp_err"; then
13901 ac_header_preproc
=yes
13903 echo "$as_me: failed program was:" >&5
13904 sed 's/^/| /' conftest.
$ac_ext >&5
13906 ac_header_preproc
=no
13908 rm -f conftest.err conftest.
$ac_ext
13909 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13910 echo "${ECHO_T}$ac_header_preproc" >&6
13912 # So? What about this header?
13913 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13915 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13916 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13918 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13919 ac_header_preproc
=yes
13922 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13923 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13924 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13925 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13926 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13927 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13928 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13929 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13931 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13932 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13933 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13936 ## ------------------------------------------ ##
13937 ## Report this to the AC_PACKAGE_NAME lists. ##
13938 ## ------------------------------------------ ##
13941 sed "s/^/$as_me: WARNING: /" >&2
13944 echo "$as_me:$LINENO: checking for $ac_header" >&5
13945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13947 echo $ECHO_N "(cached) $ECHO_C" >&6
13949 eval "$as_ac_Header=\$ac_header_preproc"
13951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13956 cat >>confdefs.h
<<_ACEOF
13957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14033 for ac_func
in gethostname getdomainname dup2 \
14034 rename closedir mkdir
rmdir sysinfo getrusage get_current_dir_name \
14035 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
14036 strerror fpathconf
select mktime euidaccess getpagesize tzset setlocale \
14037 utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
14038 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
14039 sendto recvfrom getsockopt setsockopt getsockname getpeername \
14040 gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
14041 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign
14043 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14044 echo "$as_me:$LINENO: checking for $ac_func" >&5
14045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14046 if eval "test \"\${$as_ac_var+set}\" = set"; then
14047 echo $ECHO_N "(cached) $ECHO_C" >&6
14049 cat >conftest.
$ac_ext <<_ACEOF
14052 cat confdefs.h
>>conftest.
$ac_ext
14053 cat >>conftest.
$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14057 #define $ac_func innocuous_$ac_func
14059 /* System header to define __stub macros and hopefully few prototypes,
14060 which can conflict with char $ac_func (); below.
14061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14062 <limits.h> exists even on freestanding compilers. */
14065 # include <limits.h>
14067 # include <assert.h>
14072 /* Override any gcc2 internal prototype to avoid an error. */
14077 /* We use char because int might match the return type of a gcc2
14078 builtin and then its argument prototype would still apply. */
14080 /* The GNU C library defines this for functions which it implements
14081 to always fail with ENOSYS. Some functions are actually named
14082 something starting with __ and the normal name is an alias. */
14083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14086 char (*f) () = $ac_func;
14095 return f != $ac_func;
14100 rm -f conftest.
$ac_objext conftest
$ac_exeext
14101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14102 (eval $ac_link) 2>conftest.er1
14104 grep -v '^ *+' conftest.er1
>conftest.err
14106 cat conftest.err
>&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } &&
14109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14111 (eval $ac_try) 2>&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); }; } &&
14115 { ac_try
='test -s conftest$ac_exeext'
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 (eval $ac_try) 2>&5
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; }; then
14121 eval "$as_ac_var=yes"
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.
$ac_ext >&5
14126 eval "$as_ac_var=no"
14128 rm -f conftest.err conftest.
$ac_objext \
14129 conftest
$ac_exeext conftest.
$ac_ext
14131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14133 if test `eval echo '${'$as_ac_var'}'` = yes; then
14134 cat >>confdefs.h
<<_ACEOF
14135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14143 for ac_header
in sys
/un.h
14145 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14147 echo "$as_me:$LINENO: checking for $ac_header" >&5
14148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14155 # Is the header compilable?
14156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14158 cat >conftest.
$ac_ext <<_ACEOF
14161 cat confdefs.h
>>conftest.
$ac_ext
14162 cat >>conftest.
$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14164 $ac_includes_default
14165 #include <$ac_header>
14167 rm -f conftest.
$ac_objext
14168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14169 (eval $ac_compile) 2>conftest.er1
14171 grep -v '^ *+' conftest.er1
>conftest.err
14173 cat conftest.err
>&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); } &&
14176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; } &&
14182 { ac_try
='test -s conftest.$ac_objext'
14183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14184 (eval $ac_try) 2>&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); }; }; then
14188 ac_header_compiler
=yes
14190 echo "$as_me: failed program was:" >&5
14191 sed 's/^/| /' conftest.
$ac_ext >&5
14193 ac_header_compiler
=no
14195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14197 echo "${ECHO_T}$ac_header_compiler" >&6
14199 # Is the header present?
14200 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14202 cat >conftest.
$ac_ext <<_ACEOF
14205 cat confdefs.h
>>conftest.
$ac_ext
14206 cat >>conftest.
$ac_ext <<_ACEOF
14207 /* end confdefs.h. */
14208 #include <$ac_header>
14210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14213 grep -v '^ *+' conftest.er1
>conftest.err
14215 cat conftest.err
>&5
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); } >/dev
/null
; then
14218 if test -s conftest.err
; then
14219 ac_cpp_err
=$ac_c_preproc_warn_flag
14220 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14227 if test -z "$ac_cpp_err"; then
14228 ac_header_preproc
=yes
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.
$ac_ext >&5
14233 ac_header_preproc
=no
14235 rm -f conftest.err conftest.
$ac_ext
14236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14237 echo "${ECHO_T}$ac_header_preproc" >&6
14239 # So? What about this header?
14240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14242 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14243 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14245 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14246 ac_header_preproc
=yes
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14250 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14252 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14253 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14254 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14255 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14256 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14259 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14260 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14263 ## ------------------------------------------ ##
14264 ## Report this to the AC_PACKAGE_NAME lists. ##
14265 ## ------------------------------------------ ##
14268 sed "s/^/$as_me: WARNING: /" >&2
14271 echo "$as_me:$LINENO: checking for $ac_header" >&5
14272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 eval "$as_ac_Header=\$ac_header_preproc"
14278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14283 cat >>confdefs.h
<<_ACEOF
14284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14295 for ac_header
in stdlib.h sys
/time.h unistd.h
14297 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14299 echo "$as_me:$LINENO: checking for $ac_header" >&5
14300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14302 echo $ECHO_N "(cached) $ECHO_C" >&6
14304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14307 # Is the header compilable?
14308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14310 cat >conftest.
$ac_ext <<_ACEOF
14313 cat confdefs.h
>>conftest.
$ac_ext
14314 cat >>conftest.
$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14316 $ac_includes_default
14317 #include <$ac_header>
14319 rm -f conftest.
$ac_objext
14320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14321 (eval $ac_compile) 2>conftest.er1
14323 grep -v '^ *+' conftest.er1
>conftest.err
14325 cat conftest.err
>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } &&
14328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14330 (eval $ac_try) 2>&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); }; } &&
14334 { ac_try
='test -s conftest.$ac_objext'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; }; then
14340 ac_header_compiler
=yes
14342 echo "$as_me: failed program was:" >&5
14343 sed 's/^/| /' conftest.
$ac_ext >&5
14345 ac_header_compiler
=no
14347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14349 echo "${ECHO_T}$ac_header_compiler" >&6
14351 # Is the header present?
14352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14354 cat >conftest.
$ac_ext <<_ACEOF
14357 cat confdefs.h
>>conftest.
$ac_ext
14358 cat >>conftest.
$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14360 #include <$ac_header>
14362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14363 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14365 grep -v '^ *+' conftest.er1
>conftest.err
14367 cat conftest.err
>&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); } >/dev
/null
; then
14370 if test -s conftest.err
; then
14371 ac_cpp_err
=$ac_c_preproc_warn_flag
14372 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14379 if test -z "$ac_cpp_err"; then
14380 ac_header_preproc
=yes
14382 echo "$as_me: failed program was:" >&5
14383 sed 's/^/| /' conftest.
$ac_ext >&5
14385 ac_header_preproc
=no
14387 rm -f conftest.err conftest.
$ac_ext
14388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14389 echo "${ECHO_T}$ac_header_preproc" >&6
14391 # So? What about this header?
14392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14397 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14398 ac_header_preproc
=yes
14401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14405 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14407 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14408 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14411 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14415 ## ------------------------------------------ ##
14416 ## Report this to the AC_PACKAGE_NAME lists. ##
14417 ## ------------------------------------------ ##
14420 sed "s/^/$as_me: WARNING: /" >&2
14423 echo "$as_me:$LINENO: checking for $ac_header" >&5
14424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14426 echo $ECHO_N "(cached) $ECHO_C" >&6
14428 eval "$as_ac_Header=\$ac_header_preproc"
14430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14435 cat >>confdefs.h
<<_ACEOF
14436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14444 for ac_func
in alarm
14446 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14447 echo "$as_me:$LINENO: checking for $ac_func" >&5
14448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14449 if eval "test \"\${$as_ac_var+set}\" = set"; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14452 cat >conftest.
$ac_ext <<_ACEOF
14455 cat confdefs.h
>>conftest.
$ac_ext
14456 cat >>conftest.
$ac_ext <<_ACEOF
14457 /* end confdefs.h. */
14458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14460 #define $ac_func innocuous_$ac_func
14462 /* System header to define __stub macros and hopefully few prototypes,
14463 which can conflict with char $ac_func (); below.
14464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14465 <limits.h> exists even on freestanding compilers. */
14468 # include <limits.h>
14470 # include <assert.h>
14475 /* Override any gcc2 internal prototype to avoid an error. */
14480 /* We use char because int might match the return type of a gcc2
14481 builtin and then its argument prototype would still apply. */
14483 /* The GNU C library defines this for functions which it implements
14484 to always fail with ENOSYS. Some functions are actually named
14485 something starting with __ and the normal name is an alias. */
14486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14489 char (*f) () = $ac_func;
14498 return f != $ac_func;
14503 rm -f conftest.
$ac_objext conftest
$ac_exeext
14504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14505 (eval $ac_link) 2>conftest.er1
14507 grep -v '^ *+' conftest.er1
>conftest.err
14509 cat conftest.err
>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } &&
14512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; } &&
14518 { ac_try
='test -s conftest$ac_exeext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 eval "$as_ac_var=yes"
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.
$ac_ext >&5
14529 eval "$as_ac_var=no"
14531 rm -f conftest.err conftest.
$ac_objext \
14532 conftest
$ac_exeext conftest.
$ac_ext
14534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14536 if test `eval echo '${'$as_ac_var'}'` = yes; then
14537 cat >>confdefs.h
<<_ACEOF
14538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14544 echo "$as_me:$LINENO: checking for working mktime" >&5
14545 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
14546 if test "${ac_cv_func_working_mktime+set}" = set; then
14547 echo $ECHO_N "(cached) $ECHO_C" >&6
14549 if test "$cross_compiling" = yes; then
14550 ac_cv_func_working_mktime
=no
14552 cat >conftest.
$ac_ext <<_ACEOF
14555 cat confdefs.h
>>conftest.
$ac_ext
14556 cat >>conftest.
$ac_ext <<_ACEOF
14557 /* end confdefs.h. */
14558 /* Test program from Paul Eggert and Tony Leneis. */
14559 #if TIME_WITH_SYS_TIME
14560 # include <sys/time.h>
14563 # if HAVE_SYS_TIME_H
14564 # include <sys/time.h>
14571 # include <stdlib.h>
14575 # include <unistd.h>
14579 # define alarm(X) /* empty */
14582 /* Work around redefinition to rpl_putenv by other config tests. */
14585 static time_t time_t_max;
14586 static time_t time_t_min;
14588 /* Values we'll use to set the TZ environment variable. */
14589 static char *tz_strings[] = {
14590 (char *) 0, "TZ=GMT0", "TZ=JST-9",
14591 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
14593 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
14595 /* Fail if mktime fails to convert a date in the spring-forward gap.
14596 Based on a problem report from Andreas Jaeger. */
14598 spring_forward_gap ()
14600 /* glibc (up to about 1998-10-07) failed this test. */
14603 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
14604 instead of "TZ=America/Vancouver" in order to detect the bug even
14605 on systems that don't support the Olson extension, or don't have the
14606 full zoneinfo tables installed. */
14607 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
14616 if (mktime (&tm) == (time_t)-1)
14625 if ((lt = localtime (&now)) && mktime (lt) != now)
14633 mktime_test1 (now);
14634 mktime_test1 ((time_t) (time_t_max - now));
14635 mktime_test1 ((time_t) (time_t_min + now));
14641 /* Based on code from Ariel Faigon. */
14651 if (tm.tm_mon != 2 || tm.tm_mday != 31)
14661 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
14662 now = mktime (&tm);
14663 if (now != (time_t) -1)
14665 struct tm *lt = localtime (&now);
14667 && lt->tm_year == tm.tm_year
14668 && lt->tm_mon == tm.tm_mon
14669 && lt->tm_mday == tm.tm_mday
14670 && lt->tm_hour == tm.tm_hour
14671 && lt->tm_min == tm.tm_min
14672 && lt->tm_sec == tm.tm_sec
14673 && lt->tm_yday == tm.tm_yday
14674 && lt->tm_wday == tm.tm_wday
14675 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
14676 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
14687 /* This test makes some buggy mktime implementations loop.
14688 Give up after 60 seconds; a mktime slower than that
14689 isn't worth using anyway. */
14692 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
14695 if ((time_t) -1 < 0)
14696 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
14698 delta = time_t_max / 997; /* a suitable prime number */
14699 for (i = 0; i < N_STRINGS; i++)
14702 putenv (tz_strings[i]);
14704 for (t = 0; t <= time_t_max - delta; t += delta)
14706 mktime_test ((time_t) 1);
14707 mktime_test ((time_t) (60 * 60));
14708 mktime_test ((time_t) (60 * 60 * 24));
14710 for (j = 1; 0 < j; j *= 2)
14712 bigtime_test (j - 1);
14715 spring_forward_gap ();
14719 rm -f conftest
$ac_exeext
14720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14721 (eval $ac_link) 2>&5
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726 (eval $ac_try) 2>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; }; then
14730 ac_cv_func_working_mktime
=yes
14732 echo "$as_me: program exited with status $ac_status" >&5
14733 echo "$as_me: failed program was:" >&5
14734 sed 's/^/| /' conftest.
$ac_ext >&5
14736 ( exit $ac_status )
14737 ac_cv_func_working_mktime
=no
14739 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14742 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
14743 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
14744 if test $ac_cv_func_working_mktime = no
; then
14746 "mktime.$ac_objext" | \
14747 *" mktime.$ac_objext" | \
14748 "mktime.$ac_objext "* | \
14749 *" mktime.$ac_objext "* ) ;;
14750 *) LIBOBJS
="$LIBOBJS mktime.$ac_objext" ;;
14755 if test "$ac_cv_func_working_mktime" = no
; then
14757 cat >>confdefs.h
<<\_ACEOF
14758 #define BROKEN_MKTIME 1
14763 ac_have_func
=no
# yes means we've found a way to get the load average.
14765 # Make sure getloadavg.c is where it belongs, at configure-time.
14766 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
14767 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
14768 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
14769 { (exit 1); exit 1; }; }
14773 # Check for getloadavg, but be sure not to touch the cache variable.
14774 (echo "$as_me:$LINENO: checking for getloadavg" >&5
14775 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
14776 if test "${ac_cv_func_getloadavg+set}" = set; then
14777 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 cat >conftest.
$ac_ext <<_ACEOF
14782 cat confdefs.h
>>conftest.
$ac_ext
14783 cat >>conftest.
$ac_ext <<_ACEOF
14784 /* end confdefs.h. */
14785 /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg.
14786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14787 #define getloadavg innocuous_getloadavg
14789 /* System header to define __stub macros and hopefully few prototypes,
14790 which can conflict with char getloadavg (); below.
14791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14792 <limits.h> exists even on freestanding compilers. */
14795 # include <limits.h>
14797 # include <assert.h>
14802 /* Override any gcc2 internal prototype to avoid an error. */
14807 /* We use char because int might match the return type of a gcc2
14808 builtin and then its argument prototype would still apply. */
14809 char getloadavg ();
14810 /* The GNU C library defines this for functions which it implements
14811 to always fail with ENOSYS. Some functions are actually named
14812 something starting with __ and the normal name is an alias. */
14813 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
14816 char (*f) () = getloadavg;
14825 return f != getloadavg;
14830 rm -f conftest.
$ac_objext conftest
$ac_exeext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14832 (eval $ac_link) 2>conftest.er1
14834 grep -v '^ *+' conftest.er1
>conftest.err
14836 cat conftest.err
>&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14841 (eval $ac_try) 2>&5
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); }; } &&
14845 { ac_try
='test -s conftest$ac_exeext'
14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847 (eval $ac_try) 2>&5
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; }; then
14851 ac_cv_func_getloadavg
=yes
14853 echo "$as_me: failed program was:" >&5
14854 sed 's/^/| /' conftest.
$ac_ext >&5
14856 ac_cv_func_getloadavg
=no
14858 rm -f conftest.err conftest.
$ac_objext \
14859 conftest
$ac_exeext conftest.
$ac_ext
14861 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
14862 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
14863 if test $ac_cv_func_getloadavg = yes; then
14868 ) && ac_have_func
=yes
14870 # On HPUX9, an unprivileged user can get load averages through this function.
14872 for ac_func
in pstat_getdynamic
14874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14875 echo "$as_me:$LINENO: checking for $ac_func" >&5
14876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14877 if eval "test \"\${$as_ac_var+set}\" = set"; then
14878 echo $ECHO_N "(cached) $ECHO_C" >&6
14880 cat >conftest.
$ac_ext <<_ACEOF
14883 cat confdefs.h
>>conftest.
$ac_ext
14884 cat >>conftest.
$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14888 #define $ac_func innocuous_$ac_func
14890 /* System header to define __stub macros and hopefully few prototypes,
14891 which can conflict with char $ac_func (); below.
14892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14893 <limits.h> exists even on freestanding compilers. */
14896 # include <limits.h>
14898 # include <assert.h>
14903 /* Override any gcc2 internal prototype to avoid an error. */
14908 /* We use char because int might match the return type of a gcc2
14909 builtin and then its argument prototype would still apply. */
14911 /* The GNU C library defines this for functions which it implements
14912 to always fail with ENOSYS. Some functions are actually named
14913 something starting with __ and the normal name is an alias. */
14914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14917 char (*f) () = $ac_func;
14926 return f != $ac_func;
14931 rm -f conftest.
$ac_objext conftest
$ac_exeext
14932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14933 (eval $ac_link) 2>conftest.er1
14935 grep -v '^ *+' conftest.er1
>conftest.err
14937 cat conftest.err
>&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); } &&
14940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; } &&
14946 { ac_try
='test -s conftest$ac_exeext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14952 eval "$as_ac_var=yes"
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.
$ac_ext >&5
14957 eval "$as_ac_var=no"
14959 rm -f conftest.err conftest.
$ac_objext \
14960 conftest
$ac_exeext conftest.
$ac_ext
14962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14964 if test `eval echo '${'$as_ac_var'}'` = yes; then
14965 cat >>confdefs.h
<<_ACEOF
14966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14973 # Solaris has libkstat which does not require root.
14975 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
14976 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
14977 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
14978 echo $ECHO_N "(cached) $ECHO_C" >&6
14980 ac_check_lib_save_LIBS
=$LIBS
14981 LIBS
="-lkstat $LIBS"
14982 cat >conftest.
$ac_ext <<_ACEOF
14985 cat confdefs.h
>>conftest.
$ac_ext
14986 cat >>conftest.
$ac_ext <<_ACEOF
14987 /* end confdefs.h. */
14989 /* Override any gcc2 internal prototype to avoid an error. */
14993 /* We use char because int might match the return type of a gcc2
14994 builtin and then its argument prototype would still apply. */
14995 char kstat_open ();
15004 rm -f conftest.
$ac_objext conftest
$ac_exeext
15005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15006 (eval $ac_link) 2>conftest.er1
15008 grep -v '^ *+' conftest.er1
>conftest.err
15010 cat conftest.err
>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); } &&
15013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15015 (eval $ac_try) 2>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; } &&
15019 { ac_try
='test -s conftest$ac_exeext'
15020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021 (eval $ac_try) 2>&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; }; then
15025 ac_cv_lib_kstat_kstat_open
=yes
15027 echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.
$ac_ext >&5
15030 ac_cv_lib_kstat_kstat_open
=no
15032 rm -f conftest.err conftest.
$ac_objext \
15033 conftest
$ac_exeext conftest.
$ac_ext
15034 LIBS
=$ac_check_lib_save_LIBS
15036 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
15037 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
15038 if test $ac_cv_lib_kstat_kstat_open = yes; then
15039 cat >>confdefs.h
<<_ACEOF
15040 #define HAVE_LIBKSTAT 1
15043 LIBS
="-lkstat $LIBS"
15047 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func
=yes
15049 # Some systems with -lutil have (and need) -lkvm as well, some do not.
15050 # On Solaris, -lkvm requires nlist from -lelf, so check that first
15051 # to get the right answer into the cache.
15052 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
15053 if test $ac_have_func = no
; then
15054 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
15055 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
15056 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
15057 echo $ECHO_N "(cached) $ECHO_C" >&6
15059 ac_check_lib_save_LIBS
=$LIBS
15061 cat >conftest.
$ac_ext <<_ACEOF
15064 cat confdefs.h
>>conftest.
$ac_ext
15065 cat >>conftest.
$ac_ext <<_ACEOF
15066 /* end confdefs.h. */
15068 /* Override any gcc2 internal prototype to avoid an error. */
15072 /* We use char because int might match the return type of a gcc2
15073 builtin and then its argument prototype would still apply. */
15083 rm -f conftest.
$ac_objext conftest
$ac_exeext
15084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15085 (eval $ac_link) 2>conftest.er1
15087 grep -v '^ *+' conftest.er1
>conftest.err
15089 cat conftest.err
>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); } &&
15092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094 (eval $ac_try) 2>&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }; } &&
15098 { ac_try
='test -s conftest$ac_exeext'
15099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15100 (eval $ac_try) 2>&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; }; then
15104 ac_cv_lib_elf_elf_begin
=yes
15106 echo "$as_me: failed program was:" >&5
15107 sed 's/^/| /' conftest.
$ac_ext >&5
15109 ac_cv_lib_elf_elf_begin
=no
15111 rm -f conftest.err conftest.
$ac_objext \
15112 conftest
$ac_exeext conftest.
$ac_ext
15113 LIBS
=$ac_check_lib_save_LIBS
15115 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
15116 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
15117 if test $ac_cv_lib_elf_elf_begin = yes; then
15122 if test $ac_have_func = no
; then
15123 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
15124 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
15125 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
15126 echo $ECHO_N "(cached) $ECHO_C" >&6
15128 ac_check_lib_save_LIBS
=$LIBS
15130 cat >conftest.
$ac_ext <<_ACEOF
15133 cat confdefs.h
>>conftest.
$ac_ext
15134 cat >>conftest.
$ac_ext <<_ACEOF
15135 /* end confdefs.h. */
15137 /* Override any gcc2 internal prototype to avoid an error. */
15141 /* We use char because int might match the return type of a gcc2
15142 builtin and then its argument prototype would still apply. */
15152 rm -f conftest.
$ac_objext conftest
$ac_exeext
15153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15154 (eval $ac_link) 2>conftest.er1
15156 grep -v '^ *+' conftest.er1
>conftest.err
15158 cat conftest.err
>&5
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); } &&
15161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15163 (eval $ac_try) 2>&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); }; } &&
15167 { ac_try
='test -s conftest$ac_exeext'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; }; then
15173 ac_cv_lib_kvm_kvm_open
=yes
15175 echo "$as_me: failed program was:" >&5
15176 sed 's/^/| /' conftest.
$ac_ext >&5
15178 ac_cv_lib_kvm_kvm_open
=no
15180 rm -f conftest.err conftest.
$ac_objext \
15181 conftest
$ac_exeext conftest.
$ac_ext
15182 LIBS
=$ac_check_lib_save_LIBS
15184 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
15185 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
15186 if test $ac_cv_lib_kvm_kvm_open = yes; then
15190 # Check for the 4.4BSD definition of getloadavg.
15191 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
15192 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
15193 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 ac_check_lib_save_LIBS
=$LIBS
15197 LIBS
="-lutil $LIBS"
15198 cat >conftest.
$ac_ext <<_ACEOF
15201 cat confdefs.h
>>conftest.
$ac_ext
15202 cat >>conftest.
$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15205 /* Override any gcc2 internal prototype to avoid an error. */
15209 /* We use char because int might match the return type of a gcc2
15210 builtin and then its argument prototype would still apply. */
15211 char getloadavg ();
15220 rm -f conftest.
$ac_objext conftest
$ac_exeext
15221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15222 (eval $ac_link) 2>conftest.er1
15224 grep -v '^ *+' conftest.er1
>conftest.err
15226 cat conftest.err
>&5
15227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); } &&
15229 { ac_try
='test -z "$ac_c_werror_flag" || 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_util_getloadavg
=yes
15243 echo "$as_me: failed program was:" >&5
15244 sed 's/^/| /' conftest.
$ac_ext >&5
15246 ac_cv_lib_util_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_util_getloadavg" >&5
15253 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
15254 if test $ac_cv_lib_util_getloadavg = yes; then
15255 LIBS
="-lutil $LIBS" ac_have_func
=yes ac_cv_func_getloadavg_setgid
=yes
15260 if test $ac_have_func = no
; then
15261 # There is a commonly available library for RS/6000 AIX.
15262 # Since it is not a standard part of AIX, it might be installed locally.
15263 ac_getloadavg_LIBS
=$LIBS
15264 LIBS
="-L/usr/local/lib $LIBS"
15265 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
15266 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
15267 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15270 ac_check_lib_save_LIBS
=$LIBS
15271 LIBS
="-lgetloadavg $LIBS"
15272 cat >conftest.
$ac_ext <<_ACEOF
15275 cat confdefs.h
>>conftest.
$ac_ext
15276 cat >>conftest.
$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15279 /* Override any gcc2 internal prototype to avoid an error. */
15283 /* We use char because int might match the return type of a gcc2
15284 builtin and then its argument prototype would still apply. */
15285 char getloadavg ();
15294 rm -f conftest.
$ac_objext conftest
$ac_exeext
15295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15296 (eval $ac_link) 2>conftest.er1
15298 grep -v '^ *+' conftest.er1
>conftest.err
15300 cat conftest.err
>&5
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); } &&
15303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15305 (eval $ac_try) 2>&5
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); }; } &&
15309 { ac_try
='test -s conftest$ac_exeext'
15310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15311 (eval $ac_try) 2>&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); }; }; then
15315 ac_cv_lib_getloadavg_getloadavg
=yes
15317 echo "$as_me: failed program was:" >&5
15318 sed 's/^/| /' conftest.
$ac_ext >&5
15320 ac_cv_lib_getloadavg_getloadavg
=no
15322 rm -f conftest.err conftest.
$ac_objext \
15323 conftest
$ac_exeext conftest.
$ac_ext
15324 LIBS
=$ac_check_lib_save_LIBS
15326 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
15327 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
15328 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
15329 LIBS
="-lgetloadavg $LIBS"
15331 LIBS
=$ac_getloadavg_LIBS
15336 # Make sure it is really in the library, if we think we found it,
15337 # otherwise set up the replacement function.
15339 for ac_func
in getloadavg
15341 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15342 echo "$as_me:$LINENO: checking for $ac_func" >&5
15343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15344 if eval "test \"\${$as_ac_var+set}\" = set"; then
15345 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 cat >conftest.
$ac_ext <<_ACEOF
15350 cat confdefs.h
>>conftest.
$ac_ext
15351 cat >>conftest.
$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15355 #define $ac_func innocuous_$ac_func
15357 /* System header to define __stub macros and hopefully few prototypes,
15358 which can conflict with char $ac_func (); below.
15359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15360 <limits.h> exists even on freestanding compilers. */
15363 # include <limits.h>
15365 # include <assert.h>
15370 /* Override any gcc2 internal prototype to avoid an error. */
15375 /* We use char because int might match the return type of a gcc2
15376 builtin and then its argument prototype would still apply. */
15378 /* The GNU C library defines this for functions which it implements
15379 to always fail with ENOSYS. Some functions are actually named
15380 something starting with __ and the normal name is an alias. */
15381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15384 char (*f) () = $ac_func;
15393 return f != $ac_func;
15398 rm -f conftest.
$ac_objext conftest
$ac_exeext
15399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15400 (eval $ac_link) 2>conftest.er1
15402 grep -v '^ *+' conftest.er1
>conftest.err
15404 cat conftest.err
>&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); } &&
15407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15409 (eval $ac_try) 2>&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); }; } &&
15413 { ac_try
='test -s conftest$ac_exeext'
15414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15415 (eval $ac_try) 2>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }; }; then
15419 eval "$as_ac_var=yes"
15421 echo "$as_me: failed program was:" >&5
15422 sed 's/^/| /' conftest.
$ac_ext >&5
15424 eval "$as_ac_var=no"
15426 rm -f conftest.err conftest.
$ac_objext \
15427 conftest
$ac_exeext conftest.
$ac_ext
15429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15431 if test `eval echo '${'$as_ac_var'}'` = yes; then
15432 cat >>confdefs.h
<<_ACEOF
15433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15438 "getloadavg.$ac_objext" | \
15439 *" getloadavg.$ac_objext" | \
15440 "getloadavg.$ac_objext "* | \
15441 *" getloadavg.$ac_objext "* ) ;;
15442 *) LIBOBJS
="$LIBOBJS getloadavg.$ac_objext" ;;
15446 cat >>confdefs.h
<<\_ACEOF
15447 #define C_GETLOADAVG 1
15450 # Figure out what our getloadavg.c needs.
15452 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15453 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15454 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15455 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15456 echo $ECHO_N "(cached) $ECHO_C" >&6
15458 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15459 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15461 # Is the header compilable?
15462 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
15463 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
15464 cat >conftest.
$ac_ext <<_ACEOF
15467 cat confdefs.h
>>conftest.
$ac_ext
15468 cat >>conftest.
$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15470 $ac_includes_default
15471 #include <sys/dg_sys_info.h>
15473 rm -f conftest.
$ac_objext
15474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15475 (eval $ac_compile) 2>conftest.er1
15477 grep -v '^ *+' conftest.er1
>conftest.err
15479 cat conftest.err
>&5
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); } &&
15482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484 (eval $ac_try) 2>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; } &&
15488 { ac_try
='test -s conftest.$ac_objext'
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; }; then
15494 ac_header_compiler
=yes
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.
$ac_ext >&5
15499 ac_header_compiler
=no
15501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15503 echo "${ECHO_T}$ac_header_compiler" >&6
15505 # Is the header present?
15506 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
15507 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
15508 cat >conftest.
$ac_ext <<_ACEOF
15511 cat confdefs.h
>>conftest.
$ac_ext
15512 cat >>conftest.
$ac_ext <<_ACEOF
15513 /* end confdefs.h. */
15514 #include <sys/dg_sys_info.h>
15516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15519 grep -v '^ *+' conftest.er1
>conftest.err
15521 cat conftest.err
>&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); } >/dev
/null
; then
15524 if test -s conftest.err
; then
15525 ac_cpp_err
=$ac_c_preproc_warn_flag
15526 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15533 if test -z "$ac_cpp_err"; then
15534 ac_header_preproc
=yes
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.
$ac_ext >&5
15539 ac_header_preproc
=no
15541 rm -f conftest.err conftest.
$ac_ext
15542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15543 echo "${ECHO_T}$ac_header_preproc" >&6
15545 # So? What about this header?
15546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15548 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
15549 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15550 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
15551 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
15552 ac_header_preproc
=yes
15555 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
15556 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
15557 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
15558 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
15559 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
15560 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
15561 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
15562 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
15563 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
15564 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
15565 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
15566 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
15569 ## ------------------------------------------ ##
15570 ## Report this to the AC_PACKAGE_NAME lists. ##
15571 ## ------------------------------------------ ##
15574 sed "s/^/$as_me: WARNING: /" >&2
15577 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15578 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15579 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15580 echo $ECHO_N "(cached) $ECHO_C" >&6
15582 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
15584 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15585 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15588 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
15591 cat >>confdefs.h
<<\_ACEOF
15596 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
15597 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
15598 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
15599 echo $ECHO_N "(cached) $ECHO_C" >&6
15601 ac_check_lib_save_LIBS
=$LIBS
15603 cat >conftest.
$ac_ext <<_ACEOF
15606 cat confdefs.h
>>conftest.
$ac_ext
15607 cat >>conftest.
$ac_ext <<_ACEOF
15608 /* end confdefs.h. */
15610 /* Override any gcc2 internal prototype to avoid an error. */
15614 /* We use char because int might match the return type of a gcc2
15615 builtin and then its argument prototype would still apply. */
15616 char dg_sys_info ();
15625 rm -f conftest.
$ac_objext conftest
$ac_exeext
15626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15627 (eval $ac_link) 2>conftest.er1
15629 grep -v '^ *+' conftest.er1
>conftest.err
15631 cat conftest.err
>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } &&
15634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; } &&
15640 { ac_try
='test -s conftest$ac_exeext'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; }; then
15646 ac_cv_lib_dgc_dg_sys_info
=yes
15648 echo "$as_me: failed program was:" >&5
15649 sed 's/^/| /' conftest.
$ac_ext >&5
15651 ac_cv_lib_dgc_dg_sys_info
=no
15653 rm -f conftest.err conftest.
$ac_objext \
15654 conftest
$ac_exeext conftest.
$ac_ext
15655 LIBS
=$ac_check_lib_save_LIBS
15657 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
15658 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
15659 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
15660 cat >>confdefs.h
<<_ACEOF
15661 #define HAVE_LIBDGC 1
15672 if test "${ac_cv_header_locale_h+set}" = set; then
15673 echo "$as_me:$LINENO: checking for locale.h" >&5
15674 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
15675 if test "${ac_cv_header_locale_h+set}" = set; then
15676 echo $ECHO_N "(cached) $ECHO_C" >&6
15678 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15679 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
15681 # Is the header compilable?
15682 echo "$as_me:$LINENO: checking locale.h usability" >&5
15683 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
15684 cat >conftest.
$ac_ext <<_ACEOF
15687 cat confdefs.h
>>conftest.
$ac_ext
15688 cat >>conftest.
$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15690 $ac_includes_default
15691 #include <locale.h>
15693 rm -f conftest.
$ac_objext
15694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15695 (eval $ac_compile) 2>conftest.er1
15697 grep -v '^ *+' conftest.er1
>conftest.err
15699 cat conftest.err
>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; } &&
15708 { ac_try
='test -s conftest.$ac_objext'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; }; then
15714 ac_header_compiler
=yes
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.
$ac_ext >&5
15719 ac_header_compiler
=no
15721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15722 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15723 echo "${ECHO_T}$ac_header_compiler" >&6
15725 # Is the header present?
15726 echo "$as_me:$LINENO: checking locale.h presence" >&5
15727 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
15728 cat >conftest.
$ac_ext <<_ACEOF
15731 cat confdefs.h
>>conftest.
$ac_ext
15732 cat >>conftest.
$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15734 #include <locale.h>
15736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15737 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15739 grep -v '^ *+' conftest.er1
>conftest.err
15741 cat conftest.err
>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } >/dev
/null
; then
15744 if test -s conftest.err
; then
15745 ac_cpp_err
=$ac_c_preproc_warn_flag
15746 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15753 if test -z "$ac_cpp_err"; then
15754 ac_header_preproc
=yes
15756 echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.
$ac_ext >&5
15759 ac_header_preproc
=no
15761 rm -f conftest.err conftest.
$ac_ext
15762 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15763 echo "${ECHO_T}$ac_header_preproc" >&6
15765 # So? What about this header?
15766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15768 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
15769 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15770 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
15771 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
15772 ac_header_preproc
=yes
15775 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
15776 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
15777 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
15778 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
15779 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
15780 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
15781 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
15782 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
15783 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
15784 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
15785 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
15786 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
15789 ## ------------------------------------------ ##
15790 ## Report this to the AC_PACKAGE_NAME lists. ##
15791 ## ------------------------------------------ ##
15794 sed "s/^/$as_me: WARNING: /" >&2
15797 echo "$as_me:$LINENO: checking for locale.h" >&5
15798 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
15799 if test "${ac_cv_header_locale_h+set}" = set; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15802 ac_cv_header_locale_h
=$ac_header_preproc
15804 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15805 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
15811 for ac_func
in setlocale
15813 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15814 echo "$as_me:$LINENO: checking for $ac_func" >&5
15815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15816 if eval "test \"\${$as_ac_var+set}\" = set"; then
15817 echo $ECHO_N "(cached) $ECHO_C" >&6
15819 cat >conftest.
$ac_ext <<_ACEOF
15822 cat confdefs.h
>>conftest.
$ac_ext
15823 cat >>conftest.
$ac_ext <<_ACEOF
15824 /* end confdefs.h. */
15825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15827 #define $ac_func innocuous_$ac_func
15829 /* System header to define __stub macros and hopefully few prototypes,
15830 which can conflict with char $ac_func (); below.
15831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15832 <limits.h> exists even on freestanding compilers. */
15835 # include <limits.h>
15837 # include <assert.h>
15842 /* Override any gcc2 internal prototype to avoid an error. */
15847 /* We use char because int might match the return type of a gcc2
15848 builtin and then its argument prototype would still apply. */
15850 /* The GNU C library defines this for functions which it implements
15851 to always fail with ENOSYS. Some functions are actually named
15852 something starting with __ and the normal name is an alias. */
15853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15856 char (*f) () = $ac_func;
15865 return f != $ac_func;
15870 rm -f conftest.
$ac_objext conftest
$ac_exeext
15871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15872 (eval $ac_link) 2>conftest.er1
15874 grep -v '^ *+' conftest.er1
>conftest.err
15876 cat conftest.err
>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } &&
15879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15881 (eval $ac_try) 2>&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); }; } &&
15885 { ac_try
='test -s conftest$ac_exeext'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; }; then
15891 eval "$as_ac_var=yes"
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.
$ac_ext >&5
15896 eval "$as_ac_var=no"
15898 rm -f conftest.err conftest.
$ac_objext \
15899 conftest
$ac_exeext conftest.
$ac_ext
15901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15903 if test `eval echo '${'$as_ac_var'}'` = yes; then
15904 cat >>confdefs.h
<<_ACEOF
15905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15912 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
15913 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
15914 # Irix 4.0.5F has the header but not the library.
15915 if test $ac_have_func = no
&& test "$ac_cv_lib_elf_elf_begin" = yes; then
15918 cat >>confdefs.h
<<\_ACEOF
15924 if test $ac_have_func = no
; then
15925 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15926 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
15927 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
15928 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
15929 echo $ECHO_N "(cached) $ECHO_C" >&6
15931 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
15932 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
15934 # Is the header compilable?
15935 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
15936 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
15937 cat >conftest.
$ac_ext <<_ACEOF
15940 cat confdefs.h
>>conftest.
$ac_ext
15941 cat >>conftest.
$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15943 $ac_includes_default
15944 #include <inq_stats/cpustats.h>
15946 rm -f conftest.
$ac_objext
15947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15948 (eval $ac_compile) 2>conftest.er1
15950 grep -v '^ *+' conftest.er1
>conftest.err
15952 cat conftest.err
>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); } &&
15955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; } &&
15961 { ac_try
='test -s conftest.$ac_objext'
15962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15963 (eval $ac_try) 2>&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); }; }; then
15967 ac_header_compiler
=yes
15969 echo "$as_me: failed program was:" >&5
15970 sed 's/^/| /' conftest.
$ac_ext >&5
15972 ac_header_compiler
=no
15974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15975 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15976 echo "${ECHO_T}$ac_header_compiler" >&6
15978 # Is the header present?
15979 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
15980 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
15981 cat >conftest.
$ac_ext <<_ACEOF
15984 cat confdefs.h
>>conftest.
$ac_ext
15985 cat >>conftest.
$ac_ext <<_ACEOF
15986 /* end confdefs.h. */
15987 #include <inq_stats/cpustats.h>
15989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15990 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15992 grep -v '^ *+' conftest.er1
>conftest.err
15994 cat conftest.err
>&5
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); } >/dev
/null
; then
15997 if test -s conftest.err
; then
15998 ac_cpp_err
=$ac_c_preproc_warn_flag
15999 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16006 if test -z "$ac_cpp_err"; then
16007 ac_header_preproc
=yes
16009 echo "$as_me: failed program was:" >&5
16010 sed 's/^/| /' conftest.
$ac_ext >&5
16012 ac_header_preproc
=no
16014 rm -f conftest.err conftest.
$ac_ext
16015 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16016 echo "${ECHO_T}$ac_header_preproc" >&6
16018 # So? What about this header?
16019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16021 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
16022 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16023 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
16024 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
16025 ac_header_preproc
=yes
16028 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
16029 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
16030 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
16031 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
16032 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
16033 echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
16034 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
16035 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
16036 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
16037 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
16038 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
16039 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
16042 ## ------------------------------------------ ##
16043 ## Report this to the AC_PACKAGE_NAME lists. ##
16044 ## ------------------------------------------ ##
16047 sed "s/^/$as_me: WARNING: /" >&2
16050 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
16051 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
16052 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
16053 echo $ECHO_N "(cached) $ECHO_C" >&6
16055 ac_cv_header_inq_stats_cpustats_h
=$ac_header_preproc
16057 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
16058 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
16061 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
16064 cat >>confdefs.h
<<\_ACEOF
16069 cat >>confdefs.h
<<\_ACEOF
16078 if test $ac_have_func = no
; then
16079 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16080 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16081 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
16082 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16083 echo $ECHO_N "(cached) $ECHO_C" >&6
16085 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16086 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
16088 # Is the header compilable?
16089 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
16090 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
16091 cat >conftest.
$ac_ext <<_ACEOF
16094 cat confdefs.h
>>conftest.
$ac_ext
16095 cat >>conftest.
$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16097 $ac_includes_default
16098 #include <sys/cpustats.h>
16100 rm -f conftest.
$ac_objext
16101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16102 (eval $ac_compile) 2>conftest.er1
16104 grep -v '^ *+' conftest.er1
>conftest.err
16106 cat conftest.err
>&5
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); } &&
16109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16111 (eval $ac_try) 2>&5
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); }; } &&
16115 { ac_try
='test -s conftest.$ac_objext'
16116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16117 (eval $ac_try) 2>&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; }; then
16121 ac_header_compiler
=yes
16123 echo "$as_me: failed program was:" >&5
16124 sed 's/^/| /' conftest.
$ac_ext >&5
16126 ac_header_compiler
=no
16128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16130 echo "${ECHO_T}$ac_header_compiler" >&6
16132 # Is the header present?
16133 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
16134 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
16135 cat >conftest.
$ac_ext <<_ACEOF
16138 cat confdefs.h
>>conftest.
$ac_ext
16139 cat >>conftest.
$ac_ext <<_ACEOF
16140 /* end confdefs.h. */
16141 #include <sys/cpustats.h>
16143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16146 grep -v '^ *+' conftest.er1
>conftest.err
16148 cat conftest.err
>&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } >/dev
/null
; then
16151 if test -s conftest.err
; then
16152 ac_cpp_err
=$ac_c_preproc_warn_flag
16153 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16160 if test -z "$ac_cpp_err"; then
16161 ac_header_preproc
=yes
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.
$ac_ext >&5
16166 ac_header_preproc
=no
16168 rm -f conftest.err conftest.
$ac_ext
16169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16170 echo "${ECHO_T}$ac_header_preproc" >&6
16172 # So? What about this header?
16173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16175 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
16176 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16177 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
16178 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
16179 ac_header_preproc
=yes
16182 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
16183 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
16184 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
16185 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
16186 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
16187 echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
16188 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
16189 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
16190 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
16191 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
16192 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
16193 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
16196 ## ------------------------------------------ ##
16197 ## Report this to the AC_PACKAGE_NAME lists. ##
16198 ## ------------------------------------------ ##
16201 sed "s/^/$as_me: WARNING: /" >&2
16204 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16205 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
16206 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 ac_cv_header_sys_cpustats_h
=$ac_header_preproc
16211 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16212 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
16215 if test $ac_cv_header_sys_cpustats_h = yes; then
16216 ac_have_func
=yes; cat >>confdefs.h
<<\_ACEOF
16225 if test $ac_have_func = no
; then
16227 for ac_header
in mach
/mach.h
16229 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16231 echo "$as_me:$LINENO: checking for $ac_header" >&5
16232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16234 echo $ECHO_N "(cached) $ECHO_C" >&6
16236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16239 # Is the header compilable?
16240 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16242 cat >conftest.
$ac_ext <<_ACEOF
16245 cat confdefs.h
>>conftest.
$ac_ext
16246 cat >>conftest.
$ac_ext <<_ACEOF
16247 /* end confdefs.h. */
16248 $ac_includes_default
16249 #include <$ac_header>
16251 rm -f conftest.
$ac_objext
16252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16253 (eval $ac_compile) 2>conftest.er1
16255 grep -v '^ *+' conftest.er1
>conftest.err
16257 cat conftest.err
>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } &&
16260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; } &&
16266 { ac_try
='test -s conftest.$ac_objext'
16267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16268 (eval $ac_try) 2>&5
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); }; }; then
16272 ac_header_compiler
=yes
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.
$ac_ext >&5
16277 ac_header_compiler
=no
16279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16281 echo "${ECHO_T}$ac_header_compiler" >&6
16283 # Is the header present?
16284 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16285 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16286 cat >conftest.
$ac_ext <<_ACEOF
16289 cat confdefs.h
>>conftest.
$ac_ext
16290 cat >>conftest.
$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16292 #include <$ac_header>
16294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16297 grep -v '^ *+' conftest.er1
>conftest.err
16299 cat conftest.err
>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); } >/dev
/null
; then
16302 if test -s conftest.err
; then
16303 ac_cpp_err
=$ac_c_preproc_warn_flag
16304 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16311 if test -z "$ac_cpp_err"; then
16312 ac_header_preproc
=yes
16314 echo "$as_me: failed program was:" >&5
16315 sed 's/^/| /' conftest.
$ac_ext >&5
16317 ac_header_preproc
=no
16319 rm -f conftest.err conftest.
$ac_ext
16320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16321 echo "${ECHO_T}$ac_header_preproc" >&6
16323 # So? What about this header?
16324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16326 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16327 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16329 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16330 ac_header_preproc
=yes
16333 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16334 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16335 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16336 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16337 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16338 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16339 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16340 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16343 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16344 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16347 ## ------------------------------------------ ##
16348 ## Report this to the AC_PACKAGE_NAME lists. ##
16349 ## ------------------------------------------ ##
16352 sed "s/^/$as_me: WARNING: /" >&2
16355 echo "$as_me:$LINENO: checking for $ac_header" >&5
16356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16358 echo $ECHO_N "(cached) $ECHO_C" >&6
16360 eval "$as_ac_Header=\$ac_header_preproc"
16362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16367 cat >>confdefs.h
<<_ACEOF
16368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16378 for ac_header
in nlist.h
16380 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16382 echo "$as_me:$LINENO: checking for $ac_header" >&5
16383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16385 echo $ECHO_N "(cached) $ECHO_C" >&6
16387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16390 # Is the header compilable?
16391 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16392 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16393 cat >conftest.
$ac_ext <<_ACEOF
16396 cat confdefs.h
>>conftest.
$ac_ext
16397 cat >>conftest.
$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16399 $ac_includes_default
16400 #include <$ac_header>
16402 rm -f conftest.
$ac_objext
16403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16404 (eval $ac_compile) 2>conftest.er1
16406 grep -v '^ *+' conftest.er1
>conftest.err
16408 cat conftest.err
>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); } &&
16411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; } &&
16417 { ac_try
='test -s conftest.$ac_objext'
16418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16419 (eval $ac_try) 2>&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); }; }; then
16423 ac_header_compiler
=yes
16425 echo "$as_me: failed program was:" >&5
16426 sed 's/^/| /' conftest.
$ac_ext >&5
16428 ac_header_compiler
=no
16430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16432 echo "${ECHO_T}$ac_header_compiler" >&6
16434 # Is the header present?
16435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16437 cat >conftest.
$ac_ext <<_ACEOF
16440 cat confdefs.h
>>conftest.
$ac_ext
16441 cat >>conftest.
$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 #include <$ac_header>
16445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16446 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16448 grep -v '^ *+' conftest.er1
>conftest.err
16450 cat conftest.err
>&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); } >/dev
/null
; then
16453 if test -s conftest.err
; then
16454 ac_cpp_err
=$ac_c_preproc_warn_flag
16455 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16462 if test -z "$ac_cpp_err"; then
16463 ac_header_preproc
=yes
16465 echo "$as_me: failed program was:" >&5
16466 sed 's/^/| /' conftest.
$ac_ext >&5
16468 ac_header_preproc
=no
16470 rm -f conftest.err conftest.
$ac_ext
16471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16472 echo "${ECHO_T}$ac_header_preproc" >&6
16474 # So? What about this header?
16475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16480 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16481 ac_header_preproc
=yes
16484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16487 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16488 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16489 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16490 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16491 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16494 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16495 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16498 ## ------------------------------------------ ##
16499 ## Report this to the AC_PACKAGE_NAME lists. ##
16500 ## ------------------------------------------ ##
16503 sed "s/^/$as_me: WARNING: /" >&2
16506 echo "$as_me:$LINENO: checking for $ac_header" >&5
16507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 eval "$as_ac_Header=\$ac_header_preproc"
16513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16518 cat >>confdefs.h
<<_ACEOF
16519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16521 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
16522 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
16523 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
16524 echo $ECHO_N "(cached) $ECHO_C" >&6
16526 cat >conftest.
$ac_ext <<_ACEOF
16529 cat confdefs.h
>>conftest.
$ac_ext
16530 cat >>conftest.
$ac_ext <<_ACEOF
16531 /* end confdefs.h. */
16537 static struct nlist ac_aggr;
16538 if (ac_aggr.n_un.n_name)
16544 rm -f conftest.
$ac_objext
16545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16546 (eval $ac_compile) 2>conftest.er1
16548 grep -v '^ *+' conftest.er1
>conftest.err
16550 cat conftest.err
>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); } &&
16553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; } &&
16559 { ac_try
='test -s conftest.$ac_objext'
16560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561 (eval $ac_try) 2>&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; }; then
16565 ac_cv_member_struct_nlist_n_un_n_name
=yes
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.
$ac_ext >&5
16570 cat >conftest.
$ac_ext <<_ACEOF
16573 cat confdefs.h
>>conftest.
$ac_ext
16574 cat >>conftest.
$ac_ext <<_ACEOF
16575 /* end confdefs.h. */
16581 static struct nlist ac_aggr;
16582 if (sizeof ac_aggr.n_un.n_name)
16588 rm -f conftest.
$ac_objext
16589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16590 (eval $ac_compile) 2>conftest.er1
16592 grep -v '^ *+' conftest.er1
>conftest.err
16594 cat conftest.err
>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); } &&
16597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; } &&
16603 { ac_try
='test -s conftest.$ac_objext'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; }; then
16609 ac_cv_member_struct_nlist_n_un_n_name
=yes
16611 echo "$as_me: failed program was:" >&5
16612 sed 's/^/| /' conftest.
$ac_ext >&5
16614 ac_cv_member_struct_nlist_n_un_n_name
=no
16616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16620 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
16621 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
16622 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
16624 cat >>confdefs.h
<<_ACEOF
16625 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
16629 cat >>confdefs.h
<<\_ACEOF
16630 #define NLIST_NAME_UNION 1
16644 # Some definitions of getloadavg require that the program be installed setgid.
16645 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
16646 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
16647 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
16648 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 cat >conftest.
$ac_ext <<_ACEOF
16653 cat confdefs.h
>>conftest.
$ac_ext
16654 cat >>conftest.
$ac_ext <<_ACEOF
16655 /* end confdefs.h. */
16656 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
16657 #ifdef LDAV_PRIVILEGED
16658 Yowza Am I SETGID yet
16661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16662 $EGREP "Yowza Am I SETGID yet" >/dev
/null
2>&1; then
16663 ac_cv_func_getloadavg_setgid
=yes
16665 ac_cv_func_getloadavg_setgid
=no
16670 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
16671 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
16672 if test $ac_cv_func_getloadavg_setgid = yes; then
16675 cat >>confdefs.h
<<\_ACEOF
16676 #define GETLOADAVG_PRIVILEGED 1
16683 if test $ac_cv_func_getloadavg_setgid = yes; then
16684 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
16685 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
16686 if test "${ac_cv_group_kmem+set}" = set; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
16690 ac_ls_output
=`ls -lgL /dev/kmem 2>/dev/null`
16691 # If we got an error (system does not support symlinks), try without -L.
16692 test -z "$ac_ls_output" && ac_ls_output
=`ls -lg /dev/kmem`
16693 ac_cv_group_kmem
=`echo $ac_ls_output \
16694 | sed -ne 's/[ ][ ]*/ /g;
16695 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
16699 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
16700 echo "${ECHO_T}$ac_cv_group_kmem" >&6
16701 KMEM_GROUP
=$ac_cv_group_kmem
16703 if test "x$ac_save_LIBS" = x
; then
16704 GETLOADAVG_LIBS
=$LIBS
16706 GETLOADAVG_LIBS
=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
16712 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
16713 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
16714 if test "${ac_cv_sys_largefile_source+set}" = set; then
16715 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 ac_cv_sys_largefile_source
=no
16719 cat >conftest.
$ac_ext <<_ACEOF
16722 cat confdefs.h
>>conftest.
$ac_ext
16723 cat >>conftest.
$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16734 rm -f conftest.
$ac_objext
16735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16736 (eval $ac_compile) 2>conftest.er1
16738 grep -v '^ *+' conftest.er1
>conftest.err
16740 cat conftest.err
>&5
16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 (exit $ac_status); } &&
16743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16745 (eval $ac_try) 2>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); }; } &&
16749 { ac_try
='test -s conftest.$ac_objext'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; }; then
16757 echo "$as_me: failed program was:" >&5
16758 sed 's/^/| /' conftest.
$ac_ext >&5
16761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16762 cat >conftest.
$ac_ext <<_ACEOF
16765 cat confdefs.h
>>conftest.
$ac_ext
16766 cat >>conftest.
$ac_ext <<_ACEOF
16767 /* end confdefs.h. */
16768 #define _LARGEFILE_SOURCE 1
16778 rm -f conftest.
$ac_objext
16779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16780 (eval $ac_compile) 2>conftest.er1
16782 grep -v '^ *+' conftest.er1
>conftest.err
16784 cat conftest.err
>&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); } &&
16787 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16789 (eval $ac_try) 2>&5
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); }; } &&
16793 { ac_try
='test -s conftest.$ac_objext'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; }; then
16799 ac_cv_sys_largefile_source
=1; break
16801 echo "$as_me: failed program was:" >&5
16802 sed 's/^/| /' conftest.
$ac_ext >&5
16805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16809 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
16810 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
16811 if test "$ac_cv_sys_largefile_source" != no
; then
16813 cat >>confdefs.h
<<_ACEOF
16814 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
16820 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
16821 # in glibc 2.1.3, but that breaks too many other things.
16822 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
16823 echo "$as_me:$LINENO: checking for fseeko" >&5
16824 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
16825 if test "${ac_cv_func_fseeko+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16828 cat >conftest.
$ac_ext <<_ACEOF
16831 cat confdefs.h
>>conftest.
$ac_ext
16832 cat >>conftest.
$ac_ext <<_ACEOF
16833 /* end confdefs.h. */
16838 return fseeko && fseeko (stdin, 0, 0);
16843 rm -f conftest.
$ac_objext conftest
$ac_exeext
16844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16845 (eval $ac_link) 2>conftest.er1
16847 grep -v '^ *+' conftest.er1
>conftest.err
16849 cat conftest.err
>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } &&
16852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; } &&
16858 { ac_try
='test -s conftest$ac_exeext'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16864 ac_cv_func_fseeko
=yes
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.
$ac_ext >&5
16869 ac_cv_func_fseeko
=no
16871 rm -f conftest.err conftest.
$ac_objext \
16872 conftest
$ac_exeext conftest.
$ac_ext
16874 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
16875 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
16876 if test $ac_cv_func_fseeko = yes; then
16878 cat >>confdefs.h
<<\_ACEOF
16879 #define HAVE_FSEEKO 1
16885 # Configure getopt.
16886 # getopt.m4 serial 10
16888 # The getopt module assume you want GNU getopt, with getopt_long etc,
16889 # rather than vanilla POSIX getopt. This means your your code should
16890 # always include <getopt.h> for the getopt prototypes.
16902 # Prerequisites of lib/getopt*.
16909 for ac_header
in getopt.h
16911 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16913 echo "$as_me:$LINENO: checking for $ac_header" >&5
16914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16916 echo $ECHO_N "(cached) $ECHO_C" >&6
16918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16921 # Is the header compilable?
16922 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16923 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16924 cat >conftest.
$ac_ext <<_ACEOF
16927 cat confdefs.h
>>conftest.
$ac_ext
16928 cat >>conftest.
$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16930 $ac_includes_default
16931 #include <$ac_header>
16933 rm -f conftest.
$ac_objext
16934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16935 (eval $ac_compile) 2>conftest.er1
16937 grep -v '^ *+' conftest.er1
>conftest.err
16939 cat conftest.err
>&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } &&
16942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; } &&
16948 { ac_try
='test -s conftest.$ac_objext'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; }; then
16954 ac_header_compiler
=yes
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.
$ac_ext >&5
16959 ac_header_compiler
=no
16961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16963 echo "${ECHO_T}$ac_header_compiler" >&6
16965 # Is the header present?
16966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16968 cat >conftest.
$ac_ext <<_ACEOF
16971 cat confdefs.h
>>conftest.
$ac_ext
16972 cat >>conftest.
$ac_ext <<_ACEOF
16973 /* end confdefs.h. */
16974 #include <$ac_header>
16976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16979 grep -v '^ *+' conftest.er1
>conftest.err
16981 cat conftest.err
>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } >/dev
/null
; then
16984 if test -s conftest.err
; then
16985 ac_cpp_err
=$ac_c_preproc_warn_flag
16986 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16993 if test -z "$ac_cpp_err"; then
16994 ac_header_preproc
=yes
16996 echo "$as_me: failed program was:" >&5
16997 sed 's/^/| /' conftest.
$ac_ext >&5
16999 ac_header_preproc
=no
17001 rm -f conftest.err conftest.
$ac_ext
17002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17003 echo "${ECHO_T}$ac_header_preproc" >&6
17005 # So? What about this header?
17006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17012 ac_header_preproc
=yes
17015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17029 ## ------------------------------------------ ##
17030 ## Report this to the AC_PACKAGE_NAME lists. ##
17031 ## ------------------------------------------ ##
17034 sed "s/^/$as_me: WARNING: /" >&2
17037 echo "$as_me:$LINENO: checking for $ac_header" >&5
17038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17040 echo $ECHO_N "(cached) $ECHO_C" >&6
17042 eval "$as_ac_Header=\$ac_header_preproc"
17044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17049 cat >>confdefs.h
<<_ACEOF
17050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17059 if test -z "$GETOPT_H"; then
17061 for ac_func
in getopt_long_only
17063 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17064 echo "$as_me:$LINENO: checking for $ac_func" >&5
17065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17066 if eval "test \"\${$as_ac_var+set}\" = set"; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 cat >conftest.
$ac_ext <<_ACEOF
17072 cat confdefs.h
>>conftest.
$ac_ext
17073 cat >>conftest.
$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17077 #define $ac_func innocuous_$ac_func
17079 /* System header to define __stub macros and hopefully few prototypes,
17080 which can conflict with char $ac_func (); below.
17081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17082 <limits.h> exists even on freestanding compilers. */
17085 # include <limits.h>
17087 # include <assert.h>
17092 /* Override any gcc2 internal prototype to avoid an error. */
17097 /* We use char because int might match the return type of a gcc2
17098 builtin and then its argument prototype would still apply. */
17100 /* The GNU C library defines this for functions which it implements
17101 to always fail with ENOSYS. Some functions are actually named
17102 something starting with __ and the normal name is an alias. */
17103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17106 char (*f) () = $ac_func;
17115 return f != $ac_func;
17120 rm -f conftest.
$ac_objext conftest
$ac_exeext
17121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17122 (eval $ac_link) 2>conftest.er1
17124 grep -v '^ *+' conftest.er1
>conftest.err
17126 cat conftest.err
>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } &&
17129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17131 (eval $ac_try) 2>&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); }; } &&
17135 { ac_try
='test -s conftest$ac_exeext'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; }; then
17141 eval "$as_ac_var=yes"
17143 echo "$as_me: failed program was:" >&5
17144 sed 's/^/| /' conftest.
$ac_ext >&5
17146 eval "$as_ac_var=no"
17148 rm -f conftest.err conftest.
$ac_objext \
17149 conftest
$ac_exeext conftest.
$ac_ext
17151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17153 if test `eval echo '${'$as_ac_var'}'` = yes; then
17154 cat >>confdefs.h
<<_ACEOF
17155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17165 if test -z "$GETOPT_H"; then
17166 echo "$as_me:$LINENO: checking whether optreset is declared" >&5
17167 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
17168 if test "${ac_cv_have_decl_optreset+set}" = set; then
17169 echo $ECHO_N "(cached) $ECHO_C" >&6
17171 cat >conftest.
$ac_ext <<_ACEOF
17174 cat confdefs.h
>>conftest.
$ac_ext
17175 cat >>conftest.
$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17177 #include <getopt.h>
17183 char *p = (char *) optreset;
17190 rm -f conftest.
$ac_objext
17191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17192 (eval $ac_compile) 2>conftest.er1
17194 grep -v '^ *+' conftest.er1
>conftest.err
17196 cat conftest.err
>&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); } &&
17199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17201 (eval $ac_try) 2>&5
17203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 (exit $ac_status); }; } &&
17205 { ac_try
='test -s conftest.$ac_objext'
17206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17207 (eval $ac_try) 2>&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); }; }; then
17211 ac_cv_have_decl_optreset
=yes
17213 echo "$as_me: failed program was:" >&5
17214 sed 's/^/| /' conftest.
$ac_ext >&5
17216 ac_cv_have_decl_optreset
=no
17218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17220 echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
17221 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6
17222 if test $ac_cv_have_decl_optreset = yes; then
17228 if test -z "$GETOPT_H"; then
17229 echo "$as_me:$LINENO: checking for working GNU getopt function" >&5
17230 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6
17231 if test "${gl_cv_func_gnu_getopt+set}" = set; then
17232 echo $ECHO_N "(cached) $ECHO_C" >&6
17234 if test "$cross_compiling" = yes; then
17235 echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
17236 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6
17237 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17240 cat >conftest.
$ac_ext <<_ACEOF
17243 cat confdefs.h
>>conftest.
$ac_ext
17244 cat >>conftest.
$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246 #include <getopt.h>
17251 #ifndef getopt_clip
17252 char *p = (char *) getopt_clip;
17259 rm -f conftest.
$ac_objext
17260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17261 (eval $ac_compile) 2>conftest.er1
17263 grep -v '^ *+' conftest.er1
>conftest.err
17265 cat conftest.err
>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } &&
17268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; } &&
17274 { ac_try
='test -s conftest.$ac_objext'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; }; then
17280 ac_cv_have_decl_getopt_clip
=yes
17282 echo "$as_me: failed program was:" >&5
17283 sed 's/^/| /' conftest.
$ac_ext >&5
17285 ac_cv_have_decl_getopt_clip
=no
17287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17289 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
17290 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6
17291 if test $ac_cv_have_decl_getopt_clip = yes; then
17292 gl_cv_func_gnu_getopt
=no
17294 gl_cv_func_gnu_getopt
=yes
17298 cat >conftest.
$ac_ext <<_ACEOF
17301 cat confdefs.h
>>conftest.
$ac_ext
17302 cat >>conftest.
$ac_ext <<_ACEOF
17303 /* end confdefs.h. */
17304 #include <getopt.h>
17310 myargv[0] = "conftest";
17313 return getopt (2, myargv, "+a") != '?';
17319 rm -f conftest
$ac_exeext
17320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17321 (eval $ac_link) 2>&5
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); } && { ac_try
='./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 gl_cv_func_gnu_getopt
=yes
17332 echo "$as_me: program exited with status $ac_status" >&5
17333 echo "$as_me: failed program was:" >&5
17334 sed 's/^/| /' conftest.
$ac_ext >&5
17336 ( exit $ac_status )
17337 gl_cv_func_gnu_getopt
=no
17339 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17342 echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5
17343 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6
17344 if test "$gl_cv_func_gnu_getopt" = "no"; then
17351 if test -n "$GETOPT_H"; then
17356 cat >>confdefs.h
<<\_ACEOF
17357 #define __GETOPT_PREFIX rpl_
17363 GETOPTOBJS
='getopt.o getopt1.o'
17370 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
17371 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
17372 if test "${ac_cv_func_getpgrp_void+set}" = set; then
17373 echo $ECHO_N "(cached) $ECHO_C" >&6
17375 # Use it with a single arg.
17376 cat >conftest.
$ac_ext <<_ACEOF
17379 cat confdefs.h
>>conftest.
$ac_ext
17380 cat >>conftest.
$ac_ext <<_ACEOF
17381 /* end confdefs.h. */
17382 $ac_includes_default
17391 rm -f conftest.
$ac_objext
17392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17393 (eval $ac_compile) 2>conftest.er1
17395 grep -v '^ *+' conftest.er1
>conftest.err
17397 cat conftest.err
>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); } &&
17400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17402 (eval $ac_try) 2>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; } &&
17406 { ac_try
='test -s conftest.$ac_objext'
17407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408 (eval $ac_try) 2>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); }; }; then
17412 ac_cv_func_getpgrp_void
=no
17414 echo "$as_me: failed program was:" >&5
17415 sed 's/^/| /' conftest.
$ac_ext >&5
17417 ac_cv_func_getpgrp_void
=yes
17419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17422 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
17423 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
17424 if test $ac_cv_func_getpgrp_void = yes; then
17426 cat >>confdefs.h
<<\_ACEOF
17427 #define GETPGRP_VOID 1
17434 for ac_func
in strftime
17436 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17437 echo "$as_me:$LINENO: checking for $ac_func" >&5
17438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17439 if eval "test \"\${$as_ac_var+set}\" = set"; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17442 cat >conftest.
$ac_ext <<_ACEOF
17445 cat confdefs.h
>>conftest.
$ac_ext
17446 cat >>conftest.
$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17450 #define $ac_func innocuous_$ac_func
17452 /* System header to define __stub macros and hopefully few prototypes,
17453 which can conflict with char $ac_func (); below.
17454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17455 <limits.h> exists even on freestanding compilers. */
17458 # include <limits.h>
17460 # include <assert.h>
17465 /* Override any gcc2 internal prototype to avoid an error. */
17470 /* We use char because int might match the return type of a gcc2
17471 builtin and then its argument prototype would still apply. */
17473 /* The GNU C library defines this for functions which it implements
17474 to always fail with ENOSYS. Some functions are actually named
17475 something starting with __ and the normal name is an alias. */
17476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17479 char (*f) () = $ac_func;
17488 return f != $ac_func;
17493 rm -f conftest.
$ac_objext conftest
$ac_exeext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17495 (eval $ac_link) 2>conftest.er1
17497 grep -v '^ *+' conftest.er1
>conftest.err
17499 cat conftest.err
>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; } &&
17508 { ac_try
='test -s conftest$ac_exeext'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; }; then
17514 eval "$as_ac_var=yes"
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.
$ac_ext >&5
17519 eval "$as_ac_var=no"
17521 rm -f conftest.err conftest.
$ac_objext \
17522 conftest
$ac_exeext conftest.
$ac_ext
17524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17526 if test `eval echo '${'$as_ac_var'}'` = yes; then
17527 cat >>confdefs.h
<<_ACEOF
17528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17532 # strftime is in -lintl on SCO UNIX.
17533 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
17534 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
17535 if test "${ac_cv_lib_intl_strftime+set}" = set; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17538 ac_check_lib_save_LIBS
=$LIBS
17539 LIBS
="-lintl $LIBS"
17540 cat >conftest.
$ac_ext <<_ACEOF
17543 cat confdefs.h
>>conftest.
$ac_ext
17544 cat >>conftest.
$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17547 /* Override any gcc2 internal prototype to avoid an error. */
17551 /* We use char because int might match the return type of a gcc2
17552 builtin and then its argument prototype would still apply. */
17562 rm -f conftest.
$ac_objext conftest
$ac_exeext
17563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17564 (eval $ac_link) 2>conftest.er1
17566 grep -v '^ *+' conftest.er1
>conftest.err
17568 cat conftest.err
>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); } &&
17571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17573 (eval $ac_try) 2>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; } &&
17577 { ac_try
='test -s conftest$ac_exeext'
17578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579 (eval $ac_try) 2>&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; }; then
17583 ac_cv_lib_intl_strftime
=yes
17585 echo "$as_me: failed program was:" >&5
17586 sed 's/^/| /' conftest.
$ac_ext >&5
17588 ac_cv_lib_intl_strftime
=no
17590 rm -f conftest.err conftest.
$ac_objext \
17591 conftest
$ac_exeext conftest.
$ac_ext
17592 LIBS
=$ac_check_lib_save_LIBS
17594 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
17595 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
17596 if test $ac_cv_lib_intl_strftime = yes; then
17597 cat >>confdefs.h
<<\_ACEOF
17598 #define HAVE_STRFTIME 1
17601 LIBS
="-lintl $LIBS"
17610 for ac_func
in grantpt
17612 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17613 echo "$as_me:$LINENO: checking for $ac_func" >&5
17614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17615 if eval "test \"\${$as_ac_var+set}\" = set"; then
17616 echo $ECHO_N "(cached) $ECHO_C" >&6
17618 cat >conftest.
$ac_ext <<_ACEOF
17621 cat confdefs.h
>>conftest.
$ac_ext
17622 cat >>conftest.
$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17626 #define $ac_func innocuous_$ac_func
17628 /* System header to define __stub macros and hopefully few prototypes,
17629 which can conflict with char $ac_func (); below.
17630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17631 <limits.h> exists even on freestanding compilers. */
17634 # include <limits.h>
17636 # include <assert.h>
17641 /* Override any gcc2 internal prototype to avoid an error. */
17646 /* We use char because int might match the return type of a gcc2
17647 builtin and then its argument prototype would still apply. */
17649 /* The GNU C library defines this for functions which it implements
17650 to always fail with ENOSYS. Some functions are actually named
17651 something starting with __ and the normal name is an alias. */
17652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17655 char (*f) () = $ac_func;
17664 return f != $ac_func;
17669 rm -f conftest.
$ac_objext conftest
$ac_exeext
17670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17671 (eval $ac_link) 2>conftest.er1
17673 grep -v '^ *+' conftest.er1
>conftest.err
17675 cat conftest.err
>&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } &&
17678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17680 (eval $ac_try) 2>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); }; } &&
17684 { ac_try
='test -s conftest$ac_exeext'
17685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17686 (eval $ac_try) 2>&5
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); }; }; then
17690 eval "$as_ac_var=yes"
17692 echo "$as_me: failed program was:" >&5
17693 sed 's/^/| /' conftest.
$ac_ext >&5
17695 eval "$as_ac_var=no"
17697 rm -f conftest.err conftest.
$ac_objext \
17698 conftest
$ac_exeext conftest.
$ac_ext
17700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17702 if test `eval echo '${'$as_ac_var'}'` = yes; then
17703 cat >>confdefs.h
<<_ACEOF
17704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17711 # PTY-related GNU extensions.
17713 for ac_func
in getpt
17715 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17716 echo "$as_me:$LINENO: checking for $ac_func" >&5
17717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17718 if eval "test \"\${$as_ac_var+set}\" = set"; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17721 cat >conftest.
$ac_ext <<_ACEOF
17724 cat confdefs.h
>>conftest.
$ac_ext
17725 cat >>conftest.
$ac_ext <<_ACEOF
17726 /* end confdefs.h. */
17727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17729 #define $ac_func innocuous_$ac_func
17731 /* System header to define __stub macros and hopefully few prototypes,
17732 which can conflict with char $ac_func (); below.
17733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17734 <limits.h> exists even on freestanding compilers. */
17737 # include <limits.h>
17739 # include <assert.h>
17744 /* Override any gcc2 internal prototype to avoid an error. */
17749 /* We use char because int might match the return type of a gcc2
17750 builtin and then its argument prototype would still apply. */
17752 /* The GNU C library defines this for functions which it implements
17753 to always fail with ENOSYS. Some functions are actually named
17754 something starting with __ and the normal name is an alias. */
17755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17758 char (*f) () = $ac_func;
17767 return f != $ac_func;
17772 rm -f conftest.
$ac_objext conftest
$ac_exeext
17773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17774 (eval $ac_link) 2>conftest.er1
17776 grep -v '^ *+' conftest.er1
>conftest.err
17778 cat conftest.err
>&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } &&
17781 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; } &&
17787 { ac_try
='test -s conftest$ac_exeext'
17788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17789 (eval $ac_try) 2>&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); }; }; then
17793 eval "$as_ac_var=yes"
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.
$ac_ext >&5
17798 eval "$as_ac_var=no"
17800 rm -f conftest.err conftest.
$ac_objext \
17801 conftest
$ac_exeext conftest.
$ac_ext
17803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17805 if test `eval echo '${'$as_ac_var'}'` = yes; then
17806 cat >>confdefs.h
<<_ACEOF
17807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17814 # Check this now, so that we will NOT find the above functions in ncurses.
17815 # That is because we have not set up to link ncurses in lib-src.
17816 # It's better to believe a function is not available
17817 # than to expect to find it in ncurses.
17819 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
17820 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
17821 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
17822 echo $ECHO_N "(cached) $ECHO_C" >&6
17824 ac_check_lib_save_LIBS
=$LIBS
17825 LIBS
="-lncurses $LIBS"
17826 cat >conftest.
$ac_ext <<_ACEOF
17829 cat confdefs.h
>>conftest.
$ac_ext
17830 cat >>conftest.
$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17833 /* Override any gcc2 internal prototype to avoid an error. */
17837 /* We use char because int might match the return type of a gcc2
17838 builtin and then its argument prototype would still apply. */
17848 rm -f conftest.
$ac_objext conftest
$ac_exeext
17849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17850 (eval $ac_link) 2>conftest.er1
17852 grep -v '^ *+' conftest.er1
>conftest.err
17854 cat conftest.err
>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); } &&
17857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17859 (eval $ac_try) 2>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; } &&
17863 { ac_try
='test -s conftest$ac_exeext'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; }; then
17869 ac_cv_lib_ncurses_tparm
=yes
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.
$ac_ext >&5
17874 ac_cv_lib_ncurses_tparm
=no
17876 rm -f conftest.err conftest.
$ac_objext \
17877 conftest
$ac_exeext conftest.
$ac_ext
17878 LIBS
=$ac_check_lib_save_LIBS
17880 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
17881 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
17882 if test $ac_cv_lib_ncurses_tparm = yes; then
17883 cat >>confdefs.h
<<_ACEOF
17884 #define HAVE_LIBNCURSES 1
17887 LIBS
="-lncurses $LIBS"
17892 # Do we need the Hesiod library to provide the support routines?
17893 if test "$with_hesiod" = yes ; then
17894 # Don't set $LIBS here -- see comments above.
17896 echo "$as_me:$LINENO: checking for res_send" >&5
17897 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
17898 if test "${ac_cv_func_res_send+set}" = set; then
17899 echo $ECHO_N "(cached) $ECHO_C" >&6
17901 cat >conftest.
$ac_ext <<_ACEOF
17904 cat confdefs.h
>>conftest.
$ac_ext
17905 cat >>conftest.
$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17907 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
17908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17909 #define res_send innocuous_res_send
17911 /* System header to define __stub macros and hopefully few prototypes,
17912 which can conflict with char res_send (); below.
17913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17914 <limits.h> exists even on freestanding compilers. */
17917 # include <limits.h>
17919 # include <assert.h>
17924 /* Override any gcc2 internal prototype to avoid an error. */
17929 /* We use char because int might match the return type of a gcc2
17930 builtin and then its argument prototype would still apply. */
17932 /* The GNU C library defines this for functions which it implements
17933 to always fail with ENOSYS. Some functions are actually named
17934 something starting with __ and the normal name is an alias. */
17935 #if defined (__stub_res_send) || defined (__stub___res_send)
17938 char (*f) () = res_send;
17947 return f != res_send;
17952 rm -f conftest.
$ac_objext conftest
$ac_exeext
17953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17954 (eval $ac_link) 2>conftest.er1
17956 grep -v '^ *+' conftest.er1
>conftest.err
17958 cat conftest.err
>&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); } &&
17961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963 (eval $ac_try) 2>&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; } &&
17967 { ac_try
='test -s conftest$ac_exeext'
17968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17969 (eval $ac_try) 2>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); }; }; then
17973 ac_cv_func_res_send
=yes
17975 echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.
$ac_ext >&5
17978 ac_cv_func_res_send
=no
17980 rm -f conftest.err conftest.
$ac_objext \
17981 conftest
$ac_exeext conftest.
$ac_ext
17983 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
17984 echo "${ECHO_T}$ac_cv_func_res_send" >&6
17985 if test $ac_cv_func_res_send = yes; then
17988 echo "$as_me:$LINENO: checking for __res_send" >&5
17989 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
17990 if test "${ac_cv_func___res_send+set}" = set; then
17991 echo $ECHO_N "(cached) $ECHO_C" >&6
17993 cat >conftest.
$ac_ext <<_ACEOF
17996 cat confdefs.h
>>conftest.
$ac_ext
17997 cat >>conftest.
$ac_ext <<_ACEOF
17998 /* end confdefs.h. */
17999 /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send.
18000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18001 #define __res_send innocuous___res_send
18003 /* System header to define __stub macros and hopefully few prototypes,
18004 which can conflict with char __res_send (); below.
18005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18006 <limits.h> exists even on freestanding compilers. */
18009 # include <limits.h>
18011 # include <assert.h>
18016 /* Override any gcc2 internal prototype to avoid an error. */
18021 /* We use char because int might match the return type of a gcc2
18022 builtin and then its argument prototype would still apply. */
18023 char __res_send ();
18024 /* The GNU C library defines this for functions which it implements
18025 to always fail with ENOSYS. Some functions are actually named
18026 something starting with __ and the normal name is an alias. */
18027 #if defined (__stub___res_send) || defined (__stub_____res_send)
18030 char (*f) () = __res_send;
18039 return f != __res_send;
18044 rm -f conftest.
$ac_objext conftest
$ac_exeext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18046 (eval $ac_link) 2>conftest.er1
18048 grep -v '^ *+' conftest.er1
>conftest.err
18050 cat conftest.err
>&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } &&
18053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18055 (eval $ac_try) 2>&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); }; } &&
18059 { ac_try
='test -s conftest$ac_exeext'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; }; then
18065 ac_cv_func___res_send
=yes
18067 echo "$as_me: failed program was:" >&5
18068 sed 's/^/| /' conftest.
$ac_ext >&5
18070 ac_cv_func___res_send
=no
18072 rm -f conftest.err conftest.
$ac_objext \
18073 conftest
$ac_exeext conftest.
$ac_ext
18075 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
18076 echo "${ECHO_T}$ac_cv_func___res_send" >&6
18077 if test $ac_cv_func___res_send = yes; then
18080 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
18081 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
18082 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18085 ac_check_lib_save_LIBS
=$LIBS
18086 LIBS
="-lresolv $LIBS"
18087 cat >conftest.
$ac_ext <<_ACEOF
18090 cat confdefs.h
>>conftest.
$ac_ext
18091 cat >>conftest.
$ac_ext <<_ACEOF
18092 /* end confdefs.h. */
18094 /* Override any gcc2 internal prototype to avoid an error. */
18098 /* We use char because int might match the return type of a gcc2
18099 builtin and then its argument prototype would still apply. */
18109 rm -f conftest.
$ac_objext conftest
$ac_exeext
18110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18111 (eval $ac_link) 2>conftest.er1
18113 grep -v '^ *+' conftest.er1
>conftest.err
18115 cat conftest.err
>&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } &&
18118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18120 (eval $ac_try) 2>&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); }; } &&
18124 { ac_try
='test -s conftest$ac_exeext'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; }; then
18130 ac_cv_lib_resolv_res_send
=yes
18132 echo "$as_me: failed program was:" >&5
18133 sed 's/^/| /' conftest.
$ac_ext >&5
18135 ac_cv_lib_resolv_res_send
=no
18137 rm -f conftest.err conftest.
$ac_objext \
18138 conftest
$ac_exeext conftest.
$ac_ext
18139 LIBS
=$ac_check_lib_save_LIBS
18141 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
18142 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
18143 if test $ac_cv_lib_resolv_res_send = yes; then
18146 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
18147 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
18148 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
18149 echo $ECHO_N "(cached) $ECHO_C" >&6
18151 ac_check_lib_save_LIBS
=$LIBS
18152 LIBS
="-lresolv $LIBS"
18153 cat >conftest.
$ac_ext <<_ACEOF
18156 cat confdefs.h
>>conftest.
$ac_ext
18157 cat >>conftest.
$ac_ext <<_ACEOF
18158 /* end confdefs.h. */
18160 /* Override any gcc2 internal prototype to avoid an error. */
18164 /* We use char because int might match the return type of a gcc2
18165 builtin and then its argument prototype would still apply. */
18166 char __res_send ();
18175 rm -f conftest.
$ac_objext conftest
$ac_exeext
18176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18177 (eval $ac_link) 2>conftest.er1
18179 grep -v '^ *+' conftest.er1
>conftest.err
18181 cat conftest.err
>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); } &&
18184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; } &&
18190 { ac_try
='test -s conftest$ac_exeext'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; }; then
18196 ac_cv_lib_resolv___res_send
=yes
18198 echo "$as_me: failed program was:" >&5
18199 sed 's/^/| /' conftest.
$ac_ext >&5
18201 ac_cv_lib_resolv___res_send
=no
18203 rm -f conftest.err conftest.
$ac_objext \
18204 conftest
$ac_exeext conftest.
$ac_ext
18205 LIBS
=$ac_check_lib_save_LIBS
18207 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
18208 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
18209 if test $ac_cv_lib_resolv___res_send = yes; then
18219 if test "$resolv" = yes ; then
18222 cat >>confdefs.h
<<\_ACEOF
18223 #define HAVE_LIBRESOLV 1
18229 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
18230 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
18231 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18234 cat >conftest.
$ac_ext <<_ACEOF
18237 cat confdefs.h
>>conftest.
$ac_ext
18238 cat >>conftest.
$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost.
18241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18242 #define hes_getmailhost innocuous_hes_getmailhost
18244 /* System header to define __stub macros and hopefully few prototypes,
18245 which can conflict with char hes_getmailhost (); below.
18246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18247 <limits.h> exists even on freestanding compilers. */
18250 # include <limits.h>
18252 # include <assert.h>
18255 #undef hes_getmailhost
18257 /* Override any gcc2 internal prototype to avoid an error. */
18262 /* We use char because int might match the return type of a gcc2
18263 builtin and then its argument prototype would still apply. */
18264 char hes_getmailhost ();
18265 /* The GNU C library defines this for functions which it implements
18266 to always fail with ENOSYS. Some functions are actually named
18267 something starting with __ and the normal name is an alias. */
18268 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost)
18271 char (*f) () = hes_getmailhost;
18280 return f != hes_getmailhost;
18285 rm -f conftest.
$ac_objext conftest
$ac_exeext
18286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18287 (eval $ac_link) 2>conftest.er1
18289 grep -v '^ *+' conftest.er1
>conftest.err
18291 cat conftest.err
>&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); } &&
18294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; } &&
18300 { ac_try
='test -s conftest$ac_exeext'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; }; then
18306 ac_cv_func_hes_getmailhost
=yes
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.
$ac_ext >&5
18311 ac_cv_func_hes_getmailhost
=no
18313 rm -f conftest.err conftest.
$ac_objext \
18314 conftest
$ac_exeext conftest.
$ac_ext
18316 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
18317 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
18318 if test $ac_cv_func_hes_getmailhost = yes; then
18321 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
18322 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
18323 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
18324 echo $ECHO_N "(cached) $ECHO_C" >&6
18326 ac_check_lib_save_LIBS
=$LIBS
18327 LIBS
="-lhesiod $RESOLVLIB $LIBS"
18328 cat >conftest.
$ac_ext <<_ACEOF
18331 cat confdefs.h
>>conftest.
$ac_ext
18332 cat >>conftest.
$ac_ext <<_ACEOF
18333 /* end confdefs.h. */
18335 /* Override any gcc2 internal prototype to avoid an error. */
18339 /* We use char because int might match the return type of a gcc2
18340 builtin and then its argument prototype would still apply. */
18341 char hes_getmailhost ();
18345 hes_getmailhost ();
18350 rm -f conftest.
$ac_objext conftest
$ac_exeext
18351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18352 (eval $ac_link) 2>conftest.er1
18354 grep -v '^ *+' conftest.er1
>conftest.err
18356 cat conftest.err
>&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); } &&
18359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18365 { ac_try
='test -s conftest$ac_exeext'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; }; then
18371 ac_cv_lib_hesiod_hes_getmailhost
=yes
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.
$ac_ext >&5
18376 ac_cv_lib_hesiod_hes_getmailhost
=no
18378 rm -f conftest.err conftest.
$ac_objext \
18379 conftest
$ac_exeext conftest.
$ac_ext
18380 LIBS
=$ac_check_lib_save_LIBS
18382 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
18383 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
18384 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
18386 cat >>confdefs.h
<<\_ACEOF
18387 #define HAVE_LIBHESIOD 1
18398 # These tell us which Kerberos-related libraries to use.
18399 if test "${with_kerberos+set}" = set; then
18401 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
18402 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
18403 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
18404 echo $ECHO_N "(cached) $ECHO_C" >&6
18406 ac_check_lib_save_LIBS
=$LIBS
18407 LIBS
="-lcom_err $LIBS"
18408 cat >conftest.
$ac_ext <<_ACEOF
18411 cat confdefs.h
>>conftest.
$ac_ext
18412 cat >>conftest.
$ac_ext <<_ACEOF
18413 /* end confdefs.h. */
18415 /* Override any gcc2 internal prototype to avoid an error. */
18419 /* We use char because int might match the return type of a gcc2
18420 builtin and then its argument prototype would still apply. */
18430 rm -f conftest.
$ac_objext conftest
$ac_exeext
18431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18432 (eval $ac_link) 2>conftest.er1
18434 grep -v '^ *+' conftest.er1
>conftest.err
18436 cat conftest.err
>&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); } &&
18439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; } &&
18445 { ac_try
='test -s conftest$ac_exeext'
18446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447 (eval $ac_try) 2>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }; }; then
18451 ac_cv_lib_com_err_com_err
=yes
18453 echo "$as_me: failed program was:" >&5
18454 sed 's/^/| /' conftest.
$ac_ext >&5
18456 ac_cv_lib_com_err_com_err
=no
18458 rm -f conftest.err conftest.
$ac_objext \
18459 conftest
$ac_exeext conftest.
$ac_ext
18460 LIBS
=$ac_check_lib_save_LIBS
18462 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
18463 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
18464 if test $ac_cv_lib_com_err_com_err = yes; then
18465 cat >>confdefs.h
<<_ACEOF
18466 #define HAVE_LIBCOM_ERR 1
18469 LIBS
="-lcom_err $LIBS"
18474 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
18475 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
18476 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
18477 echo $ECHO_N "(cached) $ECHO_C" >&6
18479 ac_check_lib_save_LIBS
=$LIBS
18480 LIBS
="-lk5crypto $LIBS"
18481 cat >conftest.
$ac_ext <<_ACEOF
18484 cat confdefs.h
>>conftest.
$ac_ext
18485 cat >>conftest.
$ac_ext <<_ACEOF
18486 /* end confdefs.h. */
18488 /* Override any gcc2 internal prototype to avoid an error. */
18492 /* We use char because int might match the return type of a gcc2
18493 builtin and then its argument prototype would still apply. */
18494 char mit_des_cbc_encrypt ();
18498 mit_des_cbc_encrypt ();
18503 rm -f conftest.
$ac_objext conftest
$ac_exeext
18504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18505 (eval $ac_link) 2>conftest.er1
18507 grep -v '^ *+' conftest.er1
>conftest.err
18509 cat conftest.err
>&5
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); } &&
18512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18514 (eval $ac_try) 2>&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; } &&
18518 { ac_try
='test -s conftest$ac_exeext'
18519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18520 (eval $ac_try) 2>&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); }; }; then
18524 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=yes
18526 echo "$as_me: failed program was:" >&5
18527 sed 's/^/| /' conftest.
$ac_ext >&5
18529 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=no
18531 rm -f conftest.err conftest.
$ac_objext \
18532 conftest
$ac_exeext conftest.
$ac_ext
18533 LIBS
=$ac_check_lib_save_LIBS
18535 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
18536 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
18537 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
18538 cat >>confdefs.h
<<_ACEOF
18539 #define HAVE_LIBK5CRYPTO 1
18542 LIBS
="-lk5crypto $LIBS"
18547 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
18548 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
18549 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
18550 echo $ECHO_N "(cached) $ECHO_C" >&6
18552 ac_check_lib_save_LIBS
=$LIBS
18553 LIBS
="-lcrypto $LIBS"
18554 cat >conftest.
$ac_ext <<_ACEOF
18557 cat confdefs.h
>>conftest.
$ac_ext
18558 cat >>conftest.
$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18561 /* Override any gcc2 internal prototype to avoid an error. */
18565 /* We use char because int might match the return type of a gcc2
18566 builtin and then its argument prototype would still apply. */
18567 char mit_des_cbc_encrypt ();
18571 mit_des_cbc_encrypt ();
18576 rm -f conftest.
$ac_objext conftest
$ac_exeext
18577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18578 (eval $ac_link) 2>conftest.er1
18580 grep -v '^ *+' conftest.er1
>conftest.err
18582 cat conftest.err
>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); } &&
18585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; } &&
18591 { ac_try
='test -s conftest$ac_exeext'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; }; then
18597 ac_cv_lib_crypto_mit_des_cbc_encrypt
=yes
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.
$ac_ext >&5
18602 ac_cv_lib_crypto_mit_des_cbc_encrypt
=no
18604 rm -f conftest.err conftest.
$ac_objext \
18605 conftest
$ac_exeext conftest.
$ac_ext
18606 LIBS
=$ac_check_lib_save_LIBS
18608 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
18609 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
18610 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
18611 cat >>confdefs.h
<<_ACEOF
18612 #define HAVE_LIBCRYPTO 1
18615 LIBS
="-lcrypto $LIBS"
18620 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
18621 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
18622 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
18623 echo $ECHO_N "(cached) $ECHO_C" >&6
18625 ac_check_lib_save_LIBS
=$LIBS
18626 LIBS
="-lkrb5 $LIBS"
18627 cat >conftest.
$ac_ext <<_ACEOF
18630 cat confdefs.h
>>conftest.
$ac_ext
18631 cat >>conftest.
$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18634 /* Override any gcc2 internal prototype to avoid an error. */
18638 /* We use char because int might match the return type of a gcc2
18639 builtin and then its argument prototype would still apply. */
18640 char krb5_init_context ();
18644 krb5_init_context ();
18649 rm -f conftest.
$ac_objext conftest
$ac_exeext
18650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18651 (eval $ac_link) 2>conftest.er1
18653 grep -v '^ *+' conftest.er1
>conftest.err
18655 cat conftest.err
>&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); } &&
18658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18660 (eval $ac_try) 2>&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); }; } &&
18664 { ac_try
='test -s conftest$ac_exeext'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; }; then
18670 ac_cv_lib_krb5_krb5_init_context
=yes
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.
$ac_ext >&5
18675 ac_cv_lib_krb5_krb5_init_context
=no
18677 rm -f conftest.err conftest.
$ac_objext \
18678 conftest
$ac_exeext conftest.
$ac_ext
18679 LIBS
=$ac_check_lib_save_LIBS
18681 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
18682 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
18683 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
18684 cat >>confdefs.h
<<_ACEOF
18685 #define HAVE_LIBKRB5 1
18688 LIBS
="-lkrb5 $LIBS"
18692 if test "${with_kerberos5+set}" != set; then
18694 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
18695 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
18696 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
18697 echo $ECHO_N "(cached) $ECHO_C" >&6
18699 ac_check_lib_save_LIBS
=$LIBS
18700 LIBS
="-ldes425 $LIBS"
18701 cat >conftest.
$ac_ext <<_ACEOF
18704 cat confdefs.h
>>conftest.
$ac_ext
18705 cat >>conftest.
$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18708 /* Override any gcc2 internal prototype to avoid an error. */
18712 /* We use char because int might match the return type of a gcc2
18713 builtin and then its argument prototype would still apply. */
18714 char des_cbc_encrypt ();
18718 des_cbc_encrypt ();
18723 rm -f conftest.
$ac_objext conftest
$ac_exeext
18724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18725 (eval $ac_link) 2>conftest.er1
18727 grep -v '^ *+' conftest.er1
>conftest.err
18729 cat conftest.err
>&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); } &&
18732 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; } &&
18738 { ac_try
='test -s conftest$ac_exeext'
18739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18740 (eval $ac_try) 2>&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; }; then
18744 ac_cv_lib_des425_des_cbc_encrypt
=yes
18746 echo "$as_me: failed program was:" >&5
18747 sed 's/^/| /' conftest.
$ac_ext >&5
18749 ac_cv_lib_des425_des_cbc_encrypt
=no
18751 rm -f conftest.err conftest.
$ac_objext \
18752 conftest
$ac_exeext conftest.
$ac_ext
18753 LIBS
=$ac_check_lib_save_LIBS
18755 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
18756 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
18757 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
18758 cat >>confdefs.h
<<_ACEOF
18759 #define HAVE_LIBDES425 1
18762 LIBS
="-ldes425 $LIBS"
18766 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
18767 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
18768 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
18769 echo $ECHO_N "(cached) $ECHO_C" >&6
18771 ac_check_lib_save_LIBS
=$LIBS
18773 cat >conftest.
$ac_ext <<_ACEOF
18776 cat confdefs.h
>>conftest.
$ac_ext
18777 cat >>conftest.
$ac_ext <<_ACEOF
18778 /* end confdefs.h. */
18780 /* Override any gcc2 internal prototype to avoid an error. */
18784 /* We use char because int might match the return type of a gcc2
18785 builtin and then its argument prototype would still apply. */
18786 char des_cbc_encrypt ();
18790 des_cbc_encrypt ();
18795 rm -f conftest.
$ac_objext conftest
$ac_exeext
18796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18797 (eval $ac_link) 2>conftest.er1
18799 grep -v '^ *+' conftest.er1
>conftest.err
18801 cat conftest.err
>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); } &&
18804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18810 { ac_try
='test -s conftest$ac_exeext'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; }; then
18816 ac_cv_lib_des_des_cbc_encrypt
=yes
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.
$ac_ext >&5
18821 ac_cv_lib_des_des_cbc_encrypt
=no
18823 rm -f conftest.err conftest.
$ac_objext \
18824 conftest
$ac_exeext conftest.
$ac_ext
18825 LIBS
=$ac_check_lib_save_LIBS
18827 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
18828 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
18829 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
18830 cat >>confdefs.h
<<_ACEOF
18831 #define HAVE_LIBDES 1
18841 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
18842 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
18843 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
18844 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 ac_check_lib_save_LIBS
=$LIBS
18847 LIBS
="-lkrb4 $LIBS"
18848 cat >conftest.
$ac_ext <<_ACEOF
18851 cat confdefs.h
>>conftest.
$ac_ext
18852 cat >>conftest.
$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18855 /* Override any gcc2 internal prototype to avoid an error. */
18859 /* We use char because int might match the return type of a gcc2
18860 builtin and then its argument prototype would still apply. */
18861 char krb_get_cred ();
18870 rm -f conftest.
$ac_objext conftest
$ac_exeext
18871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18872 (eval $ac_link) 2>conftest.er1
18874 grep -v '^ *+' conftest.er1
>conftest.err
18876 cat conftest.err
>&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); } &&
18879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; } &&
18885 { ac_try
='test -s conftest$ac_exeext'
18886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18887 (eval $ac_try) 2>&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); }; }; then
18891 ac_cv_lib_krb4_krb_get_cred
=yes
18893 echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.
$ac_ext >&5
18896 ac_cv_lib_krb4_krb_get_cred
=no
18898 rm -f conftest.err conftest.
$ac_objext \
18899 conftest
$ac_exeext conftest.
$ac_ext
18900 LIBS
=$ac_check_lib_save_LIBS
18902 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
18903 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
18904 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
18905 cat >>confdefs.h
<<_ACEOF
18906 #define HAVE_LIBKRB4 1
18909 LIBS
="-lkrb4 $LIBS"
18913 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
18914 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
18915 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
18916 echo $ECHO_N "(cached) $ECHO_C" >&6
18918 ac_check_lib_save_LIBS
=$LIBS
18920 cat >conftest.
$ac_ext <<_ACEOF
18923 cat confdefs.h
>>conftest.
$ac_ext
18924 cat >>conftest.
$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18927 /* Override any gcc2 internal prototype to avoid an error. */
18931 /* We use char because int might match the return type of a gcc2
18932 builtin and then its argument prototype would still apply. */
18933 char krb_get_cred ();
18942 rm -f conftest.
$ac_objext conftest
$ac_exeext
18943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18944 (eval $ac_link) 2>conftest.er1
18946 grep -v '^ *+' conftest.er1
>conftest.err
18948 cat conftest.err
>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18957 { ac_try
='test -s conftest$ac_exeext'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; }; then
18963 ac_cv_lib_krb_krb_get_cred
=yes
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.
$ac_ext >&5
18968 ac_cv_lib_krb_krb_get_cred
=no
18970 rm -f conftest.err conftest.
$ac_objext \
18971 conftest
$ac_exeext conftest.
$ac_ext
18972 LIBS
=$ac_check_lib_save_LIBS
18974 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
18975 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
18976 if test $ac_cv_lib_krb_krb_get_cred = yes; then
18977 cat >>confdefs.h
<<_ACEOF
18978 #define HAVE_LIBKRB 1
18989 if test "${with_kerberos5+set}" = set; then
18991 for ac_header
in krb5.h
18993 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18995 echo "$as_me:$LINENO: checking for $ac_header" >&5
18996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18998 echo $ECHO_N "(cached) $ECHO_C" >&6
19000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19003 # Is the header compilable?
19004 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19005 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19006 cat >conftest.
$ac_ext <<_ACEOF
19009 cat confdefs.h
>>conftest.
$ac_ext
19010 cat >>conftest.
$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19012 $ac_includes_default
19013 #include <$ac_header>
19015 rm -f conftest.
$ac_objext
19016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19017 (eval $ac_compile) 2>conftest.er1
19019 grep -v '^ *+' conftest.er1
>conftest.err
19021 cat conftest.err
>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } &&
19024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026 (eval $ac_try) 2>&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; } &&
19030 { ac_try
='test -s conftest.$ac_objext'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; }; then
19036 ac_header_compiler
=yes
19038 echo "$as_me: failed program was:" >&5
19039 sed 's/^/| /' conftest.
$ac_ext >&5
19041 ac_header_compiler
=no
19043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19044 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19045 echo "${ECHO_T}$ac_header_compiler" >&6
19047 # Is the header present?
19048 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19049 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19050 cat >conftest.
$ac_ext <<_ACEOF
19053 cat confdefs.h
>>conftest.
$ac_ext
19054 cat >>conftest.
$ac_ext <<_ACEOF
19055 /* end confdefs.h. */
19056 #include <$ac_header>
19058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19059 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19061 grep -v '^ *+' conftest.er1
>conftest.err
19063 cat conftest.err
>&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); } >/dev
/null
; then
19066 if test -s conftest.err
; then
19067 ac_cpp_err
=$ac_c_preproc_warn_flag
19068 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19075 if test -z "$ac_cpp_err"; then
19076 ac_header_preproc
=yes
19078 echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.
$ac_ext >&5
19081 ac_header_preproc
=no
19083 rm -f conftest.err conftest.
$ac_ext
19084 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19085 echo "${ECHO_T}$ac_header_preproc" >&6
19087 # So? What about this header?
19088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19090 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19091 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19093 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19094 ac_header_preproc
=yes
19097 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19098 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19099 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19100 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19101 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19102 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19103 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19104 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19107 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19108 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19111 ## ------------------------------------------ ##
19112 ## Report this to the AC_PACKAGE_NAME lists. ##
19113 ## ------------------------------------------ ##
19116 sed "s/^/$as_me: WARNING: /" >&2
19119 echo "$as_me:$LINENO: checking for $ac_header" >&5
19120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19122 echo $ECHO_N "(cached) $ECHO_C" >&6
19124 eval "$as_ac_Header=\$ac_header_preproc"
19126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19131 cat >>confdefs.h
<<_ACEOF
19132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19141 for ac_header
in des.h
19143 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19145 echo "$as_me:$LINENO: checking for $ac_header" >&5
19146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19148 echo $ECHO_N "(cached) $ECHO_C" >&6
19150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19153 # Is the header compilable?
19154 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19156 cat >conftest.
$ac_ext <<_ACEOF
19159 cat confdefs.h
>>conftest.
$ac_ext
19160 cat >>conftest.
$ac_ext <<_ACEOF
19161 /* end confdefs.h. */
19162 $ac_includes_default
19163 #include <$ac_header>
19165 rm -f conftest.
$ac_objext
19166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19167 (eval $ac_compile) 2>conftest.er1
19169 grep -v '^ *+' conftest.er1
>conftest.err
19171 cat conftest.err
>&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } &&
19174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176 (eval $ac_try) 2>&5
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); }; } &&
19180 { ac_try
='test -s conftest.$ac_objext'
19181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19182 (eval $ac_try) 2>&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); }; }; then
19186 ac_header_compiler
=yes
19188 echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.
$ac_ext >&5
19191 ac_header_compiler
=no
19193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19194 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19195 echo "${ECHO_T}$ac_header_compiler" >&6
19197 # Is the header present?
19198 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19200 cat >conftest.
$ac_ext <<_ACEOF
19203 cat confdefs.h
>>conftest.
$ac_ext
19204 cat >>conftest.
$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 #include <$ac_header>
19208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19209 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19211 grep -v '^ *+' conftest.er1
>conftest.err
19213 cat conftest.err
>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); } >/dev
/null
; then
19216 if test -s conftest.err
; then
19217 ac_cpp_err
=$ac_c_preproc_warn_flag
19218 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19225 if test -z "$ac_cpp_err"; then
19226 ac_header_preproc
=yes
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.
$ac_ext >&5
19231 ac_header_preproc
=no
19233 rm -f conftest.err conftest.
$ac_ext
19234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19235 echo "${ECHO_T}$ac_header_preproc" >&6
19237 # So? What about this header?
19238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19240 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19241 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19243 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19244 ac_header_preproc
=yes
19247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19251 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19252 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19253 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19254 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19257 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19258 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19261 ## ------------------------------------------ ##
19262 ## Report this to the AC_PACKAGE_NAME lists. ##
19263 ## ------------------------------------------ ##
19266 sed "s/^/$as_me: WARNING: /" >&2
19269 echo "$as_me:$LINENO: checking for $ac_header" >&5
19270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19272 echo $ECHO_N "(cached) $ECHO_C" >&6
19274 eval "$as_ac_Header=\$ac_header_preproc"
19276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19281 cat >>confdefs.h
<<_ACEOF
19282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19287 for ac_header
in kerberosIV
/des.h
19289 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19291 echo "$as_me:$LINENO: checking for $ac_header" >&5
19292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19294 echo $ECHO_N "(cached) $ECHO_C" >&6
19296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19299 # Is the header compilable?
19300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19302 cat >conftest.
$ac_ext <<_ACEOF
19305 cat confdefs.h
>>conftest.
$ac_ext
19306 cat >>conftest.
$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 $ac_includes_default
19309 #include <$ac_header>
19311 rm -f conftest.
$ac_objext
19312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19313 (eval $ac_compile) 2>conftest.er1
19315 grep -v '^ *+' conftest.er1
>conftest.err
19317 cat conftest.err
>&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } &&
19320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19322 (eval $ac_try) 2>&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); }; } &&
19326 { ac_try
='test -s conftest.$ac_objext'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; }; then
19332 ac_header_compiler
=yes
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.
$ac_ext >&5
19337 ac_header_compiler
=no
19339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19341 echo "${ECHO_T}$ac_header_compiler" >&6
19343 # Is the header present?
19344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19346 cat >conftest.
$ac_ext <<_ACEOF
19349 cat confdefs.h
>>conftest.
$ac_ext
19350 cat >>conftest.
$ac_ext <<_ACEOF
19351 /* end confdefs.h. */
19352 #include <$ac_header>
19354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19357 grep -v '^ *+' conftest.er1
>conftest.err
19359 cat conftest.err
>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); } >/dev
/null
; then
19362 if test -s conftest.err
; then
19363 ac_cpp_err
=$ac_c_preproc_warn_flag
19364 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19371 if test -z "$ac_cpp_err"; then
19372 ac_header_preproc
=yes
19374 echo "$as_me: failed program was:" >&5
19375 sed 's/^/| /' conftest.
$ac_ext >&5
19377 ac_header_preproc
=no
19379 rm -f conftest.err conftest.
$ac_ext
19380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19381 echo "${ECHO_T}$ac_header_preproc" >&6
19383 # So? What about this header?
19384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19389 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19390 ac_header_preproc
=yes
19393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19394 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19396 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19397 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19398 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19399 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19400 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19403 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19404 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19407 ## ------------------------------------------ ##
19408 ## Report this to the AC_PACKAGE_NAME lists. ##
19409 ## ------------------------------------------ ##
19412 sed "s/^/$as_me: WARNING: /" >&2
19415 echo "$as_me:$LINENO: checking for $ac_header" >&5
19416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 eval "$as_ac_Header=\$ac_header_preproc"
19422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19427 cat >>confdefs.h
<<_ACEOF
19428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19433 for ac_header
in kerberos
/des.h
19435 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19437 echo "$as_me:$LINENO: checking for $ac_header" >&5
19438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19445 # Is the header compilable?
19446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19448 cat >conftest.
$ac_ext <<_ACEOF
19451 cat confdefs.h
>>conftest.
$ac_ext
19452 cat >>conftest.
$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19454 $ac_includes_default
19455 #include <$ac_header>
19457 rm -f conftest.
$ac_objext
19458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19459 (eval $ac_compile) 2>conftest.er1
19461 grep -v '^ *+' conftest.er1
>conftest.err
19463 cat conftest.err
>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } &&
19466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; } &&
19472 { ac_try
='test -s conftest.$ac_objext'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19478 ac_header_compiler
=yes
19480 echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.
$ac_ext >&5
19483 ac_header_compiler
=no
19485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19487 echo "${ECHO_T}$ac_header_compiler" >&6
19489 # Is the header present?
19490 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19492 cat >conftest.
$ac_ext <<_ACEOF
19495 cat confdefs.h
>>conftest.
$ac_ext
19496 cat >>conftest.
$ac_ext <<_ACEOF
19497 /* end confdefs.h. */
19498 #include <$ac_header>
19500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19503 grep -v '^ *+' conftest.er1
>conftest.err
19505 cat conftest.err
>&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); } >/dev
/null
; then
19508 if test -s conftest.err
; then
19509 ac_cpp_err
=$ac_c_preproc_warn_flag
19510 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19517 if test -z "$ac_cpp_err"; then
19518 ac_header_preproc
=yes
19520 echo "$as_me: failed program was:" >&5
19521 sed 's/^/| /' conftest.
$ac_ext >&5
19523 ac_header_preproc
=no
19525 rm -f conftest.err conftest.
$ac_ext
19526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19527 echo "${ECHO_T}$ac_header_preproc" >&6
19529 # So? What about this header?
19530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19533 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19535 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19536 ac_header_preproc
=yes
19539 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19540 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19541 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19542 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19543 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19544 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19545 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19546 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19548 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19549 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19550 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19553 ## ------------------------------------------ ##
19554 ## Report this to the AC_PACKAGE_NAME lists. ##
19555 ## ------------------------------------------ ##
19558 sed "s/^/$as_me: WARNING: /" >&2
19561 echo "$as_me:$LINENO: checking for $ac_header" >&5
19562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19564 echo $ECHO_N "(cached) $ECHO_C" >&6
19566 eval "$as_ac_Header=\$ac_header_preproc"
19568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19573 cat >>confdefs.h
<<_ACEOF
19574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19590 for ac_header
in krb.h
19592 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19594 echo "$as_me:$LINENO: checking for $ac_header" >&5
19595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19597 echo $ECHO_N "(cached) $ECHO_C" >&6
19599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19602 # Is the header compilable?
19603 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19604 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19605 cat >conftest.
$ac_ext <<_ACEOF
19608 cat confdefs.h
>>conftest.
$ac_ext
19609 cat >>conftest.
$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 #include <$ac_header>
19614 rm -f conftest.
$ac_objext
19615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19616 (eval $ac_compile) 2>conftest.er1
19618 grep -v '^ *+' conftest.er1
>conftest.err
19620 cat conftest.err
>&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } &&
19623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; } &&
19629 { ac_try
='test -s conftest.$ac_objext'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 ac_header_compiler
=yes
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.
$ac_ext >&5
19640 ac_header_compiler
=no
19642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19643 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19644 echo "${ECHO_T}$ac_header_compiler" >&6
19646 # Is the header present?
19647 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19648 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19649 cat >conftest.
$ac_ext <<_ACEOF
19652 cat confdefs.h
>>conftest.
$ac_ext
19653 cat >>conftest.
$ac_ext <<_ACEOF
19654 /* end confdefs.h. */
19655 #include <$ac_header>
19657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19658 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19660 grep -v '^ *+' conftest.er1
>conftest.err
19662 cat conftest.err
>&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } >/dev
/null
; then
19665 if test -s conftest.err
; then
19666 ac_cpp_err
=$ac_c_preproc_warn_flag
19667 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19674 if test -z "$ac_cpp_err"; then
19675 ac_header_preproc
=yes
19677 echo "$as_me: failed program was:" >&5
19678 sed 's/^/| /' conftest.
$ac_ext >&5
19680 ac_header_preproc
=no
19682 rm -f conftest.err conftest.
$ac_ext
19683 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19684 echo "${ECHO_T}$ac_header_preproc" >&6
19686 # So? What about this header?
19687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19689 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19692 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19693 ac_header_preproc
=yes
19696 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19697 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19698 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19699 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19701 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19702 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19703 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19706 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19707 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19710 ## ------------------------------------------ ##
19711 ## Report this to the AC_PACKAGE_NAME lists. ##
19712 ## ------------------------------------------ ##
19715 sed "s/^/$as_me: WARNING: /" >&2
19718 echo "$as_me:$LINENO: checking for $ac_header" >&5
19719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19721 echo $ECHO_N "(cached) $ECHO_C" >&6
19723 eval "$as_ac_Header=\$ac_header_preproc"
19725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19730 cat >>confdefs.h
<<_ACEOF
19731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19736 for ac_header
in kerberosIV
/krb.h
19738 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19740 echo "$as_me:$LINENO: checking for $ac_header" >&5
19741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19743 echo $ECHO_N "(cached) $ECHO_C" >&6
19745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19748 # Is the header compilable?
19749 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19750 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19751 cat >conftest.
$ac_ext <<_ACEOF
19754 cat confdefs.h
>>conftest.
$ac_ext
19755 cat >>conftest.
$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19757 $ac_includes_default
19758 #include <$ac_header>
19760 rm -f conftest.
$ac_objext
19761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19762 (eval $ac_compile) 2>conftest.er1
19764 grep -v '^ *+' conftest.er1
>conftest.err
19766 cat conftest.err
>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } &&
19769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; } &&
19775 { ac_try
='test -s conftest.$ac_objext'
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; }; then
19781 ac_header_compiler
=yes
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.
$ac_ext >&5
19786 ac_header_compiler
=no
19788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19790 echo "${ECHO_T}$ac_header_compiler" >&6
19792 # Is the header present?
19793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19795 cat >conftest.
$ac_ext <<_ACEOF
19798 cat confdefs.h
>>conftest.
$ac_ext
19799 cat >>conftest.
$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 #include <$ac_header>
19803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19806 grep -v '^ *+' conftest.er1
>conftest.err
19808 cat conftest.err
>&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); } >/dev
/null
; then
19811 if test -s conftest.err
; then
19812 ac_cpp_err
=$ac_c_preproc_warn_flag
19813 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19820 if test -z "$ac_cpp_err"; then
19821 ac_header_preproc
=yes
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.
$ac_ext >&5
19826 ac_header_preproc
=no
19828 rm -f conftest.err conftest.
$ac_ext
19829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19830 echo "${ECHO_T}$ac_header_preproc" >&6
19832 # So? What about this header?
19833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19838 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19839 ac_header_preproc
=yes
19842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19843 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19845 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19847 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19849 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19853 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19856 ## ------------------------------------------ ##
19857 ## Report this to the AC_PACKAGE_NAME lists. ##
19858 ## ------------------------------------------ ##
19861 sed "s/^/$as_me: WARNING: /" >&2
19864 echo "$as_me:$LINENO: checking for $ac_header" >&5
19865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19867 echo $ECHO_N "(cached) $ECHO_C" >&6
19869 eval "$as_ac_Header=\$ac_header_preproc"
19871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19876 cat >>confdefs.h
<<_ACEOF
19877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19882 for ac_header
in kerberos
/krb.h
19884 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19886 echo "$as_me:$LINENO: checking for $ac_header" >&5
19887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19889 echo $ECHO_N "(cached) $ECHO_C" >&6
19891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19894 # Is the header compilable?
19895 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19896 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19897 cat >conftest.
$ac_ext <<_ACEOF
19900 cat confdefs.h
>>conftest.
$ac_ext
19901 cat >>conftest.
$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19903 $ac_includes_default
19904 #include <$ac_header>
19906 rm -f conftest.
$ac_objext
19907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19908 (eval $ac_compile) 2>conftest.er1
19910 grep -v '^ *+' conftest.er1
>conftest.err
19912 cat conftest.err
>&5
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); } &&
19915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19917 (eval $ac_try) 2>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); }; } &&
19921 { ac_try
='test -s conftest.$ac_objext'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; }; then
19927 ac_header_compiler
=yes
19929 echo "$as_me: failed program was:" >&5
19930 sed 's/^/| /' conftest.
$ac_ext >&5
19932 ac_header_compiler
=no
19934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19935 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19936 echo "${ECHO_T}$ac_header_compiler" >&6
19938 # Is the header present?
19939 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19941 cat >conftest.
$ac_ext <<_ACEOF
19944 cat confdefs.h
>>conftest.
$ac_ext
19945 cat >>conftest.
$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 #include <$ac_header>
19949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19950 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19952 grep -v '^ *+' conftest.er1
>conftest.err
19954 cat conftest.err
>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } >/dev
/null
; then
19957 if test -s conftest.err
; then
19958 ac_cpp_err
=$ac_c_preproc_warn_flag
19959 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19966 if test -z "$ac_cpp_err"; then
19967 ac_header_preproc
=yes
19969 echo "$as_me: failed program was:" >&5
19970 sed 's/^/| /' conftest.
$ac_ext >&5
19972 ac_header_preproc
=no
19974 rm -f conftest.err conftest.
$ac_ext
19975 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19976 echo "${ECHO_T}$ac_header_preproc" >&6
19978 # So? What about this header?
19979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19984 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19985 ac_header_preproc
=yes
19988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19993 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19995 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19999 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20002 ## ------------------------------------------ ##
20003 ## Report this to the AC_PACKAGE_NAME lists. ##
20004 ## ------------------------------------------ ##
20007 sed "s/^/$as_me: WARNING: /" >&2
20010 echo "$as_me:$LINENO: checking for $ac_header" >&5
20011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20013 echo $ECHO_N "(cached) $ECHO_C" >&6
20015 eval "$as_ac_Header=\$ac_header_preproc"
20017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20022 cat >>confdefs.h
<<_ACEOF
20023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20040 for ac_header
in com_err.h
20042 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20044 echo "$as_me:$LINENO: checking for $ac_header" >&5
20045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20047 echo $ECHO_N "(cached) $ECHO_C" >&6
20049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20052 # Is the header compilable?
20053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20055 cat >conftest.
$ac_ext <<_ACEOF
20058 cat confdefs.h
>>conftest.
$ac_ext
20059 cat >>conftest.
$ac_ext <<_ACEOF
20060 /* end confdefs.h. */
20061 $ac_includes_default
20062 #include <$ac_header>
20064 rm -f conftest.
$ac_objext
20065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20066 (eval $ac_compile) 2>conftest.er1
20068 grep -v '^ *+' conftest.er1
>conftest.err
20070 cat conftest.err
>&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } &&
20073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20075 (eval $ac_try) 2>&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); }; } &&
20079 { ac_try
='test -s conftest.$ac_objext'
20080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20081 (eval $ac_try) 2>&5
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); }; }; then
20085 ac_header_compiler
=yes
20087 echo "$as_me: failed program was:" >&5
20088 sed 's/^/| /' conftest.
$ac_ext >&5
20090 ac_header_compiler
=no
20092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20094 echo "${ECHO_T}$ac_header_compiler" >&6
20096 # Is the header present?
20097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20099 cat >conftest.
$ac_ext <<_ACEOF
20102 cat confdefs.h
>>conftest.
$ac_ext
20103 cat >>conftest.
$ac_ext <<_ACEOF
20104 /* end confdefs.h. */
20105 #include <$ac_header>
20107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20110 grep -v '^ *+' conftest.er1
>conftest.err
20112 cat conftest.err
>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } >/dev
/null
; then
20115 if test -s conftest.err
; then
20116 ac_cpp_err
=$ac_c_preproc_warn_flag
20117 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20124 if test -z "$ac_cpp_err"; then
20125 ac_header_preproc
=yes
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.
$ac_ext >&5
20130 ac_header_preproc
=no
20132 rm -f conftest.err conftest.
$ac_ext
20133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20134 echo "${ECHO_T}$ac_header_preproc" >&6
20136 # So? What about this header?
20137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20143 ac_header_preproc
=yes
20146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20160 ## ------------------------------------------ ##
20161 ## Report this to the AC_PACKAGE_NAME lists. ##
20162 ## ------------------------------------------ ##
20165 sed "s/^/$as_me: WARNING: /" >&2
20168 echo "$as_me:$LINENO: checking for $ac_header" >&5
20169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20171 echo $ECHO_N "(cached) $ECHO_C" >&6
20173 eval "$as_ac_Header=\$ac_header_preproc"
20175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20180 cat >>confdefs.h
<<_ACEOF
20181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20190 # Solaris requires -lintl if you want strerror (which calls dgettext)
20191 # to return localized messages.
20193 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
20194 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
20195 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20198 ac_check_lib_save_LIBS
=$LIBS
20199 LIBS
="-lintl $LIBS"
20200 cat >conftest.
$ac_ext <<_ACEOF
20203 cat confdefs.h
>>conftest.
$ac_ext
20204 cat >>conftest.
$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20207 /* Override any gcc2 internal prototype to avoid an error. */
20211 /* We use char because int might match the return type of a gcc2
20212 builtin and then its argument prototype would still apply. */
20222 rm -f conftest.
$ac_objext conftest
$ac_exeext
20223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20224 (eval $ac_link) 2>conftest.er1
20226 grep -v '^ *+' conftest.er1
>conftest.err
20228 cat conftest.err
>&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } &&
20231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20233 (eval $ac_try) 2>&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); }; } &&
20237 { ac_try
='test -s conftest$ac_exeext'
20238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20239 (eval $ac_try) 2>&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); }; }; then
20243 ac_cv_lib_intl_dgettext
=yes
20245 echo "$as_me: failed program was:" >&5
20246 sed 's/^/| /' conftest.
$ac_ext >&5
20248 ac_cv_lib_intl_dgettext
=no
20250 rm -f conftest.err conftest.
$ac_objext \
20251 conftest
$ac_exeext conftest.
$ac_ext
20252 LIBS
=$ac_check_lib_save_LIBS
20254 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
20255 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
20256 if test $ac_cv_lib_intl_dgettext = yes; then
20257 cat >>confdefs.h
<<_ACEOF
20258 #define HAVE_LIBINTL 1
20261 LIBS
="-lintl $LIBS"
20266 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
20267 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
20268 if test "${emacs_cv_localtime_cache+set}" = set; then
20269 echo $ECHO_N "(cached) $ECHO_C" >&6
20271 if test x
$ac_cv_func_tzset = xyes
; then
20272 if test "$cross_compiling" = yes; then
20273 # If we have tzset, assume the worst when cross-compiling.
20274 emacs_cv_localtime_cache
=yes
20276 cat >conftest.
$ac_ext <<_ACEOF
20279 cat confdefs.h
>>conftest.
$ac_ext
20280 cat >>conftest.
$ac_ext <<_ACEOF
20281 /* end confdefs.h. */
20283 extern char **environ;
20287 for (to = from = environ; (*to = *from); from++)
20288 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
20291 char TZ_GMT0[] = "TZ=GMT0";
20292 char TZ_PST8[] = "TZ=PST8";
20295 time_t now = time ((time_t *) 0);
20296 int hour_GMT0, hour_unset;
20297 if (putenv (TZ_GMT0) != 0)
20299 hour_GMT0 = localtime (&now)->tm_hour;
20301 hour_unset = localtime (&now)->tm_hour;
20302 if (putenv (TZ_PST8) != 0)
20304 if (localtime (&now)->tm_hour == hour_GMT0)
20307 if (localtime (&now)->tm_hour != hour_unset)
20312 rm -f conftest
$ac_exeext
20313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20314 (eval $ac_link) 2>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; }; then
20323 emacs_cv_localtime_cache
=no
20325 echo "$as_me: program exited with status $ac_status" >&5
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.
$ac_ext >&5
20329 ( exit $ac_status )
20330 emacs_cv_localtime_cache
=yes
20332 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20335 # If we lack tzset, report that localtime does not cache TZ,
20336 # since we can't invalidate the cache if we don't have tzset.
20337 emacs_cv_localtime_cache
=no
20340 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
20341 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
20342 if test $emacs_cv_localtime_cache = yes; then
20344 cat >>confdefs.h
<<\_ACEOF
20345 #define LOCALTIME_CACHE 1
20350 if test "x$HAVE_TIMEVAL" = xyes
; then
20352 for ac_func
in gettimeofday
20354 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20355 echo "$as_me:$LINENO: checking for $ac_func" >&5
20356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20357 if eval "test \"\${$as_ac_var+set}\" = set"; then
20358 echo $ECHO_N "(cached) $ECHO_C" >&6
20360 cat >conftest.
$ac_ext <<_ACEOF
20363 cat confdefs.h
>>conftest.
$ac_ext
20364 cat >>conftest.
$ac_ext <<_ACEOF
20365 /* end confdefs.h. */
20366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20368 #define $ac_func innocuous_$ac_func
20370 /* System header to define __stub macros and hopefully few prototypes,
20371 which can conflict with char $ac_func (); below.
20372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20373 <limits.h> exists even on freestanding compilers. */
20376 # include <limits.h>
20378 # include <assert.h>
20383 /* Override any gcc2 internal prototype to avoid an error. */
20388 /* We use char because int might match the return type of a gcc2
20389 builtin and then its argument prototype would still apply. */
20391 /* The GNU C library defines this for functions which it implements
20392 to always fail with ENOSYS. Some functions are actually named
20393 something starting with __ and the normal name is an alias. */
20394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20397 char (*f) () = $ac_func;
20406 return f != $ac_func;
20411 rm -f conftest.
$ac_objext conftest
$ac_exeext
20412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20413 (eval $ac_link) 2>conftest.er1
20415 grep -v '^ *+' conftest.er1
>conftest.err
20417 cat conftest.err
>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } &&
20420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; } &&
20426 { ac_try
='test -s conftest$ac_exeext'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; }; then
20432 eval "$as_ac_var=yes"
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.
$ac_ext >&5
20437 eval "$as_ac_var=no"
20439 rm -f conftest.err conftest.
$ac_objext \
20440 conftest
$ac_exeext conftest.
$ac_ext
20442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20444 if test `eval echo '${'$as_ac_var'}'` = yes; then
20445 cat >>confdefs.h
<<_ACEOF
20446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20452 if test $ac_cv_func_gettimeofday = yes; then
20453 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
20454 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
20455 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
20456 echo $ECHO_N "(cached) $ECHO_C" >&6
20458 cat >conftest.
$ac_ext <<_ACEOF
20461 cat confdefs.h
>>conftest.
$ac_ext
20462 cat >>conftest.
$ac_ext <<_ACEOF
20463 /* end confdefs.h. */
20465 #ifdef TIME_WITH_SYS_TIME
20466 #include <sys/time.h>
20469 #ifdef HAVE_SYS_TIME_H
20470 #include <sys/time.h>
20478 struct timeval time;
20479 gettimeofday (&time, 0);
20484 rm -f conftest.
$ac_objext
20485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20486 (eval $ac_compile) 2>conftest.er1
20488 grep -v '^ *+' conftest.er1
>conftest.err
20490 cat conftest.err
>&5
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); } &&
20493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20495 (eval $ac_try) 2>&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); }; } &&
20499 { ac_try
='test -s conftest.$ac_objext'
20500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20501 (eval $ac_try) 2>&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); }; }; then
20505 emacs_cv_gettimeofday_two_arguments
=yes
20507 echo "$as_me: failed program was:" >&5
20508 sed 's/^/| /' conftest.
$ac_ext >&5
20510 emacs_cv_gettimeofday_two_arguments
=no
20512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20514 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
20515 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
20516 if test $emacs_cv_gettimeofday_two_arguments = no
; then
20518 cat >>confdefs.h
<<\_ACEOF
20519 #define GETTIMEOFDAY_ONE_ARGUMENT 1
20526 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
20527 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
20528 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
20529 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
20530 echo $ECHO_N "(cached) $ECHO_C" >&6
20532 cat >conftest.
$ac_ext <<_ACEOF
20535 cat confdefs.h
>>conftest.
$ac_ext
20536 cat >>conftest.
$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 #include <sys/types.h>
20539 #include <$ac_cv_struct_tm>
20545 static struct tm ac_aggr;
20546 if (ac_aggr.tm_zone)
20552 rm -f conftest.
$ac_objext
20553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20554 (eval $ac_compile) 2>conftest.er1
20556 grep -v '^ *+' conftest.er1
>conftest.err
20558 cat conftest.err
>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } &&
20561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563 (eval $ac_try) 2>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; } &&
20567 { ac_try
='test -s conftest.$ac_objext'
20568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20569 (eval $ac_try) 2>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); }; }; then
20573 ac_cv_member_struct_tm_tm_zone
=yes
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.
$ac_ext >&5
20578 cat >conftest.
$ac_ext <<_ACEOF
20581 cat confdefs.h
>>conftest.
$ac_ext
20582 cat >>conftest.
$ac_ext <<_ACEOF
20583 /* end confdefs.h. */
20584 #include <sys/types.h>
20585 #include <$ac_cv_struct_tm>
20591 static struct tm ac_aggr;
20592 if (sizeof ac_aggr.tm_zone)
20598 rm -f conftest.
$ac_objext
20599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20600 (eval $ac_compile) 2>conftest.er1
20602 grep -v '^ *+' conftest.er1
>conftest.err
20604 cat conftest.err
>&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); } &&
20607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20609 (eval $ac_try) 2>&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); }; } &&
20613 { ac_try
='test -s conftest.$ac_objext'
20614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20615 (eval $ac_try) 2>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); }; }; then
20619 ac_cv_member_struct_tm_tm_zone
=yes
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.
$ac_ext >&5
20624 ac_cv_member_struct_tm_tm_zone
=no
20626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20630 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
20631 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
20632 if test $ac_cv_member_struct_tm_tm_zone = yes; then
20634 cat >>confdefs.h
<<_ACEOF
20635 #define HAVE_STRUCT_TM_TM_ZONE 1
20641 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
20643 cat >>confdefs.h
<<\_ACEOF
20644 #define HAVE_TM_ZONE 1
20648 echo "$as_me:$LINENO: checking for tzname" >&5
20649 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
20650 if test "${ac_cv_var_tzname+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20653 cat >conftest.
$ac_ext <<_ACEOF
20656 cat confdefs.h
>>conftest.
$ac_ext
20657 cat >>conftest.
$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20660 #ifndef tzname /* For SGI. */
20661 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
20672 rm -f conftest.
$ac_objext conftest
$ac_exeext
20673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20674 (eval $ac_link) 2>conftest.er1
20676 grep -v '^ *+' conftest.er1
>conftest.err
20678 cat conftest.err
>&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); } &&
20681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20683 (eval $ac_try) 2>&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); }; } &&
20687 { ac_try
='test -s conftest$ac_exeext'
20688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20689 (eval $ac_try) 2>&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); }; }; then
20693 ac_cv_var_tzname
=yes
20695 echo "$as_me: failed program was:" >&5
20696 sed 's/^/| /' conftest.
$ac_ext >&5
20698 ac_cv_var_tzname
=no
20700 rm -f conftest.err conftest.
$ac_objext \
20701 conftest
$ac_exeext conftest.
$ac_ext
20703 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
20704 echo "${ECHO_T}$ac_cv_var_tzname" >&6
20705 if test $ac_cv_var_tzname = yes; then
20707 cat >>confdefs.h
<<\_ACEOF
20708 #define HAVE_TZNAME 1
20715 if test "$ac_cv_func_gettimeofday" = yes; then
20716 echo "$as_me:$LINENO: checking for struct timezone" >&5
20717 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
20718 if test "${emacs_cv_struct_timezone+set}" = set; then
20719 echo $ECHO_N "(cached) $ECHO_C" >&6
20721 cat >conftest.
$ac_ext <<_ACEOF
20724 cat confdefs.h
>>conftest.
$ac_ext
20725 cat >>conftest.
$ac_ext <<_ACEOF
20726 /* end confdefs.h. */
20727 #include <sys/time.h>
20731 struct timezone tz;
20736 rm -f conftest.
$ac_objext
20737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20738 (eval $ac_compile) 2>conftest.er1
20740 grep -v '^ *+' conftest.er1
>conftest.err
20742 cat conftest.err
>&5
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); } &&
20745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20751 { ac_try
='test -s conftest.$ac_objext'
20752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20753 (eval $ac_try) 2>&5
20755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20756 (exit $ac_status); }; }; then
20757 if test "$cross_compiling" = yes; then
20758 emacs_cv_struct_timezone
=yes
20760 cat >conftest.
$ac_ext <<_ACEOF
20763 cat confdefs.h
>>conftest.
$ac_ext
20764 cat >>conftest.
$ac_ext <<_ACEOF
20765 /* end confdefs.h. */
20767 #ifdef TIME_WITH_SYS_TIME
20768 #include <sys/time.h>
20771 #ifdef HAVE_SYS_TIME_H
20772 #include <sys/time.h>
20778 struct timeval time;
20779 struct timezone dummy;
20780 exit (gettimeofday (&time, &dummy));
20783 rm -f conftest
$ac_exeext
20784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20785 (eval $ac_link) 2>&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790 (eval $ac_try) 2>&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); }; }; then
20794 emacs_cv_struct_timezone
=yes
20796 echo "$as_me: program exited with status $ac_status" >&5
20797 echo "$as_me: failed program was:" >&5
20798 sed 's/^/| /' conftest.
$ac_ext >&5
20800 ( exit $ac_status )
20801 emacs_cv_struct_timezone
=no
20803 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20806 echo "$as_me: failed program was:" >&5
20807 sed 's/^/| /' conftest.
$ac_ext >&5
20809 emacs_cv_struct_timezone
=no
20811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20813 echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
20814 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
20818 echo "$as_me:$LINENO: checking for socket" >&5
20819 echo $ECHO_N "checking for socket... $ECHO_C" >&6
20820 if test "${ac_cv_func_socket+set}" = set; then
20821 echo $ECHO_N "(cached) $ECHO_C" >&6
20823 cat >conftest.
$ac_ext <<_ACEOF
20826 cat confdefs.h
>>conftest.
$ac_ext
20827 cat >>conftest.
$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
20830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20831 #define socket innocuous_socket
20833 /* System header to define __stub macros and hopefully few prototypes,
20834 which can conflict with char socket (); below.
20835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20836 <limits.h> exists even on freestanding compilers. */
20839 # include <limits.h>
20841 # include <assert.h>
20846 /* Override any gcc2 internal prototype to avoid an error. */
20851 /* We use char because int might match the return type of a gcc2
20852 builtin and then its argument prototype would still apply. */
20854 /* The GNU C library defines this for functions which it implements
20855 to always fail with ENOSYS. Some functions are actually named
20856 something starting with __ and the normal name is an alias. */
20857 #if defined (__stub_socket) || defined (__stub___socket)
20860 char (*f) () = socket;
20869 return f != socket;
20874 rm -f conftest.
$ac_objext conftest
$ac_exeext
20875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20876 (eval $ac_link) 2>conftest.er1
20878 grep -v '^ *+' conftest.er1
>conftest.err
20880 cat conftest.err
>&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); } &&
20883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885 (eval $ac_try) 2>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; } &&
20889 { ac_try
='test -s conftest$ac_exeext'
20890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20891 (eval $ac_try) 2>&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); }; }; then
20895 ac_cv_func_socket
=yes
20897 echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.
$ac_ext >&5
20900 ac_cv_func_socket
=no
20902 rm -f conftest.err conftest.
$ac_objext \
20903 conftest
$ac_exeext conftest.
$ac_ext
20905 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
20906 echo "${ECHO_T}$ac_cv_func_socket" >&6
20907 if test $ac_cv_func_socket = yes; then
20913 if test $ok_so_far = yes; then
20914 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20915 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
20916 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
20917 if test "${ac_cv_header_netinet_in_h+set}" = set; then
20918 echo $ECHO_N "(cached) $ECHO_C" >&6
20920 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
20921 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
20923 # Is the header compilable?
20924 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
20925 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
20926 cat >conftest.
$ac_ext <<_ACEOF
20929 cat confdefs.h
>>conftest.
$ac_ext
20930 cat >>conftest.
$ac_ext <<_ACEOF
20931 /* end confdefs.h. */
20932 $ac_includes_default
20933 #include <netinet/in.h>
20935 rm -f conftest.
$ac_objext
20936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20937 (eval $ac_compile) 2>conftest.er1
20939 grep -v '^ *+' conftest.er1
>conftest.err
20941 cat conftest.err
>&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } &&
20944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20946 (eval $ac_try) 2>&5
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); }; } &&
20950 { ac_try
='test -s conftest.$ac_objext'
20951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20952 (eval $ac_try) 2>&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); }; }; then
20956 ac_header_compiler
=yes
20958 echo "$as_me: failed program was:" >&5
20959 sed 's/^/| /' conftest.
$ac_ext >&5
20961 ac_header_compiler
=no
20963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20965 echo "${ECHO_T}$ac_header_compiler" >&6
20967 # Is the header present?
20968 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
20969 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
20970 cat >conftest.
$ac_ext <<_ACEOF
20973 cat confdefs.h
>>conftest.
$ac_ext
20974 cat >>conftest.
$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 #include <netinet/in.h>
20978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20979 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20981 grep -v '^ *+' conftest.er1
>conftest.err
20983 cat conftest.err
>&5
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); } >/dev
/null
; then
20986 if test -s conftest.err
; then
20987 ac_cpp_err
=$ac_c_preproc_warn_flag
20988 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20995 if test -z "$ac_cpp_err"; then
20996 ac_header_preproc
=yes
20998 echo "$as_me: failed program was:" >&5
20999 sed 's/^/| /' conftest.
$ac_ext >&5
21001 ac_header_preproc
=no
21003 rm -f conftest.err conftest.
$ac_ext
21004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21005 echo "${ECHO_T}$ac_header_preproc" >&6
21007 # So? What about this header?
21008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21010 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
21011 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21012 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
21013 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
21014 ac_header_preproc
=yes
21017 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
21018 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
21019 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
21020 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
21021 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
21022 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
21023 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
21024 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
21025 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
21026 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
21027 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
21028 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
21031 ## ------------------------------------------ ##
21032 ## Report this to the AC_PACKAGE_NAME lists. ##
21033 ## ------------------------------------------ ##
21036 sed "s/^/$as_me: WARNING: /" >&2
21039 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
21040 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
21041 if test "${ac_cv_header_netinet_in_h+set}" = set; then
21042 echo $ECHO_N "(cached) $ECHO_C" >&6
21044 ac_cv_header_netinet_in_h
=$ac_header_preproc
21046 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
21047 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
21050 if test $ac_cv_header_netinet_in_h = yes; then
21058 if test $ok_so_far = yes; then
21059 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
21060 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
21061 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
21062 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
21063 echo $ECHO_N "(cached) $ECHO_C" >&6
21065 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
21066 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
21068 # Is the header compilable?
21069 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
21070 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
21071 cat >conftest.
$ac_ext <<_ACEOF
21074 cat confdefs.h
>>conftest.
$ac_ext
21075 cat >>conftest.
$ac_ext <<_ACEOF
21076 /* end confdefs.h. */
21077 $ac_includes_default
21078 #include <arpa/inet.h>
21080 rm -f conftest.
$ac_objext
21081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21082 (eval $ac_compile) 2>conftest.er1
21084 grep -v '^ *+' conftest.er1
>conftest.err
21086 cat conftest.err
>&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } &&
21089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21091 (eval $ac_try) 2>&5
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); }; } &&
21095 { ac_try
='test -s conftest.$ac_objext'
21096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21097 (eval $ac_try) 2>&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); }; }; then
21101 ac_header_compiler
=yes
21103 echo "$as_me: failed program was:" >&5
21104 sed 's/^/| /' conftest.
$ac_ext >&5
21106 ac_header_compiler
=no
21108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21109 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21110 echo "${ECHO_T}$ac_header_compiler" >&6
21112 # Is the header present?
21113 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
21114 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
21115 cat >conftest.
$ac_ext <<_ACEOF
21118 cat confdefs.h
>>conftest.
$ac_ext
21119 cat >>conftest.
$ac_ext <<_ACEOF
21120 /* end confdefs.h. */
21121 #include <arpa/inet.h>
21123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21124 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21126 grep -v '^ *+' conftest.er1
>conftest.err
21128 cat conftest.err
>&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); } >/dev
/null
; then
21131 if test -s conftest.err
; then
21132 ac_cpp_err
=$ac_c_preproc_warn_flag
21133 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21140 if test -z "$ac_cpp_err"; then
21141 ac_header_preproc
=yes
21143 echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.
$ac_ext >&5
21146 ac_header_preproc
=no
21148 rm -f conftest.err conftest.
$ac_ext
21149 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21150 echo "${ECHO_T}$ac_header_preproc" >&6
21152 # So? What about this header?
21153 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21155 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
21156 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21157 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
21158 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
21159 ac_header_preproc
=yes
21162 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
21163 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
21164 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
21165 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
21166 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
21167 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
21168 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
21169 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
21170 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
21171 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
21172 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
21173 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
21176 ## ------------------------------------------ ##
21177 ## Report this to the AC_PACKAGE_NAME lists. ##
21178 ## ------------------------------------------ ##
21181 sed "s/^/$as_me: WARNING: /" >&2
21184 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
21185 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
21186 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
21187 echo $ECHO_N "(cached) $ECHO_C" >&6
21189 ac_cv_header_arpa_inet_h
=$ac_header_preproc
21191 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
21192 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
21195 if test $ac_cv_header_arpa_inet_h = yes; then
21203 if test $ok_so_far = yes; then
21205 cat >>confdefs.h
<<\_ACEOF
21206 #define HAVE_INET_SOCKETS 1
21212 for ac_header
in sys
/ioctl.h
21214 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21216 echo "$as_me:$LINENO: checking for $ac_header" >&5
21217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21219 echo $ECHO_N "(cached) $ECHO_C" >&6
21221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21224 # Is the header compilable?
21225 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21226 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21227 cat >conftest.
$ac_ext <<_ACEOF
21230 cat confdefs.h
>>conftest.
$ac_ext
21231 cat >>conftest.
$ac_ext <<_ACEOF
21232 /* end confdefs.h. */
21233 $ac_includes_default
21234 #include <$ac_header>
21236 rm -f conftest.
$ac_objext
21237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21238 (eval $ac_compile) 2>conftest.er1
21240 grep -v '^ *+' conftest.er1
>conftest.err
21242 cat conftest.err
>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } &&
21245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247 (eval $ac_try) 2>&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); }; } &&
21251 { ac_try
='test -s conftest.$ac_objext'
21252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253 (eval $ac_try) 2>&5
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; }; then
21257 ac_header_compiler
=yes
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.
$ac_ext >&5
21262 ac_header_compiler
=no
21264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21266 echo "${ECHO_T}$ac_header_compiler" >&6
21268 # Is the header present?
21269 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21270 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21271 cat >conftest.
$ac_ext <<_ACEOF
21274 cat confdefs.h
>>conftest.
$ac_ext
21275 cat >>conftest.
$ac_ext <<_ACEOF
21276 /* end confdefs.h. */
21277 #include <$ac_header>
21279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21280 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21282 grep -v '^ *+' conftest.er1
>conftest.err
21284 cat conftest.err
>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } >/dev
/null
; then
21287 if test -s conftest.err
; then
21288 ac_cpp_err
=$ac_c_preproc_warn_flag
21289 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21296 if test -z "$ac_cpp_err"; then
21297 ac_header_preproc
=yes
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.
$ac_ext >&5
21302 ac_header_preproc
=no
21304 rm -f conftest.err conftest.
$ac_ext
21305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21306 echo "${ECHO_T}$ac_header_preproc" >&6
21308 # So? What about this header?
21309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21311 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21312 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21314 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21315 ac_header_preproc
=yes
21318 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21319 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21320 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21321 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21322 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21323 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21324 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21325 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21328 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21329 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21332 ## ------------------------------------------ ##
21333 ## Report this to the AC_PACKAGE_NAME lists. ##
21334 ## ------------------------------------------ ##
21337 sed "s/^/$as_me: WARNING: /" >&2
21340 echo "$as_me:$LINENO: checking for $ac_header" >&5
21341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21343 echo $ECHO_N "(cached) $ECHO_C" >&6
21345 eval "$as_ac_Header=\$ac_header_preproc"
21347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21352 cat >>confdefs.h
<<_ACEOF
21353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21361 if test -f /usr
/lpp
/X11
/bin
/smt.exp
; then
21363 cat >>confdefs.h
<<\_ACEOF
21364 #define HAVE_AIX_SMT_EXP 1
21369 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
21370 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
21371 if test -d /dev
/pts
&& ls -d /dev
/ptmx
> /dev
/null
2>&1 ; then
21372 echo "$as_me:$LINENO: result: yes" >&5
21373 echo "${ECHO_T}yes" >&6
21375 cat >>confdefs.h
<<\_ACEOF
21376 #define HAVE_DEV_PTMX 1
21380 echo "$as_me:$LINENO: result: no" >&5
21381 echo "${ECHO_T}no" >&6
21384 echo "$as_me:$LINENO: checking for pid_t" >&5
21385 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
21386 if test "${ac_cv_type_pid_t+set}" = set; then
21387 echo $ECHO_N "(cached) $ECHO_C" >&6
21389 cat >conftest.
$ac_ext <<_ACEOF
21392 cat confdefs.h
>>conftest.
$ac_ext
21393 cat >>conftest.
$ac_ext <<_ACEOF
21394 /* end confdefs.h. */
21395 $ac_includes_default
21401 if (sizeof (pid_t))
21407 rm -f conftest.
$ac_objext
21408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21409 (eval $ac_compile) 2>conftest.er1
21411 grep -v '^ *+' conftest.er1
>conftest.err
21413 cat conftest.err
>&5
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); } &&
21416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21418 (eval $ac_try) 2>&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); }; } &&
21422 { ac_try
='test -s conftest.$ac_objext'
21423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21424 (eval $ac_try) 2>&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); }; }; then
21428 ac_cv_type_pid_t
=yes
21430 echo "$as_me: failed program was:" >&5
21431 sed 's/^/| /' conftest.
$ac_ext >&5
21433 ac_cv_type_pid_t
=no
21435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21437 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
21438 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
21439 if test $ac_cv_type_pid_t = yes; then
21443 cat >>confdefs.h
<<_ACEOF
21451 for ac_header
in unistd.h vfork.h
21453 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21455 echo "$as_me:$LINENO: checking for $ac_header" >&5
21456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21458 echo $ECHO_N "(cached) $ECHO_C" >&6
21460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21463 # Is the header compilable?
21464 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21466 cat >conftest.
$ac_ext <<_ACEOF
21469 cat confdefs.h
>>conftest.
$ac_ext
21470 cat >>conftest.
$ac_ext <<_ACEOF
21471 /* end confdefs.h. */
21472 $ac_includes_default
21473 #include <$ac_header>
21475 rm -f conftest.
$ac_objext
21476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21477 (eval $ac_compile) 2>conftest.er1
21479 grep -v '^ *+' conftest.er1
>conftest.err
21481 cat conftest.err
>&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } &&
21484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try
='test -s conftest.$ac_objext'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; }; then
21496 ac_header_compiler
=yes
21498 echo "$as_me: failed program was:" >&5
21499 sed 's/^/| /' conftest.
$ac_ext >&5
21501 ac_header_compiler
=no
21503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21505 echo "${ECHO_T}$ac_header_compiler" >&6
21507 # Is the header present?
21508 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21509 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21510 cat >conftest.
$ac_ext <<_ACEOF
21513 cat confdefs.h
>>conftest.
$ac_ext
21514 cat >>conftest.
$ac_ext <<_ACEOF
21515 /* end confdefs.h. */
21516 #include <$ac_header>
21518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21519 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21521 grep -v '^ *+' conftest.er1
>conftest.err
21523 cat conftest.err
>&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } >/dev
/null
; then
21526 if test -s conftest.err
; then
21527 ac_cpp_err
=$ac_c_preproc_warn_flag
21528 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21535 if test -z "$ac_cpp_err"; then
21536 ac_header_preproc
=yes
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.
$ac_ext >&5
21541 ac_header_preproc
=no
21543 rm -f conftest.err conftest.
$ac_ext
21544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21545 echo "${ECHO_T}$ac_header_preproc" >&6
21547 # So? What about this header?
21548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21550 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21551 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21553 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21554 ac_header_preproc
=yes
21557 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21558 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21559 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21560 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21561 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21562 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21563 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21564 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21567 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21568 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21571 ## ------------------------------------------ ##
21572 ## Report this to the AC_PACKAGE_NAME lists. ##
21573 ## ------------------------------------------ ##
21576 sed "s/^/$as_me: WARNING: /" >&2
21579 echo "$as_me:$LINENO: checking for $ac_header" >&5
21580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21582 echo $ECHO_N "(cached) $ECHO_C" >&6
21584 eval "$as_ac_Header=\$ac_header_preproc"
21586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21591 cat >>confdefs.h
<<_ACEOF
21592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21601 for ac_func
in fork vfork
21603 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21604 echo "$as_me:$LINENO: checking for $ac_func" >&5
21605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21606 if eval "test \"\${$as_ac_var+set}\" = set"; then
21607 echo $ECHO_N "(cached) $ECHO_C" >&6
21609 cat >conftest.
$ac_ext <<_ACEOF
21612 cat confdefs.h
>>conftest.
$ac_ext
21613 cat >>conftest.
$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21617 #define $ac_func innocuous_$ac_func
21619 /* System header to define __stub macros and hopefully few prototypes,
21620 which can conflict with char $ac_func (); below.
21621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21622 <limits.h> exists even on freestanding compilers. */
21625 # include <limits.h>
21627 # include <assert.h>
21632 /* Override any gcc2 internal prototype to avoid an error. */
21637 /* We use char because int might match the return type of a gcc2
21638 builtin and then its argument prototype would still apply. */
21640 /* The GNU C library defines this for functions which it implements
21641 to always fail with ENOSYS. Some functions are actually named
21642 something starting with __ and the normal name is an alias. */
21643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21646 char (*f) () = $ac_func;
21655 return f != $ac_func;
21660 rm -f conftest.
$ac_objext conftest
$ac_exeext
21661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21662 (eval $ac_link) 2>conftest.er1
21664 grep -v '^ *+' conftest.er1
>conftest.err
21666 cat conftest.err
>&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); } &&
21669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; } &&
21675 { ac_try
='test -s conftest$ac_exeext'
21676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21677 (eval $ac_try) 2>&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); }; }; then
21681 eval "$as_ac_var=yes"
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.
$ac_ext >&5
21686 eval "$as_ac_var=no"
21688 rm -f conftest.err conftest.
$ac_objext \
21689 conftest
$ac_exeext conftest.
$ac_ext
21691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21693 if test `eval echo '${'$as_ac_var'}'` = yes; then
21694 cat >>confdefs.h
<<_ACEOF
21695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21701 if test "x$ac_cv_func_fork" = xyes
; then
21702 echo "$as_me:$LINENO: checking for working fork" >&5
21703 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
21704 if test "${ac_cv_func_fork_works+set}" = set; then
21705 echo $ECHO_N "(cached) $ECHO_C" >&6
21707 if test "$cross_compiling" = yes; then
21708 ac_cv_func_fork_works
=cross
21710 cat >conftest.
$ac_ext <<_ACEOF
21713 cat confdefs.h
>>conftest.
$ac_ext
21714 cat >>conftest.
$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 $ac_includes_default
21721 /* By Ruediger Kuhlmann. */
21730 rm -f conftest
$ac_exeext
21731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21732 (eval $ac_link) 2>&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21737 (eval $ac_try) 2>&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); }; }; then
21741 ac_cv_func_fork_works
=yes
21743 echo "$as_me: program exited with status $ac_status" >&5
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.
$ac_ext >&5
21747 ( exit $ac_status )
21748 ac_cv_func_fork_works
=no
21750 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21753 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
21754 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
21757 ac_cv_func_fork_works
=$ac_cv_func_fork
21759 if test "x$ac_cv_func_fork_works" = xcross
; then
21761 *-*-amigaos* |
*-*-msdosdjgpp*)
21762 # Override, as these systems have only a dummy fork() stub
21763 ac_cv_func_fork_works
=no
21766 ac_cv_func_fork_works
=yes
21769 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21770 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21772 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21773 if test "x$ac_cv_func_vfork" = xyes
; then
21774 echo "$as_me:$LINENO: checking for working vfork" >&5
21775 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
21776 if test "${ac_cv_func_vfork_works+set}" = set; then
21777 echo $ECHO_N "(cached) $ECHO_C" >&6
21779 if test "$cross_compiling" = yes; then
21780 ac_cv_func_vfork_works
=cross
21782 cat >conftest.
$ac_ext <<_ACEOF
21785 cat confdefs.h
>>conftest.
$ac_ext
21786 cat >>conftest.
$ac_ext <<_ACEOF
21787 /* end confdefs.h. */
21788 /* Thanks to Paul Eggert for this test. */
21790 #include <stdlib.h>
21791 #include <sys/types.h>
21792 #include <sys/stat.h>
21793 #include <sys/wait.h>
21795 # include <unistd.h>
21798 # include <vfork.h>
21800 /* On some sparc systems, changes by the child to local and incoming
21801 argument registers are propagated back to the parent. The compiler
21802 is told about this with #include <vfork.h>, but some compilers
21803 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21804 static variable whose address is put into a register that is
21805 clobbered by the vfork. */
21808 sparc_address_test (int arg)
21810 sparc_address_test (arg) int arg;
21813 static pid_t child;
21831 pid_t parent = getpid ();
21834 sparc_address_test (0);
21839 /* Here is another test for sparc vfork register problems. This
21840 test uses lots of local variables, at least as many local
21841 variables as main has allocated so far including compiler
21842 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21843 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21844 reuse the register of parent for one of the local variables,
21845 since it will think that parent can't possibly be used any more
21846 in this routine. Assigning to the local variable will thus
21847 munge parent in the parent process. */
21849 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21850 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21851 /* Convince the compiler that p..p7 are live; otherwise, it might
21852 use the same hardware register for all 8 local variables. */
21853 if (p != p1 || p != p2 || p != p3 || p != p4
21854 || p != p5 || p != p6 || p != p7)
21857 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21858 from child file descriptors. If the child closes a descriptor
21859 before it execs or exits, this munges the parent's descriptor
21860 as well. Test for this by closing stdout in the child. */
21861 _exit(close(fileno(stdout)) != 0);
21866 while (wait(&status) != child)
21869 /* Was there some problem with vforking? */
21872 /* Did the child fail? (This shouldn't happen.) */
21875 /* Did the vfork/compiler bug occur? */
21876 || parent != getpid()
21878 /* Did the file descriptor bug occur? */
21879 || fstat(fileno(stdout), &st) != 0
21884 rm -f conftest
$ac_exeext
21885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21886 (eval $ac_link) 2>&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; }; then
21895 ac_cv_func_vfork_works
=yes
21897 echo "$as_me: program exited with status $ac_status" >&5
21898 echo "$as_me: failed program was:" >&5
21899 sed 's/^/| /' conftest.
$ac_ext >&5
21901 ( exit $ac_status )
21902 ac_cv_func_vfork_works
=no
21904 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21907 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
21908 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
21911 if test "x$ac_cv_func_fork_works" = xcross
; then
21912 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21913 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21914 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21917 if test "x$ac_cv_func_vfork_works" = xyes
; then
21919 cat >>confdefs.h
<<\_ACEOF
21920 #define HAVE_WORKING_VFORK 1
21925 cat >>confdefs.h
<<\_ACEOF
21930 if test "x$ac_cv_func_fork_works" = xyes
; then
21932 cat >>confdefs.h
<<\_ACEOF
21933 #define HAVE_WORKING_FORK 1
21939 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
21940 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
21941 if test "${emacs_cv_langinfo_codeset+set}" = set; then
21942 echo $ECHO_N "(cached) $ECHO_C" >&6
21944 cat >conftest.
$ac_ext <<_ACEOF
21947 cat confdefs.h
>>conftest.
$ac_ext
21948 cat >>conftest.
$ac_ext <<_ACEOF
21949 /* end confdefs.h. */
21950 #include <langinfo.h>
21954 char* cs = nl_langinfo(CODESET);
21959 rm -f conftest.
$ac_objext conftest
$ac_exeext
21960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21961 (eval $ac_link) 2>conftest.er1
21963 grep -v '^ *+' conftest.er1
>conftest.err
21965 cat conftest.err
>&5
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); } &&
21968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; } &&
21974 { ac_try
='test -s conftest$ac_exeext'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 emacs_cv_langinfo_codeset
=yes
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.
$ac_ext >&5
21985 emacs_cv_langinfo_codeset
=no
21987 rm -f conftest.err conftest.
$ac_objext \
21988 conftest
$ac_exeext conftest.
$ac_ext
21991 echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
21992 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6
21993 if test $emacs_cv_langinfo_codeset = yes; then
21995 cat >>confdefs.h
<<\_ACEOF
21996 #define HAVE_LANGINFO_CODESET 1
22001 echo "$as_me:$LINENO: checking for size_t" >&5
22002 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
22003 if test "${ac_cv_type_size_t+set}" = set; then
22004 echo $ECHO_N "(cached) $ECHO_C" >&6
22006 cat >conftest.
$ac_ext <<_ACEOF
22009 cat confdefs.h
>>conftest.
$ac_ext
22010 cat >>conftest.
$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22012 $ac_includes_default
22018 if (sizeof (size_t))
22024 rm -f conftest.
$ac_objext
22025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22026 (eval $ac_compile) 2>conftest.er1
22028 grep -v '^ *+' conftest.er1
>conftest.err
22030 cat conftest.err
>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); } &&
22033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22035 (eval $ac_try) 2>&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); }; } &&
22039 { ac_try
='test -s conftest.$ac_objext'
22040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22041 (eval $ac_try) 2>&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); }; }; then
22045 ac_cv_type_size_t
=yes
22047 echo "$as_me: failed program was:" >&5
22048 sed 's/^/| /' conftest.
$ac_ext >&5
22050 ac_cv_type_size_t
=no
22052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22054 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22055 echo "${ECHO_T}$ac_cv_type_size_t" >&6
22056 if test $ac_cv_type_size_t = yes; then
22058 cat >>confdefs.h
<<_ACEOF
22059 #define HAVE_SIZE_T 1
22066 echo "$as_me:$LINENO: checking for mbstate_t" >&5
22067 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
22068 if test "${ac_cv_type_mbstate_t+set}" = set; then
22069 echo $ECHO_N "(cached) $ECHO_C" >&6
22071 cat >conftest.
$ac_ext <<_ACEOF
22074 cat confdefs.h
>>conftest.
$ac_ext
22075 cat >>conftest.
$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077 $ac_includes_default
22078 # include <wchar.h>
22082 mbstate_t x; return sizeof x;
22087 rm -f conftest.
$ac_objext
22088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22089 (eval $ac_compile) 2>conftest.er1
22091 grep -v '^ *+' conftest.er1
>conftest.err
22093 cat conftest.err
>&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); } &&
22096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22098 (eval $ac_try) 2>&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); }; } &&
22102 { ac_try
='test -s conftest.$ac_objext'
22103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104 (eval $ac_try) 2>&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); }; }; then
22108 ac_cv_type_mbstate_t
=yes
22110 echo "$as_me: failed program was:" >&5
22111 sed 's/^/| /' conftest.
$ac_ext >&5
22113 ac_cv_type_mbstate_t
=no
22115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22117 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
22118 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
22119 if test $ac_cv_type_mbstate_t = yes; then
22121 cat >>confdefs.h
<<\_ACEOF
22122 #define HAVE_MBSTATE_T 1
22127 cat >>confdefs.h
<<\_ACEOF
22128 #define mbstate_t int
22133 echo "$as_me:$LINENO: checking for C restrict keyword" >&5
22134 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6
22135 if test "${emacs_cv_c_restrict+set}" = set; then
22136 echo $ECHO_N "(cached) $ECHO_C" >&6
22138 cat >conftest.
$ac_ext <<_ACEOF
22141 cat confdefs.h
>>conftest.
$ac_ext
22142 cat >>conftest.
$ac_ext <<_ACEOF
22143 /* end confdefs.h. */
22144 void fred (int *restrict x);
22153 rm -f conftest.
$ac_objext
22154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22155 (eval $ac_compile) 2>conftest.er1
22157 grep -v '^ *+' conftest.er1
>conftest.err
22159 cat conftest.err
>&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); } &&
22162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22164 (eval $ac_try) 2>&5
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); }; } &&
22168 { ac_try
='test -s conftest.$ac_objext'
22169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22170 (eval $ac_try) 2>&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); }; }; then
22174 emacs_cv_c_restrict
=yes
22176 echo "$as_me: failed program was:" >&5
22177 sed 's/^/| /' conftest.
$ac_ext >&5
22179 cat >conftest.
$ac_ext <<_ACEOF
22182 cat confdefs.h
>>conftest.
$ac_ext
22183 cat >>conftest.
$ac_ext <<_ACEOF
22184 /* end confdefs.h. */
22185 void fred (int *__restrict x);
22194 rm -f conftest.
$ac_objext
22195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22196 (eval $ac_compile) 2>conftest.er1
22198 grep -v '^ *+' conftest.er1
>conftest.err
22200 cat conftest.err
>&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } &&
22203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22205 (eval $ac_try) 2>&5
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); }; } &&
22209 { ac_try
='test -s conftest.$ac_objext'
22210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22211 (eval $ac_try) 2>&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); }; }; then
22215 emacs_cv_c_restrict
=__restrict
22217 echo "$as_me: failed program was:" >&5
22218 sed 's/^/| /' conftest.
$ac_ext >&5
22220 emacs_cv_c_restrict
=no
22222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22226 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
22227 echo "${ECHO_T}$emacs_cv_c_restrict" >&6
22228 case "$emacs_cv_c_restrict" in
22229 yes) emacs_restrict
=restrict
;;
22230 no
) emacs_restrict
="";;
22231 *) emacs_restrict
="$emacs_cv_c_restrict";;
22233 if test "$emacs_restrict" != __restrict
; then
22235 cat >>confdefs.h
<<_ACEOF
22236 #define __restrict $emacs_restrict
22241 echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
22242 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6
22243 if test "${emacs_cv_c_restrict_arr+set}" = set; then
22244 echo $ECHO_N "(cached) $ECHO_C" >&6
22246 cat >conftest.
$ac_ext <<_ACEOF
22249 cat confdefs.h
>>conftest.
$ac_ext
22250 cat >>conftest.
$ac_ext <<_ACEOF
22251 /* end confdefs.h. */
22252 void fred (int x[__restrict]);
22261 rm -f conftest.
$ac_objext
22262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22263 (eval $ac_compile) 2>conftest.er1
22265 grep -v '^ *+' conftest.er1
>conftest.err
22267 cat conftest.err
>&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } &&
22270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22272 (eval $ac_try) 2>&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); }; } &&
22276 { ac_try
='test -s conftest.$ac_objext'
22277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22278 (eval $ac_try) 2>&5
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); }; }; then
22282 emacs_cv_c_restrict_arr
=yes
22284 echo "$as_me: failed program was:" >&5
22285 sed 's/^/| /' conftest.
$ac_ext >&5
22287 emacs_cv_c_restrict_arr
=no
22289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22291 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
22292 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6
22293 if test "$emacs_cv_c_restrict_arr" = yes; then
22295 cat >>confdefs.h
<<\_ACEOF
22296 #define __restrict_arr __restrict
22303 # Set up the CFLAGS for real compilation, so we can substitute it.
22304 CFLAGS
="$REAL_CFLAGS"
22305 CPPFLAGS
="$REAL_CPPFLAGS"
22307 #### Find out which version of Emacs this is.
22308 version
=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
22309 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
22310 if test x
"${version}" = x
; then
22311 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
22312 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
22313 { (exit 1); exit 1; }; }
22316 ### Specify what sort of things we'll be editing into Makefile and config.h.
22317 ### Use configuration here uncanonicalized to avoid exceeding size limits.
22353 cat >>confdefs.h
<<_ACEOF
22354 #define EMACS_CONFIGURATION "${canonical}"
22358 cat >>confdefs.h
<<_ACEOF
22359 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
22363 cat >>confdefs.h
<<_ACEOF
22364 #define config_machfile "${machfile}"
22368 cat >>confdefs.h
<<_ACEOF
22369 #define config_opsysfile "${opsysfile}"
22373 cat >>confdefs.h
<<_ACEOF
22374 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
22378 cat >>confdefs.h
<<_ACEOF
22379 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
22383 cat >>confdefs.h
<<_ACEOF
22384 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
22388 cat >>confdefs.h
<<_ACEOF
22389 #define UNEXEC_SRC ${UNEXEC_SRC}
22393 if test "${HAVE_X_WINDOWS}" = "yes" ; then
22395 cat >>confdefs.h
<<\_ACEOF
22396 #define HAVE_X_WINDOWS 1
22400 if test "${USE_X_TOOLKIT}" != "none" ; then
22402 cat >>confdefs.h
<<\_ACEOF
22403 #define USE_X_TOOLKIT 1
22407 if test "${HAVE_X11}" = "yes" ; then
22409 cat >>confdefs.h
<<\_ACEOF
22414 if test "${HAVE_XFREE386}" = "yes" ; then
22416 cat >>confdefs.h
<<\_ACEOF
22417 #define HAVE_XFREE386 1
22421 if test "${HAVE_MENUS}" = "yes" ; then
22423 cat >>confdefs.h
<<\_ACEOF
22424 #define HAVE_MENUS 1
22428 if test "${GNU_MALLOC}" = "yes" ; then
22430 cat >>confdefs.h
<<\_ACEOF
22431 #define GNU_MALLOC 1
22435 if test "${REL_ALLOC}" = "yes" ; then
22437 cat >>confdefs.h
<<\_ACEOF
22438 #define REL_ALLOC 1
22447 #### Report on what we decided to do.
22448 #### Report GTK as a toolkit, even if it doesn't use Xt.
22449 #### It makes printing result more understandable as using GTK sets
22450 #### toolkit_scroll_bars to yes by default.
22451 if test "${HAVE_GTK}" = "yes"; then
22456 Configured for \`${canonical}'.
22458 Where should the build process find the source code? ${srcdir}
22459 What operating system and machine description files should Emacs use?
22460 \`${opsysfile}' and \`${machfile}'
22461 What compiler should emacs be built with? ${CC} ${CFLAGS}
22462 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
22463 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
22464 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
22465 What window system should Emacs use? ${window_system}
22466 What toolkit should Emacs use? ${USE_X_TOOLKIT}"
22468 if test -n "${x_includes}"; then
22469 echo " Where do we find X Windows header files? ${x_includes}"
22471 echo " Where do we find X Windows header files? Standard dirs"
22473 if test -n "${x_libraries}"; then
22474 echo " Where do we find X Windows libraries? ${x_libraries}"
22476 echo " Where do we find X Windows libraries? Standard dirs"
22479 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
22480 echo " Does Emacs use -lXpm? ${HAVE_XPM}"
22481 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
22482 echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
22483 echo " Does Emacs use -lungif? ${HAVE_GIF}"
22484 echo " Does Emacs use -lpng? ${HAVE_PNG}"
22485 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
22488 if test $USE_XASSERTS = yes; then
22489 echo " Compiling with asserts turned on."
22490 CPPFLAGS
="$CPPFLAGS -DXASSERTS=1"
22496 # Remove any trailing slashes in these variables.
22497 test "${prefix}" != NONE
&&
22498 prefix
=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
22499 test "${exec_prefix}" != NONE
&&
22500 exec_prefix
=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
22502 ## Check if the C preprocessor will convert `..' to `. .'. If so, set
22503 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
22504 ## from Makefile.c can correctly provide the arg `-traditional' to the
22507 cat >conftest.
$ac_ext <<_ACEOF
22510 cat confdefs.h
>>conftest.
$ac_ext
22511 cat >>conftest.
$ac_ext <<_ACEOF
22512 /* end confdefs.h. */
22515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22516 $EGREP "yes..yes" >/dev
/null
2>&1; then
22517 CPP_NEED_TRADITIONAL
=no
22519 CPP_NEED_TRADITIONAL
=yes
22524 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"
22525 ac_config_commands
="$ac_config_commands default"
22526 cat >confcache
<<\_ACEOF
22527 # This file is a shell script that caches the results of configure
22528 # tests run on this system so they can be shared between configure
22529 # scripts and configure runs, see configure's option --config-cache.
22530 # It is not useful on other systems. If it contains results you don't
22531 # want to keep, you may remove or edit it.
22533 # config.status only pays attention to the cache file if you give it
22534 # the --recheck option to rerun configure.
22536 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22537 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22538 # following values.
22542 # The following way of writing the cache mishandles newlines in values,
22543 # but we know of no workaround that is simple, portable, and efficient.
22544 # So, don't put newlines in cache variables' values.
22545 # Ultrix sh set writes to stderr and can't be redirected directly,
22546 # and sets the high bit in the cache file unless we assign to the vars.
22549 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22551 # `set' does not quote correctly, so add quotes (double-quote
22552 # substitution turns \\\\ into \\, and sed turns \\ into \).
22555 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22558 # `set' quotes correctly as required by POSIX, so do not add quotes.
22560 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22567 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22569 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22571 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22572 if test -w $cache_file; then
22573 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22574 cat confcache
>$cache_file
22576 echo "not updating unwritable cache $cache_file"
22581 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22582 # Let make expand exec_prefix.
22583 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22585 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22586 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22587 # trailing colons and then remove the whole line if VPATH becomes empty
22588 # (actually we leave an empty line to preserve line numbers).
22589 if test "x$srcdir" = x.
; then
22590 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22591 s/:*\$(srcdir):*/:/;
22592 s/:*\${srcdir}:*/:/;
22594 s/^\([^=]*=[ ]*\):*/\1/;
22600 DEFS
=-DHAVE_CONFIG_H
22604 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22605 # 1. Remove the extension, and $U if already installed.
22606 ac_i
=`echo "$ac_i" |
22607 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22609 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22610 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22612 LIBOBJS
=$ac_libobjs
22614 LTLIBOBJS
=$ac_ltlibobjs
22618 : ${CONFIG_STATUS=./config.status}
22619 ac_clean_files_save
=$ac_clean_files
22620 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22621 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22622 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22623 cat >$CONFIG_STATUS <<_ACEOF
22625 # Generated by $as_me.
22626 # Run this file to recreate the current configuration.
22627 # Compiler output produced by configure, useful for debugging
22628 # configure, is in config.log if it exists.
22631 ac_cs_recheck=false
22633 SHELL=\${CONFIG_SHELL-$SHELL}
22636 cat >>$CONFIG_STATUS <<\_ACEOF
22637 ## --------------------- ##
22638 ## M4sh Initialization. ##
22639 ## --------------------- ##
22641 # Be Bourne compatible
22642 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22645 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22646 # is contrary to our usage. Disable this feature.
22647 alias -g '${1+"$@"}'='"$@"'
22648 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22651 DUALCASE
=1; export DUALCASE
# for MKS sh
22653 # Support unset when possible.
22654 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22661 # Work around bugs in pre-3.0 UWIN ksh.
22662 $as_unset ENV MAIL MAILPATH
22669 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22670 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22671 LC_TELEPHONE LC_TIME
22673 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22674 eval $as_var=C
; export $as_var
22680 # Required to use basename.
22681 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22687 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22688 as_basename
=basename
22694 # Name of the executable.
22695 as_me
=`$as_basename "$0" ||
22696 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22697 X"$0" : 'X\(//\)$' \| \
22698 X"$0" : 'X\(/\)$' \| \
22699 . : '\(.\)' 2>/dev/null ||
22701 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22702 /^X\/\(\/\/\)$/{ s//\1/; q; }
22703 /^X\/\(\/\).*/{ s//\1/; q; }
22707 # PATH needs CR, and LINENO needs CR and PATH.
22708 # Avoid depending upon Character Ranges.
22709 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22710 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22711 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22712 as_cr_digits
='0123456789'
22713 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22715 # The user is always right.
22716 if test "${PATH_SEPARATOR+set}" != set; then
22717 echo "#! /bin/sh" >conf$$.sh
22718 echo "exit 0" >>conf$$.sh
22720 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22729 as_lineno_1
=$LINENO
22730 as_lineno_2
=$LINENO
22731 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22732 test "x$as_lineno_1" != "x$as_lineno_2" &&
22733 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22734 # Find who we are. Look in the path if we contain no path at all
22737 *[\\/]* ) as_myself
=$0 ;;
22738 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22739 for as_dir
in $PATH
22742 test -z "$as_dir" && as_dir
=.
22743 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22748 # We did not find ourselves, most probably we were run as `sh COMMAND'
22749 # in which case we are not to be found in the path.
22750 if test "x$as_myself" = x
; then
22753 if test ! -f "$as_myself"; then
22754 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22755 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22756 { (exit 1); exit 1; }; }
22758 case $CONFIG_SHELL in
22760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22761 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22764 test -z "$as_dir" && as_dir
=.
22765 for as_base
in sh bash ksh sh5
; do
22768 if ("$as_dir/$as_base" -c '
22769 as_lineno_1=$LINENO
22770 as_lineno_2=$LINENO
22771 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22772 test "x$as_lineno_1" != "x$as_lineno_2" &&
22773 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22774 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22775 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22776 CONFIG_SHELL
=$as_dir/$as_base
22777 export CONFIG_SHELL
22778 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22786 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22787 # uniformly replaced by the line number. The first 'sed' inserts a
22788 # line-number line before each line; the second 'sed' does the real
22789 # work. The second script uses 'N' to pair each line-number line
22790 # with the numbered line, and appends trailing '-' during
22791 # substitution so that $LINENO is not a special case at line end.
22792 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22793 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22794 sed '=' <$as_myself |
22799 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22802 s,^['$as_cr_digits']*\n,,
22803 ' >$as_me.lineno
&&
22804 chmod +x
$as_me.lineno ||
22805 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22806 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22807 { (exit 1); exit 1; }; }
22809 # Don't try to exec as it changes $[0], causing all sort of problems
22810 # (the dirname of $[0] is not the place where we might find the
22811 # original and so on. Autoconf is especially sensible to this).
22813 # Exit status is that of the last command.
22818 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22819 *c
*,-n*) ECHO_N
= ECHO_C
='
22821 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22822 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22825 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22831 rm -f conf$$ conf$$.exe conf$$.
file
22833 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22834 # We could just check for DJGPP; but this test a) works b) is more generic
22835 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22836 if test -f conf$$.exe
; then
22837 # Don't use ln at all; we don't have any links
22842 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22847 rm -f conf$$ conf$$.exe conf$$.
file
22849 if mkdir
-p .
2>/dev
/null
; then
22852 test -d .
/-p && rmdir .
/-p
22856 as_executable_p
="test -f"
22858 # Sed expression to map a string onto a valid CPP name.
22859 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22861 # Sed expression to map a string onto a valid variable name.
22862 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22866 # We need space, tab and new line, in precisely that order.
22876 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22877 # report actual input values of CONFIG_FILES etc. instead of their
22878 # values after options handling. Logging --version etc. is OK.
22882 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22883 ## Running $as_me. ##
22888 This file was extended by $as_me, which was
22889 generated by GNU Autoconf 2.59. Invocation command line was
22891 CONFIG_FILES = $CONFIG_FILES
22892 CONFIG_HEADERS = $CONFIG_HEADERS
22893 CONFIG_LINKS = $CONFIG_LINKS
22894 CONFIG_COMMANDS = $CONFIG_COMMANDS
22898 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22902 # Files that config.status was made for.
22903 if test -n "$ac_config_files"; then
22904 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22907 if test -n "$ac_config_headers"; then
22908 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22911 if test -n "$ac_config_links"; then
22912 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22915 if test -n "$ac_config_commands"; then
22916 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22919 cat >>$CONFIG_STATUS <<\_ACEOF
22922 \`$as_me' instantiates files from templates according to the
22923 current configuration.
22925 Usage: $0 [OPTIONS] [FILE]...
22927 -h, --help print this help, then exit
22928 -V, --version print version number, then exit
22929 -q, --quiet do not print progress messages
22930 -d, --debug don't remove temporary files
22931 --recheck update $as_me by reconfiguring in the same conditions
22932 --file=FILE[:TEMPLATE]
22933 instantiate the configuration file FILE
22934 --header=FILE[:TEMPLATE]
22935 instantiate the configuration header FILE
22937 Configuration files:
22940 Configuration headers:
22943 Configuration commands:
22946 Report bugs to <bug-autoconf@gnu.org>."
22949 cat >>$CONFIG_STATUS <<_ACEOF
22952 configured by $0, generated by GNU Autoconf 2.59,
22953 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22955 Copyright (C) 2003 Free Software Foundation, Inc.
22956 This config.status script is free software; the Free Software Foundation
22957 gives unlimited permission to copy, distribute and modify it."
22962 cat >>$CONFIG_STATUS <<\_ACEOF
22963 # If no file are specified by the user, then we need to provide default
22964 # value. By we need to know if files were specified by the user.
22970 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22971 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22979 *) # This is not an option, so the user has probably given explicit
22982 ac_need_defaults
=false
;;
22986 # Handling of the options.
22988 cat >>$CONFIG_STATUS <<\_ACEOF
22989 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22991 --version |
--vers* |
-V )
22992 echo "$ac_cs_version"; exit 0 ;;
22994 # Conflict between --help and --header
22995 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22996 Try \`$0 --help' for more information." >&5
22997 echo "$as_me: error: ambiguous option: $1
22998 Try \`$0 --help' for more information." >&2;}
22999 { (exit 1); exit 1; }; };;
23000 --help |
--hel |
-h )
23001 echo "$ac_cs_usage"; exit 0 ;;
23002 --debug |
--d* |
-d )
23004 --file |
--fil |
--fi |
--f )
23006 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23007 ac_need_defaults
=false
;;
23008 --header |
--heade |
--head |
--hea )
23010 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23011 ac_need_defaults
=false
;;
23012 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23013 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23016 # This is an error.
23017 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23018 Try \`$0 --help' for more information." >&5
23019 echo "$as_me: error: unrecognized option: $1
23020 Try \`$0 --help' for more information." >&2;}
23021 { (exit 1); exit 1; }; } ;;
23023 *) ac_config_targets
="$ac_config_targets $1" ;;
23029 ac_configure_extra_args
=
23031 if $ac_cs_silent; then
23033 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23037 cat >>$CONFIG_STATUS <<_ACEOF
23038 if \$ac_cs_recheck; then
23039 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23040 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23045 cat >>$CONFIG_STATUS <<_ACEOF
23047 # INIT-COMMANDS section.
23050 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
23056 cat >>$CONFIG_STATUS <<\_ACEOF
23057 for ac_config_target
in $ac_config_targets
23059 case "$ac_config_target" in
23060 # Handling of arguments.
23061 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23062 "lib-src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;;
23063 "oldXMenu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES oldXMenu/Makefile" ;;
23064 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
23065 "lwlib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lwlib/Makefile" ;;
23066 "src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
23067 "lisp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lisp/Makefile" ;;
23068 "lispref/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispref/Makefile" ;;
23069 "lispintro/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispintro/Makefile" ;;
23070 "leim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES leim/Makefile" ;;
23071 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
23072 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h:src/config.in" ;;
23073 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23074 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23075 { (exit 1); exit 1; }; };;
23079 # If the user did not use the arguments to specify the items to instantiate,
23080 # then the envvar interface is used. Set only those that are not.
23081 # We use the long form for the default assignment because of an extremely
23082 # bizarre bug on SunOS 4.1.3.
23083 if $ac_need_defaults; then
23084 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23085 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23086 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23089 # Have a temporary directory for convenience. Make it in the build tree
23090 # simply because there is no reason to put it here, and in addition,
23091 # creating and moving files from /tmp can sometimes cause problems.
23092 # Create a temporary directory, and hook for its removal unless debugging.
23095 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23096 trap '{ (exit 1); exit 1; }' 1 2 13 15
23099 # Create a (secure) tmp directory for tmp files.
23102 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23103 test -n "$tmp" && test -d "$tmp"
23106 tmp
=.
/confstat$$
-$RANDOM
23107 (umask 077 && mkdir
$tmp)
23110 echo "$me: cannot create a temporary directory in ." >&2
23111 { (exit 1); exit 1; }
23116 cat >>$CONFIG_STATUS <<_ACEOF
23119 # CONFIG_FILES section.
23122 # No need to generate the scripts if there are no CONFIG_FILES.
23123 # This happens for instance when ./config.status config.h
23124 if test -n "\$CONFIG_FILES"; then
23125 # Protect against being on the right side of a sed subst in config.status.
23126 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23127 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23128 s,@SHELL@,$SHELL,;t t
23129 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23130 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23131 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23132 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23133 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23134 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23135 s,@exec_prefix@,$exec_prefix,;t t
23136 s,@prefix@,$prefix,;t t
23137 s,@program_transform_name@,$program_transform_name,;t t
23138 s,@bindir@,$bindir,;t t
23139 s,@sbindir@,$sbindir,;t t
23140 s,@libexecdir@,$libexecdir,;t t
23141 s,@datadir@,$datadir,;t t
23142 s,@sysconfdir@,$sysconfdir,;t t
23143 s,@sharedstatedir@,$sharedstatedir,;t t
23144 s,@localstatedir@,$localstatedir,;t t
23145 s,@libdir@,$libdir,;t t
23146 s,@includedir@,$includedir,;t t
23147 s,@oldincludedir@,$oldincludedir,;t t
23148 s,@infodir@,$infodir,;t t
23149 s,@mandir@,$mandir,;t t
23150 s,@build_alias@,$build_alias,;t t
23151 s,@host_alias@,$host_alias,;t t
23152 s,@target_alias@,$target_alias,;t t
23153 s,@DEFS@,$DEFS,;t t
23154 s,@ECHO_C@,$ECHO_C,;t t
23155 s,@ECHO_N@,$ECHO_N,;t t
23156 s,@ECHO_T@,$ECHO_T,;t t
23157 s,@LIBS@,$LIBS,;t t
23158 s,@MAINT@,$MAINT,;t t
23159 s,@build@,$build,;t t
23160 s,@build_cpu@,$build_cpu,;t t
23161 s,@build_vendor@,$build_vendor,;t t
23162 s,@build_os@,$build_os,;t t
23163 s,@host@,$host,;t t
23164 s,@host_cpu@,$host_cpu,;t t
23165 s,@host_vendor@,$host_vendor,;t t
23166 s,@host_os@,$host_os,;t t
23168 s,@CFLAGS@,$CFLAGS,;t t
23169 s,@LDFLAGS@,$LDFLAGS,;t t
23170 s,@CPPFLAGS@,$CPPFLAGS,;t t
23171 s,@ac_ct_CC@,$ac_ct_CC,;t t
23172 s,@EXEEXT@,$EXEEXT,;t t
23173 s,@OBJEXT@,$OBJEXT,;t t
23174 s,@LN_S@,$LN_S,;t t
23176 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23177 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23178 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23179 s,@RANLIB@,$RANLIB,;t t
23180 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23181 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
23182 s,@GZIP_PROG@,$GZIP_PROG,;t t
23183 s,@EGREP@,$EGREP,;t t
23184 s,@LIBSOUND@,$LIBSOUND,;t t
23185 s,@SET_MAKE@,$SET_MAKE,;t t
23186 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
23187 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
23188 s,@GTK_LIBS@,$GTK_LIBS,;t t
23189 s,@ALLOCA@,$ALLOCA,;t t
23190 s,@liblockfile@,$liblockfile,;t t
23191 s,@LIBOBJS@,$LIBOBJS,;t t
23192 s,@NEED_SETGID@,$NEED_SETGID,;t t
23193 s,@KMEM_GROUP@,$KMEM_GROUP,;t t
23194 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
23195 s,@GETOPT_H@,$GETOPT_H,;t t
23196 s,@GETOPTOBJS@,$GETOPTOBJS,;t t
23197 s,@version@,$version,;t t
23198 s,@configuration@,$configuration,;t t
23199 s,@canonical@,$canonical,;t t
23200 s,@srcdir@,$srcdir,;t t
23201 s,@lispdir@,$lispdir,;t t
23202 s,@locallisppath@,$locallisppath,;t t
23203 s,@lisppath@,$lisppath,;t t
23204 s,@x_default_search_path@,$x_default_search_path,;t t
23205 s,@etcdir@,$etcdir,;t t
23206 s,@archlibdir@,$archlibdir,;t t
23207 s,@docdir@,$docdir,;t t
23208 s,@bitmapdir@,$bitmapdir,;t t
23209 s,@gamedir@,$gamedir,;t t
23210 s,@gameuser@,$gameuser,;t t
23211 s,@c_switch_system@,$c_switch_system,;t t
23212 s,@c_switch_machine@,$c_switch_machine,;t t
23213 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t
23214 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t
23215 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t
23216 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
23217 s,@machfile@,$machfile,;t t
23218 s,@opsysfile@,$opsysfile,;t t
23219 s,@carbon_appdir@,$carbon_appdir,;t t
23220 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23225 cat >>$CONFIG_STATUS <<\_ACEOF
23226 # Split the substitutions into bite-sized pieces for seds with
23227 # small command number limits, like on Digital OSF/1 and HP-UX.
23228 ac_max_sed_lines
=48
23229 ac_sed_frag
=1 # Number of current file.
23230 ac_beg
=1 # First line for current file.
23231 ac_end
=$ac_max_sed_lines # Line after last line for current file.
23234 while $ac_more_lines; do
23235 if test $ac_beg -gt 1; then
23236 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23238 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23240 if test ! -s $tmp/subs.frag
; then
23241 ac_more_lines
=false
23243 # The purpose of the label and of the branching condition is to
23244 # speed up the sed processing (if there are no `@' at all, there
23245 # is no need to browse any of the substitutions).
23246 # These are the two extra sed commands mentioned above.
23248 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
23249 if test -z "$ac_sed_cmds"; then
23250 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
23252 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23254 ac_sed_frag
=`expr $ac_sed_frag + 1`
23256 ac_end
=`expr $ac_end + $ac_max_sed_lines`
23259 if test -z "$ac_sed_cmds"; then
23262 fi # test -n "$CONFIG_FILES"
23265 cat >>$CONFIG_STATUS <<\_ACEOF
23266 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
23267 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23269 - |
*:- |
*:-:* ) # input from stdin
23271 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23272 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23273 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23274 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23275 * ) ac_file_in
=$ac_file.
in ;;
23278 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23279 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23280 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23281 X"$ac_file" : 'X\(//\)[^/]' \| \
23282 X"$ac_file" : 'X\(//\)$' \| \
23283 X"$ac_file" : 'X\(/\)' \| \
23284 . : '\(.\)' 2>/dev/null ||
23286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23288 /^X\(\/\/\)$/{ s//\1/; q; }
23289 /^X\(\/\).*/{ s//\1/; q; }
23291 { if $as_mkdir_p; then
23296 while test ! -d "$as_dir"; do
23297 as_dirs
="$as_dir $as_dirs"
23298 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23300 X"$as_dir" : 'X\(//\)[^/]' \| \
23301 X"$as_dir" : 'X\(//\)$' \| \
23302 X"$as_dir" : 'X\(/\)' \| \
23303 . : '\(.\)' 2>/dev/null ||
23305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23307 /^X\(\/\/\)$/{ s//\1/; q; }
23308 /^X\(\/\).*/{ s//\1/; q; }
23311 test ! -n "$as_dirs" || mkdir
$as_dirs
23312 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23313 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23314 { (exit 1); exit 1; }; }; }
23318 if test "$ac_dir" != .
; then
23319 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23320 # A "../" for each directory in $ac_dir_suffix.
23321 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23323 ac_dir_suffix
= ac_top_builddir
=
23327 .
) # No --srcdir option. We are building in place.
23329 if test -z "$ac_top_builddir"; then
23332 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23334 [\\/]* | ?
:[\\/]* ) # Absolute path.
23335 ac_srcdir
=$srcdir$ac_dir_suffix;
23336 ac_top_srcdir
=$srcdir ;;
23337 *) # Relative path.
23338 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23339 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23342 # Do not use `cd foo && pwd` to compute absolute paths, because
23343 # the directories may not exist.
23345 .
) ac_abs_builddir
="$ac_dir";;
23348 .
) ac_abs_builddir
=`pwd`;;
23349 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23350 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23353 case $ac_abs_builddir in
23354 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23356 case ${ac_top_builddir}.
in
23357 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23358 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23359 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23362 case $ac_abs_builddir in
23363 .
) ac_abs_srcdir
=$ac_srcdir;;
23366 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23367 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23368 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23371 case $ac_abs_builddir in
23372 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23374 case $ac_top_srcdir in
23375 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23376 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23377 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23383 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23384 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
23387 # Let's still pretend it is `configure' which instantiates (i.e., don't
23388 # use $as_me), people would be surprised to read:
23389 # /* config.h. Generated by config.status. */
23390 if test x
"$ac_file" = x-
; then
23393 configure_input
="$ac_file. "
23395 configure_input
=$configure_input"Generated from `echo $ac_file_in |
23396 sed 's,.*/,,'` by configure."
23398 # First look for the input files in the build tree, otherwise in the
23400 ac_file_inputs
=`IFS=:
23401 for f in $ac_file_in; do
23403 -) echo $tmp/stdin ;;
23405 # Absolute (can't be DOS-style, as IFS=:)
23406 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23407 echo "$as_me: error: cannot find input file: $f" >&2;}
23408 { (exit 1); exit 1; }; }
23411 if test -f "$f"; then
23414 elif test -f "$srcdir/$f"; then
23419 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23420 echo "$as_me: error: cannot find input file: $f" >&2;}
23421 { (exit 1); exit 1; }; }
23424 done` ||
{ (exit 1); exit 1; }
23426 if test x
"$ac_file" != x-
; then
23427 { echo "$as_me:$LINENO: creating $ac_file" >&5
23428 echo "$as_me: creating $ac_file" >&6;}
23432 cat >>$CONFIG_STATUS <<_ACEOF
23436 cat >>$CONFIG_STATUS <<\_ACEOF
23438 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23439 s
,@configure_input@
,$configure_input,;t t
23440 s
,@srcdir@
,$ac_srcdir,;t t
23441 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23442 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23443 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23444 s
,@builddir@
,$ac_builddir,;t t
23445 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23446 s
,@top_builddir@
,$ac_top_builddir,;t t
23447 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23448 s
,@INSTALL@
,$ac_INSTALL,;t t
23449 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23451 if test x"$ac_file" != x-; then
23452 mv $tmp/out $ac_file
23460 cat >>$CONFIG_STATUS <<\_ACEOF
23463 # CONFIG_HEADER section.
23466 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
23467 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23469 # ac_d sets the value in "#define NAME VALUE" lines.
23470 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23471 ac_dB
='[ ].*$,\1#\2'
23474 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23475 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23476 ac_uB
='$,\1#\2define\3'
23480 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
23481 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23483 - |
*:- |
*:-:* ) # input from stdin
23485 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23486 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23487 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23488 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23489 * ) ac_file_in
=$ac_file.
in ;;
23492 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
23493 echo "$as_me: creating $ac_file" >&6;}
23495 # First look for the input files in the build tree, otherwise in the
23497 ac_file_inputs
=`IFS=:
23498 for f in $ac_file_in; do
23500 -) echo $tmp/stdin ;;
23502 # Absolute (can't be DOS-style, as IFS=:)
23503 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23504 echo "$as_me: error: cannot find input file: $f" >&2;}
23505 { (exit 1); exit 1; }; }
23506 # Do quote $f, to prevent DOS paths from being IFS'd.
23509 if test -f "$f"; then
23512 elif test -f "$srcdir/$f"; then
23517 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23518 echo "$as_me: error: cannot find input file: $f" >&2;}
23519 { (exit 1); exit 1; }; }
23522 done` ||
{ (exit 1); exit 1; }
23523 # Remove the trailing spaces.
23524 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23528 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23529 # `conftest.undefs', that substitutes the proper values into
23530 # config.h.in to produce config.h. The first handles `#define'
23531 # templates, and the second `#undef' templates.
23532 # And first: Protect against being on the right side of a sed subst in
23533 # config.status. Protect against being in an unquoted here document
23534 # in config.status.
23535 rm -f conftest.defines conftest.undefs
23536 # Using a here document instead of a string reduces the quoting nightmare.
23537 # Putting comments in sed scripts is not portable.
23539 # `end' is used to avoid that the second main sed command (meant for
23540 # 0-ary CPP macros) applies to n-ary macro definitions.
23541 # See the Autoconf documentation for `clear'.
23542 cat >confdef2sed.
sed <<\_ACEOF
23547 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23549 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23552 # If some macros were called several times there might be several times
23553 # the same #defines, which is useless. Nevertheless, we may not want to
23554 # sort them, since we want the *last* AC-DEFINE to be honored.
23555 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23556 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23557 rm -f confdef2sed.sed
23559 # This sed command replaces #undef with comments. This is necessary, for
23560 # example, in the case of _POSIX_SOURCE, which is predefined and required
23561 # on some systems where configure will not decide to define it.
23562 cat >>conftest.undefs <<\_ACEOF
23563 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23566 # Break up conftest.defines because some shells have a limit on the size
23567 # of here documents, and old seds have small limits too (100 cmds).
23568 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23569 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23570 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23571 echo ' :' >>$CONFIG_STATUS
23572 rm -f conftest.tail
23573 while grep . conftest.defines >/dev/null
23575 # Write a limited-size here document to $tmp/defines.sed.
23576 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23577 # Speed up: don't consider the non `#define' lines.
23578 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23579 # Work around the forget-to-reset-the-flag bug.
23580 echo 't clr' >>$CONFIG_STATUS
23581 echo ': clr' >>$CONFIG_STATUS
23582 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23584 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23586 mv $tmp/out $tmp/in
23588 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23589 rm -f conftest.defines
23590 mv conftest.
tail conftest.defines
23592 rm -f conftest.defines
23593 echo ' fi # grep' >>$CONFIG_STATUS
23594 echo >>$CONFIG_STATUS
23596 # Break up conftest.undefs because some shells have a limit on the size
23597 # of here documents, and old seds have small limits too (100 cmds).
23598 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23599 rm -f conftest.
tail
23600 while grep . conftest.undefs
>/dev
/null
23602 # Write a limited-size here document to $tmp/undefs.sed.
23603 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23604 # Speed up: don't consider the non
`#undef'
23605 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23606 # Work around the forget-to-reset-the-flag bug.
23607 echo 't clr' >>$CONFIG_STATUS
23608 echo ': clr' >>$CONFIG_STATUS
23609 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23611 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23613 mv $tmp/out $tmp/in
23615 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23616 rm -f conftest.undefs
23617 mv conftest.tail conftest.undefs
23619 rm -f conftest.undefs
23621 cat >>$CONFIG_STATUS <<\_ACEOF
23622 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23623 # use $as_me), people would be surprised to read:
23624 # /* config.h. Generated by config.status. */
23625 if test x
"$ac_file" = x-
; then
23626 echo "/* Generated by configure. */" >$tmp/config.h
23628 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23630 cat $tmp/in >>$tmp/config.h
23632 if test x
"$ac_file" != x-
; then
23633 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23634 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23635 echo "$as_me: $ac_file is unchanged" >&6;}
23637 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23638 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23639 X"$ac_file" : 'X\(//\)[^/]' \| \
23640 X"$ac_file" : 'X\(//\)$' \| \
23641 X"$ac_file" : 'X\(/\)' \| \
23642 . : '\(.\)' 2>/dev/null ||
23644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23645 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23646 /^X\(\/\/\)$/{ s//\1/; q; }
23647 /^X\(\/\).*/{ s//\1/; q; }
23649 { if $as_mkdir_p; then
23654 while test ! -d "$as_dir"; do
23655 as_dirs
="$as_dir $as_dirs"
23656 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23658 X"$as_dir" : 'X\(//\)[^/]' \| \
23659 X"$as_dir" : 'X\(//\)$' \| \
23660 X"$as_dir" : 'X\(/\)' \| \
23661 . : '\(.\)' 2>/dev/null ||
23663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23664 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23665 /^X\(\/\/\)$/{ s//\1/; q; }
23666 /^X\(\/\).*/{ s//\1/; q; }
23669 test ! -n "$as_dirs" || mkdir
$as_dirs
23670 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23671 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23672 { (exit 1); exit 1; }; }; }
23675 mv $tmp/config.h
$ac_file
23679 rm -f $tmp/config.h
23683 cat >>$CONFIG_STATUS <<\_ACEOF
23686 # CONFIG_COMMANDS section.
23688 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23689 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23690 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23691 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23692 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23693 X"$ac_dest" : 'X\(//\)[^/]' \| \
23694 X"$ac_dest" : 'X\(//\)$' \| \
23695 X"$ac_dest" : 'X\(/\)' \| \
23696 . : '\(.\)' 2>/dev/null ||
23698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23699 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23700 /^X\(\/\/\)$/{ s//\1/; q; }
23701 /^X\(\/\).*/{ s//\1/; q; }
23703 { if $as_mkdir_p; then
23708 while test ! -d "$as_dir"; do
23709 as_dirs
="$as_dir $as_dirs"
23710 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23711 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23712 X"$as_dir" : 'X\(//\)[^/]' \| \
23713 X"$as_dir" : 'X\(//\)$' \| \
23714 X"$as_dir" : 'X\(/\)' \| \
23715 . : '\(.\)' 2>/dev/null ||
23717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23719 /^X\(\/\/\)$/{ s//\1/; q; }
23720 /^X\(\/\).*/{ s//\1/; q; }
23723 test ! -n "$as_dirs" || mkdir
$as_dirs
23724 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23725 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23726 { (exit 1); exit 1; }; }; }
23730 if test "$ac_dir" != .
; then
23731 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23732 # A "../" for each directory in $ac_dir_suffix.
23733 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23735 ac_dir_suffix
= ac_top_builddir
=
23739 .
) # No --srcdir option. We are building in place.
23741 if test -z "$ac_top_builddir"; then
23744 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23746 [\\/]* | ?
:[\\/]* ) # Absolute path.
23747 ac_srcdir
=$srcdir$ac_dir_suffix;
23748 ac_top_srcdir
=$srcdir ;;
23749 *) # Relative path.
23750 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23751 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23754 # Do not use `cd foo && pwd` to compute absolute paths, because
23755 # the directories may not exist.
23757 .
) ac_abs_builddir
="$ac_dir";;
23760 .
) ac_abs_builddir
=`pwd`;;
23761 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23762 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23765 case $ac_abs_builddir in
23766 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23768 case ${ac_top_builddir}.
in
23769 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23770 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23771 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23774 case $ac_abs_builddir in
23775 .
) ac_abs_srcdir
=$ac_srcdir;;
23778 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23779 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23780 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23783 case $ac_abs_builddir in
23784 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23786 case $ac_top_srcdir in
23787 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23788 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23789 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23794 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23795 echo "$as_me: executing $ac_dest commands" >&6;}
23799 ### Make the necessary directories, if they don't exist.
23800 for dir
in etc lisp
; do
23801 test -d ${dir} || mkdir
${dir}
23804 # Build src/Makefile from ${srcdir}/src/Makefile.c
23805 # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
23806 # This must be done after src/config.h is built, since we rely on that file.
23808 # Now get this: Some word that is part of the ${srcdir} directory name
23809 # or the ${configuration} value might, just might, happen to be an
23810 # identifier like `sun4' or `i386' or something, and be predefined by
23811 # the C preprocessor to some helpful value like 1, or maybe the empty
23812 # string. Needless to say consequent macro substitutions are less
23813 # than conducive to the makefile finding the correct directory.
23814 undefs
="`echo $top_srcdir $configuration $canonical |
23815 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
23816 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
23819 echo creating src
/epaths.h
23820 ${MAKE-make} epaths-force
23822 # As of 2000-11-19, newest development versions of GNU cpp preprocess
23823 # `..' to `. .' unless invoked with -traditional
23825 if test "x$GCC" = xyes
&& test "x$CPP_NEED_TRADITIONAL" = xyes
; then
23826 CPPFLAGS
="$CPPFLAGS -traditional"
23829 echo creating lib-src
/Makefile
23831 rm -f junk.c junk1.c junk2.c
23832 sed -e '/start of cpp stuff/q' \
23833 < Makefile.c
> junk1.c
23834 sed -e '1,/start of cpp stuff/d'\
23835 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
23836 < Makefile.c
> junk.c
23837 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
23838 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
23839 cat junk1.c junk2.c
> Makefile.new
23840 rm -f junk.c junk1.c junk2.c
23841 chmod 444 Makefile.new
23842 mv -f Makefile.new Makefile
23845 echo creating src
/Makefile
23847 rm -f junk.c junk1.c junk2.c
23848 sed -e '/start of cpp stuff/q' \
23849 < Makefile.c
> junk1.c
23850 sed -e '1,/start of cpp stuff/d'\
23851 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
23852 < Makefile.c
> junk.c
23853 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
23854 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
23855 cat junk1.c junk2.c
> Makefile.new
23856 rm -f junk.c junk1.c junk2.c
23857 chmod 444 Makefile.new
23858 mv -f Makefile.new Makefile
23861 if test ! -f src
/.gdbinit
&& test -f $srcdir/src
/.gdbinit
; then
23862 echo creating src
/.gdbinit
23863 echo source $srcdir/src
/.gdbinit
> src
/.gdbinit
23866 # This is how we know whether to re-run configure in certain cases.
23867 touch src
/config.stamp
23874 cat >>$CONFIG_STATUS <<\_ACEOF
23876 { (exit 0); exit 0; }
23878 chmod +x
$CONFIG_STATUS
23879 ac_clean_files
=$ac_clean_files_save
23882 # configure is writing to config.log, and then calls config.status.
23883 # config.status does its own redirection, appending to config.log.
23884 # Unfortunately, on DOS this fails, as config.log is still kept open
23885 # by configure, so config.status won't be able to write to it; its
23886 # output is simply discarded. So we exec the FD to /dev/null,
23887 # effectively closing config.log, so it can be properly (re)opened and
23888 # appended to by config.status. When coming back to configure, we
23889 # need to make the FD available again.
23890 if test "$no_create" != yes; then
23892 ac_config_status_args
=
23893 test "$silent" = yes &&
23894 ac_config_status_args
="$ac_config_status_args --quiet"
23896 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23898 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23899 # would make configure fail if this is the last instruction.
23900 $ac_cs_success ||
{ (exit 1); exit 1; }