2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file
="src/lisp.h"
274 ac_config_libobj_dir
=src
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB INSTALL_INFO EGREP LIBSOUND SET_MAKE PKG_CONFIG GTK_CFLAGS GTK_LIBS ALLOCA liblockfile LIBOBJS NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS version configuration canonical srcdir lispdir locallisppath lisppath x_default_search_path etcdir archlibdir docdir bitmapdir gamedir gameuser c_switch_system c_switch_machine LD_SWITCH_X_SITE LD_SWITCH_X_SITE_AUX C_SWITCH_X_SITE X_TOOLKIT_TYPE machfile opsysfile carbon_appdir LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --x-includes=DIR X include files are
in DIR
841 --x-libraries=DIR X library files are
in DIR
844 --build=BUILD configure
for building on BUILD
[guessed
]
845 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
849 if test -n "$ac_init_help"; then
854 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
855 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
856 --enable-carbon-app[=DIR
] [DIR
=/Application
]
857 specify
install directory
for Emacs.app on Mac OS X
858 --disable-largefile omit support
for large files
861 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
862 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
863 --without-gcc don
't use GCC to compile Emacs if GCC is found
864 --without-pop don't support POP
mail retrieval with movemail
865 --with-kerberos support Kerberos-authenticated POP
866 --with-kerberos5 support Kerberos version
5 authenticated POP
867 --with-hesiod support Hesiod to get the POP server
host
868 --without-sound don
't compile with sound support
869 --with-x-toolkit=KIT use an X toolkit
870 (KIT = yes/lucid/athena/motif/gtk/no)
871 --with-xpm use -lXpm for displaying XPM images
872 --with-jpeg use -ljpeg for displaying JPEG images
873 --with-tiff use -ltiff for displaying TIFF images
874 --with-gif use -lungif for displaying GIF images
875 --with-png use -lpng for displaying PNG images
876 --with-gtk use GTK (same as --with-x-toolkit=gtk)
877 --with-pkg-config-prog Path to pkg-config to use for finding GTK
878 --without-toolkit-scroll-bars
879 don't use Motif or Xaw3d scroll bars
880 --without-xim don
't use X11 XIM
881 --without-carbon don't use Carbon GUI on Mac OS X
882 --with-x use the X Window System
884 Some influential environment variables
:
885 CC C compiler
command
886 CFLAGS C compiler flags
887 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
888 nonstandard directory
<lib dir
>
889 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
890 headers
in a nonstandard directory
<include dir
>
893 Use these variables to override the choices made by
`configure' or to help
894 it to find libraries and programs with nonstandard names/locations.
899 if test "$ac_init_help" = "recursive"; then
900 # If there are subdirs, report their specific --help.
902 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
903 test -d $ac_dir || continue
906 if test "$ac_dir" != .; then
907 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
908 # A "../" for each directory in $ac_dir_suffix.
909 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
911 ac_dir_suffix= ac_top_builddir=
915 .) # No --srcdir option. We are building in place.
917 if test -z "$ac_top_builddir"; then
920 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
922 [\\/]* | ?:[\\/]* ) # Absolute path.
923 ac_srcdir=$srcdir$ac_dir_suffix;
924 ac_top_srcdir=$srcdir ;;
926 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
927 ac_top_srcdir=$ac_top_builddir$srcdir ;;
929 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
931 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
932 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
933 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
934 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
937 # Check for guested configure; otherwise get Cygnus style configure.
938 if test -f $ac_srcdir/configure.gnu; then
940 $SHELL $ac_srcdir/configure.gnu --help=recursive
941 elif test -f $ac_srcdir/configure; then
943 $SHELL $ac_srcdir/configure --help=recursive
944 elif test -f $ac_srcdir/configure.ac ||
945 test -f $ac_srcdir/configure.in; then
949 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
955 test -n "$ac_init_help" && exit 0
956 if $ac_init_version; then
959 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
960 Free Software Foundation, Inc.
961 This configure script is free software; the Free Software Foundation
962 gives unlimited permission to copy, distribute and modify it.
968 This file contains any messages produced by compilers while
969 running configure, to aid debugging if configure makes a mistake.
971 It was created by $as_me, which was
972 generated by GNU Autoconf 2.57. Invocation command line was
983 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
984 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
985 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
986 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
987 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
989 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
990 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
992 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
993 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
994 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
995 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
996 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
997 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
998 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1006 test -z "$as_dir" && as_dir=.
1007 echo "PATH: $as_dir"
1022 # Keep a trace of the command line.
1023 # Strip out --no-create and --no-recursion so they do not pile up.
1024 # Strip out --silent because we don't want to record it for future runs.
1025 # Also quote any args containing shell meta-characters.
1026 # Make two passes to allow for proper duplicate-argument suppression.
1031 ac_must_keep_next=false
1037 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1039 | -silent | --silent | --silen | --sile | --sil)
1041 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1042 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1045 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1047 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1048 if test $ac_must_keep_next = true; then
1049 ac_must_keep_next=false # Got value, back to normal.
1052 *=* | --config-cache | -C | -disable-* | --disable-* \
1053 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1054 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1055 | -with-* | --with-* | -without-* | --without-* | --x)
1056 case "$ac_configure_args0 " in
1057 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1060 -* ) ac_must_keep_next=true ;;
1063 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1064 # Get rid of the leading space.
1070 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1071 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1073 # When interrupted or exit'd, cleanup temporary files, and complete
1074 # config.log. We remove comments because anyway the quotes in there
1075 # would cause problems or look ugly.
1076 # WARNING: Be sure not to use single quotes in there, as some shells,
1077 # such as our DU 5.0 friend, will then `close
' the trap.
1078 trap 'exit_status
=$?
1079 # Save into config.log some information that might help in debugging.
1084 ## ---------------- ##
1085 ## Cache variables. ##
1086 ## ---------------- ##
1089 # The following way of writing the cache mishandles newlines in values,
1092 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1095 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1100 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1107 ## ----------------- ##
1108 ## Output variables. ##
1109 ## ----------------- ##
1112 for ac_var
in $ac_subst_vars
1114 eval ac_val
=$
`echo $ac_var`
1115 echo "$ac_var='"'"'$ac_val'"'"'"
1119 if test -n "$ac_subst_files"; then
1126 for ac_var
in $ac_subst_files
1128 eval ac_val
=$
`echo $ac_var`
1129 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -s confdefs.h
; then
1141 sed "/^$/d" confdefs.h |
sort
1144 test "$ac_signal" != 0 &&
1145 echo "$as_me: caught signal $ac_signal"
1146 echo "$as_me: exit $exit_status"
1148 rm -f core core.
* *.core
&&
1149 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1152 for ac_signal in 1 2 13 15; do
1153 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1157 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1158 rm -rf conftest* confdefs.h
1159 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1162 # Predefined preprocessor variables.
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_NAME "$PACKAGE_NAME"
1169 cat >>confdefs.h <<_ACEOF
1170 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_STRING "$PACKAGE_STRING"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1189 # Let the site file select an alternate cache file if it wants to.
1190 # Prefer explicitly selected file to automatically selected ones.
1191 if test -z "$CONFIG_SITE"; then
1192 if test "x$prefix" != xNONE; then
1193 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1195 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1198 for ac_site_file in $CONFIG_SITE; do
1199 if test -r "$ac_site_file"; then
1200 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1201 echo "$as_me: loading site script $ac_site_file" >&6;}
1202 sed 's
/^
/|
/' "$ac_site_file" >&5
1207 if test -r "$cache_file"; then
1208 # Some versions of bash will fail to source /dev/null (special
1209 # files actually), so we avoid doing that.
1210 if test -f "$cache_file"; then
1211 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1212 echo "$as_me: loading cache $cache_file" >&6;}
1214 [\\/]* | ?:[\\/]* ) . $cache_file;;
1215 *) . ./$cache_file;;
1219 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1220 echo "$as_me: creating cache $cache_file" >&6;}
1224 # Check that the precious variables saved in the cache have kept the same
1226 ac_cache_corrupted=false
1227 for ac_var in `(set) 2>&1 |
1228 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1229 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1230 eval ac_new_set=\$ac_env_${ac_var}_set
1231 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1232 eval ac_new_val="\$ac_env_${ac_var}_value"
1233 case $ac_old_set,$ac_new_set in
1235 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1236 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1237 ac_cache_corrupted=: ;;
1239 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1240 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1241 ac_cache_corrupted=: ;;
1244 if test "x$ac_old_val" != "x$ac_new_val"; then
1245 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1246 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1247 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1248 echo "$as_me: former value: $ac_old_val" >&2;}
1249 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1250 echo "$as_me: current value: $ac_new_val" >&2;}
1251 ac_cache_corrupted=:
1254 # Pass precious variables to config.status.
1255 if test "$ac_new_set" = set; then
1257 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1258 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1259 *) ac_arg=$ac_var=$ac_new_val ;;
1261 case " $ac_configure_args " in
1262 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1263 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1267 if $ac_cache_corrupted; then
1268 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1269 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1270 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1271 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1272 { (exit 1); exit 1; }; }
1276 ac_cpp='$CPP $CPPFLAGS'
1277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1278 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1299 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
1302 test "$program_prefix" != NONE &&
1303 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1304 # Use a double $ so make ignores it.
1305 test "$program_suffix" != NONE &&
1306 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1307 # Double any \ or $. echo might interpret backslashes.
1308 # By default was `s,x,x', remove it
if useless.
1309 cat <<\_ACEOF
>conftest.
sed
1310 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1312 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1316 lispdir
='${datadir}/emacs/${version}/lisp'
1317 locallisppath
='${datadir}/emacs/${version}/site-lisp:'\
1318 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
1319 lisppath
='${locallisppath}:${lispdir}'
1320 etcdir
='${datadir}/emacs/${version}/etc'
1321 archlibdir
='${libexecdir}/emacs/${version}/${configuration}'
1322 docdir
='${datadir}/emacs/${version}/etc'
1323 gamedir
='${localstatedir}/games/emacs'
1328 # Check whether --with-gcc or --without-gcc was given.
1329 if test "${with_gcc+set}" = set; then
1334 # Check whether --with-pop or --without-pop was given.
1335 if test "${with_pop+set}" = set; then
1337 if test "$withval" = yes; then
1338 cat >>confdefs.h
<<\_ACEOF
1339 #define MAIL_USE_POP 1
1345 cat >>confdefs.h
<<\_ACEOF
1346 #define MAIL_USE_POP 1
1352 # Check whether --with-kerberos or --without-kerberos was given.
1353 if test "${with_kerberos+set}" = set; then
1354 withval
="$with_kerberos"
1355 cat >>confdefs.h
<<\_ACEOF
1362 # Check whether --with-kerberos5 or --without-kerberos5 was given.
1363 if test "${with_kerberos5+set}" = set; then
1364 withval
="$with_kerberos5"
1365 if test "${with_kerberos5+set}" = set; then
1366 if test "${with_kerberos+set}" != set; then
1368 cat >>confdefs.h
<<\_ACEOF
1375 cat >>confdefs.h
<<\_ACEOF
1381 # Check whether --with-hesiod or --without-hesiod was given.
1382 if test "${with_hesiod+set}" = set; then
1383 withval
="$with_hesiod"
1385 cat >>confdefs.h
<<\_ACEOF
1392 # Check whether --with-sound or --without-sound was given.
1393 if test "${with_sound+set}" = set; then
1394 withval
="$with_sound"
1399 # Check whether --with-x-toolkit or --without-x-toolkit was given.
1400 if test "${with_x_toolkit+set}" = set; then
1401 withval
="$with_x_toolkit"
1402 case "${withval}" in
1403 y | ye |
yes ) val
=athena
;;
1405 l | lu | luc | luci | lucid
) val
=lucid
;;
1406 a |
at | ath | athe | athen | athena
) val
=athena
;;
1407 m | mo | mot | moti | motif
) val
=motif
;;
1408 g | gt | gtk
) val
=gtk
;;
1410 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\;
1411 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1412 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
1413 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
1414 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1415 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;}
1416 { (exit 1); exit 1; }; }
1423 # Check whether --with-xpm or --without-xpm was given.
1424 if test "${with_xpm+set}" = set; then
1429 # Check whether --with-jpeg or --without-jpeg was given.
1430 if test "${with_jpeg+set}" = set; then
1431 withval
="$with_jpeg"
1435 # Check whether --with-tiff or --without-tiff was given.
1436 if test "${with_tiff+set}" = set; then
1437 withval
="$with_tiff"
1441 # Check whether --with-gif or --without-gif was given.
1442 if test "${with_gif+set}" = set; then
1447 # Check whether --with-png or --without-png was given.
1448 if test "${with_png+set}" = set; then
1453 # Check whether --with-gtk or --without-gtk was given.
1454 if test "${with_gtk+set}" = set; then
1459 # Check whether --with-pkg-config-prog or --without-pkg-config-prog was given.
1460 if test "${with_pkg_config_prog+set}" = set; then
1461 withval
="$with_pkg_config_prog"
1465 # Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given.
1466 if test "${with_toolkit_scroll_bars+set}" = set; then
1467 withval
="$with_toolkit_scroll_bars"
1471 # Check whether --with-xim or --without-xim was given.
1472 if test "${with_xim+set}" = set; then
1477 # Check whether --with-carbon or --without-carbon was given.
1478 if test "${with_carbon+set}" = set; then
1479 withval
="$with_carbon"
1482 # Check whether --enable-carbon-app or --disable-carbon-app was given.
1483 if test "${enable_carbon_app+set}" = set; then
1484 enableval
="$enable_carbon_app"
1485 carbon_appdir_x
=${enableval}
1488 #### Make srcdir absolute, if it isn't already. It's important to
1489 #### avoid running the path through pwd unnecessarily, since pwd can
1490 #### give you automounter prefixes, which can go away. We do all this
1491 #### so Emacs can find its files when run uninstalled.
1492 ## Make sure CDPATH doesn't affect cd (in case PWD is relative).
1497 ## We may be able to use the $PWD environment variable to make this
1498 ## absolute. But sometimes PWD is inaccurate.
1499 ## Note: we used to use ${PWD} at the end instead of `pwd`,
1500 ## but that tested only for a well-formed and valid PWD,
1501 ## it did not object when PWD was well-formed and valid but just wrong.
1502 if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".`pwd`" ;
1506 srcdir
="`(cd ${srcdir}; pwd)`"
1509 * ) srcdir
="`(cd ${srcdir}; pwd)`" ;;
1512 #### Check if the source directory already has a configured system in it.
1513 if test `pwd` != `(cd ${srcdir} && pwd)` \
1514 && test -f "${srcdir}/src/config.h" ; then
1515 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
1516 as a build directory right now; it has been configured in its own
1517 right. To configure in another directory as well, you MUST
1518 use GNU make. If you do not have GNU make, then you must
1519 now do \`make distclean' in ${srcdir},
1520 and then run $0 again." >&5
1521 echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used
1522 as a build directory right now; it has been configured in its own
1523 right. To configure in another directory as well, you MUST
1524 use GNU make. If you do not have GNU make, then you must
1525 now do \`make distclean' in ${srcdir},
1526 and then run $0 again." >&2;}
1528 extrasub
='/^VPATH[ ]*=/c\
1529 vpath %.c $(srcdir)\
1530 vpath %.h $(srcdir)\
1531 vpath %.y $(srcdir)\
1532 vpath %.l $(srcdir)\
1533 vpath %.s $(srcdir)\
1534 vpath %.in $(srcdir)\
1535 vpath %.texi $(srcdir)'
1538 #### Given the configuration name, set machfile and opsysfile to the
1539 #### names of the m/*.h and s/*.h files we should use.
1541 ### Canonicalize the configuration name.
1544 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1545 if test -f $ac_dir/install-sh
; then
1547 ac_install_sh
="$ac_aux_dir/install-sh -c"
1549 elif test -f $ac_dir/install.sh
; then
1551 ac_install_sh
="$ac_aux_dir/install.sh -c"
1553 elif test -f $ac_dir/shtool
; then
1555 ac_install_sh
="$ac_aux_dir/shtool install -c"
1559 if test -z "$ac_aux_dir"; then
1560 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1561 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1562 { (exit 1); exit 1; }; }
1564 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1565 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1566 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1568 # Make sure we can run config.sub.
1569 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1570 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1571 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1572 { (exit 1); exit 1; }; }
1574 echo "$as_me:$LINENO: checking build system type" >&5
1575 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1576 if test "${ac_cv_build+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 ac_cv_build_alias
=$build_alias
1580 test -z "$ac_cv_build_alias" &&
1581 ac_cv_build_alias
=`$ac_config_guess`
1582 test -z "$ac_cv_build_alias" &&
1583 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1584 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1585 { (exit 1); exit 1; }; }
1586 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1587 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1588 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1589 { (exit 1); exit 1; }; }
1592 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1593 echo "${ECHO_T}$ac_cv_build" >&6
1595 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1596 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1597 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1600 echo "$as_me:$LINENO: checking host system type" >&5
1601 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1602 if test "${ac_cv_host+set}" = set; then
1603 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 ac_cv_host_alias
=$host_alias
1606 test -z "$ac_cv_host_alias" &&
1607 ac_cv_host_alias
=$ac_cv_build_alias
1608 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1609 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1610 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1611 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1615 echo "${ECHO_T}$ac_cv_host" >&6
1617 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1618 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1619 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1623 configuration
=${host_alias-$host}
1627 ### If you add support for a new configuration, add code to this
1628 ### switch statement to recognize your configuration name and select
1629 ### the appropriate operating system and machine description files.
1631 ### You would hope that you could choose an m/*.h file pretty much
1632 ### based on the machine portion of the configuration name, and an s-
1633 ### file based on the operating system portion. However, it turns out
1634 ### that each m/*.h file is pretty manufacturer-specific - for
1635 ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are
1636 ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS
1637 ### machines. So we basically have to have a special case for each
1638 ### configuration name.
1640 ### As far as handling version numbers on operating systems is
1641 ### concerned, make sure things will fail in a fixable way. If
1642 ### /etc/MACHINES doesn't say anything about version numbers, be
1643 ### prepared to handle anything reasonably. If version numbers
1644 ### matter, be sure /etc/MACHINES says something about it.
1646 ### Eric Raymond says we should accept strings like "sysvr4" to mean
1647 ### "System V Release 4"; he writes, "The old convention encouraged
1648 ### confusion between `system' and `release' levels'."
1650 machine
='' opsys
='' unported
=no
1651 case "${canonical}" in
1656 case "${canonical}" in
1657 alpha
*-*-freebsd*) machine
=alpha
;;
1658 i
[3456]86-*-freebsd*) machine
=intel386
;;
1665 case "${canonical}" in
1666 alpha
*-*-netbsd*) machine
=alpha
;;
1667 i
[3456]86-*-netbsd*) machine
=intel386
;;
1669 # This is somewhat bogus.
1670 machine
=hp9000s300
;;
1671 powerpc-apple-netbsd
*) machine
=macppc
;;
1672 mips-
*-netbsd*) machine
=pmax
;;
1673 mipsel-
*-netbsd*) machine
=pmax
;;
1674 mipseb-
*-netbsd*) machine
=pmax
;;
1675 ns32k-
*-netbsd*) machine
=ns32000
;;
1676 powerpc-
*-netbsd*) machine
=macppc
;;
1677 sparc
*-*-netbsd*) machine
=sparc
;;
1678 vax-
*-netbsd*) machine
=vax
;;
1679 arm-
*-netbsd*) machine
=arm
;;
1686 case "${canonical}" in
1687 alpha
*-*-openbsd*) machine
=alpha
;;
1688 i386-
*-openbsd*) machine
=intel386
;;
1689 m68k-
*-openbsd*) machine
=hp9000s300
;;
1690 mipsel-
*-openbsd*) machine
=pmax
;;
1691 ns32k-
*-openbsd*) machine
=ns32000
;;
1692 sparc-
*-openbsd*) machine
=sparc
;;
1693 vax-
*-openbsd*) machine
=vax
;;
1698 arm-acorn-riscix1.1
* )
1699 machine
=acorn opsys
=riscix1-1
1701 arm-acorn-riscix1.2
* | arm-acorn-riscix
)
1702 ## This name is riscix12 instead of riscix1.2
1703 ## to avoid a file name conflict on MSDOS.
1704 machine
=acorn opsys
=riscix12
1710 case "${canonical}" in
1711 i
[345]86-*-bsdi*) machine
=intel386
;;
1712 sparc-
*-bsdi*) machine
=sparc
;;
1713 powerpc-
*-bsdi*) machine
=macppc
;;
1715 case "${canonical}" in
1716 *-*-bsd386* |
*-*-bsdi1* ) opsys
=bsd386
;;
1717 *-*-bsdi2.0
* ) opsys
=bsdos2
;;
1718 *-*-bsdi2* ) opsys
=bsdos2-1
;;
1719 *-*-bsdi3* ) opsys
=bsdos3
;;
1720 *-*-bsdi[45]* ) opsys
=bsdos4
;;
1725 ## Strictly speaking, we need the version of the alliant operating
1726 ## system to choose the right machine file, but currently the
1727 ## configuration name doesn't tell us enough to choose the right
1728 ## one; we need to give alliants their own operating system name to
1729 ## do this right. When someone cares, they can help us.
1731 machine
=alliant4 opsys
=bsd4-2
1734 machine
=alliant-2800 opsys
=bsd4-3
1737 ## Alpha (DEC) machines.
1739 machine
=alpha opsys
=osf1
1740 # This is needed to find X11R6.1 libraries for certain tests.
1741 NON_GCC_LINK_TEST_OPTIONS
=-Wl,-rpath,/usr
/X11R
6/lib
1742 GCC_LINK_TEST_OPTIONS
=-Wl,-rpath,/usr
/X11R
6/lib
1743 # NON_GNU_CPP is necessary on 5.0 to avoid mangling src/Makefile
1744 # due to non-traditional preprocessing with the current compiler
1745 # defaults. OSF 4 can also have that compiler version, and there
1746 # seems always to have been a usable /usr/bin/cpp.
1747 NON_GNU_CPP
=/usr
/bin
/cpp
1748 case "${canonical}" in
1749 alpha
*-dec-osf[5-9]*)
1754 alpha
*-*-linux-gnu* )
1755 machine
=alpha opsys
=gnu-linux
1759 machine
=arm opsys
=gnu-linux
1764 machine
=macppc opsys
=gnu-linux
1769 machine
=altos opsys
=usg5-2
1774 machine
=amdahl opsys
=usg5-2-2
1777 ## Apollo, Domain/OS
1779 machine
=apollo opsys
=bsd4-3
1782 ## AT&T 3b2, 3b5, 3b15, 3b20
1784 machine
=att3b opsys
=usg5-2-2
1787 ## AT&T 3b1 - The Mighty Unix PC!
1789 machine
=7300 opsys
=usg5-2-2
1794 machine
=ibmrs6000 opsys
=aix3-2
1799 machine
=dpx2 opsys
=usg5-3
1804 machine
=sps7 opsys
=usg5-2
1807 ## CCI 5/32, 6/32 -- see "Tahoe".
1810 ## I don't know what configuration name to use for this; config.sub
1811 ## doesn't seem to know anything about it. Hey, Celerity users, get
1812 ## in touch with us!
1813 celerity-celerity-bsd
* )
1814 machine
=celerity opsys
=bsd4-2
1818 ## What operating systems does this chip run that Emacs has been
1822 ## We'll use the catch-all code at the bottom to guess the
1823 ## operating system.
1827 mips-compaq-nonstopux
* )
1828 machine
=nonstopux opsys
=nonstopux
1832 *-convex-bsd* |
*-convex-convexos* )
1833 machine
=convex opsys
=bsd4-3
1834 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov
1835 NON_GNU_CPP
="cc -E -P"
1839 i
[3456]86-cubix-sysv* )
1840 machine
=intel386 opsys
=usg5-3
1844 cydra
*-cydrome-sysv* )
1845 machine
=cydra5 opsys
=usg5-3
1848 ## Data General AViiON Machines
1849 ## DG changed naming conventions with the release of 5.4.4.10, they
1850 ## dropped the initial 5.4 but left the intervening R. Because of the
1851 ## R this shouldn't conflict with older versions of the OS (which I
1852 ## think were named like dgux4.*). In addition, DG new AViiONs series
1853 ## uses either Motorola M88k or Intel Pentium CPUs.
1854 m88k-dg-dguxR4.
* | m88k-dg-dgux4
* )
1855 machine
=aviion opsys
=dgux4
1857 m88k-dg-dgux5.4R3
* | m88k-dg-dgux5.4
.3* )
1858 ## This name is dgux5-4-3 instead of dgux5-4r3
1859 ## to avoid a file name conflict on MSDOS.
1860 machine
=aviion opsys
=dgux5-4-3
1862 m88k-dg-dgux5.4R2
* | m88k-dg-dgux5.4
.2* )
1863 machine
=aviion opsys
=dgux5-4r2
1866 machine
=aviion opsys
=dgux
1869 ## Data General AViiON Intel (x86) Machines
1870 ## Exists from 5.4.3 (current i586-dg-dguxR4.11)
1871 ## Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il
1872 i
[345]86-dg-dguxR4* )
1873 machine
=aviion-intel opsys
=dgux4
1877 mips-dec-ultrix
[0-3].
* | mips-dec-ultrix4.0
* | mips-dec-bsd4.2
* )
1878 machine
=pmax opsys
=bsd4-2
1880 mips-dec-ultrix4.
[12]* | mips-dec-bsd
* )
1881 machine
=pmax opsys
=bsd4-3
1884 machine
=pmax opsys
=ultrix4-3
1887 machine
=pmax opsys
=osf1
1889 mips-dec-mach_bsd4.3
* )
1890 machine
=pmax opsys
=mach-bsd4-3
1893 ## Motorola Delta machines
1894 m68k-motorola-sysv
* | m68000-motorola-sysv
* )
1895 machine
=delta opsys
=usg5-3
1896 if test -z "`type gnucc | grep 'not found'`"
1898 if test -s /etc
/167config
1899 then CC
="gnucc -m68040"
1900 else CC
="gnucc -m68881"
1903 if test -z "`type gcc | grep 'not found'`"
1909 m88k-motorola-sysv4
* )
1910 # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110
1911 # needs POSIX_SIGNALS and therefore needs usg5-4-2.
1912 # I hope there are not other 4.0 versions for this machine
1913 # which really need usg5-4 instead.
1914 machine
=delta88k opsys
=usg5-4-2
1916 m88k-motorola-sysv
* | m88k-motorola-m88kbcs
* )
1917 machine
=delta88k opsys
=usg5-3
1922 machine
=dual opsys
=usg5-2
1924 m68
*-dual-uniplus* )
1925 machine
=dual opsys
=unipl5-2
1930 machine
=elxsi opsys
=usg5-2
1935 machine
=ns16000 opsys
=umax
1938 ## The GEC 63 - apparently, this port isn't really finished yet.
1939 # I'm sure we finished off the last of the machines, though. -- fx
1941 ## Gould Power Node and NP1
1943 machine
=gould opsys
=bsd4-2
1946 machine
=gould opsys
=bsd4-3
1949 machine
=gould-np1 opsys
=bsd4-3
1952 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000
1953 ## as far as Emacs is concerned).
1955 # Build needs to be different on 7.0 and later releases
1956 case "`uname -r`" in
1957 [56].
[0-9] ) machine
=nh4000 opsys
=cxux
;;
1958 [7].
[0-9] ) machine
=nh4000 opsys
=cxux7
;;
1960 NON_GNU_CPP
="/lib/cpp"
1962 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000)
1964 machine
=nh3000 opsys
=cxux
1966 ## Harris power pc NightHawk running Power UNIX (Series 6000)
1967 powerpc-harris-powerunix
)
1968 machine
=nh6000 opsys
=powerunix
1969 NON_GNU_CPP
="cc -Xo -E -P"
1971 ## SR2001/SR2201 running HI-UX/MPP
1972 hppa1.1
-hitachi-hiuxmpp* )
1973 machine
=sr2k opsys
=hiuxmpp
1975 hppa1.1
-hitachi-hiuxwe2* )
1976 machine
=sr2k opsys
=hiuxwe2
1979 xps
*-honeywell-sysv* )
1980 machine
=xps100 opsys
=usg5-2
1983 ## HP 9000 series 200 or 300
1985 machine
=hp9000s300 opsys
=bsd4-3
1987 ## HP/UX 7, 8, 9, and 10 are supported on these machines.
1989 case "`uname -r`" in
1990 ## Someone's system reports A.B8.05 for this.
1991 ## I wonder what other possibilities there are.
1992 *.B8.
* ) machine
=hp9000s300 opsys
=hpux8
;;
1993 *.08.
* ) machine
=hp9000s300 opsys
=hpux8
;;
1994 *.09.
* ) machine
=hp9000s300 opsys
=hpux9
;;
1995 *.1[0-9].
* ) machine
=hp9000s300 opsys
=hpux9shr
;;
1996 *) machine
=hp9000s300 opsys
=hpux
;;
2000 ## HP 9000 series 700 and 800, running HP/UX
2002 machine
=hp800 opsys
=hpux
2005 machine
=hp800 opsys
=hpux8
2007 hppa
*-hp-hpux9shr* )
2008 machine
=hp800 opsys
=hpux9shr
2011 machine
=hp800 opsys
=hpux9
2014 machine
=hp800 opsys
=hpux10
2016 hppa
*-hp-hpux1[1-9]* )
2017 machine
=hp800 opsys
=hpux11
2020 hppa
*-*-linux-gnu* )
2021 machine
=hp800 opsys
=gnu-linux
2024 ## HP 9000 series 700 and 800, running HP/UX
2026 ## Cross-compilation? Nah!
2027 case "`uname -r`" in
2028 ## Someone's system reports A.B8.05 for this.
2029 ## I wonder what other possibilities there are.
2030 *.B8.
* ) machine
=hp800 opsys
=hpux8
;;
2031 *.08.
* ) machine
=hp800 opsys
=hpux8
;;
2032 *.09.
* ) machine
=hp800 opsys
=hpux9
;;
2033 *) machine
=hp800 opsys
=hpux10
;;
2037 machine
=hp800 opsys
=nextstep
2042 machine
=orion opsys
=bsd4-2
2044 clipper-orion-bsd
* )
2045 machine
=orion105 opsys
=bsd4-2
2049 i
[3456]86-ibm-aix1.1
* )
2050 machine
=ibmps2-aix opsys
=usg5-2-2
2052 i
[3456]86-ibm-aix1.
[23]* | i
[3456]86-ibm-aix* )
2053 machine
=ibmps2-aix opsys
=usg5-3
2056 machine
=ibm370aix opsys
=usg5-3
2059 machine
=ibms390 opsys
=gnu-linux
2061 rs6000-ibm-aix3.1
* | powerpc-ibm-aix3.1
* )
2062 machine
=ibmrs6000 opsys
=aix3-1
2064 rs6000-ibm-aix3.2
.5 | powerpc-ibm-aix3.2
.5 )
2065 machine
=ibmrs6000 opsys
=aix3-2-5
2067 rs6000-ibm-aix4.1
* | powerpc-ibm-aix4.1
* )
2068 machine
=ibmrs6000 opsys
=aix4-1
2070 rs6000-ibm-aix4.2
* | powerpc-ibm-aix4.2
* )
2071 machine
=ibmrs6000 opsys
=aix4-2
2073 rs6000-ibm-aix5.1
* | powerpc-ibm-aix5.1
* )
2074 machine
=ibmrs6000 opsys
=aix4-2
2076 rs6000-ibm-aix4.0
* | powerpc-ibm-aix4.0
* )
2077 machine
=ibmrs6000 opsys
=aix4
2079 rs6000-ibm-aix4
* | powerpc-ibm-aix4
* )
2080 machine
=ibmrs6000 opsys
=aix4-1
2082 rs6000-ibm-aix
* | powerpc-ibm-aix
* )
2083 machine
=ibmrs6000 opsys
=aix3-2
2086 machine
=ibmrt opsys
=bsd4-3
2089 machine
=ibmrt opsys
=bsd4-2
2092 machine
=ibmrt opsys
=bsd4-3
2095 machine
=ibmrt opsys
=bsd4-2
2098 machine
=ibmrt opsys
=bsd4-3
2101 machine
=ibmrt opsys
=bsd4-3
2104 machine
=ibmrt-aix opsys
=usg5-2-2
2107 ## Integrated Solutions `Optimum V'
2109 machine
=isi-ov opsys
=bsd4-2
2112 machine
=isi-ov opsys
=bsd4-3
2115 ## Intel 386 machines where we do care about the manufacturer
2116 i
[3456]86-intsys-sysv* )
2117 machine
=is386 opsys
=usg5-2-2
2121 i
[3456]86-prime-sysv* )
2122 machine
=i386 opsys
=usg5-3
2125 ## Sequent Symmetry running Dynix
2126 i
[3456]86-sequent-bsd* )
2127 machine
=symmetry opsys
=bsd4-3
2130 ## Sequent Symmetry running ptx 4, which is a modified SVR4.
2131 i
[3456]86-sequent-ptx4* | i
[3456]86-sequent-sysv4* )
2132 machine
=sequent-ptx opsys
=ptx4
2133 NON_GNU_CPP
=/lib
/cpp
2136 ## Sequent Symmetry running DYNIX/ptx
2137 ## Use the old cpp rather than the newer ANSI one.
2138 i
[3456]86-sequent-ptx* )
2139 machine
=sequent-ptx opsys
=ptx
2140 NON_GNU_CPP
="/lib/cpp"
2143 ## ncr machine running svr4.3.
2144 i
[3456]86-ncr-sysv4.3
)
2145 machine
=ncr386 opsys
=usg5-4-3
2148 ## Unspecified sysv on an ncr machine defaults to svr4.2.
2149 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.)
2150 i
[3456]86-ncr-sysv* )
2151 machine
=ncr386 opsys
=usg5-4-2
2154 ## Intel Paragon OSF/1
2156 machine
=paragon opsys
=osf1 NON_GNU_CPP
=/usr
/mach
/lib
/cpp
2161 machine
=i860 opsys
=usg5-4
2162 NON_GNU_CC
="/bin/cc" # Ie, not the one in /usr/ucb/cc.
2163 NON_GNU_CPP
="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion.
2166 ## Macintosh PowerPC
2167 powerpc
*-*-linux-gnu* )
2168 machine
=macppc opsys
=gnu-linux
2171 ## Masscomp machines
2172 m68
*-masscomp-rtu* )
2173 machine
=masscomp opsys
=rtu
2176 ## Megatest machines
2177 m68
*-megatest-bsd* )
2178 machine
=mega68 opsys
=bsd4-2
2181 ## Workstations sold by MIPS
2182 ## This is not necessarily all workstations using the MIPS processor -
2183 ## Irises are produced by SGI, and DECstations by DEC.
2185 ## etc/MACHINES lists mips.h and mips4.h as possible machine files,
2186 ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance
2187 ## it gives for choosing between the alternatives seems to be "Use
2188 ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with
2189 ## the BSD world." I'll assume that these are instructions for
2190 ## handling two odd situations, and that every other situation
2191 ## should use mips.h and usg5-2-2, they being listed first.
2194 ## Fall through to the general code at the bottom to decide on the OS.
2196 mips-mips-riscos4
* )
2197 machine
=mips4 opsys
=bsd4-3
2198 NON_GNU_CC
="cc -systype bsd43"
2199 NON_GNU_CPP
="cc -systype bsd43 -E"
2201 mips-mips-riscos5
* )
2202 machine
=mips4 opsys
=riscos5
2203 NON_GNU_CC
="cc -systype bsd43"
2204 NON_GNU_CPP
="cc -systype bsd43 -E"
2207 machine
=mips opsys
=bsd4-3
2210 machine
=mips opsys
=usg5-2-2
2214 m68
*-next-* | m68k-
*-nextstep* )
2215 machine
=m68k opsys
=nextstep
2218 ## The complete machine from National Semiconductor
2220 machine
=ns32000 opsys
=usg5-2
2224 m68
*-ncr-sysv2* | m68
*-ncr-sysvr2* )
2225 machine
=tower32 opsys
=usg5-2-2
2227 m68
*-ncr-sysv3* | m68
*-ncr-sysvr3* )
2228 machine
=tower32v3 opsys
=usg5-3
2233 machine
=ews4800 opsys
=ux4800
2236 ## Nixdorf Targon 31
2237 m68
*-nixdorf-sysv* )
2238 machine
=targon31 opsys
=usg5-2-2
2243 machine
=nu opsys
=usg5-2
2248 machine
=plexus opsys
=usg5-2
2252 ## I don't really have any idea what sort of processor the Pyramid has,
2253 ## so I'm assuming it is its own architecture.
2254 pyramid-pyramid-bsd
* )
2255 machine
=pyramid opsys
=bsd4-2
2259 ns32k-sequent-bsd4.2
* )
2260 machine
=sequent opsys
=bsd4-2
2262 ns32k-sequent-bsd4.3
* )
2263 machine
=sequent opsys
=bsd4-3
2267 mips-siemens-sysv
* | mips-sni-sysv
*)
2268 machine
=mips-siemens opsys
=usg5-4
2269 NON_GNU_CC
=/usr
/ccs
/bin
/cc
2270 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2273 ## Silicon Graphics machines
2274 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
2276 machine
=irist opsys
=iris3-5
2278 m68
*-sgi-iris3.6
* | m68
*-sgi-iris*)
2279 machine
=irist opsys
=iris3-6
2283 machine
=iris4d opsys
=irix3-3
2286 machine
=iris4d opsys
=irix4-0
2289 machine
=iris4d opsys
=irix6-5
2290 # Without defining _LANGUAGE_C, things get masked out in the headers
2291 # so that, for instance, grepping for `free' in stdlib.h fails and
2292 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m).
2293 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2294 NON_GCC_TEST_OPTIONS
="-D_LANGUAGE_C"
2297 machine
=iris4d opsys
=irix6-0
2298 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5,
2299 # but presumably it does no harm.
2300 NON_GNU_CPP
="/lib/cpp -D_LANGUAGE_C"
2301 # -32 probably isn't necessary in later v.6s -- anyone know which?
2302 NON_GCC_TEST_OPTIONS
=-32
2304 mips-sgi-irix5.
[01]* )
2305 machine
=iris4d opsys
=irix5-0
2307 mips-sgi-irix5
* | mips-sgi-irix
* )
2308 machine
=iris4d opsys
=irix5-2
2313 machine
=news opsys
=bsd4-2
2316 machine
=news opsys
=bsd4-3
2318 m68
*-sony-newsos3* | m68
*-sony-news3*)
2319 machine
=news opsys
=bsd4-3
2321 mips-sony-bsd
* | mips-sony-newsos4
* | mips-sony-news4
*)
2322 machine
=news-risc opsys
=bsd4-3
2324 mips-sony-newsos6
* )
2325 machine
=news-r6 opsys
=newsos6
2328 machine
=news-risc opsys
=newsos5
2333 machine
=stride opsys
=usg5-2
2337 sparc-
*-linux-gnu* | sparc64-
*-linux-gnu* )
2338 machine
=sparc opsys
=gnu-linux
2341 *-auspex-sunos* |
*-sun-sunos* |
*-sun-bsd* |
*-sun-solaris* \
2342 | i
[3456]86-*-solaris2* | i
[3456]86-*-sunos5* | powerpc
*-*-solaris2* \
2343 | rs6000-
*-solaris2*)
2344 case "${canonical}" in
2345 m68
*-sunos1* ) machine
=sun1
;;
2346 m68
*-sunos2* ) machine
=sun2
;;
2347 m68
* ) machine
=sun3
;;
2348 i
[3456]86-sun-sunos[34]* ) machine
=sun386
;;
2349 i
[3456]86-*-* ) machine
=intel386
;;
2350 powerpcle
* ) machine
=powerpcle
;;
2351 powerpc
* | rs6000
* ) machine
=ibmrs6000
;;
2352 sparc
* ) machine
=sparc
;;
2355 case "${canonical}" in
2356 ## The Sun386 didn't get past 4.0.
2357 i
[3456]86-*-sunos4 ) opsys
=sunos4-0
;;
2358 *-sunos4.0
* ) opsys
=sunos4-0
;;
2359 *-sunos4.1.
[3-9]*noshare
)
2360 ## This name is sunos413 instead of sunos4-1-3
2361 ## to avoid a file name conflict on MSDOS.
2363 NON_GNU_CPP
=/usr
/lib
/cpp
2364 NON_GCC_TEST_OPTIONS
=-Bstatic
2365 GCC_TEST_OPTIONS
=-static
2367 *-sunos4.1.
[3-9]* |
*-sunos4shr*)
2369 NON_GNU_CPP
=/usr
/lib
/cpp
2371 *-sunos4* |
*-sunos )
2373 NON_GCC_TEST_OPTIONS
=-Bstatic
2374 GCC_TEST_OPTIONS
=-static
2376 *-sunos5.3
* |
*-solaris2.3
* )
2378 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2380 *-sunos5.4
* |
*-solaris2.4
* )
2382 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2385 *-sunos5.5
* |
*-solaris2.5
* )
2387 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2390 *-sunos5.6
* |
*-solaris2.6
* )
2392 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2395 *-sunos5* |
*-solaris* )
2397 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2401 ## Watch out for a compiler that we know will not work.
2402 case "${canonical}" in
2403 *-solaris* |
*-sunos5* )
2404 if [ "x$CC" = x
/usr
/ucb
/cc
]; then
2405 ## /usr/ucb/cc doesn't work;
2406 ## we should find some other compiler that does work.
2414 machine
=sparc opsys
=nextstep
2418 m68
*-tadpole-sysv* )
2419 machine
=tad68k opsys
=usg5-3
2423 tahoe-tahoe-bsd4.2
* )
2424 machine
=tahoe opsys
=bsd4-2
2426 tahoe-tahoe-bsd4.3
* )
2427 machine
=tahoe opsys
=bsd4-3
2430 ## Tandem Integrity S2
2432 machine
=tandem-s2 opsys
=usg5-3
2436 m88k-tektronix-sysv3
* )
2437 machine
=tekxd88 opsys
=usg5-3
2440 ## Tektronix 16000 box (6130?)
2441 ns16k-tektronix-bsd
* )
2442 machine
=ns16000 opsys
=bsd4-2
2445 ## src/m/tek4300.h hints that this is a m68k machine.
2446 m68
*-tektronix-bsd* )
2447 machine
=tek4300 opsys
=bsd4-3
2451 ## We seem to have lost the machine-description file titan.h!
2453 machine
=titan opsys
=usg5-3
2456 ## Ustation E30 (SS5E)
2457 m68
*-unisys-uniplus* )
2458 machine
=ustation opsystem
=unipl5-2
2464 case "${canonical}" in
2465 *-bsd4.1
* ) opsys
=bsd4-1
;;
2466 *-bsd4.2
* |
*-ultrix[0-3].
* |
*-ultrix4.0
* ) opsys
=bsd4-2
;;
2467 *-bsd4.3
* |
*-ultrix* ) opsys
=bsd4-3
;;
2468 *-sysv[01]* |
*-sysvr[01]* ) opsys
=usg5-0
;;
2469 *-sysv2* |
*-sysvr2* ) opsys
=usg5-2
;;
2470 *-vms* ) opsys
=vms
;;
2476 ns16k-whitechapel-
* )
2478 ## We don't know what sort of OS runs on these; we'll let the
2479 ## operating system guessing code below try.
2484 machine
=wicat opsys
=usg5-2
2489 machine
=ia64 opsys
=gnu-linux
2492 ## Intel 386 machines where we don't care about the manufacturer
2495 case "${canonical}" in
2496 *-cygwin ) opsys
=cygwin
;;
2497 *-lynxos* ) opsys
=lynxos
;;
2498 *-isc1.
* |
*-isc2.
[01]* ) opsys
=386-ix ;;
2499 *-isc2.2
* ) opsys
=isc2-2
;;
2500 *-isc4.0
* ) opsys
=isc4-0
;;
2501 *-isc4.
* ) opsys
=isc4-1
2502 GCC_TEST_OPTIONS
=-posix
2503 NON_GCC_TEST_OPTIONS
=-Xp
2505 *-isc* ) opsys
=isc3-0
;;
2506 *-esix5* ) opsys
=esix5r4
; NON_GNU_CPP
=/usr
/lib
/cpp
;;
2507 *-esix* ) opsys
=esix
;;
2508 *-xenix* ) opsys
=xenix
;;
2509 *-linux-gnu* ) opsys
=gnu-linux
;;
2510 *-sco3.2v4
* ) opsys
=sco4
; NON_GNU_CPP
=/lib
/cpp
;;
2511 *-sco3.2v5
* ) opsys
=sco5
2512 NON_GNU_CPP
=/lib
/cpp
2513 # Prevent -belf from being passed to $CPP.
2514 # /lib/cpp does not accept it.
2515 OVERRIDE_CPPFLAGS
=" "
2517 *-sysv4.2uw
* ) opsys
=unixware
; NON_GNU_CPP
=/lib
/cpp
;;
2518 *-386bsd* ) opsys
=386bsd
;;
2519 *-nextstep* ) opsys
=nextstep
;;
2520 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
2524 ## m68k Linux-based GNU system
2526 machine
=m68k opsys
=gnu-linux
2529 ## Mips Linux-based GNU system
2530 mips-
*-linux-gnu* | mipsel-
*-linux-gnu* )
2531 machine
=mips opsys
=gnu-linux
2535 sparc-fujitsu-sysv4
* )
2536 machine
=sparc opsys
=uxpds
2537 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2542 f301-fujitsu-uxpv4.1
)
2543 machine
=f301 opsys
=uxpv
2546 ## Darwin / Mac OS X
2547 powerpc-apple-darwin
* )
2548 machine
=powermac opsys
=darwin
2549 # Define CPP as follows to make autoconf work correctly.
2550 CPP
="cc -E -traditional-cpp"
2553 ## AMD x86-64 Linux-based GNU system
2554 x86_64-
*-linux-gnu* )
2555 machine
=amdx86-64 opsys
=gnu-linux
2563 ### If the code above didn't choose an operating system, just choose
2564 ### an operating system based on the configuration name. You really
2565 ### only want to use this when you have no idea what the right
2566 ### operating system is; if you know what operating systems a machine
2567 ### runs, it's cleaner to make it explicit in the case statement
2569 if test x
"${opsys}" = x
; then
2570 case "${canonical}" in
2571 *-gnu* ) opsys
=gnu
;;
2572 *-bsd4.
[01] ) opsys
=bsd4-1
;;
2573 *-bsd4.2
) opsys
=bsd4-2
;;
2574 *-bsd4.3
) opsys
=bsd4-3
;;
2575 *-sysv0 |
*-sysvr0 ) opsys
=usg5-0
;;
2576 *-sysv2 |
*-sysvr2 ) opsys
=usg5-2
;;
2577 *-sysv2.2 |
*-sysvr2.2
) opsys
=usg5-2-2
;;
2578 *-sysv3* |
*-sysvr3* ) opsys
=usg5-3
;;
2579 *-sysv4.2uw
* ) opsys
=unixware
;;
2580 *-sysv4.1
* |
*-sysvr4.1
* )
2581 NON_GNU_CPP
=/usr
/lib
/cpp
2583 *-sysv4.
[2-9]* |
*-sysvr4.
[2-9]* )
2584 if [ x
$NON_GNU_CPP = x
]; then
2585 if [ -f /usr
/ccs
/lib
/cpp
]; then
2586 NON_GNU_CPP
=/usr
/ccs
/lib
/cpp
2588 NON_GNU_CPP
=/lib
/cpp
2592 *-sysv4* |
*-sysvr4* ) opsys
=usg5-4
;;
2601 if test $unported = yes; then
2602 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
2603 Check \`etc/MACHINES' for recognized configuration names." >&5
2604 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2605 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2606 { (exit 1); exit 1; }; }
2609 machfile
="m/${machine}.h"
2610 opsysfile
="s/${opsys}.h"
2613 #### Choose a compiler.
2614 test -n "$CC" && cc_specified
=yes
2616 # Save the value of CFLAGS that the user specified.
2617 SPECIFIED_CFLAGS
="$CFLAGS"
2620 "yes" ) CC
="gcc" GCC
=yes ;;
2621 "no" ) : ${CC=cc} ;;
2625 ac_cpp
='$CPP $CPPFLAGS'
2626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2629 if test -n "$ac_tool_prefix"; then
2630 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2631 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2632 echo "$as_me:$LINENO: checking for $ac_word" >&5
2633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2634 if test "${ac_cv_prog_CC+set}" = set; then
2635 echo $ECHO_N "(cached) $ECHO_C" >&6
2637 if test -n "$CC"; then
2638 ac_cv_prog_CC
="$CC" # Let the user override the test.
2640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir
=.
2645 for ac_exec_ext
in '' $ac_executable_extensions; do
2646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2647 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 if test -n "$CC"; then
2658 echo "$as_me:$LINENO: result: $CC" >&5
2659 echo "${ECHO_T}$CC" >&6
2661 echo "$as_me:$LINENO: result: no" >&5
2662 echo "${ECHO_T}no" >&6
2666 if test -z "$ac_cv_prog_CC"; then
2668 # Extract the first word of "gcc", so it can be a program name with args.
2669 set dummy gcc
; ac_word
=$2
2670 echo "$as_me:$LINENO: checking for $ac_word" >&5
2671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2672 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2673 echo $ECHO_N "(cached) $ECHO_C" >&6
2675 if test -n "$ac_ct_CC"; then
2676 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2682 test -z "$as_dir" && as_dir
=.
2683 for ac_exec_ext
in '' $ac_executable_extensions; do
2684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2685 ac_cv_prog_ac_ct_CC
="gcc"
2686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2695 if test -n "$ac_ct_CC"; then
2696 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2697 echo "${ECHO_T}$ac_ct_CC" >&6
2699 echo "$as_me:$LINENO: result: no" >&5
2700 echo "${ECHO_T}no" >&6
2708 if test -z "$CC"; then
2709 if test -n "$ac_tool_prefix"; then
2710 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2711 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2712 echo "$as_me:$LINENO: checking for $ac_word" >&5
2713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2714 if test "${ac_cv_prog_CC+set}" = set; then
2715 echo $ECHO_N "(cached) $ECHO_C" >&6
2717 if test -n "$CC"; then
2718 ac_cv_prog_CC
="$CC" # Let the user override the test.
2720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2724 test -z "$as_dir" && as_dir
=.
2725 for ac_exec_ext
in '' $ac_executable_extensions; do
2726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2727 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 if test -n "$CC"; then
2738 echo "$as_me:$LINENO: result: $CC" >&5
2739 echo "${ECHO_T}$CC" >&6
2741 echo "$as_me:$LINENO: result: no" >&5
2742 echo "${ECHO_T}no" >&6
2746 if test -z "$ac_cv_prog_CC"; then
2748 # Extract the first word of "cc", so it can be a program name with args.
2749 set dummy cc
; ac_word
=$2
2750 echo "$as_me:$LINENO: checking for $ac_word" >&5
2751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2753 echo $ECHO_N "(cached) $ECHO_C" >&6
2755 if test -n "$ac_ct_CC"; then
2756 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir
=.
2763 for ac_exec_ext
in '' $ac_executable_extensions; do
2764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2765 ac_cv_prog_ac_ct_CC
="cc"
2766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2774 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2775 if test -n "$ac_ct_CC"; then
2776 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2777 echo "${ECHO_T}$ac_ct_CC" >&6
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2789 if test -z "$CC"; then
2790 # Extract the first word of "cc", so it can be a program name with args.
2791 set dummy cc
; ac_word
=$2
2792 echo "$as_me:$LINENO: checking for $ac_word" >&5
2793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2794 if test "${ac_cv_prog_CC+set}" = set; then
2795 echo $ECHO_N "(cached) $ECHO_C" >&6
2797 if test -n "$CC"; then
2798 ac_cv_prog_CC
="$CC" # Let the user override the test.
2801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir
=.
2806 for ac_exec_ext
in '' $ac_executable_extensions; do
2807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2809 ac_prog_rejected
=yes
2813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 if test $ac_prog_rejected = yes; then
2820 # We found a bogon in the path, so make sure we never use it.
2821 set dummy
$ac_cv_prog_CC
2823 if test $# != 0; then
2824 # We chose a different compiler from the bogus one.
2825 # However, it has the same basename, so the bogon will be chosen
2826 # first if we set CC to just the basename; use the full file name.
2828 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2834 if test -n "$CC"; then
2835 echo "$as_me:$LINENO: result: $CC" >&5
2836 echo "${ECHO_T}$CC" >&6
2838 echo "$as_me:$LINENO: result: no" >&5
2839 echo "${ECHO_T}no" >&6
2843 if test -z "$CC"; then
2844 if test -n "$ac_tool_prefix"; then
2847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2848 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2849 echo "$as_me:$LINENO: checking for $ac_word" >&5
2850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2851 if test "${ac_cv_prog_CC+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 if test -n "$CC"; then
2855 ac_cv_prog_CC
="$CC" # Let the user override the test.
2857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2861 test -z "$as_dir" && as_dir
=.
2862 for ac_exec_ext
in '' $ac_executable_extensions; do
2863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2874 if test -n "$CC"; then
2875 echo "$as_me:$LINENO: result: $CC" >&5
2876 echo "${ECHO_T}$CC" >&6
2878 echo "$as_me:$LINENO: result: no" >&5
2879 echo "${ECHO_T}no" >&6
2882 test -n "$CC" && break
2885 if test -z "$CC"; then
2889 # Extract the first word of "$ac_prog", so it can be a program name with args.
2890 set dummy
$ac_prog; ac_word
=$2
2891 echo "$as_me:$LINENO: checking for $ac_word" >&5
2892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2893 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2896 if test -n "$ac_ct_CC"; then
2897 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir
=.
2904 for ac_exec_ext
in '' $ac_executable_extensions; do
2905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2906 ac_cv_prog_ac_ct_CC
="$ac_prog"
2907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2915 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2916 if test -n "$ac_ct_CC"; then
2917 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2918 echo "${ECHO_T}$ac_ct_CC" >&6
2920 echo "$as_me:$LINENO: result: no" >&5
2921 echo "${ECHO_T}no" >&6
2924 test -n "$ac_ct_CC" && break
2933 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2934 See \`config.log' for more details." >&5
2935 echo "$as_me: error: no acceptable C compiler found in \$PATH
2936 See \`config.log' for more details." >&2;}
2937 { (exit 1); exit 1; }; }
2939 # Provide some information about the compiler.
2940 echo "$as_me:$LINENO:" \
2941 "checking for C compiler version" >&5
2942 ac_compiler
=`set X $ac_compile; echo $2`
2943 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2944 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }
2948 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2949 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }
2953 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2954 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }
2959 cat >conftest.
$ac_ext <<_ACEOF
2960 #line $LINENO "configure"
2963 cat confdefs.h
>>conftest.
$ac_ext
2964 cat >>conftest.
$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2975 ac_clean_files_save
=$ac_clean_files
2976 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2977 # Try to create an executable without -o first, disregard a.out.
2978 # It will help us diagnose broken compilers, and finding out an intuition
2980 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2981 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2982 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2983 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2984 (eval $ac_link_default) 2>&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }; then
2988 # Find the output, starting from the most likely. This scheme is
2989 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2992 # Be careful to initialize this variable, since it used to be cached.
2993 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2995 # b.out is created by i960 compilers.
2996 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2998 test -f "$ac_file" ||
continue
3000 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3003 # This is the source file.
3006 # We found the default executable, but exeext='' is most
3010 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3011 # FIXME: I believe we export ac_cv_exeext for Libtool,
3012 # but it would be cool to find out if it's true. Does anybody
3013 # maintain Libtool? --akim.
3021 echo "$as_me: failed program was:" >&5
3022 sed 's/^/| /' conftest.
$ac_ext >&5
3024 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3025 See \`config.log' for more details." >&5
3026 echo "$as_me: error: C compiler cannot create executables
3027 See \`config.log' for more details." >&2;}
3028 { (exit 77); exit 77; }; }
3031 ac_exeext
=$ac_cv_exeext
3032 echo "$as_me:$LINENO: result: $ac_file" >&5
3033 echo "${ECHO_T}$ac_file" >&6
3035 # Check the compiler produces executables we can run. If not, either
3036 # the compiler is broken, or we cross compile.
3037 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3038 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3039 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3040 # If not cross compiling, check that we can run a simple program.
3041 if test "$cross_compiling" != yes; then
3042 if { ac_try
='./$ac_file'
3043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); }; }; then
3050 if test "$cross_compiling" = maybe
; then
3053 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3054 If you meant to cross compile, use \`--host'.
3055 See \`config.log' for more details." >&5
3056 echo "$as_me: error: cannot run C compiled programs.
3057 If you meant to cross compile, use \`--host'.
3058 See \`config.log' for more details." >&2;}
3059 { (exit 1); exit 1; }; }
3063 echo "$as_me:$LINENO: result: yes" >&5
3064 echo "${ECHO_T}yes" >&6
3066 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3067 ac_clean_files
=$ac_clean_files_save
3068 # Check the compiler produces executables we can run. If not, either
3069 # the compiler is broken, or we cross compile.
3070 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3071 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3072 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3073 echo "${ECHO_T}$cross_compiling" >&6
3075 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3076 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3078 (eval $ac_link) 2>&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; then
3082 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3083 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3084 # work properly (i.e., refer to `conftest.exe'), while it won't with
3086 for ac_file
in conftest.exe conftest conftest.
*; do
3087 test -f "$ac_file" ||
continue
3089 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3090 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3097 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3098 See \`config.log' for more details." >&5
3099 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3100 See \`config.log' for more details." >&2;}
3101 { (exit 1); exit 1; }; }
3104 rm -f conftest
$ac_cv_exeext
3105 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3106 echo "${ECHO_T}$ac_cv_exeext" >&6
3108 rm -f conftest.
$ac_ext
3109 EXEEXT
=$ac_cv_exeext
3111 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3112 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3113 if test "${ac_cv_objext+set}" = set; then
3114 echo $ECHO_N "(cached) $ECHO_C" >&6
3116 cat >conftest.
$ac_ext <<_ACEOF
3117 #line $LINENO "configure"
3120 cat confdefs.h
>>conftest.
$ac_ext
3121 cat >>conftest.
$ac_ext <<_ACEOF
3122 /* end confdefs.h. */
3132 rm -f conftest.o conftest.obj
3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3134 (eval $ac_compile) 2>&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); }; then
3138 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3140 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3141 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3146 echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.
$ac_ext >&5
3149 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3150 See \`config.log' for more details." >&5
3151 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3152 See \`config.log' for more details." >&2;}
3153 { (exit 1); exit 1; }; }
3156 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3158 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3159 echo "${ECHO_T}$ac_cv_objext" >&6
3160 OBJEXT
=$ac_cv_objext
3162 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3163 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3164 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3165 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 cat >conftest.
$ac_ext <<_ACEOF
3168 #line $LINENO "configure"
3171 cat confdefs.h
>>conftest.
$ac_ext
3172 cat >>conftest.
$ac_ext <<_ACEOF
3173 /* end confdefs.h. */
3186 rm -f conftest.
$ac_objext
3187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3188 (eval $ac_compile) 2>&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); } &&
3192 { ac_try
='test -s conftest.$ac_objext'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; }; then
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.
$ac_ext >&5
3205 rm -f conftest.
$ac_objext conftest.
$ac_ext
3206 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3209 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3210 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3211 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3212 ac_test_CFLAGS
=${CFLAGS+set}
3213 ac_save_CFLAGS
=$CFLAGS
3215 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3216 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3217 if test "${ac_cv_prog_cc_g+set}" = set; then
3218 echo $ECHO_N "(cached) $ECHO_C" >&6
3220 cat >conftest.
$ac_ext <<_ACEOF
3221 #line $LINENO "configure"
3224 cat confdefs.h
>>conftest.
$ac_ext
3225 cat >>conftest.
$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3236 rm -f conftest.
$ac_objext
3237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3238 (eval $ac_compile) 2>&5
3240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241 (exit $ac_status); } &&
3242 { ac_try
='test -s conftest.$ac_objext'
3243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); }; }; then
3250 echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.
$ac_ext >&5
3255 rm -f conftest.
$ac_objext conftest.
$ac_ext
3257 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3258 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3259 if test "$ac_test_CFLAGS" = set; then
3260 CFLAGS
=$ac_save_CFLAGS
3261 elif test $ac_cv_prog_cc_g = yes; then
3262 if test "$GCC" = yes; then
3268 if test "$GCC" = yes; then
3274 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3275 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3276 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3279 ac_cv_prog_cc_stdc
=no
3281 cat >conftest.
$ac_ext <<_ACEOF
3282 #line $LINENO "configure"
3285 cat confdefs.h
>>conftest.
$ac_ext
3286 cat >>conftest.
$ac_ext <<_ACEOF
3287 /* end confdefs.h. */
3290 #include <sys/types.h>
3291 #include <sys/stat.h>
3292 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3293 struct buf { int x; };
3294 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3295 static char *e (p, i)
3301 static char *f (char * (*g) (char **, int), char **p, ...)
3306 s = g (p, va_arg (v,int));
3310 int test (int i, double x);
3311 struct s1 {int (*f) (int a);};
3312 struct s2 {int (*f) (double a);};
3313 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3319 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3324 # Don't try gcc -ansi; that turns off useful extensions and
3325 # breaks some systems' header files.
3326 # AIX -qlanglvl=ansi
3327 # Ultrix and OSF/1 -std1
3328 # HP-UX 10.20 and later -Ae
3329 # HP-UX older versions -Aa -D_HPUX_SOURCE
3330 # SVR4 -Xc -D__EXTENSIONS__
3331 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3333 CC
="$ac_save_CC $ac_arg"
3334 rm -f conftest.
$ac_objext
3335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3336 (eval $ac_compile) 2>&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } &&
3340 { ac_try
='test -s conftest.$ac_objext'
3341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }; }; then
3346 ac_cv_prog_cc_stdc
=$ac_arg
3349 echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.
$ac_ext >&5
3353 rm -f conftest.
$ac_objext
3355 rm -f conftest.
$ac_ext conftest.
$ac_objext
3360 case "x$ac_cv_prog_cc_stdc" in
3362 echo "$as_me:$LINENO: result: none needed" >&5
3363 echo "${ECHO_T}none needed" >&6 ;;
3365 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3366 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3367 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3370 # Some people use a C++ compiler to compile C. Since we use `exit',
3371 # in C++ we need to declare it. In case someone uses the same compiler
3372 # for both compiling C and C++ we need to have the C++ compiler decide
3373 # the declaration of exit, since it's the most demanding environment.
3374 cat >conftest.
$ac_ext <<_ACEOF
3379 rm -f conftest.
$ac_objext
3380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3381 (eval $ac_compile) 2>&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); } &&
3385 { ac_try
='test -s conftest.$ac_objext'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then
3391 for ac_declaration
in \
3393 '#include <stdlib.h>' \
3394 'extern "C" void std::exit (int) throw (); using std::exit;' \
3395 'extern "C" void std::exit (int); using std::exit;' \
3396 'extern "C" void exit (int) throw ();' \
3397 'extern "C" void exit (int);' \
3400 cat >conftest.
$ac_ext <<_ACEOF
3401 #line $LINENO "configure"
3404 cat confdefs.h
>>conftest.
$ac_ext
3405 cat >>conftest.
$ac_ext <<_ACEOF
3406 /* end confdefs.h. */
3417 rm -f conftest.
$ac_objext
3418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3419 (eval $ac_compile) 2>&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); } &&
3423 { ac_try
='test -s conftest.$ac_objext'
3424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; }; then
3431 echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.
$ac_ext >&5
3436 rm -f conftest.
$ac_objext conftest.
$ac_ext
3437 cat >conftest.
$ac_ext <<_ACEOF
3438 #line $LINENO "configure"
3441 cat confdefs.h
>>conftest.
$ac_ext
3442 cat >>conftest.
$ac_ext <<_ACEOF
3443 /* end confdefs.h. */
3453 rm -f conftest.
$ac_objext
3454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3455 (eval $ac_compile) 2>&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); } &&
3459 { ac_try
='test -s conftest.$ac_objext'
3460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); }; }; then
3467 echo "$as_me: failed program was:" >&5
3468 sed 's/^/| /' conftest.
$ac_ext >&5
3471 rm -f conftest.
$ac_objext conftest.
$ac_ext
3474 if test -n "$ac_declaration"; then
3475 echo '#ifdef __cplusplus' >>confdefs.h
3476 echo $ac_declaration >>confdefs.h
3477 echo '#endif' >>confdefs.h
3481 echo "$as_me: failed program was:" >&5
3482 sed 's/^/| /' conftest.
$ac_ext >&5
3485 rm -f conftest.
$ac_objext conftest.
$ac_ext
3487 ac_cpp
='$CPP $CPPFLAGS'
3488 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3489 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3490 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3493 # On Suns, sometimes $CPP names a directory.
3494 if test -n "$CPP" && test -d "$CPP"; then
3498 #### Some systems specify a CPP to use unless we are using GCC.
3499 #### Now that we know whether we are using GCC, we can decide whether
3500 #### to use that one.
3501 if test "x$NON_GNU_CPP" != x
&& test x
$GCC != xyes
&& test "x$CPP" = x
3506 #### Some systems specify a CC to use unless we are using GCC.
3507 #### Now that we know whether we are using GCC, we can decide whether
3508 #### to use that one.
3509 if test "x$NON_GNU_CC" != x
&& test x
$GCC != xyes
&&
3510 test x
$cc_specified != xyes
3515 if test x
$GCC = xyes
&& test "x$GCC_TEST_OPTIONS" != x
3517 CC
="$CC $GCC_TEST_OPTIONS"
3520 if test x
$GCC = x
&& test "x$NON_GCC_TEST_OPTIONS" != x
3522 CC
="$CC $NON_GCC_TEST_OPTIONS"
3525 #### Some other nice autoconf tests.
3527 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3528 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3530 if test "$LN_S" = "ln -s"; then
3531 echo "$as_me:$LINENO: result: yes" >&5
3532 echo "${ECHO_T}yes" >&6
3534 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3535 echo "${ECHO_T}no, using $LN_S" >&6
3539 ac_cpp
='$CPP $CPPFLAGS'
3540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3543 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3544 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3545 # On Suns, sometimes $CPP names a directory.
3546 if test -n "$CPP" && test -d "$CPP"; then
3549 if test -z "$CPP"; then
3550 if test "${ac_cv_prog_CPP+set}" = set; then
3551 echo $ECHO_N "(cached) $ECHO_C" >&6
3553 # Double quotes because CPP needs to be expanded
3554 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3557 for ac_c_preproc_warn_flag
in '' yes
3559 # Use a header file that comes with gcc, so configuring glibc
3560 # with a fresh cross-compiler works.
3561 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3562 # <limits.h> exists even on freestanding compilers.
3563 # On the NeXT, cc -E runs the code through the compiler's parser,
3564 # not just through cpp. "Syntax error" is here to catch this case.
3565 cat >conftest.
$ac_ext <<_ACEOF
3566 #line $LINENO "configure"
3569 cat confdefs.h
>>conftest.
$ac_ext
3570 cat >>conftest.
$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3573 # include <limits.h>
3575 # include <assert.h>
3579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3580 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3582 grep -v '^ *+' conftest.er1
>conftest.err
3584 cat conftest.err
>&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); } >/dev
/null
; then
3587 if test -s conftest.err
; then
3588 ac_cpp_err
=$ac_c_preproc_warn_flag
3595 if test -z "$ac_cpp_err"; then
3598 echo "$as_me: failed program was:" >&5
3599 sed 's/^/| /' conftest.
$ac_ext >&5
3601 # Broken: fails on valid input.
3604 rm -f conftest.err conftest.
$ac_ext
3606 # OK, works on sane cases. Now check whether non-existent headers
3607 # can be detected and how.
3608 cat >conftest.
$ac_ext <<_ACEOF
3609 #line $LINENO "configure"
3612 cat confdefs.h
>>conftest.
$ac_ext
3613 cat >>conftest.
$ac_ext <<_ACEOF
3614 /* end confdefs.h. */
3615 #include <ac_nonexistent.h>
3617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3618 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3620 grep -v '^ *+' conftest.er1
>conftest.err
3622 cat conftest.err
>&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } >/dev
/null
; then
3625 if test -s conftest.err
; then
3626 ac_cpp_err
=$ac_c_preproc_warn_flag
3633 if test -z "$ac_cpp_err"; then
3634 # Broken: success on invalid input.
3637 echo "$as_me: failed program was:" >&5
3638 sed 's/^/| /' conftest.
$ac_ext >&5
3640 # Passes both tests.
3644 rm -f conftest.err conftest.
$ac_ext
3647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3648 rm -f conftest.err conftest.
$ac_ext
3649 if $ac_preproc_ok; then
3661 echo "$as_me:$LINENO: result: $CPP" >&5
3662 echo "${ECHO_T}$CPP" >&6
3664 for ac_c_preproc_warn_flag
in '' yes
3666 # Use a header file that comes with gcc, so configuring glibc
3667 # with a fresh cross-compiler works.
3668 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3669 # <limits.h> exists even on freestanding compilers.
3670 # On the NeXT, cc -E runs the code through the compiler's parser,
3671 # not just through cpp. "Syntax error" is here to catch this case.
3672 cat >conftest.
$ac_ext <<_ACEOF
3673 #line $LINENO "configure"
3676 cat confdefs.h
>>conftest.
$ac_ext
3677 cat >>conftest.
$ac_ext <<_ACEOF
3678 /* end confdefs.h. */
3680 # include <limits.h>
3682 # include <assert.h>
3686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3687 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3689 grep -v '^ *+' conftest.er1
>conftest.err
3691 cat conftest.err
>&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); } >/dev
/null
; then
3694 if test -s conftest.err
; then
3695 ac_cpp_err
=$ac_c_preproc_warn_flag
3702 if test -z "$ac_cpp_err"; then
3705 echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.
$ac_ext >&5
3708 # Broken: fails on valid input.
3711 rm -f conftest.err conftest.
$ac_ext
3713 # OK, works on sane cases. Now check whether non-existent headers
3714 # can be detected and how.
3715 cat >conftest.
$ac_ext <<_ACEOF
3716 #line $LINENO "configure"
3719 cat confdefs.h
>>conftest.
$ac_ext
3720 cat >>conftest.
$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3722 #include <ac_nonexistent.h>
3724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3725 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3727 grep -v '^ *+' conftest.er1
>conftest.err
3729 cat conftest.err
>&5
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); } >/dev
/null
; then
3732 if test -s conftest.err
; then
3733 ac_cpp_err
=$ac_c_preproc_warn_flag
3740 if test -z "$ac_cpp_err"; then
3741 # Broken: success on invalid input.
3744 echo "$as_me: failed program was:" >&5
3745 sed 's/^/| /' conftest.
$ac_ext >&5
3747 # Passes both tests.
3751 rm -f conftest.err conftest.
$ac_ext
3754 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3755 rm -f conftest.err conftest.
$ac_ext
3756 if $ac_preproc_ok; then
3759 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3760 See \`config.log' for more details." >&5
3761 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3762 See \`config.log' for more details." >&2;}
3763 { (exit 1); exit 1; }; }
3767 ac_cpp
='$CPP $CPPFLAGS'
3768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3772 # Find a good install program. We prefer a C program (faster),
3773 # so one script is as good as another. But avoid the broken or
3774 # incompatible versions:
3775 # SysV /etc/install, /usr/sbin/install
3776 # SunOS /usr/etc/install
3777 # IRIX /sbin/install
3779 # AmigaOS /C/install, which installs bootblocks on floppy discs
3780 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3781 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3782 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3783 # ./install, which can be erroneously created by make from ./install.sh.
3784 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3785 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3786 if test -z "$INSTALL"; then
3787 if test "${ac_cv_path_install+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3794 test -z "$as_dir" && as_dir
=.
3795 # Account for people who put trailing slashes in PATH elements.
3797 .
/ | .
// |
/cC
/* | \
3798 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3801 # OSF1 and SCO ODT 3.0 have their own names for install.
3802 # Don't use installbsd from OSF since it installs stuff as root
3804 for ac_prog
in ginstall scoinst
install; do
3805 for ac_exec_ext
in '' $ac_executable_extensions; do
3806 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3807 if test $ac_prog = install &&
3808 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3809 # AIX install. It has an incompatible calling convention.
3811 elif test $ac_prog = install &&
3812 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3813 # program-specific install script used by HP pwplus--don't use.
3816 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3828 if test "${ac_cv_path_install+set}" = set; then
3829 INSTALL
=$ac_cv_path_install
3831 # As a last resort, use the slow shell script. We don't cache a
3832 # path for INSTALL within a source directory, because that will
3833 # break other packages using the cache if that directory is
3834 # removed, or if the path is relative.
3835 INSTALL
=$ac_install_sh
3838 echo "$as_me:$LINENO: result: $INSTALL" >&5
3839 echo "${ECHO_T}$INSTALL" >&6
3841 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3842 # It thinks the first close brace ends the variable substitution.
3843 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3845 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3847 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3849 if test "x$RANLIB" = x
; then
3850 if test -n "$ac_tool_prefix"; then
3851 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3852 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3853 echo "$as_me:$LINENO: checking for $ac_word" >&5
3854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3855 if test "${ac_cv_prog_RANLIB+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 if test -n "$RANLIB"; then
3859 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3865 test -z "$as_dir" && as_dir
=.
3866 for ac_exec_ext
in '' $ac_executable_extensions; do
3867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3868 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3877 RANLIB
=$ac_cv_prog_RANLIB
3878 if test -n "$RANLIB"; then
3879 echo "$as_me:$LINENO: result: $RANLIB" >&5
3880 echo "${ECHO_T}$RANLIB" >&6
3882 echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6
3887 if test -z "$ac_cv_prog_RANLIB"; then
3888 ac_ct_RANLIB
=$RANLIB
3889 # Extract the first word of "ranlib", so it can be a program name with args.
3890 set dummy ranlib
; ac_word
=$2
3891 echo "$as_me:$LINENO: checking for $ac_word" >&5
3892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3893 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 if test -n "$ac_ct_RANLIB"; then
3897 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3903 test -z "$as_dir" && as_dir
=.
3904 for ac_exec_ext
in '' $ac_executable_extensions; do
3905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3906 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3913 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3916 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3917 if test -n "$ac_ct_RANLIB"; then
3918 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3919 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3925 RANLIB
=$ac_ct_RANLIB
3927 RANLIB
="$ac_cv_prog_RANLIB"
3931 # Extract the first word of "install-info", so it can be a program name with args.
3932 set dummy install-info
; ac_word
=$2
3933 echo "$as_me:$LINENO: checking for $ac_word" >&5
3934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3935 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
3936 echo $ECHO_N "(cached) $ECHO_C" >&6
3938 case $INSTALL_INFO in
3940 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
3943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3947 test -z "$as_dir" && as_dir
=.
3948 for ac_exec_ext
in '' $ac_executable_extensions; do
3949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3950 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
3951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3960 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
3962 if test -n "$INSTALL_INFO"; then
3963 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
3964 echo "${ECHO_T}$INSTALL_INFO" >&6
3966 echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6
3970 # Extract the first word of "install-info", so it can be a program name with args.
3971 set dummy install-info
; ac_word
=$2
3972 echo "$as_me:$LINENO: checking for $ac_word" >&5
3973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3974 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
3975 echo $ECHO_N "(cached) $ECHO_C" >&6
3977 case $INSTALL_INFO in
3979 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
3982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3983 for as_dir
in /usr
/sbin
3986 test -z "$as_dir" && as_dir
=.
3987 for ac_exec_ext
in '' $ac_executable_extensions; do
3988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3989 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
3990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4001 if test -n "$INSTALL_INFO"; then
4002 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4003 echo "${ECHO_T}$INSTALL_INFO" >&6
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4009 # Extract the first word of "install-info", so it can be a program name with args.
4010 set dummy install-info
; ac_word
=$2
4011 echo "$as_me:$LINENO: checking for $ac_word" >&5
4012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4013 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4016 case $INSTALL_INFO in
4018 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
4021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4025 test -z "$as_dir" && as_dir
=.
4026 for ac_exec_ext
in '' $ac_executable_extensions; do
4027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4028 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
4029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4035 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
=":"
4039 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
4041 if test -n "$INSTALL_INFO"; then
4042 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4043 echo "${ECHO_T}$INSTALL_INFO" >&6
4045 echo "$as_me:$LINENO: result: no" >&5
4046 echo "${ECHO_T}no" >&6
4051 if test x
$GCC = xyes
&& test "x$GCC_LINK_TEST_OPTIONS" != x
4053 ac_link
="$ac_link $GCC_LINK_TEST_OPTIONS"
4056 if test x
$GCC = x
&& test "x$NON_GCC_LINK_TEST_OPTIONS" != x
4058 ac_link
="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
4063 echo "$as_me:$LINENO: checking for egrep" >&5
4064 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4065 if test "${ac_cv_prog_egrep+set}" = set; then
4066 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4069 then ac_cv_prog_egrep
='grep -E'
4070 else ac_cv_prog_egrep
='egrep'
4073 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4074 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4075 EGREP
=$ac_cv_prog_egrep
4079 echo "$as_me:$LINENO: checking for AIX" >&5
4080 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
4081 cat >conftest.
$ac_ext <<_ACEOF
4082 #line $LINENO "configure"
4085 cat confdefs.h
>>conftest.
$ac_ext
4086 cat >>conftest.
$ac_ext <<_ACEOF
4087 /* end confdefs.h. */
4093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4094 $EGREP "yes" >/dev
/null
2>&1; then
4095 echo "$as_me:$LINENO: result: yes" >&5
4096 echo "${ECHO_T}yes" >&6
4097 cat >>confdefs.h
<<\_ACEOF
4098 #define _ALL_SOURCE 1
4102 echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6
4109 #### Extract some information from the operating system and machine files.
4111 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
4112 - which libraries the lib-src programs will want, and
4113 - whether the GNU malloc routines are usable..." >&5
4114 echo "$as_me: checking the machine- and system-dependent files to find out
4115 - which libraries the lib-src programs will want, and
4116 - whether the GNU malloc routines are usable..." >&6;}
4118 ### First figure out CFLAGS (which we use for running the compiler here)
4119 ### and REAL_CFLAGS (which we use for real compilation).
4120 ### The two are the same except on a few systems, where they are made
4121 ### different to work around various lossages. For example,
4122 ### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
4123 ### as implying static linking.
4125 ### If the CFLAGS env var is specified, we use that value
4126 ### instead of the default.
4128 ### It's not important that this name contain the PID; you can't run
4129 ### two configures in the same directory and have anything work
4131 tempcname
="conftest.c"
4134 #include "'${srcdir}'/src/'${opsysfile}'"
4135 #include "'${srcdir}'/src/'${machfile}'"
4136 #ifndef LIBS_MACHINE
4137 #define LIBS_MACHINE
4142 #ifndef C_SWITCH_SYSTEM
4143 #define C_SWITCH_SYSTEM
4145 #ifndef C_SWITCH_MACHINE
4146 #define C_SWITCH_MACHINE
4148 configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
4149 configure___ c_switch_system=C_SWITCH_SYSTEM
4150 configure___ c_switch_machine=C_SWITCH_MACHINE
4153 #define LIB_X11_LIB -lX11
4156 #ifndef LIBX11_MACHINE
4157 #define LIBX11_MACHINE
4160 #ifndef LIBX11_SYSTEM
4161 #define LIBX11_SYSTEM
4163 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
4166 configure___ unexec=UNEXEC
4168 configure___ unexec=unexec.o
4171 #ifdef SYSTEM_MALLOC
4172 configure___ system_malloc=yes
4174 configure___ system_malloc=no
4177 #ifdef USE_MMAP_FOR_BUFFERS
4178 configure___ use_mmap_for_buffers=yes
4180 configure___ use_mmap_for_buffers=no
4183 #ifndef C_DEBUG_SWITCH
4184 #define C_DEBUG_SWITCH -g
4187 #ifndef C_OPTIMIZE_SWITCH
4189 #define C_OPTIMIZE_SWITCH -O2
4191 #define C_OPTIMIZE_SWITCH -O
4195 #ifndef LD_SWITCH_MACHINE
4196 #define LD_SWITCH_MACHINE
4199 #ifndef LD_SWITCH_SYSTEM
4200 #define LD_SWITCH_SYSTEM
4203 #ifndef LD_SWITCH_X_SITE_AUX
4204 #define LD_SWITCH_X_SITE_AUX
4207 configure___ ld_switch_system=LD_SWITCH_SYSTEM
4208 configure___ ld_switch_machine=LD_SWITCH_MACHINE
4210 #ifdef THIS_IS_CONFIGURE
4212 /* Get the CFLAGS for tests in configure. */
4214 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4216 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4219 #else /* not THIS_IS_CONFIGURE */
4221 /* Get the CFLAGS for real compilation. */
4223 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
4225 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
4228 #endif /* not THIS_IS_CONFIGURE */
4231 # The value of CPP is a quoted variable reference, so we need to do this
4232 # to get its actual value...
4233 CPP
=`eval "echo $CPP"`
4234 eval `${CPP} -Isrc ${tempcname} \
4235 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4236 if test "x$SPECIFIED_CFLAGS" = x
; then
4237 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
4238 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
4240 REAL_CFLAGS
="$CFLAGS"
4244 ac_link
="$ac_link $ld_switch_machine $ld_switch_system"
4246 ### Make sure subsequent tests use flags consistent with the build flags.
4248 if test x
"${OVERRIDE_CPPFLAGS}" != x
; then
4249 CPPFLAGS
="${OVERRIDE_CPPFLAGS}"
4251 CPPFLAGS
="$c_switch_system $c_switch_machine $CPPFLAGS"
4257 cat >>confdefs.h
<<\_ACEOF
4258 #define _GNU_SOURCE 1
4263 # Check whether --enable-largefile or --disable-largefile was given.
4264 if test "${enable_largefile+set}" = set; then
4265 enableval
="$enable_largefile"
4268 if test "$enable_largefile" != no
; then
4270 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4271 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4272 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 ac_cv_sys_largefile_CC
=no
4276 if test "$GCC" != yes; then
4279 # IRIX 6.2 and later do not support large files by default,
4280 # so use the C compiler's -n32 option if that helps.
4281 cat >conftest.
$ac_ext <<_ACEOF
4282 #line $LINENO "configure"
4285 cat confdefs.h
>>conftest.
$ac_ext
4286 cat >>conftest.
$ac_ext <<_ACEOF
4287 /* end confdefs.h. */
4288 #include <sys/types.h>
4289 /* Check that off_t can represent 2**63 - 1 correctly.
4290 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4291 since some C++ compilers masquerading as C compilers
4292 incorrectly reject 9223372036854775807. */
4293 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4294 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4295 && LARGE_OFF_T % 2147483647 == 1)
4305 rm -f conftest.
$ac_objext
4306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4307 (eval $ac_compile) 2>&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); } &&
4311 { ac_try
='test -s conftest.$ac_objext'
4312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); }; }; then
4319 echo "$as_me: failed program was:" >&5
4320 sed 's/^/| /' conftest.
$ac_ext >&5
4323 rm -f conftest.
$ac_objext
4325 rm -f conftest.
$ac_objext
4326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4327 (eval $ac_compile) 2>&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); } &&
4331 { ac_try
='test -s conftest.$ac_objext'
4332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); }; }; then
4337 ac_cv_sys_largefile_CC
=' -n32'; break
4339 echo "$as_me: failed program was:" >&5
4340 sed 's/^/| /' conftest.
$ac_ext >&5
4343 rm -f conftest.
$ac_objext
4347 rm -f conftest.
$ac_ext
4350 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4351 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4352 if test "$ac_cv_sys_largefile_CC" != no
; then
4353 CC
=$CC$ac_cv_sys_largefile_CC
4356 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4357 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4358 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4359 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 ac_cv_sys_file_offset_bits
=no
4363 cat >conftest.
$ac_ext <<_ACEOF
4364 #line $LINENO "configure"
4367 cat confdefs.h
>>conftest.
$ac_ext
4368 cat >>conftest.
$ac_ext <<_ACEOF
4369 /* end confdefs.h. */
4370 #include <sys/types.h>
4371 /* Check that off_t can represent 2**63 - 1 correctly.
4372 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4373 since some C++ compilers masquerading as C compilers
4374 incorrectly reject 9223372036854775807. */
4375 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4376 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4377 && LARGE_OFF_T % 2147483647 == 1)
4387 rm -f conftest.
$ac_objext
4388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4389 (eval $ac_compile) 2>&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); } &&
4393 { ac_try
='test -s conftest.$ac_objext'
4394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; }; then
4401 echo "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.
$ac_ext >&5
4405 rm -f conftest.
$ac_objext conftest.
$ac_ext
4406 cat >conftest.
$ac_ext <<_ACEOF
4407 #line $LINENO "configure"
4410 cat confdefs.h
>>conftest.
$ac_ext
4411 cat >>conftest.
$ac_ext <<_ACEOF
4412 /* end confdefs.h. */
4413 #define _FILE_OFFSET_BITS 64
4414 #include <sys/types.h>
4415 /* Check that off_t can represent 2**63 - 1 correctly.
4416 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4417 since some C++ compilers masquerading as C compilers
4418 incorrectly reject 9223372036854775807. */
4419 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4420 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4421 && LARGE_OFF_T % 2147483647 == 1)
4431 rm -f conftest.
$ac_objext
4432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4433 (eval $ac_compile) 2>&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); } &&
4437 { ac_try
='test -s conftest.$ac_objext'
4438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; }; then
4443 ac_cv_sys_file_offset_bits
=64; break
4445 echo "$as_me: failed program was:" >&5
4446 sed 's/^/| /' conftest.
$ac_ext >&5
4449 rm -f conftest.
$ac_objext conftest.
$ac_ext
4453 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4454 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4455 if test "$ac_cv_sys_file_offset_bits" != no
; then
4457 cat >>confdefs.h
<<_ACEOF
4458 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4463 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4464 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4465 if test "${ac_cv_sys_large_files+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 ac_cv_sys_large_files
=no
4470 cat >conftest.
$ac_ext <<_ACEOF
4471 #line $LINENO "configure"
4474 cat confdefs.h
>>conftest.
$ac_ext
4475 cat >>conftest.
$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4477 #include <sys/types.h>
4478 /* Check that off_t can represent 2**63 - 1 correctly.
4479 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4480 since some C++ compilers masquerading as C compilers
4481 incorrectly reject 9223372036854775807. */
4482 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4483 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4484 && LARGE_OFF_T % 2147483647 == 1)
4494 rm -f conftest.
$ac_objext
4495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4496 (eval $ac_compile) 2>&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); } &&
4500 { ac_try
='test -s conftest.$ac_objext'
4501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; }; then
4508 echo "$as_me: failed program was:" >&5
4509 sed 's/^/| /' conftest.
$ac_ext >&5
4512 rm -f conftest.
$ac_objext conftest.
$ac_ext
4513 cat >conftest.
$ac_ext <<_ACEOF
4514 #line $LINENO "configure"
4517 cat confdefs.h
>>conftest.
$ac_ext
4518 cat >>conftest.
$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4520 #define _LARGE_FILES 1
4521 #include <sys/types.h>
4522 /* Check that off_t can represent 2**63 - 1 correctly.
4523 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4524 since some C++ compilers masquerading as C compilers
4525 incorrectly reject 9223372036854775807. */
4526 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4527 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4528 && LARGE_OFF_T % 2147483647 == 1)
4538 rm -f conftest.
$ac_objext
4539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4540 (eval $ac_compile) 2>&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); } &&
4544 { ac_try
='test -s conftest.$ac_objext'
4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4550 ac_cv_sys_large_files
=1; break
4552 echo "$as_me: failed program was:" >&5
4553 sed 's/^/| /' conftest.
$ac_ext >&5
4556 rm -f conftest.
$ac_objext conftest.
$ac_ext
4560 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4561 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4562 if test "$ac_cv_sys_large_files" != no
; then
4564 cat >>confdefs.h
<<_ACEOF
4565 #define _LARGE_FILES $ac_cv_sys_large_files
4573 if test "${with_sound}" != "no"; then
4574 # Sound support for GNU/Linux and the free BSDs.
4575 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4576 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4577 if test "${ac_cv_header_stdc+set}" = set; then
4578 echo $ECHO_N "(cached) $ECHO_C" >&6
4580 cat >conftest.
$ac_ext <<_ACEOF
4581 #line $LINENO "configure"
4584 cat confdefs.h
>>conftest.
$ac_ext
4585 cat >>conftest.
$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4600 rm -f conftest.
$ac_objext
4601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4602 (eval $ac_compile) 2>&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); } &&
4606 { ac_try
='test -s conftest.$ac_objext'
4607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); }; }; then
4612 ac_cv_header_stdc
=yes
4614 echo "$as_me: failed program was:" >&5
4615 sed 's/^/| /' conftest.
$ac_ext >&5
4617 ac_cv_header_stdc
=no
4619 rm -f conftest.
$ac_objext conftest.
$ac_ext
4621 if test $ac_cv_header_stdc = yes; then
4622 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4623 cat >conftest.
$ac_ext <<_ACEOF
4624 #line $LINENO "configure"
4627 cat confdefs.h
>>conftest.
$ac_ext
4628 cat >>conftest.
$ac_ext <<_ACEOF
4629 /* end confdefs.h. */
4633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4634 $EGREP "memchr" >/dev
/null
2>&1; then
4637 ac_cv_header_stdc
=no
4643 if test $ac_cv_header_stdc = yes; then
4644 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4645 cat >conftest.
$ac_ext <<_ACEOF
4646 #line $LINENO "configure"
4649 cat confdefs.h
>>conftest.
$ac_ext
4650 cat >>conftest.
$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4656 $EGREP "free" >/dev
/null
2>&1; then
4659 ac_cv_header_stdc
=no
4665 if test $ac_cv_header_stdc = yes; then
4666 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4667 if test "$cross_compiling" = yes; then
4670 cat >conftest.
$ac_ext <<_ACEOF
4671 #line $LINENO "configure"
4674 cat confdefs.h
>>conftest.
$ac_ext
4675 cat >>conftest.
$ac_ext <<_ACEOF
4676 /* end confdefs.h. */
4678 #if ((' ' & 0x0FF) == 0x020)
4679 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4680 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4682 # define ISLOWER(c) \
4683 (('a' <= (c) && (c) <= 'i') \
4684 || ('j' <= (c) && (c) <= 'r') \
4685 || ('s' <= (c) && (c) <= 'z'))
4686 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4689 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4694 for (i = 0; i < 256; i++)
4695 if (XOR (islower (i), ISLOWER (i))
4696 || toupper (i) != TOUPPER (i))
4701 rm -f conftest
$ac_exeext
4702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4703 (eval $ac_link) 2>&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); }; }; then
4714 echo "$as_me: program exited with status $ac_status" >&5
4715 echo "$as_me: failed program was:" >&5
4716 sed 's/^/| /' conftest.
$ac_ext >&5
4719 ac_cv_header_stdc
=no
4721 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4725 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4726 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4727 if test $ac_cv_header_stdc = yes; then
4729 cat >>confdefs.h
<<\_ACEOF
4730 #define STDC_HEADERS 1
4735 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4745 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4746 inttypes.h stdint.h unistd.h
4748 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4749 echo "$as_me:$LINENO: checking for $ac_header" >&5
4750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4752 echo $ECHO_N "(cached) $ECHO_C" >&6
4754 cat >conftest.
$ac_ext <<_ACEOF
4755 #line $LINENO "configure"
4758 cat confdefs.h
>>conftest.
$ac_ext
4759 cat >>conftest.
$ac_ext <<_ACEOF
4760 /* end confdefs.h. */
4761 $ac_includes_default
4763 #include <$ac_header>
4765 rm -f conftest.
$ac_objext
4766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4767 (eval $ac_compile) 2>&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); } &&
4771 { ac_try
='test -s conftest.$ac_objext'
4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }; }; then
4777 eval "$as_ac_Header=yes"
4779 echo "$as_me: failed program was:" >&5
4780 sed 's/^/| /' conftest.
$ac_ext >&5
4782 eval "$as_ac_Header=no"
4784 rm -f conftest.
$ac_objext conftest.
$ac_ext
4786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4789 cat >>confdefs.h
<<_ACEOF
4790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4801 for ac_header
in machine
/soundcard.h sys
/soundcard.h soundcard.h
4803 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4805 echo "$as_me:$LINENO: checking for $ac_header" >&5
4806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4813 # Is the header compilable?
4814 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4815 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4816 cat >conftest.
$ac_ext <<_ACEOF
4817 #line $LINENO "configure"
4820 cat confdefs.h
>>conftest.
$ac_ext
4821 cat >>conftest.
$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4823 $ac_includes_default
4824 #include <$ac_header>
4826 rm -f conftest.
$ac_objext
4827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4828 (eval $ac_compile) 2>&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); } &&
4832 { ac_try
='test -s conftest.$ac_objext'
4833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); }; }; then
4838 ac_header_compiler
=yes
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.
$ac_ext >&5
4843 ac_header_compiler
=no
4845 rm -f conftest.
$ac_objext conftest.
$ac_ext
4846 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4847 echo "${ECHO_T}$ac_header_compiler" >&6
4849 # Is the header present?
4850 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4851 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4852 cat >conftest.
$ac_ext <<_ACEOF
4853 #line $LINENO "configure"
4856 cat confdefs.h
>>conftest.
$ac_ext
4857 cat >>conftest.
$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4859 #include <$ac_header>
4861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4862 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4864 grep -v '^ *+' conftest.er1
>conftest.err
4866 cat conftest.err
>&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); } >/dev
/null
; then
4869 if test -s conftest.err
; then
4870 ac_cpp_err
=$ac_c_preproc_warn_flag
4877 if test -z "$ac_cpp_err"; then
4878 ac_header_preproc
=yes
4880 echo "$as_me: failed program was:" >&5
4881 sed 's/^/| /' conftest.
$ac_ext >&5
4883 ac_header_preproc
=no
4885 rm -f conftest.err conftest.
$ac_ext
4886 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4887 echo "${ECHO_T}$ac_header_preproc" >&6
4889 # So? What about this header?
4890 case $ac_header_compiler:$ac_header_preproc in
4892 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4893 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4898 ## ------------------------------------ ##
4899 ## Report this to bug-autoconf@gnu.org. ##
4900 ## ------------------------------------ ##
4903 sed "s/^/$as_me: WARNING: /" >&2
4906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4914 ## ------------------------------------ ##
4915 ## Report this to bug-autoconf@gnu.org. ##
4916 ## ------------------------------------ ##
4919 sed "s/^/$as_me: WARNING: /" >&2
4922 echo "$as_me:$LINENO: checking for $ac_header" >&5
4923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4925 echo $ECHO_N "(cached) $ECHO_C" >&6
4927 eval "$as_ac_Header=$ac_header_preproc"
4929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4934 cat >>confdefs.h
<<_ACEOF
4935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4942 # Emulation library used on NetBSD.
4943 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
4944 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4945 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4946 echo $ECHO_N "(cached) $ECHO_C" >&6
4948 ac_check_lib_save_LIBS
=$LIBS
4949 LIBS
="-lossaudio $LIBS"
4950 cat >conftest.
$ac_ext <<_ACEOF
4951 #line $LINENO "configure"
4954 cat confdefs.h
>>conftest.
$ac_ext
4955 cat >>conftest.
$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4958 /* Override any gcc2 internal prototype to avoid an error. */
4962 /* We use char because int might match the return type of a gcc2
4963 builtin and then its argument prototype would still apply. */
4973 rm -f conftest.
$ac_objext conftest
$ac_exeext
4974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4975 (eval $ac_link) 2>&5
4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); } &&
4979 { ac_try
='test -s conftest$ac_exeext'
4980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); }; }; then
4985 ac_cv_lib_ossaudio__oss_ioctl
=yes
4987 echo "$as_me: failed program was:" >&5
4988 sed 's/^/| /' conftest.
$ac_ext >&5
4990 ac_cv_lib_ossaudio__oss_ioctl
=no
4992 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4993 LIBS
=$ac_check_lib_save_LIBS
4995 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4996 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4997 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5028 for ac_header
in sys
/select.h sys
/timeb.h sys
/time.h unistd.h utime.h \
5029 linux
/version.h sys
/systeminfo.h termios.h limits.h string.h stdlib.h \
5030 termcap.h stdio_ext.h fcntl.h term.h
strings.h coff.h pty.h sys
/mman.h \
5031 sys
/param.h sys
/vlimit.h sys
/resource.h
5033 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5035 echo "$as_me:$LINENO: checking for $ac_header" >&5
5036 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5038 echo $ECHO_N "(cached) $ECHO_C" >&6
5040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5043 # Is the header compilable?
5044 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5045 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5046 cat >conftest.
$ac_ext <<_ACEOF
5047 #line $LINENO "configure"
5050 cat confdefs.h
>>conftest.
$ac_ext
5051 cat >>conftest.
$ac_ext <<_ACEOF
5052 /* end confdefs.h. */
5053 $ac_includes_default
5054 #include <$ac_header>
5056 rm -f conftest.
$ac_objext
5057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5058 (eval $ac_compile) 2>&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); } &&
5062 { ac_try
='test -s conftest.$ac_objext'
5063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); }; }; then
5068 ac_header_compiler
=yes
5070 echo "$as_me: failed program was:" >&5
5071 sed 's/^/| /' conftest.
$ac_ext >&5
5073 ac_header_compiler
=no
5075 rm -f conftest.
$ac_objext conftest.
$ac_ext
5076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5077 echo "${ECHO_T}$ac_header_compiler" >&6
5079 # Is the header present?
5080 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5081 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5082 cat >conftest.
$ac_ext <<_ACEOF
5083 #line $LINENO "configure"
5086 cat confdefs.h
>>conftest.
$ac_ext
5087 cat >>conftest.
$ac_ext <<_ACEOF
5088 /* end confdefs.h. */
5089 #include <$ac_header>
5091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5092 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5094 grep -v '^ *+' conftest.er1
>conftest.err
5096 cat conftest.err
>&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); } >/dev
/null
; then
5099 if test -s conftest.err
; then
5100 ac_cpp_err
=$ac_c_preproc_warn_flag
5107 if test -z "$ac_cpp_err"; then
5108 ac_header_preproc
=yes
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.
$ac_ext >&5
5113 ac_header_preproc
=no
5115 rm -f conftest.err conftest.
$ac_ext
5116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5117 echo "${ECHO_T}$ac_header_preproc" >&6
5119 # So? What about this header?
5120 case $ac_header_compiler:$ac_header_preproc in
5122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5123 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5125 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5128 ## ------------------------------------ ##
5129 ## Report this to bug-autoconf@gnu.org. ##
5130 ## ------------------------------------ ##
5133 sed "s/^/$as_me: WARNING: /" >&2
5136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5144 ## ------------------------------------ ##
5145 ## Report this to bug-autoconf@gnu.org. ##
5146 ## ------------------------------------ ##
5149 sed "s/^/$as_me: WARNING: /" >&2
5152 echo "$as_me:$LINENO: checking for $ac_header" >&5
5153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 eval "$as_ac_Header=$ac_header_preproc"
5159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5164 cat >>confdefs.h
<<_ACEOF
5165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5173 for ac_header
in term.h
5175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5176 echo "$as_me:$LINENO: checking for $ac_header" >&5
5177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5179 echo $ECHO_N "(cached) $ECHO_C" >&6
5181 cat >conftest.
$ac_ext <<_ACEOF
5182 #line $LINENO "configure"
5185 cat confdefs.h
>>conftest.
$ac_ext
5186 cat >>conftest.
$ac_ext <<_ACEOF
5187 /* end confdefs.h. */
5188 #include <$ac_header>
5190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5191 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5193 grep -v '^ *+' conftest.er1
>conftest.err
5195 cat conftest.err
>&5
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); } >/dev
/null
; then
5198 if test -s conftest.err
; then
5199 ac_cpp_err
=$ac_c_preproc_warn_flag
5206 if test -z "$ac_cpp_err"; then
5207 eval "$as_ac_Header=yes"
5209 echo "$as_me: failed program was:" >&5
5210 sed 's/^/| /' conftest.
$ac_ext >&5
5212 eval "$as_ac_Header=no"
5214 rm -f conftest.err conftest.
$ac_ext
5216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5219 cat >>confdefs.h
<<_ACEOF
5220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5227 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5228 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5229 if test "${ac_cv_header_stdc+set}" = set; then
5230 echo $ECHO_N "(cached) $ECHO_C" >&6
5232 cat >conftest.
$ac_ext <<_ACEOF
5233 #line $LINENO "configure"
5236 cat confdefs.h
>>conftest.
$ac_ext
5237 cat >>conftest.
$ac_ext <<_ACEOF
5238 /* end confdefs.h. */
5252 rm -f conftest.
$ac_objext
5253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5254 (eval $ac_compile) 2>&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); } &&
5258 { ac_try
='test -s conftest.$ac_objext'
5259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); }; }; then
5264 ac_cv_header_stdc
=yes
5266 echo "$as_me: failed program was:" >&5
5267 sed 's/^/| /' conftest.
$ac_ext >&5
5269 ac_cv_header_stdc
=no
5271 rm -f conftest.
$ac_objext conftest.
$ac_ext
5273 if test $ac_cv_header_stdc = yes; then
5274 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5275 cat >conftest.
$ac_ext <<_ACEOF
5276 #line $LINENO "configure"
5279 cat confdefs.h
>>conftest.
$ac_ext
5280 cat >>conftest.
$ac_ext <<_ACEOF
5281 /* end confdefs.h. */
5285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5286 $EGREP "memchr" >/dev
/null
2>&1; then
5289 ac_cv_header_stdc
=no
5295 if test $ac_cv_header_stdc = yes; then
5296 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5297 cat >conftest.
$ac_ext <<_ACEOF
5298 #line $LINENO "configure"
5301 cat confdefs.h
>>conftest.
$ac_ext
5302 cat >>conftest.
$ac_ext <<_ACEOF
5303 /* end confdefs.h. */
5307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5308 $EGREP "free" >/dev
/null
2>&1; then
5311 ac_cv_header_stdc
=no
5317 if test $ac_cv_header_stdc = yes; then
5318 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5319 if test "$cross_compiling" = yes; then
5322 cat >conftest.
$ac_ext <<_ACEOF
5323 #line $LINENO "configure"
5326 cat confdefs.h
>>conftest.
$ac_ext
5327 cat >>conftest.
$ac_ext <<_ACEOF
5328 /* end confdefs.h. */
5330 #if ((' ' & 0x0FF) == 0x020)
5331 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5332 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5334 # define ISLOWER(c) \
5335 (('a' <= (c) && (c) <= 'i') \
5336 || ('j' <= (c) && (c) <= 'r') \
5337 || ('s' <= (c) && (c) <= 'z'))
5338 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5341 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5346 for (i = 0; i < 256; i++)
5347 if (XOR (islower (i), ISLOWER (i))
5348 || toupper (i) != TOUPPER (i))
5353 rm -f conftest
$ac_exeext
5354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5355 (eval $ac_link) 2>&5
5357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); }; }; then
5366 echo "$as_me: program exited with status $ac_status" >&5
5367 echo "$as_me: failed program was:" >&5
5368 sed 's/^/| /' conftest.
$ac_ext >&5
5371 ac_cv_header_stdc
=no
5373 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5377 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5378 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5379 if test $ac_cv_header_stdc = yes; then
5381 cat >>confdefs.h
<<\_ACEOF
5382 #define STDC_HEADERS 1
5387 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5388 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5389 if test "${ac_cv_header_time+set}" = set; then
5390 echo $ECHO_N "(cached) $ECHO_C" >&6
5392 cat >conftest.
$ac_ext <<_ACEOF
5393 #line $LINENO "configure"
5396 cat confdefs.h
>>conftest.
$ac_ext
5397 cat >>conftest.
$ac_ext <<_ACEOF
5398 /* end confdefs.h. */
5399 #include <sys/types.h>
5400 #include <sys/time.h>
5406 if ((struct tm *) 0)
5412 rm -f conftest.
$ac_objext
5413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5414 (eval $ac_compile) 2>&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); } &&
5418 { ac_try
='test -s conftest.$ac_objext'
5419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); }; }; then
5424 ac_cv_header_time
=yes
5426 echo "$as_me: failed program was:" >&5
5427 sed 's/^/| /' conftest.
$ac_ext >&5
5429 ac_cv_header_time
=no
5431 rm -f conftest.
$ac_objext conftest.
$ac_ext
5433 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5434 echo "${ECHO_T}$ac_cv_header_time" >&6
5435 if test $ac_cv_header_time = yes; then
5437 cat >>confdefs.h
<<\_ACEOF
5438 #define TIME_WITH_SYS_TIME 1
5443 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
5444 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
5445 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
5446 echo $ECHO_N "(cached) $ECHO_C" >&6
5448 cat >conftest.
$ac_ext <<_ACEOF
5449 #line $LINENO "configure"
5452 cat confdefs.h
>>conftest.
$ac_ext
5453 cat >>conftest.
$ac_ext <<_ACEOF
5454 /* end confdefs.h. */
5455 $ac_includes_default
5460 char *p = (char *) sys_siglist;
5467 rm -f conftest.
$ac_objext
5468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5469 (eval $ac_compile) 2>&5
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472 (exit $ac_status); } &&
5473 { ac_try
='test -s conftest.$ac_objext'
5474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); }; }; then
5479 ac_cv_have_decl_sys_siglist
=yes
5481 echo "$as_me: failed program was:" >&5
5482 sed 's/^/| /' conftest.
$ac_ext >&5
5484 ac_cv_have_decl_sys_siglist
=no
5486 rm -f conftest.
$ac_objext conftest.
$ac_ext
5488 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
5489 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
5490 if test $ac_cv_have_decl_sys_siglist = yes; then
5492 cat >>confdefs.h
<<_ACEOF
5493 #define HAVE_DECL_SYS_SIGLIST 1
5498 cat >>confdefs.h
<<_ACEOF
5499 #define HAVE_DECL_SYS_SIGLIST 0
5506 if test $ac_cv_have_decl_sys_siglist != yes; then
5507 # For Tru64, at least:
5508 echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
5509 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6
5510 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
5511 echo $ECHO_N "(cached) $ECHO_C" >&6
5513 cat >conftest.
$ac_ext <<_ACEOF
5514 #line $LINENO "configure"
5517 cat confdefs.h
>>conftest.
$ac_ext
5518 cat >>conftest.
$ac_ext <<_ACEOF
5519 /* end confdefs.h. */
5520 $ac_includes_default
5524 #ifndef __sys_siglist
5525 char *p = (char *) __sys_siglist;
5532 rm -f conftest.
$ac_objext
5533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5534 (eval $ac_compile) 2>&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); } &&
5538 { ac_try
='test -s conftest.$ac_objext'
5539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543 (exit $ac_status); }; }; then
5544 ac_cv_have_decl___sys_siglist
=yes
5546 echo "$as_me: failed program was:" >&5
5547 sed 's/^/| /' conftest.
$ac_ext >&5
5549 ac_cv_have_decl___sys_siglist
=no
5551 rm -f conftest.
$ac_objext conftest.
$ac_ext
5553 echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
5554 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6
5555 if test $ac_cv_have_decl___sys_siglist = yes; then
5557 cat >>confdefs.h
<<_ACEOF
5558 #define HAVE_DECL___SYS_SIGLIST 1
5563 cat >>confdefs.h
<<_ACEOF
5564 #define HAVE_DECL___SYS_SIGLIST 0
5571 if test $ac_cv_have_decl___sys_siglist = yes; then
5573 cat >>confdefs.h
<<\_ACEOF
5574 #define sys_siglist __sys_siglist
5579 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5580 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5581 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5582 echo $ECHO_N "(cached) $ECHO_C" >&6
5584 cat >conftest.
$ac_ext <<_ACEOF
5585 #line $LINENO "configure"
5588 cat confdefs.h
>>conftest.
$ac_ext
5589 cat >>conftest.
$ac_ext <<_ACEOF
5590 /* end confdefs.h. */
5591 #include <sys/types.h>
5592 #include <sys/wait.h>
5594 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5597 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5605 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5610 rm -f conftest.
$ac_objext
5611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5612 (eval $ac_compile) 2>&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); } &&
5616 { ac_try
='test -s conftest.$ac_objext'
5617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; }; then
5622 ac_cv_header_sys_wait_h
=yes
5624 echo "$as_me: failed program was:" >&5
5625 sed 's/^/| /' conftest.
$ac_ext >&5
5627 ac_cv_header_sys_wait_h
=no
5629 rm -f conftest.
$ac_objext conftest.
$ac_ext
5631 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5632 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5633 if test $ac_cv_header_sys_wait_h = yes; then
5635 cat >>confdefs.h
<<\_ACEOF
5636 #define HAVE_SYS_WAIT_H 1
5642 echo "$as_me:$LINENO: checking for struct utimbuf" >&5
5643 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
5644 if test "${emacs_cv_struct_utimbuf+set}" = set; then
5645 echo $ECHO_N "(cached) $ECHO_C" >&6
5647 cat >conftest.
$ac_ext <<_ACEOF
5648 #line $LINENO "configure"
5651 cat confdefs.h
>>conftest.
$ac_ext
5652 cat >>conftest.
$ac_ext <<_ACEOF
5653 /* end confdefs.h. */
5654 #ifdef TIME_WITH_SYS_TIME
5655 #include <sys/time.h>
5658 #ifdef HAVE_SYS_TIME_H
5659 #include <sys/time.h>
5670 static struct utimbuf x; x.actime = x.modtime;
5675 rm -f conftest.
$ac_objext
5676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5677 (eval $ac_compile) 2>&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); } &&
5681 { ac_try
='test -s conftest.$ac_objext'
5682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 (exit $ac_status); }; }; then
5687 emacs_cv_struct_utimbuf
=yes
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.
$ac_ext >&5
5692 emacs_cv_struct_utimbuf
=no
5694 rm -f conftest.
$ac_objext conftest.
$ac_ext
5696 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
5697 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
5698 if test $emacs_cv_struct_utimbuf = yes; then
5700 cat >>confdefs.h
<<\_ACEOF
5701 #define HAVE_STRUCT_UTIMBUF 1
5706 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5707 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5708 if test "${ac_cv_type_signal+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5711 cat >conftest.
$ac_ext <<_ACEOF
5712 #line $LINENO "configure"
5715 cat confdefs.h
>>conftest.
$ac_ext
5716 cat >>conftest.
$ac_ext <<_ACEOF
5717 /* end confdefs.h. */
5718 #include <sys/types.h>
5724 extern "C" void (*signal (int, void (*)(int)))(int);
5726 void (*signal ()) ();
5737 rm -f conftest.
$ac_objext
5738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5739 (eval $ac_compile) 2>&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); } &&
5743 { ac_try
='test -s conftest.$ac_objext'
5744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }; }; then
5749 ac_cv_type_signal
=void
5751 echo "$as_me: failed program was:" >&5
5752 sed 's/^/| /' conftest.
$ac_ext >&5
5754 ac_cv_type_signal
=int
5756 rm -f conftest.
$ac_objext conftest.
$ac_ext
5758 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5759 echo "${ECHO_T}$ac_cv_type_signal" >&6
5761 cat >>confdefs.h
<<_ACEOF
5762 #define RETSIGTYPE $ac_cv_type_signal
5767 echo "$as_me:$LINENO: checking for speed_t" >&5
5768 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
5769 if test "${emacs_cv_speed_t+set}" = set; then
5770 echo $ECHO_N "(cached) $ECHO_C" >&6
5772 cat >conftest.
$ac_ext <<_ACEOF
5773 #line $LINENO "configure"
5776 cat confdefs.h
>>conftest.
$ac_ext
5777 cat >>conftest.
$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5779 #include <termios.h>
5788 rm -f conftest.
$ac_objext
5789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5790 (eval $ac_compile) 2>&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); } &&
5794 { ac_try
='test -s conftest.$ac_objext'
5795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); }; }; then
5800 emacs_cv_speed_t
=yes
5802 echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.
$ac_ext >&5
5807 rm -f conftest.
$ac_objext conftest.
$ac_ext
5809 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
5810 echo "${ECHO_T}$emacs_cv_speed_t" >&6
5811 if test $emacs_cv_speed_t = yes; then
5813 cat >>confdefs.h
<<\_ACEOF
5814 #define HAVE_SPEED_T 1
5819 echo "$as_me:$LINENO: checking for struct timeval" >&5
5820 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
5821 if test "${emacs_cv_struct_timeval+set}" = set; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 cat >conftest.
$ac_ext <<_ACEOF
5825 #line $LINENO "configure"
5828 cat confdefs.h
>>conftest.
$ac_ext
5829 cat >>conftest.
$ac_ext <<_ACEOF
5830 /* end confdefs.h. */
5831 #ifdef TIME_WITH_SYS_TIME
5832 #include <sys/time.h>
5835 #ifdef HAVE_SYS_TIME_H
5836 #include <sys/time.h>
5844 static struct timeval x; x.tv_sec = x.tv_usec;
5849 rm -f conftest.
$ac_objext
5850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5851 (eval $ac_compile) 2>&5
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); } &&
5855 { ac_try
='test -s conftest.$ac_objext'
5856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); }; }; then
5861 emacs_cv_struct_timeval
=yes
5863 echo "$as_me: failed program was:" >&5
5864 sed 's/^/| /' conftest.
$ac_ext >&5
5866 emacs_cv_struct_timeval
=no
5868 rm -f conftest.
$ac_objext conftest.
$ac_ext
5870 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
5871 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
5872 HAVE_TIMEVAL
=$emacs_cv_struct_timeval
5873 if test $emacs_cv_struct_timeval = yes; then
5875 cat >>confdefs.h
<<\_ACEOF
5876 #define HAVE_TIMEVAL 1
5881 echo "$as_me:$LINENO: checking for struct exception" >&5
5882 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
5883 if test "${emacs_cv_struct_exception+set}" = set; then
5884 echo $ECHO_N "(cached) $ECHO_C" >&6
5886 cat >conftest.
$ac_ext <<_ACEOF
5887 #line $LINENO "configure"
5890 cat confdefs.h
>>conftest.
$ac_ext
5891 cat >>conftest.
$ac_ext <<_ACEOF
5892 /* end confdefs.h. */
5897 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
5902 rm -f conftest.
$ac_objext
5903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5904 (eval $ac_compile) 2>&5
5906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907 (exit $ac_status); } &&
5908 { ac_try
='test -s conftest.$ac_objext'
5909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }; }; then
5914 emacs_cv_struct_exception
=yes
5916 echo "$as_me: failed program was:" >&5
5917 sed 's/^/| /' conftest.
$ac_ext >&5
5919 emacs_cv_struct_exception
=no
5921 rm -f conftest.
$ac_objext conftest.
$ac_ext
5923 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
5924 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
5925 HAVE_EXCEPTION
=$emacs_cv_struct_exception
5926 if test $emacs_cv_struct_exception != yes; then
5928 cat >>confdefs.h
<<\_ACEOF
5929 #define NO_MATHERR 1
5934 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5935 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5936 if test "${ac_cv_struct_tm+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5939 cat >conftest.
$ac_ext <<_ACEOF
5940 #line $LINENO "configure"
5943 cat confdefs.h
>>conftest.
$ac_ext
5944 cat >>conftest.
$ac_ext <<_ACEOF
5945 /* end confdefs.h. */
5946 #include <sys/types.h>
5952 struct tm *tp; tp->tm_sec;
5957 rm -f conftest.
$ac_objext
5958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5959 (eval $ac_compile) 2>&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); } &&
5963 { ac_try
='test -s conftest.$ac_objext'
5964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); }; }; then
5969 ac_cv_struct_tm
=time.h
5971 echo "$as_me: failed program was:" >&5
5972 sed 's/^/| /' conftest.
$ac_ext >&5
5974 ac_cv_struct_tm
=sys
/time.h
5976 rm -f conftest.
$ac_objext conftest.
$ac_ext
5978 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5979 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5980 if test $ac_cv_struct_tm = sys
/time.h
; then
5982 cat >>confdefs.h
<<\_ACEOF
5983 #define TM_IN_SYS_TIME 1
5988 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
5989 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
5990 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
5991 echo $ECHO_N "(cached) $ECHO_C" >&6
5993 cat >conftest.
$ac_ext <<_ACEOF
5994 #line $LINENO "configure"
5997 cat confdefs.h
>>conftest.
$ac_ext
5998 cat >>conftest.
$ac_ext <<_ACEOF
5999 /* end confdefs.h. */
6000 #include <sys/types.h>
6001 #include <$ac_cv_struct_tm>
6007 static struct tm ac_aggr;
6008 if (ac_aggr.tm_zone)
6014 rm -f conftest.
$ac_objext
6015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6016 (eval $ac_compile) 2>&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); } &&
6020 { ac_try
='test -s conftest.$ac_objext'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; }; then
6026 ac_cv_member_struct_tm_tm_zone
=yes
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.
$ac_ext >&5
6031 cat >conftest.
$ac_ext <<_ACEOF
6032 #line $LINENO "configure"
6035 cat confdefs.h
>>conftest.
$ac_ext
6036 cat >>conftest.
$ac_ext <<_ACEOF
6037 /* end confdefs.h. */
6038 #include <sys/types.h>
6039 #include <$ac_cv_struct_tm>
6045 static struct tm ac_aggr;
6046 if (sizeof ac_aggr.tm_zone)
6052 rm -f conftest.
$ac_objext
6053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6054 (eval $ac_compile) 2>&5
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); } &&
6058 { ac_try
='test -s conftest.$ac_objext'
6059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); }; }; then
6064 ac_cv_member_struct_tm_tm_zone
=yes
6066 echo "$as_me: failed program was:" >&5
6067 sed 's/^/| /' conftest.
$ac_ext >&5
6069 ac_cv_member_struct_tm_tm_zone
=no
6071 rm -f conftest.
$ac_objext conftest.
$ac_ext
6073 rm -f conftest.
$ac_objext conftest.
$ac_ext
6075 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6076 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
6077 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6079 cat >>confdefs.h
<<_ACEOF
6080 #define HAVE_STRUCT_TM_TM_ZONE 1
6086 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6088 cat >>confdefs.h
<<\_ACEOF
6089 #define HAVE_TM_ZONE 1
6093 echo "$as_me:$LINENO: checking for tzname" >&5
6094 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6095 if test "${ac_cv_var_tzname+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 cat >conftest.
$ac_ext <<_ACEOF
6099 #line $LINENO "configure"
6102 cat confdefs.h
>>conftest.
$ac_ext
6103 cat >>conftest.
$ac_ext <<_ACEOF
6104 /* end confdefs.h. */
6106 #ifndef tzname /* For SGI. */
6107 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6118 rm -f conftest.
$ac_objext conftest
$ac_exeext
6119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6120 (eval $ac_link) 2>&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); } &&
6124 { ac_try
='test -s conftest$ac_exeext'
6125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); }; }; then
6130 ac_cv_var_tzname
=yes
6132 echo "$as_me: failed program was:" >&5
6133 sed 's/^/| /' conftest.
$ac_ext >&5
6137 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6139 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6140 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6141 if test $ac_cv_var_tzname = yes; then
6143 cat >>confdefs.h
<<\_ACEOF
6144 #define HAVE_TZNAME 1
6150 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
6151 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
6152 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
6153 echo $ECHO_N "(cached) $ECHO_C" >&6
6155 cat >conftest.
$ac_ext <<_ACEOF
6156 #line $LINENO "configure"
6159 cat confdefs.h
>>conftest.
$ac_ext
6160 cat >>conftest.
$ac_ext <<_ACEOF
6161 /* end confdefs.h. */
6167 static struct tm ac_aggr;
6168 if (ac_aggr.tm_gmtoff)
6174 rm -f conftest.
$ac_objext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6176 (eval $ac_compile) 2>&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); } &&
6180 { ac_try
='test -s conftest.$ac_objext'
6181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); }; }; then
6186 ac_cv_member_struct_tm_tm_gmtoff
=yes
6188 echo "$as_me: failed program was:" >&5
6189 sed 's/^/| /' conftest.
$ac_ext >&5
6191 cat >conftest.
$ac_ext <<_ACEOF
6192 #line $LINENO "configure"
6195 cat confdefs.h
>>conftest.
$ac_ext
6196 cat >>conftest.
$ac_ext <<_ACEOF
6197 /* end confdefs.h. */
6203 static struct tm ac_aggr;
6204 if (sizeof ac_aggr.tm_gmtoff)
6210 rm -f conftest.
$ac_objext
6211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6212 (eval $ac_compile) 2>&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); } &&
6216 { ac_try
='test -s conftest.$ac_objext'
6217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }; }; then
6222 ac_cv_member_struct_tm_tm_gmtoff
=yes
6224 echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.
$ac_ext >&5
6227 ac_cv_member_struct_tm_tm_gmtoff
=no
6229 rm -f conftest.
$ac_objext conftest.
$ac_ext
6231 rm -f conftest.
$ac_objext conftest.
$ac_ext
6233 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
6234 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
6235 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
6237 cat >>confdefs.h
<<\_ACEOF
6238 #define HAVE_TM_GMTOFF 1
6245 echo "$as_me:$LINENO: checking for function prototypes" >&5
6246 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
6247 if test "$ac_cv_prog_cc_stdc" != no
; then
6248 echo "$as_me:$LINENO: result: yes" >&5
6249 echo "${ECHO_T}yes" >&6
6251 cat >>confdefs.h
<<\_ACEOF
6252 #define PROTOTYPES 1
6256 cat >>confdefs.h
<<\_ACEOF
6257 #define __PROTOTYPES 1
6261 echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6
6265 echo "$as_me:$LINENO: checking for working volatile" >&5
6266 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
6267 if test "${ac_cv_c_volatile+set}" = set; then
6268 echo $ECHO_N "(cached) $ECHO_C" >&6
6270 cat >conftest.
$ac_ext <<_ACEOF
6271 #line $LINENO "configure"
6274 cat confdefs.h
>>conftest.
$ac_ext
6275 cat >>conftest.
$ac_ext <<_ACEOF
6276 /* end confdefs.h. */
6288 rm -f conftest.
$ac_objext
6289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6290 (eval $ac_compile) 2>&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } &&
6294 { ac_try
='test -s conftest.$ac_objext'
6295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; }; then
6300 ac_cv_c_volatile
=yes
6302 echo "$as_me: failed program was:" >&5
6303 sed 's/^/| /' conftest.
$ac_ext >&5
6307 rm -f conftest.
$ac_objext conftest.
$ac_ext
6309 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
6310 echo "${ECHO_T}$ac_cv_c_volatile" >&6
6311 if test $ac_cv_c_volatile = no
; then
6313 cat >>confdefs.h
<<\_ACEOF
6319 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6320 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6321 if test "${ac_cv_c_const+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 cat >conftest.
$ac_ext <<_ACEOF
6325 #line $LINENO "configure"
6328 cat confdefs.h
>>conftest.
$ac_ext
6329 cat >>conftest.
$ac_ext <<_ACEOF
6330 /* end confdefs.h. */
6335 /* FIXME: Include the comments suggested by Paul. */
6337 /* Ultrix mips cc rejects this. */
6338 typedef int charset[2];
6340 /* SunOS 4.1.1 cc rejects this. */
6341 char const *const *ccp;
6343 /* NEC SVR4.0.2 mips cc rejects this. */
6344 struct point {int x, y;};
6345 static struct point const zero = {0,0};
6346 /* AIX XL C 1.02.0.0 rejects this.
6347 It does not let you subtract one const X* pointer from another in
6348 an arm of an if-expression whose if-part is not a constant
6350 const char *g = "string";
6351 ccp = &g + (g ? g-g : 0);
6352 /* HPUX 7.0 cc rejects these. */
6355 ccp = (char const *const *) p;
6356 { /* SCO 3.2v4 cc rejects this. */
6358 char const *s = 0 ? (char *) 0 : (char const *) 0;
6362 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6364 const int *foo = &x[0];
6367 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6368 typedef const int *iptr;
6372 { /* AIX XL C 1.02.0.0 rejects this saying
6373 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6374 struct s { int j; const int *ap[3]; };
6375 struct s *b; b->j = 5;
6377 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6386 rm -f conftest.
$ac_objext
6387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6388 (eval $ac_compile) 2>&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try
='test -s conftest.$ac_objext'
6393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); }; }; then
6400 echo "$as_me: failed program was:" >&5
6401 sed 's/^/| /' conftest.
$ac_ext >&5
6405 rm -f conftest.
$ac_objext conftest.
$ac_ext
6407 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6408 echo "${ECHO_T}$ac_cv_c_const" >&6
6409 if test $ac_cv_c_const = no
; then
6411 cat >>confdefs.h
<<\_ACEOF
6417 echo "$as_me:$LINENO: checking for void * support" >&5
6418 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
6419 if test "${emacs_cv_void_star+set}" = set; then
6420 echo $ECHO_N "(cached) $ECHO_C" >&6
6422 cat >conftest.
$ac_ext <<_ACEOF
6423 #line $LINENO "configure"
6426 cat confdefs.h
>>conftest.
$ac_ext
6427 cat >>conftest.
$ac_ext <<_ACEOF
6428 /* end confdefs.h. */
6438 rm -f conftest.
$ac_objext
6439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6440 (eval $ac_compile) 2>&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); } &&
6444 { ac_try
='test -s conftest.$ac_objext'
6445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); }; }; then
6450 emacs_cv_void_star
=yes
6452 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.
$ac_ext >&5
6455 emacs_cv_void_star
=no
6457 rm -f conftest.
$ac_objext conftest.
$ac_ext
6459 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
6460 echo "${ECHO_T}$emacs_cv_void_star" >&6
6461 if test $emacs_cv_void_star = yes; then
6462 cat >>confdefs.h
<<\_ACEOF
6463 #define POINTER_TYPE void
6467 cat >>confdefs.h
<<\_ACEOF
6468 #define POINTER_TYPE char
6475 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6476 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6477 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
6478 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6479 echo $ECHO_N "(cached) $ECHO_C" >&6
6481 cat >conftest.
make <<\_ACEOF
6483 @
echo 'ac_maketemp="$(MAKE)"'
6485 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6486 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6487 if test -n "$ac_maketemp"; then
6488 eval ac_cv_prog_make_
${ac_make}_set
=yes
6490 eval ac_cv_prog_make_
${ac_make}_set
=no
6494 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6495 echo "$as_me:$LINENO: result: yes" >&5
6496 echo "${ECHO_T}yes" >&6
6499 echo "$as_me:$LINENO: result: no" >&5
6500 echo "${ECHO_T}no" >&6
6501 SET_MAKE
="MAKE=${MAKE-make}"
6505 echo "$as_me:$LINENO: checking for long file names" >&5
6506 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
6507 if test "${ac_cv_sys_long_file_names+set}" = set; then
6508 echo $ECHO_N "(cached) $ECHO_C" >&6
6510 ac_cv_sys_long_file_names
=yes
6511 # Test for long file names in all the places we know might matter:
6512 # . the current directory, where building will happen
6513 # $prefix/lib where we will be installing things
6514 # $exec_prefix/lib likewise
6515 # eval it to expand exec_prefix.
6516 # $TMPDIR if set, where it might want to write temporary files
6517 # if $TMPDIR is not set:
6518 # /tmp where it might want to write temporary files
6521 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
6524 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
6526 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
6527 test -d $ac_dir ||
continue
6528 test -w $ac_dir ||
continue # It is less confusing to not echo anything here.
6529 ac_xdir
=$ac_dir/cf$$
6530 (umask 077 && mkdir
$ac_xdir 2>/dev
/null
) ||
continue
6531 ac_tf1
=$ac_xdir/conftest9012345
6532 ac_tf2
=$ac_xdir/conftest9012346
6533 (echo 1 >$ac_tf1) 2>/dev
/null
6534 (echo 2 >$ac_tf2) 2>/dev
/null
6535 ac_val
=`cat $ac_tf1 2>/dev/null`
6536 if test ! -f $ac_tf1 ||
test "$ac_val" != 1; then
6537 ac_cv_sys_long_file_names
=no
6538 rm -rf $ac_xdir 2>/dev
/null
6541 rm -rf $ac_xdir 2>/dev
/null
6544 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
6545 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
6546 if test $ac_cv_sys_long_file_names = yes; then
6548 cat >>confdefs.h
<<\_ACEOF
6549 #define HAVE_LONG_FILE_NAMES 1
6555 #### Choose a window system.
6557 echo "$as_me:$LINENO: checking for X" >&5
6558 echo $ECHO_N "checking for X... $ECHO_C" >&6
6561 # Check whether --with-x or --without-x was given.
6562 if test "${with_x+set}" = set; then
6566 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6567 if test "x$with_x" = xno
; then
6568 # The user explicitly disabled X.
6571 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6572 # Both variables are already set.
6575 if test "${ac_cv_have_x+set}" = set; then
6576 echo $ECHO_N "(cached) $ECHO_C" >&6
6578 # One or both of the vars are not set, and there is no cached value.
6579 ac_x_includes
=no ac_x_libraries
=no
6581 if mkdir conftest.dir
; then
6583 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6584 cat >Imakefile
<<'_ACEOF'
6586 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6588 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6589 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6590 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6591 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6592 for ac_extension
in a so sl
; do
6593 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6594 test -f $ac_im_libdir/libX11.
$ac_extension; then
6595 ac_im_usrlibdir
=$ac_im_libdir; break
6598 # Screen out bogus values from the imake configuration. They are
6599 # bogus both because they are the default anyway, and because
6600 # using them would break gcc on systems where it needs fixed includes.
6601 case $ac_im_incroot in
6603 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
6605 case $ac_im_usrlibdir in
6607 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
6614 # Standard set of common directories for X headers.
6615 # Check X11 before X11Rn because it is often a symlink to the current release.
6627 /usr/local/X11/include
6628 /usr/local/X11R6/include
6629 /usr/local/X11R5/include
6630 /usr/local/X11R4/include
6632 /usr/local/include/X11
6633 /usr/local/include/X11R6
6634 /usr/local/include/X11R5
6635 /usr/local/include/X11R4
6639 /usr/XFree86/include/X11
6643 /usr/unsupported/include
6645 /usr/local/x11r5/include
6646 /usr/lpp/Xamples/include
6648 /usr/openwin/include
6649 /usr/openwin/share/include'
6651 if test "$ac_x_includes" = no
; then
6652 # Guess where to find include files, by looking for Intrinsic.h.
6653 # First, try using that file with no special directory specified.
6654 cat >conftest.
$ac_ext <<_ACEOF
6655 #line $LINENO "configure"
6658 cat confdefs.h
>>conftest.
$ac_ext
6659 cat >>conftest.
$ac_ext <<_ACEOF
6660 /* end confdefs.h. */
6661 #include <X11/Intrinsic.h>
6663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6664 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6666 grep -v '^ *+' conftest.er1
>conftest.err
6668 cat conftest.err
>&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } >/dev
/null
; then
6671 if test -s conftest.err
; then
6672 ac_cpp_err
=$ac_c_preproc_warn_flag
6679 if test -z "$ac_cpp_err"; then
6680 # We can compile using X headers with no special include directory.
6683 echo "$as_me: failed program was:" >&5
6684 sed 's/^/| /' conftest.
$ac_ext >&5
6686 for ac_dir
in $ac_x_header_dirs; do
6687 if test -r "$ac_dir/X11/Intrinsic.h"; then
6688 ac_x_includes
=$ac_dir
6693 rm -f conftest.err conftest.
$ac_ext
6694 fi # $ac_x_includes = no
6696 if test "$ac_x_libraries" = no
; then
6697 # Check for the libraries.
6698 # See if we find them without any special options.
6699 # Don't add to $LIBS permanently.
6702 cat >conftest.
$ac_ext <<_ACEOF
6703 #line $LINENO "configure"
6706 cat confdefs.h
>>conftest.
$ac_ext
6707 cat >>conftest.
$ac_ext <<_ACEOF
6708 /* end confdefs.h. */
6709 #include <X11/Intrinsic.h>
6718 rm -f conftest.
$ac_objext conftest
$ac_exeext
6719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6720 (eval $ac_link) 2>&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); } &&
6724 { ac_try
='test -s conftest$ac_exeext'
6725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); }; }; then
6731 # We can link X programs with no special library path.
6734 echo "$as_me: failed program was:" >&5
6735 sed 's/^/| /' conftest.
$ac_ext >&5
6738 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6740 # Don't even attempt the hair of trying to link an X program!
6741 for ac_extension
in a so sl
; do
6742 if test -r $ac_dir/libXt.
$ac_extension; then
6743 ac_x_libraries
=$ac_dir
6749 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6750 fi # $ac_x_libraries = no
6752 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
6753 # Didn't find X anywhere. Cache the known absence of X.
6754 ac_cv_have_x
="have_x=no"
6756 # Record where we found X for the cache.
6757 ac_cv_have_x
="have_x=yes \
6758 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
6763 eval "$ac_cv_have_x"
6766 if test "$have_x" != yes; then
6767 echo "$as_me:$LINENO: result: $have_x" >&5
6768 echo "${ECHO_T}$have_x" >&6
6771 # If each of the values was on the command line, it overrides each guess.
6772 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
6773 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
6774 # Update the cache value to reflect the command line values.
6775 ac_cv_have_x
="have_x=yes \
6776 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
6777 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
6778 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
6781 if test "$no_x" = yes; then
6787 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
6788 LD_SWITCH_X_SITE
=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
6789 LD_SWITCH_X_SITE_AUX
=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
6790 x_default_search_path
=""
6791 for x_library
in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
6793 ${x_library}/X11/%L/%T/%N%C%S:\
6794 ${x_library}/X11/%l/%T/%N%C%S:\
6795 ${x_library}/X11/%T/%N%C%S:\
6796 ${x_library}/X11/%L/%T/%N%S:\
6797 ${x_library}/X11/%l/%T/%N%S:\
6798 ${x_library}/X11/%T/%N%S"
6799 if test x
"${x_default_search_path}" = x
; then
6800 x_default_search_path
=${x_search_path}
6802 x_default_search_path
="${x_search_path}:${x_default_search_path}"
6806 if test "${x_includes}" != NONE
&& test -n "${x_includes}"; then
6807 C_SWITCH_X_SITE
=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
6810 if test x
"${x_includes}" = x
; then
6811 bitmapdir
=/usr
/include
/X11
/bitmaps
6813 # accumulate include directories that have X11 bitmap subdirectories
6815 for bmd
in `echo ${x_includes} | sed -e "s/:/ /g"`; do
6816 if test -d "${bmd}/X11/bitmaps"; then
6817 bmd_acc
="${bmd_acc}:${bmd}/X11/bitmaps"
6819 if test -d "${bmd}/bitmaps"; then
6820 bmd_acc
="${bmd_acc}:${bmd}/bitmaps"
6823 if test ${bmd_acc} != "dummyval"; then
6824 bitmapdir
=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
6828 case "${window_system}" in
6832 case "${with_x_toolkit}" in
6833 athena | lucid
) USE_X_TOOLKIT
=LUCID
;;
6834 motif
) USE_X_TOOLKIT
=MOTIF
;;
6836 USE_X_TOOLKIT
=none
;;
6837 no
) USE_X_TOOLKIT
=none
;;
6838 * ) USE_X_TOOLKIT
=maybe
;;
6848 ### If we're using X11, we should use the X menu package.
6851 yes ) HAVE_MENUS
=yes ;;
6854 if test "${opsys}" = "hpux9"; then
6855 case "${x_libraries}" in
6857 opsysfile
="s/hpux9-x11r4.h"
6862 if test "${opsys}" = "hpux9shr"; then
6863 case "${x_libraries}" in
6865 opsysfile
="s/hpux9shxr4.h"
6870 ### Compute the unexec source name from the object name.
6871 UNEXEC_SRC
="`echo ${unexec} | sed 's/\.o/.c/'`"
6873 # Do the opsystem or machine files prohibit the use of the GNU malloc?
6874 # Assume not, until told otherwise.
6877 echo "$as_me:$LINENO: checking for malloc_get_state" >&5
6878 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
6879 if test "${ac_cv_func_malloc_get_state+set}" = set; then
6880 echo $ECHO_N "(cached) $ECHO_C" >&6
6882 cat >conftest.
$ac_ext <<_ACEOF
6883 #line $LINENO "configure"
6886 cat confdefs.h
>>conftest.
$ac_ext
6887 cat >>conftest.
$ac_ext <<_ACEOF
6888 /* end confdefs.h. */
6889 /* System header to define __stub macros and hopefully few prototypes,
6890 which can conflict with char malloc_get_state (); below.
6891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6892 <limits.h> exists even on freestanding compilers. */
6894 # include <limits.h>
6896 # include <assert.h>
6898 /* Override any gcc2 internal prototype to avoid an error. */
6903 /* We use char because int might match the return type of a gcc2
6904 builtin and then its argument prototype would still apply. */
6905 char malloc_get_state ();
6906 /* The GNU C library defines this for functions which it implements
6907 to always fail with ENOSYS. Some functions are actually named
6908 something starting with __ and the normal name is an alias. */
6909 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
6912 char (*f) () = malloc_get_state;
6921 return f != malloc_get_state;
6926 rm -f conftest.
$ac_objext conftest
$ac_exeext
6927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6928 (eval $ac_link) 2>&5
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); } &&
6932 { ac_try
='test -s conftest$ac_exeext'
6933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); }; }; then
6938 ac_cv_func_malloc_get_state
=yes
6940 echo "$as_me: failed program was:" >&5
6941 sed 's/^/| /' conftest.
$ac_ext >&5
6943 ac_cv_func_malloc_get_state
=no
6945 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6947 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
6948 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
6949 if test $ac_cv_func_malloc_get_state = yes; then
6955 echo "$as_me:$LINENO: checking for malloc_set_state" >&5
6956 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
6957 if test "${ac_cv_func_malloc_set_state+set}" = set; then
6958 echo $ECHO_N "(cached) $ECHO_C" >&6
6960 cat >conftest.
$ac_ext <<_ACEOF
6961 #line $LINENO "configure"
6964 cat confdefs.h
>>conftest.
$ac_ext
6965 cat >>conftest.
$ac_ext <<_ACEOF
6966 /* end confdefs.h. */
6967 /* System header to define __stub macros and hopefully few prototypes,
6968 which can conflict with char malloc_set_state (); below.
6969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6970 <limits.h> exists even on freestanding compilers. */
6972 # include <limits.h>
6974 # include <assert.h>
6976 /* Override any gcc2 internal prototype to avoid an error. */
6981 /* We use char because int might match the return type of a gcc2
6982 builtin and then its argument prototype would still apply. */
6983 char malloc_set_state ();
6984 /* The GNU C library defines this for functions which it implements
6985 to always fail with ENOSYS. Some functions are actually named
6986 something starting with __ and the normal name is an alias. */
6987 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
6990 char (*f) () = malloc_set_state;
6999 return f != malloc_set_state;
7004 rm -f conftest.
$ac_objext conftest
$ac_exeext
7005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7006 (eval $ac_link) 2>&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); } &&
7010 { ac_try
='test -s conftest$ac_exeext'
7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); }; }; then
7016 ac_cv_func_malloc_set_state
=yes
7018 echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.
$ac_ext >&5
7021 ac_cv_func_malloc_set_state
=no
7023 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7025 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
7026 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
7027 if test $ac_cv_func_malloc_set_state = yes; then
7033 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
7034 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
7035 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7038 cat >conftest.
$ac_ext <<_ACEOF
7039 #line $LINENO "configure"
7042 cat confdefs.h
>>conftest.
$ac_ext
7043 cat >>conftest.
$ac_ext <<_ACEOF
7044 /* end confdefs.h. */
7045 extern void (* __after_morecore_hook)();
7049 __after_morecore_hook = 0
7054 rm -f conftest.
$ac_objext conftest
$ac_exeext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7056 (eval $ac_link) 2>&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); } &&
7060 { ac_try
='test -s conftest$ac_exeext'
7061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); }; }; then
7066 emacs_cv_var___after_morecore_hook
=yes
7068 echo "$as_me: failed program was:" >&5
7069 sed 's/^/| /' conftest.
$ac_ext >&5
7071 emacs_cv_var___after_morecore_hook
=no
7073 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7075 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
7076 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
7077 if test $emacs_cv_var___after_morecore_hook = no
; then
7080 if test "${system_malloc}" = "yes"; then
7083 (The GNU allocators don't work with this system configuration.)"
7085 if test "$doug_lea_malloc" = "yes" ; then
7086 if test "$GNU_MALLOC" = yes ; then
7088 (Using Doug Lea's new malloc from the GNU C Library.)"
7091 cat >>confdefs.h
<<\_ACEOF
7092 #define DOUG_LEA_MALLOC 1
7097 if test x
"${REL_ALLOC}" = x
; then
7098 REL_ALLOC
=${GNU_MALLOC}
7104 for ac_header
in stdlib.h unistd.h
7106 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7108 echo "$as_me:$LINENO: checking for $ac_header" >&5
7109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7116 # Is the header compilable?
7117 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7119 cat >conftest.
$ac_ext <<_ACEOF
7120 #line $LINENO "configure"
7123 cat confdefs.h
>>conftest.
$ac_ext
7124 cat >>conftest.
$ac_ext <<_ACEOF
7125 /* end confdefs.h. */
7126 $ac_includes_default
7127 #include <$ac_header>
7129 rm -f conftest.
$ac_objext
7130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7131 (eval $ac_compile) 2>&5
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); } &&
7135 { ac_try
='test -s conftest.$ac_objext'
7136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); }; }; then
7141 ac_header_compiler
=yes
7143 echo "$as_me: failed program was:" >&5
7144 sed 's/^/| /' conftest.
$ac_ext >&5
7146 ac_header_compiler
=no
7148 rm -f conftest.
$ac_objext conftest.
$ac_ext
7149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7150 echo "${ECHO_T}$ac_header_compiler" >&6
7152 # Is the header present?
7153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7155 cat >conftest.
$ac_ext <<_ACEOF
7156 #line $LINENO "configure"
7159 cat confdefs.h
>>conftest.
$ac_ext
7160 cat >>conftest.
$ac_ext <<_ACEOF
7161 /* end confdefs.h. */
7162 #include <$ac_header>
7164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7165 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7167 grep -v '^ *+' conftest.er1
>conftest.err
7169 cat conftest.err
>&5
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); } >/dev
/null
; then
7172 if test -s conftest.err
; then
7173 ac_cpp_err
=$ac_c_preproc_warn_flag
7180 if test -z "$ac_cpp_err"; then
7181 ac_header_preproc
=yes
7183 echo "$as_me: failed program was:" >&5
7184 sed 's/^/| /' conftest.
$ac_ext >&5
7186 ac_header_preproc
=no
7188 rm -f conftest.err conftest.
$ac_ext
7189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7190 echo "${ECHO_T}$ac_header_preproc" >&6
7192 # So? What about this header?
7193 case $ac_header_compiler:$ac_header_preproc in
7195 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7201 ## ------------------------------------ ##
7202 ## Report this to bug-autoconf@gnu.org. ##
7203 ## ------------------------------------ ##
7206 sed "s/^/$as_me: WARNING: /" >&2
7209 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7210 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7211 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7212 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7217 ## ------------------------------------ ##
7218 ## Report this to bug-autoconf@gnu.org. ##
7219 ## ------------------------------------ ##
7222 sed "s/^/$as_me: WARNING: /" >&2
7225 echo "$as_me:$LINENO: checking for $ac_header" >&5
7226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7228 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 eval "$as_ac_Header=$ac_header_preproc"
7232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7236 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7237 cat >>confdefs.h
<<_ACEOF
7238 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7246 for ac_func
in getpagesize
7248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7249 echo "$as_me:$LINENO: checking for $ac_func" >&5
7250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7251 if eval "test \"\${$as_ac_var+set}\" = set"; then
7252 echo $ECHO_N "(cached) $ECHO_C" >&6
7254 cat >conftest.
$ac_ext <<_ACEOF
7255 #line $LINENO "configure"
7258 cat confdefs.h
>>conftest.
$ac_ext
7259 cat >>conftest.
$ac_ext <<_ACEOF
7260 /* end confdefs.h. */
7261 /* System header to define __stub macros and hopefully few prototypes,
7262 which can conflict with char $ac_func (); below.
7263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7264 <limits.h> exists even on freestanding compilers. */
7266 # include <limits.h>
7268 # include <assert.h>
7270 /* Override any gcc2 internal prototype to avoid an error. */
7275 /* We use char because int might match the return type of a gcc2
7276 builtin and then its argument prototype would still apply. */
7278 /* The GNU C library defines this for functions which it implements
7279 to always fail with ENOSYS. Some functions are actually named
7280 something starting with __ and the normal name is an alias. */
7281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7284 char (*f) () = $ac_func;
7293 return f != $ac_func;
7298 rm -f conftest.
$ac_objext conftest
$ac_exeext
7299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7300 (eval $ac_link) 2>&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); } &&
7304 { ac_try
='test -s conftest$ac_exeext'
7305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309 (exit $ac_status); }; }; then
7310 eval "$as_ac_var=yes"
7312 echo "$as_me: failed program was:" >&5
7313 sed 's/^/| /' conftest.
$ac_ext >&5
7315 eval "$as_ac_var=no"
7317 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7321 if test `eval echo '${'$as_ac_var'}'` = yes; then
7322 cat >>confdefs.h
<<_ACEOF
7323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7329 echo "$as_me:$LINENO: checking for working mmap" >&5
7330 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
7331 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7334 if test "$cross_compiling" = yes; then
7335 ac_cv_func_mmap_fixed_mapped
=no
7337 cat >conftest.
$ac_ext <<_ACEOF
7338 #line $LINENO "configure"
7341 cat confdefs.h
>>conftest.
$ac_ext
7342 cat >>conftest.
$ac_ext <<_ACEOF
7343 /* end confdefs.h. */
7344 $ac_includes_default
7345 /* malloc might have been renamed as rpl_malloc. */
7348 /* Thanks to Mike Haertel and Jim Avera for this test.
7349 Here is a matrix of mmap possibilities:
7350 mmap private not fixed
7351 mmap private fixed at somewhere currently unmapped
7352 mmap private fixed at somewhere already mapped
7353 mmap shared not fixed
7354 mmap shared fixed at somewhere currently unmapped
7355 mmap shared fixed at somewhere already mapped
7356 For private mappings, we should verify that changes cannot be read()
7357 back from the file, nor mmap's back from the file at a different
7358 address. (There have been systems where private was not correctly
7359 implemented like the infamous i386 svr4.0, and systems where the
7360 VM page cache was not coherent with the file system buffer cache
7361 like early versions of FreeBSD and possibly contemporary NetBSD.)
7362 For shared mappings, we should conversely verify that changes get
7363 propagated back to all the places they're supposed to be.
7365 Grep wants private fixed already mapped.
7366 The main things grep needs to know about mmap are:
7367 * does it exist and is it safe to write into the mmap'd area
7368 * how to use it (BSD variants) */
7371 #include <sys/mman.h>
7373 #if !STDC_HEADERS && !HAVE_STDLIB_H
7377 /* This mess was copied from the GNU getpagesize.h. */
7378 #if !HAVE_GETPAGESIZE
7379 /* Assume that all systems that can run configure have sys/param.h. */
7380 # if !HAVE_SYS_PARAM_H
7381 # define HAVE_SYS_PARAM_H 1
7384 # ifdef _SC_PAGESIZE
7385 # define getpagesize() sysconf(_SC_PAGESIZE)
7386 # else /* no _SC_PAGESIZE */
7387 # if HAVE_SYS_PARAM_H
7388 # include <sys/param.h>
7389 # ifdef EXEC_PAGESIZE
7390 # define getpagesize() EXEC_PAGESIZE
7391 # else /* no EXEC_PAGESIZE */
7393 # define getpagesize() NBPG * CLSIZE
7396 # endif /* no CLSIZE */
7397 # else /* no NBPG */
7399 # define getpagesize() NBPC
7400 # else /* no NBPC */
7402 # define getpagesize() PAGESIZE
7403 # endif /* PAGESIZE */
7404 # endif /* no NBPC */
7405 # endif /* no NBPG */
7406 # endif /* no EXEC_PAGESIZE */
7407 # else /* no HAVE_SYS_PARAM_H */
7408 # define getpagesize() 8192 /* punt totally */
7409 # endif /* no HAVE_SYS_PARAM_H */
7410 # endif /* no _SC_PAGESIZE */
7412 #endif /* no HAVE_GETPAGESIZE */
7417 char *data, *data2, *data3;
7421 pagesize = getpagesize ();
7423 /* First, make a file with some known garbage in it. */
7424 data = (char *) malloc (pagesize);
7427 for (i = 0; i < pagesize; ++i)
7428 *(data + i) = rand ();
7430 fd = creat ("conftest.mmap", 0600);
7433 if (write (fd, data, pagesize) != pagesize)
7437 /* Next, try to mmap the file at a fixed address which already has
7438 something else allocated at it. If we can, also make sure that
7439 we see the same garbage. */
7440 fd = open ("conftest.mmap", O_RDWR);
7443 data2 = (char *) malloc (2 * pagesize);
7446 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
7447 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7448 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7450 for (i = 0; i < pagesize; ++i)
7451 if (*(data + i) != *(data2 + i))
7454 /* Finally, make sure that changes to the mapped area do not
7455 percolate back to the file as seen by read(). (This is a bug on
7456 some variants of i386 svr4.0.) */
7457 for (i = 0; i < pagesize; ++i)
7458 *(data2 + i) = *(data2 + i) + 1;
7459 data3 = (char *) malloc (pagesize);
7462 if (read (fd, data3, pagesize) != pagesize)
7464 for (i = 0; i < pagesize; ++i)
7465 if (*(data + i) != *(data3 + i))
7471 rm -f conftest
$ac_exeext
7472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7473 (eval $ac_link) 2>&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); }; }; then
7482 ac_cv_func_mmap_fixed_mapped
=yes
7484 echo "$as_me: program exited with status $ac_status" >&5
7485 echo "$as_me: failed program was:" >&5
7486 sed 's/^/| /' conftest.
$ac_ext >&5
7489 ac_cv_func_mmap_fixed_mapped
=no
7491 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7494 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7495 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7496 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7498 cat >>confdefs.h
<<\_ACEOF
7505 if test $use_mmap_for_buffers = yes; then
7509 LIBS
="$libsrc_libs $LIBS"
7512 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7513 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
7514 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7515 echo $ECHO_N "(cached) $ECHO_C" >&6
7517 ac_check_lib_save_LIBS
=$LIBS
7519 cat >conftest.
$ac_ext <<_ACEOF
7520 #line $LINENO "configure"
7523 cat confdefs.h
>>conftest.
$ac_ext
7524 cat >>conftest.
$ac_ext <<_ACEOF
7525 /* end confdefs.h. */
7527 /* Override any gcc2 internal prototype to avoid an error. */
7531 /* We use char because int might match the return type of a gcc2
7532 builtin and then its argument prototype would still apply. */
7542 rm -f conftest.
$ac_objext conftest
$ac_exeext
7543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7544 (eval $ac_link) 2>&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); } &&
7548 { ac_try
='test -s conftest$ac_exeext'
7549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); }; }; then
7554 ac_cv_lib_dnet_dnet_ntoa
=yes
7556 echo "$as_me: failed program was:" >&5
7557 sed 's/^/| /' conftest.
$ac_ext >&5
7559 ac_cv_lib_dnet_dnet_ntoa
=no
7561 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7562 LIBS
=$ac_check_lib_save_LIBS
7564 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7565 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
7566 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7567 cat >>confdefs.h
<<_ACEOF
7568 #define HAVE_LIBDNET 1
7576 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
7577 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
7578 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
7579 echo $ECHO_N "(cached) $ECHO_C" >&6
7581 ac_check_lib_save_LIBS
=$LIBS
7583 cat >conftest.
$ac_ext <<_ACEOF
7584 #line $LINENO "configure"
7587 cat confdefs.h
>>conftest.
$ac_ext
7588 cat >>conftest.
$ac_ext <<_ACEOF
7589 /* end confdefs.h. */
7600 rm -f conftest.
$ac_objext conftest
$ac_exeext
7601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7602 (eval $ac_link) 2>&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); } &&
7606 { ac_try
='test -s conftest$ac_exeext'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; }; then
7612 ac_cv_lib_Xbsd_main
=yes
7614 echo "$as_me: failed program was:" >&5
7615 sed 's/^/| /' conftest.
$ac_ext >&5
7617 ac_cv_lib_Xbsd_main
=no
7619 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7620 LIBS
=$ac_check_lib_save_LIBS
7622 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
7623 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
7624 if test $ac_cv_lib_Xbsd_main = yes; then
7625 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -lXbsd"
7630 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
7631 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
7632 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7635 ac_check_lib_save_LIBS
=$LIBS
7636 LIBS
="-lpthreads $LIBS"
7637 cat >conftest.
$ac_ext <<_ACEOF
7638 #line $LINENO "configure"
7641 cat confdefs.h
>>conftest.
$ac_ext
7642 cat >>conftest.
$ac_ext <<_ACEOF
7643 /* end confdefs.h. */
7645 /* Override any gcc2 internal prototype to avoid an error. */
7649 /* We use char because int might match the return type of a gcc2
7650 builtin and then its argument prototype would still apply. */
7660 rm -f conftest.
$ac_objext conftest
$ac_exeext
7661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7662 (eval $ac_link) 2>&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); } &&
7666 { ac_try
='test -s conftest$ac_exeext'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; }; then
7672 ac_cv_lib_pthreads_cma_open
=yes
7674 echo "$as_me: failed program was:" >&5
7675 sed 's/^/| /' conftest.
$ac_ext >&5
7677 ac_cv_lib_pthreads_cma_open
=no
7679 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7680 LIBS
=$ac_check_lib_save_LIBS
7682 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
7683 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
7684 if test $ac_cv_lib_pthreads_cma_open = yes; then
7685 cat >>confdefs.h
<<_ACEOF
7686 #define HAVE_LIBPTHREADS 1
7689 LIBS
="-lpthreads $LIBS"
7694 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
7695 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
7696 if test -d /usr
/X386
/include
; then
7698 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
7702 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
7703 echo "${ECHO_T}$HAVE_XFREE386" >&6
7705 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
7706 # used for the tests that follow. We set them back to REAL_CFLAGS and
7707 # REAL_CPPFLAGS later on.
7709 REAL_CPPFLAGS
="$CPPFLAGS"
7711 if test "${HAVE_X11}" = "yes"; then
7712 DEFS
="$C_SWITCH_X_SITE $DEFS"
7713 LDFLAGS
="$LDFLAGS $LD_SWITCH_X_SITE"
7715 CFLAGS
="$C_SWITCH_X_SITE $CFLAGS"
7716 CPPFLAGS
="$C_SWITCH_X_SITE $CPPFLAGS"
7718 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
7719 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
7720 # but it's more convenient here to set LD_RUN_PATH
7721 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
7722 if test "${x_libraries}" != NONE
&& test -n "${x_libraries}"; then
7723 LD_RUN_PATH
=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
7727 if test "${opsys}" = "gnu-linux"; then
7728 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
7729 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
7730 cat >conftest.
$ac_ext <<_ACEOF
7731 #line $LINENO "configure"
7734 cat confdefs.h
>>conftest.
$ac_ext
7735 cat >>conftest.
$ac_ext <<_ACEOF
7736 /* end confdefs.h. */
7741 XOpenDisplay ("foo");
7746 rm -f conftest.
$ac_objext conftest
$ac_exeext
7747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7748 (eval $ac_link) 2>&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); } &&
7752 { ac_try
='test -s conftest$ac_exeext'
7753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); }; }; then
7758 xlinux_first_failure
=no
7760 echo "$as_me: failed program was:" >&5
7761 sed 's/^/| /' conftest.
$ac_ext >&5
7763 xlinux_first_failure
=yes
7765 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7766 if test "${xlinux_first_failure}" = "yes"; then
7767 OLD_LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE"
7768 OLD_C_SWITCH_X_SITE
="$C_SWITCH_X_SITE"
7769 OLD_CPPFLAGS
="$CPPFLAGS"
7771 LD_SWITCH_X_SITE
="$LD_SWITCH_X_SITE -b i486-linuxaout"
7772 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE -b i486-linuxaout"
7773 CPPFLAGS
="$CPPFLAGS -b i486-linuxaout"
7774 LIBS
="$LIBS -b i486-linuxaout"
7775 cat >conftest.
$ac_ext <<_ACEOF
7776 #line $LINENO "configure"
7779 cat confdefs.h
>>conftest.
$ac_ext
7780 cat >>conftest.
$ac_ext <<_ACEOF
7781 /* end confdefs.h. */
7786 XOpenDisplay ("foo");
7791 rm -f conftest.
$ac_objext conftest
$ac_exeext
7792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7793 (eval $ac_link) 2>&5
7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796 (exit $ac_status); } &&
7797 { ac_try
='test -s conftest$ac_exeext'
7798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 (exit $ac_status); }; }; then
7803 xlinux_second_failure
=no
7805 echo "$as_me: failed program was:" >&5
7806 sed 's/^/| /' conftest.
$ac_ext >&5
7808 xlinux_second_failure
=yes
7810 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7811 if test "${xlinux_second_failure}" = "yes"; then
7812 # If we get the same failure with -b, there is no use adding -b.
7813 # So take it out. This plays safe.
7814 LD_SWITCH_X_SITE
="$OLD_LD_SWITCH_X_SITE"
7815 C_SWITCH_X_SITE
="$OLD_C_SWITCH_X_SITE"
7816 CPPFLAGS
="$OLD_CPPFLAGS"
7818 echo "$as_me:$LINENO: result: no" >&5
7819 echo "${ECHO_T}no" >&6
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7825 echo "$as_me:$LINENO: result: no" >&5
7826 echo "${ECHO_T}no" >&6
7830 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
7831 # header files included from there.
7832 echo "$as_me:$LINENO: checking for Xkb" >&5
7833 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
7834 cat >conftest.
$ac_ext <<_ACEOF
7835 #line $LINENO "configure"
7838 cat confdefs.h
>>conftest.
$ac_ext
7839 cat >>conftest.
$ac_ext <<_ACEOF
7840 /* end confdefs.h. */
7841 #include <X11/Xlib.h>
7842 #include <X11/XKBlib.h>
7846 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
7851 rm -f conftest.
$ac_objext conftest
$ac_exeext
7852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7853 (eval $ac_link) 2>&5
7855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856 (exit $ac_status); } &&
7857 { ac_try
='test -s conftest$ac_exeext'
7858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); }; }; then
7865 echo "$as_me: failed program was:" >&5
7866 sed 's/^/| /' conftest.
$ac_ext >&5
7870 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7871 echo "$as_me:$LINENO: result: $emacs_xkb" >&5
7872 echo "${ECHO_T}$emacs_xkb" >&6
7873 if test $emacs_xkb = yes; then
7875 cat >>confdefs.h
<<\_ACEOF
7876 #define HAVE_XKBGETKEYBOARD 1
7885 for ac_func
in XrmSetDatabase XScreenResourceString \
7886 XScreenNumberOfScreen XSetWMProtocols
7888 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7889 echo "$as_me:$LINENO: checking for $ac_func" >&5
7890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7891 if eval "test \"\${$as_ac_var+set}\" = set"; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6
7894 cat >conftest.
$ac_ext <<_ACEOF
7895 #line $LINENO "configure"
7898 cat confdefs.h
>>conftest.
$ac_ext
7899 cat >>conftest.
$ac_ext <<_ACEOF
7900 /* end confdefs.h. */
7901 /* System header to define __stub macros and hopefully few prototypes,
7902 which can conflict with char $ac_func (); below.
7903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7904 <limits.h> exists even on freestanding compilers. */
7906 # include <limits.h>
7908 # include <assert.h>
7910 /* Override any gcc2 internal prototype to avoid an error. */
7915 /* We use char because int might match the return type of a gcc2
7916 builtin and then its argument prototype would still apply. */
7918 /* The GNU C library defines this for functions which it implements
7919 to always fail with ENOSYS. Some functions are actually named
7920 something starting with __ and the normal name is an alias. */
7921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7924 char (*f) () = $ac_func;
7933 return f != $ac_func;
7938 rm -f conftest.
$ac_objext conftest
$ac_exeext
7939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7940 (eval $ac_link) 2>&5
7942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943 (exit $ac_status); } &&
7944 { ac_try
='test -s conftest$ac_exeext'
7945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); }; }; then
7950 eval "$as_ac_var=yes"
7952 echo "$as_me: failed program was:" >&5
7953 sed 's/^/| /' conftest.
$ac_ext >&5
7955 eval "$as_ac_var=no"
7957 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7961 if test `eval echo '${'$as_ac_var'}'` = yes; then
7962 cat >>confdefs.h
<<_ACEOF
7963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7971 if test "${window_system}" = "x11"; then
7972 echo "$as_me:$LINENO: checking X11 version 6" >&5
7973 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
7974 if test "${emacs_cv_x11_version_6+set}" = set; then
7975 echo $ECHO_N "(cached) $ECHO_C" >&6
7977 cat >conftest.
$ac_ext <<_ACEOF
7978 #line $LINENO "configure"
7981 cat confdefs.h
>>conftest.
$ac_ext
7982 cat >>conftest.
$ac_ext <<_ACEOF
7983 /* end confdefs.h. */
7984 #include <X11/Xlib.h>
7988 #if XlibSpecificationRelease < 6
7996 rm -f conftest.
$ac_objext conftest
$ac_exeext
7997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7998 (eval $ac_link) 2>&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); } &&
8002 { ac_try
='test -s conftest$ac_exeext'
8003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); }; }; then
8008 emacs_cv_x11_version_6
=yes
8010 echo "$as_me: failed program was:" >&5
8011 sed 's/^/| /' conftest.
$ac_ext >&5
8013 emacs_cv_x11_version_6
=no
8015 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8018 if test $emacs_cv_x11_version_6 = yes; then
8019 echo "$as_me:$LINENO: result: 6 or newer" >&5
8020 echo "${ECHO_T}6 or newer" >&6
8022 cat >>confdefs.h
<<\_ACEOF
8023 #define HAVE_X11R6 1
8027 echo "$as_me:$LINENO: result: before 6" >&5
8028 echo "${ECHO_T}before 6" >&6
8032 if test "${window_system}" = "x11"; then
8033 echo "$as_me:$LINENO: checking X11 version 5" >&5
8034 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
8035 if test "${emacs_cv_x11_version_5+set}" = set; then
8036 echo $ECHO_N "(cached) $ECHO_C" >&6
8038 cat >conftest.
$ac_ext <<_ACEOF
8039 #line $LINENO "configure"
8042 cat confdefs.h
>>conftest.
$ac_ext
8043 cat >>conftest.
$ac_ext <<_ACEOF
8044 /* end confdefs.h. */
8045 #include <X11/Xlib.h>
8049 #if XlibSpecificationRelease < 5
8057 rm -f conftest.
$ac_objext conftest
$ac_exeext
8058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8059 (eval $ac_link) 2>&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); } &&
8063 { ac_try
='test -s conftest$ac_exeext'
8064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); }; }; then
8069 emacs_cv_x11_version_5
=yes
8071 echo "$as_me: failed program was:" >&5
8072 sed 's/^/| /' conftest.
$ac_ext >&5
8074 emacs_cv_x11_version_5
=no
8076 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8079 if test $emacs_cv_x11_version_5 = yes; then
8080 echo "$as_me:$LINENO: result: 5 or newer" >&5
8081 echo "${ECHO_T}5 or newer" >&6
8084 cat >>confdefs.h
<<\_ACEOF
8085 #define HAVE_X11R5 1
8090 echo "$as_me:$LINENO: result: before 5" >&5
8091 echo "${ECHO_T}before 5" >&6
8098 if test "${with_gtk}" = "yes" ||
test "$USE_X_TOOLKIT" = "gtk"; then
8099 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
8100 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5
8101 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;}
8102 { (exit 1); exit 1; }; };
8106 GTK_MODULES
="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
8108 if test "X${with_pkg_config_prog}" != X
; then
8109 PKG_CONFIG
="${with_pkg_config_prog}"
8114 if test -z "$PKG_CONFIG"; then
8115 # Extract the first word of "pkg-config", so it can be a program name with args.
8116 set dummy pkg-config
; ac_word
=$2
8117 echo "$as_me:$LINENO: checking for $ac_word" >&5
8118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8119 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8120 echo $ECHO_N "(cached) $ECHO_C" >&6
8124 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8131 test -z "$as_dir" && as_dir
=.
8132 for ac_exec_ext
in '' $ac_executable_extensions; do
8133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8134 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8141 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8145 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8147 if test -n "$PKG_CONFIG"; then
8148 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8149 echo "${ECHO_T}$PKG_CONFIG" >&6
8151 echo "$as_me:$LINENO: result: no" >&5
8152 echo "${ECHO_T}no" >&6
8157 if test "$PKG_CONFIG" = "no" ; then
8158 echo "*** The pkg-config script could not be found. Make sure it is"
8159 echo "*** in your path, or give the full path to pkg-config with"
8160 echo "*** the PKG_CONFIG environment variable or --with-pkg-config-prog."
8161 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8163 PKG_CONFIG_MIN_VERSION
=0.9.0
8164 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8165 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
8166 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6
8168 if $PKG_CONFIG --exists "$GTK_MODULES" ; then
8169 echo "$as_me:$LINENO: result: yes" >&5
8170 echo "${ECHO_T}yes" >&6
8173 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
8174 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
8175 GTK_CFLAGS
=`$PKG_CONFIG --cflags "$GTK_MODULES"`
8176 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
8177 echo "${ECHO_T}$GTK_CFLAGS" >&6
8179 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
8180 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
8181 GTK_LIBS
=`$PKG_CONFIG --libs "$GTK_MODULES"`
8182 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
8183 echo "${ECHO_T}$GTK_LIBS" >&6
8187 ## If we have a custom action on failure, don't print errors, but
8188 ## do set a variable so people can do so.
8189 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
8190 echo $GTK_PKG_ERRORS
8196 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8197 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8201 if test $succeeded = yes; then
8204 { { 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
8205 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;}
8206 { (exit 1); exit 1; }; }
8211 C_SWITCH_X_SITE
="$C_SWITCH_X_SITE $GTK_CFLAGS"
8214 cat >>confdefs.h
<<\_ACEOF
8220 with_toolkit_scroll_bars
=yes
8223 if test x
"${USE_X_TOOLKIT}" = xmaybe
; then
8224 if test x
"${HAVE_X11R5}" = xyes
; then
8225 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
8226 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
8227 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
8228 echo $ECHO_N "(cached) $ECHO_C" >&6
8230 cat >conftest.
$ac_ext <<_ACEOF
8231 #line $LINENO "configure"
8234 cat confdefs.h
>>conftest.
$ac_ext
8235 cat >>conftest.
$ac_ext <<_ACEOF
8236 /* end confdefs.h. */
8238 #include <X11/Intrinsic.h>
8239 #include <X11/Xaw/Simple.h>
8248 rm -f conftest.
$ac_objext conftest
$ac_exeext
8249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8250 (eval $ac_link) 2>&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); } &&
8254 { ac_try
='test -s conftest$ac_exeext'
8255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); }; }; then
8260 emacs_cv_x11_version_5_with_xaw
=yes
8262 echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.
$ac_ext >&5
8265 emacs_cv_x11_version_5_with_xaw
=no
8267 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8270 if test $emacs_cv_x11_version_5_with_xaw = yes; then
8271 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
8272 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
8275 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
8276 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
8284 X_TOOLKIT_TYPE
=$USE_X_TOOLKIT
8286 if test "${USE_X_TOOLKIT}" != "none"; then
8287 echo "$as_me:$LINENO: checking X11 toolkit version" >&5
8288 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
8289 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
8290 echo $ECHO_N "(cached) $ECHO_C" >&6
8292 cat >conftest.
$ac_ext <<_ACEOF
8293 #line $LINENO "configure"
8296 cat confdefs.h
>>conftest.
$ac_ext
8297 cat >>conftest.
$ac_ext <<_ACEOF
8298 /* end confdefs.h. */
8299 #include <X11/Intrinsic.h>
8303 #if XtSpecificationRelease < 6
8311 rm -f conftest.
$ac_objext conftest
$ac_exeext
8312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8313 (eval $ac_link) 2>&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); } &&
8317 { ac_try
='test -s conftest$ac_exeext'
8318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); }; }; then
8323 emacs_cv_x11_toolkit_version_6
=yes
8325 echo "$as_me: failed program was:" >&5
8326 sed 's/^/| /' conftest.
$ac_ext >&5
8328 emacs_cv_x11_toolkit_version_6
=no
8330 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8333 HAVE_X11XTR6
=$emacs_cv_x11_toolkit_version_6
8334 if test $emacs_cv_x11_toolkit_version_6 = yes; then
8335 echo "$as_me:$LINENO: result: 6 or newer" >&5
8336 echo "${ECHO_T}6 or newer" >&6
8338 cat >>confdefs.h
<<\_ACEOF
8339 #define HAVE_X11XTR6 1
8343 echo "$as_me:$LINENO: result: before 6" >&5
8344 echo "${ECHO_T}before 6" >&6
8348 if test x
$HAVE_X11XTR6 = xyes
; then
8349 LIBS
="-lXt -lSM -lICE $LIBS"
8354 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
8355 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
8356 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
8357 echo $ECHO_N "(cached) $ECHO_C" >&6
8359 ac_check_lib_save_LIBS
=$LIBS
8361 cat >conftest.
$ac_ext <<_ACEOF
8362 #line $LINENO "configure"
8365 cat confdefs.h
>>conftest.
$ac_ext
8366 cat >>conftest.
$ac_ext <<_ACEOF
8367 /* end confdefs.h. */
8369 /* Override any gcc2 internal prototype to avoid an error. */
8373 /* We use char because int might match the return type of a gcc2
8374 builtin and then its argument prototype would still apply. */
8375 char XmuConvertStandardSelection ();
8379 XmuConvertStandardSelection ();
8384 rm -f conftest.
$ac_objext conftest
$ac_exeext
8385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8386 (eval $ac_link) 2>&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); } &&
8390 { ac_try
='test -s conftest$ac_exeext'
8391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); }; }; then
8396 ac_cv_lib_Xmu_XmuConvertStandardSelection
=yes
8398 echo "$as_me: failed program was:" >&5
8399 sed 's/^/| /' conftest.
$ac_ext >&5
8401 ac_cv_lib_Xmu_XmuConvertStandardSelection
=no
8403 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8404 LIBS
=$ac_check_lib_save_LIBS
8406 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
8407 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
8408 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
8409 cat >>confdefs.h
<<_ACEOF
8410 #define HAVE_LIBXMU 1
8417 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no
&& LIBS
="$OLDLIBS"
8420 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
8421 if test "${HAVE_X11}" = "yes"; then
8422 if test "${USE_X_TOOLKIT}" != "none"; then
8424 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8425 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
8426 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8427 echo $ECHO_N "(cached) $ECHO_C" >&6
8429 ac_check_lib_save_LIBS
=$LIBS
8431 cat >conftest.
$ac_ext <<_ACEOF
8432 #line $LINENO "configure"
8435 cat confdefs.h
>>conftest.
$ac_ext
8436 cat >>conftest.
$ac_ext <<_ACEOF
8437 /* end confdefs.h. */
8439 /* Override any gcc2 internal prototype to avoid an error. */
8443 /* We use char because int might match the return type of a gcc2
8444 builtin and then its argument prototype would still apply. */
8445 char XShapeQueryExtension ();
8449 XShapeQueryExtension ();
8454 rm -f conftest.
$ac_objext conftest
$ac_exeext
8455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8456 (eval $ac_link) 2>&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); } &&
8460 { ac_try
='test -s conftest$ac_exeext'
8461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); }; }; then
8466 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8468 echo "$as_me: failed program was:" >&5
8469 sed 's/^/| /' conftest.
$ac_ext >&5
8471 ac_cv_lib_Xext_XShapeQueryExtension
=no
8473 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8474 LIBS
=$ac_check_lib_save_LIBS
8476 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8477 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8478 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8479 cat >>confdefs.h
<<_ACEOF
8480 #define HAVE_LIBXEXT 1
8490 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
8491 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
8492 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
8493 if test "${emacs_cv_lesstif+set}" = set; then
8494 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 # We put this in CFLAGS temporarily to precede other -I options
8497 # that might be in CFLAGS temporarily.
8498 # We put this in CPPFLAGS where it precedes the other -I options.
8499 OLD_CPPFLAGS
=$CPPFLAGS
8501 CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
8502 CFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
8503 cat >conftest.
$ac_ext <<_ACEOF
8504 #line $LINENO "configure"
8507 cat confdefs.h
>>conftest.
$ac_ext
8508 cat >>conftest.
$ac_ext <<_ACEOF
8509 /* end confdefs.h. */
8510 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
8519 rm -f conftest.
$ac_objext
8520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8521 (eval $ac_compile) 2>&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } &&
8525 { ac_try
='test -s conftest.$ac_objext'
8526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); }; }; then
8531 emacs_cv_lesstif
=yes
8533 echo "$as_me: failed program was:" >&5
8534 sed 's/^/| /' conftest.
$ac_ext >&5
8538 rm -f conftest.
$ac_objext conftest.
$ac_ext
8540 echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
8541 echo "${ECHO_T}$emacs_cv_lesstif" >&6
8542 if test $emacs_cv_lesstif = yes; then
8543 # Make sure this -I option remains in CPPFLAGS after it is set
8544 # back to REAL_CPPFLAGS.
8545 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
8546 # have those other -I options anyway. Ultimately, having this
8547 # directory ultimately in CPPFLAGS will be enough.
8548 REAL_CPPFLAGS
="-I/usr/X11R6/LessTif/Motif1.2/include $REAL_CPPFLAGS"
8549 LDFLAGS
="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
8552 CPPFLAGS
=$OLD_CPPFLAGS
8554 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
8555 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
8556 if test "${emacs_cv_motif_version_2_1+set}" = set; then
8557 echo $ECHO_N "(cached) $ECHO_C" >&6
8559 cat >conftest.
$ac_ext <<_ACEOF
8560 #line $LINENO "configure"
8563 cat confdefs.h
>>conftest.
$ac_ext
8564 cat >>conftest.
$ac_ext <<_ACEOF
8565 /* end confdefs.h. */
8570 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
8573 Motif version prior to 2.1.
8579 rm -f conftest.
$ac_objext
8580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8581 (eval $ac_compile) 2>&5
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); } &&
8585 { ac_try
='test -s conftest.$ac_objext'
8586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 (exit $ac_status); }; }; then
8591 emacs_cv_motif_version_2_1
=yes
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.
$ac_ext >&5
8596 emacs_cv_motif_version_2_1
=no
8598 rm -f conftest.
$ac_objext conftest.
$ac_ext
8600 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
8601 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
8602 HAVE_MOTIF_2_1
=$emacs_cv_motif_version_2_1
8603 if test $emacs_cv_motif_version_2_1 = yes; then
8606 cat >>confdefs.h
<<\_ACEOF
8607 #define HAVE_MOTIF_2_1 1
8610 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
8611 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
8612 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
8613 echo $ECHO_N "(cached) $ECHO_C" >&6
8615 ac_check_lib_save_LIBS
=$LIBS
8617 cat >conftest.
$ac_ext <<_ACEOF
8618 #line $LINENO "configure"
8621 cat confdefs.h
>>conftest.
$ac_ext
8622 cat >>conftest.
$ac_ext <<_ACEOF
8623 /* end confdefs.h. */
8625 /* Override any gcc2 internal prototype to avoid an error. */
8629 /* We use char because int might match the return type of a gcc2
8630 builtin and then its argument prototype would still apply. */
8631 char XpCreateContext ();
8640 rm -f conftest.
$ac_objext conftest
$ac_exeext
8641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8642 (eval $ac_link) 2>&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); } &&
8646 { ac_try
='test -s conftest$ac_exeext'
8647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); }; }; then
8652 ac_cv_lib_Xp_XpCreateContext
=yes
8654 echo "$as_me: failed program was:" >&5
8655 sed 's/^/| /' conftest.
$ac_ext >&5
8657 ac_cv_lib_Xp_XpCreateContext
=no
8659 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8660 LIBS
=$ac_check_lib_save_LIBS
8662 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
8663 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
8664 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
8668 if test ${HAVE_LIBXP} = yes; then
8670 cat >>confdefs.h
<<\_ACEOF
8671 #define HAVE_LIBXP 1
8678 ### Is -lXaw3d available?
8680 if test "${HAVE_X11}" = "yes"; then
8681 if test "${USE_X_TOOLKIT}" != "none"; then
8682 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
8683 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
8684 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6
8687 cat >conftest.
$ac_ext <<_ACEOF
8688 #line $LINENO "configure"
8691 cat confdefs.h
>>conftest.
$ac_ext
8692 cat >>conftest.
$ac_ext <<_ACEOF
8693 /* end confdefs.h. */
8694 #include <X11/Xaw3d/Scrollbar.h>
8696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8697 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8699 grep -v '^ *+' conftest.er1
>conftest.err
8701 cat conftest.err
>&5
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); } >/dev
/null
; then
8704 if test -s conftest.err
; then
8705 ac_cpp_err
=$ac_c_preproc_warn_flag
8712 if test -z "$ac_cpp_err"; then
8713 ac_cv_header_X11_Xaw3d_Scrollbar_h
=yes
8715 echo "$as_me: failed program was:" >&5
8716 sed 's/^/| /' conftest.
$ac_ext >&5
8718 ac_cv_header_X11_Xaw3d_Scrollbar_h
=no
8720 rm -f conftest.err conftest.
$ac_ext
8722 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
8723 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
8724 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
8725 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
8726 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
8727 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
8728 echo $ECHO_N "(cached) $ECHO_C" >&6
8730 ac_check_lib_save_LIBS
=$LIBS
8731 LIBS
="-lXaw3d $LIBS"
8732 cat >conftest.
$ac_ext <<_ACEOF
8733 #line $LINENO "configure"
8736 cat confdefs.h
>>conftest.
$ac_ext
8737 cat >>conftest.
$ac_ext <<_ACEOF
8738 /* end confdefs.h. */
8740 /* Override any gcc2 internal prototype to avoid an error. */
8744 /* We use char because int might match the return type of a gcc2
8745 builtin and then its argument prototype would still apply. */
8746 char XawScrollbarSetThumb ();
8750 XawScrollbarSetThumb ();
8755 rm -f conftest.
$ac_objext conftest
$ac_exeext
8756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8757 (eval $ac_link) 2>&5
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); } &&
8761 { ac_try
='test -s conftest$ac_exeext'
8762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); }; }; then
8767 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=yes
8769 echo "$as_me: failed program was:" >&5
8770 sed 's/^/| /' conftest.
$ac_ext >&5
8772 ac_cv_lib_Xaw3d_XawScrollbarSetThumb
=no
8774 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8775 LIBS
=$ac_check_lib_save_LIBS
8777 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
8778 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
8779 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
8786 if test "${HAVE_XAW3D}" = "yes"; then
8788 cat >>confdefs.h
<<\_ACEOF
8789 #define HAVE_XAW3D 1
8798 USE_TOOLKIT_SCROLL_BARS
=no
8799 if test "${with_toolkit_scroll_bars}" != "no"; then
8800 if test "${USE_X_TOOLKIT}" != "none"; then
8801 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
8802 cat >>confdefs.h
<<\_ACEOF
8803 #define USE_TOOLKIT_SCROLL_BARS 1
8807 USE_TOOLKIT_SCROLL_BARS
=yes
8808 elif test "${HAVE_XAW3D}" = "yes"; then
8809 cat >>confdefs.h
<<\_ACEOF
8810 #define USE_TOOLKIT_SCROLL_BARS 1
8813 USE_TOOLKIT_SCROLL_BARS
=yes
8815 elif test "${HAVE_GTK}" = "yes"; then
8816 cat >>confdefs.h
<<\_ACEOF
8817 #define USE_TOOLKIT_SCROLL_BARS 1
8820 USE_TOOLKIT_SCROLL_BARS
=yes
8825 if test "${with_xim}" != "no"; then
8827 cat >>confdefs.h
<<\_ACEOF
8833 ### Use -lXpm if available, unless `--with-xpm=no'.
8835 if test "${HAVE_X11}" = "yes"; then
8836 if test "${with_xpm}" != "no"; then
8837 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
8838 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
8839 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
8840 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
8841 echo $ECHO_N "(cached) $ECHO_C" >&6
8843 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
8844 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
8846 # Is the header compilable?
8847 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
8848 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
8849 cat >conftest.
$ac_ext <<_ACEOF
8850 #line $LINENO "configure"
8853 cat confdefs.h
>>conftest.
$ac_ext
8854 cat >>conftest.
$ac_ext <<_ACEOF
8855 /* end confdefs.h. */
8856 $ac_includes_default
8857 #include <X11/xpm.h>
8859 rm -f conftest.
$ac_objext
8860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8861 (eval $ac_compile) 2>&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } &&
8865 { ac_try
='test -s conftest.$ac_objext'
8866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); }; }; then
8871 ac_header_compiler
=yes
8873 echo "$as_me: failed program was:" >&5
8874 sed 's/^/| /' conftest.
$ac_ext >&5
8876 ac_header_compiler
=no
8878 rm -f conftest.
$ac_objext conftest.
$ac_ext
8879 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8880 echo "${ECHO_T}$ac_header_compiler" >&6
8882 # Is the header present?
8883 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
8884 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
8885 cat >conftest.
$ac_ext <<_ACEOF
8886 #line $LINENO "configure"
8889 cat confdefs.h
>>conftest.
$ac_ext
8890 cat >>conftest.
$ac_ext <<_ACEOF
8891 /* end confdefs.h. */
8892 #include <X11/xpm.h>
8894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8895 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8897 grep -v '^ *+' conftest.er1
>conftest.err
8899 cat conftest.err
>&5
8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 (exit $ac_status); } >/dev
/null
; then
8902 if test -s conftest.err
; then
8903 ac_cpp_err
=$ac_c_preproc_warn_flag
8910 if test -z "$ac_cpp_err"; then
8911 ac_header_preproc
=yes
8913 echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.
$ac_ext >&5
8916 ac_header_preproc
=no
8918 rm -f conftest.err conftest.
$ac_ext
8919 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8920 echo "${ECHO_T}$ac_header_preproc" >&6
8922 # So? What about this header?
8923 case $ac_header_compiler:$ac_header_preproc in
8925 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
8926 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8927 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
8928 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
8931 ## ------------------------------------ ##
8932 ## Report this to bug-autoconf@gnu.org. ##
8933 ## ------------------------------------ ##
8936 sed "s/^/$as_me: WARNING: /" >&2
8939 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
8940 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
8941 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
8942 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
8943 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
8944 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
8947 ## ------------------------------------ ##
8948 ## Report this to bug-autoconf@gnu.org. ##
8949 ## ------------------------------------ ##
8952 sed "s/^/$as_me: WARNING: /" >&2
8955 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
8956 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
8957 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
8958 echo $ECHO_N "(cached) $ECHO_C" >&6
8960 ac_cv_header_X11_xpm_h
=$ac_header_preproc
8962 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
8963 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
8966 if test $ac_cv_header_X11_xpm_h = yes; then
8967 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
8968 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
8969 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
8970 echo $ECHO_N "(cached) $ECHO_C" >&6
8972 ac_check_lib_save_LIBS
=$LIBS
8973 LIBS
="-lXpm -lX11 $LIBS"
8974 cat >conftest.
$ac_ext <<_ACEOF
8975 #line $LINENO "configure"
8978 cat confdefs.h
>>conftest.
$ac_ext
8979 cat >>conftest.
$ac_ext <<_ACEOF
8980 /* end confdefs.h. */
8982 /* Override any gcc2 internal prototype to avoid an error. */
8986 /* We use char because int might match the return type of a gcc2
8987 builtin and then its argument prototype would still apply. */
8988 char XpmReadFileToPixmap ();
8992 XpmReadFileToPixmap ();
8997 rm -f conftest.
$ac_objext conftest
$ac_exeext
8998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8999 (eval $ac_link) 2>&5
9001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9002 (exit $ac_status); } &&
9003 { ac_try
='test -s conftest$ac_exeext'
9004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9008 (exit $ac_status); }; }; then
9009 ac_cv_lib_Xpm_XpmReadFileToPixmap
=yes
9011 echo "$as_me: failed program was:" >&5
9012 sed 's/^/| /' conftest.
$ac_ext >&5
9014 ac_cv_lib_Xpm_XpmReadFileToPixmap
=no
9016 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9017 LIBS
=$ac_check_lib_save_LIBS
9019 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
9020 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
9021 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
9028 if test "${HAVE_XPM}" = "yes"; then
9029 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
9030 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
9031 cat >conftest.
$ac_ext <<_ACEOF
9032 #line $LINENO "configure"
9035 cat confdefs.h
>>conftest.
$ac_ext
9036 cat >>conftest.
$ac_ext <<_ACEOF
9037 /* end confdefs.h. */
9038 #include "X11/xpm.h"
9039 #ifndef XpmReturnAllocPixels
9040 no_return_alloc_pixels
9044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9045 $EGREP "no_return_alloc_pixels" >/dev
/null
2>&1; then
9053 if test "${HAVE_XPM}" = "yes"; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055 echo "${ECHO_T}yes" >&6
9057 echo "$as_me:$LINENO: result: no" >&5
9058 echo "${ECHO_T}no" >&6
9063 if test "${HAVE_XPM}" = "yes"; then
9065 cat >>confdefs.h
<<\_ACEOF
9072 ### Use -ljpeg if available, unless `--with-jpeg=no'.
9074 if test "${HAVE_X11}" = "yes"; then
9075 if test "${with_jpeg}" != "no"; then
9076 if test "${ac_cv_header_jerror_h+set}" = set; then
9077 echo "$as_me:$LINENO: checking for jerror.h" >&5
9078 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
9079 if test "${ac_cv_header_jerror_h+set}" = set; then
9080 echo $ECHO_N "(cached) $ECHO_C" >&6
9082 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
9083 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
9085 # Is the header compilable?
9086 echo "$as_me:$LINENO: checking jerror.h usability" >&5
9087 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
9088 cat >conftest.
$ac_ext <<_ACEOF
9089 #line $LINENO "configure"
9092 cat confdefs.h
>>conftest.
$ac_ext
9093 cat >>conftest.
$ac_ext <<_ACEOF
9094 /* end confdefs.h. */
9095 $ac_includes_default
9098 rm -f conftest.
$ac_objext
9099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9100 (eval $ac_compile) 2>&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); } &&
9104 { ac_try
='test -s conftest.$ac_objext'
9105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); }; }; then
9110 ac_header_compiler
=yes
9112 echo "$as_me: failed program was:" >&5
9113 sed 's/^/| /' conftest.
$ac_ext >&5
9115 ac_header_compiler
=no
9117 rm -f conftest.
$ac_objext conftest.
$ac_ext
9118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9119 echo "${ECHO_T}$ac_header_compiler" >&6
9121 # Is the header present?
9122 echo "$as_me:$LINENO: checking jerror.h presence" >&5
9123 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
9124 cat >conftest.
$ac_ext <<_ACEOF
9125 #line $LINENO "configure"
9128 cat confdefs.h
>>conftest.
$ac_ext
9129 cat >>conftest.
$ac_ext <<_ACEOF
9130 /* end confdefs.h. */
9133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9136 grep -v '^ *+' conftest.er1
>conftest.err
9138 cat conftest.err
>&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); } >/dev
/null
; then
9141 if test -s conftest.err
; then
9142 ac_cpp_err
=$ac_c_preproc_warn_flag
9149 if test -z "$ac_cpp_err"; then
9150 ac_header_preproc
=yes
9152 echo "$as_me: failed program was:" >&5
9153 sed 's/^/| /' conftest.
$ac_ext >&5
9155 ac_header_preproc
=no
9157 rm -f conftest.err conftest.
$ac_ext
9158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9159 echo "${ECHO_T}$ac_header_preproc" >&6
9161 # So? What about this header?
9162 case $ac_header_compiler:$ac_header_preproc in
9164 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
9165 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9166 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
9167 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
9170 ## ------------------------------------ ##
9171 ## Report this to bug-autoconf@gnu.org. ##
9172 ## ------------------------------------ ##
9175 sed "s/^/$as_me: WARNING: /" >&2
9178 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
9179 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
9180 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
9181 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
9182 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
9183 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
9186 ## ------------------------------------ ##
9187 ## Report this to bug-autoconf@gnu.org. ##
9188 ## ------------------------------------ ##
9191 sed "s/^/$as_me: WARNING: /" >&2
9194 echo "$as_me:$LINENO: checking for jerror.h" >&5
9195 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
9196 if test "${ac_cv_header_jerror_h+set}" = set; then
9197 echo $ECHO_N "(cached) $ECHO_C" >&6
9199 ac_cv_header_jerror_h
=$ac_header_preproc
9201 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
9202 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
9205 if test $ac_cv_header_jerror_h = yes; then
9206 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
9207 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
9208 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
9209 echo $ECHO_N "(cached) $ECHO_C" >&6
9211 ac_check_lib_save_LIBS
=$LIBS
9213 cat >conftest.
$ac_ext <<_ACEOF
9214 #line $LINENO "configure"
9217 cat confdefs.h
>>conftest.
$ac_ext
9218 cat >>conftest.
$ac_ext <<_ACEOF
9219 /* end confdefs.h. */
9221 /* Override any gcc2 internal prototype to avoid an error. */
9225 /* We use char because int might match the return type of a gcc2
9226 builtin and then its argument prototype would still apply. */
9227 char jpeg_destroy_compress ();
9231 jpeg_destroy_compress ();
9236 rm -f conftest.
$ac_objext conftest
$ac_exeext
9237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9238 (eval $ac_link) 2>&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); } &&
9242 { ac_try
='test -s conftest$ac_exeext'
9243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247 (exit $ac_status); }; }; then
9248 ac_cv_lib_jpeg_jpeg_destroy_compress
=yes
9250 echo "$as_me: failed program was:" >&5
9251 sed 's/^/| /' conftest.
$ac_ext >&5
9253 ac_cv_lib_jpeg_jpeg_destroy_compress
=no
9255 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9256 LIBS
=$ac_check_lib_save_LIBS
9258 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
9259 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
9260 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
9270 if test "${HAVE_JPEG}" = "yes"; then
9271 cat >>confdefs.h
<<\_ACEOF
9275 cat >conftest.
$ac_ext <<_ACEOF
9276 #line $LINENO "configure"
9279 cat confdefs.h
>>conftest.
$ac_ext
9280 cat >>conftest.
$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9282 #include <jpeglib.h>
9283 version=JPEG_LIB_VERSION
9286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9287 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev
/null
2>&1; then
9288 cat >>confdefs.h
<<\_ACEOF
9293 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
9294 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
9302 ### Use -lpng if available, unless `--with-png=no'.
9304 if test "${HAVE_X11}" = "yes"; then
9305 if test "${with_png}" != "no"; then
9306 if test "${ac_cv_header_png_h+set}" = set; then
9307 echo "$as_me:$LINENO: checking for png.h" >&5
9308 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
9309 if test "${ac_cv_header_png_h+set}" = set; then
9310 echo $ECHO_N "(cached) $ECHO_C" >&6
9312 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
9313 echo "${ECHO_T}$ac_cv_header_png_h" >&6
9315 # Is the header compilable?
9316 echo "$as_me:$LINENO: checking png.h usability" >&5
9317 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
9318 cat >conftest.
$ac_ext <<_ACEOF
9319 #line $LINENO "configure"
9322 cat confdefs.h
>>conftest.
$ac_ext
9323 cat >>conftest.
$ac_ext <<_ACEOF
9324 /* end confdefs.h. */
9325 $ac_includes_default
9328 rm -f conftest.
$ac_objext
9329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9330 (eval $ac_compile) 2>&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); } &&
9334 { ac_try
='test -s conftest.$ac_objext'
9335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; }; then
9340 ac_header_compiler
=yes
9342 echo "$as_me: failed program was:" >&5
9343 sed 's/^/| /' conftest.
$ac_ext >&5
9345 ac_header_compiler
=no
9347 rm -f conftest.
$ac_objext conftest.
$ac_ext
9348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9349 echo "${ECHO_T}$ac_header_compiler" >&6
9351 # Is the header present?
9352 echo "$as_me:$LINENO: checking png.h presence" >&5
9353 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
9354 cat >conftest.
$ac_ext <<_ACEOF
9355 #line $LINENO "configure"
9358 cat confdefs.h
>>conftest.
$ac_ext
9359 cat >>conftest.
$ac_ext <<_ACEOF
9360 /* end confdefs.h. */
9363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9364 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9366 grep -v '^ *+' conftest.er1
>conftest.err
9368 cat conftest.err
>&5
9369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9370 (exit $ac_status); } >/dev
/null
; then
9371 if test -s conftest.err
; then
9372 ac_cpp_err
=$ac_c_preproc_warn_flag
9379 if test -z "$ac_cpp_err"; then
9380 ac_header_preproc
=yes
9382 echo "$as_me: failed program was:" >&5
9383 sed 's/^/| /' conftest.
$ac_ext >&5
9385 ac_header_preproc
=no
9387 rm -f conftest.err conftest.
$ac_ext
9388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9389 echo "${ECHO_T}$ac_header_preproc" >&6
9391 # So? What about this header?
9392 case $ac_header_compiler:$ac_header_preproc in
9394 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
9395 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9396 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
9397 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
9400 ## ------------------------------------ ##
9401 ## Report this to bug-autoconf@gnu.org. ##
9402 ## ------------------------------------ ##
9405 sed "s/^/$as_me: WARNING: /" >&2
9408 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
9409 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
9410 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
9411 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
9412 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
9413 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
9416 ## ------------------------------------ ##
9417 ## Report this to bug-autoconf@gnu.org. ##
9418 ## ------------------------------------ ##
9421 sed "s/^/$as_me: WARNING: /" >&2
9424 echo "$as_me:$LINENO: checking for png.h" >&5
9425 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
9426 if test "${ac_cv_header_png_h+set}" = set; then
9427 echo $ECHO_N "(cached) $ECHO_C" >&6
9429 ac_cv_header_png_h
=$ac_header_preproc
9431 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
9432 echo "${ECHO_T}$ac_cv_header_png_h" >&6
9435 if test $ac_cv_header_png_h = yes; then
9436 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
9437 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
9438 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
9439 echo $ECHO_N "(cached) $ECHO_C" >&6
9441 ac_check_lib_save_LIBS
=$LIBS
9442 LIBS
="-lpng -lz -lm $LIBS"
9443 cat >conftest.
$ac_ext <<_ACEOF
9444 #line $LINENO "configure"
9447 cat confdefs.h
>>conftest.
$ac_ext
9448 cat >>conftest.
$ac_ext <<_ACEOF
9449 /* end confdefs.h. */
9451 /* Override any gcc2 internal prototype to avoid an error. */
9455 /* We use char because int might match the return type of a gcc2
9456 builtin and then its argument prototype would still apply. */
9457 char png_get_channels ();
9461 png_get_channels ();
9466 rm -f conftest.
$ac_objext conftest
$ac_exeext
9467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9468 (eval $ac_link) 2>&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); } &&
9472 { ac_try
='test -s conftest$ac_exeext'
9473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477 (exit $ac_status); }; }; then
9478 ac_cv_lib_png_png_get_channels
=yes
9480 echo "$as_me: failed program was:" >&5
9481 sed 's/^/| /' conftest.
$ac_ext >&5
9483 ac_cv_lib_png_png_get_channels
=no
9485 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9486 LIBS
=$ac_check_lib_save_LIBS
9488 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
9489 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
9490 if test $ac_cv_lib_png_png_get_channels = yes; then
9499 if test "${HAVE_PNG}" = "yes"; then
9501 cat >>confdefs.h
<<\_ACEOF
9508 ### Use -ltiff if available, unless `--with-tiff=no'.
9510 if test "${HAVE_X11}" = "yes"; then
9511 if test "${with_tiff}" != "no"; then
9512 if test "${ac_cv_header_tiffio_h+set}" = set; then
9513 echo "$as_me:$LINENO: checking for tiffio.h" >&5
9514 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
9515 if test "${ac_cv_header_tiffio_h+set}" = set; then
9516 echo $ECHO_N "(cached) $ECHO_C" >&6
9518 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
9519 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
9521 # Is the header compilable?
9522 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
9523 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
9524 cat >conftest.
$ac_ext <<_ACEOF
9525 #line $LINENO "configure"
9528 cat confdefs.h
>>conftest.
$ac_ext
9529 cat >>conftest.
$ac_ext <<_ACEOF
9530 /* end confdefs.h. */
9531 $ac_includes_default
9534 rm -f conftest.
$ac_objext
9535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9536 (eval $ac_compile) 2>&5
9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539 (exit $ac_status); } &&
9540 { ac_try
='test -s conftest.$ac_objext'
9541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); }; }; then
9546 ac_header_compiler
=yes
9548 echo "$as_me: failed program was:" >&5
9549 sed 's/^/| /' conftest.
$ac_ext >&5
9551 ac_header_compiler
=no
9553 rm -f conftest.
$ac_objext conftest.
$ac_ext
9554 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9555 echo "${ECHO_T}$ac_header_compiler" >&6
9557 # Is the header present?
9558 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
9559 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
9560 cat >conftest.
$ac_ext <<_ACEOF
9561 #line $LINENO "configure"
9564 cat confdefs.h
>>conftest.
$ac_ext
9565 cat >>conftest.
$ac_ext <<_ACEOF
9566 /* end confdefs.h. */
9569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9572 grep -v '^ *+' conftest.er1
>conftest.err
9574 cat conftest.err
>&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 (exit $ac_status); } >/dev
/null
; then
9577 if test -s conftest.err
; then
9578 ac_cpp_err
=$ac_c_preproc_warn_flag
9585 if test -z "$ac_cpp_err"; then
9586 ac_header_preproc
=yes
9588 echo "$as_me: failed program was:" >&5
9589 sed 's/^/| /' conftest.
$ac_ext >&5
9591 ac_header_preproc
=no
9593 rm -f conftest.err conftest.
$ac_ext
9594 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9595 echo "${ECHO_T}$ac_header_preproc" >&6
9597 # So? What about this header?
9598 case $ac_header_compiler:$ac_header_preproc in
9600 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
9601 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9602 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
9603 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
9606 ## ------------------------------------ ##
9607 ## Report this to bug-autoconf@gnu.org. ##
9608 ## ------------------------------------ ##
9611 sed "s/^/$as_me: WARNING: /" >&2
9614 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
9615 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
9616 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
9617 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
9618 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
9619 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
9622 ## ------------------------------------ ##
9623 ## Report this to bug-autoconf@gnu.org. ##
9624 ## ------------------------------------ ##
9627 sed "s/^/$as_me: WARNING: /" >&2
9630 echo "$as_me:$LINENO: checking for tiffio.h" >&5
9631 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
9632 if test "${ac_cv_header_tiffio_h+set}" = set; then
9633 echo $ECHO_N "(cached) $ECHO_C" >&6
9635 ac_cv_header_tiffio_h
=$ac_header_preproc
9637 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
9638 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
9641 if test $ac_cv_header_tiffio_h = yes; then
9643 # At least one tiff package requires the jpeg library.
9644 if test "${HAVE_JPEG}" = yes; then tifflibs
="-ljpeg $tifflibs"; fi
9645 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
9646 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
9647 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 ac_check_lib_save_LIBS
=$LIBS
9651 LIBS
="-ltiff $tifflibs $LIBS"
9652 cat >conftest.
$ac_ext <<_ACEOF
9653 #line $LINENO "configure"
9656 cat confdefs.h
>>conftest.
$ac_ext
9657 cat >>conftest.
$ac_ext <<_ACEOF
9658 /* end confdefs.h. */
9660 /* Override any gcc2 internal prototype to avoid an error. */
9664 /* We use char because int might match the return type of a gcc2
9665 builtin and then its argument prototype would still apply. */
9666 char TIFFGetVersion ();
9675 rm -f conftest.
$ac_objext conftest
$ac_exeext
9676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9677 (eval $ac_link) 2>&5
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 (exit $ac_status); } &&
9681 { ac_try
='test -s conftest$ac_exeext'
9682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); }; }; then
9687 ac_cv_lib_tiff_TIFFGetVersion
=yes
9689 echo "$as_me: failed program was:" >&5
9690 sed 's/^/| /' conftest.
$ac_ext >&5
9692 ac_cv_lib_tiff_TIFFGetVersion
=no
9694 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9695 LIBS
=$ac_check_lib_save_LIBS
9697 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
9698 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
9699 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
9708 if test "${HAVE_TIFF}" = "yes"; then
9710 cat >>confdefs.h
<<\_ACEOF
9717 ### Use -lgif if available, unless `--with-gif=no'.
9719 if test "${HAVE_X11}" = "yes"; then
9720 if test "${with_gif}" != "no"; then
9721 if test "${ac_cv_header_gif_lib_h+set}" = set; then
9722 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
9723 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
9724 if test "${ac_cv_header_gif_lib_h+set}" = set; then
9725 echo $ECHO_N "(cached) $ECHO_C" >&6
9727 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
9728 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
9730 # Is the header compilable?
9731 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
9732 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
9733 cat >conftest.
$ac_ext <<_ACEOF
9734 #line $LINENO "configure"
9737 cat confdefs.h
>>conftest.
$ac_ext
9738 cat >>conftest.
$ac_ext <<_ACEOF
9739 /* end confdefs.h. */
9740 $ac_includes_default
9741 #include <gif_lib.h>
9743 rm -f conftest.
$ac_objext
9744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9745 (eval $ac_compile) 2>&5
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); } &&
9749 { ac_try
='test -s conftest.$ac_objext'
9750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); }; }; then
9755 ac_header_compiler
=yes
9757 echo "$as_me: failed program was:" >&5
9758 sed 's/^/| /' conftest.
$ac_ext >&5
9760 ac_header_compiler
=no
9762 rm -f conftest.
$ac_objext conftest.
$ac_ext
9763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9764 echo "${ECHO_T}$ac_header_compiler" >&6
9766 # Is the header present?
9767 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
9768 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
9769 cat >conftest.
$ac_ext <<_ACEOF
9770 #line $LINENO "configure"
9773 cat confdefs.h
>>conftest.
$ac_ext
9774 cat >>conftest.
$ac_ext <<_ACEOF
9775 /* end confdefs.h. */
9776 #include <gif_lib.h>
9778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9781 grep -v '^ *+' conftest.er1
>conftest.err
9783 cat conftest.err
>&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); } >/dev
/null
; then
9786 if test -s conftest.err
; then
9787 ac_cpp_err
=$ac_c_preproc_warn_flag
9794 if test -z "$ac_cpp_err"; then
9795 ac_header_preproc
=yes
9797 echo "$as_me: failed program was:" >&5
9798 sed 's/^/| /' conftest.
$ac_ext >&5
9800 ac_header_preproc
=no
9802 rm -f conftest.err conftest.
$ac_ext
9803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9804 echo "${ECHO_T}$ac_header_preproc" >&6
9806 # So? What about this header?
9807 case $ac_header_compiler:$ac_header_preproc in
9809 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
9810 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9811 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
9812 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
9815 ## ------------------------------------ ##
9816 ## Report this to bug-autoconf@gnu.org. ##
9817 ## ------------------------------------ ##
9820 sed "s/^/$as_me: WARNING: /" >&2
9823 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
9824 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
9825 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
9826 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
9827 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
9828 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
9831 ## ------------------------------------ ##
9832 ## Report this to bug-autoconf@gnu.org. ##
9833 ## ------------------------------------ ##
9836 sed "s/^/$as_me: WARNING: /" >&2
9839 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
9840 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
9841 if test "${ac_cv_header_gif_lib_h+set}" = set; then
9842 echo $ECHO_N "(cached) $ECHO_C" >&6
9844 ac_cv_header_gif_lib_h
=$ac_header_preproc
9846 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
9847 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
9850 if test $ac_cv_header_gif_lib_h = yes; then
9851 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
9852 # Earlier versions can crash Emacs.
9853 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
9854 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
9855 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 ac_check_lib_save_LIBS
=$LIBS
9859 LIBS
="-lungif $LIBS"
9860 cat >conftest.
$ac_ext <<_ACEOF
9861 #line $LINENO "configure"
9864 cat confdefs.h
>>conftest.
$ac_ext
9865 cat >>conftest.
$ac_ext <<_ACEOF
9866 /* end confdefs.h. */
9868 /* Override any gcc2 internal prototype to avoid an error. */
9872 /* We use char because int might match the return type of a gcc2
9873 builtin and then its argument prototype would still apply. */
9874 char EGifPutExtensionLast ();
9878 EGifPutExtensionLast ();
9883 rm -f conftest.
$ac_objext conftest
$ac_exeext
9884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9885 (eval $ac_link) 2>&5
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); } &&
9889 { ac_try
='test -s conftest$ac_exeext'
9890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); }; }; then
9895 ac_cv_lib_ungif_EGifPutExtensionLast
=yes
9897 echo "$as_me: failed program was:" >&5
9898 sed 's/^/| /' conftest.
$ac_ext >&5
9900 ac_cv_lib_ungif_EGifPutExtensionLast
=no
9902 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9903 LIBS
=$ac_check_lib_save_LIBS
9905 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
9906 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
9907 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
9916 if test "${HAVE_GIF}" = "yes"; then
9918 cat >>confdefs.h
<<\_ACEOF
9925 ### Use Mac OS X Carbon API to implement GUI.
9927 if test "${with_carbon}" != "no"; then
9928 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
9929 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
9930 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
9931 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
9932 echo $ECHO_N "(cached) $ECHO_C" >&6
9934 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
9935 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
9937 # Is the header compilable?
9938 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
9939 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
9940 cat >conftest.
$ac_ext <<_ACEOF
9941 #line $LINENO "configure"
9944 cat confdefs.h
>>conftest.
$ac_ext
9945 cat >>conftest.
$ac_ext <<_ACEOF
9946 /* end confdefs.h. */
9947 $ac_includes_default
9948 #include <Carbon/Carbon.h>
9950 rm -f conftest.
$ac_objext
9951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9952 (eval $ac_compile) 2>&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); } &&
9956 { ac_try
='test -s conftest.$ac_objext'
9957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); }; }; then
9962 ac_header_compiler
=yes
9964 echo "$as_me: failed program was:" >&5
9965 sed 's/^/| /' conftest.
$ac_ext >&5
9967 ac_header_compiler
=no
9969 rm -f conftest.
$ac_objext conftest.
$ac_ext
9970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9971 echo "${ECHO_T}$ac_header_compiler" >&6
9973 # Is the header present?
9974 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
9975 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
9976 cat >conftest.
$ac_ext <<_ACEOF
9977 #line $LINENO "configure"
9980 cat confdefs.h
>>conftest.
$ac_ext
9981 cat >>conftest.
$ac_ext <<_ACEOF
9982 /* end confdefs.h. */
9983 #include <Carbon/Carbon.h>
9985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9988 grep -v '^ *+' conftest.er1
>conftest.err
9990 cat conftest.err
>&5
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); } >/dev
/null
; then
9993 if test -s conftest.err
; then
9994 ac_cpp_err
=$ac_c_preproc_warn_flag
10001 if test -z "$ac_cpp_err"; then
10002 ac_header_preproc
=yes
10004 echo "$as_me: failed program was:" >&5
10005 sed 's/^/| /' conftest.
$ac_ext >&5
10007 ac_header_preproc
=no
10009 rm -f conftest.err conftest.
$ac_ext
10010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10011 echo "${ECHO_T}$ac_header_preproc" >&6
10013 # So? What about this header?
10014 case $ac_header_compiler:$ac_header_preproc in
10016 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
10017 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10018 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
10019 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
10022 ## ------------------------------------ ##
10023 ## Report this to bug-autoconf@gnu.org. ##
10024 ## ------------------------------------ ##
10027 sed "s/^/$as_me: WARNING: /" >&2
10030 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
10031 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
10032 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
10033 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
10034 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
10035 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
10038 ## ------------------------------------ ##
10039 ## Report this to bug-autoconf@gnu.org. ##
10040 ## ------------------------------------ ##
10043 sed "s/^/$as_me: WARNING: /" >&2
10046 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
10047 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
10048 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
10049 echo $ECHO_N "(cached) $ECHO_C" >&6
10051 ac_cv_header_Carbon_Carbon_h
=$ac_header_preproc
10053 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
10054 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
10057 if test $ac_cv_header_Carbon_Carbon_h = yes; then
10064 if test "${HAVE_CARBON}" = "yes"; then
10066 cat >>confdefs.h
<<\_ACEOF
10067 #define HAVE_CARBON 1
10071 ## Specify the install directory
10073 if test "${carbon_appdir_x}" != ""; then
10074 case ${carbon_appdir_x} in
10075 y | ye |
yes) carbon_appdir
=/Applications
;;
10076 * ) carbon_appdir
=${carbon_appdir_x} ;;
10079 # We also have mouse menus.
10083 ### Use session management (-lSM -lICE) if available
10085 if test "${HAVE_X11}" = "yes"; then
10086 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
10087 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
10088 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
10089 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
10090 echo $ECHO_N "(cached) $ECHO_C" >&6
10092 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
10093 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
10095 # Is the header compilable?
10096 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
10097 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
10098 cat >conftest.
$ac_ext <<_ACEOF
10099 #line $LINENO "configure"
10102 cat confdefs.h
>>conftest.
$ac_ext
10103 cat >>conftest.
$ac_ext <<_ACEOF
10104 /* end confdefs.h. */
10105 $ac_includes_default
10106 #include <X11/SM/SMlib.h>
10108 rm -f conftest.
$ac_objext
10109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10110 (eval $ac_compile) 2>&5
10112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10113 (exit $ac_status); } &&
10114 { ac_try
='test -s conftest.$ac_objext'
10115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10116 (eval $ac_try) 2>&5
10118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); }; }; then
10120 ac_header_compiler
=yes
10122 echo "$as_me: failed program was:" >&5
10123 sed 's/^/| /' conftest.
$ac_ext >&5
10125 ac_header_compiler
=no
10127 rm -f conftest.
$ac_objext conftest.
$ac_ext
10128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10129 echo "${ECHO_T}$ac_header_compiler" >&6
10131 # Is the header present?
10132 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
10133 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
10134 cat >conftest.
$ac_ext <<_ACEOF
10135 #line $LINENO "configure"
10138 cat confdefs.h
>>conftest.
$ac_ext
10139 cat >>conftest.
$ac_ext <<_ACEOF
10140 /* end confdefs.h. */
10141 #include <X11/SM/SMlib.h>
10143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10146 grep -v '^ *+' conftest.er1
>conftest.err
10148 cat conftest.err
>&5
10149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); } >/dev
/null
; then
10151 if test -s conftest.err
; then
10152 ac_cpp_err
=$ac_c_preproc_warn_flag
10159 if test -z "$ac_cpp_err"; then
10160 ac_header_preproc
=yes
10162 echo "$as_me: failed program was:" >&5
10163 sed 's/^/| /' conftest.
$ac_ext >&5
10165 ac_header_preproc
=no
10167 rm -f conftest.err conftest.
$ac_ext
10168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10169 echo "${ECHO_T}$ac_header_preproc" >&6
10171 # So? What about this header?
10172 case $ac_header_compiler:$ac_header_preproc in
10174 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
10175 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10176 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
10177 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
10180 ## ------------------------------------ ##
10181 ## Report this to bug-autoconf@gnu.org. ##
10182 ## ------------------------------------ ##
10185 sed "s/^/$as_me: WARNING: /" >&2
10188 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
10189 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
10190 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
10191 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
10192 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
10193 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
10196 ## ------------------------------------ ##
10197 ## Report this to bug-autoconf@gnu.org. ##
10198 ## ------------------------------------ ##
10201 sed "s/^/$as_me: WARNING: /" >&2
10204 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
10205 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
10206 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
10207 echo $ECHO_N "(cached) $ECHO_C" >&6
10209 ac_cv_header_X11_SM_SMlib_h
=$ac_header_preproc
10211 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
10212 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
10215 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
10216 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
10217 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
10218 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
10219 echo $ECHO_N "(cached) $ECHO_C" >&6
10221 ac_check_lib_save_LIBS
=$LIBS
10223 cat >conftest.
$ac_ext <<_ACEOF
10224 #line $LINENO "configure"
10227 cat confdefs.h
>>conftest.
$ac_ext
10228 cat >>conftest.
$ac_ext <<_ACEOF
10229 /* end confdefs.h. */
10231 /* Override any gcc2 internal prototype to avoid an error. */
10235 /* We use char because int might match the return type of a gcc2
10236 builtin and then its argument prototype would still apply. */
10237 char SmcOpenConnection ();
10241 SmcOpenConnection ();
10246 rm -f conftest.
$ac_objext conftest
$ac_exeext
10247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10248 (eval $ac_link) 2>&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); } &&
10252 { ac_try
='test -s conftest$ac_exeext'
10253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10254 (eval $ac_try) 2>&5
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); }; }; then
10258 ac_cv_lib_SM_SmcOpenConnection
=yes
10260 echo "$as_me: failed program was:" >&5
10261 sed 's/^/| /' conftest.
$ac_ext >&5
10263 ac_cv_lib_SM_SmcOpenConnection
=no
10265 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10266 LIBS
=$ac_check_lib_save_LIBS
10268 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
10269 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
10270 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
10280 if test "${HAVE_X_SM}" = "yes"; then
10282 cat >>confdefs.h
<<\_ACEOF
10283 #define HAVE_X_SM 1
10288 *) LIBS
="-lSM -lICE $LIBS" ;;
10293 # If netdb.h doesn't declare h_errno, we must declare it by hand.
10294 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
10295 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
10296 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 cat >conftest.
$ac_ext <<_ACEOF
10300 #line $LINENO "configure"
10303 cat confdefs.h
>>conftest.
$ac_ext
10304 cat >>conftest.
$ac_ext <<_ACEOF
10305 /* end confdefs.h. */
10315 rm -f conftest.
$ac_objext conftest
$ac_exeext
10316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10317 (eval $ac_link) 2>&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); } &&
10321 { ac_try
='test -s conftest$ac_exeext'
10322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10323 (eval $ac_try) 2>&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); }; }; then
10327 emacs_cv_netdb_declares_h_errno
=yes
10329 echo "$as_me: failed program was:" >&5
10330 sed 's/^/| /' conftest.
$ac_ext >&5
10332 emacs_cv_netdb_declares_h_errno
=no
10334 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10336 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
10337 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
10338 if test $emacs_cv_netdb_declares_h_errno = yes; then
10340 cat >>confdefs.h
<<\_ACEOF
10341 #define HAVE_H_ERRNO 1
10346 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
10347 # for constant arguments. Useless!
10348 echo "$as_me:$LINENO: checking for working alloca.h" >&5
10349 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
10350 if test "${ac_cv_working_alloca_h+set}" = set; then
10351 echo $ECHO_N "(cached) $ECHO_C" >&6
10353 cat >conftest.
$ac_ext <<_ACEOF
10354 #line $LINENO "configure"
10357 cat confdefs.h
>>conftest.
$ac_ext
10358 cat >>conftest.
$ac_ext <<_ACEOF
10359 /* end confdefs.h. */
10360 #include <alloca.h>
10364 char *p = (char *) alloca (2 * sizeof (int));
10369 rm -f conftest.
$ac_objext conftest
$ac_exeext
10370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10371 (eval $ac_link) 2>&5
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); } &&
10375 { ac_try
='test -s conftest$ac_exeext'
10376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10377 (eval $ac_try) 2>&5
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; }; then
10381 ac_cv_working_alloca_h
=yes
10383 echo "$as_me: failed program was:" >&5
10384 sed 's/^/| /' conftest.
$ac_ext >&5
10386 ac_cv_working_alloca_h
=no
10388 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10390 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
10391 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
10392 if test $ac_cv_working_alloca_h = yes; then
10394 cat >>confdefs.h
<<\_ACEOF
10395 #define HAVE_ALLOCA_H 1
10400 echo "$as_me:$LINENO: checking for alloca" >&5
10401 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
10402 if test "${ac_cv_func_alloca_works+set}" = set; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 cat >conftest.
$ac_ext <<_ACEOF
10406 #line $LINENO "configure"
10409 cat confdefs.h
>>conftest.
$ac_ext
10410 cat >>conftest.
$ac_ext <<_ACEOF
10411 /* end confdefs.h. */
10413 # define alloca __builtin_alloca
10416 # include <malloc.h>
10417 # define alloca _alloca
10420 # include <alloca.h>
10425 # ifndef alloca /* predefined by HP cc +Olibcalls */
10436 char *p = (char *) alloca (1);
10441 rm -f conftest.
$ac_objext conftest
$ac_exeext
10442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10443 (eval $ac_link) 2>&5
10445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 (exit $ac_status); } &&
10447 { ac_try
='test -s conftest$ac_exeext'
10448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10449 (eval $ac_try) 2>&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); }; }; then
10453 ac_cv_func_alloca_works
=yes
10455 echo "$as_me: failed program was:" >&5
10456 sed 's/^/| /' conftest.
$ac_ext >&5
10458 ac_cv_func_alloca_works
=no
10460 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10462 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
10463 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
10465 if test $ac_cv_func_alloca_works = yes; then
10467 cat >>confdefs.h
<<\_ACEOF
10468 #define HAVE_ALLOCA 1
10472 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
10473 # that cause trouble. Some versions do not even contain alloca or
10474 # contain a buggy version. If you still want to use their alloca,
10475 # use ar to extract alloca.o from them instead of compiling alloca.c.
10477 ALLOCA
=alloca.
$ac_objext
10479 cat >>confdefs.h
<<\_ACEOF
10484 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
10485 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
10486 if test "${ac_cv_os_cray+set}" = set; then
10487 echo $ECHO_N "(cached) $ECHO_C" >&6
10489 cat >conftest.
$ac_ext <<_ACEOF
10490 #line $LINENO "configure"
10493 cat confdefs.h
>>conftest.
$ac_ext
10494 cat >>conftest.
$ac_ext <<_ACEOF
10495 /* end confdefs.h. */
10496 #if defined(CRAY) && ! defined(CRAY2)
10503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10504 $EGREP "webecray" >/dev
/null
2>&1; then
10512 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
10513 echo "${ECHO_T}$ac_cv_os_cray" >&6
10514 if test $ac_cv_os_cray = yes; then
10515 for ac_func
in _getb67 GETB67 getb67
; do
10516 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10517 echo "$as_me:$LINENO: checking for $ac_func" >&5
10518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10519 if eval "test \"\${$as_ac_var+set}\" = set"; then
10520 echo $ECHO_N "(cached) $ECHO_C" >&6
10522 cat >conftest.
$ac_ext <<_ACEOF
10523 #line $LINENO "configure"
10526 cat confdefs.h
>>conftest.
$ac_ext
10527 cat >>conftest.
$ac_ext <<_ACEOF
10528 /* end confdefs.h. */
10529 /* System header to define __stub macros and hopefully few prototypes,
10530 which can conflict with char $ac_func (); below.
10531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10532 <limits.h> exists even on freestanding compilers. */
10534 # include <limits.h>
10536 # include <assert.h>
10538 /* Override any gcc2 internal prototype to avoid an error. */
10543 /* We use char because int might match the return type of a gcc2
10544 builtin and then its argument prototype would still apply. */
10546 /* The GNU C library defines this for functions which it implements
10547 to always fail with ENOSYS. Some functions are actually named
10548 something starting with __ and the normal name is an alias. */
10549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10552 char (*f) () = $ac_func;
10561 return f != $ac_func;
10566 rm -f conftest.
$ac_objext conftest
$ac_exeext
10567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10568 (eval $ac_link) 2>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); } &&
10572 { ac_try
='test -s conftest$ac_exeext'
10573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10574 (eval $ac_try) 2>&5
10576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 (exit $ac_status); }; }; then
10578 eval "$as_ac_var=yes"
10580 echo "$as_me: failed program was:" >&5
10581 sed 's/^/| /' conftest.
$ac_ext >&5
10583 eval "$as_ac_var=no"
10585 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10589 if test `eval echo '${'$as_ac_var'}'` = yes; then
10591 cat >>confdefs.h
<<_ACEOF
10592 #define CRAY_STACKSEG_END $ac_func
10601 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
10602 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
10603 if test "${ac_cv_c_stack_direction+set}" = set; then
10604 echo $ECHO_N "(cached) $ECHO_C" >&6
10606 if test "$cross_compiling" = yes; then
10607 ac_cv_c_stack_direction
=0
10609 cat >conftest.
$ac_ext <<_ACEOF
10610 #line $LINENO "configure"
10613 cat confdefs.h
>>conftest.
$ac_ext
10614 cat >>conftest.
$ac_ext <<_ACEOF
10615 /* end confdefs.h. */
10617 find_stack_direction ()
10619 static char *addr = 0;
10624 return find_stack_direction ();
10627 return (&dummy > addr) ? 1 : -1;
10633 exit (find_stack_direction () < 0);
10636 rm -f conftest
$ac_exeext
10637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10638 (eval $ac_link) 2>&5
10640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10643 (eval $ac_try) 2>&5
10645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10646 (exit $ac_status); }; }; then
10647 ac_cv_c_stack_direction
=1
10649 echo "$as_me: program exited with status $ac_status" >&5
10650 echo "$as_me: failed program was:" >&5
10651 sed 's/^/| /' conftest.
$ac_ext >&5
10653 ( exit $ac_status )
10654 ac_cv_c_stack_direction
=-1
10656 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10659 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
10660 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
10662 cat >>confdefs.h
<<_ACEOF
10663 #define STACK_DIRECTION $ac_cv_c_stack_direction
10670 # fmod, logb, and frexp are found in -lm on most systems.
10671 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
10673 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
10674 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
10675 if test "${ac_cv_lib_m_sqrt+set}" = set; then
10676 echo $ECHO_N "(cached) $ECHO_C" >&6
10678 ac_check_lib_save_LIBS
=$LIBS
10680 cat >conftest.
$ac_ext <<_ACEOF
10681 #line $LINENO "configure"
10684 cat confdefs.h
>>conftest.
$ac_ext
10685 cat >>conftest.
$ac_ext <<_ACEOF
10686 /* end confdefs.h. */
10688 /* Override any gcc2 internal prototype to avoid an error. */
10692 /* We use char because int might match the return type of a gcc2
10693 builtin and then its argument prototype would still apply. */
10703 rm -f conftest.
$ac_objext conftest
$ac_exeext
10704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10705 (eval $ac_link) 2>&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } &&
10709 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
10715 ac_cv_lib_m_sqrt
=yes
10717 echo "$as_me: failed program was:" >&5
10718 sed 's/^/| /' conftest.
$ac_ext >&5
10720 ac_cv_lib_m_sqrt
=no
10722 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10723 LIBS
=$ac_check_lib_save_LIBS
10725 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
10726 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
10727 if test $ac_cv_lib_m_sqrt = yes; then
10728 cat >>confdefs.h
<<_ACEOF
10729 #define HAVE_LIBM 1
10737 # Check for mail-locking functions in a "mail" library
10739 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
10740 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
10741 if test "${ac_cv_lib_mail_maillock+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 ac_check_lib_save_LIBS
=$LIBS
10745 LIBS
="-lmail $LIBS"
10746 cat >conftest.
$ac_ext <<_ACEOF
10747 #line $LINENO "configure"
10750 cat confdefs.h
>>conftest.
$ac_ext
10751 cat >>conftest.
$ac_ext <<_ACEOF
10752 /* end confdefs.h. */
10754 /* Override any gcc2 internal prototype to avoid an error. */
10758 /* We use char because int might match the return type of a gcc2
10759 builtin and then its argument prototype would still apply. */
10769 rm -f conftest.
$ac_objext conftest
$ac_exeext
10770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10771 (eval $ac_link) 2>&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); } &&
10775 { ac_try
='test -s conftest$ac_exeext'
10776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777 (eval $ac_try) 2>&5
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; }; then
10781 ac_cv_lib_mail_maillock
=yes
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.
$ac_ext >&5
10786 ac_cv_lib_mail_maillock
=no
10788 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10789 LIBS
=$ac_check_lib_save_LIBS
10791 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
10792 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
10793 if test $ac_cv_lib_mail_maillock = yes; then
10794 cat >>confdefs.h
<<_ACEOF
10795 #define HAVE_LIBMAIL 1
10798 LIBS
="-lmail $LIBS"
10803 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
10804 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
10805 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 ac_check_lib_save_LIBS
=$LIBS
10809 LIBS
="-llockfile $LIBS"
10810 cat >conftest.
$ac_ext <<_ACEOF
10811 #line $LINENO "configure"
10814 cat confdefs.h
>>conftest.
$ac_ext
10815 cat >>conftest.
$ac_ext <<_ACEOF
10816 /* end confdefs.h. */
10818 /* Override any gcc2 internal prototype to avoid an error. */
10822 /* We use char because int might match the return type of a gcc2
10823 builtin and then its argument prototype would still apply. */
10833 rm -f conftest.
$ac_objext conftest
$ac_exeext
10834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10835 (eval $ac_link) 2>&5
10837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10838 (exit $ac_status); } &&
10839 { ac_try
='test -s conftest$ac_exeext'
10840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10841 (eval $ac_try) 2>&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); }; }; then
10845 ac_cv_lib_lockfile_maillock
=yes
10847 echo "$as_me: failed program was:" >&5
10848 sed 's/^/| /' conftest.
$ac_ext >&5
10850 ac_cv_lib_lockfile_maillock
=no
10852 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10853 LIBS
=$ac_check_lib_save_LIBS
10855 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
10856 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
10857 if test $ac_cv_lib_lockfile_maillock = yes; then
10858 cat >>confdefs.h
<<_ACEOF
10859 #define HAVE_LIBLOCKFILE 1
10862 LIBS
="-llockfile $LIBS"
10866 # If we have the shared liblockfile, assume we must use it for mail
10867 # locking (e.g. Debian). If we couldn't link against liblockfile
10868 # (no liblockfile.a installed), ensure that we don't need to.
10869 if test "$ac_cv_lib_lockfile_maillock" = no
; then
10870 # Extract the first word of "liblockfile.so", so it can be a program name with args.
10871 set dummy liblockfile.so
; ac_word
=$2
10872 echo "$as_me:$LINENO: checking for $ac_word" >&5
10873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10874 if test "${ac_cv_prog_liblockfile+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 if test -n "$liblockfile"; then
10878 ac_cv_prog_liblockfile
="$liblockfile" # Let the user override the test.
10880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10881 as_dummy
="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
10882 for as_dir
in $as_dummy
10885 test -z "$as_dir" && as_dir
=.
10886 for ac_exec_ext
in '' $ac_executable_extensions; do
10887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10888 ac_cv_prog_liblockfile
="yes"
10889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10895 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile
="no"
10898 liblockfile
=$ac_cv_prog_liblockfile
10899 if test -n "$liblockfile"; then
10900 echo "$as_me:$LINENO: result: $liblockfile" >&5
10901 echo "${ECHO_T}$liblockfile" >&6
10903 echo "$as_me:$LINENO: result: no" >&5
10904 echo "${ECHO_T}no" >&6
10907 if test $ac_cv_prog_liblockfile = yes; then
10908 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
10909 This probably means that movemail could lose mail.
10910 There may be a \`development' package to install containing liblockfile." >&5
10911 echo "$as_me: error: Shared liblockfile found but can't link against it.
10912 This probably means that movemail could lose mail.
10913 There may be a \`development' package to install containing liblockfile." >&2;}
10914 { (exit 1); exit 1; }; }
10916 cat >>confdefs.h
<<\_ACEOF
10917 #define LIBMAIL -llockfile
10924 for ac_func
in touchlock
10926 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10927 echo "$as_me:$LINENO: checking for $ac_func" >&5
10928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10929 if eval "test \"\${$as_ac_var+set}\" = set"; then
10930 echo $ECHO_N "(cached) $ECHO_C" >&6
10932 cat >conftest.
$ac_ext <<_ACEOF
10933 #line $LINENO "configure"
10936 cat confdefs.h
>>conftest.
$ac_ext
10937 cat >>conftest.
$ac_ext <<_ACEOF
10938 /* end confdefs.h. */
10939 /* System header to define __stub macros and hopefully few prototypes,
10940 which can conflict with char $ac_func (); below.
10941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10942 <limits.h> exists even on freestanding compilers. */
10944 # include <limits.h>
10946 # include <assert.h>
10948 /* Override any gcc2 internal prototype to avoid an error. */
10953 /* We use char because int might match the return type of a gcc2
10954 builtin and then its argument prototype would still apply. */
10956 /* The GNU C library defines this for functions which it implements
10957 to always fail with ENOSYS. Some functions are actually named
10958 something starting with __ and the normal name is an alias. */
10959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10962 char (*f) () = $ac_func;
10971 return f != $ac_func;
10976 rm -f conftest.
$ac_objext conftest
$ac_exeext
10977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10978 (eval $ac_link) 2>&5
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); } &&
10982 { ac_try
='test -s conftest$ac_exeext'
10983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10984 (eval $ac_try) 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); }; }; then
10988 eval "$as_ac_var=yes"
10990 echo "$as_me: failed program was:" >&5
10991 sed 's/^/| /' conftest.
$ac_ext >&5
10993 eval "$as_ac_var=no"
10995 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10999 if test `eval echo '${'$as_ac_var'}'` = yes; then
11000 cat >>confdefs.h
<<_ACEOF
11001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11008 for ac_header
in maillock.h
11010 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11012 echo "$as_me:$LINENO: checking for $ac_header" >&5
11013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11015 echo $ECHO_N "(cached) $ECHO_C" >&6
11017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11020 # Is the header compilable?
11021 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11023 cat >conftest.
$ac_ext <<_ACEOF
11024 #line $LINENO "configure"
11027 cat confdefs.h
>>conftest.
$ac_ext
11028 cat >>conftest.
$ac_ext <<_ACEOF
11029 /* end confdefs.h. */
11030 $ac_includes_default
11031 #include <$ac_header>
11033 rm -f conftest.
$ac_objext
11034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11035 (eval $ac_compile) 2>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); } &&
11039 { ac_try
='test -s conftest.$ac_objext'
11040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11041 (eval $ac_try) 2>&5
11043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); }; }; then
11045 ac_header_compiler
=yes
11047 echo "$as_me: failed program was:" >&5
11048 sed 's/^/| /' conftest.
$ac_ext >&5
11050 ac_header_compiler
=no
11052 rm -f conftest.
$ac_objext conftest.
$ac_ext
11053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11054 echo "${ECHO_T}$ac_header_compiler" >&6
11056 # Is the header present?
11057 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11058 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11059 cat >conftest.
$ac_ext <<_ACEOF
11060 #line $LINENO "configure"
11063 cat confdefs.h
>>conftest.
$ac_ext
11064 cat >>conftest.
$ac_ext <<_ACEOF
11065 /* end confdefs.h. */
11066 #include <$ac_header>
11068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11069 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11071 grep -v '^ *+' conftest.er1
>conftest.err
11073 cat conftest.err
>&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); } >/dev
/null
; then
11076 if test -s conftest.err
; then
11077 ac_cpp_err
=$ac_c_preproc_warn_flag
11084 if test -z "$ac_cpp_err"; then
11085 ac_header_preproc
=yes
11087 echo "$as_me: failed program was:" >&5
11088 sed 's/^/| /' conftest.
$ac_ext >&5
11090 ac_header_preproc
=no
11092 rm -f conftest.err conftest.
$ac_ext
11093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11094 echo "${ECHO_T}$ac_header_preproc" >&6
11096 # So? What about this header?
11097 case $ac_header_compiler:$ac_header_preproc in
11099 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11100 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11105 ## ------------------------------------ ##
11106 ## Report this to bug-autoconf@gnu.org. ##
11107 ## ------------------------------------ ##
11110 sed "s/^/$as_me: WARNING: /" >&2
11113 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11114 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11115 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11116 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11118 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11121 ## ------------------------------------ ##
11122 ## Report this to bug-autoconf@gnu.org. ##
11123 ## ------------------------------------ ##
11126 sed "s/^/$as_me: WARNING: /" >&2
11129 echo "$as_me:$LINENO: checking for $ac_header" >&5
11130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11132 echo $ECHO_N "(cached) $ECHO_C" >&6
11134 eval "$as_ac_Header=$ac_header_preproc"
11136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11141 cat >>confdefs.h
<<_ACEOF
11142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11210 for ac_func
in gethostname getdomainname dup2 \
11211 rename closedir mkdir
rmdir sysinfo \
11212 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
11213 strerror fpathconf
select mktime euidaccess getpagesize tzset setlocale \
11214 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
11215 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
11216 sendto recvfrom getsockopt setsockopt getsockname getpeername \
11217 gai_strerror mkstemp getline getdelim mremap memmove fsync bzero memset
11219 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11220 echo "$as_me:$LINENO: checking for $ac_func" >&5
11221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11222 if eval "test \"\${$as_ac_var+set}\" = set"; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 cat >conftest.
$ac_ext <<_ACEOF
11226 #line $LINENO "configure"
11229 cat confdefs.h
>>conftest.
$ac_ext
11230 cat >>conftest.
$ac_ext <<_ACEOF
11231 /* end confdefs.h. */
11232 /* System header to define __stub macros and hopefully few prototypes,
11233 which can conflict with char $ac_func (); below.
11234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11235 <limits.h> exists even on freestanding compilers. */
11237 # include <limits.h>
11239 # include <assert.h>
11241 /* Override any gcc2 internal prototype to avoid an error. */
11246 /* We use char because int might match the return type of a gcc2
11247 builtin and then its argument prototype would still apply. */
11249 /* The GNU C library defines this for functions which it implements
11250 to always fail with ENOSYS. Some functions are actually named
11251 something starting with __ and the normal name is an alias. */
11252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11255 char (*f) () = $ac_func;
11264 return f != $ac_func;
11269 rm -f conftest.
$ac_objext conftest
$ac_exeext
11270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11271 (eval $ac_link) 2>&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); } &&
11275 { ac_try
='test -s conftest$ac_exeext'
11276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11277 (eval $ac_try) 2>&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); }; }; then
11281 eval "$as_ac_var=yes"
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.
$ac_ext >&5
11286 eval "$as_ac_var=no"
11288 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11292 if test `eval echo '${'$as_ac_var'}'` = yes; then
11293 cat >>confdefs.h
<<_ACEOF
11294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11302 for ac_header
in sys
/un.h
11304 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11306 echo "$as_me:$LINENO: checking for $ac_header" >&5
11307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11309 echo $ECHO_N "(cached) $ECHO_C" >&6
11311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11314 # Is the header compilable?
11315 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11316 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11317 cat >conftest.
$ac_ext <<_ACEOF
11318 #line $LINENO "configure"
11321 cat confdefs.h
>>conftest.
$ac_ext
11322 cat >>conftest.
$ac_ext <<_ACEOF
11323 /* end confdefs.h. */
11324 $ac_includes_default
11325 #include <$ac_header>
11327 rm -f conftest.
$ac_objext
11328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11329 (eval $ac_compile) 2>&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); } &&
11333 { ac_try
='test -s conftest.$ac_objext'
11334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11335 (eval $ac_try) 2>&5
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); }; }; then
11339 ac_header_compiler
=yes
11341 echo "$as_me: failed program was:" >&5
11342 sed 's/^/| /' conftest.
$ac_ext >&5
11344 ac_header_compiler
=no
11346 rm -f conftest.
$ac_objext conftest.
$ac_ext
11347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11348 echo "${ECHO_T}$ac_header_compiler" >&6
11350 # Is the header present?
11351 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11352 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11353 cat >conftest.
$ac_ext <<_ACEOF
11354 #line $LINENO "configure"
11357 cat confdefs.h
>>conftest.
$ac_ext
11358 cat >>conftest.
$ac_ext <<_ACEOF
11359 /* end confdefs.h. */
11360 #include <$ac_header>
11362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11363 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11365 grep -v '^ *+' conftest.er1
>conftest.err
11367 cat conftest.err
>&5
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); } >/dev
/null
; then
11370 if test -s conftest.err
; then
11371 ac_cpp_err
=$ac_c_preproc_warn_flag
11378 if test -z "$ac_cpp_err"; then
11379 ac_header_preproc
=yes
11381 echo "$as_me: failed program was:" >&5
11382 sed 's/^/| /' conftest.
$ac_ext >&5
11384 ac_header_preproc
=no
11386 rm -f conftest.err conftest.
$ac_ext
11387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11388 echo "${ECHO_T}$ac_header_preproc" >&6
11390 # So? What about this header?
11391 case $ac_header_compiler:$ac_header_preproc in
11393 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11394 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11399 ## ------------------------------------ ##
11400 ## Report this to bug-autoconf@gnu.org. ##
11401 ## ------------------------------------ ##
11404 sed "s/^/$as_me: WARNING: /" >&2
11407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11410 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11415 ## ------------------------------------ ##
11416 ## Report this to bug-autoconf@gnu.org. ##
11417 ## ------------------------------------ ##
11420 sed "s/^/$as_me: WARNING: /" >&2
11423 echo "$as_me:$LINENO: checking for $ac_header" >&5
11424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11426 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 eval "$as_ac_Header=$ac_header_preproc"
11430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11435 cat >>confdefs.h
<<_ACEOF
11436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11446 for ac_header
in sys
/time.h unistd.h
11448 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11450 echo "$as_me:$LINENO: checking for $ac_header" >&5
11451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11453 echo $ECHO_N "(cached) $ECHO_C" >&6
11455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11458 # Is the header compilable?
11459 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11460 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11461 cat >conftest.
$ac_ext <<_ACEOF
11462 #line $LINENO "configure"
11465 cat confdefs.h
>>conftest.
$ac_ext
11466 cat >>conftest.
$ac_ext <<_ACEOF
11467 /* end confdefs.h. */
11468 $ac_includes_default
11469 #include <$ac_header>
11471 rm -f conftest.
$ac_objext
11472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11473 (eval $ac_compile) 2>&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); } &&
11477 { ac_try
='test -s conftest.$ac_objext'
11478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11479 (eval $ac_try) 2>&5
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); }; }; then
11483 ac_header_compiler
=yes
11485 echo "$as_me: failed program was:" >&5
11486 sed 's/^/| /' conftest.
$ac_ext >&5
11488 ac_header_compiler
=no
11490 rm -f conftest.
$ac_objext conftest.
$ac_ext
11491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11492 echo "${ECHO_T}$ac_header_compiler" >&6
11494 # Is the header present?
11495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11497 cat >conftest.
$ac_ext <<_ACEOF
11498 #line $LINENO "configure"
11501 cat confdefs.h
>>conftest.
$ac_ext
11502 cat >>conftest.
$ac_ext <<_ACEOF
11503 /* end confdefs.h. */
11504 #include <$ac_header>
11506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11507 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11509 grep -v '^ *+' conftest.er1
>conftest.err
11511 cat conftest.err
>&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); } >/dev
/null
; then
11514 if test -s conftest.err
; then
11515 ac_cpp_err
=$ac_c_preproc_warn_flag
11522 if test -z "$ac_cpp_err"; then
11523 ac_header_preproc
=yes
11525 echo "$as_me: failed program was:" >&5
11526 sed 's/^/| /' conftest.
$ac_ext >&5
11528 ac_header_preproc
=no
11530 rm -f conftest.err conftest.
$ac_ext
11531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11532 echo "${ECHO_T}$ac_header_preproc" >&6
11534 # So? What about this header?
11535 case $ac_header_compiler:$ac_header_preproc in
11537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11543 ## ------------------------------------ ##
11544 ## Report this to bug-autoconf@gnu.org. ##
11545 ## ------------------------------------ ##
11548 sed "s/^/$as_me: WARNING: /" >&2
11551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11559 ## ------------------------------------ ##
11560 ## Report this to bug-autoconf@gnu.org. ##
11561 ## ------------------------------------ ##
11564 sed "s/^/$as_me: WARNING: /" >&2
11567 echo "$as_me:$LINENO: checking for $ac_header" >&5
11568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11570 echo $ECHO_N "(cached) $ECHO_C" >&6
11572 eval "$as_ac_Header=$ac_header_preproc"
11574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11579 cat >>confdefs.h
<<_ACEOF
11580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11588 for ac_func
in alarm
11590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11591 echo "$as_me:$LINENO: checking for $ac_func" >&5
11592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11593 if eval "test \"\${$as_ac_var+set}\" = set"; then
11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11596 cat >conftest.
$ac_ext <<_ACEOF
11597 #line $LINENO "configure"
11600 cat confdefs.h
>>conftest.
$ac_ext
11601 cat >>conftest.
$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11603 /* System header to define __stub macros and hopefully few prototypes,
11604 which can conflict with char $ac_func (); below.
11605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11606 <limits.h> exists even on freestanding compilers. */
11608 # include <limits.h>
11610 # include <assert.h>
11612 /* Override any gcc2 internal prototype to avoid an error. */
11617 /* We use char because int might match the return type of a gcc2
11618 builtin and then its argument prototype would still apply. */
11620 /* The GNU C library defines this for functions which it implements
11621 to always fail with ENOSYS. Some functions are actually named
11622 something starting with __ and the normal name is an alias. */
11623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11626 char (*f) () = $ac_func;
11635 return f != $ac_func;
11640 rm -f conftest.
$ac_objext conftest
$ac_exeext
11641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11642 (eval $ac_link) 2>&5
11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645 (exit $ac_status); } &&
11646 { ac_try
='test -s conftest$ac_exeext'
11647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11648 (eval $ac_try) 2>&5
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); }; }; then
11652 eval "$as_ac_var=yes"
11654 echo "$as_me: failed program was:" >&5
11655 sed 's/^/| /' conftest.
$ac_ext >&5
11657 eval "$as_ac_var=no"
11659 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11663 if test `eval echo '${'$as_ac_var'}'` = yes; then
11664 cat >>confdefs.h
<<_ACEOF
11665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11671 echo "$as_me:$LINENO: checking for working mktime" >&5
11672 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
11673 if test "${ac_cv_func_working_mktime+set}" = set; then
11674 echo $ECHO_N "(cached) $ECHO_C" >&6
11676 if test "$cross_compiling" = yes; then
11677 ac_cv_func_working_mktime
=no
11679 cat >conftest.
$ac_ext <<_ACEOF
11680 #line $LINENO "configure"
11683 cat confdefs.h
>>conftest.
$ac_ext
11684 cat >>conftest.
$ac_ext <<_ACEOF
11685 /* end confdefs.h. */
11686 /* Test program from Paul Eggert and Tony Leneis. */
11687 #if TIME_WITH_SYS_TIME
11688 # include <sys/time.h>
11691 # if HAVE_SYS_TIME_H
11692 # include <sys/time.h>
11699 # include <unistd.h>
11703 # define alarm(X) /* empty */
11706 /* Work around redefinition to rpl_putenv by other config tests. */
11709 static time_t time_t_max;
11711 /* Values we'll use to set the TZ environment variable. */
11712 static const char *const tz_strings[] = {
11713 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
11714 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
11716 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
11718 /* Fail if mktime fails to convert a date in the spring-forward gap.
11719 Based on a problem report from Andreas Jaeger. */
11721 spring_forward_gap ()
11723 /* glibc (up to about 1998-10-07) failed this test. */
11726 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
11727 instead of "TZ=America/Vancouver" in order to detect the bug even
11728 on systems that don't support the Olson extension, or don't have the
11729 full zoneinfo tables installed. */
11730 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
11739 if (mktime (&tm) == (time_t)-1)
11748 if ((lt = localtime (&now)) && mktime (lt) != now)
11750 now = time_t_max - now;
11751 if ((lt = localtime (&now)) && mktime (lt) != now)
11758 /* Based on code from Ariel Faigon. */
11768 if (tm.tm_mon != 2 || tm.tm_mday != 31)
11778 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
11779 now = mktime (&tm);
11780 if (now != (time_t) -1)
11782 struct tm *lt = localtime (&now);
11784 && lt->tm_year == tm.tm_year
11785 && lt->tm_mon == tm.tm_mon
11786 && lt->tm_mday == tm.tm_mday
11787 && lt->tm_hour == tm.tm_hour
11788 && lt->tm_min == tm.tm_min
11789 && lt->tm_sec == tm.tm_sec
11790 && lt->tm_yday == tm.tm_yday
11791 && lt->tm_wday == tm.tm_wday
11792 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
11793 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
11804 /* This test makes some buggy mktime implementations loop.
11805 Give up after 60 seconds; a mktime slower than that
11806 isn't worth using anyway. */
11809 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
11812 delta = time_t_max / 997; /* a suitable prime number */
11813 for (i = 0; i < N_STRINGS; i++)
11816 putenv (tz_strings[i]);
11818 for (t = 0; t <= time_t_max - delta; t += delta)
11820 mktime_test ((time_t) 60 * 60);
11821 mktime_test ((time_t) 60 * 60 * 24);
11823 for (j = 1; 0 < j; j *= 2)
11825 bigtime_test (j - 1);
11828 spring_forward_gap ();
11832 rm -f conftest
$ac_exeext
11833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11834 (eval $ac_link) 2>&5
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11839 (eval $ac_try) 2>&5
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); }; }; then
11843 ac_cv_func_working_mktime
=yes
11845 echo "$as_me: program exited with status $ac_status" >&5
11846 echo "$as_me: failed program was:" >&5
11847 sed 's/^/| /' conftest.
$ac_ext >&5
11849 ( exit $ac_status )
11850 ac_cv_func_working_mktime
=no
11852 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11855 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
11856 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
11857 if test $ac_cv_func_working_mktime = no
; then
11858 LIBOBJS
="$LIBOBJS mktime.$ac_objext"
11861 if test "$ac_cv_func_working_mktime" = no
; then
11863 cat >>confdefs.h
<<\_ACEOF
11864 #define BROKEN_MKTIME 1
11869 ac_have_func
=no
# yes means we've found a way to get the load average.
11871 # Make sure getloadavg.c is where it belongs, at configure-time.
11872 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
11873 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
11874 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
11875 { (exit 1); exit 1; }; }
11879 # Check for getloadavg, but be sure not to touch the cache variable.
11880 (echo "$as_me:$LINENO: checking for getloadavg" >&5
11881 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
11882 if test "${ac_cv_func_getloadavg+set}" = set; then
11883 echo $ECHO_N "(cached) $ECHO_C" >&6
11885 cat >conftest.
$ac_ext <<_ACEOF
11886 #line $LINENO "configure"
11889 cat confdefs.h
>>conftest.
$ac_ext
11890 cat >>conftest.
$ac_ext <<_ACEOF
11891 /* end confdefs.h. */
11892 /* System header to define __stub macros and hopefully few prototypes,
11893 which can conflict with char getloadavg (); below.
11894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11895 <limits.h> exists even on freestanding compilers. */
11897 # include <limits.h>
11899 # include <assert.h>
11901 /* Override any gcc2 internal prototype to avoid an error. */
11906 /* We use char because int might match the return type of a gcc2
11907 builtin and then its argument prototype would still apply. */
11908 char getloadavg ();
11909 /* The GNU C library defines this for functions which it implements
11910 to always fail with ENOSYS. Some functions are actually named
11911 something starting with __ and the normal name is an alias. */
11912 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
11915 char (*f) () = getloadavg;
11924 return f != getloadavg;
11929 rm -f conftest.
$ac_objext conftest
$ac_exeext
11930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11931 (eval $ac_link) 2>&5
11933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11934 (exit $ac_status); } &&
11935 { ac_try
='test -s conftest$ac_exeext'
11936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11937 (eval $ac_try) 2>&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); }; }; then
11941 ac_cv_func_getloadavg
=yes
11943 echo "$as_me: failed program was:" >&5
11944 sed 's/^/| /' conftest.
$ac_ext >&5
11946 ac_cv_func_getloadavg
=no
11948 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11950 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
11951 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
11952 if test $ac_cv_func_getloadavg = yes; then
11957 ) && ac_have_func
=yes
11959 # On HPUX9, an unprivileged user can get load averages through this function.
11961 for ac_func
in pstat_getdynamic
11963 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11964 echo "$as_me:$LINENO: checking for $ac_func" >&5
11965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11966 if eval "test \"\${$as_ac_var+set}\" = set"; then
11967 echo $ECHO_N "(cached) $ECHO_C" >&6
11969 cat >conftest.
$ac_ext <<_ACEOF
11970 #line $LINENO "configure"
11973 cat confdefs.h
>>conftest.
$ac_ext
11974 cat >>conftest.
$ac_ext <<_ACEOF
11975 /* end confdefs.h. */
11976 /* System header to define __stub macros and hopefully few prototypes,
11977 which can conflict with char $ac_func (); below.
11978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11979 <limits.h> exists even on freestanding compilers. */
11981 # include <limits.h>
11983 # include <assert.h>
11985 /* Override any gcc2 internal prototype to avoid an error. */
11990 /* We use char because int might match the return type of a gcc2
11991 builtin and then its argument prototype would still apply. */
11993 /* The GNU C library defines this for functions which it implements
11994 to always fail with ENOSYS. Some functions are actually named
11995 something starting with __ and the normal name is an alias. */
11996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11999 char (*f) () = $ac_func;
12008 return f != $ac_func;
12013 rm -f conftest.
$ac_objext conftest
$ac_exeext
12014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12015 (eval $ac_link) 2>&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); } &&
12019 { ac_try
='test -s conftest$ac_exeext'
12020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12021 (eval $ac_try) 2>&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); }; }; then
12025 eval "$as_ac_var=yes"
12027 echo "$as_me: failed program was:" >&5
12028 sed 's/^/| /' conftest.
$ac_ext >&5
12030 eval "$as_ac_var=no"
12032 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12036 if test `eval echo '${'$as_ac_var'}'` = yes; then
12037 cat >>confdefs.h
<<_ACEOF
12038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12045 # Solaris has libkstat which does not require root.
12047 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
12048 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
12049 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 ac_check_lib_save_LIBS
=$LIBS
12053 LIBS
="-lkstat $LIBS"
12054 cat >conftest.
$ac_ext <<_ACEOF
12055 #line $LINENO "configure"
12058 cat confdefs.h
>>conftest.
$ac_ext
12059 cat >>conftest.
$ac_ext <<_ACEOF
12060 /* end confdefs.h. */
12062 /* Override any gcc2 internal prototype to avoid an error. */
12066 /* We use char because int might match the return type of a gcc2
12067 builtin and then its argument prototype would still apply. */
12068 char kstat_open ();
12077 rm -f conftest.
$ac_objext conftest
$ac_exeext
12078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12079 (eval $ac_link) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); } &&
12083 { ac_try
='test -s conftest$ac_exeext'
12084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085 (eval $ac_try) 2>&5
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); }; }; then
12089 ac_cv_lib_kstat_kstat_open
=yes
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.
$ac_ext >&5
12094 ac_cv_lib_kstat_kstat_open
=no
12096 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12097 LIBS
=$ac_check_lib_save_LIBS
12099 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
12100 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
12101 if test $ac_cv_lib_kstat_kstat_open = yes; then
12102 cat >>confdefs.h
<<_ACEOF
12103 #define HAVE_LIBKSTAT 1
12106 LIBS
="-lkstat $LIBS"
12110 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func
=yes
12112 # Some systems with -lutil have (and need) -lkvm as well, some do not.
12113 # On Solaris, -lkvm requires nlist from -lelf, so check that first
12114 # to get the right answer into the cache.
12115 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
12116 if test $ac_have_func = no
; then
12117 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
12118 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
12119 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
12120 echo $ECHO_N "(cached) $ECHO_C" >&6
12122 ac_check_lib_save_LIBS
=$LIBS
12124 cat >conftest.
$ac_ext <<_ACEOF
12125 #line $LINENO "configure"
12128 cat confdefs.h
>>conftest.
$ac_ext
12129 cat >>conftest.
$ac_ext <<_ACEOF
12130 /* end confdefs.h. */
12132 /* Override any gcc2 internal prototype to avoid an error. */
12136 /* We use char because int might match the return type of a gcc2
12137 builtin and then its argument prototype would still apply. */
12147 rm -f conftest.
$ac_objext conftest
$ac_exeext
12148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12149 (eval $ac_link) 2>&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); } &&
12153 { ac_try
='test -s conftest$ac_exeext'
12154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12155 (eval $ac_try) 2>&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); }; }; then
12159 ac_cv_lib_elf_elf_begin
=yes
12161 echo "$as_me: failed program was:" >&5
12162 sed 's/^/| /' conftest.
$ac_ext >&5
12164 ac_cv_lib_elf_elf_begin
=no
12166 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12167 LIBS
=$ac_check_lib_save_LIBS
12169 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
12170 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
12171 if test $ac_cv_lib_elf_elf_begin = yes; then
12176 if test $ac_have_func = no
; then
12177 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
12178 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
12179 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
12180 echo $ECHO_N "(cached) $ECHO_C" >&6
12182 ac_check_lib_save_LIBS
=$LIBS
12184 cat >conftest.
$ac_ext <<_ACEOF
12185 #line $LINENO "configure"
12188 cat confdefs.h
>>conftest.
$ac_ext
12189 cat >>conftest.
$ac_ext <<_ACEOF
12190 /* end confdefs.h. */
12192 /* Override any gcc2 internal prototype to avoid an error. */
12196 /* We use char because int might match the return type of a gcc2
12197 builtin and then its argument prototype would still apply. */
12207 rm -f conftest.
$ac_objext conftest
$ac_exeext
12208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12209 (eval $ac_link) 2>&5
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); } &&
12213 { ac_try
='test -s conftest$ac_exeext'
12214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12215 (eval $ac_try) 2>&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); }; }; then
12219 ac_cv_lib_kvm_kvm_open
=yes
12221 echo "$as_me: failed program was:" >&5
12222 sed 's/^/| /' conftest.
$ac_ext >&5
12224 ac_cv_lib_kvm_kvm_open
=no
12226 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12227 LIBS
=$ac_check_lib_save_LIBS
12229 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
12230 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
12231 if test $ac_cv_lib_kvm_kvm_open = yes; then
12235 # Check for the 4.4BSD definition of getloadavg.
12236 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
12237 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
12238 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
12239 echo $ECHO_N "(cached) $ECHO_C" >&6
12241 ac_check_lib_save_LIBS
=$LIBS
12242 LIBS
="-lutil $LIBS"
12243 cat >conftest.
$ac_ext <<_ACEOF
12244 #line $LINENO "configure"
12247 cat confdefs.h
>>conftest.
$ac_ext
12248 cat >>conftest.
$ac_ext <<_ACEOF
12249 /* end confdefs.h. */
12251 /* Override any gcc2 internal prototype to avoid an error. */
12255 /* We use char because int might match the return type of a gcc2
12256 builtin and then its argument prototype would still apply. */
12257 char getloadavg ();
12266 rm -f conftest.
$ac_objext conftest
$ac_exeext
12267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12268 (eval $ac_link) 2>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } &&
12272 { ac_try
='test -s conftest$ac_exeext'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; }; then
12278 ac_cv_lib_util_getloadavg
=yes
12280 echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.
$ac_ext >&5
12283 ac_cv_lib_util_getloadavg
=no
12285 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12286 LIBS
=$ac_check_lib_save_LIBS
12288 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
12289 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
12290 if test $ac_cv_lib_util_getloadavg = yes; then
12291 LIBS
="-lutil $LIBS" ac_have_func
=yes ac_cv_func_getloadavg_setgid
=yes
12296 if test $ac_have_func = no
; then
12297 # There is a commonly available library for RS/6000 AIX.
12298 # Since it is not a standard part of AIX, it might be installed locally.
12299 ac_getloadavg_LIBS
=$LIBS
12300 LIBS
="-L/usr/local/lib $LIBS"
12301 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
12302 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
12303 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12306 ac_check_lib_save_LIBS
=$LIBS
12307 LIBS
="-lgetloadavg $LIBS"
12308 cat >conftest.
$ac_ext <<_ACEOF
12309 #line $LINENO "configure"
12312 cat confdefs.h
>>conftest.
$ac_ext
12313 cat >>conftest.
$ac_ext <<_ACEOF
12314 /* end confdefs.h. */
12316 /* Override any gcc2 internal prototype to avoid an error. */
12320 /* We use char because int might match the return type of a gcc2
12321 builtin and then its argument prototype would still apply. */
12322 char getloadavg ();
12331 rm -f conftest.
$ac_objext conftest
$ac_exeext
12332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12333 (eval $ac_link) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); } &&
12337 { ac_try
='test -s conftest$ac_exeext'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; }; then
12343 ac_cv_lib_getloadavg_getloadavg
=yes
12345 echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.
$ac_ext >&5
12348 ac_cv_lib_getloadavg_getloadavg
=no
12350 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12351 LIBS
=$ac_check_lib_save_LIBS
12353 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
12354 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
12355 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
12356 LIBS
="-lgetloadavg $LIBS"
12358 LIBS
=$ac_getloadavg_LIBS
12363 # Make sure it is really in the library, if we think we found it,
12364 # otherwise set up the replacement function.
12366 for ac_func
in getloadavg
12368 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12369 echo "$as_me:$LINENO: checking for $ac_func" >&5
12370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12371 if eval "test \"\${$as_ac_var+set}\" = set"; then
12372 echo $ECHO_N "(cached) $ECHO_C" >&6
12374 cat >conftest.
$ac_ext <<_ACEOF
12375 #line $LINENO "configure"
12378 cat confdefs.h
>>conftest.
$ac_ext
12379 cat >>conftest.
$ac_ext <<_ACEOF
12380 /* end confdefs.h. */
12381 /* System header to define __stub macros and hopefully few prototypes,
12382 which can conflict with char $ac_func (); below.
12383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12384 <limits.h> exists even on freestanding compilers. */
12386 # include <limits.h>
12388 # include <assert.h>
12390 /* Override any gcc2 internal prototype to avoid an error. */
12395 /* We use char because int might match the return type of a gcc2
12396 builtin and then its argument prototype would still apply. */
12398 /* The GNU C library defines this for functions which it implements
12399 to always fail with ENOSYS. Some functions are actually named
12400 something starting with __ and the normal name is an alias. */
12401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12404 char (*f) () = $ac_func;
12413 return f != $ac_func;
12418 rm -f conftest.
$ac_objext conftest
$ac_exeext
12419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12420 (eval $ac_link) 2>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); } &&
12424 { ac_try
='test -s conftest$ac_exeext'
12425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12426 (eval $ac_try) 2>&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); }; }; then
12430 eval "$as_ac_var=yes"
12432 echo "$as_me: failed program was:" >&5
12433 sed 's/^/| /' conftest.
$ac_ext >&5
12435 eval "$as_ac_var=no"
12437 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12441 if test `eval echo '${'$as_ac_var'}'` = yes; then
12442 cat >>confdefs.h
<<_ACEOF
12443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12447 LIBOBJS
="$LIBOBJS getloadavg.$ac_objext"
12449 cat >>confdefs.h
<<\_ACEOF
12450 #define C_GETLOADAVG 1
12453 # Figure out what our getloadavg.c needs.
12455 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
12456 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
12457 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
12458 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
12459 echo $ECHO_N "(cached) $ECHO_C" >&6
12461 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
12462 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
12464 # Is the header compilable?
12465 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
12466 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
12467 cat >conftest.
$ac_ext <<_ACEOF
12468 #line $LINENO "configure"
12471 cat confdefs.h
>>conftest.
$ac_ext
12472 cat >>conftest.
$ac_ext <<_ACEOF
12473 /* end confdefs.h. */
12474 $ac_includes_default
12475 #include <sys/dg_sys_info.h>
12477 rm -f conftest.
$ac_objext
12478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12479 (eval $ac_compile) 2>&5
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); } &&
12483 { ac_try
='test -s conftest.$ac_objext'
12484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12485 (eval $ac_try) 2>&5
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); }; }; then
12489 ac_header_compiler
=yes
12491 echo "$as_me: failed program was:" >&5
12492 sed 's/^/| /' conftest.
$ac_ext >&5
12494 ac_header_compiler
=no
12496 rm -f conftest.
$ac_objext conftest.
$ac_ext
12497 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12498 echo "${ECHO_T}$ac_header_compiler" >&6
12500 # Is the header present?
12501 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
12502 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
12503 cat >conftest.
$ac_ext <<_ACEOF
12504 #line $LINENO "configure"
12507 cat confdefs.h
>>conftest.
$ac_ext
12508 cat >>conftest.
$ac_ext <<_ACEOF
12509 /* end confdefs.h. */
12510 #include <sys/dg_sys_info.h>
12512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12513 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12515 grep -v '^ *+' conftest.er1
>conftest.err
12517 cat conftest.err
>&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); } >/dev
/null
; then
12520 if test -s conftest.err
; then
12521 ac_cpp_err
=$ac_c_preproc_warn_flag
12528 if test -z "$ac_cpp_err"; then
12529 ac_header_preproc
=yes
12531 echo "$as_me: failed program was:" >&5
12532 sed 's/^/| /' conftest.
$ac_ext >&5
12534 ac_header_preproc
=no
12536 rm -f conftest.err conftest.
$ac_ext
12537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12538 echo "${ECHO_T}$ac_header_preproc" >&6
12540 # So? What about this header?
12541 case $ac_header_compiler:$ac_header_preproc in
12543 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
12544 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12545 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
12546 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
12549 ## ------------------------------------ ##
12550 ## Report this to bug-autoconf@gnu.org. ##
12551 ## ------------------------------------ ##
12554 sed "s/^/$as_me: WARNING: /" >&2
12557 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
12558 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
12559 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
12560 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
12561 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
12562 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
12565 ## ------------------------------------ ##
12566 ## Report this to bug-autoconf@gnu.org. ##
12567 ## ------------------------------------ ##
12570 sed "s/^/$as_me: WARNING: /" >&2
12573 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
12574 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
12575 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
12576 echo $ECHO_N "(cached) $ECHO_C" >&6
12578 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
12580 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
12581 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
12584 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
12587 cat >>confdefs.h
<<\_ACEOF
12592 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
12593 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
12594 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12597 ac_check_lib_save_LIBS
=$LIBS
12599 cat >conftest.
$ac_ext <<_ACEOF
12600 #line $LINENO "configure"
12603 cat confdefs.h
>>conftest.
$ac_ext
12604 cat >>conftest.
$ac_ext <<_ACEOF
12605 /* end confdefs.h. */
12607 /* Override any gcc2 internal prototype to avoid an error. */
12611 /* We use char because int might match the return type of a gcc2
12612 builtin and then its argument prototype would still apply. */
12613 char dg_sys_info ();
12622 rm -f conftest.
$ac_objext conftest
$ac_exeext
12623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12624 (eval $ac_link) 2>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); } &&
12628 { ac_try
='test -s conftest$ac_exeext'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; }; then
12634 ac_cv_lib_dgc_dg_sys_info
=yes
12636 echo "$as_me: failed program was:" >&5
12637 sed 's/^/| /' conftest.
$ac_ext >&5
12639 ac_cv_lib_dgc_dg_sys_info
=no
12641 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12642 LIBS
=$ac_check_lib_save_LIBS
12644 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
12645 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
12646 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
12647 cat >>confdefs.h
<<_ACEOF
12648 #define HAVE_LIBDGC 1
12659 if test "${ac_cv_header_locale_h+set}" = set; then
12660 echo "$as_me:$LINENO: checking for locale.h" >&5
12661 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
12662 if test "${ac_cv_header_locale_h+set}" = set; then
12663 echo $ECHO_N "(cached) $ECHO_C" >&6
12665 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
12666 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
12668 # Is the header compilable?
12669 echo "$as_me:$LINENO: checking locale.h usability" >&5
12670 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
12671 cat >conftest.
$ac_ext <<_ACEOF
12672 #line $LINENO "configure"
12675 cat confdefs.h
>>conftest.
$ac_ext
12676 cat >>conftest.
$ac_ext <<_ACEOF
12677 /* end confdefs.h. */
12678 $ac_includes_default
12679 #include <locale.h>
12681 rm -f conftest.
$ac_objext
12682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12683 (eval $ac_compile) 2>&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); } &&
12687 { ac_try
='test -s conftest.$ac_objext'
12688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12689 (eval $ac_try) 2>&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); }; }; then
12693 ac_header_compiler
=yes
12695 echo "$as_me: failed program was:" >&5
12696 sed 's/^/| /' conftest.
$ac_ext >&5
12698 ac_header_compiler
=no
12700 rm -f conftest.
$ac_objext conftest.
$ac_ext
12701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12702 echo "${ECHO_T}$ac_header_compiler" >&6
12704 # Is the header present?
12705 echo "$as_me:$LINENO: checking locale.h presence" >&5
12706 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
12707 cat >conftest.
$ac_ext <<_ACEOF
12708 #line $LINENO "configure"
12711 cat confdefs.h
>>conftest.
$ac_ext
12712 cat >>conftest.
$ac_ext <<_ACEOF
12713 /* end confdefs.h. */
12714 #include <locale.h>
12716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12717 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12719 grep -v '^ *+' conftest.er1
>conftest.err
12721 cat conftest.err
>&5
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); } >/dev
/null
; then
12724 if test -s conftest.err
; then
12725 ac_cpp_err
=$ac_c_preproc_warn_flag
12732 if test -z "$ac_cpp_err"; then
12733 ac_header_preproc
=yes
12735 echo "$as_me: failed program was:" >&5
12736 sed 's/^/| /' conftest.
$ac_ext >&5
12738 ac_header_preproc
=no
12740 rm -f conftest.err conftest.
$ac_ext
12741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12742 echo "${ECHO_T}$ac_header_preproc" >&6
12744 # So? What about this header?
12745 case $ac_header_compiler:$ac_header_preproc in
12747 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
12748 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12749 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
12750 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
12753 ## ------------------------------------ ##
12754 ## Report this to bug-autoconf@gnu.org. ##
12755 ## ------------------------------------ ##
12758 sed "s/^/$as_me: WARNING: /" >&2
12761 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
12762 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
12763 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
12764 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
12765 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
12766 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
12769 ## ------------------------------------ ##
12770 ## Report this to bug-autoconf@gnu.org. ##
12771 ## ------------------------------------ ##
12774 sed "s/^/$as_me: WARNING: /" >&2
12777 echo "$as_me:$LINENO: checking for locale.h" >&5
12778 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
12779 if test "${ac_cv_header_locale_h+set}" = set; then
12780 echo $ECHO_N "(cached) $ECHO_C" >&6
12782 ac_cv_header_locale_h
=$ac_header_preproc
12784 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
12785 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
12791 for ac_func
in setlocale
12793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12794 echo "$as_me:$LINENO: checking for $ac_func" >&5
12795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12796 if eval "test \"\${$as_ac_var+set}\" = set"; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12799 cat >conftest.
$ac_ext <<_ACEOF
12800 #line $LINENO "configure"
12803 cat confdefs.h
>>conftest.
$ac_ext
12804 cat >>conftest.
$ac_ext <<_ACEOF
12805 /* end confdefs.h. */
12806 /* System header to define __stub macros and hopefully few prototypes,
12807 which can conflict with char $ac_func (); below.
12808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12809 <limits.h> exists even on freestanding compilers. */
12811 # include <limits.h>
12813 # include <assert.h>
12815 /* Override any gcc2 internal prototype to avoid an error. */
12820 /* We use char because int might match the return type of a gcc2
12821 builtin and then its argument prototype would still apply. */
12823 /* The GNU C library defines this for functions which it implements
12824 to always fail with ENOSYS. Some functions are actually named
12825 something starting with __ and the normal name is an alias. */
12826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12829 char (*f) () = $ac_func;
12838 return f != $ac_func;
12843 rm -f conftest.
$ac_objext conftest
$ac_exeext
12844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12845 (eval $ac_link) 2>&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); } &&
12849 { ac_try
='test -s conftest$ac_exeext'
12850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12851 (eval $ac_try) 2>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); }; }; then
12855 eval "$as_ac_var=yes"
12857 echo "$as_me: failed program was:" >&5
12858 sed 's/^/| /' conftest.
$ac_ext >&5
12860 eval "$as_ac_var=no"
12862 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12866 if test `eval echo '${'$as_ac_var'}'` = yes; then
12867 cat >>confdefs.h
<<_ACEOF
12868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12875 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
12876 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
12877 # Irix 4.0.5F has the header but not the library.
12878 if test $ac_have_func = no
&& test "$ac_cv_lib_elf_elf_begin" = yes; then
12881 cat >>confdefs.h
<<\_ACEOF
12887 if test $ac_have_func = no
; then
12888 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
12889 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
12890 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
12891 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
12892 echo $ECHO_N "(cached) $ECHO_C" >&6
12894 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
12895 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
12897 # Is the header compilable?
12898 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
12899 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
12900 cat >conftest.
$ac_ext <<_ACEOF
12901 #line $LINENO "configure"
12904 cat confdefs.h
>>conftest.
$ac_ext
12905 cat >>conftest.
$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12907 $ac_includes_default
12908 #include <inq_stats/cpustats.h>
12910 rm -f conftest.
$ac_objext
12911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12912 (eval $ac_compile) 2>&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); } &&
12916 { ac_try
='test -s conftest.$ac_objext'
12917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12918 (eval $ac_try) 2>&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); }; }; then
12922 ac_header_compiler
=yes
12924 echo "$as_me: failed program was:" >&5
12925 sed 's/^/| /' conftest.
$ac_ext >&5
12927 ac_header_compiler
=no
12929 rm -f conftest.
$ac_objext conftest.
$ac_ext
12930 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12931 echo "${ECHO_T}$ac_header_compiler" >&6
12933 # Is the header present?
12934 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
12935 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
12936 cat >conftest.
$ac_ext <<_ACEOF
12937 #line $LINENO "configure"
12940 cat confdefs.h
>>conftest.
$ac_ext
12941 cat >>conftest.
$ac_ext <<_ACEOF
12942 /* end confdefs.h. */
12943 #include <inq_stats/cpustats.h>
12945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12946 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12948 grep -v '^ *+' conftest.er1
>conftest.err
12950 cat conftest.err
>&5
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); } >/dev
/null
; then
12953 if test -s conftest.err
; then
12954 ac_cpp_err
=$ac_c_preproc_warn_flag
12961 if test -z "$ac_cpp_err"; then
12962 ac_header_preproc
=yes
12964 echo "$as_me: failed program was:" >&5
12965 sed 's/^/| /' conftest.
$ac_ext >&5
12967 ac_header_preproc
=no
12969 rm -f conftest.err conftest.
$ac_ext
12970 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12971 echo "${ECHO_T}$ac_header_preproc" >&6
12973 # So? What about this header?
12974 case $ac_header_compiler:$ac_header_preproc in
12976 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
12977 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12978 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
12979 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
12982 ## ------------------------------------ ##
12983 ## Report this to bug-autoconf@gnu.org. ##
12984 ## ------------------------------------ ##
12987 sed "s/^/$as_me: WARNING: /" >&2
12990 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
12991 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
12992 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
12993 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
12994 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
12995 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
12998 ## ------------------------------------ ##
12999 ## Report this to bug-autoconf@gnu.org. ##
13000 ## ------------------------------------ ##
13003 sed "s/^/$as_me: WARNING: /" >&2
13006 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
13007 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
13008 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
13009 echo $ECHO_N "(cached) $ECHO_C" >&6
13011 ac_cv_header_inq_stats_cpustats_h
=$ac_header_preproc
13013 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
13014 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
13017 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
13020 cat >>confdefs.h
<<\_ACEOF
13025 cat >>confdefs.h
<<\_ACEOF
13034 if test $ac_have_func = no
; then
13035 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
13036 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
13037 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
13038 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13041 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
13042 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
13044 # Is the header compilable?
13045 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
13046 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
13047 cat >conftest.
$ac_ext <<_ACEOF
13048 #line $LINENO "configure"
13051 cat confdefs.h
>>conftest.
$ac_ext
13052 cat >>conftest.
$ac_ext <<_ACEOF
13053 /* end confdefs.h. */
13054 $ac_includes_default
13055 #include <sys/cpustats.h>
13057 rm -f conftest.
$ac_objext
13058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13059 (eval $ac_compile) 2>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } &&
13063 { ac_try
='test -s conftest.$ac_objext'
13064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13065 (eval $ac_try) 2>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }; }; then
13069 ac_header_compiler
=yes
13071 echo "$as_me: failed program was:" >&5
13072 sed 's/^/| /' conftest.
$ac_ext >&5
13074 ac_header_compiler
=no
13076 rm -f conftest.
$ac_objext conftest.
$ac_ext
13077 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13078 echo "${ECHO_T}$ac_header_compiler" >&6
13080 # Is the header present?
13081 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
13082 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
13083 cat >conftest.
$ac_ext <<_ACEOF
13084 #line $LINENO "configure"
13087 cat confdefs.h
>>conftest.
$ac_ext
13088 cat >>conftest.
$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13090 #include <sys/cpustats.h>
13092 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13093 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13095 grep -v '^ *+' conftest.er1
>conftest.err
13097 cat conftest.err
>&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); } >/dev
/null
; then
13100 if test -s conftest.err
; then
13101 ac_cpp_err
=$ac_c_preproc_warn_flag
13108 if test -z "$ac_cpp_err"; then
13109 ac_header_preproc
=yes
13111 echo "$as_me: failed program was:" >&5
13112 sed 's/^/| /' conftest.
$ac_ext >&5
13114 ac_header_preproc
=no
13116 rm -f conftest.err conftest.
$ac_ext
13117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13118 echo "${ECHO_T}$ac_header_preproc" >&6
13120 # So? What about this header?
13121 case $ac_header_compiler:$ac_header_preproc in
13123 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
13124 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13125 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
13126 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
13129 ## ------------------------------------ ##
13130 ## Report this to bug-autoconf@gnu.org. ##
13131 ## ------------------------------------ ##
13134 sed "s/^/$as_me: WARNING: /" >&2
13137 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
13138 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
13139 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
13140 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
13141 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
13142 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
13145 ## ------------------------------------ ##
13146 ## Report this to bug-autoconf@gnu.org. ##
13147 ## ------------------------------------ ##
13150 sed "s/^/$as_me: WARNING: /" >&2
13153 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
13154 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
13155 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
13156 echo $ECHO_N "(cached) $ECHO_C" >&6
13158 ac_cv_header_sys_cpustats_h
=$ac_header_preproc
13160 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
13161 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
13164 if test $ac_cv_header_sys_cpustats_h = yes; then
13165 ac_have_func
=yes; cat >>confdefs.h
<<\_ACEOF
13174 if test $ac_have_func = no
; then
13176 for ac_header
in mach
/mach.h
13178 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13180 echo "$as_me:$LINENO: checking for $ac_header" >&5
13181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13183 echo $ECHO_N "(cached) $ECHO_C" >&6
13185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13188 # Is the header compilable?
13189 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13190 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13191 cat >conftest.
$ac_ext <<_ACEOF
13192 #line $LINENO "configure"
13195 cat confdefs.h
>>conftest.
$ac_ext
13196 cat >>conftest.
$ac_ext <<_ACEOF
13197 /* end confdefs.h. */
13198 $ac_includes_default
13199 #include <$ac_header>
13201 rm -f conftest.
$ac_objext
13202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13203 (eval $ac_compile) 2>&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); } &&
13207 { ac_try
='test -s conftest.$ac_objext'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; }; then
13213 ac_header_compiler
=yes
13215 echo "$as_me: failed program was:" >&5
13216 sed 's/^/| /' conftest.
$ac_ext >&5
13218 ac_header_compiler
=no
13220 rm -f conftest.
$ac_objext conftest.
$ac_ext
13221 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13222 echo "${ECHO_T}$ac_header_compiler" >&6
13224 # Is the header present?
13225 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13226 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13227 cat >conftest.
$ac_ext <<_ACEOF
13228 #line $LINENO "configure"
13231 cat confdefs.h
>>conftest.
$ac_ext
13232 cat >>conftest.
$ac_ext <<_ACEOF
13233 /* end confdefs.h. */
13234 #include <$ac_header>
13236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13237 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13239 grep -v '^ *+' conftest.er1
>conftest.err
13241 cat conftest.err
>&5
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); } >/dev
/null
; then
13244 if test -s conftest.err
; then
13245 ac_cpp_err
=$ac_c_preproc_warn_flag
13252 if test -z "$ac_cpp_err"; then
13253 ac_header_preproc
=yes
13255 echo "$as_me: failed program was:" >&5
13256 sed 's/^/| /' conftest.
$ac_ext >&5
13258 ac_header_preproc
=no
13260 rm -f conftest.err conftest.
$ac_ext
13261 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13262 echo "${ECHO_T}$ac_header_preproc" >&6
13264 # So? What about this header?
13265 case $ac_header_compiler:$ac_header_preproc in
13267 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13268 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13273 ## ------------------------------------ ##
13274 ## Report this to bug-autoconf@gnu.org. ##
13275 ## ------------------------------------ ##
13278 sed "s/^/$as_me: WARNING: /" >&2
13281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13286 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13289 ## ------------------------------------ ##
13290 ## Report this to bug-autoconf@gnu.org. ##
13291 ## ------------------------------------ ##
13294 sed "s/^/$as_me: WARNING: /" >&2
13297 echo "$as_me:$LINENO: checking for $ac_header" >&5
13298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13302 eval "$as_ac_Header=$ac_header_preproc"
13304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13309 cat >>confdefs.h
<<_ACEOF
13310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13320 for ac_header
in nlist.h
13322 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13324 echo "$as_me:$LINENO: checking for $ac_header" >&5
13325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13327 echo $ECHO_N "(cached) $ECHO_C" >&6
13329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13332 # Is the header compilable?
13333 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13335 cat >conftest.
$ac_ext <<_ACEOF
13336 #line $LINENO "configure"
13339 cat confdefs.h
>>conftest.
$ac_ext
13340 cat >>conftest.
$ac_ext <<_ACEOF
13341 /* end confdefs.h. */
13342 $ac_includes_default
13343 #include <$ac_header>
13345 rm -f conftest.
$ac_objext
13346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13347 (eval $ac_compile) 2>&5
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); } &&
13351 { ac_try
='test -s conftest.$ac_objext'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; }; then
13357 ac_header_compiler
=yes
13359 echo "$as_me: failed program was:" >&5
13360 sed 's/^/| /' conftest.
$ac_ext >&5
13362 ac_header_compiler
=no
13364 rm -f conftest.
$ac_objext conftest.
$ac_ext
13365 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13366 echo "${ECHO_T}$ac_header_compiler" >&6
13368 # Is the header present?
13369 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13370 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13371 cat >conftest.
$ac_ext <<_ACEOF
13372 #line $LINENO "configure"
13375 cat confdefs.h
>>conftest.
$ac_ext
13376 cat >>conftest.
$ac_ext <<_ACEOF
13377 /* end confdefs.h. */
13378 #include <$ac_header>
13380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13381 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13383 grep -v '^ *+' conftest.er1
>conftest.err
13385 cat conftest.err
>&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); } >/dev
/null
; then
13388 if test -s conftest.err
; then
13389 ac_cpp_err
=$ac_c_preproc_warn_flag
13396 if test -z "$ac_cpp_err"; then
13397 ac_header_preproc
=yes
13399 echo "$as_me: failed program was:" >&5
13400 sed 's/^/| /' conftest.
$ac_ext >&5
13402 ac_header_preproc
=no
13404 rm -f conftest.err conftest.
$ac_ext
13405 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13406 echo "${ECHO_T}$ac_header_preproc" >&6
13408 # So? What about this header?
13409 case $ac_header_compiler:$ac_header_preproc in
13411 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13412 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13417 ## ------------------------------------ ##
13418 ## Report this to bug-autoconf@gnu.org. ##
13419 ## ------------------------------------ ##
13422 sed "s/^/$as_me: WARNING: /" >&2
13425 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13426 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13427 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13428 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13433 ## ------------------------------------ ##
13434 ## Report this to bug-autoconf@gnu.org. ##
13435 ## ------------------------------------ ##
13438 sed "s/^/$as_me: WARNING: /" >&2
13441 echo "$as_me:$LINENO: checking for $ac_header" >&5
13442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13444 echo $ECHO_N "(cached) $ECHO_C" >&6
13446 eval "$as_ac_Header=$ac_header_preproc"
13448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13453 cat >>confdefs.h
<<_ACEOF
13454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13456 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
13457 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
13458 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
13459 echo $ECHO_N "(cached) $ECHO_C" >&6
13461 cat >conftest.
$ac_ext <<_ACEOF
13462 #line $LINENO "configure"
13465 cat confdefs.h
>>conftest.
$ac_ext
13466 cat >>conftest.
$ac_ext <<_ACEOF
13467 /* end confdefs.h. */
13473 static struct nlist ac_aggr;
13474 if (ac_aggr.n_un.n_name)
13480 rm -f conftest.
$ac_objext
13481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13482 (eval $ac_compile) 2>&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } &&
13486 { ac_try
='test -s conftest.$ac_objext'
13487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13488 (eval $ac_try) 2>&5
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); }; }; then
13492 ac_cv_member_struct_nlist_n_un_n_name
=yes
13494 echo "$as_me: failed program was:" >&5
13495 sed 's/^/| /' conftest.
$ac_ext >&5
13497 cat >conftest.
$ac_ext <<_ACEOF
13498 #line $LINENO "configure"
13501 cat confdefs.h
>>conftest.
$ac_ext
13502 cat >>conftest.
$ac_ext <<_ACEOF
13503 /* end confdefs.h. */
13509 static struct nlist ac_aggr;
13510 if (sizeof ac_aggr.n_un.n_name)
13516 rm -f conftest.
$ac_objext
13517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13518 (eval $ac_compile) 2>&5
13520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521 (exit $ac_status); } &&
13522 { ac_try
='test -s conftest.$ac_objext'
13523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13524 (eval $ac_try) 2>&5
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); }; }; then
13528 ac_cv_member_struct_nlist_n_un_n_name
=yes
13530 echo "$as_me: failed program was:" >&5
13531 sed 's/^/| /' conftest.
$ac_ext >&5
13533 ac_cv_member_struct_nlist_n_un_n_name
=no
13535 rm -f conftest.
$ac_objext conftest.
$ac_ext
13537 rm -f conftest.
$ac_objext conftest.
$ac_ext
13539 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
13540 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
13541 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
13543 cat >>confdefs.h
<<_ACEOF
13544 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
13548 cat >>confdefs.h
<<\_ACEOF
13549 #define NLIST_NAME_UNION 1
13563 # Some definitions of getloadavg require that the program be installed setgid.
13564 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
13565 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
13566 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
13567 echo $ECHO_N "(cached) $ECHO_C" >&6
13569 cat >conftest.
$ac_ext <<_ACEOF
13570 #line $LINENO "configure"
13573 cat confdefs.h
>>conftest.
$ac_ext
13574 cat >>conftest.
$ac_ext <<_ACEOF
13575 /* end confdefs.h. */
13576 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
13577 #ifdef LDAV_PRIVILEGED
13578 Yowza Am I SETGID yet
13581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13582 $EGREP "Yowza Am I SETGID yet" >/dev
/null
2>&1; then
13583 ac_cv_func_getloadavg_setgid
=yes
13585 ac_cv_func_getloadavg_setgid
=no
13590 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
13591 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
13592 if test $ac_cv_func_getloadavg_setgid = yes; then
13595 cat >>confdefs.h
<<\_ACEOF
13596 #define GETLOADAVG_PRIVILEGED 1
13603 if test $ac_cv_func_getloadavg_setgid = yes; then
13604 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
13605 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
13606 if test "${ac_cv_group_kmem+set}" = set; then
13607 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
13610 ac_ls_output
=`ls -lgL /dev/kmem 2>/dev/null`
13611 # If we got an error (system does not support symlinks), try without -L.
13612 test -z "$ac_ls_output" && ac_ls_output
=`ls -lg /dev/kmem`
13613 ac_cv_group_kmem
=`echo $ac_ls_output \
13614 | sed -ne 's/[ ][ ]*/ /g;
13615 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
13619 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
13620 echo "${ECHO_T}$ac_cv_group_kmem" >&6
13621 KMEM_GROUP
=$ac_cv_group_kmem
13623 if test "x$ac_save_LIBS" = x
; then
13624 GETLOADAVG_LIBS
=$LIBS
13626 GETLOADAVG_LIBS
=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
13632 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
13633 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
13634 if test "${ac_cv_sys_largefile_source+set}" = set; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13638 ac_cv_sys_largefile_source
=no
13639 cat >conftest.
$ac_ext <<_ACEOF
13640 #line $LINENO "configure"
13643 cat confdefs.h
>>conftest.
$ac_ext
13644 cat >>conftest.
$ac_ext <<_ACEOF
13645 /* end confdefs.h. */
13655 rm -f conftest.
$ac_objext
13656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13657 (eval $ac_compile) 2>&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } &&
13661 { ac_try
='test -s conftest.$ac_objext'
13662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13663 (eval $ac_try) 2>&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); }; }; then
13669 echo "$as_me: failed program was:" >&5
13670 sed 's/^/| /' conftest.
$ac_ext >&5
13673 rm -f conftest.
$ac_objext conftest.
$ac_ext
13674 cat >conftest.
$ac_ext <<_ACEOF
13675 #line $LINENO "configure"
13678 cat confdefs.h
>>conftest.
$ac_ext
13679 cat >>conftest.
$ac_ext <<_ACEOF
13680 /* end confdefs.h. */
13681 #define _LARGEFILE_SOURCE 1
13691 rm -f conftest.
$ac_objext
13692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13693 (eval $ac_compile) 2>&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); } &&
13697 { ac_try
='test -s conftest.$ac_objext'
13698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13699 (eval $ac_try) 2>&5
13701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702 (exit $ac_status); }; }; then
13703 ac_cv_sys_largefile_source
=1; break
13705 echo "$as_me: failed program was:" >&5
13706 sed 's/^/| /' conftest.
$ac_ext >&5
13709 rm -f conftest.
$ac_objext conftest.
$ac_ext
13713 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
13714 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
13715 if test "$ac_cv_sys_largefile_source" != no
; then
13717 cat >>confdefs.h
<<_ACEOF
13718 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
13724 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
13725 # in glibc 2.1.3, but that breaks too many other things.
13726 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
13727 echo "$as_me:$LINENO: checking for fseeko" >&5
13728 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
13729 if test "${ac_cv_func_fseeko+set}" = set; then
13730 echo $ECHO_N "(cached) $ECHO_C" >&6
13732 cat >conftest.
$ac_ext <<_ACEOF
13733 #line $LINENO "configure"
13736 cat confdefs.h
>>conftest.
$ac_ext
13737 cat >>conftest.
$ac_ext <<_ACEOF
13738 /* end confdefs.h. */
13743 return fseeko && fseeko (stdin, 0, 0);
13748 rm -f conftest.
$ac_objext conftest
$ac_exeext
13749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13750 (eval $ac_link) 2>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); } &&
13754 { ac_try
='test -s conftest$ac_exeext'
13755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13756 (eval $ac_try) 2>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; }; then
13760 ac_cv_func_fseeko
=yes
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.
$ac_ext >&5
13765 ac_cv_func_fseeko
=no
13767 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13769 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
13770 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
13771 if test $ac_cv_func_fseeko = yes; then
13773 cat >>confdefs.h
<<\_ACEOF
13774 #define HAVE_FSEEKO 1
13780 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
13781 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
13782 if test "${ac_cv_func_getpgrp_void+set}" = set; then
13783 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 # Use it with a single arg.
13786 cat >conftest.
$ac_ext <<_ACEOF
13787 #line $LINENO "configure"
13790 cat confdefs.h
>>conftest.
$ac_ext
13791 cat >>conftest.
$ac_ext <<_ACEOF
13792 /* end confdefs.h. */
13793 $ac_includes_default
13802 rm -f conftest.
$ac_objext
13803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13804 (eval $ac_compile) 2>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } &&
13808 { ac_try
='test -s conftest.$ac_objext'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; }; then
13814 ac_cv_func_getpgrp_void
=no
13816 echo "$as_me: failed program was:" >&5
13817 sed 's/^/| /' conftest.
$ac_ext >&5
13819 ac_cv_func_getpgrp_void
=yes
13821 rm -f conftest.
$ac_objext conftest.
$ac_ext
13824 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
13825 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
13826 if test $ac_cv_func_getpgrp_void = yes; then
13828 cat >>confdefs.h
<<\_ACEOF
13829 #define GETPGRP_VOID 1
13837 for ac_func
in grantpt
13839 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13840 echo "$as_me:$LINENO: checking for $ac_func" >&5
13841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13842 if eval "test \"\${$as_ac_var+set}\" = set"; then
13843 echo $ECHO_N "(cached) $ECHO_C" >&6
13845 cat >conftest.
$ac_ext <<_ACEOF
13846 #line $LINENO "configure"
13849 cat confdefs.h
>>conftest.
$ac_ext
13850 cat >>conftest.
$ac_ext <<_ACEOF
13851 /* end confdefs.h. */
13852 /* System header to define __stub macros and hopefully few prototypes,
13853 which can conflict with char $ac_func (); below.
13854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13855 <limits.h> exists even on freestanding compilers. */
13857 # include <limits.h>
13859 # include <assert.h>
13861 /* Override any gcc2 internal prototype to avoid an error. */
13866 /* We use char because int might match the return type of a gcc2
13867 builtin and then its argument prototype would still apply. */
13869 /* The GNU C library defines this for functions which it implements
13870 to always fail with ENOSYS. Some functions are actually named
13871 something starting with __ and the normal name is an alias. */
13872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13875 char (*f) () = $ac_func;
13884 return f != $ac_func;
13889 rm -f conftest.
$ac_objext conftest
$ac_exeext
13890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13891 (eval $ac_link) 2>&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); } &&
13895 { ac_try
='test -s conftest$ac_exeext'
13896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13897 (eval $ac_try) 2>&5
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); }; }; then
13901 eval "$as_ac_var=yes"
13903 echo "$as_me: failed program was:" >&5
13904 sed 's/^/| /' conftest.
$ac_ext >&5
13906 eval "$as_ac_var=no"
13908 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13912 if test `eval echo '${'$as_ac_var'}'` = yes; then
13913 cat >>confdefs.h
<<_ACEOF
13914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13921 # PTY-related GNU extensions.
13923 for ac_func
in getpt
13925 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13926 echo "$as_me:$LINENO: checking for $ac_func" >&5
13927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13928 if eval "test \"\${$as_ac_var+set}\" = set"; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13931 cat >conftest.
$ac_ext <<_ACEOF
13932 #line $LINENO "configure"
13935 cat confdefs.h
>>conftest.
$ac_ext
13936 cat >>conftest.
$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 /* System header to define __stub macros and hopefully few prototypes,
13939 which can conflict with char $ac_func (); below.
13940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13941 <limits.h> exists even on freestanding compilers. */
13943 # include <limits.h>
13945 # include <assert.h>
13947 /* Override any gcc2 internal prototype to avoid an error. */
13952 /* We use char because int might match the return type of a gcc2
13953 builtin and then its argument prototype would still apply. */
13955 /* The GNU C library defines this for functions which it implements
13956 to always fail with ENOSYS. Some functions are actually named
13957 something starting with __ and the normal name is an alias. */
13958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13961 char (*f) () = $ac_func;
13970 return f != $ac_func;
13975 rm -f conftest.
$ac_objext conftest
$ac_exeext
13976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13977 (eval $ac_link) 2>&5
13979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); } &&
13981 { ac_try
='test -s conftest$ac_exeext'
13982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13983 (eval $ac_try) 2>&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); }; }; then
13987 eval "$as_ac_var=yes"
13989 echo "$as_me: failed program was:" >&5
13990 sed 's/^/| /' conftest.
$ac_ext >&5
13992 eval "$as_ac_var=no"
13994 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13998 if test `eval echo '${'$as_ac_var'}'` = yes; then
13999 cat >>confdefs.h
<<_ACEOF
14000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14007 # Check this now, so that we will NOT find the above functions in ncurses.
14008 # That is because we have not set up to link ncurses in lib-src.
14009 # It's better to believe a function is not available
14010 # than to expect to find it in ncurses.
14012 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
14013 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
14014 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
14015 echo $ECHO_N "(cached) $ECHO_C" >&6
14017 ac_check_lib_save_LIBS
=$LIBS
14018 LIBS
="-lncurses $LIBS"
14019 cat >conftest.
$ac_ext <<_ACEOF
14020 #line $LINENO "configure"
14023 cat confdefs.h
>>conftest.
$ac_ext
14024 cat >>conftest.
$ac_ext <<_ACEOF
14025 /* end confdefs.h. */
14027 /* Override any gcc2 internal prototype to avoid an error. */
14031 /* We use char because int might match the return type of a gcc2
14032 builtin and then its argument prototype would still apply. */
14042 rm -f conftest.
$ac_objext conftest
$ac_exeext
14043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14044 (eval $ac_link) 2>&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); } &&
14048 { ac_try
='test -s conftest$ac_exeext'
14049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14050 (eval $ac_try) 2>&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); }; }; then
14054 ac_cv_lib_ncurses_tparm
=yes
14056 echo "$as_me: failed program was:" >&5
14057 sed 's/^/| /' conftest.
$ac_ext >&5
14059 ac_cv_lib_ncurses_tparm
=no
14061 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14062 LIBS
=$ac_check_lib_save_LIBS
14064 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
14065 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
14066 if test $ac_cv_lib_ncurses_tparm = yes; then
14067 cat >>confdefs.h
<<_ACEOF
14068 #define HAVE_LIBNCURSES 1
14071 LIBS
="-lncurses $LIBS"
14076 # Do we need the Hesiod library to provide the support routines?
14077 if test "$with_hesiod" = yes ; then
14078 # Don't set $LIBS here -- see comments above.
14080 echo "$as_me:$LINENO: checking for res_send" >&5
14081 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
14082 if test "${ac_cv_func_res_send+set}" = set; then
14083 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 cat >conftest.
$ac_ext <<_ACEOF
14086 #line $LINENO "configure"
14089 cat confdefs.h
>>conftest.
$ac_ext
14090 cat >>conftest.
$ac_ext <<_ACEOF
14091 /* end confdefs.h. */
14092 /* System header to define __stub macros and hopefully few prototypes,
14093 which can conflict with char res_send (); below.
14094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14095 <limits.h> exists even on freestanding compilers. */
14097 # include <limits.h>
14099 # include <assert.h>
14101 /* Override any gcc2 internal prototype to avoid an error. */
14106 /* We use char because int might match the return type of a gcc2
14107 builtin and then its argument prototype would still apply. */
14109 /* The GNU C library defines this for functions which it implements
14110 to always fail with ENOSYS. Some functions are actually named
14111 something starting with __ and the normal name is an alias. */
14112 #if defined (__stub_res_send) || defined (__stub___res_send)
14115 char (*f) () = res_send;
14124 return f != res_send;
14129 rm -f conftest.
$ac_objext conftest
$ac_exeext
14130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14131 (eval $ac_link) 2>&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); } &&
14135 { ac_try
='test -s conftest$ac_exeext'
14136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14137 (eval $ac_try) 2>&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); }; }; then
14141 ac_cv_func_res_send
=yes
14143 echo "$as_me: failed program was:" >&5
14144 sed 's/^/| /' conftest.
$ac_ext >&5
14146 ac_cv_func_res_send
=no
14148 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14150 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
14151 echo "${ECHO_T}$ac_cv_func_res_send" >&6
14152 if test $ac_cv_func_res_send = yes; then
14155 echo "$as_me:$LINENO: checking for __res_send" >&5
14156 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
14157 if test "${ac_cv_func___res_send+set}" = set; then
14158 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 cat >conftest.
$ac_ext <<_ACEOF
14161 #line $LINENO "configure"
14164 cat confdefs.h
>>conftest.
$ac_ext
14165 cat >>conftest.
$ac_ext <<_ACEOF
14166 /* end confdefs.h. */
14167 /* System header to define __stub macros and hopefully few prototypes,
14168 which can conflict with char __res_send (); below.
14169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14170 <limits.h> exists even on freestanding compilers. */
14172 # include <limits.h>
14174 # include <assert.h>
14176 /* Override any gcc2 internal prototype to avoid an error. */
14181 /* We use char because int might match the return type of a gcc2
14182 builtin and then its argument prototype would still apply. */
14183 char __res_send ();
14184 /* The GNU C library defines this for functions which it implements
14185 to always fail with ENOSYS. Some functions are actually named
14186 something starting with __ and the normal name is an alias. */
14187 #if defined (__stub___res_send) || defined (__stub_____res_send)
14190 char (*f) () = __res_send;
14199 return f != __res_send;
14204 rm -f conftest.
$ac_objext conftest
$ac_exeext
14205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14206 (eval $ac_link) 2>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); } &&
14210 { ac_try
='test -s conftest$ac_exeext'
14211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14212 (eval $ac_try) 2>&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); }; }; then
14216 ac_cv_func___res_send
=yes
14218 echo "$as_me: failed program was:" >&5
14219 sed 's/^/| /' conftest.
$ac_ext >&5
14221 ac_cv_func___res_send
=no
14223 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14225 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
14226 echo "${ECHO_T}$ac_cv_func___res_send" >&6
14227 if test $ac_cv_func___res_send = yes; then
14230 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
14231 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
14232 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 ac_check_lib_save_LIBS
=$LIBS
14236 LIBS
="-lresolv $LIBS"
14237 cat >conftest.
$ac_ext <<_ACEOF
14238 #line $LINENO "configure"
14241 cat confdefs.h
>>conftest.
$ac_ext
14242 cat >>conftest.
$ac_ext <<_ACEOF
14243 /* end confdefs.h. */
14245 /* Override any gcc2 internal prototype to avoid an error. */
14249 /* We use char because int might match the return type of a gcc2
14250 builtin and then its argument prototype would still apply. */
14260 rm -f conftest.
$ac_objext conftest
$ac_exeext
14261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14262 (eval $ac_link) 2>&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); } &&
14266 { ac_try
='test -s conftest$ac_exeext'
14267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14268 (eval $ac_try) 2>&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); }; }; then
14272 ac_cv_lib_resolv_res_send
=yes
14274 echo "$as_me: failed program was:" >&5
14275 sed 's/^/| /' conftest.
$ac_ext >&5
14277 ac_cv_lib_resolv_res_send
=no
14279 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14280 LIBS
=$ac_check_lib_save_LIBS
14282 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
14283 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
14284 if test $ac_cv_lib_resolv_res_send = yes; then
14287 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
14288 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
14289 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
14290 echo $ECHO_N "(cached) $ECHO_C" >&6
14292 ac_check_lib_save_LIBS
=$LIBS
14293 LIBS
="-lresolv $LIBS"
14294 cat >conftest.
$ac_ext <<_ACEOF
14295 #line $LINENO "configure"
14298 cat confdefs.h
>>conftest.
$ac_ext
14299 cat >>conftest.
$ac_ext <<_ACEOF
14300 /* end confdefs.h. */
14302 /* Override any gcc2 internal prototype to avoid an error. */
14306 /* We use char because int might match the return type of a gcc2
14307 builtin and then its argument prototype would still apply. */
14308 char __res_send ();
14317 rm -f conftest.
$ac_objext conftest
$ac_exeext
14318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14319 (eval $ac_link) 2>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try
='test -s conftest$ac_exeext'
14324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 (eval $ac_try) 2>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; }; then
14329 ac_cv_lib_resolv___res_send
=yes
14331 echo "$as_me: failed program was:" >&5
14332 sed 's/^/| /' conftest.
$ac_ext >&5
14334 ac_cv_lib_resolv___res_send
=no
14336 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14337 LIBS
=$ac_check_lib_save_LIBS
14339 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
14340 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
14341 if test $ac_cv_lib_resolv___res_send = yes; then
14351 if test "$resolv" = yes ; then
14354 cat >>confdefs.h
<<\_ACEOF
14355 #define HAVE_LIBRESOLV 1
14361 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
14362 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
14363 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
14364 echo $ECHO_N "(cached) $ECHO_C" >&6
14366 cat >conftest.
$ac_ext <<_ACEOF
14367 #line $LINENO "configure"
14370 cat confdefs.h
>>conftest.
$ac_ext
14371 cat >>conftest.
$ac_ext <<_ACEOF
14372 /* end confdefs.h. */
14373 /* System header to define __stub macros and hopefully few prototypes,
14374 which can conflict with char hes_getmailhost (); below.
14375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14376 <limits.h> exists even on freestanding compilers. */
14378 # include <limits.h>
14380 # include <assert.h>
14382 /* Override any gcc2 internal prototype to avoid an error. */
14387 /* We use char because int might match the return type of a gcc2
14388 builtin and then its argument prototype would still apply. */
14389 char hes_getmailhost ();
14390 /* The GNU C library defines this for functions which it implements
14391 to always fail with ENOSYS. Some functions are actually named
14392 something starting with __ and the normal name is an alias. */
14393 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost)
14396 char (*f) () = hes_getmailhost;
14405 return f != hes_getmailhost;
14410 rm -f conftest.
$ac_objext conftest
$ac_exeext
14411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14412 (eval $ac_link) 2>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); } &&
14416 { ac_try
='test -s conftest$ac_exeext'
14417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14418 (eval $ac_try) 2>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }; }; then
14422 ac_cv_func_hes_getmailhost
=yes
14424 echo "$as_me: failed program was:" >&5
14425 sed 's/^/| /' conftest.
$ac_ext >&5
14427 ac_cv_func_hes_getmailhost
=no
14429 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14431 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
14432 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
14433 if test $ac_cv_func_hes_getmailhost = yes; then
14436 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
14437 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
14438 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
14439 echo $ECHO_N "(cached) $ECHO_C" >&6
14441 ac_check_lib_save_LIBS
=$LIBS
14442 LIBS
="-lhesiod $RESOLVLIB $LIBS"
14443 cat >conftest.
$ac_ext <<_ACEOF
14444 #line $LINENO "configure"
14447 cat confdefs.h
>>conftest.
$ac_ext
14448 cat >>conftest.
$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14451 /* Override any gcc2 internal prototype to avoid an error. */
14455 /* We use char because int might match the return type of a gcc2
14456 builtin and then its argument prototype would still apply. */
14457 char hes_getmailhost ();
14461 hes_getmailhost ();
14466 rm -f conftest.
$ac_objext conftest
$ac_exeext
14467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14468 (eval $ac_link) 2>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); } &&
14472 { ac_try
='test -s conftest$ac_exeext'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; }; then
14478 ac_cv_lib_hesiod_hes_getmailhost
=yes
14480 echo "$as_me: failed program was:" >&5
14481 sed 's/^/| /' conftest.
$ac_ext >&5
14483 ac_cv_lib_hesiod_hes_getmailhost
=no
14485 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14486 LIBS
=$ac_check_lib_save_LIBS
14488 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
14489 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
14490 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
14492 cat >>confdefs.h
<<\_ACEOF
14493 #define HAVE_LIBHESIOD 1
14504 # These tell us which Kerberos-related libraries to use.
14505 if test "${with_kerberos+set}" = set; then
14507 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
14508 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
14509 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
14510 echo $ECHO_N "(cached) $ECHO_C" >&6
14512 ac_check_lib_save_LIBS
=$LIBS
14513 LIBS
="-lcom_err $LIBS"
14514 cat >conftest.
$ac_ext <<_ACEOF
14515 #line $LINENO "configure"
14518 cat confdefs.h
>>conftest.
$ac_ext
14519 cat >>conftest.
$ac_ext <<_ACEOF
14520 /* end confdefs.h. */
14522 /* Override any gcc2 internal prototype to avoid an error. */
14526 /* We use char because int might match the return type of a gcc2
14527 builtin and then its argument prototype would still apply. */
14537 rm -f conftest.
$ac_objext conftest
$ac_exeext
14538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14539 (eval $ac_link) 2>&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); } &&
14543 { ac_try
='test -s conftest$ac_exeext'
14544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14545 (eval $ac_try) 2>&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); }; }; then
14549 ac_cv_lib_com_err_com_err
=yes
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.
$ac_ext >&5
14554 ac_cv_lib_com_err_com_err
=no
14556 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14557 LIBS
=$ac_check_lib_save_LIBS
14559 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
14560 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
14561 if test $ac_cv_lib_com_err_com_err = yes; then
14562 cat >>confdefs.h
<<_ACEOF
14563 #define HAVE_LIBCOM_ERR 1
14566 LIBS
="-lcom_err $LIBS"
14571 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
14572 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
14573 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
14574 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 ac_check_lib_save_LIBS
=$LIBS
14577 LIBS
="-lk5crypto $LIBS"
14578 cat >conftest.
$ac_ext <<_ACEOF
14579 #line $LINENO "configure"
14582 cat confdefs.h
>>conftest.
$ac_ext
14583 cat >>conftest.
$ac_ext <<_ACEOF
14584 /* end confdefs.h. */
14586 /* Override any gcc2 internal prototype to avoid an error. */
14590 /* We use char because int might match the return type of a gcc2
14591 builtin and then its argument prototype would still apply. */
14592 char mit_des_cbc_encrypt ();
14596 mit_des_cbc_encrypt ();
14601 rm -f conftest.
$ac_objext conftest
$ac_exeext
14602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14603 (eval $ac_link) 2>&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); } &&
14607 { ac_try
='test -s conftest$ac_exeext'
14608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14609 (eval $ac_try) 2>&5
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); }; }; then
14613 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=yes
14615 echo "$as_me: failed program was:" >&5
14616 sed 's/^/| /' conftest.
$ac_ext >&5
14618 ac_cv_lib_k5crypto_mit_des_cbc_encrypt
=no
14620 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14621 LIBS
=$ac_check_lib_save_LIBS
14623 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
14624 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
14625 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
14626 cat >>confdefs.h
<<_ACEOF
14627 #define HAVE_LIBK5CRYPTO 1
14630 LIBS
="-lk5crypto $LIBS"
14635 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
14636 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
14637 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
14638 echo $ECHO_N "(cached) $ECHO_C" >&6
14640 ac_check_lib_save_LIBS
=$LIBS
14641 LIBS
="-lcrypto $LIBS"
14642 cat >conftest.
$ac_ext <<_ACEOF
14643 #line $LINENO "configure"
14646 cat confdefs.h
>>conftest.
$ac_ext
14647 cat >>conftest.
$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14650 /* Override any gcc2 internal prototype to avoid an error. */
14654 /* We use char because int might match the return type of a gcc2
14655 builtin and then its argument prototype would still apply. */
14656 char mit_des_cbc_encrypt ();
14660 mit_des_cbc_encrypt ();
14665 rm -f conftest.
$ac_objext conftest
$ac_exeext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14667 (eval $ac_link) 2>&5
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); } &&
14671 { ac_try
='test -s conftest$ac_exeext'
14672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673 (eval $ac_try) 2>&5
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); }; }; then
14677 ac_cv_lib_crypto_mit_des_cbc_encrypt
=yes
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.
$ac_ext >&5
14682 ac_cv_lib_crypto_mit_des_cbc_encrypt
=no
14684 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14685 LIBS
=$ac_check_lib_save_LIBS
14687 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
14688 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
14689 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
14690 cat >>confdefs.h
<<_ACEOF
14691 #define HAVE_LIBCRYPTO 1
14694 LIBS
="-lcrypto $LIBS"
14699 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
14700 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
14701 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
14702 echo $ECHO_N "(cached) $ECHO_C" >&6
14704 ac_check_lib_save_LIBS
=$LIBS
14705 LIBS
="-lkrb5 $LIBS"
14706 cat >conftest.
$ac_ext <<_ACEOF
14707 #line $LINENO "configure"
14710 cat confdefs.h
>>conftest.
$ac_ext
14711 cat >>conftest.
$ac_ext <<_ACEOF
14712 /* end confdefs.h. */
14714 /* Override any gcc2 internal prototype to avoid an error. */
14718 /* We use char because int might match the return type of a gcc2
14719 builtin and then its argument prototype would still apply. */
14720 char krb5_init_context ();
14724 krb5_init_context ();
14729 rm -f conftest.
$ac_objext conftest
$ac_exeext
14730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14731 (eval $ac_link) 2>&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); } &&
14735 { ac_try
='test -s conftest$ac_exeext'
14736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14737 (eval $ac_try) 2>&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; }; then
14741 ac_cv_lib_krb5_krb5_init_context
=yes
14743 echo "$as_me: failed program was:" >&5
14744 sed 's/^/| /' conftest.
$ac_ext >&5
14746 ac_cv_lib_krb5_krb5_init_context
=no
14748 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14749 LIBS
=$ac_check_lib_save_LIBS
14751 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
14752 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
14753 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
14754 cat >>confdefs.h
<<_ACEOF
14755 #define HAVE_LIBKRB5 1
14758 LIBS
="-lkrb5 $LIBS"
14762 if test "${with_kerberos5+set}" != set; then
14764 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
14765 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
14766 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
14767 echo $ECHO_N "(cached) $ECHO_C" >&6
14769 ac_check_lib_save_LIBS
=$LIBS
14770 LIBS
="-ldes425 $LIBS"
14771 cat >conftest.
$ac_ext <<_ACEOF
14772 #line $LINENO "configure"
14775 cat confdefs.h
>>conftest.
$ac_ext
14776 cat >>conftest.
$ac_ext <<_ACEOF
14777 /* end confdefs.h. */
14779 /* Override any gcc2 internal prototype to avoid an error. */
14783 /* We use char because int might match the return type of a gcc2
14784 builtin and then its argument prototype would still apply. */
14785 char des_cbc_encrypt ();
14789 des_cbc_encrypt ();
14794 rm -f conftest.
$ac_objext conftest
$ac_exeext
14795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14796 (eval $ac_link) 2>&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } &&
14800 { ac_try
='test -s conftest$ac_exeext'
14801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14802 (eval $ac_try) 2>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; }; then
14806 ac_cv_lib_des425_des_cbc_encrypt
=yes
14808 echo "$as_me: failed program was:" >&5
14809 sed 's/^/| /' conftest.
$ac_ext >&5
14811 ac_cv_lib_des425_des_cbc_encrypt
=no
14813 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14814 LIBS
=$ac_check_lib_save_LIBS
14816 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
14817 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
14818 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
14819 cat >>confdefs.h
<<_ACEOF
14820 #define HAVE_LIBDES425 1
14823 LIBS
="-ldes425 $LIBS"
14827 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
14828 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
14829 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14832 ac_check_lib_save_LIBS
=$LIBS
14834 cat >conftest.
$ac_ext <<_ACEOF
14835 #line $LINENO "configure"
14838 cat confdefs.h
>>conftest.
$ac_ext
14839 cat >>conftest.
$ac_ext <<_ACEOF
14840 /* end confdefs.h. */
14842 /* Override any gcc2 internal prototype to avoid an error. */
14846 /* We use char because int might match the return type of a gcc2
14847 builtin and then its argument prototype would still apply. */
14848 char des_cbc_encrypt ();
14852 des_cbc_encrypt ();
14857 rm -f conftest.
$ac_objext conftest
$ac_exeext
14858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14859 (eval $ac_link) 2>&5
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); } &&
14863 { ac_try
='test -s conftest$ac_exeext'
14864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14865 (eval $ac_try) 2>&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); }; }; then
14869 ac_cv_lib_des_des_cbc_encrypt
=yes
14871 echo "$as_me: failed program was:" >&5
14872 sed 's/^/| /' conftest.
$ac_ext >&5
14874 ac_cv_lib_des_des_cbc_encrypt
=no
14876 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14877 LIBS
=$ac_check_lib_save_LIBS
14879 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
14880 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
14881 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
14882 cat >>confdefs.h
<<_ACEOF
14883 #define HAVE_LIBDES 1
14893 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
14894 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
14895 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
14896 echo $ECHO_N "(cached) $ECHO_C" >&6
14898 ac_check_lib_save_LIBS
=$LIBS
14899 LIBS
="-lkrb4 $LIBS"
14900 cat >conftest.
$ac_ext <<_ACEOF
14901 #line $LINENO "configure"
14904 cat confdefs.h
>>conftest.
$ac_ext
14905 cat >>conftest.
$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14908 /* Override any gcc2 internal prototype to avoid an error. */
14912 /* We use char because int might match the return type of a gcc2
14913 builtin and then its argument prototype would still apply. */
14914 char krb_get_cred ();
14923 rm -f conftest.
$ac_objext conftest
$ac_exeext
14924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14925 (eval $ac_link) 2>&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); } &&
14929 { ac_try
='test -s conftest$ac_exeext'
14930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14931 (eval $ac_try) 2>&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; }; then
14935 ac_cv_lib_krb4_krb_get_cred
=yes
14937 echo "$as_me: failed program was:" >&5
14938 sed 's/^/| /' conftest.
$ac_ext >&5
14940 ac_cv_lib_krb4_krb_get_cred
=no
14942 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14943 LIBS
=$ac_check_lib_save_LIBS
14945 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
14946 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
14947 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
14948 cat >>confdefs.h
<<_ACEOF
14949 #define HAVE_LIBKRB4 1
14952 LIBS
="-lkrb4 $LIBS"
14956 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
14957 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
14958 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
14959 echo $ECHO_N "(cached) $ECHO_C" >&6
14961 ac_check_lib_save_LIBS
=$LIBS
14963 cat >conftest.
$ac_ext <<_ACEOF
14964 #line $LINENO "configure"
14967 cat confdefs.h
>>conftest.
$ac_ext
14968 cat >>conftest.
$ac_ext <<_ACEOF
14969 /* end confdefs.h. */
14971 /* Override any gcc2 internal prototype to avoid an error. */
14975 /* We use char because int might match the return type of a gcc2
14976 builtin and then its argument prototype would still apply. */
14977 char krb_get_cred ();
14986 rm -f conftest.
$ac_objext conftest
$ac_exeext
14987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14988 (eval $ac_link) 2>&5
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); } &&
14992 { ac_try
='test -s conftest$ac_exeext'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; }; then
14998 ac_cv_lib_krb_krb_get_cred
=yes
15000 echo "$as_me: failed program was:" >&5
15001 sed 's/^/| /' conftest.
$ac_ext >&5
15003 ac_cv_lib_krb_krb_get_cred
=no
15005 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15006 LIBS
=$ac_check_lib_save_LIBS
15008 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
15009 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
15010 if test $ac_cv_lib_krb_krb_get_cred = yes; then
15011 cat >>confdefs.h
<<_ACEOF
15012 #define HAVE_LIBKRB 1
15023 if test "${with_kerberos5+set}" = set; then
15025 for ac_header
in krb5.h
15027 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15029 echo "$as_me:$LINENO: checking for $ac_header" >&5
15030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15032 echo $ECHO_N "(cached) $ECHO_C" >&6
15034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15037 # Is the header compilable?
15038 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15039 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15040 cat >conftest.
$ac_ext <<_ACEOF
15041 #line $LINENO "configure"
15044 cat confdefs.h
>>conftest.
$ac_ext
15045 cat >>conftest.
$ac_ext <<_ACEOF
15046 /* end confdefs.h. */
15047 $ac_includes_default
15048 #include <$ac_header>
15050 rm -f conftest.
$ac_objext
15051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15052 (eval $ac_compile) 2>&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); } &&
15056 { ac_try
='test -s conftest.$ac_objext'
15057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058 (eval $ac_try) 2>&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; }; then
15062 ac_header_compiler
=yes
15064 echo "$as_me: failed program was:" >&5
15065 sed 's/^/| /' conftest.
$ac_ext >&5
15067 ac_header_compiler
=no
15069 rm -f conftest.
$ac_objext conftest.
$ac_ext
15070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15071 echo "${ECHO_T}$ac_header_compiler" >&6
15073 # Is the header present?
15074 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15075 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15076 cat >conftest.
$ac_ext <<_ACEOF
15077 #line $LINENO "configure"
15080 cat confdefs.h
>>conftest.
$ac_ext
15081 cat >>conftest.
$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15083 #include <$ac_header>
15085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15086 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15088 grep -v '^ *+' conftest.er1
>conftest.err
15090 cat conftest.err
>&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); } >/dev
/null
; then
15093 if test -s conftest.err
; then
15094 ac_cpp_err
=$ac_c_preproc_warn_flag
15101 if test -z "$ac_cpp_err"; then
15102 ac_header_preproc
=yes
15104 echo "$as_me: failed program was:" >&5
15105 sed 's/^/| /' conftest.
$ac_ext >&5
15107 ac_header_preproc
=no
15109 rm -f conftest.err conftest.
$ac_ext
15110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15111 echo "${ECHO_T}$ac_header_preproc" >&6
15113 # So? What about this header?
15114 case $ac_header_compiler:$ac_header_preproc in
15116 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15117 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15119 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15122 ## ------------------------------------ ##
15123 ## Report this to bug-autoconf@gnu.org. ##
15124 ## ------------------------------------ ##
15127 sed "s/^/$as_me: WARNING: /" >&2
15130 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15132 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15138 ## ------------------------------------ ##
15139 ## Report this to bug-autoconf@gnu.org. ##
15140 ## ------------------------------------ ##
15143 sed "s/^/$as_me: WARNING: /" >&2
15146 echo "$as_me:$LINENO: checking for $ac_header" >&5
15147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15149 echo $ECHO_N "(cached) $ECHO_C" >&6
15151 eval "$as_ac_Header=$ac_header_preproc"
15153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15158 cat >>confdefs.h
<<_ACEOF
15159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15168 for ac_header
in des.h
15170 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15172 echo "$as_me:$LINENO: checking for $ac_header" >&5
15173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15175 echo $ECHO_N "(cached) $ECHO_C" >&6
15177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15180 # Is the header compilable?
15181 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15182 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15183 cat >conftest.
$ac_ext <<_ACEOF
15184 #line $LINENO "configure"
15187 cat confdefs.h
>>conftest.
$ac_ext
15188 cat >>conftest.
$ac_ext <<_ACEOF
15189 /* end confdefs.h. */
15190 $ac_includes_default
15191 #include <$ac_header>
15193 rm -f conftest.
$ac_objext
15194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15195 (eval $ac_compile) 2>&5
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); } &&
15199 { ac_try
='test -s conftest.$ac_objext'
15200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 (eval $ac_try) 2>&5
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; }; then
15205 ac_header_compiler
=yes
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.
$ac_ext >&5
15210 ac_header_compiler
=no
15212 rm -f conftest.
$ac_objext conftest.
$ac_ext
15213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15214 echo "${ECHO_T}$ac_header_compiler" >&6
15216 # Is the header present?
15217 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15218 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15219 cat >conftest.
$ac_ext <<_ACEOF
15220 #line $LINENO "configure"
15223 cat confdefs.h
>>conftest.
$ac_ext
15224 cat >>conftest.
$ac_ext <<_ACEOF
15225 /* end confdefs.h. */
15226 #include <$ac_header>
15228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15229 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15231 grep -v '^ *+' conftest.er1
>conftest.err
15233 cat conftest.err
>&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); } >/dev
/null
; then
15236 if test -s conftest.err
; then
15237 ac_cpp_err
=$ac_c_preproc_warn_flag
15244 if test -z "$ac_cpp_err"; then
15245 ac_header_preproc
=yes
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.
$ac_ext >&5
15250 ac_header_preproc
=no
15252 rm -f conftest.err conftest.
$ac_ext
15253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15254 echo "${ECHO_T}$ac_header_preproc" >&6
15256 # So? What about this header?
15257 case $ac_header_compiler:$ac_header_preproc in
15259 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15265 ## ------------------------------------ ##
15266 ## Report this to bug-autoconf@gnu.org. ##
15267 ## ------------------------------------ ##
15270 sed "s/^/$as_me: WARNING: /" >&2
15273 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15275 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15276 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15281 ## ------------------------------------ ##
15282 ## Report this to bug-autoconf@gnu.org. ##
15283 ## ------------------------------------ ##
15286 sed "s/^/$as_me: WARNING: /" >&2
15289 echo "$as_me:$LINENO: checking for $ac_header" >&5
15290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15292 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 eval "$as_ac_Header=$ac_header_preproc"
15296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15301 cat >>confdefs.h
<<_ACEOF
15302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15307 for ac_header
in kerberosIV
/des.h
15309 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15311 echo "$as_me:$LINENO: checking for $ac_header" >&5
15312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15314 echo $ECHO_N "(cached) $ECHO_C" >&6
15316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15319 # Is the header compilable?
15320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15322 cat >conftest.
$ac_ext <<_ACEOF
15323 #line $LINENO "configure"
15326 cat confdefs.h
>>conftest.
$ac_ext
15327 cat >>conftest.
$ac_ext <<_ACEOF
15328 /* end confdefs.h. */
15329 $ac_includes_default
15330 #include <$ac_header>
15332 rm -f conftest.
$ac_objext
15333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15334 (eval $ac_compile) 2>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); } &&
15338 { ac_try
='test -s conftest.$ac_objext'
15339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15340 (eval $ac_try) 2>&5
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; }; then
15344 ac_header_compiler
=yes
15346 echo "$as_me: failed program was:" >&5
15347 sed 's/^/| /' conftest.
$ac_ext >&5
15349 ac_header_compiler
=no
15351 rm -f conftest.
$ac_objext conftest.
$ac_ext
15352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15353 echo "${ECHO_T}$ac_header_compiler" >&6
15355 # Is the header present?
15356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15358 cat >conftest.
$ac_ext <<_ACEOF
15359 #line $LINENO "configure"
15362 cat confdefs.h
>>conftest.
$ac_ext
15363 cat >>conftest.
$ac_ext <<_ACEOF
15364 /* end confdefs.h. */
15365 #include <$ac_header>
15367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15368 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15370 grep -v '^ *+' conftest.er1
>conftest.err
15372 cat conftest.err
>&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); } >/dev
/null
; then
15375 if test -s conftest.err
; then
15376 ac_cpp_err
=$ac_c_preproc_warn_flag
15383 if test -z "$ac_cpp_err"; then
15384 ac_header_preproc
=yes
15386 echo "$as_me: failed program was:" >&5
15387 sed 's/^/| /' conftest.
$ac_ext >&5
15389 ac_header_preproc
=no
15391 rm -f conftest.err conftest.
$ac_ext
15392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15393 echo "${ECHO_T}$ac_header_preproc" >&6
15395 # So? What about this header?
15396 case $ac_header_compiler:$ac_header_preproc in
15398 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15404 ## ------------------------------------ ##
15405 ## Report this to bug-autoconf@gnu.org. ##
15406 ## ------------------------------------ ##
15409 sed "s/^/$as_me: WARNING: /" >&2
15412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15420 ## ------------------------------------ ##
15421 ## Report this to bug-autoconf@gnu.org. ##
15422 ## ------------------------------------ ##
15425 sed "s/^/$as_me: WARNING: /" >&2
15428 echo "$as_me:$LINENO: checking for $ac_header" >&5
15429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15431 echo $ECHO_N "(cached) $ECHO_C" >&6
15433 eval "$as_ac_Header=$ac_header_preproc"
15435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15440 cat >>confdefs.h
<<_ACEOF
15441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15446 for ac_header
in kerberos
/des.h
15448 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15450 echo "$as_me:$LINENO: checking for $ac_header" >&5
15451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15458 # Is the header compilable?
15459 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15460 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15461 cat >conftest.
$ac_ext <<_ACEOF
15462 #line $LINENO "configure"
15465 cat confdefs.h
>>conftest.
$ac_ext
15466 cat >>conftest.
$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15468 $ac_includes_default
15469 #include <$ac_header>
15471 rm -f conftest.
$ac_objext
15472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15473 (eval $ac_compile) 2>&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); } &&
15477 { ac_try
='test -s conftest.$ac_objext'
15478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15479 (eval $ac_try) 2>&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); }; }; then
15483 ac_header_compiler
=yes
15485 echo "$as_me: failed program was:" >&5
15486 sed 's/^/| /' conftest.
$ac_ext >&5
15488 ac_header_compiler
=no
15490 rm -f conftest.
$ac_objext conftest.
$ac_ext
15491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15492 echo "${ECHO_T}$ac_header_compiler" >&6
15494 # Is the header present?
15495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15497 cat >conftest.
$ac_ext <<_ACEOF
15498 #line $LINENO "configure"
15501 cat confdefs.h
>>conftest.
$ac_ext
15502 cat >>conftest.
$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504 #include <$ac_header>
15506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15507 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15509 grep -v '^ *+' conftest.er1
>conftest.err
15511 cat conftest.err
>&5
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); } >/dev
/null
; then
15514 if test -s conftest.err
; then
15515 ac_cpp_err
=$ac_c_preproc_warn_flag
15522 if test -z "$ac_cpp_err"; then
15523 ac_header_preproc
=yes
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.
$ac_ext >&5
15528 ac_header_preproc
=no
15530 rm -f conftest.err conftest.
$ac_ext
15531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15532 echo "${ECHO_T}$ac_header_preproc" >&6
15534 # So? What about this header?
15535 case $ac_header_compiler:$ac_header_preproc in
15537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15543 ## ------------------------------------ ##
15544 ## Report this to bug-autoconf@gnu.org. ##
15545 ## ------------------------------------ ##
15548 sed "s/^/$as_me: WARNING: /" >&2
15551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15559 ## ------------------------------------ ##
15560 ## Report this to bug-autoconf@gnu.org. ##
15561 ## ------------------------------------ ##
15564 sed "s/^/$as_me: WARNING: /" >&2
15567 echo "$as_me:$LINENO: checking for $ac_header" >&5
15568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15572 eval "$as_ac_Header=$ac_header_preproc"
15574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15579 cat >>confdefs.h
<<_ACEOF
15580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15596 for ac_header
in krb.h
15598 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15600 echo "$as_me:$LINENO: checking for $ac_header" >&5
15601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15603 echo $ECHO_N "(cached) $ECHO_C" >&6
15605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15608 # Is the header compilable?
15609 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15611 cat >conftest.
$ac_ext <<_ACEOF
15612 #line $LINENO "configure"
15615 cat confdefs.h
>>conftest.
$ac_ext
15616 cat >>conftest.
$ac_ext <<_ACEOF
15617 /* end confdefs.h. */
15618 $ac_includes_default
15619 #include <$ac_header>
15621 rm -f conftest.
$ac_objext
15622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15623 (eval $ac_compile) 2>&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); } &&
15627 { ac_try
='test -s conftest.$ac_objext'
15628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15629 (eval $ac_try) 2>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); }; }; then
15633 ac_header_compiler
=yes
15635 echo "$as_me: failed program was:" >&5
15636 sed 's/^/| /' conftest.
$ac_ext >&5
15638 ac_header_compiler
=no
15640 rm -f conftest.
$ac_objext conftest.
$ac_ext
15641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15642 echo "${ECHO_T}$ac_header_compiler" >&6
15644 # Is the header present?
15645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15647 cat >conftest.
$ac_ext <<_ACEOF
15648 #line $LINENO "configure"
15651 cat confdefs.h
>>conftest.
$ac_ext
15652 cat >>conftest.
$ac_ext <<_ACEOF
15653 /* end confdefs.h. */
15654 #include <$ac_header>
15656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15657 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15659 grep -v '^ *+' conftest.er1
>conftest.err
15661 cat conftest.err
>&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } >/dev
/null
; then
15664 if test -s conftest.err
; then
15665 ac_cpp_err
=$ac_c_preproc_warn_flag
15672 if test -z "$ac_cpp_err"; then
15673 ac_header_preproc
=yes
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.
$ac_ext >&5
15678 ac_header_preproc
=no
15680 rm -f conftest.err conftest.
$ac_ext
15681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15682 echo "${ECHO_T}$ac_header_preproc" >&6
15684 # So? What about this header?
15685 case $ac_header_compiler:$ac_header_preproc in
15687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15693 ## ------------------------------------ ##
15694 ## Report this to bug-autoconf@gnu.org. ##
15695 ## ------------------------------------ ##
15698 sed "s/^/$as_me: WARNING: /" >&2
15701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15709 ## ------------------------------------ ##
15710 ## Report this to bug-autoconf@gnu.org. ##
15711 ## ------------------------------------ ##
15714 sed "s/^/$as_me: WARNING: /" >&2
15717 echo "$as_me:$LINENO: checking for $ac_header" >&5
15718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15720 echo $ECHO_N "(cached) $ECHO_C" >&6
15722 eval "$as_ac_Header=$ac_header_preproc"
15724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15729 cat >>confdefs.h
<<_ACEOF
15730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15735 for ac_header
in kerberosIV
/krb.h
15737 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15739 echo "$as_me:$LINENO: checking for $ac_header" >&5
15740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15742 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15747 # Is the header compilable?
15748 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15749 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15750 cat >conftest.
$ac_ext <<_ACEOF
15751 #line $LINENO "configure"
15754 cat confdefs.h
>>conftest.
$ac_ext
15755 cat >>conftest.
$ac_ext <<_ACEOF
15756 /* end confdefs.h. */
15757 $ac_includes_default
15758 #include <$ac_header>
15760 rm -f conftest.
$ac_objext
15761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15762 (eval $ac_compile) 2>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } &&
15766 { ac_try
='test -s conftest.$ac_objext'
15767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15768 (eval $ac_try) 2>&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); }; }; then
15772 ac_header_compiler
=yes
15774 echo "$as_me: failed program was:" >&5
15775 sed 's/^/| /' conftest.
$ac_ext >&5
15777 ac_header_compiler
=no
15779 rm -f conftest.
$ac_objext conftest.
$ac_ext
15780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15781 echo "${ECHO_T}$ac_header_compiler" >&6
15783 # Is the header present?
15784 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15785 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15786 cat >conftest.
$ac_ext <<_ACEOF
15787 #line $LINENO "configure"
15790 cat confdefs.h
>>conftest.
$ac_ext
15791 cat >>conftest.
$ac_ext <<_ACEOF
15792 /* end confdefs.h. */
15793 #include <$ac_header>
15795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15796 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15798 grep -v '^ *+' conftest.er1
>conftest.err
15800 cat conftest.err
>&5
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); } >/dev
/null
; then
15803 if test -s conftest.err
; then
15804 ac_cpp_err
=$ac_c_preproc_warn_flag
15811 if test -z "$ac_cpp_err"; then
15812 ac_header_preproc
=yes
15814 echo "$as_me: failed program was:" >&5
15815 sed 's/^/| /' conftest.
$ac_ext >&5
15817 ac_header_preproc
=no
15819 rm -f conftest.err conftest.
$ac_ext
15820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15821 echo "${ECHO_T}$ac_header_preproc" >&6
15823 # So? What about this header?
15824 case $ac_header_compiler:$ac_header_preproc in
15826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15832 ## ------------------------------------ ##
15833 ## Report this to bug-autoconf@gnu.org. ##
15834 ## ------------------------------------ ##
15837 sed "s/^/$as_me: WARNING: /" >&2
15840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15848 ## ------------------------------------ ##
15849 ## Report this to bug-autoconf@gnu.org. ##
15850 ## ------------------------------------ ##
15853 sed "s/^/$as_me: WARNING: /" >&2
15856 echo "$as_me:$LINENO: checking for $ac_header" >&5
15857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15859 echo $ECHO_N "(cached) $ECHO_C" >&6
15861 eval "$as_ac_Header=$ac_header_preproc"
15863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15868 cat >>confdefs.h
<<_ACEOF
15869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15874 for ac_header
in kerberos
/krb.h
15876 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15878 echo "$as_me:$LINENO: checking for $ac_header" >&5
15879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15881 echo $ECHO_N "(cached) $ECHO_C" >&6
15883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15886 # Is the header compilable?
15887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15889 cat >conftest.
$ac_ext <<_ACEOF
15890 #line $LINENO "configure"
15893 cat confdefs.h
>>conftest.
$ac_ext
15894 cat >>conftest.
$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15896 $ac_includes_default
15897 #include <$ac_header>
15899 rm -f conftest.
$ac_objext
15900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15901 (eval $ac_compile) 2>&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } &&
15905 { ac_try
='test -s conftest.$ac_objext'
15906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15907 (eval $ac_try) 2>&5
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); }; }; then
15911 ac_header_compiler
=yes
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.
$ac_ext >&5
15916 ac_header_compiler
=no
15918 rm -f conftest.
$ac_objext conftest.
$ac_ext
15919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15920 echo "${ECHO_T}$ac_header_compiler" >&6
15922 # Is the header present?
15923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15925 cat >conftest.
$ac_ext <<_ACEOF
15926 #line $LINENO "configure"
15929 cat confdefs.h
>>conftest.
$ac_ext
15930 cat >>conftest.
$ac_ext <<_ACEOF
15931 /* end confdefs.h. */
15932 #include <$ac_header>
15934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15937 grep -v '^ *+' conftest.er1
>conftest.err
15939 cat conftest.err
>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } >/dev
/null
; then
15942 if test -s conftest.err
; then
15943 ac_cpp_err
=$ac_c_preproc_warn_flag
15950 if test -z "$ac_cpp_err"; then
15951 ac_header_preproc
=yes
15953 echo "$as_me: failed program was:" >&5
15954 sed 's/^/| /' conftest.
$ac_ext >&5
15956 ac_header_preproc
=no
15958 rm -f conftest.err conftest.
$ac_ext
15959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15960 echo "${ECHO_T}$ac_header_preproc" >&6
15962 # So? What about this header?
15963 case $ac_header_compiler:$ac_header_preproc in
15965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15971 ## ------------------------------------ ##
15972 ## Report this to bug-autoconf@gnu.org. ##
15973 ## ------------------------------------ ##
15976 sed "s/^/$as_me: WARNING: /" >&2
15979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15987 ## ------------------------------------ ##
15988 ## Report this to bug-autoconf@gnu.org. ##
15989 ## ------------------------------------ ##
15992 sed "s/^/$as_me: WARNING: /" >&2
15995 echo "$as_me:$LINENO: checking for $ac_header" >&5
15996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 eval "$as_ac_Header=$ac_header_preproc"
16002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16007 cat >>confdefs.h
<<_ACEOF
16008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16025 for ac_header
in com_err.h
16027 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16029 echo "$as_me:$LINENO: checking for $ac_header" >&5
16030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16032 echo $ECHO_N "(cached) $ECHO_C" >&6
16034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16037 # Is the header compilable?
16038 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16039 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16040 cat >conftest.
$ac_ext <<_ACEOF
16041 #line $LINENO "configure"
16044 cat confdefs.h
>>conftest.
$ac_ext
16045 cat >>conftest.
$ac_ext <<_ACEOF
16046 /* end confdefs.h. */
16047 $ac_includes_default
16048 #include <$ac_header>
16050 rm -f conftest.
$ac_objext
16051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16052 (eval $ac_compile) 2>&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); } &&
16056 { ac_try
='test -s conftest.$ac_objext'
16057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058 (eval $ac_try) 2>&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); }; }; then
16062 ac_header_compiler
=yes
16064 echo "$as_me: failed program was:" >&5
16065 sed 's/^/| /' conftest.
$ac_ext >&5
16067 ac_header_compiler
=no
16069 rm -f conftest.
$ac_objext conftest.
$ac_ext
16070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16071 echo "${ECHO_T}$ac_header_compiler" >&6
16073 # Is the header present?
16074 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16075 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16076 cat >conftest.
$ac_ext <<_ACEOF
16077 #line $LINENO "configure"
16080 cat confdefs.h
>>conftest.
$ac_ext
16081 cat >>conftest.
$ac_ext <<_ACEOF
16082 /* end confdefs.h. */
16083 #include <$ac_header>
16085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16086 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16088 grep -v '^ *+' conftest.er1
>conftest.err
16090 cat conftest.err
>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } >/dev
/null
; then
16093 if test -s conftest.err
; then
16094 ac_cpp_err
=$ac_c_preproc_warn_flag
16101 if test -z "$ac_cpp_err"; then
16102 ac_header_preproc
=yes
16104 echo "$as_me: failed program was:" >&5
16105 sed 's/^/| /' conftest.
$ac_ext >&5
16107 ac_header_preproc
=no
16109 rm -f conftest.err conftest.
$ac_ext
16110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16111 echo "${ECHO_T}$ac_header_preproc" >&6
16113 # So? What about this header?
16114 case $ac_header_compiler:$ac_header_preproc in
16116 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16117 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16119 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16122 ## ------------------------------------ ##
16123 ## Report this to bug-autoconf@gnu.org. ##
16124 ## ------------------------------------ ##
16127 sed "s/^/$as_me: WARNING: /" >&2
16130 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16132 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16138 ## ------------------------------------ ##
16139 ## Report this to bug-autoconf@gnu.org. ##
16140 ## ------------------------------------ ##
16143 sed "s/^/$as_me: WARNING: /" >&2
16146 echo "$as_me:$LINENO: checking for $ac_header" >&5
16147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16149 echo $ECHO_N "(cached) $ECHO_C" >&6
16151 eval "$as_ac_Header=$ac_header_preproc"
16153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16158 cat >>confdefs.h
<<_ACEOF
16159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16168 # Solaris requires -lintl if you want strerror (which calls dgettext)
16169 # to return localized messages.
16171 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
16172 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
16173 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
16174 echo $ECHO_N "(cached) $ECHO_C" >&6
16176 ac_check_lib_save_LIBS
=$LIBS
16177 LIBS
="-lintl $LIBS"
16178 cat >conftest.
$ac_ext <<_ACEOF
16179 #line $LINENO "configure"
16182 cat confdefs.h
>>conftest.
$ac_ext
16183 cat >>conftest.
$ac_ext <<_ACEOF
16184 /* end confdefs.h. */
16186 /* Override any gcc2 internal prototype to avoid an error. */
16190 /* We use char because int might match the return type of a gcc2
16191 builtin and then its argument prototype would still apply. */
16201 rm -f conftest.
$ac_objext conftest
$ac_exeext
16202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16203 (eval $ac_link) 2>&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); } &&
16207 { ac_try
='test -s conftest$ac_exeext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16213 ac_cv_lib_intl_dgettext
=yes
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.
$ac_ext >&5
16218 ac_cv_lib_intl_dgettext
=no
16220 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16221 LIBS
=$ac_check_lib_save_LIBS
16223 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
16224 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
16225 if test $ac_cv_lib_intl_dgettext = yes; then
16226 cat >>confdefs.h
<<_ACEOF
16227 #define HAVE_LIBINTL 1
16230 LIBS
="-lintl $LIBS"
16235 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
16236 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
16237 if test "${emacs_cv_localtime_cache+set}" = set; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 if test x
$ac_cv_func_tzset = xyes
; then
16241 if test "$cross_compiling" = yes; then
16242 # If we have tzset, assume the worst when cross-compiling.
16243 emacs_cv_localtime_cache
=yes
16245 cat >conftest.
$ac_ext <<_ACEOF
16246 #line $LINENO "configure"
16249 cat confdefs.h
>>conftest.
$ac_ext
16250 cat >>conftest.
$ac_ext <<_ACEOF
16251 /* end confdefs.h. */
16253 extern char **environ;
16257 for (to = from = environ; (*to = *from); from++)
16258 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
16261 char TZ_GMT0[] = "TZ=GMT0";
16262 char TZ_PST8[] = "TZ=PST8";
16265 time_t now = time ((time_t *) 0);
16266 int hour_GMT0, hour_unset;
16267 if (putenv (TZ_GMT0) != 0)
16269 hour_GMT0 = localtime (&now)->tm_hour;
16271 hour_unset = localtime (&now)->tm_hour;
16272 if (putenv (TZ_PST8) != 0)
16274 if (localtime (&now)->tm_hour == hour_GMT0)
16277 if (localtime (&now)->tm_hour != hour_unset)
16282 rm -f conftest
$ac_exeext
16283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16284 (eval $ac_link) 2>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16289 (eval $ac_try) 2>&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); }; }; then
16293 emacs_cv_localtime_cache
=no
16295 echo "$as_me: program exited with status $ac_status" >&5
16296 echo "$as_me: failed program was:" >&5
16297 sed 's/^/| /' conftest.
$ac_ext >&5
16299 ( exit $ac_status )
16300 emacs_cv_localtime_cache
=yes
16302 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16305 # If we lack tzset, report that localtime does not cache TZ,
16306 # since we can't invalidate the cache if we don't have tzset.
16307 emacs_cv_localtime_cache
=no
16310 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
16311 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
16312 if test $emacs_cv_localtime_cache = yes; then
16314 cat >>confdefs.h
<<\_ACEOF
16315 #define LOCALTIME_CACHE 1
16320 if test "x$HAVE_TIMEVAL" = xyes
; then
16322 for ac_func
in gettimeofday
16324 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16325 echo "$as_me:$LINENO: checking for $ac_func" >&5
16326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16327 if eval "test \"\${$as_ac_var+set}\" = set"; then
16328 echo $ECHO_N "(cached) $ECHO_C" >&6
16330 cat >conftest.
$ac_ext <<_ACEOF
16331 #line $LINENO "configure"
16334 cat confdefs.h
>>conftest.
$ac_ext
16335 cat >>conftest.
$ac_ext <<_ACEOF
16336 /* end confdefs.h. */
16337 /* System header to define __stub macros and hopefully few prototypes,
16338 which can conflict with char $ac_func (); below.
16339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16340 <limits.h> exists even on freestanding compilers. */
16342 # include <limits.h>
16344 # include <assert.h>
16346 /* Override any gcc2 internal prototype to avoid an error. */
16351 /* We use char because int might match the return type of a gcc2
16352 builtin and then its argument prototype would still apply. */
16354 /* The GNU C library defines this for functions which it implements
16355 to always fail with ENOSYS. Some functions are actually named
16356 something starting with __ and the normal name is an alias. */
16357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16360 char (*f) () = $ac_func;
16369 return f != $ac_func;
16374 rm -f conftest.
$ac_objext conftest
$ac_exeext
16375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16376 (eval $ac_link) 2>&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); } &&
16380 { ac_try
='test -s conftest$ac_exeext'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; }; then
16386 eval "$as_ac_var=yes"
16388 echo "$as_me: failed program was:" >&5
16389 sed 's/^/| /' conftest.
$ac_ext >&5
16391 eval "$as_ac_var=no"
16393 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16397 if test `eval echo '${'$as_ac_var'}'` = yes; then
16398 cat >>confdefs.h
<<_ACEOF
16399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16405 if test $ac_cv_func_gettimeofday = yes; then
16406 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
16407 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
16408 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
16409 echo $ECHO_N "(cached) $ECHO_C" >&6
16411 cat >conftest.
$ac_ext <<_ACEOF
16412 #line $LINENO "configure"
16415 cat confdefs.h
>>conftest.
$ac_ext
16416 cat >>conftest.
$ac_ext <<_ACEOF
16417 /* end confdefs.h. */
16419 #ifdef TIME_WITH_SYS_TIME
16420 #include <sys/time.h>
16423 #ifdef HAVE_SYS_TIME_H
16424 #include <sys/time.h>
16432 struct timeval time;
16433 gettimeofday (&time, 0);
16438 rm -f conftest.
$ac_objext
16439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16440 (eval $ac_compile) 2>&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); } &&
16444 { ac_try
='test -s conftest.$ac_objext'
16445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16446 (eval $ac_try) 2>&5
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); }; }; then
16450 emacs_cv_gettimeofday_two_arguments
=yes
16452 echo "$as_me: failed program was:" >&5
16453 sed 's/^/| /' conftest.
$ac_ext >&5
16455 emacs_cv_gettimeofday_two_arguments
=no
16457 rm -f conftest.
$ac_objext conftest.
$ac_ext
16459 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
16460 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
16461 if test $emacs_cv_gettimeofday_two_arguments = no
; then
16463 cat >>confdefs.h
<<\_ACEOF
16464 #define GETTIMEOFDAY_ONE_ARGUMENT 1
16471 if test "$ac_cv_func_gettimeofday" = yes; then
16472 echo "$as_me:$LINENO: checking for struct timezone" >&5
16473 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
16474 if test "${emacs_cv_struct_timezone+set}" = set; then
16475 echo $ECHO_N "(cached) $ECHO_C" >&6
16477 cat >conftest.
$ac_ext <<_ACEOF
16478 #line $LINENO "configure"
16481 cat confdefs.h
>>conftest.
$ac_ext
16482 cat >>conftest.
$ac_ext <<_ACEOF
16483 /* end confdefs.h. */
16484 #include <sys/time.h>
16488 struct timezone tz;
16493 rm -f conftest.
$ac_objext
16494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16495 (eval $ac_compile) 2>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } &&
16499 { ac_try
='test -s conftest.$ac_objext'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; }; then
16505 if test "$cross_compiling" = yes; then
16506 emacs_cv_struct_timezone
=yes
16508 cat >conftest.
$ac_ext <<_ACEOF
16509 #line $LINENO "configure"
16512 cat confdefs.h
>>conftest.
$ac_ext
16513 cat >>conftest.
$ac_ext <<_ACEOF
16514 /* end confdefs.h. */
16516 #ifdef TIME_WITH_SYS_TIME
16517 #include <sys/time.h>
16520 #ifdef HAVE_SYS_TIME_H
16521 #include <sys/time.h>
16527 struct timeval time;
16528 struct timezone dummy;
16529 exit (gettimeofday (&time, &dummy));
16532 rm -f conftest
$ac_exeext
16533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16534 (eval $ac_link) 2>&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539 (eval $ac_try) 2>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then
16543 emacs_cv_struct_timezone
=yes
16545 echo "$as_me: program exited with status $ac_status" >&5
16546 echo "$as_me: failed program was:" >&5
16547 sed 's/^/| /' conftest.
$ac_ext >&5
16549 ( exit $ac_status )
16550 emacs_cv_struct_timezone
=no
16552 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.
$ac_ext >&5
16558 emacs_cv_struct_timezone
=no
16560 rm -f conftest.
$ac_objext conftest.
$ac_ext
16562 echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
16563 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
16567 echo "$as_me:$LINENO: checking for socket" >&5
16568 echo $ECHO_N "checking for socket... $ECHO_C" >&6
16569 if test "${ac_cv_func_socket+set}" = set; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 cat >conftest.
$ac_ext <<_ACEOF
16573 #line $LINENO "configure"
16576 cat confdefs.h
>>conftest.
$ac_ext
16577 cat >>conftest.
$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 /* System header to define __stub macros and hopefully few prototypes,
16580 which can conflict with char socket (); below.
16581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16582 <limits.h> exists even on freestanding compilers. */
16584 # include <limits.h>
16586 # include <assert.h>
16588 /* Override any gcc2 internal prototype to avoid an error. */
16593 /* We use char because int might match the return type of a gcc2
16594 builtin and then its argument prototype would still apply. */
16596 /* The GNU C library defines this for functions which it implements
16597 to always fail with ENOSYS. Some functions are actually named
16598 something starting with __ and the normal name is an alias. */
16599 #if defined (__stub_socket) || defined (__stub___socket)
16602 char (*f) () = socket;
16611 return f != socket;
16616 rm -f conftest.
$ac_objext conftest
$ac_exeext
16617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16618 (eval $ac_link) 2>&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); } &&
16622 { ac_try
='test -s conftest$ac_exeext'
16623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16624 (eval $ac_try) 2>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; }; then
16628 ac_cv_func_socket
=yes
16630 echo "$as_me: failed program was:" >&5
16631 sed 's/^/| /' conftest.
$ac_ext >&5
16633 ac_cv_func_socket
=no
16635 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16637 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
16638 echo "${ECHO_T}$ac_cv_func_socket" >&6
16639 if test $ac_cv_func_socket = yes; then
16645 if test $ok_so_far = yes; then
16646 if test "${ac_cv_header_netinet_in_h+set}" = set; then
16647 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
16648 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
16649 if test "${ac_cv_header_netinet_in_h+set}" = set; then
16650 echo $ECHO_N "(cached) $ECHO_C" >&6
16652 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
16653 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
16655 # Is the header compilable?
16656 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
16657 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
16658 cat >conftest.
$ac_ext <<_ACEOF
16659 #line $LINENO "configure"
16662 cat confdefs.h
>>conftest.
$ac_ext
16663 cat >>conftest.
$ac_ext <<_ACEOF
16664 /* end confdefs.h. */
16665 $ac_includes_default
16666 #include <netinet/in.h>
16668 rm -f conftest.
$ac_objext
16669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16670 (eval $ac_compile) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); } &&
16674 { ac_try
='test -s conftest.$ac_objext'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16680 ac_header_compiler
=yes
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.
$ac_ext >&5
16685 ac_header_compiler
=no
16687 rm -f conftest.
$ac_objext conftest.
$ac_ext
16688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16689 echo "${ECHO_T}$ac_header_compiler" >&6
16691 # Is the header present?
16692 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
16693 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
16694 cat >conftest.
$ac_ext <<_ACEOF
16695 #line $LINENO "configure"
16698 cat confdefs.h
>>conftest.
$ac_ext
16699 cat >>conftest.
$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16701 #include <netinet/in.h>
16703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16706 grep -v '^ *+' conftest.er1
>conftest.err
16708 cat conftest.err
>&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); } >/dev
/null
; then
16711 if test -s conftest.err
; then
16712 ac_cpp_err
=$ac_c_preproc_warn_flag
16719 if test -z "$ac_cpp_err"; then
16720 ac_header_preproc
=yes
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.
$ac_ext >&5
16725 ac_header_preproc
=no
16727 rm -f conftest.err conftest.
$ac_ext
16728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16729 echo "${ECHO_T}$ac_header_preproc" >&6
16731 # So? What about this header?
16732 case $ac_header_compiler:$ac_header_preproc in
16734 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
16735 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16736 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
16737 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
16740 ## ------------------------------------ ##
16741 ## Report this to bug-autoconf@gnu.org. ##
16742 ## ------------------------------------ ##
16745 sed "s/^/$as_me: WARNING: /" >&2
16748 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
16749 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
16750 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
16751 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
16752 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
16753 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
16756 ## ------------------------------------ ##
16757 ## Report this to bug-autoconf@gnu.org. ##
16758 ## ------------------------------------ ##
16761 sed "s/^/$as_me: WARNING: /" >&2
16764 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
16765 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
16766 if test "${ac_cv_header_netinet_in_h+set}" = set; then
16767 echo $ECHO_N "(cached) $ECHO_C" >&6
16769 ac_cv_header_netinet_in_h
=$ac_header_preproc
16771 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
16772 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
16775 if test $ac_cv_header_netinet_in_h = yes; then
16783 if test $ok_so_far = yes; then
16784 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
16785 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
16786 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
16787 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
16791 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
16793 # Is the header compilable?
16794 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
16795 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
16796 cat >conftest.
$ac_ext <<_ACEOF
16797 #line $LINENO "configure"
16800 cat confdefs.h
>>conftest.
$ac_ext
16801 cat >>conftest.
$ac_ext <<_ACEOF
16802 /* end confdefs.h. */
16803 $ac_includes_default
16804 #include <arpa/inet.h>
16806 rm -f conftest.
$ac_objext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16808 (eval $ac_compile) 2>&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } &&
16812 { ac_try
='test -s conftest.$ac_objext'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; }; then
16818 ac_header_compiler
=yes
16820 echo "$as_me: failed program was:" >&5
16821 sed 's/^/| /' conftest.
$ac_ext >&5
16823 ac_header_compiler
=no
16825 rm -f conftest.
$ac_objext conftest.
$ac_ext
16826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16827 echo "${ECHO_T}$ac_header_compiler" >&6
16829 # Is the header present?
16830 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
16831 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
16832 cat >conftest.
$ac_ext <<_ACEOF
16833 #line $LINENO "configure"
16836 cat confdefs.h
>>conftest.
$ac_ext
16837 cat >>conftest.
$ac_ext <<_ACEOF
16838 /* end confdefs.h. */
16839 #include <arpa/inet.h>
16841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16842 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16844 grep -v '^ *+' conftest.er1
>conftest.err
16846 cat conftest.err
>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } >/dev
/null
; then
16849 if test -s conftest.err
; then
16850 ac_cpp_err
=$ac_c_preproc_warn_flag
16857 if test -z "$ac_cpp_err"; then
16858 ac_header_preproc
=yes
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.
$ac_ext >&5
16863 ac_header_preproc
=no
16865 rm -f conftest.err conftest.
$ac_ext
16866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16867 echo "${ECHO_T}$ac_header_preproc" >&6
16869 # So? What about this header?
16870 case $ac_header_compiler:$ac_header_preproc in
16872 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
16873 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16874 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
16875 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
16878 ## ------------------------------------ ##
16879 ## Report this to bug-autoconf@gnu.org. ##
16880 ## ------------------------------------ ##
16883 sed "s/^/$as_me: WARNING: /" >&2
16886 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
16887 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
16888 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
16889 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
16890 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
16891 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
16894 ## ------------------------------------ ##
16895 ## Report this to bug-autoconf@gnu.org. ##
16896 ## ------------------------------------ ##
16899 sed "s/^/$as_me: WARNING: /" >&2
16902 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
16903 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
16904 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
16905 echo $ECHO_N "(cached) $ECHO_C" >&6
16907 ac_cv_header_arpa_inet_h
=$ac_header_preproc
16909 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
16910 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
16913 if test $ac_cv_header_arpa_inet_h = yes; then
16921 if test $ok_so_far = yes; then
16923 cat >>confdefs.h
<<\_ACEOF
16924 #define HAVE_INET_SOCKETS 1
16929 if test -f /usr
/lpp
/X11
/bin
/smt.exp
; then
16931 cat >>confdefs.h
<<\_ACEOF
16932 #define HAVE_AIX_SMT_EXP 1
16937 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
16938 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
16939 if test -d /dev
/pts
&& ls -d /dev
/ptmx
> /dev
/null
2>&1 ; then
16940 echo "$as_me:$LINENO: result: yes" >&5
16941 echo "${ECHO_T}yes" >&6
16943 cat >>confdefs.h
<<\_ACEOF
16944 #define HAVE_DEV_PTMX 1
16948 echo "$as_me:$LINENO: result: no" >&5
16949 echo "${ECHO_T}no" >&6
16952 echo "$as_me:$LINENO: checking for pid_t" >&5
16953 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16954 if test "${ac_cv_type_pid_t+set}" = set; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16957 cat >conftest.
$ac_ext <<_ACEOF
16958 #line $LINENO "configure"
16961 cat confdefs.h
>>conftest.
$ac_ext
16962 cat >>conftest.
$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16964 $ac_includes_default
16970 if (sizeof (pid_t))
16976 rm -f conftest.
$ac_objext
16977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16978 (eval $ac_compile) 2>&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } &&
16982 { ac_try
='test -s conftest.$ac_objext'
16983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16984 (eval $ac_try) 2>&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); }; }; then
16988 ac_cv_type_pid_t
=yes
16990 echo "$as_me: failed program was:" >&5
16991 sed 's/^/| /' conftest.
$ac_ext >&5
16993 ac_cv_type_pid_t
=no
16995 rm -f conftest.
$ac_objext conftest.
$ac_ext
16997 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16998 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16999 if test $ac_cv_type_pid_t = yes; then
17003 cat >>confdefs.h
<<_ACEOF
17011 for ac_header
in unistd.h vfork.h
17013 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17015 echo "$as_me:$LINENO: checking for $ac_header" >&5
17016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17018 echo $ECHO_N "(cached) $ECHO_C" >&6
17020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17023 # Is the header compilable?
17024 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17025 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17026 cat >conftest.
$ac_ext <<_ACEOF
17027 #line $LINENO "configure"
17030 cat confdefs.h
>>conftest.
$ac_ext
17031 cat >>conftest.
$ac_ext <<_ACEOF
17032 /* end confdefs.h. */
17033 $ac_includes_default
17034 #include <$ac_header>
17036 rm -f conftest.
$ac_objext
17037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17038 (eval $ac_compile) 2>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); } &&
17042 { ac_try
='test -s conftest.$ac_objext'
17043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17044 (eval $ac_try) 2>&5
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); }; }; then
17048 ac_header_compiler
=yes
17050 echo "$as_me: failed program was:" >&5
17051 sed 's/^/| /' conftest.
$ac_ext >&5
17053 ac_header_compiler
=no
17055 rm -f conftest.
$ac_objext conftest.
$ac_ext
17056 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17057 echo "${ECHO_T}$ac_header_compiler" >&6
17059 # Is the header present?
17060 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17061 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17062 cat >conftest.
$ac_ext <<_ACEOF
17063 #line $LINENO "configure"
17066 cat confdefs.h
>>conftest.
$ac_ext
17067 cat >>conftest.
$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17069 #include <$ac_header>
17071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17072 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17074 grep -v '^ *+' conftest.er1
>conftest.err
17076 cat conftest.err
>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } >/dev
/null
; then
17079 if test -s conftest.err
; then
17080 ac_cpp_err
=$ac_c_preproc_warn_flag
17087 if test -z "$ac_cpp_err"; then
17088 ac_header_preproc
=yes
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.
$ac_ext >&5
17093 ac_header_preproc
=no
17095 rm -f conftest.err conftest.
$ac_ext
17096 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17097 echo "${ECHO_T}$ac_header_preproc" >&6
17099 # So? What about this header?
17100 case $ac_header_compiler:$ac_header_preproc in
17102 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17103 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17108 ## ------------------------------------ ##
17109 ## Report this to bug-autoconf@gnu.org. ##
17110 ## ------------------------------------ ##
17113 sed "s/^/$as_me: WARNING: /" >&2
17116 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17117 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17118 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17119 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17121 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17124 ## ------------------------------------ ##
17125 ## Report this to bug-autoconf@gnu.org. ##
17126 ## ------------------------------------ ##
17129 sed "s/^/$as_me: WARNING: /" >&2
17132 echo "$as_me:$LINENO: checking for $ac_header" >&5
17133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17135 echo $ECHO_N "(cached) $ECHO_C" >&6
17137 eval "$as_ac_Header=$ac_header_preproc"
17139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17144 cat >>confdefs.h
<<_ACEOF
17145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17154 for ac_func
in fork vfork
17156 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17157 echo "$as_me:$LINENO: checking for $ac_func" >&5
17158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17159 if eval "test \"\${$as_ac_var+set}\" = set"; then
17160 echo $ECHO_N "(cached) $ECHO_C" >&6
17162 cat >conftest.
$ac_ext <<_ACEOF
17163 #line $LINENO "configure"
17166 cat confdefs.h
>>conftest.
$ac_ext
17167 cat >>conftest.
$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17169 /* System header to define __stub macros and hopefully few prototypes,
17170 which can conflict with char $ac_func (); below.
17171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17172 <limits.h> exists even on freestanding compilers. */
17174 # include <limits.h>
17176 # include <assert.h>
17178 /* Override any gcc2 internal prototype to avoid an error. */
17183 /* We use char because int might match the return type of a gcc2
17184 builtin and then its argument prototype would still apply. */
17186 /* The GNU C library defines this for functions which it implements
17187 to always fail with ENOSYS. Some functions are actually named
17188 something starting with __ and the normal name is an alias. */
17189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17192 char (*f) () = $ac_func;
17201 return f != $ac_func;
17206 rm -f conftest.
$ac_objext conftest
$ac_exeext
17207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17208 (eval $ac_link) 2>&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } &&
17212 { ac_try
='test -s conftest$ac_exeext'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; }; then
17218 eval "$as_ac_var=yes"
17220 echo "$as_me: failed program was:" >&5
17221 sed 's/^/| /' conftest.
$ac_ext >&5
17223 eval "$as_ac_var=no"
17225 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17229 if test `eval echo '${'$as_ac_var'}'` = yes; then
17230 cat >>confdefs.h
<<_ACEOF
17231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17237 if test "x$ac_cv_func_fork" = xyes
; then
17238 echo "$as_me:$LINENO: checking for working fork" >&5
17239 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
17240 if test "${ac_cv_func_fork_works+set}" = set; then
17241 echo $ECHO_N "(cached) $ECHO_C" >&6
17243 if test "$cross_compiling" = yes; then
17244 ac_cv_func_fork_works
=cross
17246 cat >conftest.
$ac_ext <<_ACEOF
17247 /* By Ruediger Kuhlmann. */
17248 #include <sys/types.h>
17250 # include <unistd.h>
17252 /* Some systems only have a dummy stub for fork() */
17260 rm -f conftest
$ac_exeext
17261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17262 (eval $ac_link) 2>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267 (eval $ac_try) 2>&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); }; }; then
17271 ac_cv_func_fork_works
=yes
17273 echo "$as_me: program exited with status $ac_status" >&5
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.
$ac_ext >&5
17277 ( exit $ac_status )
17278 ac_cv_func_fork_works
=no
17280 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17283 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
17284 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
17287 ac_cv_func_fork_works
=$ac_cv_func_fork
17289 if test "x$ac_cv_func_fork_works" = xcross
; then
17291 *-*-amigaos* |
*-*-msdosdjgpp*)
17292 # Override, as these systems have only a dummy fork() stub
17293 ac_cv_func_fork_works
=no
17296 ac_cv_func_fork_works
=yes
17299 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
17300 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
17302 ac_cv_func_vfork_works
=$ac_cv_func_vfork
17303 if test "x$ac_cv_func_vfork" = xyes
; then
17304 echo "$as_me:$LINENO: checking for working vfork" >&5
17305 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
17306 if test "${ac_cv_func_vfork_works+set}" = set; then
17307 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 if test "$cross_compiling" = yes; then
17310 ac_cv_func_vfork_works
=cross
17312 cat >conftest.
$ac_ext <<_ACEOF
17313 #line $LINENO "configure"
17316 cat confdefs.h
>>conftest.
$ac_ext
17317 cat >>conftest.
$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 /* Thanks to Paul Eggert for this test. */
17321 #include <stdlib.h>
17322 #include <sys/types.h>
17323 #include <sys/stat.h>
17324 #include <sys/wait.h>
17326 # include <unistd.h>
17329 # include <vfork.h>
17331 /* On some sparc systems, changes by the child to local and incoming
17332 argument registers are propagated back to the parent. The compiler
17333 is told about this with #include <vfork.h>, but some compilers
17334 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
17335 static variable whose address is put into a register that is
17336 clobbered by the vfork. */
17339 sparc_address_test (int arg)
17341 sparc_address_test (arg) int arg;
17344 static pid_t child;
17362 pid_t parent = getpid ();
17365 sparc_address_test (0);
17370 /* Here is another test for sparc vfork register problems. This
17371 test uses lots of local variables, at least as many local
17372 variables as main has allocated so far including compiler
17373 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
17374 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
17375 reuse the register of parent for one of the local variables,
17376 since it will think that parent can't possibly be used any more
17377 in this routine. Assigning to the local variable will thus
17378 munge parent in the parent process. */
17380 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
17381 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
17382 /* Convince the compiler that p..p7 are live; otherwise, it might
17383 use the same hardware register for all 8 local variables. */
17384 if (p != p1 || p != p2 || p != p3 || p != p4
17385 || p != p5 || p != p6 || p != p7)
17388 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
17389 from child file descriptors. If the child closes a descriptor
17390 before it execs or exits, this munges the parent's descriptor
17391 as well. Test for this by closing stdout in the child. */
17392 _exit(close(fileno(stdout)) != 0);
17397 while (wait(&status) != child)
17400 /* Was there some problem with vforking? */
17403 /* Did the child fail? (This shouldn't happen.) */
17406 /* Did the vfork/compiler bug occur? */
17407 || parent != getpid()
17409 /* Did the file descriptor bug occur? */
17410 || fstat(fileno(stdout), &st) != 0
17415 rm -f conftest
$ac_exeext
17416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17417 (eval $ac_link) 2>&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17422 (eval $ac_try) 2>&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); }; }; then
17426 ac_cv_func_vfork_works
=yes
17428 echo "$as_me: program exited with status $ac_status" >&5
17429 echo "$as_me: failed program was:" >&5
17430 sed 's/^/| /' conftest.
$ac_ext >&5
17432 ( exit $ac_status )
17433 ac_cv_func_vfork_works
=no
17435 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17438 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
17439 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
17442 if test "x$ac_cv_func_fork_works" = xcross
; then
17443 ac_cv_func_vfork_works
=ac_cv_func_vfork
17444 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
17445 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
17448 if test "x$ac_cv_func_vfork_works" = xyes
; then
17450 cat >>confdefs.h
<<\_ACEOF
17451 #define HAVE_WORKING_VFORK 1
17456 cat >>confdefs.h
<<\_ACEOF
17461 if test "x$ac_cv_func_fork_works" = xyes
; then
17463 cat >>confdefs.h
<<\_ACEOF
17464 #define HAVE_WORKING_FORK 1
17470 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
17471 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
17472 if test "${emacs_cv_langinfo_codeset+set}" = set; then
17473 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 cat >conftest.
$ac_ext <<_ACEOF
17476 #line $LINENO "configure"
17479 cat confdefs.h
>>conftest.
$ac_ext
17480 cat >>conftest.
$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17482 #include <langinfo.h>
17486 char* cs = nl_langinfo(CODESET);
17491 rm -f conftest.
$ac_objext conftest
$ac_exeext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17493 (eval $ac_link) 2>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); } &&
17497 { ac_try
='test -s conftest$ac_exeext'
17498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17499 (eval $ac_try) 2>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; }; then
17503 emacs_cv_langinfo_codeset
=yes
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.
$ac_ext >&5
17508 emacs_cv_langinfo_codeset
=no
17510 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17513 echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
17514 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6
17515 if test $emacs_cv_langinfo_codeset = yes; then
17517 cat >>confdefs.h
<<\_ACEOF
17518 #define HAVE_LANGINFO_CODESET 1
17523 echo "$as_me:$LINENO: checking for size_t" >&5
17524 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17525 if test "${ac_cv_type_size_t+set}" = set; then
17526 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 cat >conftest.
$ac_ext <<_ACEOF
17529 #line $LINENO "configure"
17532 cat confdefs.h
>>conftest.
$ac_ext
17533 cat >>conftest.
$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17535 $ac_includes_default
17541 if (sizeof (size_t))
17547 rm -f conftest.
$ac_objext
17548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17549 (eval $ac_compile) 2>&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); } &&
17553 { ac_try
='test -s conftest.$ac_objext'
17554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17555 (eval $ac_try) 2>&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); }; }; then
17559 ac_cv_type_size_t
=yes
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.
$ac_ext >&5
17564 ac_cv_type_size_t
=no
17566 rm -f conftest.
$ac_objext conftest.
$ac_ext
17568 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17569 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17570 if test $ac_cv_type_size_t = yes; then
17572 cat >>confdefs.h
<<_ACEOF
17573 #define HAVE_SIZE_T 1
17580 echo "$as_me:$LINENO: checking for C restrict keyword" >&5
17581 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6
17582 if test "${emacs_cv_c_restrict+set}" = set; then
17583 echo $ECHO_N "(cached) $ECHO_C" >&6
17585 cat >conftest.
$ac_ext <<_ACEOF
17586 #line $LINENO "configure"
17589 cat confdefs.h
>>conftest.
$ac_ext
17590 cat >>conftest.
$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17592 void fred (int *restrict x);
17601 rm -f conftest.
$ac_objext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17603 (eval $ac_compile) 2>&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); } &&
17607 { ac_try
='test -s conftest.$ac_objext'
17608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17609 (eval $ac_try) 2>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; }; then
17613 emacs_cv_c_restrict
=yes
17615 echo "$as_me: failed program was:" >&5
17616 sed 's/^/| /' conftest.
$ac_ext >&5
17618 cat >conftest.
$ac_ext <<_ACEOF
17619 #line $LINENO "configure"
17622 cat confdefs.h
>>conftest.
$ac_ext
17623 cat >>conftest.
$ac_ext <<_ACEOF
17624 /* end confdefs.h. */
17625 void fred (int *__restrict x);
17634 rm -f conftest.
$ac_objext
17635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17636 (eval $ac_compile) 2>&5
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); } &&
17640 { ac_try
='test -s conftest.$ac_objext'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; }; then
17646 emacs_cv_c_restrict
=__restrict
17648 echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.
$ac_ext >&5
17651 emacs_cv_c_restrict
=no
17653 rm -f conftest.
$ac_objext conftest.
$ac_ext
17655 rm -f conftest.
$ac_objext conftest.
$ac_ext
17657 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
17658 echo "${ECHO_T}$emacs_cv_c_restrict" >&6
17659 case "$emacs_cv_c_restrict" in
17660 yes) emacs_restrict
=restrict
;;
17661 no
) emacs_restrict
="";;
17662 *) emacs_restrict
="$emacs_cv_c_restrict";;
17664 if test "$emacs_restrict" != __restrict
; then
17666 cat >>confdefs.h
<<_ACEOF
17667 #define __restrict $emacs_restrict
17672 echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
17673 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6
17674 if test "${emacs_cv_c_restrict_arr+set}" = set; then
17675 echo $ECHO_N "(cached) $ECHO_C" >&6
17677 cat >conftest.
$ac_ext <<_ACEOF
17678 #line $LINENO "configure"
17681 cat confdefs.h
>>conftest.
$ac_ext
17682 cat >>conftest.
$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 void fred (int x[__restrict]);
17693 rm -f conftest.
$ac_objext
17694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17695 (eval $ac_compile) 2>&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } &&
17699 { ac_try
='test -s conftest.$ac_objext'
17700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701 (eval $ac_try) 2>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; }; then
17705 emacs_cv_c_restrict_arr
=yes
17707 echo "$as_me: failed program was:" >&5
17708 sed 's/^/| /' conftest.
$ac_ext >&5
17710 emacs_cv_c_restrict_arr
=no
17712 rm -f conftest.
$ac_objext conftest.
$ac_ext
17714 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
17715 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6
17716 if test "$emacs_cv_c_restrict_arr" = yes; then
17718 cat >>confdefs.h
<<\_ACEOF
17719 #define __restrict_arr __restrict
17725 for ac_header
in nlist.h
17727 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17729 echo "$as_me:$LINENO: checking for $ac_header" >&5
17730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17732 echo $ECHO_N "(cached) $ECHO_C" >&6
17734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17737 # Is the header compilable?
17738 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17740 cat >conftest.
$ac_ext <<_ACEOF
17741 #line $LINENO "configure"
17744 cat confdefs.h
>>conftest.
$ac_ext
17745 cat >>conftest.
$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17747 $ac_includes_default
17748 #include <$ac_header>
17750 rm -f conftest.
$ac_objext
17751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17752 (eval $ac_compile) 2>&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } &&
17756 { ac_try
='test -s conftest.$ac_objext'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; }; then
17762 ac_header_compiler
=yes
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.
$ac_ext >&5
17767 ac_header_compiler
=no
17769 rm -f conftest.
$ac_objext conftest.
$ac_ext
17770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17771 echo "${ECHO_T}$ac_header_compiler" >&6
17773 # Is the header present?
17774 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17776 cat >conftest.
$ac_ext <<_ACEOF
17777 #line $LINENO "configure"
17780 cat confdefs.h
>>conftest.
$ac_ext
17781 cat >>conftest.
$ac_ext <<_ACEOF
17782 /* end confdefs.h. */
17783 #include <$ac_header>
17785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17786 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17788 grep -v '^ *+' conftest.er1
>conftest.err
17790 cat conftest.err
>&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } >/dev
/null
; then
17793 if test -s conftest.err
; then
17794 ac_cpp_err
=$ac_c_preproc_warn_flag
17801 if test -z "$ac_cpp_err"; then
17802 ac_header_preproc
=yes
17804 echo "$as_me: failed program was:" >&5
17805 sed 's/^/| /' conftest.
$ac_ext >&5
17807 ac_header_preproc
=no
17809 rm -f conftest.err conftest.
$ac_ext
17810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17811 echo "${ECHO_T}$ac_header_preproc" >&6
17813 # So? What about this header?
17814 case $ac_header_compiler:$ac_header_preproc in
17816 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17817 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17822 ## ------------------------------------ ##
17823 ## Report this to bug-autoconf@gnu.org. ##
17824 ## ------------------------------------ ##
17827 sed "s/^/$as_me: WARNING: /" >&2
17830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17835 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17838 ## ------------------------------------ ##
17839 ## Report this to bug-autoconf@gnu.org. ##
17840 ## ------------------------------------ ##
17843 sed "s/^/$as_me: WARNING: /" >&2
17846 echo "$as_me:$LINENO: checking for $ac_header" >&5
17847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17851 eval "$as_ac_Header=$ac_header_preproc"
17853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17854 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17857 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17858 cat >>confdefs.h
<<_ACEOF
17859 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17862 cat >>confdefs.h
<<\_ACEOF
17863 #define NLIST_STRUCT 1
17873 # Set up the CFLAGS for real compilation, so we can substitute it.
17874 CFLAGS
="$REAL_CFLAGS"
17875 CPPFLAGS
="$REAL_CPPFLAGS"
17877 #### Find out which version of Emacs this is.
17878 version
=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
17879 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
17880 if test x
"${version}" = x
; then
17881 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
17882 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
17883 { (exit 1); exit 1; }; }
17886 ### Specify what sort of things we'll be editing into Makefile and config.h.
17887 ### Use configuration here uncanonicalized to avoid exceeding size limits.
17923 cat >>confdefs.h
<<_ACEOF
17924 #define EMACS_CONFIGURATION "${canonical}"
17928 cat >>confdefs.h
<<_ACEOF
17929 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
17933 cat >>confdefs.h
<<_ACEOF
17934 #define config_machfile "${machfile}"
17938 cat >>confdefs.h
<<_ACEOF
17939 #define config_opsysfile "${opsysfile}"
17943 cat >>confdefs.h
<<_ACEOF
17944 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
17948 cat >>confdefs.h
<<_ACEOF
17949 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
17953 cat >>confdefs.h
<<_ACEOF
17954 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
17958 cat >>confdefs.h
<<_ACEOF
17959 #define UNEXEC_SRC ${UNEXEC_SRC}
17963 if test "${HAVE_X_WINDOWS}" = "yes" ; then
17965 cat >>confdefs.h
<<\_ACEOF
17966 #define HAVE_X_WINDOWS 1
17970 if test "${USE_X_TOOLKIT}" != "none" ; then
17972 cat >>confdefs.h
<<\_ACEOF
17973 #define USE_X_TOOLKIT 1
17977 if test "${HAVE_X11}" = "yes" ; then
17979 cat >>confdefs.h
<<\_ACEOF
17984 if test "${HAVE_XFREE386}" = "yes" ; then
17986 cat >>confdefs.h
<<\_ACEOF
17987 #define HAVE_XFREE386 1
17991 if test "${HAVE_MENUS}" = "yes" ; then
17993 cat >>confdefs.h
<<\_ACEOF
17994 #define HAVE_MENUS 1
17998 if test "${GNU_MALLOC}" = "yes" ; then
18000 cat >>confdefs.h
<<\_ACEOF
18001 #define GNU_MALLOC 1
18005 if test "${REL_ALLOC}" = "yes" ; then
18007 cat >>confdefs.h
<<\_ACEOF
18008 #define REL_ALLOC 1
18017 #### Report on what we decided to do.
18018 #### Report GTK as a toolkit, even if it doesn't use Xt.
18019 #### It makes printing result more understandable as using GTK sets
18020 #### toolkit_scroll_bars to yes by default.
18021 if test "${HAVE_GTK}" = "yes"; then
18026 Configured for \`${canonical}'.
18028 Where should the build process find the source code? ${srcdir}
18029 What operating system and machine description files should Emacs use?
18030 \`${opsysfile}' and \`${machfile}'
18031 What compiler should emacs be built with? ${CC} ${CFLAGS}
18032 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
18033 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
18034 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
18035 What window system should Emacs use? ${window_system}
18036 What toolkit should Emacs use? ${USE_X_TOOLKIT}"
18038 if test -n "${x_includes}"; then
18039 echo " Where do we find X Windows header files? ${x_includes}"
18041 echo " Where do we find X Windows header files? Standard dirs"
18043 if test -n "${x_libraries}"; then
18044 echo " Where do we find X Windows libraries? ${x_libraries}"
18046 echo " Where do we find X Windows libraries? Standard dirs"
18049 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
18050 echo " Does Emacs use -lXpm? ${HAVE_XPM}"
18051 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
18052 echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
18053 echo " Does Emacs use -lungif? ${HAVE_GIF}"
18054 echo " Does Emacs use -lpng? ${HAVE_PNG}"
18055 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
18058 # Remove any trailing slashes in these variables.
18059 test "${prefix}" != NONE
&&
18060 prefix
=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
18061 test "${exec_prefix}" != NONE
&&
18062 exec_prefix
=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
18064 ## Check if the C preprocessor will convert `..' to `. .'. If so, set
18065 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
18066 ## from Makefile.c can correctly provide the arg `-traditional' to the
18069 cat >conftest.
$ac_ext <<_ACEOF
18070 #line $LINENO "configure"
18073 cat confdefs.h
>>conftest.
$ac_ext
18074 cat >>conftest.
$ac_ext <<_ACEOF
18075 /* end confdefs.h. */
18078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18079 $EGREP "yes..yes" >/dev
/null
2>&1; then
18080 CPP_NEED_TRADITIONAL
=no
18082 CPP_NEED_TRADITIONAL
=yes
18087 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"
18088 ac_config_commands
="$ac_config_commands default"
18089 cat >confcache
<<\_ACEOF
18090 # This file is a shell script that caches the results of configure
18091 # tests run on this system so they can be shared between configure
18092 # scripts and configure runs, see configure's option --config-cache.
18093 # It is not useful on other systems. If it contains results you don't
18094 # want to keep, you may remove or edit it.
18096 # config.status only pays attention to the cache file if you give it
18097 # the --recheck option to rerun configure.
18099 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18100 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18101 # following values.
18105 # The following way of writing the cache mishandles newlines in values,
18106 # but we know of no workaround that is simple, portable, and efficient.
18107 # So, don't put newlines in cache variables' values.
18108 # Ultrix sh set writes to stderr and can't be redirected directly,
18109 # and sets the high bit in the cache file unless we assign to the vars.
18112 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18114 # `set' does not quote correctly, so add quotes (double-quote
18115 # substitution turns \\\\ into \\, and sed turns \\ into \).
18118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18121 # `set' quotes correctly as required by POSIX, so do not add quotes.
18123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18130 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18132 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18134 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18135 if test -w $cache_file; then
18136 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18137 cat confcache
>$cache_file
18139 echo "not updating unwritable cache $cache_file"
18144 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18145 # Let make expand exec_prefix.
18146 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18148 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18149 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18150 # trailing colons and then remove the whole line if VPATH becomes empty
18151 # (actually we leave an empty line to preserve line numbers).
18152 if test "x$srcdir" = x.
; then
18153 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
18154 s/:*\$(srcdir):*/:/;
18155 s/:*\${srcdir}:*/:/;
18157 s/^\([^=]*=[ ]*\):*/\1/;
18163 DEFS
=-DHAVE_CONFIG_H
18167 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18168 # 1. Remove the extension, and $U if already installed.
18169 ac_i
=`echo "$ac_i" |
18170 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
18172 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
18173 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
18175 LIBOBJS
=$ac_libobjs
18177 LTLIBOBJS
=$ac_ltlibobjs
18181 : ${CONFIG_STATUS=./config.status}
18182 ac_clean_files_save
=$ac_clean_files
18183 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18184 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18185 echo "$as_me: creating $CONFIG_STATUS" >&6;}
18186 cat >$CONFIG_STATUS <<_ACEOF
18188 # Generated by $as_me.
18189 # Run this file to recreate the current configuration.
18190 # Compiler output produced by configure, useful for debugging
18191 # configure, is in config.log if it exists.
18194 ac_cs_recheck=false
18196 SHELL=\${CONFIG_SHELL-$SHELL}
18199 cat >>$CONFIG_STATUS <<\_ACEOF
18200 ## --------------------- ##
18201 ## M4sh Initialization. ##
18202 ## --------------------- ##
18204 # Be Bourne compatible
18205 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18208 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18209 # is contrary to our usage. Disable this feature.
18210 alias -g '${1+"$@"}'='"$@"'
18211 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
18215 # Support unset when possible.
18216 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
18223 # Work around bugs in pre-3.0 UWIN ksh.
18224 $as_unset ENV MAIL MAILPATH
18231 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
18232 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
18233 LC_TELEPHONE LC_TIME
18235 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
18236 eval $as_var=C
; export $as_var
18242 # Required to use basename.
18243 if expr a
: '\(a\)' >/dev
/null
2>&1; then
18249 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
18250 as_basename
=basename
18256 # Name of the executable.
18257 as_me
=`$as_basename "$0" ||
18258 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18259 X"$0" : 'X\(//\)$' \| \
18260 X"$0" : 'X\(/\)$' \| \
18261 . : '\(.\)' 2>/dev/null ||
18263 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
18264 /^X\/\(\/\/\)$/{ s//\1/; q; }
18265 /^X\/\(\/\).*/{ s//\1/; q; }
18269 # PATH needs CR, and LINENO needs CR and PATH.
18270 # Avoid depending upon Character Ranges.
18271 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18272 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18273 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18274 as_cr_digits
='0123456789'
18275 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18277 # The user is always right.
18278 if test "${PATH_SEPARATOR+set}" != set; then
18279 echo "#! /bin/sh" >conf$$.sh
18280 echo "exit 0" >>conf$$.sh
18282 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
18291 as_lineno_1
=$LINENO
18292 as_lineno_2
=$LINENO
18293 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
18294 test "x$as_lineno_1" != "x$as_lineno_2" &&
18295 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
18296 # Find who we are. Look in the path if we contain no path at all
18299 *[\\/]* ) as_myself
=$0 ;;
18300 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18301 for as_dir
in $PATH
18304 test -z "$as_dir" && as_dir
=.
18305 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
18310 # We did not find ourselves, most probably we were run as `sh COMMAND'
18311 # in which case we are not to be found in the path.
18312 if test "x$as_myself" = x
; then
18315 if test ! -f "$as_myself"; then
18316 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
18317 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
18318 { (exit 1); exit 1; }; }
18320 case $CONFIG_SHELL in
18322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18323 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
18326 test -z "$as_dir" && as_dir
=.
18327 for as_base
in sh bash ksh sh5
; do
18330 if ("$as_dir/$as_base" -c '
18331 as_lineno_1=$LINENO
18332 as_lineno_2=$LINENO
18333 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18334 test "x$as_lineno_1" != "x$as_lineno_2" &&
18335 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
18336 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
18337 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
18338 CONFIG_SHELL
=$as_dir/$as_base
18339 export CONFIG_SHELL
18340 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
18348 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18349 # uniformly replaced by the line number. The first 'sed' inserts a
18350 # line-number line before each line; the second 'sed' does the real
18351 # work. The second script uses 'N' to pair each line-number line
18352 # with the numbered line, and appends trailing '-' during
18353 # substitution so that $LINENO is not a special case at line end.
18354 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18355 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
18356 sed '=' <$as_myself |
18361 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
18364 s,^['$as_cr_digits']*\n,,
18365 ' >$as_me.lineno
&&
18366 chmod +x
$as_me.lineno ||
18367 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
18368 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
18369 { (exit 1); exit 1; }; }
18371 # Don't try to exec as it changes $[0], causing all sort of problems
18372 # (the dirname of $[0] is not the place where we might find the
18373 # original and so on. Autoconf is especially sensible to this).
18375 # Exit status is that of the last command.
18380 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
18381 *c
*,-n*) ECHO_N
= ECHO_C
='
18383 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
18384 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
18387 if expr a
: '\(a\)' >/dev
/null
2>&1; then
18393 rm -f conf$$ conf$$.exe conf$$.
file
18395 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18396 # We could just check for DJGPP; but this test a) works b) is more generic
18397 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
18398 if test -f conf$$.exe
; then
18399 # Don't use ln at all; we don't have any links
18404 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18409 rm -f conf$$ conf$$.exe conf$$.
file
18411 if mkdir
-p .
2>/dev
/null
; then
18417 as_executable_p
="test -f"
18419 # Sed expression to map a string onto a valid CPP name.
18420 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
18422 # Sed expression to map a string onto a valid variable name.
18423 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
18427 # We need space, tab and new line, in precisely that order.
18437 # Open the log real soon, to keep \$[0] and so on meaningful, and to
18438 # report actual input values of CONFIG_FILES etc. instead of their
18439 # values after options handling. Logging --version etc. is OK.
18443 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18444 ## Running $as_me. ##
18449 This file was extended by $as_me, which was
18450 generated by GNU Autoconf 2.57. Invocation command line was
18452 CONFIG_FILES = $CONFIG_FILES
18453 CONFIG_HEADERS = $CONFIG_HEADERS
18454 CONFIG_LINKS = $CONFIG_LINKS
18455 CONFIG_COMMANDS = $CONFIG_COMMANDS
18459 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18463 # Files that config.status was made for.
18464 if test -n "$ac_config_files"; then
18465 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
18468 if test -n "$ac_config_headers"; then
18469 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
18472 if test -n "$ac_config_links"; then
18473 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
18476 if test -n "$ac_config_commands"; then
18477 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
18480 cat >>$CONFIG_STATUS <<\_ACEOF
18483 \`$as_me' instantiates files from templates according to the
18484 current configuration.
18486 Usage: $0 [OPTIONS] [FILE]...
18488 -h, --help print this help, then exit
18489 -V, --version print version number, then exit
18490 -q, --quiet do not print progress messages
18491 -d, --debug don't remove temporary files
18492 --recheck update $as_me by reconfiguring in the same conditions
18493 --file=FILE[:TEMPLATE]
18494 instantiate the configuration file FILE
18495 --header=FILE[:TEMPLATE]
18496 instantiate the configuration header FILE
18498 Configuration files:
18501 Configuration headers:
18504 Configuration commands:
18507 Report bugs to <bug-autoconf@gnu.org>."
18510 cat >>$CONFIG_STATUS <<_ACEOF
18513 configured by $0, generated by GNU Autoconf 2.57,
18514 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
18516 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
18517 Free Software Foundation, Inc.
18518 This config.status script is free software; the Free Software Foundation
18519 gives unlimited permission to copy, distribute and modify it."
18524 cat >>$CONFIG_STATUS <<\_ACEOF
18525 # If no file are specified by the user, then we need to provide default
18526 # value. By we need to know if files were specified by the user.
18532 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
18533 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
18541 *) # This is not an option, so the user has probably given explicit
18544 ac_need_defaults
=false
;;
18548 # Handling of the options.
18550 cat >>$CONFIG_STATUS <<\_ACEOF
18551 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18553 --version |
--vers* |
-V )
18554 echo "$ac_cs_version"; exit 0 ;;
18556 # Conflict between --help and --header
18557 { { echo "$as_me:$LINENO: error: ambiguous option: $1
18558 Try \`$0 --help' for more information." >&5
18559 echo "$as_me: error: ambiguous option: $1
18560 Try \`$0 --help' for more information." >&2;}
18561 { (exit 1); exit 1; }; };;
18562 --help |
--hel |
-h )
18563 echo "$ac_cs_usage"; exit 0 ;;
18564 --debug |
--d* |
-d )
18566 --file |
--fil |
--fi |
--f )
18568 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
18569 ac_need_defaults
=false
;;
18570 --header |
--heade |
--head |
--hea )
18572 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
18573 ac_need_defaults
=false
;;
18574 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18575 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18578 # This is an error.
18579 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
18580 Try \`$0 --help' for more information." >&5
18581 echo "$as_me: error: unrecognized option: $1
18582 Try \`$0 --help' for more information." >&2;}
18583 { (exit 1); exit 1; }; } ;;
18585 *) ac_config_targets
="$ac_config_targets $1" ;;
18591 ac_configure_extra_args
=
18593 if $ac_cs_silent; then
18595 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18599 cat >>$CONFIG_STATUS <<_ACEOF
18600 if \$ac_cs_recheck; then
18601 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18602 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18607 cat >>$CONFIG_STATUS <<_ACEOF
18609 # INIT-COMMANDS section.
18612 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
18618 cat >>$CONFIG_STATUS <<\_ACEOF
18619 for ac_config_target
in $ac_config_targets
18621 case "$ac_config_target" in
18622 # Handling of arguments.
18623 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18624 "lib-src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;;
18625 "oldXMenu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES oldXMenu/Makefile" ;;
18626 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
18627 "lwlib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lwlib/Makefile" ;;
18628 "src/Makefile.c" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
18629 "lisp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lisp/Makefile" ;;
18630 "lispref/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispref/Makefile" ;;
18631 "lispintro/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lispintro/Makefile" ;;
18632 "leim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES leim/Makefile" ;;
18633 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
18634 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h:src/config.in" ;;
18635 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18636 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18637 { (exit 1); exit 1; }; };;
18641 # If the user did not use the arguments to specify the items to instantiate,
18642 # then the envvar interface is used. Set only those that are not.
18643 # We use the long form for the default assignment because of an extremely
18644 # bizarre bug on SunOS 4.1.3.
18645 if $ac_need_defaults; then
18646 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18647 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18648 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18651 # Have a temporary directory for convenience. Make it in the build tree
18652 # simply because there is no reason to put it here, and in addition,
18653 # creating and moving files from /tmp can sometimes cause problems.
18654 # Create a temporary directory, and hook for its removal unless debugging.
18657 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18658 trap '{ (exit 1); exit 1; }' 1 2 13 15
18661 # Create a (secure) tmp directory for tmp files.
18664 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18665 test -n "$tmp" && test -d "$tmp"
18668 tmp
=.
/confstat$$
-$RANDOM
18669 (umask 077 && mkdir
$tmp)
18672 echo "$me: cannot create a temporary directory in ." >&2
18673 { (exit 1); exit 1; }
18678 cat >>$CONFIG_STATUS <<_ACEOF
18681 # CONFIG_FILES section.
18684 # No need to generate the scripts if there are no CONFIG_FILES.
18685 # This happens for instance when ./config.status config.h
18686 if test -n "\$CONFIG_FILES"; then
18687 # Protect against being on the right side of a sed subst in config.status.
18688 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18689 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18690 s,@SHELL@,$SHELL,;t t
18691 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18692 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18693 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18694 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18695 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18696 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18697 s,@exec_prefix@,$exec_prefix,;t t
18698 s,@prefix@,$prefix,;t t
18699 s,@program_transform_name@,$program_transform_name,;t t
18700 s,@bindir@,$bindir,;t t
18701 s,@sbindir@,$sbindir,;t t
18702 s,@libexecdir@,$libexecdir,;t t
18703 s,@datadir@,$datadir,;t t
18704 s,@sysconfdir@,$sysconfdir,;t t
18705 s,@sharedstatedir@,$sharedstatedir,;t t
18706 s,@localstatedir@,$localstatedir,;t t
18707 s,@libdir@,$libdir,;t t
18708 s,@includedir@,$includedir,;t t
18709 s,@oldincludedir@,$oldincludedir,;t t
18710 s,@infodir@,$infodir,;t t
18711 s,@mandir@,$mandir,;t t
18712 s,@build_alias@,$build_alias,;t t
18713 s,@host_alias@,$host_alias,;t t
18714 s,@target_alias@,$target_alias,;t t
18715 s,@DEFS@,$DEFS,;t t
18716 s,@ECHO_C@,$ECHO_C,;t t
18717 s,@ECHO_N@,$ECHO_N,;t t
18718 s,@ECHO_T@,$ECHO_T,;t t
18719 s,@LIBS@,$LIBS,;t t
18720 s,@build@,$build,;t t
18721 s,@build_cpu@,$build_cpu,;t t
18722 s,@build_vendor@,$build_vendor,;t t
18723 s,@build_os@,$build_os,;t t
18724 s,@host@,$host,;t t
18725 s,@host_cpu@,$host_cpu,;t t
18726 s,@host_vendor@,$host_vendor,;t t
18727 s,@host_os@,$host_os,;t t
18729 s,@CFLAGS@,$CFLAGS,;t t
18730 s,@LDFLAGS@,$LDFLAGS,;t t
18731 s,@CPPFLAGS@,$CPPFLAGS,;t t
18732 s,@ac_ct_CC@,$ac_ct_CC,;t t
18733 s,@EXEEXT@,$EXEEXT,;t t
18734 s,@OBJEXT@,$OBJEXT,;t t
18735 s,@LN_S@,$LN_S,;t t
18737 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18738 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18739 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18740 s,@RANLIB@,$RANLIB,;t t
18741 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18742 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
18743 s,@EGREP@,$EGREP,;t t
18744 s,@LIBSOUND@,$LIBSOUND,;t t
18745 s,@SET_MAKE@,$SET_MAKE,;t t
18746 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
18747 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
18748 s,@GTK_LIBS@,$GTK_LIBS,;t t
18749 s,@ALLOCA@,$ALLOCA,;t t
18750 s,@liblockfile@,$liblockfile,;t t
18751 s,@LIBOBJS@,$LIBOBJS,;t t
18752 s,@NEED_SETGID@,$NEED_SETGID,;t t
18753 s,@KMEM_GROUP@,$KMEM_GROUP,;t t
18754 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
18755 s,@version@,$version,;t t
18756 s,@configuration@,$configuration,;t t
18757 s,@canonical@,$canonical,;t t
18758 s,@srcdir@,$srcdir,;t t
18759 s,@lispdir@,$lispdir,;t t
18760 s,@locallisppath@,$locallisppath,;t t
18761 s,@lisppath@,$lisppath,;t t
18762 s,@x_default_search_path@,$x_default_search_path,;t t
18763 s,@etcdir@,$etcdir,;t t
18764 s,@archlibdir@,$archlibdir,;t t
18765 s,@docdir@,$docdir,;t t
18766 s,@bitmapdir@,$bitmapdir,;t t
18767 s,@gamedir@,$gamedir,;t t
18768 s,@gameuser@,$gameuser,;t t
18769 s,@c_switch_system@,$c_switch_system,;t t
18770 s,@c_switch_machine@,$c_switch_machine,;t t
18771 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t
18772 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t
18773 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t
18774 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
18775 s,@machfile@,$machfile,;t t
18776 s,@opsysfile@,$opsysfile,;t t
18777 s,@carbon_appdir@,$carbon_appdir,;t t
18778 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18783 cat >>$CONFIG_STATUS <<\_ACEOF
18784 # Split the substitutions into bite-sized pieces for seds with
18785 # small command number limits, like on Digital OSF/1 and HP-UX.
18786 ac_max_sed_lines
=48
18787 ac_sed_frag
=1 # Number of current file.
18788 ac_beg
=1 # First line for current file.
18789 ac_end
=$ac_max_sed_lines # Line after last line for current file.
18792 while $ac_more_lines; do
18793 if test $ac_beg -gt 1; then
18794 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18796 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18798 if test ! -s $tmp/subs.frag
; then
18799 ac_more_lines
=false
18801 # The purpose of the label and of the branching condition is to
18802 # speed up the sed processing (if there are no `@' at all, there
18803 # is no need to browse any of the substitutions).
18804 # These are the two extra sed commands mentioned above.
18806 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
18807 if test -z "$ac_sed_cmds"; then
18808 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
18810 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18812 ac_sed_frag
=`expr $ac_sed_frag + 1`
18814 ac_end
=`expr $ac_end + $ac_max_sed_lines`
18817 if test -z "$ac_sed_cmds"; then
18820 fi # test -n "$CONFIG_FILES"
18823 cat >>$CONFIG_STATUS <<\_ACEOF
18824 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
18825 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18827 - |
*:- |
*:-:* ) # input from stdin
18829 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18830 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18831 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18832 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18833 * ) ac_file_in
=$ac_file.
in ;;
18836 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18837 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18838 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18839 X"$ac_file" : 'X\(//\)[^/]' \| \
18840 X"$ac_file" : 'X\(//\)$' \| \
18841 X"$ac_file" : 'X\(/\)' \| \
18842 . : '\(.\)' 2>/dev/null ||
18844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18845 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18846 /^X\(\/\/\)$/{ s//\1/; q; }
18847 /^X\(\/\).*/{ s//\1/; q; }
18849 { if $as_mkdir_p; then
18854 while test ! -d "$as_dir"; do
18855 as_dirs
="$as_dir $as_dirs"
18856 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18857 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18858 X"$as_dir" : 'X\(//\)[^/]' \| \
18859 X"$as_dir" : 'X\(//\)$' \| \
18860 X"$as_dir" : 'X\(/\)' \| \
18861 . : '\(.\)' 2>/dev/null ||
18863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18864 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18865 /^X\(\/\/\)$/{ s//\1/; q; }
18866 /^X\(\/\).*/{ s//\1/; q; }
18869 test ! -n "$as_dirs" || mkdir
$as_dirs
18870 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18871 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18872 { (exit 1); exit 1; }; }; }
18876 if test "$ac_dir" != .
; then
18877 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18878 # A "../" for each directory in $ac_dir_suffix.
18879 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18881 ac_dir_suffix
= ac_top_builddir
=
18885 .
) # No --srcdir option. We are building in place.
18887 if test -z "$ac_top_builddir"; then
18890 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18892 [\\/]* | ?
:[\\/]* ) # Absolute path.
18893 ac_srcdir
=$srcdir$ac_dir_suffix;
18894 ac_top_srcdir
=$srcdir ;;
18895 *) # Relative path.
18896 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18897 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18899 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
18901 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
18902 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
18903 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18904 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
18908 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18909 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
18912 if test x
"$ac_file" != x-
; then
18913 { echo "$as_me:$LINENO: creating $ac_file" >&5
18914 echo "$as_me: creating $ac_file" >&6;}
18917 # Let's still pretend it is `configure' which instantiates (i.e., don't
18918 # use $as_me), people would be surprised to read:
18919 # /* config.h. Generated by config.status. */
18920 if test x
"$ac_file" = x-
; then
18923 configure_input
="$ac_file. "
18925 configure_input
=$configure_input"Generated from `echo $ac_file_in |
18926 sed 's,.*/,,'` by configure."
18928 # First look for the input files in the build tree, otherwise in the
18930 ac_file_inputs
=`IFS=:
18931 for f in $ac_file_in; do
18933 -) echo $tmp/stdin ;;
18935 # Absolute (can't be DOS-style, as IFS=:)
18936 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18937 echo "$as_me: error: cannot find input file: $f" >&2;}
18938 { (exit 1); exit 1; }; }
18941 if test -f "$f"; then
18944 elif test -f "$srcdir/$f"; then
18949 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18950 echo "$as_me: error: cannot find input file: $f" >&2;}
18951 { (exit 1); exit 1; }; }
18954 done` ||
{ (exit 1); exit 1; }
18956 cat >>$CONFIG_STATUS <<_ACEOF
18960 cat >>$CONFIG_STATUS <<\_ACEOF
18962 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18963 s
,@configure_input@
,$configure_input,;t t
18964 s
,@srcdir@
,$ac_srcdir,;t t
18965 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
18966 s
,@top_srcdir@
,$ac_top_srcdir,;t t
18967 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
18968 s
,@builddir@
,$ac_builddir,;t t
18969 s
,@abs_builddir@
,$ac_abs_builddir,;t t
18970 s
,@top_builddir@
,$ac_top_builddir,;t t
18971 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
18972 s
,@INSTALL@
,$ac_INSTALL,;t t
18973 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18975 if test x"$ac_file" != x-; then
18976 mv $tmp/out $ac_file
18984 cat >>$CONFIG_STATUS <<\_ACEOF
18987 # CONFIG_HEADER section.
18990 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
18991 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18993 # ac_d sets the value in "#define NAME VALUE" lines.
18994 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18995 ac_dB
='[ ].*$,\1#\2'
18998 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18999 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19000 ac_uB
='$,\1#\2define\3'
19004 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
19005 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19007 - |
*:- |
*:-:* ) # input from stdin
19009 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19010 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19011 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19012 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19013 * ) ac_file_in
=$ac_file.
in ;;
19016 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
19017 echo "$as_me: creating $ac_file" >&6;}
19019 # First look for the input files in the build tree, otherwise in the
19021 ac_file_inputs
=`IFS=:
19022 for f in $ac_file_in; do
19024 -) echo $tmp/stdin ;;
19026 # Absolute (can't be DOS-style, as IFS=:)
19027 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19028 echo "$as_me: error: cannot find input file: $f" >&2;}
19029 { (exit 1); exit 1; }; }
19032 if test -f "$f"; then
19035 elif test -f "$srcdir/$f"; then
19040 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19041 echo "$as_me: error: cannot find input file: $f" >&2;}
19042 { (exit 1); exit 1; }; }
19045 done` ||
{ (exit 1); exit 1; }
19046 # Remove the trailing spaces.
19047 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
19051 # Transform confdefs.h into two sed scripts, `conftest.defines' and
19052 # `conftest.undefs', that substitutes the proper values into
19053 # config.h.in to produce config.h. The first handles `#define'
19054 # templates, and the second `#undef' templates.
19055 # And first: Protect against being on the right side of a sed subst in
19056 # config.status. Protect against being in an unquoted here document
19057 # in config.status.
19058 rm -f conftest.defines conftest.undefs
19059 # Using a here document instead of a string reduces the quoting nightmare.
19060 # Putting comments in sed scripts is not portable.
19062 # `end' is used to avoid that the second main sed command (meant for
19063 # 0-ary CPP macros) applies to n-ary macro definitions.
19064 # See the Autoconf documentation for `clear'.
19065 cat >confdef2sed.
sed <<\_ACEOF
19070 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
19072 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
19075 # If some macros were called several times there might be several times
19076 # the same #defines, which is useless. Nevertheless, we may not want to
19077 # sort them, since we want the *last* AC-DEFINE to be honored.
19078 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
19079 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
19080 rm -f confdef2sed.sed
19082 # This sed command replaces #undef with comments. This is necessary, for
19083 # example, in the case of _POSIX_SOURCE, which is predefined and required
19084 # on some systems where configure will not decide to define it.
19085 cat >>conftest.undefs <<\_ACEOF
19086 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
19089 # Break up conftest.defines because some shells have a limit on the size
19090 # of here documents, and old seds have small limits too (100 cmds).
19091 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
19092 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
19093 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
19094 echo ' :' >>$CONFIG_STATUS
19095 rm -f conftest.tail
19096 while grep . conftest.defines >/dev/null
19098 # Write a limited-size here document to $tmp/defines.sed.
19099 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
19100 # Speed up: don't consider the non `#define' lines.
19101 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
19102 # Work around the forget-to-reset-the-flag bug.
19103 echo 't clr' >>$CONFIG_STATUS
19104 echo ': clr' >>$CONFIG_STATUS
19105 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
19107 sed -f $tmp/defines.sed $tmp/in >$tmp/out
19109 mv $tmp/out $tmp/in
19111 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
19112 rm -f conftest.defines
19113 mv conftest.
tail conftest.defines
19115 rm -f conftest.defines
19116 echo ' fi # grep' >>$CONFIG_STATUS
19117 echo >>$CONFIG_STATUS
19119 # Break up conftest.undefs because some shells have a limit on the size
19120 # of here documents, and old seds have small limits too (100 cmds).
19121 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
19122 rm -f conftest.
tail
19123 while grep . conftest.undefs
>/dev
/null
19125 # Write a limited-size here document to $tmp/undefs.sed.
19126 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
19127 # Speed up: don't consider the non
`#undef'
19128 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
19129 # Work around the forget-to-reset-the-flag bug.
19130 echo 't clr' >>$CONFIG_STATUS
19131 echo ': clr' >>$CONFIG_STATUS
19132 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
19134 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
19136 mv $tmp/out $tmp/in
19138 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
19139 rm -f conftest.undefs
19140 mv conftest.tail conftest.undefs
19142 rm -f conftest.undefs
19144 cat >>$CONFIG_STATUS <<\_ACEOF
19145 # Let's still pretend it is `configure
' which instantiates (i.e., don't
19146 # use $as_me), people would be surprised to read:
19147 # /* config.h. Generated by config.status. */
19148 if test x
"$ac_file" = x-
; then
19149 echo "/* Generated by configure. */" >$tmp/config.h
19151 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
19153 cat $tmp/in >>$tmp/config.h
19155 if test x
"$ac_file" != x-
; then
19156 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
19157 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19158 echo "$as_me: $ac_file is unchanged" >&6;}
19160 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
19161 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19162 X"$ac_file" : 'X\(//\)[^/]' \| \
19163 X"$ac_file" : 'X\(//\)$' \| \
19164 X"$ac_file" : 'X\(/\)' \| \
19165 . : '\(.\)' 2>/dev/null ||
19167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19168 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19169 /^X\(\/\/\)$/{ s//\1/; q; }
19170 /^X\(\/\).*/{ s//\1/; q; }
19172 { if $as_mkdir_p; then
19177 while test ! -d "$as_dir"; do
19178 as_dirs
="$as_dir $as_dirs"
19179 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19180 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19181 X"$as_dir" : 'X\(//\)[^/]' \| \
19182 X"$as_dir" : 'X\(//\)$' \| \
19183 X"$as_dir" : 'X\(/\)' \| \
19184 . : '\(.\)' 2>/dev/null ||
19186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19187 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19188 /^X\(\/\/\)$/{ s//\1/; q; }
19189 /^X\(\/\).*/{ s//\1/; q; }
19192 test ! -n "$as_dirs" || mkdir
$as_dirs
19193 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19194 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19195 { (exit 1); exit 1; }; }; }
19198 mv $tmp/config.h
$ac_file
19202 rm -f $tmp/config.h
19206 cat >>$CONFIG_STATUS <<\_ACEOF
19209 # CONFIG_COMMANDS section.
19211 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
19212 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
19213 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19214 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
19215 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19216 X"$ac_dest" : 'X\(//\)[^/]' \| \
19217 X"$ac_dest" : 'X\(//\)$' \| \
19218 X"$ac_dest" : 'X\(/\)' \| \
19219 . : '\(.\)' 2>/dev/null ||
19221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19222 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19223 /^X\(\/\/\)$/{ s//\1/; q; }
19224 /^X\(\/\).*/{ s//\1/; q; }
19228 if test "$ac_dir" != .
; then
19229 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19230 # A "../" for each directory in $ac_dir_suffix.
19231 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19233 ac_dir_suffix
= ac_top_builddir
=
19237 .
) # No --srcdir option. We are building in place.
19239 if test -z "$ac_top_builddir"; then
19242 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19244 [\\/]* | ?
:[\\/]* ) # Absolute path.
19245 ac_srcdir
=$srcdir$ac_dir_suffix;
19246 ac_top_srcdir
=$srcdir ;;
19247 *) # Relative path.
19248 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19249 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19251 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
19253 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
19254 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
19255 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
19256 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
19259 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
19260 echo "$as_me: executing $ac_dest commands" >&6;}
19264 ### Make the necessary directories, if they don't exist.
19265 for dir
in etc lisp
; do
19266 test -d ${dir} || mkdir
${dir}
19269 # Build src/Makefile from ${srcdir}/src/Makefile.c
19270 # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
19271 # This must be done after src/config.h is built, since we rely on that file.
19273 # Now get this: Some word that is part of the ${srcdir} directory name
19274 # or the ${configuration} value might, just might, happen to be an
19275 # identifier like `sun4' or `i386' or something, and be predefined by
19276 # the C preprocessor to some helpful value like 1, or maybe the empty
19277 # string. Needless to say consequent macro substitutions are less
19278 # than conducive to the makefile finding the correct directory.
19279 undefs
="`echo $top_srcdir $configuration $canonical |
19280 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
19281 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
19284 echo creating src
/epaths.h
19285 ${MAKE-make} epaths-force
19287 # As of 2000-11-19, newest development versions of GNU cpp preprocess
19288 # `..' to `. .' unless invoked with -traditional
19290 if test "x$GCC" = xyes
&& test "x$CPP_NEED_TRADITIONAL" = xyes
; then
19291 CPPFLAGS
="$CPPFLAGS -traditional"
19294 echo creating lib-src
/Makefile
19296 rm -f junk.c junk1.c junk2.c
19297 sed -e '/start of cpp stuff/q' \
19298 < Makefile.c
> junk1.c
19299 sed -e '1,/start of cpp stuff/d'\
19300 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
19301 < Makefile.c
> junk.c
19302 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
19303 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
19304 cat junk1.c junk2.c
> Makefile.new
19305 rm -f junk.c junk1.c junk2.c
19306 chmod 444 Makefile.new
19307 mv -f Makefile.new Makefile
19310 echo creating src
/Makefile
19312 rm -f junk.c junk1.c junk2.c
19313 sed -e '/start of cpp stuff/q' \
19314 < Makefile.c
> junk1.c
19315 sed -e '1,/start of cpp stuff/d'\
19316 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
19317 < Makefile.c
> junk.c
19318 $CPP $undefs -I.
-I$srcdir/src
$CPPFLAGS junk.c | \
19319 sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
19320 cat junk1.c junk2.c
> Makefile.new
19321 rm -f junk.c junk1.c junk2.c
19322 chmod 444 Makefile.new
19323 mv -f Makefile.new Makefile
19326 if test ! -f src
/.gdbinit
&& test -f $srcdir/src
/.gdbinit
; then
19327 echo creating src
/.gdbinit
19328 echo source $srcdir/src
/.gdbinit
> src
/.gdbinit
19331 # This is how we know whether to re-run configure in certain cases.
19332 touch src
/config.stamp
19339 cat >>$CONFIG_STATUS <<\_ACEOF
19341 { (exit 0); exit 0; }
19343 chmod +x
$CONFIG_STATUS
19344 ac_clean_files
=$ac_clean_files_save
19347 # configure is writing to config.log, and then calls config.status.
19348 # config.status does its own redirection, appending to config.log.
19349 # Unfortunately, on DOS this fails, as config.log is still kept open
19350 # by configure, so config.status won't be able to write to it; its
19351 # output is simply discarded. So we exec the FD to /dev/null,
19352 # effectively closing config.log, so it can be properly (re)opened and
19353 # appended to by config.status. When coming back to configure, we
19354 # need to make the FD available again.
19355 if test "$no_create" != yes; then
19357 ac_config_status_args
=
19358 test "$silent" = yes &&
19359 ac_config_status_args
="$ac_config_status_args --quiet"
19361 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19363 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19364 # would make configure fail if this is the last instruction.
19365 $ac_cs_success ||
{ (exit 1); exit 1; }