2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="main.c"
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_subdirs_all
="$ac_subdirs_all doc testsuite"
313 ac_subdirs_all
="$ac_subdirs_all gdbtk"
314 ac_subdirs_all
="$ac_subdirs_all multi-ice"
315 ac_subdirs_all
="$ac_subdirs_all gdbserver"
316 ac_subdirs_all
="$ac_subdirs_all rdi-share"
317 ac_subdirs_all
="$ac_subdirs_all nlm"
318 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SET_MAKE RANLIB ac_ct_RANLIB ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l localedir PACKAGE subdirs AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S YACC AR ac_ct_AR DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES MIG ac_ct_MIG CONFIG_LDFLAGS TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS WERROR_CFLAGS SER_HARDWIRE WIN32LIBS LIBGUI GUI_CFLAGS_X WIN32LDAPP TCL_VERSION TCL_MAJOR_VERSION TCL_MINOR_VERSION TCL_CC TCL_DEFS TCL_SHLIB_CFLAGS TCL_SHLIB_LD TCL_SHLIB_LD_LIBS TCL_SHLIB_SUFFIX TCL_DL_LIBS TCL_LD_FLAGS TCL_LD_SEARCH_FLAGS TCL_CC_SEARCH_FLAGS TCL_COMPAT_OBJS TCL_RANLIB TCL_BUILD_LIB_SPEC TCL_LIB_SPEC TCL_LIB_VERSIONS_OK TK_VERSION TK_DEFS TK_BUILD_INCLUDES TK_XINCLUDES TK_XLIBSW TK_BUILD_LIB_SPEC TK_LIB_SPEC TCLHDIR TKHDIR ITCLHDIR ITKHDIR ITCL_VERSION ITCL_DEFS ITCL_BUILD_INCLUDES ITCL_BUILD_LIB_SPEC ITCL_LIB_SPEC ITK_VERSION ITK_DEFS ITK_BUILD_INCLUDES ITK_BUILD_LIB_SPEC ITK_LIB_SPEC X_CFLAGS X_LDFLAGS X_LIBS TCL_DEPS TK_DEPS ITCLLIB ITCL_DEPS ITKLIB ITK_DEPS GDBTKLIBS GDBTK_CFLAGS GDBTK_SRC_DIR IGNORE_SIM IGNORE_SIM_OBS ENABLE_CFLAGS PROFILE_CFLAGS CONFIG_OBS CONFIG_DEPS CONFIG_SRCS CONFIG_ALL CONFIG_CLEAN CONFIG_INSTALL CONFIG_UNINSTALL target_subdir frags xm_h tm_h nm_h LIBICONV LIBOBJS LTLIBOBJS'
319 ac_subst_files
='host_makefile_frag target_makefile_frag'
321 # Initialize some variables set by options.
323 ac_init_version
=false
324 # The variables have the same names as the options, with
325 # dashes changed to underlines.
333 program_transform_name
=s
,x
,x
,
341 # Installation directory options.
342 # These are left unexpanded so users can "make install exec_prefix=/foo"
343 # and all the variables that are supposed to be based on exec_prefix
344 # by default will actually change.
345 # Use braces instead of parens because sh, perl, etc. also accept them.
346 bindir
='${exec_prefix}/bin'
347 sbindir
='${exec_prefix}/sbin'
348 libexecdir
='${exec_prefix}/libexec'
349 datadir
='${prefix}/share'
350 sysconfdir
='${prefix}/etc'
351 sharedstatedir
='${prefix}/com'
352 localstatedir
='${prefix}/var'
353 libdir
='${exec_prefix}/lib'
354 includedir
='${prefix}/include'
355 oldincludedir
='/usr/include'
356 infodir
='${prefix}/info'
357 mandir
='${prefix}/man'
362 # If the previous option needs an argument, assign it.
363 if test -n "$ac_prev"; then
364 eval "$ac_prev=\$ac_option"
369 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
371 # Accept the important Cygnus configure options, so we can diagnose typos.
375 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
377 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
380 -build |
--build |
--buil |
--bui |
--bu)
381 ac_prev
=build_alias
;;
382 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
383 build_alias
=$ac_optarg ;;
385 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
386 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
387 ac_prev
=cache_file
;;
388 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
389 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
390 cache_file
=$ac_optarg ;;
393 cache_file
=config.cache
;;
395 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
397 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
399 datadir
=$ac_optarg ;;
401 -disable-* |
--disable-*)
402 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
403 # Reject names that are not valid shell variable names.
404 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
405 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
406 { (exit 1); exit 1; }; }
407 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
408 eval "enable_$ac_feature=no" ;;
410 -enable-* |
--enable-*)
411 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
412 # Reject names that are not valid shell variable names.
413 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
414 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
415 { (exit 1); exit 1; }; }
416 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
418 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
421 eval "enable_$ac_feature='$ac_optarg'" ;;
423 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
424 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
425 |
--exec |
--exe |
--ex)
426 ac_prev
=exec_prefix
;;
427 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
428 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
429 |
--exec=* |
--exe=* |
--ex=*)
430 exec_prefix
=$ac_optarg ;;
432 -gas |
--gas |
--ga |
--g)
433 # Obsolete; use --with-gas.
436 -help |
--help |
--hel |
--he |
-h)
438 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
439 ac_init_help
=recursive
;;
440 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
441 ac_init_help
=short
;;
443 -host |
--host |
--hos |
--ho)
444 ac_prev
=host_alias
;;
445 -host=* |
--host=* |
--hos=* |
--ho=*)
446 host_alias
=$ac_optarg ;;
448 -includedir |
--includedir |
--includedi |
--included |
--include \
449 |
--includ |
--inclu |
--incl |
--inc)
450 ac_prev
=includedir
;;
451 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
452 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
453 includedir
=$ac_optarg ;;
455 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
457 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
458 infodir
=$ac_optarg ;;
460 -libdir |
--libdir |
--libdi |
--libd)
462 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
465 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
466 |
--libexe |
--libex |
--libe)
467 ac_prev
=libexecdir
;;
468 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
469 |
--libexe=* |
--libex=* |
--libe=*)
470 libexecdir
=$ac_optarg ;;
472 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
473 |
--localstate |
--localstat |
--localsta |
--localst \
474 |
--locals |
--local |
--loca |
--loc |
--lo)
475 ac_prev
=localstatedir
;;
476 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
477 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
478 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
479 localstatedir
=$ac_optarg ;;
481 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
483 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
487 # Obsolete; use --without-fp.
490 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
491 |
--no-cr |
--no-c |
-n)
494 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
495 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
498 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
499 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
500 |
--oldin |
--oldi |
--old |
--ol |
--o)
501 ac_prev
=oldincludedir
;;
502 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
503 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
504 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
505 oldincludedir
=$ac_optarg ;;
507 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
509 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
512 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
513 |
--program-pre |
--program-pr |
--program-p)
514 ac_prev
=program_prefix
;;
515 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
516 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
517 program_prefix
=$ac_optarg ;;
519 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
520 |
--program-suf |
--program-su |
--program-s)
521 ac_prev
=program_suffix
;;
522 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
523 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
524 program_suffix
=$ac_optarg ;;
526 -program-transform-name |
--program-transform-name \
527 |
--program-transform-nam |
--program-transform-na \
528 |
--program-transform-n |
--program-transform- \
529 |
--program-transform |
--program-transfor \
530 |
--program-transfo |
--program-transf \
531 |
--program-trans |
--program-tran \
532 |
--progr-tra |
--program-tr |
--program-t)
533 ac_prev
=program_transform_name
;;
534 -program-transform-name=* |
--program-transform-name=* \
535 |
--program-transform-nam=* |
--program-transform-na=* \
536 |
--program-transform-n=* |
--program-transform-=* \
537 |
--program-transform=* |
--program-transfor=* \
538 |
--program-transfo=* |
--program-transf=* \
539 |
--program-trans=* |
--program-tran=* \
540 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
541 program_transform_name
=$ac_optarg ;;
543 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
544 |
-silent |
--silent |
--silen |
--sile |
--sil)
547 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
549 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
551 sbindir
=$ac_optarg ;;
553 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
554 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
555 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
557 ac_prev
=sharedstatedir
;;
558 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
559 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
560 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
562 sharedstatedir
=$ac_optarg ;;
564 -site |
--site |
--sit)
566 -site=* |
--site=* |
--sit=*)
569 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
571 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
574 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
575 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
576 ac_prev
=sysconfdir
;;
577 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
578 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
579 sysconfdir
=$ac_optarg ;;
581 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
582 ac_prev
=target_alias
;;
583 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
584 target_alias
=$ac_optarg ;;
586 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
589 -version |
--version |
--versio |
--versi |
--vers |
-V)
593 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
594 # Reject names that are not valid shell variable names.
595 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
596 { echo "$as_me: error: invalid package name: $ac_package" >&2
597 { (exit 1); exit 1; }; }
598 ac_package
=`echo $ac_package| sed 's/-/_/g'`
600 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
603 eval "with_$ac_package='$ac_optarg'" ;;
605 -without-* |
--without-*)
606 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
607 # Reject names that are not valid shell variable names.
608 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
609 { echo "$as_me: error: invalid package name: $ac_package" >&2
610 { (exit 1); exit 1; }; }
611 ac_package
=`echo $ac_package | sed 's/-/_/g'`
612 eval "with_$ac_package=no" ;;
615 # Obsolete; use --with-x.
618 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
619 |
--x-incl |
--x-inc |
--x-in |
--x-i)
620 ac_prev
=x_includes
;;
621 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
622 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
623 x_includes
=$ac_optarg ;;
625 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
626 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
627 ac_prev
=x_libraries
;;
628 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
629 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
630 x_libraries
=$ac_optarg ;;
632 -*) { echo "$as_me: error: unrecognized option: $ac_option
633 Try \`$0 --help' for more information." >&2
634 { (exit 1); exit 1; }; }
638 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
639 # Reject names that are not valid shell variable names.
640 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
641 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
642 { (exit 1); exit 1; }; }
643 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
644 eval "$ac_envvar='$ac_optarg'"
648 # FIXME: should be removed in autoconf 3.0.
649 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
650 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
651 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
652 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
658 if test -n "$ac_prev"; then
659 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
660 { echo "$as_me: error: missing argument to $ac_option" >&2
661 { (exit 1); exit 1; }; }
664 # Be sure to have absolute paths.
665 for ac_var
in exec_prefix prefix
667 eval ac_val
=$
`echo $ac_var`
669 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
670 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
671 { (exit 1); exit 1; }; };;
675 # Be sure to have absolute paths.
676 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
677 localstatedir libdir includedir oldincludedir infodir mandir
679 eval ac_val
=$
`echo $ac_var`
681 [\\/$
]* | ?
:[\\/]* ) ;;
682 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
683 { (exit 1); exit 1; }; };;
687 # There might be people who depend on the old broken behavior: `$host'
688 # used to hold the argument of --host etc.
689 # FIXME: To remove some day.
694 # FIXME: To remove some day.
695 if test "x$host_alias" != x
; then
696 if test "x$build_alias" = x
; then
697 cross_compiling
=maybe
698 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
699 If a cross compiler is detected then cross compile mode will be used." >&2
700 elif test "x$build_alias" != "x$host_alias"; then
706 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
708 test "$silent" = yes && exec 6>/dev
/null
711 # Find the source files, if location was not specified.
712 if test -z "$srcdir"; then
713 ac_srcdir_defaulted
=yes
714 # Try the directory containing this script, then its parent.
715 ac_confdir
=`(dirname "$0") 2>/dev/null ||
716 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
717 X"$0" : 'X\(//\)[^/]' \| \
718 X"$0" : 'X\(//\)$' \| \
719 X"$0" : 'X\(/\)' \| \
720 . : '\(.\)' 2>/dev/null ||
722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
724 /^X\(\/\/\)$/{ s//\1/; q; }
725 /^X\(\/\).*/{ s//\1/; q; }
728 if test ! -r $srcdir/$ac_unique_file; then
732 ac_srcdir_defaulted
=no
734 if test ! -r $srcdir/$ac_unique_file; then
735 if test "$ac_srcdir_defaulted" = yes; then
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
737 { (exit 1); exit 1; }; }
739 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
740 { (exit 1); exit 1; }; }
743 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
744 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
745 { (exit 1); exit 1; }; }
746 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
747 ac_env_build_alias_set
=${build_alias+set}
748 ac_env_build_alias_value
=$build_alias
749 ac_cv_env_build_alias_set
=${build_alias+set}
750 ac_cv_env_build_alias_value
=$build_alias
751 ac_env_host_alias_set
=${host_alias+set}
752 ac_env_host_alias_value
=$host_alias
753 ac_cv_env_host_alias_set
=${host_alias+set}
754 ac_cv_env_host_alias_value
=$host_alias
755 ac_env_target_alias_set
=${target_alias+set}
756 ac_env_target_alias_value
=$target_alias
757 ac_cv_env_target_alias_set
=${target_alias+set}
758 ac_cv_env_target_alias_value
=$target_alias
759 ac_env_CC_set
=${CC+set}
761 ac_cv_env_CC_set
=${CC+set}
762 ac_cv_env_CC_value
=$CC
763 ac_env_CFLAGS_set
=${CFLAGS+set}
764 ac_env_CFLAGS_value
=$CFLAGS
765 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
766 ac_cv_env_CFLAGS_value
=$CFLAGS
767 ac_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_env_LDFLAGS_value
=$LDFLAGS
769 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
770 ac_cv_env_LDFLAGS_value
=$LDFLAGS
771 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
774 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
775 ac_env_CPP_set
=${CPP+set}
776 ac_env_CPP_value
=$CPP
777 ac_cv_env_CPP_set
=${CPP+set}
778 ac_cv_env_CPP_value
=$CPP
781 # Report the --help message.
783 if test "$ac_init_help" = "long"; then
784 # Omit some internal or obsolete options to make the list less imposing.
785 # This message is too long to be a string in the A/UX 3.1 sh.
787 \`configure' configures this package to adapt to many kinds of systems.
789 Usage: $0 [OPTION]... [VAR=VALUE]...
791 To assign environment variables (e.g., CC, CFLAGS...), specify them as
792 VAR=VALUE. See below for descriptions of some of the useful variables.
794 Defaults for the options are specified in brackets.
797 -h, --help display this help and exit
798 --help=short display options specific to this package
799 --help=recursive display the short help of all the included packages
800 -V, --version display version information and exit
801 -q, --quiet, --silent do not print \`checking...' messages
802 --cache-file=FILE cache test results in FILE [disabled]
803 -C, --config-cache alias for \`--cache-file=config.cache'
804 -n, --no-create do not create output files
805 --srcdir=DIR find the sources in DIR [configure dir or \`..']
810 Installation directories:
811 --prefix=PREFIX install architecture-independent files in PREFIX
813 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
816 By default, \`make install' will install all the files in
817 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
818 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
819 for instance \`--prefix=\$HOME'.
821 For better control, use the options below.
823 Fine tuning of the installation directories:
824 --bindir=DIR user executables [EPREFIX/bin]
825 --sbindir=DIR system admin executables [EPREFIX/sbin]
826 --libexecdir=DIR program executables [EPREFIX/libexec]
827 --datadir=DIR read-only architecture-independent data [PREFIX/share]
828 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
829 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
830 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
831 --libdir=DIR object code libraries [EPREFIX/lib]
832 --includedir=DIR C header files [PREFIX/include]
833 --oldincludedir=DIR C header files for non-gcc [/usr/include]
834 --infodir=DIR info documentation [PREFIX/info]
835 --mandir=DIR man documentation [PREFIX/man]
841 --program-prefix=PREFIX prepend PREFIX to installed program names
842 --program-suffix=SUFFIX append SUFFIX to installed program names
843 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
846 --x-includes=DIR X include files are
in DIR
847 --x-libraries=DIR X library files are
in DIR
850 --build=BUILD configure
for building on BUILD
[guessed
]
851 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
852 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
856 if test -n "$ac_init_help"; then
861 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
862 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
863 --enable-maintainer-mode enable make rules and dependencies not useful
864 (and sometimes confusing
) to the casual installer
865 --disable-nls do not use Native Language Support
866 --disable-gdbcli disable command-line interface
(CLI
)
867 --disable-gdbmi disable machine-interface
(MI
)
868 --enable-tui enable full-screen terminal user interface
(TUI
)
869 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
870 --enable-profiling enable profiling of GDB
871 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
872 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
873 --enable-sim Link gdb with simulator
874 --enable-multi-ice build the multi-ice-gdb-server
877 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
878 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
879 --with-included-gettext use the GNU
gettext library included here
880 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
881 --with-libunwind Use libunwind frame unwinding support
882 --without-included-regex don
't use included regex; this is the default
883 on systems with version 2 of the GNU C library
884 (use with caution on other system)
885 --with-sysroot=DIR Search for usr/lib et al within DIR.
886 --with-tclconfig=DIR Directory containing tcl configuration (tclConfig.sh)
887 --with-tkconfig=DIR Directory containing tk configuration (tkConfig.sh)
888 --with-tclinclude=DIR Directory where tcl private headers are
889 --with-tkinclude=DIR Directory where tk private headers are
890 --with-itclconfig Directory containing itcl configuration (itclConfig.sh)
891 --with-itkconfig Directory containing itk configuration (itkConfig.sh)
892 --with-x use the X Window System
893 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
895 Some influential environment variables:
896 CC C compiler command
897 CFLAGS C compiler flags
898 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
899 nonstandard directory <lib dir>
900 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
901 headers in a nonstandard directory <include dir>
904 Use these variables to override the choices made by `configure' or to
help
905 it to
find libraries and programs with nonstandard names
/locations.
910 if test "$ac_init_help" = "recursive"; then
911 # If there are subdirs, report their specific --help.
913 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
914 test -d $ac_dir ||
continue
917 if test "$ac_dir" != .
; then
918 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
919 # A "../" for each directory in $ac_dir_suffix.
920 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
922 ac_dir_suffix
= ac_top_builddir
=
926 .
) # No --srcdir option. We are building in place.
928 if test -z "$ac_top_builddir"; then
931 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
933 [\\/]* | ?
:[\\/]* ) # Absolute path.
934 ac_srcdir
=$srcdir$ac_dir_suffix;
935 ac_top_srcdir
=$srcdir ;;
937 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
938 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
941 # Do not use `cd foo && pwd` to compute absolute paths, because
942 # the directories may not exist.
944 .
) ac_abs_builddir
="$ac_dir";;
947 .
) ac_abs_builddir
=`pwd`;;
948 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
949 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
952 case $ac_abs_builddir in
953 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
955 case ${ac_top_builddir}.
in
956 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
957 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
958 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
961 case $ac_abs_builddir in
962 .
) ac_abs_srcdir
=$ac_srcdir;;
965 .
) ac_abs_srcdir
=$ac_abs_builddir;;
966 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
967 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
970 case $ac_abs_builddir in
971 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
973 case $ac_top_srcdir in
974 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
975 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
976 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
981 # Check for guested configure; otherwise get Cygnus style configure.
982 if test -f $ac_srcdir/configure.gnu
; then
984 $SHELL $ac_srcdir/configure.gnu
--help=recursive
985 elif test -f $ac_srcdir/configure
; then
987 $SHELL $ac_srcdir/configure
--help=recursive
988 elif test -f $ac_srcdir/configure.ac ||
989 test -f $ac_srcdir/configure.
in; then
993 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
999 test -n "$ac_init_help" && exit 0
1000 if $ac_init_version; then
1003 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1004 This configure
script is free software
; the Free Software Foundation
1005 gives unlimited permission to copy
, distribute and modify it.
1011 This file contains any messages produced by compilers while
1012 running configure, to aid debugging if configure makes a mistake.
1014 It was created by $as_me, which was
1015 generated by GNU Autoconf 2.59. Invocation command line was
1026 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1027 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1028 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1029 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1030 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1032 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1033 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1035 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1036 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1037 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1038 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1039 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1040 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1041 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1049 test -z "$as_dir" && as_dir
=.
1050 echo "PATH: $as_dir"
1065 # Keep a trace of the command line.
1066 # Strip out --no-create and --no-recursion so they do not pile up.
1067 # Strip out --silent because we don't want to record it for future runs.
1068 # Also quote any args containing shell meta-characters.
1069 # Make two passes to allow for proper duplicate-argument suppression.
1074 ac_must_keep_next
=false
1080 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1081 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1082 |
-silent |
--silent |
--silen |
--sile |
--sil)
1084 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1085 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1088 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1090 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1091 if test $ac_must_keep_next = true
; then
1092 ac_must_keep_next
=false
# Got value, back to normal.
1095 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1096 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1097 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1098 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1099 case "$ac_configure_args0 " in
1100 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1103 -* ) ac_must_keep_next
=true
;;
1106 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1107 # Get rid of the leading space.
1113 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1114 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1116 # When interrupted or exit'd, cleanup temporary files, and complete
1117 # config.log. We remove comments because anyway the quotes in there
1118 # would cause problems or look ugly.
1119 # WARNING: Be sure not to use single quotes in there, as some shells,
1120 # such as our DU 5.0 friend, will then `close' the trap.
1121 trap 'exit_status=$?
1122 # Save into config.log some information that might help in debugging.
1127 ## ---------------- ##
1128 ## Cache variables. ##
1129 ## ---------------- ##
1132 # The following way of writing the cache mishandles newlines in values,
1135 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1138 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1139 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1143 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1150 ## ----------------- ##
1151 ## Output variables. ##
1152 ## ----------------- ##
1155 for ac_var in $ac_subst_vars
1157 eval ac_val=$`echo $ac_var`
1158 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -n "$ac_subst_files"; then
1169 for ac_var in $ac_subst_files
1171 eval ac_val=$`echo $ac_var`
1172 echo "$ac_var='"'"'$ac_val'"'"'"
1177 if test -s confdefs.h; then
1184 sed "/^$/d" confdefs.h | sort
1187 test "$ac_signal" != 0 &&
1188 echo "$as_me: caught signal $ac_signal"
1189 echo "$as_me: exit $exit_status"
1191 rm -f core *.core &&
1192 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1195 for ac_signal
in 1 2 13 15; do
1196 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1200 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1201 rm -rf conftest
* confdefs.h
1202 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1205 # Predefined preprocessor variables.
1207 cat >>confdefs.h
<<_ACEOF
1208 #define PACKAGE_NAME "$PACKAGE_NAME"
1212 cat >>confdefs.h
<<_ACEOF
1213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1217 cat >>confdefs.h
<<_ACEOF
1218 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1222 cat >>confdefs.h
<<_ACEOF
1223 #define PACKAGE_STRING "$PACKAGE_STRING"
1227 cat >>confdefs.h
<<_ACEOF
1228 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1232 # Let the site file select an alternate cache file if it wants to.
1233 # Prefer explicitly selected file to automatically selected ones.
1234 if test -z "$CONFIG_SITE"; then
1235 if test "x$prefix" != xNONE
; then
1236 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1238 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1241 for ac_site_file
in $CONFIG_SITE; do
1242 if test -r "$ac_site_file"; then
1243 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1244 echo "$as_me: loading site script $ac_site_file" >&6;}
1245 sed 's/^/| /' "$ac_site_file" >&5
1250 if test -r "$cache_file"; then
1251 # Some versions of bash will fail to source /dev/null (special
1252 # files actually), so we avoid doing that.
1253 if test -f "$cache_file"; then
1254 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1255 echo "$as_me: loading cache $cache_file" >&6;}
1257 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1258 *) . .
/$cache_file;;
1262 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1263 echo "$as_me: creating cache $cache_file" >&6;}
1267 # Check that the precious variables saved in the cache have kept the same
1269 ac_cache_corrupted
=false
1270 for ac_var
in `(set) 2>&1 |
1271 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1272 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1273 eval ac_new_set
=\
$ac_env_${ac_var}_set
1274 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1275 eval ac_new_val
="\$ac_env_${ac_var}_value"
1276 case $ac_old_set,$ac_new_set in
1278 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1279 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1280 ac_cache_corrupted
=: ;;
1282 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1283 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1284 ac_cache_corrupted
=: ;;
1287 if test "x$ac_old_val" != "x$ac_new_val"; then
1288 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1289 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1290 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1291 echo "$as_me: former value: $ac_old_val" >&2;}
1292 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1293 echo "$as_me: current value: $ac_new_val" >&2;}
1294 ac_cache_corrupted
=:
1297 # Pass precious variables to config.status.
1298 if test "$ac_new_set" = set; then
1300 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1301 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1302 *) ac_arg
=$ac_var=$ac_new_val ;;
1304 case " $ac_configure_args " in
1305 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1306 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1310 if $ac_cache_corrupted; then
1311 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1312 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1313 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1314 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1315 { (exit 1); exit 1; }; }
1319 ac_cpp
='$CPP $CPPFLAGS'
1320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1342 ac_config_headers
="$ac_config_headers config.h:config.in"
1344 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1345 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1346 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1347 if test "${enable_maintainer_mode+set}" = set; then
1348 enableval
="$enable_maintainer_mode"
1349 USE_MAINTAINER_MODE
=$enableval
1351 USE_MAINTAINER_MODE
=no
1353 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1354 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1357 if test $USE_MAINTAINER_MODE = yes; then
1358 MAINTAINER_MODE_TRUE
=
1359 MAINTAINER_MODE_FALSE
='#'
1361 MAINTAINER_MODE_TRUE
='#'
1362 MAINTAINER_MODE_FALSE
=
1365 MAINT
=$MAINTAINER_MODE_TRUE
1370 ac_cpp
='$CPP $CPPFLAGS'
1371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1374 if test -n "$ac_tool_prefix"; then
1375 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1376 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1377 echo "$as_me:$LINENO: checking for $ac_word" >&5
1378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1379 if test "${ac_cv_prog_CC+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 if test -n "$CC"; then
1383 ac_cv_prog_CC
="$CC" # Let the user override the test.
1385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir
=.
1390 for ac_exec_ext
in '' $ac_executable_extensions; do
1391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1392 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1402 if test -n "$CC"; then
1403 echo "$as_me:$LINENO: result: $CC" >&5
1404 echo "${ECHO_T}$CC" >&6
1406 echo "$as_me:$LINENO: result: no" >&5
1407 echo "${ECHO_T}no" >&6
1411 if test -z "$ac_cv_prog_CC"; then
1413 # Extract the first word of "gcc", so it can be a program name with args.
1414 set dummy gcc
; ac_word
=$2
1415 echo "$as_me:$LINENO: checking for $ac_word" >&5
1416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1417 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1418 echo $ECHO_N "(cached) $ECHO_C" >&6
1420 if test -n "$ac_ct_CC"; then
1421 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1427 test -z "$as_dir" && as_dir
=.
1428 for ac_exec_ext
in '' $ac_executable_extensions; do
1429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1430 ac_cv_prog_ac_ct_CC
="gcc"
1431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1439 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1440 if test -n "$ac_ct_CC"; then
1441 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1442 echo "${ECHO_T}$ac_ct_CC" >&6
1444 echo "$as_me:$LINENO: result: no" >&5
1445 echo "${ECHO_T}no" >&6
1453 if test -z "$CC"; then
1454 if test -n "$ac_tool_prefix"; then
1455 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1456 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1457 echo "$as_me:$LINENO: checking for $ac_word" >&5
1458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1459 if test "${ac_cv_prog_CC+set}" = set; then
1460 echo $ECHO_N "(cached) $ECHO_C" >&6
1462 if test -n "$CC"; then
1463 ac_cv_prog_CC
="$CC" # Let the user override the test.
1465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1469 test -z "$as_dir" && as_dir
=.
1470 for ac_exec_ext
in '' $ac_executable_extensions; do
1471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1472 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1482 if test -n "$CC"; then
1483 echo "$as_me:$LINENO: result: $CC" >&5
1484 echo "${ECHO_T}$CC" >&6
1486 echo "$as_me:$LINENO: result: no" >&5
1487 echo "${ECHO_T}no" >&6
1491 if test -z "$ac_cv_prog_CC"; then
1493 # Extract the first word of "cc", so it can be a program name with args.
1494 set dummy cc
; ac_word
=$2
1495 echo "$as_me:$LINENO: checking for $ac_word" >&5
1496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1497 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 if test -n "$ac_ct_CC"; then
1501 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1507 test -z "$as_dir" && as_dir
=.
1508 for ac_exec_ext
in '' $ac_executable_extensions; do
1509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1510 ac_cv_prog_ac_ct_CC
="cc"
1511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1519 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1520 if test -n "$ac_ct_CC"; then
1521 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1522 echo "${ECHO_T}$ac_ct_CC" >&6
1524 echo "$as_me:$LINENO: result: no" >&5
1525 echo "${ECHO_T}no" >&6
1534 if test -z "$CC"; then
1535 # Extract the first word of "cc", so it can be a program name with args.
1536 set dummy cc
; ac_word
=$2
1537 echo "$as_me:$LINENO: checking for $ac_word" >&5
1538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1539 if test "${ac_cv_prog_CC+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1542 if test -n "$CC"; then
1543 ac_cv_prog_CC
="$CC" # Let the user override the test.
1546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1550 test -z "$as_dir" && as_dir
=.
1551 for ac_exec_ext
in '' $ac_executable_extensions; do
1552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1553 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1554 ac_prog_rejected
=yes
1558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1564 if test $ac_prog_rejected = yes; then
1565 # We found a bogon in the path, so make sure we never use it.
1566 set dummy
$ac_cv_prog_CC
1568 if test $# != 0; then
1569 # We chose a different compiler from the bogus one.
1570 # However, it has the same basename, so the bogon will be chosen
1571 # first if we set CC to just the basename; use the full file name.
1573 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1579 if test -n "$CC"; then
1580 echo "$as_me:$LINENO: result: $CC" >&5
1581 echo "${ECHO_T}$CC" >&6
1583 echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1588 if test -z "$CC"; then
1589 if test -n "$ac_tool_prefix"; then
1592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1593 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1594 echo "$as_me:$LINENO: checking for $ac_word" >&5
1595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1596 if test "${ac_cv_prog_CC+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 if test -n "$CC"; then
1600 ac_cv_prog_CC
="$CC" # Let the user override the test.
1602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1606 test -z "$as_dir" && as_dir
=.
1607 for ac_exec_ext
in '' $ac_executable_extensions; do
1608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1609 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1619 if test -n "$CC"; then
1620 echo "$as_me:$LINENO: result: $CC" >&5
1621 echo "${ECHO_T}$CC" >&6
1623 echo "$as_me:$LINENO: result: no" >&5
1624 echo "${ECHO_T}no" >&6
1627 test -n "$CC" && break
1630 if test -z "$CC"; then
1634 # Extract the first word of "$ac_prog", so it can be a program name with args.
1635 set dummy
$ac_prog; ac_word
=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 if test -n "$ac_ct_CC"; then
1642 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir
=.
1649 for ac_exec_ext
in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651 ac_cv_prog_ac_ct_CC
="$ac_prog"
1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1661 if test -n "$ac_ct_CC"; then
1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1663 echo "${ECHO_T}$ac_ct_CC" >&6
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1669 test -n "$ac_ct_CC" && break
1678 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1679 See \`config.log' for more details." >&5
1680 echo "$as_me: error: no acceptable C compiler found in \$PATH
1681 See \`config.log' for more details." >&2;}
1682 { (exit 1); exit 1; }; }
1684 # Provide some information about the compiler.
1685 echo "$as_me:$LINENO:" \
1686 "checking for C compiler version" >&5
1687 ac_compiler
=`set X $ac_compile; echo $2`
1688 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1689 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1692 (exit $ac_status); }
1693 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1694 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1697 (exit $ac_status); }
1698 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1699 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1702 (exit $ac_status); }
1704 cat >conftest.
$ac_ext <<_ACEOF
1707 cat confdefs.h
>>conftest.
$ac_ext
1708 cat >>conftest.
$ac_ext <<_ACEOF
1709 /* end confdefs.h. */
1719 ac_clean_files_save
=$ac_clean_files
1720 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1721 # Try to create an executable without -o first, disregard a.out.
1722 # It will help us diagnose broken compilers, and finding out an intuition
1724 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1725 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1726 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1727 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1728 (eval $ac_link_default) 2>&5
1730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1731 (exit $ac_status); }; then
1732 # Find the output, starting from the most likely. This scheme is
1733 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1736 # Be careful to initialize this variable, since it used to be cached.
1737 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1739 # b.out is created by i960 compilers.
1740 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1742 test -f "$ac_file" ||
continue
1744 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1747 # This is the source file.
1750 # We found the default executable, but exeext='' is most
1754 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1755 # FIXME: I believe we export ac_cv_exeext for Libtool,
1756 # but it would be cool to find out if it's true. Does anybody
1757 # maintain Libtool? --akim.
1765 echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.
$ac_ext >&5
1768 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1769 See \`config.log' for more details." >&5
1770 echo "$as_me: error: C compiler cannot create executables
1771 See \`config.log' for more details." >&2;}
1772 { (exit 77); exit 77; }; }
1775 ac_exeext
=$ac_cv_exeext
1776 echo "$as_me:$LINENO: result: $ac_file" >&5
1777 echo "${ECHO_T}$ac_file" >&6
1779 # Check the compiler produces executables we can run. If not, either
1780 # the compiler is broken, or we cross compile.
1781 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1782 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1783 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1784 # If not cross compiling, check that we can run a simple program.
1785 if test "$cross_compiling" != yes; then
1786 if { ac_try
='./$ac_file'
1787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }; }; then
1794 if test "$cross_compiling" = maybe
; then
1797 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1798 If you meant to cross compile, use \`--host'.
1799 See \`config.log' for more details." >&5
1800 echo "$as_me: error: cannot run C compiled programs.
1801 If you meant to cross compile, use \`--host'.
1802 See \`config.log' for more details." >&2;}
1803 { (exit 1); exit 1; }; }
1807 echo "$as_me:$LINENO: result: yes" >&5
1808 echo "${ECHO_T}yes" >&6
1810 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1811 ac_clean_files
=$ac_clean_files_save
1812 # Check the compiler produces executables we can run. If not, either
1813 # the compiler is broken, or we cross compile.
1814 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1815 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1816 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1817 echo "${ECHO_T}$cross_compiling" >&6
1819 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1820 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1822 (eval $ac_link) 2>&5
1824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1825 (exit $ac_status); }; then
1826 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1827 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1828 # work properly (i.e., refer to `conftest.exe'), while it won't with
1830 for ac_file
in conftest.exe conftest conftest.
*; do
1831 test -f "$ac_file" ||
continue
1833 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1834 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1841 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1842 See \`config.log' for more details." >&5
1843 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1844 See \`config.log' for more details." >&2;}
1845 { (exit 1); exit 1; }; }
1848 rm -f conftest
$ac_cv_exeext
1849 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1850 echo "${ECHO_T}$ac_cv_exeext" >&6
1852 rm -f conftest.
$ac_ext
1853 EXEEXT
=$ac_cv_exeext
1855 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1856 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1857 if test "${ac_cv_objext+set}" = set; then
1858 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 cat >conftest.
$ac_ext <<_ACEOF
1863 cat confdefs.h
>>conftest.
$ac_ext
1864 cat >>conftest.
$ac_ext <<_ACEOF
1865 /* end confdefs.h. */
1875 rm -f conftest.o conftest.obj
1876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1877 (eval $ac_compile) 2>&5
1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1880 (exit $ac_status); }; then
1881 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1883 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1884 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1889 echo "$as_me: failed program was:" >&5
1890 sed 's/^/| /' conftest.
$ac_ext >&5
1892 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1893 See \`config.log' for more details." >&5
1894 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1895 See \`config.log' for more details." >&2;}
1896 { (exit 1); exit 1; }; }
1899 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1901 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1902 echo "${ECHO_T}$ac_cv_objext" >&6
1903 OBJEXT
=$ac_cv_objext
1905 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1906 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1907 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1908 echo $ECHO_N "(cached) $ECHO_C" >&6
1910 cat >conftest.
$ac_ext <<_ACEOF
1913 cat confdefs.h
>>conftest.
$ac_ext
1914 cat >>conftest.
$ac_ext <<_ACEOF
1915 /* end confdefs.h. */
1928 rm -f conftest.
$ac_objext
1929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1930 (eval $ac_compile) 2>conftest.er1
1932 grep -v '^ *+' conftest.er1
>conftest.err
1934 cat conftest.err
>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); } &&
1937 { ac_try
='test -z "$ac_c_werror_flag"
1938 || test ! -s conftest.err'
1939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; } &&
1944 { ac_try
='test -s conftest.$ac_objext'
1945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949 (exit $ac_status); }; }; then
1952 echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.
$ac_ext >&5
1957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1958 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1961 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1962 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1963 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1964 ac_test_CFLAGS
=${CFLAGS+set}
1965 ac_save_CFLAGS
=$CFLAGS
1967 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1968 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1969 if test "${ac_cv_prog_cc_g+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 cat >conftest.
$ac_ext <<_ACEOF
1975 cat confdefs.h
>>conftest.
$ac_ext
1976 cat >>conftest.
$ac_ext <<_ACEOF
1977 /* end confdefs.h. */
1987 rm -f conftest.
$ac_objext
1988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1989 (eval $ac_compile) 2>conftest.er1
1991 grep -v '^ *+' conftest.er1
>conftest.err
1993 cat conftest.err
>&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); } &&
1996 { ac_try
='test -z "$ac_c_werror_flag"
1997 || test ! -s conftest.err'
1998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }; } &&
2003 { ac_try
='test -s conftest.$ac_objext'
2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }; }; then
2011 echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.
$ac_ext >&5
2016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2018 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2019 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2020 if test "$ac_test_CFLAGS" = set; then
2021 CFLAGS
=$ac_save_CFLAGS
2022 elif test $ac_cv_prog_cc_g = yes; then
2023 if test "$GCC" = yes; then
2029 if test "$GCC" = yes; then
2035 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2036 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2037 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2038 echo $ECHO_N "(cached) $ECHO_C" >&6
2040 ac_cv_prog_cc_stdc
=no
2042 cat >conftest.
$ac_ext <<_ACEOF
2045 cat confdefs.h
>>conftest.
$ac_ext
2046 cat >>conftest.
$ac_ext <<_ACEOF
2047 /* end confdefs.h. */
2050 #include <sys/types.h>
2051 #include <sys/stat.h>
2052 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2053 struct buf { int x; };
2054 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2055 static char *e (p, i)
2061 static char *f (char * (*g) (char **, int), char **p, ...)
2066 s = g (p, va_arg (v,int));
2071 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2072 function prototypes and stuff, but not '\xHH' hex character constants.
2073 These don't provoke an error unfortunately, instead are silently treated
2074 as 'x'. The following induces an error, until -std1 is added to get
2075 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2076 array size at least. It's necessary to write '\x00'==0 to get something
2077 that's true only with -std1. */
2078 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2080 int test (int i, double x);
2081 struct s1 {int (*f) (int a);};
2082 struct s2 {int (*f) (double a);};
2083 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2089 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2094 # Don't try gcc -ansi; that turns off useful extensions and
2095 # breaks some systems' header files.
2096 # AIX -qlanglvl=ansi
2097 # Ultrix and OSF/1 -std1
2098 # HP-UX 10.20 and later -Ae
2099 # HP-UX older versions -Aa -D_HPUX_SOURCE
2100 # SVR4 -Xc -D__EXTENSIONS__
2101 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2103 CC
="$ac_save_CC $ac_arg"
2104 rm -f conftest.
$ac_objext
2105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2106 (eval $ac_compile) 2>conftest.er1
2108 grep -v '^ *+' conftest.er1
>conftest.err
2110 cat conftest.err
>&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); } &&
2113 { ac_try
='test -z "$ac_c_werror_flag"
2114 || test ! -s conftest.err'
2115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; } &&
2120 { ac_try
='test -s conftest.$ac_objext'
2121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }; }; then
2126 ac_cv_prog_cc_stdc
=$ac_arg
2129 echo "$as_me: failed program was:" >&5
2130 sed 's/^/| /' conftest.
$ac_ext >&5
2133 rm -f conftest.err conftest.
$ac_objext
2135 rm -f conftest.
$ac_ext conftest.
$ac_objext
2140 case "x$ac_cv_prog_cc_stdc" in
2142 echo "$as_me:$LINENO: result: none needed" >&5
2143 echo "${ECHO_T}none needed" >&6 ;;
2145 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2146 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2147 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2150 # Some people use a C++ compiler to compile C. Since we use `exit',
2151 # in C++ we need to declare it. In case someone uses the same compiler
2152 # for both compiling C and C++ we need to have the C++ compiler decide
2153 # the declaration of exit, since it's the most demanding environment.
2154 cat >conftest.
$ac_ext <<_ACEOF
2159 rm -f conftest.
$ac_objext
2160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2161 (eval $ac_compile) 2>conftest.er1
2163 grep -v '^ *+' conftest.er1
>conftest.err
2165 cat conftest.err
>&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); } &&
2168 { ac_try
='test -z "$ac_c_werror_flag"
2169 || test ! -s conftest.err'
2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; } &&
2175 { ac_try
='test -s conftest.$ac_objext'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; }; then
2181 for ac_declaration
in \
2183 'extern "C" void std::exit (int) throw (); using std::exit;' \
2184 'extern "C" void std::exit (int); using std::exit;' \
2185 'extern "C" void exit (int) throw ();' \
2186 'extern "C" void exit (int);' \
2189 cat >conftest.
$ac_ext <<_ACEOF
2192 cat confdefs.h
>>conftest.
$ac_ext
2193 cat >>conftest.
$ac_ext <<_ACEOF
2194 /* end confdefs.h. */
2205 rm -f conftest.
$ac_objext
2206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2207 (eval $ac_compile) 2>conftest.er1
2209 grep -v '^ *+' conftest.er1
>conftest.err
2211 cat conftest.err
>&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); } &&
2214 { ac_try
='test -z "$ac_c_werror_flag"
2215 || test ! -s conftest.err'
2216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; } &&
2221 { ac_try
='test -s conftest.$ac_objext'
2222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); }; }; then
2229 echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.
$ac_ext >&5
2234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2235 cat >conftest.
$ac_ext <<_ACEOF
2238 cat confdefs.h
>>conftest.
$ac_ext
2239 cat >>conftest.
$ac_ext <<_ACEOF
2240 /* end confdefs.h. */
2250 rm -f conftest.
$ac_objext
2251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2252 (eval $ac_compile) 2>conftest.er1
2254 grep -v '^ *+' conftest.er1
>conftest.err
2256 cat conftest.err
>&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); } &&
2259 { ac_try
='test -z "$ac_c_werror_flag"
2260 || test ! -s conftest.err'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; } &&
2266 { ac_try
='test -s conftest.$ac_objext'
2267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }; }; then
2274 echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.
$ac_ext >&5
2278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2281 if test -n "$ac_declaration"; then
2282 echo '#ifdef __cplusplus' >>confdefs.h
2283 echo $ac_declaration >>confdefs.h
2284 echo '#endif' >>confdefs.h
2288 echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.
$ac_ext >&5
2292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2294 ac_cpp
='$CPP $CPPFLAGS'
2295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2299 cat >>confdefs.h
<<\_ACEOF
2300 #define _GNU_SOURCE 1
2306 ac_cpp
='$CPP $CPPFLAGS'
2307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2310 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2311 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2312 # On Suns, sometimes $CPP names a directory.
2313 if test -n "$CPP" && test -d "$CPP"; then
2316 if test -z "$CPP"; then
2317 if test "${ac_cv_prog_CPP+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 # Double quotes because CPP needs to be expanded
2321 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2324 for ac_c_preproc_warn_flag
in '' yes
2326 # Use a header file that comes with gcc, so configuring glibc
2327 # with a fresh cross-compiler works.
2328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2329 # <limits.h> exists even on freestanding compilers.
2330 # On the NeXT, cc -E runs the code through the compiler's parser,
2331 # not just through cpp. "Syntax error" is here to catch this case.
2332 cat >conftest.
$ac_ext <<_ACEOF
2335 cat confdefs.h
>>conftest.
$ac_ext
2336 cat >>conftest.
$ac_ext <<_ACEOF
2337 /* end confdefs.h. */
2339 # include <limits.h>
2341 # include <assert.h>
2345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2348 grep -v '^ *+' conftest.er1
>conftest.err
2350 cat conftest.err
>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); } >/dev
/null
; then
2353 if test -s conftest.err
; then
2354 ac_cpp_err
=$ac_c_preproc_warn_flag
2355 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2362 if test -z "$ac_cpp_err"; then
2365 echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.
$ac_ext >&5
2368 # Broken: fails on valid input.
2371 rm -f conftest.err conftest.
$ac_ext
2373 # OK, works on sane cases. Now check whether non-existent headers
2374 # can be detected and how.
2375 cat >conftest.
$ac_ext <<_ACEOF
2378 cat confdefs.h
>>conftest.
$ac_ext
2379 cat >>conftest.
$ac_ext <<_ACEOF
2380 /* end confdefs.h. */
2381 #include <ac_nonexistent.h>
2383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2384 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2386 grep -v '^ *+' conftest.er1
>conftest.err
2388 cat conftest.err
>&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); } >/dev
/null
; then
2391 if test -s conftest.err
; then
2392 ac_cpp_err
=$ac_c_preproc_warn_flag
2393 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2400 if test -z "$ac_cpp_err"; then
2401 # Broken: success on invalid input.
2404 echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.
$ac_ext >&5
2407 # Passes both tests.
2411 rm -f conftest.err conftest.
$ac_ext
2414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2415 rm -f conftest.err conftest.
$ac_ext
2416 if $ac_preproc_ok; then
2428 echo "$as_me:$LINENO: result: $CPP" >&5
2429 echo "${ECHO_T}$CPP" >&6
2431 for ac_c_preproc_warn_flag
in '' yes
2433 # Use a header file that comes with gcc, so configuring glibc
2434 # with a fresh cross-compiler works.
2435 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2436 # <limits.h> exists even on freestanding compilers.
2437 # On the NeXT, cc -E runs the code through the compiler's parser,
2438 # not just through cpp. "Syntax error" is here to catch this case.
2439 cat >conftest.
$ac_ext <<_ACEOF
2442 cat confdefs.h
>>conftest.
$ac_ext
2443 cat >>conftest.
$ac_ext <<_ACEOF
2444 /* end confdefs.h. */
2446 # include <limits.h>
2448 # include <assert.h>
2452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2453 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2455 grep -v '^ *+' conftest.er1
>conftest.err
2457 cat conftest.err
>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); } >/dev
/null
; then
2460 if test -s conftest.err
; then
2461 ac_cpp_err
=$ac_c_preproc_warn_flag
2462 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2469 if test -z "$ac_cpp_err"; then
2472 echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.
$ac_ext >&5
2475 # Broken: fails on valid input.
2478 rm -f conftest.err conftest.
$ac_ext
2480 # OK, works on sane cases. Now check whether non-existent headers
2481 # can be detected and how.
2482 cat >conftest.
$ac_ext <<_ACEOF
2485 cat confdefs.h
>>conftest.
$ac_ext
2486 cat >>conftest.
$ac_ext <<_ACEOF
2487 /* end confdefs.h. */
2488 #include <ac_nonexistent.h>
2490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2493 grep -v '^ *+' conftest.er1
>conftest.err
2495 cat conftest.err
>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); } >/dev
/null
; then
2498 if test -s conftest.err
; then
2499 ac_cpp_err
=$ac_c_preproc_warn_flag
2500 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2507 if test -z "$ac_cpp_err"; then
2508 # Broken: success on invalid input.
2511 echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.
$ac_ext >&5
2514 # Passes both tests.
2518 rm -f conftest.err conftest.
$ac_ext
2521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2522 rm -f conftest.err conftest.
$ac_ext
2523 if $ac_preproc_ok; then
2526 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2529 See \`config.log' for more details." >&2;}
2530 { (exit 1); exit 1; }; }
2534 ac_cpp
='$CPP $CPPFLAGS'
2535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2540 echo "$as_me:$LINENO: checking for egrep" >&5
2541 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2542 if test "${ac_cv_prog_egrep+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2546 then ac_cv_prog_egrep
='grep -E'
2547 else ac_cv_prog_egrep
='egrep'
2550 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2551 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2552 EGREP
=$ac_cv_prog_egrep
2556 echo "$as_me:$LINENO: checking for AIX" >&5
2557 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2558 cat >conftest.
$ac_ext <<_ACEOF
2561 cat confdefs.h
>>conftest.
$ac_ext
2562 cat >>conftest.
$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2570 $EGREP "yes" >/dev
/null
2>&1; then
2571 echo "$as_me:$LINENO: result: yes" >&5
2572 echo "${ECHO_T}yes" >&6
2573 cat >>confdefs.h
<<\_ACEOF
2574 #define _ALL_SOURCE 1
2578 echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2584 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2585 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2586 if test "${ac_cv_search_strerror+set}" = set; then
2587 echo $ECHO_N "(cached) $ECHO_C" >&6
2589 ac_func_search_save_LIBS
=$LIBS
2590 ac_cv_search_strerror
=no
2591 cat >conftest.
$ac_ext <<_ACEOF
2594 cat confdefs.h
>>conftest.
$ac_ext
2595 cat >>conftest.
$ac_ext <<_ACEOF
2596 /* end confdefs.h. */
2598 /* Override any gcc2 internal prototype to avoid an error. */
2602 /* We use char because int might match the return type of a gcc2
2603 builtin and then its argument prototype would still apply. */
2613 rm -f conftest.
$ac_objext conftest
$ac_exeext
2614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2615 (eval $ac_link) 2>conftest.er1
2617 grep -v '^ *+' conftest.er1
>conftest.err
2619 cat conftest.err
>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); } &&
2622 { ac_try
='test -z "$ac_c_werror_flag"
2623 || test ! -s conftest.err'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; } &&
2629 { ac_try
='test -s conftest$ac_exeext'
2630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }; }; then
2635 ac_cv_search_strerror
="none required"
2637 echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.
$ac_ext >&5
2641 rm -f conftest.err conftest.
$ac_objext \
2642 conftest
$ac_exeext conftest.
$ac_ext
2643 if test "$ac_cv_search_strerror" = no
; then
2644 for ac_lib
in cposix
; do
2645 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2646 cat >conftest.
$ac_ext <<_ACEOF
2649 cat confdefs.h
>>conftest.
$ac_ext
2650 cat >>conftest.
$ac_ext <<_ACEOF
2651 /* end confdefs.h. */
2653 /* Override any gcc2 internal prototype to avoid an error. */
2657 /* We use char because int might match the return type of a gcc2
2658 builtin and then its argument prototype would still apply. */
2668 rm -f conftest.
$ac_objext conftest
$ac_exeext
2669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2670 (eval $ac_link) 2>conftest.er1
2672 grep -v '^ *+' conftest.er1
>conftest.err
2674 cat conftest.err
>&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); } &&
2677 { ac_try
='test -z "$ac_c_werror_flag"
2678 || test ! -s conftest.err'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; } &&
2684 { ac_try
='test -s conftest$ac_exeext'
2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; }; then
2690 ac_cv_search_strerror
="-l$ac_lib"
2693 echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.
$ac_ext >&5
2697 rm -f conftest.err conftest.
$ac_objext \
2698 conftest
$ac_exeext conftest.
$ac_ext
2701 LIBS
=$ac_func_search_save_LIBS
2703 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2704 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2705 if test "$ac_cv_search_strerror" != no
; then
2706 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2713 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2714 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2715 if test "${am_cv_prog_cc_stdc+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 am_cv_prog_cc_stdc
=no
2720 # Don't try gcc -ansi; that turns off useful extensions and
2721 # breaks some systems' header files.
2722 # AIX -qlanglvl=ansi
2723 # Ultrix and OSF/1 -std1
2724 # HP-UX 10.20 and later -Ae
2725 # HP-UX older versions -Aa -D_HPUX_SOURCE
2726 # SVR4 -Xc -D__EXTENSIONS__
2727 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2729 CC
="$ac_save_CC $ac_arg"
2730 cat >conftest.
$ac_ext <<_ACEOF
2733 cat confdefs.h
>>conftest.
$ac_ext
2734 cat >>conftest.
$ac_ext <<_ACEOF
2735 /* end confdefs.h. */
2738 #include <sys/types.h>
2739 #include <sys/stat.h>
2740 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2741 struct buf { int x; };
2742 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2743 static char *e (p, i)
2749 static char *f (char * (*g) (char **, int), char **p, ...)
2754 s = g (p, va_arg (v,int));
2758 int test (int i, double x);
2759 struct s1 {int (*f) (int a);};
2760 struct s2 {int (*f) (double a);};
2761 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2769 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2775 rm -f conftest.
$ac_objext
2776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2777 (eval $ac_compile) 2>conftest.er1
2779 grep -v '^ *+' conftest.er1
>conftest.err
2781 cat conftest.err
>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); } &&
2784 { ac_try
='test -z "$ac_c_werror_flag"
2785 || test ! -s conftest.err'
2786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; } &&
2791 { ac_try
='test -s conftest.$ac_objext'
2792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; }; then
2797 am_cv_prog_cc_stdc
="$ac_arg"; break
2799 echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.
$ac_ext >&5
2803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2809 if test -z "$am_cv_prog_cc_stdc"; then
2810 echo "$as_me:$LINENO: result: none needed" >&5
2811 echo "${ECHO_T}none needed" >&6
2813 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2814 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2816 case "x$am_cv_prog_cc_stdc" in
2818 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2823 for ac_dir
in `cd $srcdir;pwd`/..
$srcdir/`cd $srcdir;pwd`/..
; do
2824 if test -f $ac_dir/install-sh
; then
2826 ac_install_sh
="$ac_aux_dir/install-sh -c"
2828 elif test -f $ac_dir/install.sh
; then
2830 ac_install_sh
="$ac_aux_dir/install.sh -c"
2832 elif test -f $ac_dir/shtool
; then
2834 ac_install_sh
="$ac_aux_dir/shtool install -c"
2838 if test -z "$ac_aux_dir"; then
2839 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&5
2840 echo "$as_me: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&2;}
2841 { (exit 1); exit 1; }; }
2843 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2844 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2845 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2847 # Make sure we can run config.sub.
2848 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2849 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2850 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2851 { (exit 1); exit 1; }; }
2853 echo "$as_me:$LINENO: checking build system type" >&5
2854 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2855 if test "${ac_cv_build+set}" = set; then
2856 echo $ECHO_N "(cached) $ECHO_C" >&6
2858 ac_cv_build_alias
=$build_alias
2859 test -z "$ac_cv_build_alias" &&
2860 ac_cv_build_alias
=`$ac_config_guess`
2861 test -z "$ac_cv_build_alias" &&
2862 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2863 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2864 { (exit 1); exit 1; }; }
2865 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2866 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2867 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2868 { (exit 1); exit 1; }; }
2871 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2872 echo "${ECHO_T}$ac_cv_build" >&6
2874 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2875 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2876 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2879 echo "$as_me:$LINENO: checking host system type" >&5
2880 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2881 if test "${ac_cv_host+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 ac_cv_host_alias
=$host_alias
2885 test -z "$ac_cv_host_alias" &&
2886 ac_cv_host_alias
=$ac_cv_build_alias
2887 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2888 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2889 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2890 { (exit 1); exit 1; }; }
2893 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2894 echo "${ECHO_T}$ac_cv_host" >&6
2896 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2897 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2898 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2901 echo "$as_me:$LINENO: checking target system type" >&5
2902 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2903 if test "${ac_cv_target+set}" = set; then
2904 echo $ECHO_N "(cached) $ECHO_C" >&6
2906 ac_cv_target_alias
=$target_alias
2907 test "x$ac_cv_target_alias" = "x" &&
2908 ac_cv_target_alias
=$ac_cv_host_alias
2909 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2910 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2911 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2912 { (exit 1); exit 1; }; }
2915 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2916 echo "${ECHO_T}$ac_cv_target" >&6
2917 target
=$ac_cv_target
2918 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2919 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2920 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2923 # The aliases save the names the user supplied, while $host etc.
2924 # will get canonicalized.
2925 test -n "$target_alias" &&
2926 test "$program_prefix$program_suffix$program_transform_name" = \
2928 program_prefix
=${target_alias}-
2942 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2943 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2944 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2945 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2946 echo $ECHO_N "(cached) $ECHO_C" >&6
2948 cat >conftest.
make <<\_ACEOF
2950 @
echo 'ac_maketemp="$(MAKE)"'
2952 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2953 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2954 if test -n "$ac_maketemp"; then
2955 eval ac_cv_prog_make_
${ac_make}_set
=yes
2957 eval ac_cv_prog_make_
${ac_make}_set
=no
2961 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2962 echo "$as_me:$LINENO: result: yes" >&5
2963 echo "${ECHO_T}yes" >&6
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 SET_MAKE
="MAKE=${MAKE-make}"
2971 if test -n "$ac_tool_prefix"; then
2972 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2973 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2974 echo "$as_me:$LINENO: checking for $ac_word" >&5
2975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2976 if test "${ac_cv_prog_RANLIB+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 if test -n "$RANLIB"; then
2980 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir
=.
2987 for ac_exec_ext
in '' $ac_executable_extensions; do
2988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2989 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 RANLIB
=$ac_cv_prog_RANLIB
2999 if test -n "$RANLIB"; then
3000 echo "$as_me:$LINENO: result: $RANLIB" >&5
3001 echo "${ECHO_T}$RANLIB" >&6
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3008 if test -z "$ac_cv_prog_RANLIB"; then
3009 ac_ct_RANLIB
=$RANLIB
3010 # Extract the first word of "ranlib", so it can be a program name with args.
3011 set dummy ranlib
; ac_word
=$2
3012 echo "$as_me:$LINENO: checking for $ac_word" >&5
3013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3014 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3015 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 if test -n "$ac_ct_RANLIB"; then
3018 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir
=.
3025 for ac_exec_ext
in '' $ac_executable_extensions; do
3026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3037 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3038 if test -n "$ac_ct_RANLIB"; then
3039 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3040 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3042 echo "$as_me:$LINENO: result: no" >&5
3043 echo "${ECHO_T}no" >&6
3046 RANLIB
=$ac_ct_RANLIB
3048 RANLIB
="$ac_cv_prog_RANLIB"
3051 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3052 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3053 if test "${ac_cv_header_stdc+set}" = set; then
3054 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 cat >conftest.
$ac_ext <<_ACEOF
3059 cat confdefs.h
>>conftest.
$ac_ext
3060 cat >>conftest.
$ac_ext <<_ACEOF
3061 /* end confdefs.h. */
3075 rm -f conftest.
$ac_objext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3077 (eval $ac_compile) 2>conftest.er1
3079 grep -v '^ *+' conftest.er1
>conftest.err
3081 cat conftest.err
>&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try
='test -z "$ac_c_werror_flag"
3085 || test ! -s conftest.err'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; } &&
3091 { ac_try
='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_cv_header_stdc
=yes
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.
$ac_ext >&5
3102 ac_cv_header_stdc
=no
3104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3106 if test $ac_cv_header_stdc = yes; then
3107 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3108 cat >conftest.
$ac_ext <<_ACEOF
3111 cat confdefs.h
>>conftest.
$ac_ext
3112 cat >>conftest.
$ac_ext <<_ACEOF
3113 /* end confdefs.h. */
3117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3118 $EGREP "memchr" >/dev
/null
2>&1; then
3121 ac_cv_header_stdc
=no
3127 if test $ac_cv_header_stdc = yes; then
3128 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3129 cat >conftest.
$ac_ext <<_ACEOF
3132 cat confdefs.h
>>conftest.
$ac_ext
3133 cat >>conftest.
$ac_ext <<_ACEOF
3134 /* end confdefs.h. */
3138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3139 $EGREP "free" >/dev
/null
2>&1; then
3142 ac_cv_header_stdc
=no
3148 if test $ac_cv_header_stdc = yes; then
3149 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3150 if test "$cross_compiling" = yes; then
3153 cat >conftest.
$ac_ext <<_ACEOF
3156 cat confdefs.h
>>conftest.
$ac_ext
3157 cat >>conftest.
$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3160 #if ((' ' & 0x0FF) == 0x020)
3161 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3162 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3164 # define ISLOWER(c) \
3165 (('a' <= (c) && (c) <= 'i') \
3166 || ('j' <= (c) && (c) <= 'r') \
3167 || ('s' <= (c) && (c) <= 'z'))
3168 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3171 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3176 for (i = 0; i < 256; i++)
3177 if (XOR (islower (i), ISLOWER (i))
3178 || toupper (i) != TOUPPER (i))
3183 rm -f conftest
$ac_exeext
3184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3185 (eval $ac_link) 2>&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; }; then
3196 echo "$as_me: program exited with status $ac_status" >&5
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.
$ac_ext >&5
3201 ac_cv_header_stdc
=no
3203 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3207 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3208 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3209 if test $ac_cv_header_stdc = yes; then
3211 cat >>confdefs.h
<<\_ACEOF
3212 #define STDC_HEADERS 1
3217 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3218 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3219 if test "${ac_cv_c_const+set}" = set; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 cat >conftest.
$ac_ext <<_ACEOF
3225 cat confdefs.h
>>conftest.
$ac_ext
3226 cat >>conftest.
$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3232 /* FIXME: Include the comments suggested by Paul. */
3234 /* Ultrix mips cc rejects this. */
3235 typedef int charset[2];
3237 /* SunOS 4.1.1 cc rejects this. */
3238 char const *const *ccp;
3240 /* NEC SVR4.0.2 mips cc rejects this. */
3241 struct point {int x, y;};
3242 static struct point const zero = {0,0};
3243 /* AIX XL C 1.02.0.0 rejects this.
3244 It does not let you subtract one const X* pointer from another in
3245 an arm of an if-expression whose if-part is not a constant
3247 const char *g = "string";
3248 ccp = &g + (g ? g-g : 0);
3249 /* HPUX 7.0 cc rejects these. */
3252 ccp = (char const *const *) p;
3253 { /* SCO 3.2v4 cc rejects this. */
3255 char const *s = 0 ? (char *) 0 : (char const *) 0;
3259 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3261 const int *foo = &x[0];
3264 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3265 typedef const int *iptr;
3269 { /* AIX XL C 1.02.0.0 rejects this saying
3270 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3271 struct s { int j; const int *ap[3]; };
3272 struct s *b; b->j = 5;
3274 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3283 rm -f conftest.
$ac_objext
3284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3285 (eval $ac_compile) 2>conftest.er1
3287 grep -v '^ *+' conftest.er1
>conftest.err
3289 cat conftest.err
>&5
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); } &&
3292 { ac_try
='test -z "$ac_c_werror_flag"
3293 || test ! -s conftest.err'
3294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); }; } &&
3299 { ac_try
='test -s conftest.$ac_objext'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; }; then
3307 echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.
$ac_ext >&5
3312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3314 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3315 echo "${ECHO_T}$ac_cv_c_const" >&6
3316 if test $ac_cv_c_const = no
; then
3318 cat >>confdefs.h
<<\_ACEOF
3324 echo "$as_me:$LINENO: checking for inline" >&5
3325 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3326 if test "${ac_cv_c_inline+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 for ac_kw
in inline __inline__ __inline
; do
3331 cat >conftest.
$ac_ext <<_ACEOF
3334 cat confdefs.h
>>conftest.
$ac_ext
3335 cat >>conftest.
$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3339 static $ac_kw foo_t static_foo () {return 0; }
3340 $ac_kw foo_t foo () {return 0; }
3344 rm -f conftest.
$ac_objext
3345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3346 (eval $ac_compile) 2>conftest.er1
3348 grep -v '^ *+' conftest.er1
>conftest.err
3350 cat conftest.err
>&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); } &&
3353 { ac_try
='test -z "$ac_c_werror_flag"
3354 || test ! -s conftest.err'
3355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }; } &&
3360 { ac_try
='test -s conftest.$ac_objext'
3361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; }; then
3366 ac_cv_c_inline
=$ac_kw; break
3368 echo "$as_me: failed program was:" >&5
3369 sed 's/^/| /' conftest.
$ac_ext >&5
3372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3376 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3377 echo "${ECHO_T}$ac_cv_c_inline" >&6
3380 case $ac_cv_c_inline in
3383 case $ac_cv_c_inline in
3385 *) ac_val
=$ac_cv_c_inline;;
3387 cat >>confdefs.h
<<_ACEOF
3389 #define inline $ac_val
3395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3405 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3406 inttypes.h stdint.h unistd.h
3408 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3409 echo "$as_me:$LINENO: checking for $ac_header" >&5
3410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 cat >conftest.
$ac_ext <<_ACEOF
3417 cat confdefs.h
>>conftest.
$ac_ext
3418 cat >>conftest.
$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3420 $ac_includes_default
3422 #include <$ac_header>
3424 rm -f conftest.
$ac_objext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 (eval $ac_compile) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1
>conftest.err
3430 cat conftest.err
>&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try
='test -z "$ac_c_werror_flag"
3434 || test ! -s conftest.err'
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }; } &&
3440 { ac_try
='test -s conftest.$ac_objext'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; }; then
3446 eval "$as_ac_Header=yes"
3448 echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.
$ac_ext >&5
3451 eval "$as_ac_Header=no"
3453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3458 cat >>confdefs.h
<<_ACEOF
3459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3467 echo "$as_me:$LINENO: checking for off_t" >&5
3468 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3469 if test "${ac_cv_type_off_t+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 cat >conftest.
$ac_ext <<_ACEOF
3475 cat confdefs.h
>>conftest.
$ac_ext
3476 cat >>conftest.
$ac_ext <<_ACEOF
3477 /* end confdefs.h. */
3478 $ac_includes_default
3490 rm -f conftest.
$ac_objext
3491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3492 (eval $ac_compile) 2>conftest.er1
3494 grep -v '^ *+' conftest.er1
>conftest.err
3496 cat conftest.err
>&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); } &&
3499 { ac_try
='test -z "$ac_c_werror_flag"
3500 || test ! -s conftest.err'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; } &&
3506 { ac_try
='test -s conftest.$ac_objext'
3507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); }; }; then
3512 ac_cv_type_off_t
=yes
3514 echo "$as_me: failed program was:" >&5
3515 sed 's/^/| /' conftest.
$ac_ext >&5
3519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3521 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3522 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3523 if test $ac_cv_type_off_t = yes; then
3527 cat >>confdefs.h
<<_ACEOF
3533 echo "$as_me:$LINENO: checking for size_t" >&5
3534 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3535 if test "${ac_cv_type_size_t+set}" = set; then
3536 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 cat >conftest.
$ac_ext <<_ACEOF
3541 cat confdefs.h
>>conftest.
$ac_ext
3542 cat >>conftest.
$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 $ac_includes_default
3550 if (sizeof (size_t))
3556 rm -f conftest.
$ac_objext
3557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3558 (eval $ac_compile) 2>conftest.er1
3560 grep -v '^ *+' conftest.er1
>conftest.err
3562 cat conftest.err
>&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); } &&
3565 { ac_try
='test -z "$ac_c_werror_flag"
3566 || test ! -s conftest.err'
3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }; } &&
3572 { ac_try
='test -s conftest.$ac_objext'
3573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }; }; then
3578 ac_cv_type_size_t
=yes
3580 echo "$as_me: failed program was:" >&5
3581 sed 's/^/| /' conftest.
$ac_ext >&5
3583 ac_cv_type_size_t
=no
3585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3587 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3588 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3589 if test $ac_cv_type_size_t = yes; then
3593 cat >>confdefs.h
<<_ACEOF
3594 #define size_t unsigned
3599 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3600 # for constant arguments. Useless!
3601 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3602 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3603 if test "${ac_cv_working_alloca_h+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 cat >conftest.
$ac_ext <<_ACEOF
3609 cat confdefs.h
>>conftest.
$ac_ext
3610 cat >>conftest.
$ac_ext <<_ACEOF
3611 /* end confdefs.h. */
3616 char *p = (char *) alloca (2 * sizeof (int));
3621 rm -f conftest.
$ac_objext conftest
$ac_exeext
3622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3623 (eval $ac_link) 2>conftest.er1
3625 grep -v '^ *+' conftest.er1
>conftest.err
3627 cat conftest.err
>&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); } &&
3630 { ac_try
='test -z "$ac_c_werror_flag"
3631 || test ! -s conftest.err'
3632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); }; } &&
3637 { ac_try
='test -s conftest$ac_exeext'
3638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }; }; then
3643 ac_cv_working_alloca_h
=yes
3645 echo "$as_me: failed program was:" >&5
3646 sed 's/^/| /' conftest.
$ac_ext >&5
3648 ac_cv_working_alloca_h
=no
3650 rm -f conftest.err conftest.
$ac_objext \
3651 conftest
$ac_exeext conftest.
$ac_ext
3653 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3654 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3655 if test $ac_cv_working_alloca_h = yes; then
3657 cat >>confdefs.h
<<\_ACEOF
3658 #define HAVE_ALLOCA_H 1
3663 echo "$as_me:$LINENO: checking for alloca" >&5
3664 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3665 if test "${ac_cv_func_alloca_works+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 cat >conftest.
$ac_ext <<_ACEOF
3671 cat confdefs.h
>>conftest.
$ac_ext
3672 cat >>conftest.
$ac_ext <<_ACEOF
3673 /* end confdefs.h. */
3675 # define alloca __builtin_alloca
3678 # include <malloc.h>
3679 # define alloca _alloca
3682 # include <alloca.h>
3687 # ifndef alloca /* predefined by HP cc +Olibcalls */
3698 char *p = (char *) alloca (1);
3703 rm -f conftest.
$ac_objext conftest
$ac_exeext
3704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3705 (eval $ac_link) 2>conftest.er1
3707 grep -v '^ *+' conftest.er1
>conftest.err
3709 cat conftest.err
>&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); } &&
3712 { ac_try
='test -z "$ac_c_werror_flag"
3713 || test ! -s conftest.err'
3714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); }; } &&
3719 { ac_try
='test -s conftest$ac_exeext'
3720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); }; }; then
3725 ac_cv_func_alloca_works
=yes
3727 echo "$as_me: failed program was:" >&5
3728 sed 's/^/| /' conftest.
$ac_ext >&5
3730 ac_cv_func_alloca_works
=no
3732 rm -f conftest.err conftest.
$ac_objext \
3733 conftest
$ac_exeext conftest.
$ac_ext
3735 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3736 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3738 if test $ac_cv_func_alloca_works = yes; then
3740 cat >>confdefs.h
<<\_ACEOF
3741 #define HAVE_ALLOCA 1
3745 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3746 # that cause trouble. Some versions do not even contain alloca or
3747 # contain a buggy version. If you still want to use their alloca,
3748 # use ar to extract alloca.o from them instead of compiling alloca.c.
3750 ALLOCA
=alloca.
$ac_objext
3752 cat >>confdefs.h
<<\_ACEOF
3757 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3758 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3759 if test "${ac_cv_os_cray+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 cat >conftest.
$ac_ext <<_ACEOF
3765 cat confdefs.h
>>conftest.
$ac_ext
3766 cat >>conftest.
$ac_ext <<_ACEOF
3767 /* end confdefs.h. */
3768 #if defined(CRAY) && ! defined(CRAY2)
3775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3776 $EGREP "webecray" >/dev
/null
2>&1; then
3784 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3785 echo "${ECHO_T}$ac_cv_os_cray" >&6
3786 if test $ac_cv_os_cray = yes; then
3787 for ac_func
in _getb67 GETB67 getb67
; do
3788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3789 echo "$as_me:$LINENO: checking for $ac_func" >&5
3790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3791 if eval "test \"\${$as_ac_var+set}\" = set"; then
3792 echo $ECHO_N "(cached) $ECHO_C" >&6
3794 cat >conftest.
$ac_ext <<_ACEOF
3797 cat confdefs.h
>>conftest.
$ac_ext
3798 cat >>conftest.
$ac_ext <<_ACEOF
3799 /* end confdefs.h. */
3800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3802 #define $ac_func innocuous_$ac_func
3804 /* System header to define __stub macros and hopefully few prototypes,
3805 which can conflict with char $ac_func (); below.
3806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3807 <limits.h> exists even on freestanding compilers. */
3810 # include <limits.h>
3812 # include <assert.h>
3817 /* Override any gcc2 internal prototype to avoid an error. */
3822 /* We use char because int might match the return type of a gcc2
3823 builtin and then its argument prototype would still apply. */
3825 /* The GNU C library defines this for functions which it implements
3826 to always fail with ENOSYS. Some functions are actually named
3827 something starting with __ and the normal name is an alias. */
3828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3831 char (*f) () = $ac_func;
3840 return f != $ac_func;
3845 rm -f conftest.
$ac_objext conftest
$ac_exeext
3846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3847 (eval $ac_link) 2>conftest.er1
3849 grep -v '^ *+' conftest.er1
>conftest.err
3851 cat conftest.err
>&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } &&
3854 { ac_try
='test -z "$ac_c_werror_flag"
3855 || test ! -s conftest.err'
3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); }; } &&
3861 { ac_try
='test -s conftest$ac_exeext'
3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); }; }; then
3867 eval "$as_ac_var=yes"
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.
$ac_ext >&5
3872 eval "$as_ac_var=no"
3874 rm -f conftest.err conftest.
$ac_objext \
3875 conftest
$ac_exeext conftest.
$ac_ext
3877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3879 if test `eval echo '${'$as_ac_var'}'` = yes; then
3881 cat >>confdefs.h
<<_ACEOF
3882 #define CRAY_STACKSEG_END $ac_func
3891 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3892 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3893 if test "${ac_cv_c_stack_direction+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 if test "$cross_compiling" = yes; then
3897 ac_cv_c_stack_direction
=0
3899 cat >conftest.
$ac_ext <<_ACEOF
3902 cat confdefs.h
>>conftest.
$ac_ext
3903 cat >>conftest.
$ac_ext <<_ACEOF
3904 /* end confdefs.h. */
3906 find_stack_direction ()
3908 static char *addr = 0;
3913 return find_stack_direction ();
3916 return (&dummy > addr) ? 1 : -1;
3922 exit (find_stack_direction () < 0);
3925 rm -f conftest
$ac_exeext
3926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3927 (eval $ac_link) 2>&5
3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; }; then
3936 ac_cv_c_stack_direction
=1
3938 echo "$as_me: program exited with status $ac_status" >&5
3939 echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.
$ac_ext >&5
3943 ac_cv_c_stack_direction
=-1
3945 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3948 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
3949 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3951 cat >>confdefs.h
<<_ACEOF
3952 #define STACK_DIRECTION $ac_cv_c_stack_direction
3960 for ac_header
in stdlib.h unistd.h
3962 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3964 echo "$as_me:$LINENO: checking for $ac_header" >&5
3965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3972 # Is the header compilable?
3973 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3974 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3975 cat >conftest.
$ac_ext <<_ACEOF
3978 cat confdefs.h
>>conftest.
$ac_ext
3979 cat >>conftest.
$ac_ext <<_ACEOF
3980 /* end confdefs.h. */
3981 $ac_includes_default
3982 #include <$ac_header>
3984 rm -f conftest.
$ac_objext
3985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3986 (eval $ac_compile) 2>conftest.er1
3988 grep -v '^ *+' conftest.er1
>conftest.err
3990 cat conftest.err
>&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } &&
3993 { ac_try
='test -z "$ac_c_werror_flag"
3994 || test ! -s conftest.err'
3995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); }; } &&
4000 { ac_try
='test -s conftest.$ac_objext'
4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); }; }; then
4006 ac_header_compiler
=yes
4008 echo "$as_me: failed program was:" >&5
4009 sed 's/^/| /' conftest.
$ac_ext >&5
4011 ac_header_compiler
=no
4013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4015 echo "${ECHO_T}$ac_header_compiler" >&6
4017 # Is the header present?
4018 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4020 cat >conftest.
$ac_ext <<_ACEOF
4023 cat confdefs.h
>>conftest.
$ac_ext
4024 cat >>conftest.
$ac_ext <<_ACEOF
4025 /* end confdefs.h. */
4026 #include <$ac_header>
4028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4029 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4031 grep -v '^ *+' conftest.er1
>conftest.err
4033 cat conftest.err
>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } >/dev
/null
; then
4036 if test -s conftest.err
; then
4037 ac_cpp_err
=$ac_c_preproc_warn_flag
4038 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4045 if test -z "$ac_cpp_err"; then
4046 ac_header_preproc
=yes
4048 echo "$as_me: failed program was:" >&5
4049 sed 's/^/| /' conftest.
$ac_ext >&5
4051 ac_header_preproc
=no
4053 rm -f conftest.err conftest.
$ac_ext
4054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4055 echo "${ECHO_T}$ac_header_preproc" >&6
4057 # So? What about this header?
4058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4064 ac_header_preproc
=yes
4067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4081 ## ------------------------------------------ ##
4082 ## Report this to the AC_PACKAGE_NAME lists. ##
4083 ## ------------------------------------------ ##
4086 sed "s/^/$as_me: WARNING: /" >&2
4089 echo "$as_me:$LINENO: checking for $ac_header" >&5
4090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4092 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 eval "$as_ac_Header=\$ac_header_preproc"
4096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4101 cat >>confdefs.h
<<_ACEOF
4102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4110 for ac_func
in getpagesize
4112 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4113 echo "$as_me:$LINENO: checking for $ac_func" >&5
4114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4115 if eval "test \"\${$as_ac_var+set}\" = set"; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 cat >conftest.
$ac_ext <<_ACEOF
4121 cat confdefs.h
>>conftest.
$ac_ext
4122 cat >>conftest.
$ac_ext <<_ACEOF
4123 /* end confdefs.h. */
4124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4126 #define $ac_func innocuous_$ac_func
4128 /* System header to define __stub macros and hopefully few prototypes,
4129 which can conflict with char $ac_func (); below.
4130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4131 <limits.h> exists even on freestanding compilers. */
4134 # include <limits.h>
4136 # include <assert.h>
4141 /* Override any gcc2 internal prototype to avoid an error. */
4146 /* We use char because int might match the return type of a gcc2
4147 builtin and then its argument prototype would still apply. */
4149 /* The GNU C library defines this for functions which it implements
4150 to always fail with ENOSYS. Some functions are actually named
4151 something starting with __ and the normal name is an alias. */
4152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4155 char (*f) () = $ac_func;
4164 return f != $ac_func;
4169 rm -f conftest.
$ac_objext conftest
$ac_exeext
4170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4171 (eval $ac_link) 2>conftest.er1
4173 grep -v '^ *+' conftest.er1
>conftest.err
4175 cat conftest.err
>&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); } &&
4178 { ac_try
='test -z "$ac_c_werror_flag"
4179 || test ! -s conftest.err'
4180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); }; } &&
4185 { ac_try
='test -s conftest$ac_exeext'
4186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); }; }; then
4191 eval "$as_ac_var=yes"
4193 echo "$as_me: failed program was:" >&5
4194 sed 's/^/| /' conftest.
$ac_ext >&5
4196 eval "$as_ac_var=no"
4198 rm -f conftest.err conftest.
$ac_objext \
4199 conftest
$ac_exeext conftest.
$ac_ext
4201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4203 if test `eval echo '${'$as_ac_var'}'` = yes; then
4204 cat >>confdefs.h
<<_ACEOF
4205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4211 echo "$as_me:$LINENO: checking for working mmap" >&5
4212 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4213 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 if test "$cross_compiling" = yes; then
4217 ac_cv_func_mmap_fixed_mapped
=no
4219 cat >conftest.
$ac_ext <<_ACEOF
4222 cat confdefs.h
>>conftest.
$ac_ext
4223 cat >>conftest.
$ac_ext <<_ACEOF
4224 /* end confdefs.h. */
4225 $ac_includes_default
4226 /* malloc might have been renamed as rpl_malloc. */
4229 /* Thanks to Mike Haertel and Jim Avera for this test.
4230 Here is a matrix of mmap possibilities:
4231 mmap private not fixed
4232 mmap private fixed at somewhere currently unmapped
4233 mmap private fixed at somewhere already mapped
4234 mmap shared not fixed
4235 mmap shared fixed at somewhere currently unmapped
4236 mmap shared fixed at somewhere already mapped
4237 For private mappings, we should verify that changes cannot be read()
4238 back from the file, nor mmap's back from the file at a different
4239 address. (There have been systems where private was not correctly
4240 implemented like the infamous i386 svr4.0, and systems where the
4241 VM page cache was not coherent with the file system buffer cache
4242 like early versions of FreeBSD and possibly contemporary NetBSD.)
4243 For shared mappings, we should conversely verify that changes get
4244 propagated back to all the places they're supposed to be.
4246 Grep wants private fixed already mapped.
4247 The main things grep needs to know about mmap are:
4248 * does it exist and is it safe to write into the mmap'd area
4249 * how to use it (BSD variants) */
4252 #include <sys/mman.h>
4254 #if !STDC_HEADERS && !HAVE_STDLIB_H
4258 /* This mess was copied from the GNU getpagesize.h. */
4259 #if !HAVE_GETPAGESIZE
4260 /* Assume that all systems that can run configure have sys/param.h. */
4261 # if !HAVE_SYS_PARAM_H
4262 # define HAVE_SYS_PARAM_H 1
4265 # ifdef _SC_PAGESIZE
4266 # define getpagesize() sysconf(_SC_PAGESIZE)
4267 # else /* no _SC_PAGESIZE */
4268 # if HAVE_SYS_PARAM_H
4269 # include <sys/param.h>
4270 # ifdef EXEC_PAGESIZE
4271 # define getpagesize() EXEC_PAGESIZE
4272 # else /* no EXEC_PAGESIZE */
4274 # define getpagesize() NBPG * CLSIZE
4277 # endif /* no CLSIZE */
4278 # else /* no NBPG */
4280 # define getpagesize() NBPC
4281 # else /* no NBPC */
4283 # define getpagesize() PAGESIZE
4284 # endif /* PAGESIZE */
4285 # endif /* no NBPC */
4286 # endif /* no NBPG */
4287 # endif /* no EXEC_PAGESIZE */
4288 # else /* no HAVE_SYS_PARAM_H */
4289 # define getpagesize() 8192 /* punt totally */
4290 # endif /* no HAVE_SYS_PARAM_H */
4291 # endif /* no _SC_PAGESIZE */
4293 #endif /* no HAVE_GETPAGESIZE */
4298 char *data, *data2, *data3;
4302 pagesize = getpagesize ();
4304 /* First, make a file with some known garbage in it. */
4305 data = (char *) malloc (pagesize);
4308 for (i = 0; i < pagesize; ++i)
4309 *(data + i) = rand ();
4311 fd = creat ("conftest.mmap", 0600);
4314 if (write (fd, data, pagesize) != pagesize)
4318 /* Next, try to mmap the file at a fixed address which already has
4319 something else allocated at it. If we can, also make sure that
4320 we see the same garbage. */
4321 fd = open ("conftest.mmap", O_RDWR);
4324 data2 = (char *) malloc (2 * pagesize);
4327 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4328 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4329 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4331 for (i = 0; i < pagesize; ++i)
4332 if (*(data + i) != *(data2 + i))
4335 /* Finally, make sure that changes to the mapped area do not
4336 percolate back to the file as seen by read(). (This is a bug on
4337 some variants of i386 svr4.0.) */
4338 for (i = 0; i < pagesize; ++i)
4339 *(data2 + i) = *(data2 + i) + 1;
4340 data3 = (char *) malloc (pagesize);
4343 if (read (fd, data3, pagesize) != pagesize)
4345 for (i = 0; i < pagesize; ++i)
4346 if (*(data + i) != *(data3 + i))
4352 rm -f conftest
$ac_exeext
4353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4354 (eval $ac_link) 2>&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); }; }; then
4363 ac_cv_func_mmap_fixed_mapped
=yes
4365 echo "$as_me: program exited with status $ac_status" >&5
4366 echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.
$ac_ext >&5
4370 ac_cv_func_mmap_fixed_mapped
=no
4372 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4375 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4376 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4377 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4379 cat >>confdefs.h
<<\_ACEOF
4396 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4397 unistd.h values.h sys
/param.h
4399 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4401 echo "$as_me:$LINENO: checking for $ac_header" >&5
4402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4404 echo $ECHO_N "(cached) $ECHO_C" >&6
4406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4409 # Is the header compilable?
4410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4412 cat >conftest.
$ac_ext <<_ACEOF
4415 cat confdefs.h
>>conftest.
$ac_ext
4416 cat >>conftest.
$ac_ext <<_ACEOF
4417 /* end confdefs.h. */
4418 $ac_includes_default
4419 #include <$ac_header>
4421 rm -f conftest.
$ac_objext
4422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4423 (eval $ac_compile) 2>conftest.er1
4425 grep -v '^ *+' conftest.er1
>conftest.err
4427 cat conftest.err
>&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } &&
4430 { ac_try
='test -z "$ac_c_werror_flag"
4431 || test ! -s conftest.err'
4432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&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_header_compiler
=yes
4445 echo "$as_me: failed program was:" >&5
4446 sed 's/^/| /' conftest.
$ac_ext >&5
4448 ac_header_compiler
=no
4450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4452 echo "${ECHO_T}$ac_header_compiler" >&6
4454 # Is the header present?
4455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4457 cat >conftest.
$ac_ext <<_ACEOF
4460 cat confdefs.h
>>conftest.
$ac_ext
4461 cat >>conftest.
$ac_ext <<_ACEOF
4462 /* end confdefs.h. */
4463 #include <$ac_header>
4465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4468 grep -v '^ *+' conftest.er1
>conftest.err
4470 cat conftest.err
>&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); } >/dev
/null
; then
4473 if test -s conftest.err
; then
4474 ac_cpp_err
=$ac_c_preproc_warn_flag
4475 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4482 if test -z "$ac_cpp_err"; then
4483 ac_header_preproc
=yes
4485 echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.
$ac_ext >&5
4488 ac_header_preproc
=no
4490 rm -f conftest.err conftest.
$ac_ext
4491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4492 echo "${ECHO_T}$ac_header_preproc" >&6
4494 # So? What about this header?
4495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4501 ac_header_preproc
=yes
4504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4518 ## ------------------------------------------ ##
4519 ## Report this to the AC_PACKAGE_NAME lists. ##
4520 ## ------------------------------------------ ##
4523 sed "s/^/$as_me: WARNING: /" >&2
4526 echo "$as_me:$LINENO: checking for $ac_header" >&5
4527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4529 echo $ECHO_N "(cached) $ECHO_C" >&6
4531 eval "$as_ac_Header=\$ac_header_preproc"
4533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4538 cat >>confdefs.h
<<_ACEOF
4539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4556 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4557 __argz_count __argz_stringify __argz_next
4559 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4560 echo "$as_me:$LINENO: checking for $ac_func" >&5
4561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4562 if eval "test \"\${$as_ac_var+set}\" = set"; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 cat >conftest.
$ac_ext <<_ACEOF
4568 cat confdefs.h
>>conftest.
$ac_ext
4569 cat >>conftest.
$ac_ext <<_ACEOF
4570 /* end confdefs.h. */
4571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4573 #define $ac_func innocuous_$ac_func
4575 /* System header to define __stub macros and hopefully few prototypes,
4576 which can conflict with char $ac_func (); below.
4577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4578 <limits.h> exists even on freestanding compilers. */
4581 # include <limits.h>
4583 # include <assert.h>
4588 /* Override any gcc2 internal prototype to avoid an error. */
4593 /* We use char because int might match the return type of a gcc2
4594 builtin and then its argument prototype would still apply. */
4596 /* The GNU C library defines this for functions which it implements
4597 to always fail with ENOSYS. Some functions are actually named
4598 something starting with __ and the normal name is an alias. */
4599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4602 char (*f) () = $ac_func;
4611 return f != $ac_func;
4616 rm -f conftest.
$ac_objext conftest
$ac_exeext
4617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4618 (eval $ac_link) 2>conftest.er1
4620 grep -v '^ *+' conftest.er1
>conftest.err
4622 cat conftest.err
>&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); } &&
4625 { ac_try
='test -z "$ac_c_werror_flag"
4626 || test ! -s conftest.err'
4627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); }; } &&
4632 { ac_try
='test -s conftest$ac_exeext'
4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); }; }; then
4638 eval "$as_ac_var=yes"
4640 echo "$as_me: failed program was:" >&5
4641 sed 's/^/| /' conftest.
$ac_ext >&5
4643 eval "$as_ac_var=no"
4645 rm -f conftest.err conftest.
$ac_objext \
4646 conftest
$ac_exeext conftest.
$ac_ext
4648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4650 if test `eval echo '${'$as_ac_var'}'` = yes; then
4651 cat >>confdefs.h
<<_ACEOF
4652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4659 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4661 for ac_func
in stpcpy
4663 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4664 echo "$as_me:$LINENO: checking for $ac_func" >&5
4665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4666 if eval "test \"\${$as_ac_var+set}\" = set"; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 cat >conftest.
$ac_ext <<_ACEOF
4672 cat confdefs.h
>>conftest.
$ac_ext
4673 cat >>conftest.
$ac_ext <<_ACEOF
4674 /* end confdefs.h. */
4675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4677 #define $ac_func innocuous_$ac_func
4679 /* System header to define __stub macros and hopefully few prototypes,
4680 which can conflict with char $ac_func (); below.
4681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4682 <limits.h> exists even on freestanding compilers. */
4685 # include <limits.h>
4687 # include <assert.h>
4692 /* Override any gcc2 internal prototype to avoid an error. */
4697 /* We use char because int might match the return type of a gcc2
4698 builtin and then its argument prototype would still apply. */
4700 /* The GNU C library defines this for functions which it implements
4701 to always fail with ENOSYS. Some functions are actually named
4702 something starting with __ and the normal name is an alias. */
4703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4706 char (*f) () = $ac_func;
4715 return f != $ac_func;
4720 rm -f conftest.
$ac_objext conftest
$ac_exeext
4721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4722 (eval $ac_link) 2>conftest.er1
4724 grep -v '^ *+' conftest.er1
>conftest.err
4726 cat conftest.err
>&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); } &&
4729 { ac_try
='test -z "$ac_c_werror_flag"
4730 || test ! -s conftest.err'
4731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; } &&
4736 { ac_try
='test -s conftest$ac_exeext'
4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; }; then
4742 eval "$as_ac_var=yes"
4744 echo "$as_me: failed program was:" >&5
4745 sed 's/^/| /' conftest.
$ac_ext >&5
4747 eval "$as_ac_var=no"
4749 rm -f conftest.err conftest.
$ac_objext \
4750 conftest
$ac_exeext conftest.
$ac_ext
4752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4754 if test `eval echo '${'$as_ac_var'}'` = yes; then
4755 cat >>confdefs.h
<<_ACEOF
4756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4763 if test "${ac_cv_func_stpcpy}" = "yes"; then
4765 cat >>confdefs.h
<<\_ACEOF
4766 #define HAVE_STPCPY 1
4771 if test $ac_cv_header_locale_h = yes; then
4772 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4773 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4774 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 cat >conftest.
$ac_ext <<_ACEOF
4780 cat confdefs.h
>>conftest.
$ac_ext
4781 cat >>conftest.
$ac_ext <<_ACEOF
4782 /* end confdefs.h. */
4792 rm -f conftest.
$ac_objext conftest
$ac_exeext
4793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4794 (eval $ac_link) 2>conftest.er1
4796 grep -v '^ *+' conftest.er1
>conftest.err
4798 cat conftest.err
>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } &&
4801 { ac_try
='test -z "$ac_c_werror_flag"
4802 || test ! -s conftest.err'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; } &&
4808 { ac_try
='test -s conftest$ac_exeext'
4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
4814 am_cv_val_LC_MESSAGES
=yes
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4819 am_cv_val_LC_MESSAGES
=no
4821 rm -f conftest.err conftest.
$ac_objext \
4822 conftest
$ac_exeext conftest.
$ac_ext
4824 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4825 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4826 if test $am_cv_val_LC_MESSAGES = yes; then
4828 cat >>confdefs.h
<<\_ACEOF
4829 #define HAVE_LC_MESSAGES 1
4834 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4835 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4836 # Check whether --enable-nls or --disable-nls was given.
4837 if test "${enable_nls+set}" = set; then
4838 enableval
="$enable_nls"
4843 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4844 echo "${ECHO_T}$USE_NLS" >&6
4847 USE_INCLUDED_LIBINTL
=no
4849 if test "$USE_NLS" = "yes"; then
4850 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4851 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4853 # Check whether --with-included-gettext or --without-included-gettext was given.
4854 if test "${with_included_gettext+set}" = set; then
4855 withval
="$with_included_gettext"
4856 nls_cv_force_use_gnu_gettext
=$withval
4858 nls_cv_force_use_gnu_gettext
=no
4860 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4861 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4863 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4864 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4866 nls_cv_header_libgt
=
4869 if test "${ac_cv_header_libintl_h+set}" = set; then
4870 echo "$as_me:$LINENO: checking for libintl.h" >&5
4871 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4872 if test "${ac_cv_header_libintl_h+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4876 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4878 # Is the header compilable?
4879 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4880 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4881 cat >conftest.
$ac_ext <<_ACEOF
4884 cat confdefs.h
>>conftest.
$ac_ext
4885 cat >>conftest.
$ac_ext <<_ACEOF
4886 /* end confdefs.h. */
4887 $ac_includes_default
4888 #include <libintl.h>
4890 rm -f conftest.
$ac_objext
4891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4892 (eval $ac_compile) 2>conftest.er1
4894 grep -v '^ *+' conftest.er1
>conftest.err
4896 cat conftest.err
>&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); } &&
4899 { ac_try
='test -z "$ac_c_werror_flag"
4900 || test ! -s conftest.err'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; } &&
4906 { ac_try
='test -s conftest.$ac_objext'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; }; then
4912 ac_header_compiler
=yes
4914 echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.
$ac_ext >&5
4917 ac_header_compiler
=no
4919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4921 echo "${ECHO_T}$ac_header_compiler" >&6
4923 # Is the header present?
4924 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4925 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4926 cat >conftest.
$ac_ext <<_ACEOF
4929 cat confdefs.h
>>conftest.
$ac_ext
4930 cat >>conftest.
$ac_ext <<_ACEOF
4931 /* end confdefs.h. */
4932 #include <libintl.h>
4934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4937 grep -v '^ *+' conftest.er1
>conftest.err
4939 cat conftest.err
>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } >/dev
/null
; then
4942 if test -s conftest.err
; then
4943 ac_cpp_err
=$ac_c_preproc_warn_flag
4944 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4951 if test -z "$ac_cpp_err"; then
4952 ac_header_preproc
=yes
4954 echo "$as_me: failed program was:" >&5
4955 sed 's/^/| /' conftest.
$ac_ext >&5
4957 ac_header_preproc
=no
4959 rm -f conftest.err conftest.
$ac_ext
4960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4961 echo "${ECHO_T}$ac_header_preproc" >&6
4963 # So? What about this header?
4964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4966 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4967 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4968 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4969 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4970 ac_header_preproc
=yes
4973 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4974 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4975 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4976 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4977 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4978 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4979 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4980 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4981 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4982 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4983 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4984 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4987 ## ------------------------------------------ ##
4988 ## Report this to the AC_PACKAGE_NAME lists. ##
4989 ## ------------------------------------------ ##
4992 sed "s/^/$as_me: WARNING: /" >&2
4995 echo "$as_me:$LINENO: checking for libintl.h" >&5
4996 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4997 if test "${ac_cv_header_libintl_h+set}" = set; then
4998 echo $ECHO_N "(cached) $ECHO_C" >&6
5000 ac_cv_header_libintl_h
=$ac_header_preproc
5002 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5003 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
5006 if test $ac_cv_header_libintl_h = yes; then
5007 echo "$as_me:$LINENO: checking for gettext in libc" >&5
5008 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
5009 if test "${gt_cv_func_gettext_libc+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 cat >conftest.
$ac_ext <<_ACEOF
5015 cat confdefs.h
>>conftest.
$ac_ext
5016 cat >>conftest.
$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5018 #include <libintl.h>
5022 return (int) gettext ("")
5027 rm -f conftest.
$ac_objext conftest
$ac_exeext
5028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5029 (eval $ac_link) 2>conftest.er1
5031 grep -v '^ *+' conftest.er1
>conftest.err
5033 cat conftest.err
>&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } &&
5036 { ac_try
='test -z "$ac_c_werror_flag"
5037 || test ! -s conftest.err'
5038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); }; } &&
5043 { ac_try
='test -s conftest$ac_exeext'
5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); }; }; then
5049 gt_cv_func_gettext_libc
=yes
5051 echo "$as_me: failed program was:" >&5
5052 sed 's/^/| /' conftest.
$ac_ext >&5
5054 gt_cv_func_gettext_libc
=no
5056 rm -f conftest.err conftest.
$ac_objext \
5057 conftest
$ac_exeext conftest.
$ac_ext
5059 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
5060 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
5062 if test "$gt_cv_func_gettext_libc" != "yes"; then
5063 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5064 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
5065 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 ac_check_lib_save_LIBS
=$LIBS
5070 cat >conftest.
$ac_ext <<_ACEOF
5073 cat confdefs.h
>>conftest.
$ac_ext
5074 cat >>conftest.
$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5077 /* Override any gcc2 internal prototype to avoid an error. */
5081 /* We use char because int might match the return type of a gcc2
5082 builtin and then its argument prototype would still apply. */
5083 char bindtextdomain ();
5092 rm -f conftest.
$ac_objext conftest
$ac_exeext
5093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5094 (eval $ac_link) 2>conftest.er1
5096 grep -v '^ *+' conftest.er1
>conftest.err
5098 cat conftest.err
>&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); } &&
5101 { ac_try
='test -z "$ac_c_werror_flag"
5102 || test ! -s conftest.err'
5103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); }; } &&
5108 { ac_try
='test -s conftest$ac_exeext'
5109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); }; }; then
5114 ac_cv_lib_intl_bindtextdomain
=yes
5116 echo "$as_me: failed program was:" >&5
5117 sed 's/^/| /' conftest.
$ac_ext >&5
5119 ac_cv_lib_intl_bindtextdomain
=no
5121 rm -f conftest.err conftest.
$ac_objext \
5122 conftest
$ac_exeext conftest.
$ac_ext
5123 LIBS
=$ac_check_lib_save_LIBS
5125 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5126 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5127 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5128 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5129 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5130 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5131 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 cat >conftest.
$ac_ext <<_ACEOF
5136 cat confdefs.h
>>conftest.
$ac_ext
5137 cat >>conftest.
$ac_ext <<_ACEOF
5138 /* end confdefs.h. */
5143 return (int) gettext ("")
5148 rm -f conftest.
$ac_objext conftest
$ac_exeext
5149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5150 (eval $ac_link) 2>conftest.er1
5152 grep -v '^ *+' conftest.er1
>conftest.err
5154 cat conftest.err
>&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); } &&
5157 { ac_try
='test -z "$ac_c_werror_flag"
5158 || test ! -s conftest.err'
5159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); }; } &&
5164 { ac_try
='test -s conftest$ac_exeext'
5165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); }; }; then
5170 gt_cv_func_gettext_libintl
=yes
5172 echo "$as_me: failed program was:" >&5
5173 sed 's/^/| /' conftest.
$ac_ext >&5
5175 gt_cv_func_gettext_libintl
=no
5177 rm -f conftest.err conftest.
$ac_objext \
5178 conftest
$ac_exeext conftest.
$ac_ext
5180 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5181 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5186 if test "$gt_cv_func_gettext_libc" = "yes" \
5187 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
5189 cat >>confdefs.h
<<\_ACEOF
5190 #define HAVE_GETTEXT 1
5193 # Extract the first word of "msgfmt", so it can be a program name with args.
5194 set dummy msgfmt
; ac_word
=$2
5195 echo "$as_me:$LINENO: checking for $ac_word" >&5
5196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5197 if test "${ac_cv_path_MSGFMT+set}" = set; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5202 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5205 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5206 for ac_dir
in $PATH; do
5207 test -z "$ac_dir" && ac_dir
=.
5208 if test -f $ac_dir/$ac_word; then
5209 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5210 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5216 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5220 MSGFMT
="$ac_cv_path_MSGFMT"
5221 if test -n "$MSGFMT"; then
5222 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5223 echo "${ECHO_T}$MSGFMT" >&6
5225 echo "$as_me:$LINENO: result: no" >&5
5226 echo "${ECHO_T}no" >&6
5228 if test "$MSGFMT" != "no"; then
5230 for ac_func
in dcgettext
5232 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5233 echo "$as_me:$LINENO: checking for $ac_func" >&5
5234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5235 if eval "test \"\${$as_ac_var+set}\" = set"; then
5236 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 cat >conftest.
$ac_ext <<_ACEOF
5241 cat confdefs.h
>>conftest.
$ac_ext
5242 cat >>conftest.
$ac_ext <<_ACEOF
5243 /* end confdefs.h. */
5244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5246 #define $ac_func innocuous_$ac_func
5248 /* System header to define __stub macros and hopefully few prototypes,
5249 which can conflict with char $ac_func (); below.
5250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5251 <limits.h> exists even on freestanding compilers. */
5254 # include <limits.h>
5256 # include <assert.h>
5261 /* Override any gcc2 internal prototype to avoid an error. */
5266 /* We use char because int might match the return type of a gcc2
5267 builtin and then its argument prototype would still apply. */
5269 /* The GNU C library defines this for functions which it implements
5270 to always fail with ENOSYS. Some functions are actually named
5271 something starting with __ and the normal name is an alias. */
5272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5275 char (*f) () = $ac_func;
5284 return f != $ac_func;
5289 rm -f conftest.
$ac_objext conftest
$ac_exeext
5290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5291 (eval $ac_link) 2>conftest.er1
5293 grep -v '^ *+' conftest.er1
>conftest.err
5295 cat conftest.err
>&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); } &&
5298 { ac_try
='test -z "$ac_c_werror_flag"
5299 || test ! -s conftest.err'
5300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); }; } &&
5305 { ac_try
='test -s conftest$ac_exeext'
5306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); }; }; then
5311 eval "$as_ac_var=yes"
5313 echo "$as_me: failed program was:" >&5
5314 sed 's/^/| /' conftest.
$ac_ext >&5
5316 eval "$as_ac_var=no"
5318 rm -f conftest.err conftest.
$ac_objext \
5319 conftest
$ac_exeext conftest.
$ac_ext
5321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5323 if test `eval echo '${'$as_ac_var'}'` = yes; then
5324 cat >>confdefs.h
<<_ACEOF
5325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5331 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5332 set dummy gmsgfmt
; ac_word
=$2
5333 echo "$as_me:$LINENO: checking for $ac_word" >&5
5334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5335 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5340 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir
=.
5348 for ac_exec_ext
in '' $ac_executable_extensions; do
5349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5350 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5361 GMSGFMT
=$ac_cv_path_GMSGFMT
5363 if test -n "$GMSGFMT"; then
5364 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5365 echo "${ECHO_T}$GMSGFMT" >&6
5367 echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6
5371 # Extract the first word of "xgettext", so it can be a program name with args.
5372 set dummy xgettext
; ac_word
=$2
5373 echo "$as_me:$LINENO: checking for $ac_word" >&5
5374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5375 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5376 echo $ECHO_N "(cached) $ECHO_C" >&6
5380 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5383 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5384 for ac_dir
in $PATH; do
5385 test -z "$ac_dir" && ac_dir
=.
5386 if test -f $ac_dir/$ac_word; then
5387 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5388 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5394 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5398 XGETTEXT
="$ac_cv_path_XGETTEXT"
5399 if test -n "$XGETTEXT"; then
5400 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5401 echo "${ECHO_T}$XGETTEXT" >&6
5403 echo "$as_me:$LINENO: result: no" >&5
5404 echo "${ECHO_T}no" >&6
5407 cat >conftest.
$ac_ext <<_ACEOF
5410 cat confdefs.h
>>conftest.
$ac_ext
5411 cat >>conftest.
$ac_ext <<_ACEOF
5412 /* end confdefs.h. */
5417 extern int _nl_msg_cat_cntr;
5418 return _nl_msg_cat_cntr
5423 rm -f conftest.
$ac_objext conftest
$ac_exeext
5424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5425 (eval $ac_link) 2>conftest.er1
5427 grep -v '^ *+' conftest.er1
>conftest.err
5429 cat conftest.err
>&5
5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); } &&
5432 { ac_try
='test -z "$ac_c_werror_flag"
5433 || test ! -s conftest.err'
5434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); }; } &&
5439 { ac_try
='test -s conftest$ac_exeext'
5440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); }; }; then
5448 echo "$as_me: failed program was:" >&5
5449 sed 's/^/| /' conftest.
$ac_ext >&5
5454 rm -f conftest.err conftest.
$ac_objext \
5455 conftest
$ac_exeext conftest.
$ac_ext
5465 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
5466 # Neither gettext nor catgets in included in the C library.
5467 # Fall back on GNU gettext library (assuming it is present).
5468 nls_cv_use_gnu_gettext
=yes
5472 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5473 INTLOBJS
="\$(GETTOBJS)"
5474 # Extract the first word of "msgfmt", so it can be a program name with args.
5475 set dummy msgfmt
; ac_word
=$2
5476 echo "$as_me:$LINENO: checking for $ac_word" >&5
5477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5478 if test "${ac_cv_path_MSGFMT+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5483 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5486 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5487 for ac_dir
in $PATH; do
5488 test -z "$ac_dir" && ac_dir
=.
5489 if test -f $ac_dir/$ac_word; then
5490 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5491 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5497 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
5501 MSGFMT
="$ac_cv_path_MSGFMT"
5502 if test -n "$MSGFMT"; then
5503 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5504 echo "${ECHO_T}$MSGFMT" >&6
5506 echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6
5510 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5511 set dummy gmsgfmt
; ac_word
=$2
5512 echo "$as_me:$LINENO: checking for $ac_word" >&5
5513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5514 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5519 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5526 test -z "$as_dir" && as_dir
=.
5527 for ac_exec_ext
in '' $ac_executable_extensions; do
5528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5540 GMSGFMT
=$ac_cv_path_GMSGFMT
5542 if test -n "$GMSGFMT"; then
5543 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5544 echo "${ECHO_T}$GMSGFMT" >&6
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5550 # Extract the first word of "xgettext", so it can be a program name with args.
5551 set dummy xgettext
; ac_word
=$2
5552 echo "$as_me:$LINENO: checking for $ac_word" >&5
5553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5554 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5555 echo $ECHO_N "(cached) $ECHO_C" >&6
5559 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5562 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5563 for ac_dir
in $PATH; do
5564 test -z "$ac_dir" && ac_dir
=.
5565 if test -f $ac_dir/$ac_word; then
5566 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5567 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5573 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5577 XGETTEXT
="$ac_cv_path_XGETTEXT"
5578 if test -n "$XGETTEXT"; then
5579 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5580 echo "${ECHO_T}$XGETTEXT" >&6
5582 echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6
5587 USE_INCLUDED_LIBINTL
=yes
5591 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
5593 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5594 nls_cv_header_intl
=libintl.h
5595 nls_cv_header_libgt
=libgettext.h
5598 if test "$XGETTEXT" != ":"; then
5599 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5602 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5603 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5608 # We need to process the po/ directory.
5612 nls_cv_header_intl
=libintl.h
5613 nls_cv_header_libgt
=libgettext.h
5616 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5617 # because some of the sources are only built for this goal.
5618 if test "$PACKAGE" = gettext; then
5620 USE_INCLUDED_LIBINTL
=yes
5623 for lang
in $ALL_LINGUAS; do
5624 GMOFILES
="$GMOFILES $lang.gmo"
5625 POFILES
="$POFILES $lang.po"
5639 if test "x$CATOBJEXT" != "x"; then
5641 cat >>confdefs.h
<<\_ACEOF
5642 #define ENABLE_NLS 1
5648 if test "x$CATOBJEXT" != "x"; then
5649 if test "x$ALL_LINGUAS" = "x"; then
5652 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5653 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5655 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5656 case "$ALL_LINGUAS" in
5657 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5660 LINGUAS
=$NEW_LINGUAS
5661 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5662 echo "${ECHO_T}$LINGUAS" >&6
5665 if test -n "$LINGUAS"; then
5666 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5670 if test $ac_cv_header_locale_h = yes; then
5671 INCLUDE_LOCALE_H
="#include <locale.h>"
5674 /* The system does not provide the header <locale.h>. Take care yourself. */"
5678 if test -f $srcdir/po2tbl.
sed.
in; then
5679 if test "$CATOBJEXT" = ".cat"; then
5680 if test "${ac_cv_header_linux_version_h+set}" = set; then
5681 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5682 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5683 if test "${ac_cv_header_linux_version_h+set}" = set; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5687 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5689 # Is the header compilable?
5690 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5691 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5692 cat >conftest.
$ac_ext <<_ACEOF
5695 cat confdefs.h
>>conftest.
$ac_ext
5696 cat >>conftest.
$ac_ext <<_ACEOF
5697 /* end confdefs.h. */
5698 $ac_includes_default
5699 #include <linux/version.h>
5701 rm -f conftest.
$ac_objext
5702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5703 (eval $ac_compile) 2>conftest.er1
5705 grep -v '^ *+' conftest.er1
>conftest.err
5707 cat conftest.err
>&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); } &&
5710 { ac_try
='test -z "$ac_c_werror_flag"
5711 || test ! -s conftest.err'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; } &&
5717 { ac_try
='test -s conftest.$ac_objext'
5718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); }; }; then
5723 ac_header_compiler
=yes
5725 echo "$as_me: failed program was:" >&5
5726 sed 's/^/| /' conftest.
$ac_ext >&5
5728 ac_header_compiler
=no
5730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5732 echo "${ECHO_T}$ac_header_compiler" >&6
5734 # Is the header present?
5735 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5736 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5737 cat >conftest.
$ac_ext <<_ACEOF
5740 cat confdefs.h
>>conftest.
$ac_ext
5741 cat >>conftest.
$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5743 #include <linux/version.h>
5745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5746 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5748 grep -v '^ *+' conftest.er1
>conftest.err
5750 cat conftest.err
>&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); } >/dev
/null
; then
5753 if test -s conftest.err
; then
5754 ac_cpp_err
=$ac_c_preproc_warn_flag
5755 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5762 if test -z "$ac_cpp_err"; then
5763 ac_header_preproc
=yes
5765 echo "$as_me: failed program was:" >&5
5766 sed 's/^/| /' conftest.
$ac_ext >&5
5768 ac_header_preproc
=no
5770 rm -f conftest.err conftest.
$ac_ext
5771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5772 echo "${ECHO_T}$ac_header_preproc" >&6
5774 # So? What about this header?
5775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5777 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5778 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5779 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5780 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5781 ac_header_preproc
=yes
5784 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5785 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5786 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5787 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5788 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5789 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5790 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5791 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5792 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5793 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5794 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5795 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5798 ## ------------------------------------------ ##
5799 ## Report this to the AC_PACKAGE_NAME lists. ##
5800 ## ------------------------------------------ ##
5803 sed "s/^/$as_me: WARNING: /" >&2
5806 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5807 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5808 if test "${ac_cv_header_linux_version_h+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 ac_cv_header_linux_version_h
=$ac_header_preproc
5813 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5814 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5817 if test $ac_cv_header_linux_version_h = yes; then
5825 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
5827 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5828 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
5831 if test "$PACKAGE" = "gettext"; then
5841 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
5847 if test -f $srcdir/po
/POTFILES.
in; then
5848 test -d po || mkdir po
5849 if test "x$srcdir" != "x."; then
5850 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5851 posrcprefix
="$srcdir/"
5853 posrcprefix
="../$srcdir/"
5859 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5860 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5864 localedir
='${datadir}/locale'
5867 if test "x$POSUB" != x
; then
5869 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5870 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5871 # Look for .po and .gmo files in the source directory.
5874 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5875 # If there aren't any .gmo files the shell will give us the
5876 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5878 case "$cat" in *\
**)
5881 # The quadruple backslash is collapsed to a double backslash
5882 # by the backticks, then collapsed again by the double quotes,
5883 # leaving us with one backslash in the sed expression (right
5884 # before the dot that mustn't act as a wildcard).
5885 cat=`echo $cat | sed -e "s!$srcdir/!!" -e "s!\\\\.po!.gmo!"`
5886 lang
=`echo $cat | sed -e 's!po/!!' -e "s!\\\\.gmo!!"`
5887 # The user is allowed to set LINGUAS to a list of languages to
5888 # install catalogs for. If it's empty that means "all of them."
5889 if test "x$LINGUAS" = x
; then
5890 CATALOGS
="$CATALOGS $cat"
5891 XLINGUAS
="$XLINGUAS $lang"
5893 case "$LINGUAS" in *$lang*)
5894 CATALOGS
="$CATALOGS $cat"
5895 XLINGUAS
="$XLINGUAS $lang"
5901 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5902 echo "${ECHO_T}$LINGUAS" >&6
5904 CONFIG_ALL
="$CONFIG_ALL all-po"
5905 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
5906 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
5907 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
5912 cat >>confdefs.h
<<_ACEOF
5913 #define PACKAGE "$PACKAGE"
5918 debugdir
=${libdir}/debug
5921 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
5922 if test "${with_separate_debug_dir+set}" = set; then
5923 withval
="$with_separate_debug_dir"
5924 debugdir
="${withval}"
5928 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
5929 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5930 ac_define_dir
=`eval echo $debugdir`
5931 ac_define_dir
=`eval echo $ac_define_dir`
5933 cat >>confdefs.h
<<_ACEOF
5934 #define DEBUGDIR "$ac_define_dir"
5938 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
5942 subdirs
="$subdirs doc testsuite"
5945 .
$srcdir/configure.
host
5947 .
$srcdir/configure.tgt
5949 # Fetch the default architecture and default target vector from BFD.
5950 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
5952 # We only want the first architecture, so strip off the others if
5953 # there is more than one.
5954 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
5956 if test "x$targ_archs" != x
; then
5958 cat >>confdefs.h
<<_ACEOF
5959 #define DEFAULT_BFD_ARCH $targ_archs
5963 if test "x$targ_defvec" != x
; then
5965 cat >>confdefs.h
<<_ACEOF
5966 #define DEFAULT_BFD_VEC $targ_defvec
5971 test "$program_prefix" != NONE
&&
5972 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
5973 # Use a double $ so make ignores it.
5974 test "$program_suffix" != NONE
&&
5975 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
5976 # Double any \ or $. echo might interpret backslashes.
5977 # By default was `s,x,x', remove it if useless.
5978 cat <<\_ACEOF
>conftest.
sed
5979 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
5981 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
5985 # The CLI cannot be disabled yet, but may be in the future.
5988 # Check whether --enable-gdbcli or --disable-gdbcli was given.
5989 if test "${enable_gdbcli+set}" = set; then
5990 enableval
="$enable_gdbcli"
5995 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
5996 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
5997 { (exit 1); exit 1; }; } ;;
5999 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
6000 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
6001 { (exit 1); exit 1; }; } ;;
6006 if test x
"$enable_gdbcli" = xyes
; then
6007 if test -d $srcdir/cli
; then
6008 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
6009 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
6010 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
6011 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
6016 # Check whether --enable-gdbmi or --disable-gdbmi was given.
6017 if test "${enable_gdbmi+set}" = set; then
6018 enableval
="$enable_gdbmi"
6023 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
6024 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
6025 { (exit 1); exit 1; }; } ;;
6030 if test x
"$enable_gdbmi" = xyes
; then
6031 if test -d $srcdir/mi
; then
6032 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
6033 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
6034 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
6035 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
6040 # Check whether --enable-tui or --disable-tui was given.
6041 if test "${enable_tui+set}" = set; then
6042 enableval
="$enable_tui"
6047 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
6048 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
6049 { (exit 1); exit 1; }; } ;;
6056 # Check whether --enable-gdbtk or --disable-gdbtk was given.
6057 if test "${enable_gdbtk+set}" = set; then
6058 enableval
="$enable_gdbtk"
6063 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
6064 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
6065 { (exit 1); exit 1; }; } ;;
6068 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
6074 # We unconditionally disable gdbtk tests on selected platforms.
6077 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
6078 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
6082 # Libunwind support.
6084 # Check whether --with-libunwind or --without-libunwind was given.
6085 if test "${with_libunwind+set}" = set; then
6086 withval
="$with_libunwind"
6087 case "${withval}" in
6088 yes) enable_libunwind
=yes ;;
6089 no
) enable_libunwind
=no
;;
6090 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
6091 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
6092 { (exit 1); exit 1; }; } ;;
6097 for ac_header
in libunwind.h
6099 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6101 echo "$as_me:$LINENO: checking for $ac_header" >&5
6102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6104 echo $ECHO_N "(cached) $ECHO_C" >&6
6106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6109 # Is the header compilable?
6110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6112 cat >conftest.
$ac_ext <<_ACEOF
6115 cat confdefs.h
>>conftest.
$ac_ext
6116 cat >>conftest.
$ac_ext <<_ACEOF
6117 /* end confdefs.h. */
6118 $ac_includes_default
6119 #include <$ac_header>
6121 rm -f conftest.
$ac_objext
6122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6123 (eval $ac_compile) 2>conftest.er1
6125 grep -v '^ *+' conftest.er1
>conftest.err
6127 cat conftest.err
>&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); } &&
6130 { ac_try
='test -z "$ac_c_werror_flag"
6131 || test ! -s conftest.err'
6132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); }; } &&
6137 { ac_try
='test -s conftest.$ac_objext'
6138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142 (exit $ac_status); }; }; then
6143 ac_header_compiler
=yes
6145 echo "$as_me: failed program was:" >&5
6146 sed 's/^/| /' conftest.
$ac_ext >&5
6148 ac_header_compiler
=no
6150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6152 echo "${ECHO_T}$ac_header_compiler" >&6
6154 # Is the header present?
6155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6157 cat >conftest.
$ac_ext <<_ACEOF
6160 cat confdefs.h
>>conftest.
$ac_ext
6161 cat >>conftest.
$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6163 #include <$ac_header>
6165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6166 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6168 grep -v '^ *+' conftest.er1
>conftest.err
6170 cat conftest.err
>&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); } >/dev
/null
; then
6173 if test -s conftest.err
; then
6174 ac_cpp_err
=$ac_c_preproc_warn_flag
6175 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6182 if test -z "$ac_cpp_err"; then
6183 ac_header_preproc
=yes
6185 echo "$as_me: failed program was:" >&5
6186 sed 's/^/| /' conftest.
$ac_ext >&5
6188 ac_header_preproc
=no
6190 rm -f conftest.err conftest.
$ac_ext
6191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6192 echo "${ECHO_T}$ac_header_preproc" >&6
6194 # So? What about this header?
6195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6201 ac_header_preproc
=yes
6204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6218 ## ------------------------------------------ ##
6219 ## Report this to the AC_PACKAGE_NAME lists. ##
6220 ## ------------------------------------------ ##
6223 sed "s/^/$as_me: WARNING: /" >&2
6226 echo "$as_me:$LINENO: checking for $ac_header" >&5
6227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6229 echo $ECHO_N "(cached) $ECHO_C" >&6
6231 eval "$as_ac_Header=\$ac_header_preproc"
6233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6238 cat >>confdefs.h
<<_ACEOF
6239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6247 for ac_header
in libunwind-ia64.h
6249 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6251 echo "$as_me:$LINENO: checking for $ac_header" >&5
6252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6259 # Is the header compilable?
6260 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6262 cat >conftest.
$ac_ext <<_ACEOF
6265 cat confdefs.h
>>conftest.
$ac_ext
6266 cat >>conftest.
$ac_ext <<_ACEOF
6267 /* end confdefs.h. */
6268 $ac_includes_default
6269 #include <$ac_header>
6271 rm -f conftest.
$ac_objext
6272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6273 (eval $ac_compile) 2>conftest.er1
6275 grep -v '^ *+' conftest.er1
>conftest.err
6277 cat conftest.err
>&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); } &&
6280 { ac_try
='test -z "$ac_c_werror_flag"
6281 || test ! -s conftest.err'
6282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); }; } &&
6287 { ac_try
='test -s conftest.$ac_objext'
6288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); }; }; then
6293 ac_header_compiler
=yes
6295 echo "$as_me: failed program was:" >&5
6296 sed 's/^/| /' conftest.
$ac_ext >&5
6298 ac_header_compiler
=no
6300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6302 echo "${ECHO_T}$ac_header_compiler" >&6
6304 # Is the header present?
6305 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6306 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6307 cat >conftest.
$ac_ext <<_ACEOF
6310 cat confdefs.h
>>conftest.
$ac_ext
6311 cat >>conftest.
$ac_ext <<_ACEOF
6312 /* end confdefs.h. */
6313 #include <$ac_header>
6315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6316 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6318 grep -v '^ *+' conftest.er1
>conftest.err
6320 cat conftest.err
>&5
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); } >/dev
/null
; then
6323 if test -s conftest.err
; then
6324 ac_cpp_err
=$ac_c_preproc_warn_flag
6325 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6332 if test -z "$ac_cpp_err"; then
6333 ac_header_preproc
=yes
6335 echo "$as_me: failed program was:" >&5
6336 sed 's/^/| /' conftest.
$ac_ext >&5
6338 ac_header_preproc
=no
6340 rm -f conftest.err conftest.
$ac_ext
6341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6342 echo "${ECHO_T}$ac_header_preproc" >&6
6344 # So? What about this header?
6345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6347 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6350 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6351 ac_header_preproc
=yes
6354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6358 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6359 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6360 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6361 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6364 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6365 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6368 ## ------------------------------------------ ##
6369 ## Report this to the AC_PACKAGE_NAME lists. ##
6370 ## ------------------------------------------ ##
6373 sed "s/^/$as_me: WARNING: /" >&2
6376 echo "$as_me:$LINENO: checking for $ac_header" >&5
6377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 eval "$as_ac_Header=\$ac_header_preproc"
6383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6388 cat >>confdefs.h
<<_ACEOF
6389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6396 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
6397 enable_libunwind
=yes;
6402 if test x
"$enable_libunwind" = xyes
; then
6404 for ac_header
in libunwind.h
6406 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6408 echo "$as_me:$LINENO: checking for $ac_header" >&5
6409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6411 echo $ECHO_N "(cached) $ECHO_C" >&6
6413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6416 # Is the header compilable?
6417 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6418 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6419 cat >conftest.
$ac_ext <<_ACEOF
6422 cat confdefs.h
>>conftest.
$ac_ext
6423 cat >>conftest.
$ac_ext <<_ACEOF
6424 /* end confdefs.h. */
6425 $ac_includes_default
6426 #include <$ac_header>
6428 rm -f conftest.
$ac_objext
6429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6430 (eval $ac_compile) 2>conftest.er1
6432 grep -v '^ *+' conftest.er1
>conftest.err
6434 cat conftest.err
>&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); } &&
6437 { ac_try
='test -z "$ac_c_werror_flag"
6438 || test ! -s conftest.err'
6439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&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 ac_header_compiler
=yes
6452 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.
$ac_ext >&5
6455 ac_header_compiler
=no
6457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6459 echo "${ECHO_T}$ac_header_compiler" >&6
6461 # Is the header present?
6462 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6463 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6464 cat >conftest.
$ac_ext <<_ACEOF
6467 cat confdefs.h
>>conftest.
$ac_ext
6468 cat >>conftest.
$ac_ext <<_ACEOF
6469 /* end confdefs.h. */
6470 #include <$ac_header>
6472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6473 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6475 grep -v '^ *+' conftest.er1
>conftest.err
6477 cat conftest.err
>&5
6478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479 (exit $ac_status); } >/dev
/null
; then
6480 if test -s conftest.err
; then
6481 ac_cpp_err
=$ac_c_preproc_warn_flag
6482 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6489 if test -z "$ac_cpp_err"; then
6490 ac_header_preproc
=yes
6492 echo "$as_me: failed program was:" >&5
6493 sed 's/^/| /' conftest.
$ac_ext >&5
6495 ac_header_preproc
=no
6497 rm -f conftest.err conftest.
$ac_ext
6498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6499 echo "${ECHO_T}$ac_header_preproc" >&6
6501 # So? What about this header?
6502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6508 ac_header_preproc
=yes
6511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6515 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6517 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6518 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6521 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6525 ## ------------------------------------------ ##
6526 ## Report this to the AC_PACKAGE_NAME lists. ##
6527 ## ------------------------------------------ ##
6530 sed "s/^/$as_me: WARNING: /" >&2
6533 echo "$as_me:$LINENO: checking for $ac_header" >&5
6534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6536 echo $ECHO_N "(cached) $ECHO_C" >&6
6538 eval "$as_ac_Header=\$ac_header_preproc"
6540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6545 cat >>confdefs.h
<<_ACEOF
6546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6554 for ac_header
in libunwind-ia64.h
6556 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6558 echo "$as_me:$LINENO: checking for $ac_header" >&5
6559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6561 echo $ECHO_N "(cached) $ECHO_C" >&6
6563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6566 # Is the header compilable?
6567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6569 cat >conftest.
$ac_ext <<_ACEOF
6572 cat confdefs.h
>>conftest.
$ac_ext
6573 cat >>conftest.
$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 $ac_includes_default
6576 #include <$ac_header>
6578 rm -f conftest.
$ac_objext
6579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6580 (eval $ac_compile) 2>conftest.er1
6582 grep -v '^ *+' conftest.er1
>conftest.err
6584 cat conftest.err
>&5
6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); } &&
6587 { ac_try
='test -z "$ac_c_werror_flag"
6588 || test ! -s conftest.err'
6589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); }; } &&
6594 { ac_try
='test -s conftest.$ac_objext'
6595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); }; }; then
6600 ac_header_compiler
=yes
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.
$ac_ext >&5
6605 ac_header_compiler
=no
6607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6609 echo "${ECHO_T}$ac_header_compiler" >&6
6611 # Is the header present?
6612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6614 cat >conftest.
$ac_ext <<_ACEOF
6617 cat confdefs.h
>>conftest.
$ac_ext
6618 cat >>conftest.
$ac_ext <<_ACEOF
6619 /* end confdefs.h. */
6620 #include <$ac_header>
6622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6625 grep -v '^ *+' conftest.er1
>conftest.err
6627 cat conftest.err
>&5
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); } >/dev
/null
; then
6630 if test -s conftest.err
; then
6631 ac_cpp_err
=$ac_c_preproc_warn_flag
6632 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6639 if test -z "$ac_cpp_err"; then
6640 ac_header_preproc
=yes
6642 echo "$as_me: failed program was:" >&5
6643 sed 's/^/| /' conftest.
$ac_ext >&5
6645 ac_header_preproc
=no
6647 rm -f conftest.err conftest.
$ac_ext
6648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6649 echo "${ECHO_T}$ac_header_preproc" >&6
6651 # So? What about this header?
6652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6658 ac_header_preproc
=yes
6661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6675 ## ------------------------------------------ ##
6676 ## Report this to the AC_PACKAGE_NAME lists. ##
6677 ## ------------------------------------------ ##
6680 sed "s/^/$as_me: WARNING: /" >&2
6683 echo "$as_me:$LINENO: checking for $ac_header" >&5
6684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6686 echo $ECHO_N "(cached) $ECHO_C" >&6
6688 eval "$as_ac_Header=\$ac_header_preproc"
6690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6695 cat >>confdefs.h
<<_ACEOF
6696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6703 cat >>confdefs.h
<<\_ACEOF
6704 #define HAVE_LIBUNWIND 1
6707 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
6708 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
6709 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
6712 # Profiling support.
6713 # Check whether --enable-profiling or --disable-profiling was given.
6714 if test "${enable_profiling+set}" = set; then
6715 enableval
="$enable_profiling"
6720 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
6721 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
6722 { (exit 1); exit 1; }; } ;;
6730 for ac_func
in monstartup _mcleanup
6732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6733 echo "$as_me:$LINENO: checking for $ac_func" >&5
6734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6735 if eval "test \"\${$as_ac_var+set}\" = set"; then
6736 echo $ECHO_N "(cached) $ECHO_C" >&6
6738 cat >conftest.
$ac_ext <<_ACEOF
6741 cat confdefs.h
>>conftest.
$ac_ext
6742 cat >>conftest.
$ac_ext <<_ACEOF
6743 /* end confdefs.h. */
6744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6746 #define $ac_func innocuous_$ac_func
6748 /* System header to define __stub macros and hopefully few prototypes,
6749 which can conflict with char $ac_func (); below.
6750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6751 <limits.h> exists even on freestanding compilers. */
6754 # include <limits.h>
6756 # include <assert.h>
6761 /* Override any gcc2 internal prototype to avoid an error. */
6766 /* We use char because int might match the return type of a gcc2
6767 builtin and then its argument prototype would still apply. */
6769 /* The GNU C library defines this for functions which it implements
6770 to always fail with ENOSYS. Some functions are actually named
6771 something starting with __ and the normal name is an alias. */
6772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6775 char (*f) () = $ac_func;
6784 return f != $ac_func;
6789 rm -f conftest.
$ac_objext conftest
$ac_exeext
6790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6791 (eval $ac_link) 2>conftest.er1
6793 grep -v '^ *+' conftest.er1
>conftest.err
6795 cat conftest.err
>&5
6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 (exit $ac_status); } &&
6798 { ac_try
='test -z "$ac_c_werror_flag"
6799 || test ! -s conftest.err'
6800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); }; } &&
6805 { ac_try
='test -s conftest$ac_exeext'
6806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); }; }; then
6811 eval "$as_ac_var=yes"
6813 echo "$as_me: failed program was:" >&5
6814 sed 's/^/| /' conftest.
$ac_ext >&5
6816 eval "$as_ac_var=no"
6818 rm -f conftest.err conftest.
$ac_objext \
6819 conftest
$ac_exeext conftest.
$ac_ext
6821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6823 if test `eval echo '${'$as_ac_var'}'` = yes; then
6824 cat >>confdefs.h
<<_ACEOF
6825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6831 echo "$as_me:$LINENO: checking for _etext" >&5
6832 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
6833 if test "${ac_cv_var__etext+set}" = set; then
6834 echo $ECHO_N "(cached) $ECHO_C" >&6
6836 cat >conftest.
$ac_ext <<_ACEOF
6839 cat confdefs.h
>>conftest.
$ac_ext
6840 cat >>conftest.
$ac_ext <<_ACEOF
6841 /* end confdefs.h. */
6853 rm -f conftest.
$ac_objext conftest
$ac_exeext
6854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6855 (eval $ac_link) 2>conftest.er1
6857 grep -v '^ *+' conftest.er1
>conftest.err
6859 cat conftest.err
>&5
6860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861 (exit $ac_status); } &&
6862 { ac_try
='test -z "$ac_c_werror_flag"
6863 || test ! -s conftest.err'
6864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); }; } &&
6869 { ac_try
='test -s conftest$ac_exeext'
6870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); }; }; then
6875 ac_cv_var__etext
=yes
6877 echo "$as_me: failed program was:" >&5
6878 sed 's/^/| /' conftest.
$ac_ext >&5
6882 rm -f conftest.err conftest.
$ac_objext \
6883 conftest
$ac_exeext conftest.
$ac_ext
6885 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
6886 echo "${ECHO_T}$ac_cv_var__etext" >&6
6887 if test $ac_cv_var__etext = yes; then
6889 cat >>confdefs.h
<<\_ACEOF
6890 #define HAVE__ETEXT 1
6894 if test "$enable_profiling" = yes ; then
6895 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
6896 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
6897 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
6898 { (exit 1); exit 1; }; }
6901 OLD_CFLAGS
="$CFLAGS"
6902 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
6904 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
6905 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
6906 if test "${ac_cv_cc_supports_pg+set}" = set; then
6907 echo $ECHO_N "(cached) $ECHO_C" >&6
6909 cat >conftest.
$ac_ext <<_ACEOF
6912 cat confdefs.h
>>conftest.
$ac_ext
6913 cat >>conftest.
$ac_ext <<_ACEOF
6914 /* end confdefs.h. */
6924 rm -f conftest.
$ac_objext
6925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6926 (eval $ac_compile) 2>conftest.er1
6928 grep -v '^ *+' conftest.er1
>conftest.err
6930 cat conftest.err
>&5
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); } &&
6933 { ac_try
='test -z "$ac_c_werror_flag"
6934 || test ! -s conftest.err'
6935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939 (exit $ac_status); }; } &&
6940 { ac_try
='test -s conftest.$ac_objext'
6941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); }; }; then
6946 ac_cv_cc_supports_pg
=yes
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.
$ac_ext >&5
6951 ac_cv_cc_supports_pg
=no
6953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6955 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
6956 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
6958 if test $ac_cv_cc_supports_pg = no
; then
6959 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
6960 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
6961 { (exit 1); exit 1; }; }
6964 CFLAGS
="$OLD_CFLAGS"
6967 # --------------------- #
6968 # Checks for programs. #
6969 # --------------------- #
6971 for ac_prog
in gawk mawk nawk
awk
6973 # Extract the first word of "$ac_prog", so it can be a program name with args.
6974 set dummy
$ac_prog; ac_word
=$2
6975 echo "$as_me:$LINENO: checking for $ac_word" >&5
6976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6977 if test "${ac_cv_prog_AWK+set}" = set; then
6978 echo $ECHO_N "(cached) $ECHO_C" >&6
6980 if test -n "$AWK"; then
6981 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6987 test -z "$as_dir" && as_dir
=.
6988 for ac_exec_ext
in '' $ac_executable_extensions; do
6989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6990 ac_cv_prog_AWK
="$ac_prog"
6991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7000 if test -n "$AWK"; then
7001 echo "$as_me:$LINENO: result: $AWK" >&5
7002 echo "${ECHO_T}$AWK" >&6
7004 echo "$as_me:$LINENO: result: no" >&5
7005 echo "${ECHO_T}no" >&6
7008 test -n "$AWK" && break
7011 # Find a good install program. We prefer a C program (faster),
7012 # so one script is as good as another. But avoid the broken or
7013 # incompatible versions:
7014 # SysV /etc/install, /usr/sbin/install
7015 # SunOS /usr/etc/install
7016 # IRIX /sbin/install
7018 # AmigaOS /C/install, which installs bootblocks on floppy discs
7019 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7020 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7021 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7022 # OS/2's system install, which has a completely different semantic
7023 # ./install, which can be erroneously created by make from ./install.sh.
7024 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7025 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7026 if test -z "$INSTALL"; then
7027 if test "${ac_cv_path_install+set}" = set; then
7028 echo $ECHO_N "(cached) $ECHO_C" >&6
7030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7034 test -z "$as_dir" && as_dir
=.
7035 # Account for people who put trailing slashes in PATH elements.
7037 .
/ | .
// |
/cC
/* | \
7038 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7039 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7042 # OSF1 and SCO ODT 3.0 have their own names for install.
7043 # Don't use installbsd from OSF since it installs stuff as root
7045 for ac_prog
in ginstall scoinst
install; do
7046 for ac_exec_ext
in '' $ac_executable_extensions; do
7047 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7048 if test $ac_prog = install &&
7049 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7050 # AIX install. It has an incompatible calling convention.
7052 elif test $ac_prog = install &&
7053 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7054 # program-specific install script used by HP pwplus--don't use.
7057 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7069 if test "${ac_cv_path_install+set}" = set; then
7070 INSTALL
=$ac_cv_path_install
7072 # As a last resort, use the slow shell script. We don't cache a
7073 # path for INSTALL within a source directory, because that will
7074 # break other packages using the cache if that directory is
7075 # removed, or if the path is relative.
7076 INSTALL
=$ac_install_sh
7079 echo "$as_me:$LINENO: result: $INSTALL" >&5
7080 echo "${ECHO_T}$INSTALL" >&6
7082 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7083 # It thinks the first close brace ends the variable substitution.
7084 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7086 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7088 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7090 echo "$as_me:$LINENO: checking whether ln -s works" >&5
7091 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7093 if test "$LN_S" = "ln -s"; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7097 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7098 echo "${ECHO_T}no, using $LN_S" >&6
7101 if test -n "$ac_tool_prefix"; then
7102 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7103 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7104 echo "$as_me:$LINENO: checking for $ac_word" >&5
7105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7106 if test "${ac_cv_prog_RANLIB+set}" = set; then
7107 echo $ECHO_N "(cached) $ECHO_C" >&6
7109 if test -n "$RANLIB"; then
7110 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7116 test -z "$as_dir" && as_dir
=.
7117 for ac_exec_ext
in '' $ac_executable_extensions; do
7118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7119 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7128 RANLIB
=$ac_cv_prog_RANLIB
7129 if test -n "$RANLIB"; then
7130 echo "$as_me:$LINENO: result: $RANLIB" >&5
7131 echo "${ECHO_T}$RANLIB" >&6
7133 echo "$as_me:$LINENO: result: no" >&5
7134 echo "${ECHO_T}no" >&6
7138 if test -z "$ac_cv_prog_RANLIB"; then
7139 ac_ct_RANLIB
=$RANLIB
7140 # Extract the first word of "ranlib", so it can be a program name with args.
7141 set dummy ranlib
; ac_word
=$2
7142 echo "$as_me:$LINENO: checking for $ac_word" >&5
7143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7144 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7145 echo $ECHO_N "(cached) $ECHO_C" >&6
7147 if test -n "$ac_ct_RANLIB"; then
7148 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7154 test -z "$as_dir" && as_dir
=.
7155 for ac_exec_ext
in '' $ac_executable_extensions; do
7156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
7167 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7168 if test -n "$ac_ct_RANLIB"; then
7169 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7170 echo "${ECHO_T}$ac_ct_RANLIB" >&6
7172 echo "$as_me:$LINENO: result: no" >&5
7173 echo "${ECHO_T}no" >&6
7176 RANLIB
=$ac_ct_RANLIB
7178 RANLIB
="$ac_cv_prog_RANLIB"
7181 for ac_prog
in 'bison -y' byacc
7183 # Extract the first word of "$ac_prog", so it can be a program name with args.
7184 set dummy
$ac_prog; ac_word
=$2
7185 echo "$as_me:$LINENO: checking for $ac_word" >&5
7186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7187 if test "${ac_cv_prog_YACC+set}" = set; then
7188 echo $ECHO_N "(cached) $ECHO_C" >&6
7190 if test -n "$YACC"; then
7191 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
7193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir
=.
7198 for ac_exec_ext
in '' $ac_executable_extensions; do
7199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_prog_YACC
="$ac_prog"
7201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7209 YACC
=$ac_cv_prog_YACC
7210 if test -n "$YACC"; then
7211 echo "$as_me:$LINENO: result: $YACC" >&5
7212 echo "${ECHO_T}$YACC" >&6
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7218 test -n "$YACC" && break
7220 test -n "$YACC" || YACC
="yacc"
7223 if test -n "$ac_tool_prefix"; then
7224 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7225 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7226 echo "$as_me:$LINENO: checking for $ac_word" >&5
7227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7228 if test "${ac_cv_prog_AR+set}" = set; then
7229 echo $ECHO_N "(cached) $ECHO_C" >&6
7231 if test -n "$AR"; then
7232 ac_cv_prog_AR
="$AR" # Let the user override the test.
7234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7238 test -z "$as_dir" && as_dir
=.
7239 for ac_exec_ext
in '' $ac_executable_extensions; do
7240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7241 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 if test -n "$AR"; then
7252 echo "$as_me:$LINENO: result: $AR" >&5
7253 echo "${ECHO_T}$AR" >&6
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7260 if test -z "$ac_cv_prog_AR"; then
7262 # Extract the first word of "ar", so it can be a program name with args.
7263 set dummy
ar; ac_word
=$2
7264 echo "$as_me:$LINENO: checking for $ac_word" >&5
7265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7266 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7267 echo $ECHO_N "(cached) $ECHO_C" >&6
7269 if test -n "$ac_ct_AR"; then
7270 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7276 test -z "$as_dir" && as_dir
=.
7277 for ac_exec_ext
in '' $ac_executable_extensions; do
7278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7279 ac_cv_prog_ac_ct_AR
="ar"
7280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7288 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7289 if test -n "$ac_ct_AR"; then
7290 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7291 echo "${ECHO_T}$ac_ct_AR" >&6
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7302 if test -n "$ac_tool_prefix"; then
7303 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7304 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7305 echo "$as_me:$LINENO: checking for $ac_word" >&5
7306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7307 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7308 echo $ECHO_N "(cached) $ECHO_C" >&6
7310 if test -n "$DLLTOOL"; then
7311 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7317 test -z "$as_dir" && as_dir
=.
7318 for ac_exec_ext
in '' $ac_executable_extensions; do
7319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7320 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7329 DLLTOOL
=$ac_cv_prog_DLLTOOL
7330 if test -n "$DLLTOOL"; then
7331 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7332 echo "${ECHO_T}$DLLTOOL" >&6
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7339 if test -z "$ac_cv_prog_DLLTOOL"; then
7340 ac_ct_DLLTOOL
=$DLLTOOL
7341 # Extract the first word of "dlltool", so it can be a program name with args.
7342 set dummy dlltool
; ac_word
=$2
7343 echo "$as_me:$LINENO: checking for $ac_word" >&5
7344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7345 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7346 echo $ECHO_N "(cached) $ECHO_C" >&6
7348 if test -n "$ac_ct_DLLTOOL"; then
7349 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7355 test -z "$as_dir" && as_dir
=.
7356 for ac_exec_ext
in '' $ac_executable_extensions; do
7357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7368 if test -n "$ac_ct_DLLTOOL"; then
7369 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7370 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
7372 echo "$as_me:$LINENO: result: no" >&5
7373 echo "${ECHO_T}no" >&6
7376 DLLTOOL
=$ac_ct_DLLTOOL
7378 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7381 if test -n "$ac_tool_prefix"; then
7382 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7383 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
7384 echo "$as_me:$LINENO: checking for $ac_word" >&5
7385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7386 if test "${ac_cv_prog_WINDRES+set}" = set; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7389 if test -n "$WINDRES"; then
7390 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
7392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7396 test -z "$as_dir" && as_dir
=.
7397 for ac_exec_ext
in '' $ac_executable_extensions; do
7398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7399 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
7400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 WINDRES
=$ac_cv_prog_WINDRES
7409 if test -n "$WINDRES"; then
7410 echo "$as_me:$LINENO: result: $WINDRES" >&5
7411 echo "${ECHO_T}$WINDRES" >&6
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7418 if test -z "$ac_cv_prog_WINDRES"; then
7419 ac_ct_WINDRES
=$WINDRES
7420 # Extract the first word of "windres", so it can be a program name with args.
7421 set dummy windres
; ac_word
=$2
7422 echo "$as_me:$LINENO: checking for $ac_word" >&5
7423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7424 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
7425 echo $ECHO_N "(cached) $ECHO_C" >&6
7427 if test -n "$ac_ct_WINDRES"; then
7428 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
7430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7434 test -z "$as_dir" && as_dir
=.
7435 for ac_exec_ext
in '' $ac_executable_extensions; do
7436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7437 ac_cv_prog_ac_ct_WINDRES
="windres"
7438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
7447 if test -n "$ac_ct_WINDRES"; then
7448 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
7449 echo "${ECHO_T}$ac_ct_WINDRES" >&6
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7455 WINDRES
=$ac_ct_WINDRES
7457 WINDRES
="$ac_cv_prog_WINDRES"
7461 # Needed for GNU/Hurd.
7462 if test -n "$ac_tool_prefix"; then
7463 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
7464 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
7465 echo "$as_me:$LINENO: checking for $ac_word" >&5
7466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7467 if test "${ac_cv_prog_MIG+set}" = set; then
7468 echo $ECHO_N "(cached) $ECHO_C" >&6
7470 if test -n "$MIG"; then
7471 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
7473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7477 test -z "$as_dir" && as_dir
=.
7478 for ac_exec_ext
in '' $ac_executable_extensions; do
7479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7480 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
7481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 if test -n "$MIG"; then
7491 echo "$as_me:$LINENO: result: $MIG" >&5
7492 echo "${ECHO_T}$MIG" >&6
7494 echo "$as_me:$LINENO: result: no" >&5
7495 echo "${ECHO_T}no" >&6
7499 if test -z "$ac_cv_prog_MIG"; then
7501 # Extract the first word of "mig", so it can be a program name with args.
7502 set dummy mig
; ac_word
=$2
7503 echo "$as_me:$LINENO: checking for $ac_word" >&5
7504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7505 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
7506 echo $ECHO_N "(cached) $ECHO_C" >&6
7508 if test -n "$ac_ct_MIG"; then
7509 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
7511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7515 test -z "$as_dir" && as_dir
=.
7516 for ac_exec_ext
in '' $ac_executable_extensions; do
7517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7518 ac_cv_prog_ac_ct_MIG
="mig"
7519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7527 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
7528 if test -n "$ac_ct_MIG"; then
7529 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
7530 echo "${ECHO_T}$ac_ct_MIG" >&6
7532 echo "$as_me:$LINENO: result: no" >&5
7533 echo "${ECHO_T}no" >&6
7538 MIG
="$ac_cv_prog_MIG"
7542 # ---------------------- #
7543 # Checks for libraries. #
7544 # ---------------------- #
7546 # We might need to link with -lm; most simulators need it.
7548 echo "$as_me:$LINENO: checking for main in -lm" >&5
7549 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
7550 if test "${ac_cv_lib_m_main+set}" = set; then
7551 echo $ECHO_N "(cached) $ECHO_C" >&6
7553 ac_check_lib_save_LIBS
=$LIBS
7555 cat >conftest.
$ac_ext <<_ACEOF
7558 cat confdefs.h
>>conftest.
$ac_ext
7559 cat >>conftest.
$ac_ext <<_ACEOF
7560 /* end confdefs.h. */
7571 rm -f conftest.
$ac_objext conftest
$ac_exeext
7572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7573 (eval $ac_link) 2>conftest.er1
7575 grep -v '^ *+' conftest.er1
>conftest.err
7577 cat conftest.err
>&5
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579 (exit $ac_status); } &&
7580 { ac_try
='test -z "$ac_c_werror_flag"
7581 || test ! -s conftest.err'
7582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586 (exit $ac_status); }; } &&
7587 { ac_try
='test -s conftest$ac_exeext'
7588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); }; }; then
7593 ac_cv_lib_m_main
=yes
7595 echo "$as_me: failed program was:" >&5
7596 sed 's/^/| /' conftest.
$ac_ext >&5
7600 rm -f conftest.err conftest.
$ac_objext \
7601 conftest
$ac_exeext conftest.
$ac_ext
7602 LIBS
=$ac_check_lib_save_LIBS
7604 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
7605 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
7606 if test $ac_cv_lib_m_main = yes; then
7607 cat >>confdefs.h
<<_ACEOF
7616 # We need to link with -lw to get `wctype' on Solaris before Solaris
7617 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
7618 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
7619 # is known to have this problem). Therefore we avoid libw if we can.
7620 echo "$as_me:$LINENO: checking for wctype" >&5
7621 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
7622 if test "${ac_cv_func_wctype+set}" = set; then
7623 echo $ECHO_N "(cached) $ECHO_C" >&6
7625 cat >conftest.
$ac_ext <<_ACEOF
7628 cat confdefs.h
>>conftest.
$ac_ext
7629 cat >>conftest.
$ac_ext <<_ACEOF
7630 /* end confdefs.h. */
7631 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
7632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7633 #define wctype innocuous_wctype
7635 /* System header to define __stub macros and hopefully few prototypes,
7636 which can conflict with char wctype (); below.
7637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7638 <limits.h> exists even on freestanding compilers. */
7641 # include <limits.h>
7643 # include <assert.h>
7648 /* Override any gcc2 internal prototype to avoid an error. */
7653 /* We use char because int might match the return type of a gcc2
7654 builtin and then its argument prototype would still apply. */
7656 /* The GNU C library defines this for functions which it implements
7657 to always fail with ENOSYS. Some functions are actually named
7658 something starting with __ and the normal name is an alias. */
7659 #if defined (__stub_wctype) || defined (__stub___wctype)
7662 char (*f) () = wctype;
7676 rm -f conftest.
$ac_objext conftest
$ac_exeext
7677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7678 (eval $ac_link) 2>conftest.er1
7680 grep -v '^ *+' conftest.er1
>conftest.err
7682 cat conftest.err
>&5
7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 (exit $ac_status); } &&
7685 { ac_try
='test -z "$ac_c_werror_flag"
7686 || test ! -s conftest.err'
7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); }; } &&
7692 { ac_try
='test -s conftest$ac_exeext'
7693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697 (exit $ac_status); }; }; then
7698 ac_cv_func_wctype
=yes
7700 echo "$as_me: failed program was:" >&5
7701 sed 's/^/| /' conftest.
$ac_ext >&5
7703 ac_cv_func_wctype
=no
7705 rm -f conftest.err conftest.
$ac_objext \
7706 conftest
$ac_exeext conftest.
$ac_ext
7708 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
7709 echo "${ECHO_T}$ac_cv_func_wctype" >&6
7710 if test $ac_cv_func_wctype = yes; then
7714 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
7715 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
7716 if test "${ac_cv_lib_w_wctype+set}" = set; then
7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7719 ac_check_lib_save_LIBS
=$LIBS
7721 cat >conftest.
$ac_ext <<_ACEOF
7724 cat confdefs.h
>>conftest.
$ac_ext
7725 cat >>conftest.
$ac_ext <<_ACEOF
7726 /* end confdefs.h. */
7728 /* Override any gcc2 internal prototype to avoid an error. */
7732 /* We use char because int might match the return type of a gcc2
7733 builtin and then its argument prototype would still apply. */
7743 rm -f conftest.
$ac_objext conftest
$ac_exeext
7744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7745 (eval $ac_link) 2>conftest.er1
7747 grep -v '^ *+' conftest.er1
>conftest.err
7749 cat conftest.err
>&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); } &&
7752 { ac_try
='test -z "$ac_c_werror_flag"
7753 || test ! -s conftest.err'
7754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 (exit $ac_status); }; } &&
7759 { ac_try
='test -s conftest$ac_exeext'
7760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 (exit $ac_status); }; }; then
7765 ac_cv_lib_w_wctype
=yes
7767 echo "$as_me: failed program was:" >&5
7768 sed 's/^/| /' conftest.
$ac_ext >&5
7770 ac_cv_lib_w_wctype
=no
7772 rm -f conftest.err conftest.
$ac_objext \
7773 conftest
$ac_exeext conftest.
$ac_ext
7774 LIBS
=$ac_check_lib_save_LIBS
7776 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
7777 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
7778 if test $ac_cv_lib_w_wctype = yes; then
7779 cat >>confdefs.h
<<_ACEOF
7790 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
7791 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
7792 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
7793 if test "${ac_cv_search_gethostbyname+set}" = set; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 ac_func_search_save_LIBS
=$LIBS
7797 ac_cv_search_gethostbyname
=no
7798 cat >conftest.
$ac_ext <<_ACEOF
7801 cat confdefs.h
>>conftest.
$ac_ext
7802 cat >>conftest.
$ac_ext <<_ACEOF
7803 /* end confdefs.h. */
7805 /* Override any gcc2 internal prototype to avoid an error. */
7809 /* We use char because int might match the return type of a gcc2
7810 builtin and then its argument prototype would still apply. */
7811 char gethostbyname ();
7820 rm -f conftest.
$ac_objext conftest
$ac_exeext
7821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7822 (eval $ac_link) 2>conftest.er1
7824 grep -v '^ *+' conftest.er1
>conftest.err
7826 cat conftest.err
>&5
7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7828 (exit $ac_status); } &&
7829 { ac_try
='test -z "$ac_c_werror_flag"
7830 || test ! -s conftest.err'
7831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); }; } &&
7836 { ac_try
='test -s conftest$ac_exeext'
7837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7841 (exit $ac_status); }; }; then
7842 ac_cv_search_gethostbyname
="none required"
7844 echo "$as_me: failed program was:" >&5
7845 sed 's/^/| /' conftest.
$ac_ext >&5
7848 rm -f conftest.err conftest.
$ac_objext \
7849 conftest
$ac_exeext conftest.
$ac_ext
7850 if test "$ac_cv_search_gethostbyname" = no
; then
7851 for ac_lib
in nsl
; do
7852 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7853 cat >conftest.
$ac_ext <<_ACEOF
7856 cat confdefs.h
>>conftest.
$ac_ext
7857 cat >>conftest.
$ac_ext <<_ACEOF
7858 /* end confdefs.h. */
7860 /* Override any gcc2 internal prototype to avoid an error. */
7864 /* We use char because int might match the return type of a gcc2
7865 builtin and then its argument prototype would still apply. */
7866 char gethostbyname ();
7875 rm -f conftest.
$ac_objext conftest
$ac_exeext
7876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7877 (eval $ac_link) 2>conftest.er1
7879 grep -v '^ *+' conftest.er1
>conftest.err
7881 cat conftest.err
>&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); } &&
7884 { ac_try
='test -z "$ac_c_werror_flag"
7885 || test ! -s conftest.err'
7886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); }; } &&
7891 { ac_try
='test -s conftest$ac_exeext'
7892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); }; }; then
7897 ac_cv_search_gethostbyname
="-l$ac_lib"
7900 echo "$as_me: failed program was:" >&5
7901 sed 's/^/| /' conftest.
$ac_ext >&5
7904 rm -f conftest.err conftest.
$ac_objext \
7905 conftest
$ac_exeext conftest.
$ac_ext
7908 LIBS
=$ac_func_search_save_LIBS
7910 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
7911 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
7912 if test "$ac_cv_search_gethostbyname" != no
; then
7913 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
7918 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
7919 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
7920 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
7921 if test "${ac_cv_search_socketpair+set}" = set; then
7922 echo $ECHO_N "(cached) $ECHO_C" >&6
7924 ac_func_search_save_LIBS
=$LIBS
7925 ac_cv_search_socketpair
=no
7926 cat >conftest.
$ac_ext <<_ACEOF
7929 cat confdefs.h
>>conftest.
$ac_ext
7930 cat >>conftest.
$ac_ext <<_ACEOF
7931 /* end confdefs.h. */
7933 /* Override any gcc2 internal prototype to avoid an error. */
7937 /* We use char because int might match the return type of a gcc2
7938 builtin and then its argument prototype would still apply. */
7948 rm -f conftest.
$ac_objext conftest
$ac_exeext
7949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7950 (eval $ac_link) 2>conftest.er1
7952 grep -v '^ *+' conftest.er1
>conftest.err
7954 cat conftest.err
>&5
7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); } &&
7957 { ac_try
='test -z "$ac_c_werror_flag"
7958 || test ! -s conftest.err'
7959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); }; } &&
7964 { ac_try
='test -s conftest$ac_exeext'
7965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969 (exit $ac_status); }; }; then
7970 ac_cv_search_socketpair
="none required"
7972 echo "$as_me: failed program was:" >&5
7973 sed 's/^/| /' conftest.
$ac_ext >&5
7976 rm -f conftest.err conftest.
$ac_objext \
7977 conftest
$ac_exeext conftest.
$ac_ext
7978 if test "$ac_cv_search_socketpair" = no
; then
7979 for ac_lib
in socket
; do
7980 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7981 cat >conftest.
$ac_ext <<_ACEOF
7984 cat confdefs.h
>>conftest.
$ac_ext
7985 cat >>conftest.
$ac_ext <<_ACEOF
7986 /* end confdefs.h. */
7988 /* Override any gcc2 internal prototype to avoid an error. */
7992 /* We use char because int might match the return type of a gcc2
7993 builtin and then its argument prototype would still apply. */
8003 rm -f conftest.
$ac_objext conftest
$ac_exeext
8004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8005 (eval $ac_link) 2>conftest.er1
8007 grep -v '^ *+' conftest.er1
>conftest.err
8009 cat conftest.err
>&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); } &&
8012 { ac_try
='test -z "$ac_c_werror_flag"
8013 || test ! -s conftest.err'
8014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018 (exit $ac_status); }; } &&
8019 { ac_try
='test -s conftest$ac_exeext'
8020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024 (exit $ac_status); }; }; then
8025 ac_cv_search_socketpair
="-l$ac_lib"
8028 echo "$as_me: failed program was:" >&5
8029 sed 's/^/| /' conftest.
$ac_ext >&5
8032 rm -f conftest.err conftest.
$ac_objext \
8033 conftest
$ac_exeext conftest.
$ac_ext
8036 LIBS
=$ac_func_search_save_LIBS
8038 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
8039 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
8040 if test "$ac_cv_search_socketpair" != no
; then
8041 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
8046 # For the TUI, we need enhanced curses functionality.
8048 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
8049 # curses library because the latter might not provide all the
8050 # functionality we need. However, this leads to problems on systems
8051 # where the linker searches /usr/local/lib, but the compiler doesn't
8052 # search /usr/local/include, if ncurses is installed in /usr/local. A
8053 # default installation of ncurses on alpha*-dec-osf* will lead to such
8055 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
8056 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
8057 if test "${ac_cv_search_waddstr+set}" = set; then
8058 echo $ECHO_N "(cached) $ECHO_C" >&6
8060 ac_func_search_save_LIBS
=$LIBS
8061 ac_cv_search_waddstr
=no
8062 cat >conftest.
$ac_ext <<_ACEOF
8065 cat confdefs.h
>>conftest.
$ac_ext
8066 cat >>conftest.
$ac_ext <<_ACEOF
8067 /* end confdefs.h. */
8069 /* Override any gcc2 internal prototype to avoid an error. */
8073 /* We use char because int might match the return type of a gcc2
8074 builtin and then its argument prototype would still apply. */
8084 rm -f conftest.
$ac_objext conftest
$ac_exeext
8085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8086 (eval $ac_link) 2>conftest.er1
8088 grep -v '^ *+' conftest.er1
>conftest.err
8090 cat conftest.err
>&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); } &&
8093 { ac_try
='test -z "$ac_c_werror_flag"
8094 || test ! -s conftest.err'
8095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); }; } &&
8100 { ac_try
='test -s conftest$ac_exeext'
8101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105 (exit $ac_status); }; }; then
8106 ac_cv_search_waddstr
="none required"
8108 echo "$as_me: failed program was:" >&5
8109 sed 's/^/| /' conftest.
$ac_ext >&5
8112 rm -f conftest.err conftest.
$ac_objext \
8113 conftest
$ac_exeext conftest.
$ac_ext
8114 if test "$ac_cv_search_waddstr" = no
; then
8115 for ac_lib
in ncurses cursesX curses
; do
8116 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8117 cat >conftest.
$ac_ext <<_ACEOF
8120 cat confdefs.h
>>conftest.
$ac_ext
8121 cat >>conftest.
$ac_ext <<_ACEOF
8122 /* end confdefs.h. */
8124 /* Override any gcc2 internal prototype to avoid an error. */
8128 /* We use char because int might match the return type of a gcc2
8129 builtin and then its argument prototype would still apply. */
8139 rm -f conftest.
$ac_objext conftest
$ac_exeext
8140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8141 (eval $ac_link) 2>conftest.er1
8143 grep -v '^ *+' conftest.er1
>conftest.err
8145 cat conftest.err
>&5
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); } &&
8148 { ac_try
='test -z "$ac_c_werror_flag"
8149 || test ! -s conftest.err'
8150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); }; } &&
8155 { ac_try
='test -s conftest$ac_exeext'
8156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); }; }; then
8161 ac_cv_search_waddstr
="-l$ac_lib"
8164 echo "$as_me: failed program was:" >&5
8165 sed 's/^/| /' conftest.
$ac_ext >&5
8168 rm -f conftest.err conftest.
$ac_objext \
8169 conftest
$ac_exeext conftest.
$ac_ext
8172 LIBS
=$ac_func_search_save_LIBS
8174 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
8175 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
8176 if test "$ac_cv_search_waddstr" != no
; then
8177 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
8182 # Since GDB uses Readline, we need termcap functionality. In many
8183 # cases this will be provided by the curses library, but some systems
8184 # have a seperate termcap library, or no curses library at all.
8188 if test -d $srcdir/libtermcap
; then
8189 LIBS
="../libtermcap/libtermcap.a $LIBS"
8190 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
8193 ac_cv_search_tgetent
="none required"
8197 # These are the libraries checked by Readline.
8198 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
8199 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
8200 if test "${ac_cv_search_tgetent+set}" = set; then
8201 echo $ECHO_N "(cached) $ECHO_C" >&6
8203 ac_func_search_save_LIBS
=$LIBS
8204 ac_cv_search_tgetent
=no
8205 cat >conftest.
$ac_ext <<_ACEOF
8208 cat confdefs.h
>>conftest.
$ac_ext
8209 cat >>conftest.
$ac_ext <<_ACEOF
8210 /* end confdefs.h. */
8212 /* Override any gcc2 internal prototype to avoid an error. */
8216 /* We use char because int might match the return type of a gcc2
8217 builtin and then its argument prototype would still apply. */
8227 rm -f conftest.
$ac_objext conftest
$ac_exeext
8228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8229 (eval $ac_link) 2>conftest.er1
8231 grep -v '^ *+' conftest.er1
>conftest.err
8233 cat conftest.err
>&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } &&
8236 { ac_try
='test -z "$ac_c_werror_flag"
8237 || test ! -s conftest.err'
8238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); }; } &&
8243 { ac_try
='test -s conftest$ac_exeext'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; }; then
8249 ac_cv_search_tgetent
="none required"
8251 echo "$as_me: failed program was:" >&5
8252 sed 's/^/| /' conftest.
$ac_ext >&5
8255 rm -f conftest.err conftest.
$ac_objext \
8256 conftest
$ac_exeext conftest.
$ac_ext
8257 if test "$ac_cv_search_tgetent" = no
; then
8258 for ac_lib
in termcap tinfo curses ncurses
; do
8259 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8260 cat >conftest.
$ac_ext <<_ACEOF
8263 cat confdefs.h
>>conftest.
$ac_ext
8264 cat >>conftest.
$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8267 /* Override any gcc2 internal prototype to avoid an error. */
8271 /* We use char because int might match the return type of a gcc2
8272 builtin and then its argument prototype would still apply. */
8282 rm -f conftest.
$ac_objext conftest
$ac_exeext
8283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8284 (eval $ac_link) 2>conftest.er1
8286 grep -v '^ *+' conftest.er1
>conftest.err
8288 cat conftest.err
>&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } &&
8291 { ac_try
='test -z "$ac_c_werror_flag"
8292 || test ! -s conftest.err'
8293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); }; } &&
8298 { ac_try
='test -s conftest$ac_exeext'
8299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; }; then
8304 ac_cv_search_tgetent
="-l$ac_lib"
8307 echo "$as_me: failed program was:" >&5
8308 sed 's/^/| /' conftest.
$ac_ext >&5
8311 rm -f conftest.err conftest.
$ac_objext \
8312 conftest
$ac_exeext conftest.
$ac_ext
8315 LIBS
=$ac_func_search_save_LIBS
8317 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
8318 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
8319 if test "$ac_cv_search_tgetent" != no
; then
8320 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
8325 if test "$ac_cv_search_tgetent" = no
; then
8326 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
8327 echo "$as_me: error: no termcap library found" >&2;}
8328 { (exit 1); exit 1; }; }
8331 # ------------------------- #
8332 # Checks for header files. #
8333 # ------------------------- #
8341 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8342 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8343 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8344 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8348 cat >conftest.
$ac_ext <<_ACEOF
8351 cat confdefs.h
>>conftest.
$ac_ext
8352 cat >>conftest.
$ac_ext <<_ACEOF
8353 /* end confdefs.h. */
8354 #include <sys/types.h>
8366 rm -f conftest.
$ac_objext
8367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8368 (eval $ac_compile) 2>conftest.er1
8370 grep -v '^ *+' conftest.er1
>conftest.err
8372 cat conftest.err
>&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); } &&
8375 { ac_try
='test -z "$ac_c_werror_flag"
8376 || test ! -s conftest.err'
8377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); }; } &&
8382 { ac_try
='test -s conftest.$ac_objext'
8383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); }; }; then
8388 eval "$as_ac_Header=yes"
8390 echo "$as_me: failed program was:" >&5
8391 sed 's/^/| /' conftest.
$ac_ext >&5
8393 eval "$as_ac_Header=no"
8395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8400 cat >>confdefs.h
<<_ACEOF
8401 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8404 ac_header_dirent
=$ac_hdr; break
8408 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8409 if test $ac_header_dirent = dirent.h
; then
8410 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8411 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8412 if test "${ac_cv_search_opendir+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8415 ac_func_search_save_LIBS
=$LIBS
8416 ac_cv_search_opendir
=no
8417 cat >conftest.
$ac_ext <<_ACEOF
8420 cat confdefs.h
>>conftest.
$ac_ext
8421 cat >>conftest.
$ac_ext <<_ACEOF
8422 /* end confdefs.h. */
8424 /* Override any gcc2 internal prototype to avoid an error. */
8428 /* We use char because int might match the return type of a gcc2
8429 builtin and then its argument prototype would still apply. */
8439 rm -f conftest.
$ac_objext conftest
$ac_exeext
8440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8441 (eval $ac_link) 2>conftest.er1
8443 grep -v '^ *+' conftest.er1
>conftest.err
8445 cat conftest.err
>&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); } &&
8448 { ac_try
='test -z "$ac_c_werror_flag"
8449 || test ! -s conftest.err'
8450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; } &&
8455 { ac_try
='test -s conftest$ac_exeext'
8456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); }; }; then
8461 ac_cv_search_opendir
="none required"
8463 echo "$as_me: failed program was:" >&5
8464 sed 's/^/| /' conftest.
$ac_ext >&5
8467 rm -f conftest.err conftest.
$ac_objext \
8468 conftest
$ac_exeext conftest.
$ac_ext
8469 if test "$ac_cv_search_opendir" = no
; then
8470 for ac_lib
in dir
; do
8471 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8472 cat >conftest.
$ac_ext <<_ACEOF
8475 cat confdefs.h
>>conftest.
$ac_ext
8476 cat >>conftest.
$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8479 /* Override any gcc2 internal prototype to avoid an error. */
8483 /* We use char because int might match the return type of a gcc2
8484 builtin and then its argument prototype would still apply. */
8494 rm -f conftest.
$ac_objext conftest
$ac_exeext
8495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8496 (eval $ac_link) 2>conftest.er1
8498 grep -v '^ *+' conftest.er1
>conftest.err
8500 cat conftest.err
>&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); } &&
8503 { ac_try
='test -z "$ac_c_werror_flag"
8504 || test ! -s conftest.err'
8505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; } &&
8510 { ac_try
='test -s conftest$ac_exeext'
8511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); }; }; then
8516 ac_cv_search_opendir
="-l$ac_lib"
8519 echo "$as_me: failed program was:" >&5
8520 sed 's/^/| /' conftest.
$ac_ext >&5
8523 rm -f conftest.err conftest.
$ac_objext \
8524 conftest
$ac_exeext conftest.
$ac_ext
8527 LIBS
=$ac_func_search_save_LIBS
8529 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8530 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8531 if test "$ac_cv_search_opendir" != no
; then
8532 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8537 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8538 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8539 if test "${ac_cv_search_opendir+set}" = set; then
8540 echo $ECHO_N "(cached) $ECHO_C" >&6
8542 ac_func_search_save_LIBS
=$LIBS
8543 ac_cv_search_opendir
=no
8544 cat >conftest.
$ac_ext <<_ACEOF
8547 cat confdefs.h
>>conftest.
$ac_ext
8548 cat >>conftest.
$ac_ext <<_ACEOF
8549 /* end confdefs.h. */
8551 /* Override any gcc2 internal prototype to avoid an error. */
8555 /* We use char because int might match the return type of a gcc2
8556 builtin and then its argument prototype would still apply. */
8566 rm -f conftest.
$ac_objext conftest
$ac_exeext
8567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8568 (eval $ac_link) 2>conftest.er1
8570 grep -v '^ *+' conftest.er1
>conftest.err
8572 cat conftest.err
>&5
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); } &&
8575 { ac_try
='test -z "$ac_c_werror_flag"
8576 || test ! -s conftest.err'
8577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); }; } &&
8582 { ac_try
='test -s conftest$ac_exeext'
8583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); }; }; then
8588 ac_cv_search_opendir
="none required"
8590 echo "$as_me: failed program was:" >&5
8591 sed 's/^/| /' conftest.
$ac_ext >&5
8594 rm -f conftest.err conftest.
$ac_objext \
8595 conftest
$ac_exeext conftest.
$ac_ext
8596 if test "$ac_cv_search_opendir" = no
; then
8598 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8599 cat >conftest.
$ac_ext <<_ACEOF
8602 cat confdefs.h
>>conftest.
$ac_ext
8603 cat >>conftest.
$ac_ext <<_ACEOF
8604 /* end confdefs.h. */
8606 /* Override any gcc2 internal prototype to avoid an error. */
8610 /* We use char because int might match the return type of a gcc2
8611 builtin and then its argument prototype would still apply. */
8621 rm -f conftest.
$ac_objext conftest
$ac_exeext
8622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8623 (eval $ac_link) 2>conftest.er1
8625 grep -v '^ *+' conftest.er1
>conftest.err
8627 cat conftest.err
>&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); } &&
8630 { ac_try
='test -z "$ac_c_werror_flag"
8631 || test ! -s conftest.err'
8632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636 (exit $ac_status); }; } &&
8637 { ac_try
='test -s conftest$ac_exeext'
8638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642 (exit $ac_status); }; }; then
8643 ac_cv_search_opendir
="-l$ac_lib"
8646 echo "$as_me: failed program was:" >&5
8647 sed 's/^/| /' conftest.
$ac_ext >&5
8650 rm -f conftest.err conftest.
$ac_objext \
8651 conftest
$ac_exeext conftest.
$ac_ext
8654 LIBS
=$ac_func_search_save_LIBS
8656 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8657 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8658 if test "$ac_cv_search_opendir" != no
; then
8659 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8665 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8666 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
8667 if test "${ac_cv_header_stat_broken+set}" = set; then
8668 echo $ECHO_N "(cached) $ECHO_C" >&6
8670 cat >conftest.
$ac_ext <<_ACEOF
8673 cat confdefs.h
>>conftest.
$ac_ext
8674 cat >>conftest.
$ac_ext <<_ACEOF
8675 /* end confdefs.h. */
8676 #include <sys/types.h>
8677 #include <sys/stat.h>
8679 #if defined(S_ISBLK) && defined(S_IFDIR)
8680 # if S_ISBLK (S_IFDIR)
8685 #if defined(S_ISBLK) && defined(S_IFCHR)
8686 # if S_ISBLK (S_IFCHR)
8691 #if defined(S_ISLNK) && defined(S_IFREG)
8692 # if S_ISLNK (S_IFREG)
8697 #if defined(S_ISSOCK) && defined(S_IFREG)
8698 # if S_ISSOCK (S_IFREG)
8704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8705 $EGREP "You lose" >/dev
/null
2>&1; then
8706 ac_cv_header_stat_broken
=yes
8708 ac_cv_header_stat_broken
=no
8713 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8714 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
8715 if test $ac_cv_header_stat_broken = yes; then
8717 cat >>confdefs.h
<<\_ACEOF
8718 #define STAT_MACROS_BROKEN 1
8723 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8724 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8725 if test "${ac_cv_header_stdc+set}" = set; then
8726 echo $ECHO_N "(cached) $ECHO_C" >&6
8728 cat >conftest.
$ac_ext <<_ACEOF
8731 cat confdefs.h
>>conftest.
$ac_ext
8732 cat >>conftest.
$ac_ext <<_ACEOF
8733 /* end confdefs.h. */
8747 rm -f conftest.
$ac_objext
8748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8749 (eval $ac_compile) 2>conftest.er1
8751 grep -v '^ *+' conftest.er1
>conftest.err
8753 cat conftest.err
>&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); } &&
8756 { ac_try
='test -z "$ac_c_werror_flag"
8757 || test ! -s conftest.err'
8758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); }; } &&
8763 { ac_try
='test -s conftest.$ac_objext'
8764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); }; }; then
8769 ac_cv_header_stdc
=yes
8771 echo "$as_me: failed program was:" >&5
8772 sed 's/^/| /' conftest.
$ac_ext >&5
8774 ac_cv_header_stdc
=no
8776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8778 if test $ac_cv_header_stdc = yes; then
8779 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8780 cat >conftest.
$ac_ext <<_ACEOF
8783 cat confdefs.h
>>conftest.
$ac_ext
8784 cat >>conftest.
$ac_ext <<_ACEOF
8785 /* end confdefs.h. */
8789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8790 $EGREP "memchr" >/dev
/null
2>&1; then
8793 ac_cv_header_stdc
=no
8799 if test $ac_cv_header_stdc = yes; then
8800 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8801 cat >conftest.
$ac_ext <<_ACEOF
8804 cat confdefs.h
>>conftest.
$ac_ext
8805 cat >>conftest.
$ac_ext <<_ACEOF
8806 /* end confdefs.h. */
8810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8811 $EGREP "free" >/dev
/null
2>&1; then
8814 ac_cv_header_stdc
=no
8820 if test $ac_cv_header_stdc = yes; then
8821 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8822 if test "$cross_compiling" = yes; then
8825 cat >conftest.
$ac_ext <<_ACEOF
8828 cat confdefs.h
>>conftest.
$ac_ext
8829 cat >>conftest.
$ac_ext <<_ACEOF
8830 /* end confdefs.h. */
8832 #if ((' ' & 0x0FF) == 0x020)
8833 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8834 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8836 # define ISLOWER(c) \
8837 (('a' <= (c) && (c) <= 'i') \
8838 || ('j' <= (c) && (c) <= 'r') \
8839 || ('s' <= (c) && (c) <= 'z'))
8840 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8843 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8848 for (i = 0; i < 256; i++)
8849 if (XOR (islower (i), ISLOWER (i))
8850 || toupper (i) != TOUPPER (i))
8855 rm -f conftest
$ac_exeext
8856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8857 (eval $ac_link) 2>&5
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }; }; then
8868 echo "$as_me: program exited with status $ac_status" >&5
8869 echo "$as_me: failed program was:" >&5
8870 sed 's/^/| /' conftest.
$ac_ext >&5
8873 ac_cv_header_stdc
=no
8875 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8879 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8880 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8881 if test $ac_cv_header_stdc = yes; then
8883 cat >>confdefs.h
<<\_ACEOF
8884 #define STDC_HEADERS 1
8890 for ac_header
in nlist.h
8892 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8894 echo "$as_me:$LINENO: checking for $ac_header" >&5
8895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8897 echo $ECHO_N "(cached) $ECHO_C" >&6
8899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8902 # Is the header compilable?
8903 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8905 cat >conftest.
$ac_ext <<_ACEOF
8908 cat confdefs.h
>>conftest.
$ac_ext
8909 cat >>conftest.
$ac_ext <<_ACEOF
8910 /* end confdefs.h. */
8911 $ac_includes_default
8912 #include <$ac_header>
8914 rm -f conftest.
$ac_objext
8915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8916 (eval $ac_compile) 2>conftest.er1
8918 grep -v '^ *+' conftest.er1
>conftest.err
8920 cat conftest.err
>&5
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); } &&
8923 { ac_try
='test -z "$ac_c_werror_flag"
8924 || test ! -s conftest.err'
8925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); }; } &&
8930 { ac_try
='test -s conftest.$ac_objext'
8931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); }; }; then
8936 ac_header_compiler
=yes
8938 echo "$as_me: failed program was:" >&5
8939 sed 's/^/| /' conftest.
$ac_ext >&5
8941 ac_header_compiler
=no
8943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8945 echo "${ECHO_T}$ac_header_compiler" >&6
8947 # Is the header present?
8948 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8950 cat >conftest.
$ac_ext <<_ACEOF
8953 cat confdefs.h
>>conftest.
$ac_ext
8954 cat >>conftest.
$ac_ext <<_ACEOF
8955 /* end confdefs.h. */
8956 #include <$ac_header>
8958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8959 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8961 grep -v '^ *+' conftest.er1
>conftest.err
8963 cat conftest.err
>&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); } >/dev
/null
; then
8966 if test -s conftest.err
; then
8967 ac_cpp_err
=$ac_c_preproc_warn_flag
8968 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8975 if test -z "$ac_cpp_err"; then
8976 ac_header_preproc
=yes
8978 echo "$as_me: failed program was:" >&5
8979 sed 's/^/| /' conftest.
$ac_ext >&5
8981 ac_header_preproc
=no
8983 rm -f conftest.err conftest.
$ac_ext
8984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8985 echo "${ECHO_T}$ac_header_preproc" >&6
8987 # So? What about this header?
8988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8990 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8994 ac_header_preproc
=yes
8997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9001 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9003 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9004 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9007 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9011 ## ------------------------------------------ ##
9012 ## Report this to the AC_PACKAGE_NAME lists. ##
9013 ## ------------------------------------------ ##
9016 sed "s/^/$as_me: WARNING: /" >&2
9019 echo "$as_me:$LINENO: checking for $ac_header" >&5
9020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 eval "$as_ac_Header=\$ac_header_preproc"
9026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9031 cat >>confdefs.h
<<_ACEOF
9032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9040 for ac_header
in link.h
9042 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9043 echo "$as_me:$LINENO: checking for $ac_header" >&5
9044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9046 echo $ECHO_N "(cached) $ECHO_C" >&6
9048 cat >conftest.
$ac_ext <<_ACEOF
9051 cat confdefs.h
>>conftest.
$ac_ext
9052 cat >>conftest.
$ac_ext <<_ACEOF
9053 /* end confdefs.h. */
9054 #if HAVE_SYS_TYPES_H
9055 # include <sys/types.h>
9062 #include <$ac_header>
9064 rm -f conftest.
$ac_objext
9065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9066 (eval $ac_compile) 2>conftest.er1
9068 grep -v '^ *+' conftest.er1
>conftest.err
9070 cat conftest.err
>&5
9071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072 (exit $ac_status); } &&
9073 { ac_try
='test -z "$ac_c_werror_flag"
9074 || test ! -s conftest.err'
9075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 (exit $ac_status); }; } &&
9080 { ac_try
='test -s conftest.$ac_objext'
9081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); }; }; then
9086 eval "$as_ac_Header=yes"
9088 echo "$as_me: failed program was:" >&5
9089 sed 's/^/| /' conftest.
$ac_ext >&5
9091 eval "$as_ac_Header=no"
9093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9098 cat >>confdefs.h
<<_ACEOF
9099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9107 for ac_header
in machine
/reg.h
9109 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9111 echo "$as_me:$LINENO: checking for $ac_header" >&5
9112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9114 echo $ECHO_N "(cached) $ECHO_C" >&6
9116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9119 # Is the header compilable?
9120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9122 cat >conftest.
$ac_ext <<_ACEOF
9125 cat confdefs.h
>>conftest.
$ac_ext
9126 cat >>conftest.
$ac_ext <<_ACEOF
9127 /* end confdefs.h. */
9128 $ac_includes_default
9129 #include <$ac_header>
9131 rm -f conftest.
$ac_objext
9132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9133 (eval $ac_compile) 2>conftest.er1
9135 grep -v '^ *+' conftest.er1
>conftest.err
9137 cat conftest.err
>&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); } &&
9140 { ac_try
='test -z "$ac_c_werror_flag"
9141 || test ! -s conftest.err'
9142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); }; } &&
9147 { ac_try
='test -s conftest.$ac_objext'
9148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152 (exit $ac_status); }; }; then
9153 ac_header_compiler
=yes
9155 echo "$as_me: failed program was:" >&5
9156 sed 's/^/| /' conftest.
$ac_ext >&5
9158 ac_header_compiler
=no
9160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9161 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9162 echo "${ECHO_T}$ac_header_compiler" >&6
9164 # Is the header present?
9165 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9167 cat >conftest.
$ac_ext <<_ACEOF
9170 cat confdefs.h
>>conftest.
$ac_ext
9171 cat >>conftest.
$ac_ext <<_ACEOF
9172 /* end confdefs.h. */
9173 #include <$ac_header>
9175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9176 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9178 grep -v '^ *+' conftest.er1
>conftest.err
9180 cat conftest.err
>&5
9181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182 (exit $ac_status); } >/dev
/null
; then
9183 if test -s conftest.err
; then
9184 ac_cpp_err
=$ac_c_preproc_warn_flag
9185 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9192 if test -z "$ac_cpp_err"; then
9193 ac_header_preproc
=yes
9195 echo "$as_me: failed program was:" >&5
9196 sed 's/^/| /' conftest.
$ac_ext >&5
9198 ac_header_preproc
=no
9200 rm -f conftest.err conftest.
$ac_ext
9201 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9202 echo "${ECHO_T}$ac_header_preproc" >&6
9204 # So? What about this header?
9205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9207 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9208 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9210 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9211 ac_header_preproc
=yes
9214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9218 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9219 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9220 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9221 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9224 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9225 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9228 ## ------------------------------------------ ##
9229 ## Report this to the AC_PACKAGE_NAME lists. ##
9230 ## ------------------------------------------ ##
9233 sed "s/^/$as_me: WARNING: /" >&2
9236 echo "$as_me:$LINENO: checking for $ac_header" >&5
9237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9239 echo $ECHO_N "(cached) $ECHO_C" >&6
9241 eval "$as_ac_Header=\$ac_header_preproc"
9243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9248 cat >>confdefs.h
<<_ACEOF
9249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9258 for ac_header
in poll.h sys
/poll.h
9260 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9262 echo "$as_me:$LINENO: checking for $ac_header" >&5
9263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9265 echo $ECHO_N "(cached) $ECHO_C" >&6
9267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9270 # Is the header compilable?
9271 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9272 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9273 cat >conftest.
$ac_ext <<_ACEOF
9276 cat confdefs.h
>>conftest.
$ac_ext
9277 cat >>conftest.
$ac_ext <<_ACEOF
9278 /* end confdefs.h. */
9279 $ac_includes_default
9280 #include <$ac_header>
9282 rm -f conftest.
$ac_objext
9283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9284 (eval $ac_compile) 2>conftest.er1
9286 grep -v '^ *+' conftest.er1
>conftest.err
9288 cat conftest.err
>&5
9289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9290 (exit $ac_status); } &&
9291 { ac_try
='test -z "$ac_c_werror_flag"
9292 || test ! -s conftest.err'
9293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297 (exit $ac_status); }; } &&
9298 { ac_try
='test -s conftest.$ac_objext'
9299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); }; }; then
9304 ac_header_compiler
=yes
9306 echo "$as_me: failed program was:" >&5
9307 sed 's/^/| /' conftest.
$ac_ext >&5
9309 ac_header_compiler
=no
9311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9313 echo "${ECHO_T}$ac_header_compiler" >&6
9315 # Is the header present?
9316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9318 cat >conftest.
$ac_ext <<_ACEOF
9321 cat confdefs.h
>>conftest.
$ac_ext
9322 cat >>conftest.
$ac_ext <<_ACEOF
9323 /* end confdefs.h. */
9324 #include <$ac_header>
9326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9329 grep -v '^ *+' conftest.er1
>conftest.err
9331 cat conftest.err
>&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); } >/dev
/null
; then
9334 if test -s conftest.err
; then
9335 ac_cpp_err
=$ac_c_preproc_warn_flag
9336 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9343 if test -z "$ac_cpp_err"; then
9344 ac_header_preproc
=yes
9346 echo "$as_me: failed program was:" >&5
9347 sed 's/^/| /' conftest.
$ac_ext >&5
9349 ac_header_preproc
=no
9351 rm -f conftest.err conftest.
$ac_ext
9352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9353 echo "${ECHO_T}$ac_header_preproc" >&6
9355 # So? What about this header?
9356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9361 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9362 ac_header_preproc
=yes
9365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9366 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9368 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9369 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9370 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9371 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9372 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9375 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9376 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9379 ## ------------------------------------------ ##
9380 ## Report this to the AC_PACKAGE_NAME lists. ##
9381 ## ------------------------------------------ ##
9384 sed "s/^/$as_me: WARNING: /" >&2
9387 echo "$as_me:$LINENO: checking for $ac_header" >&5
9388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9390 echo $ECHO_N "(cached) $ECHO_C" >&6
9392 eval "$as_ac_Header=\$ac_header_preproc"
9394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9399 cat >>confdefs.h
<<_ACEOF
9400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9410 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
9412 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9414 echo "$as_me:$LINENO: checking for $ac_header" >&5
9415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9417 echo $ECHO_N "(cached) $ECHO_C" >&6
9419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9422 # Is the header compilable?
9423 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9424 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9425 cat >conftest.
$ac_ext <<_ACEOF
9428 cat confdefs.h
>>conftest.
$ac_ext
9429 cat >>conftest.
$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9431 $ac_includes_default
9432 #include <$ac_header>
9434 rm -f conftest.
$ac_objext
9435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9436 (eval $ac_compile) 2>conftest.er1
9438 grep -v '^ *+' conftest.er1
>conftest.err
9440 cat conftest.err
>&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); } &&
9443 { ac_try
='test -z "$ac_c_werror_flag"
9444 || test ! -s conftest.err'
9445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 (exit $ac_status); }; } &&
9450 { ac_try
='test -s conftest.$ac_objext'
9451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); }; }; then
9456 ac_header_compiler
=yes
9458 echo "$as_me: failed program was:" >&5
9459 sed 's/^/| /' conftest.
$ac_ext >&5
9461 ac_header_compiler
=no
9463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9465 echo "${ECHO_T}$ac_header_compiler" >&6
9467 # Is the header present?
9468 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9470 cat >conftest.
$ac_ext <<_ACEOF
9473 cat confdefs.h
>>conftest.
$ac_ext
9474 cat >>conftest.
$ac_ext <<_ACEOF
9475 /* end confdefs.h. */
9476 #include <$ac_header>
9478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9479 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9481 grep -v '^ *+' conftest.er1
>conftest.err
9483 cat conftest.err
>&5
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); } >/dev
/null
; then
9486 if test -s conftest.err
; then
9487 ac_cpp_err
=$ac_c_preproc_warn_flag
9488 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9495 if test -z "$ac_cpp_err"; then
9496 ac_header_preproc
=yes
9498 echo "$as_me: failed program was:" >&5
9499 sed 's/^/| /' conftest.
$ac_ext >&5
9501 ac_header_preproc
=no
9503 rm -f conftest.err conftest.
$ac_ext
9504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9505 echo "${ECHO_T}$ac_header_preproc" >&6
9507 # So? What about this header?
9508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9510 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9511 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9513 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9514 ac_header_preproc
=yes
9517 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9518 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9519 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9520 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9521 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9522 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9523 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9524 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9526 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9527 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9528 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9531 ## ------------------------------------------ ##
9532 ## Report this to the AC_PACKAGE_NAME lists. ##
9533 ## ------------------------------------------ ##
9536 sed "s/^/$as_me: WARNING: /" >&2
9539 echo "$as_me:$LINENO: checking for $ac_header" >&5
9540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9542 echo $ECHO_N "(cached) $ECHO_C" >&6
9544 eval "$as_ac_Header=\$ac_header_preproc"
9546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9551 cat >>confdefs.h
<<_ACEOF
9552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9560 for ac_header
in stddef.h
9562 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9564 echo "$as_me:$LINENO: checking for $ac_header" >&5
9565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9567 echo $ECHO_N "(cached) $ECHO_C" >&6
9569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9572 # Is the header compilable?
9573 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9574 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9575 cat >conftest.
$ac_ext <<_ACEOF
9578 cat confdefs.h
>>conftest.
$ac_ext
9579 cat >>conftest.
$ac_ext <<_ACEOF
9580 /* end confdefs.h. */
9581 $ac_includes_default
9582 #include <$ac_header>
9584 rm -f conftest.
$ac_objext
9585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9586 (eval $ac_compile) 2>conftest.er1
9588 grep -v '^ *+' conftest.er1
>conftest.err
9590 cat conftest.err
>&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); } &&
9593 { ac_try
='test -z "$ac_c_werror_flag"
9594 || test ! -s conftest.err'
9595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); }; } &&
9600 { ac_try
='test -s conftest.$ac_objext'
9601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); }; }; then
9606 ac_header_compiler
=yes
9608 echo "$as_me: failed program was:" >&5
9609 sed 's/^/| /' conftest.
$ac_ext >&5
9611 ac_header_compiler
=no
9613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9614 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9615 echo "${ECHO_T}$ac_header_compiler" >&6
9617 # Is the header present?
9618 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9619 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9620 cat >conftest.
$ac_ext <<_ACEOF
9623 cat confdefs.h
>>conftest.
$ac_ext
9624 cat >>conftest.
$ac_ext <<_ACEOF
9625 /* end confdefs.h. */
9626 #include <$ac_header>
9628 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9629 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9631 grep -v '^ *+' conftest.er1
>conftest.err
9633 cat conftest.err
>&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); } >/dev
/null
; then
9636 if test -s conftest.err
; then
9637 ac_cpp_err
=$ac_c_preproc_warn_flag
9638 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9645 if test -z "$ac_cpp_err"; then
9646 ac_header_preproc
=yes
9648 echo "$as_me: failed program was:" >&5
9649 sed 's/^/| /' conftest.
$ac_ext >&5
9651 ac_header_preproc
=no
9653 rm -f conftest.err conftest.
$ac_ext
9654 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9655 echo "${ECHO_T}$ac_header_preproc" >&6
9657 # So? What about this header?
9658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9660 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9661 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9663 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9664 ac_header_preproc
=yes
9667 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9668 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9669 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9670 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9671 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9672 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9673 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9674 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9676 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9677 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9678 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9681 ## ------------------------------------------ ##
9682 ## Report this to the AC_PACKAGE_NAME lists. ##
9683 ## ------------------------------------------ ##
9686 sed "s/^/$as_me: WARNING: /" >&2
9689 echo "$as_me:$LINENO: checking for $ac_header" >&5
9690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9694 eval "$as_ac_Header=\$ac_header_preproc"
9696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9700 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9701 cat >>confdefs.h
<<_ACEOF
9702 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9710 for ac_header
in stdlib.h
9712 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9714 echo "$as_me:$LINENO: checking for $ac_header" >&5
9715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9717 echo $ECHO_N "(cached) $ECHO_C" >&6
9719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9722 # Is the header compilable?
9723 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9724 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9725 cat >conftest.
$ac_ext <<_ACEOF
9728 cat confdefs.h
>>conftest.
$ac_ext
9729 cat >>conftest.
$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9731 $ac_includes_default
9732 #include <$ac_header>
9734 rm -f conftest.
$ac_objext
9735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9736 (eval $ac_compile) 2>conftest.er1
9738 grep -v '^ *+' conftest.er1
>conftest.err
9740 cat conftest.err
>&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); } &&
9743 { ac_try
='test -z "$ac_c_werror_flag"
9744 || test ! -s conftest.err'
9745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); }; } &&
9750 { ac_try
='test -s conftest.$ac_objext'
9751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); }; }; then
9756 ac_header_compiler
=yes
9758 echo "$as_me: failed program was:" >&5
9759 sed 's/^/| /' conftest.
$ac_ext >&5
9761 ac_header_compiler
=no
9763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9765 echo "${ECHO_T}$ac_header_compiler" >&6
9767 # Is the header present?
9768 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9770 cat >conftest.
$ac_ext <<_ACEOF
9773 cat confdefs.h
>>conftest.
$ac_ext
9774 cat >>conftest.
$ac_ext <<_ACEOF
9775 /* end confdefs.h. */
9776 #include <$ac_header>
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
9788 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9795 if test -z "$ac_cpp_err"; then
9796 ac_header_preproc
=yes
9798 echo "$as_me: failed program was:" >&5
9799 sed 's/^/| /' conftest.
$ac_ext >&5
9801 ac_header_preproc
=no
9803 rm -f conftest.err conftest.
$ac_ext
9804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9805 echo "${ECHO_T}$ac_header_preproc" >&6
9807 # So? What about this header?
9808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9810 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9813 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9814 ac_header_preproc
=yes
9817 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9818 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9819 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9820 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9821 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9822 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9823 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9824 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9827 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9828 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9831 ## ------------------------------------------ ##
9832 ## Report this to the AC_PACKAGE_NAME lists. ##
9833 ## ------------------------------------------ ##
9836 sed "s/^/$as_me: WARNING: /" >&2
9839 echo "$as_me:$LINENO: checking for $ac_header" >&5
9840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9842 echo $ECHO_N "(cached) $ECHO_C" >&6
9844 eval "$as_ac_Header=\$ac_header_preproc"
9846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9851 cat >>confdefs.h
<<_ACEOF
9852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9860 for ac_header
in stdint.h
9862 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9864 echo "$as_me:$LINENO: checking for $ac_header" >&5
9865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9872 # Is the header compilable?
9873 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9874 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9875 cat >conftest.
$ac_ext <<_ACEOF
9878 cat confdefs.h
>>conftest.
$ac_ext
9879 cat >>conftest.
$ac_ext <<_ACEOF
9880 /* end confdefs.h. */
9881 $ac_includes_default
9882 #include <$ac_header>
9884 rm -f conftest.
$ac_objext
9885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9886 (eval $ac_compile) 2>conftest.er1
9888 grep -v '^ *+' conftest.er1
>conftest.err
9890 cat conftest.err
>&5
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); } &&
9893 { ac_try
='test -z "$ac_c_werror_flag"
9894 || test ! -s conftest.err'
9895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); }; } &&
9900 { ac_try
='test -s conftest.$ac_objext'
9901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); }; }; then
9906 ac_header_compiler
=yes
9908 echo "$as_me: failed program was:" >&5
9909 sed 's/^/| /' conftest.
$ac_ext >&5
9911 ac_header_compiler
=no
9913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9914 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9915 echo "${ECHO_T}$ac_header_compiler" >&6
9917 # Is the header present?
9918 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9919 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9920 cat >conftest.
$ac_ext <<_ACEOF
9923 cat confdefs.h
>>conftest.
$ac_ext
9924 cat >>conftest.
$ac_ext <<_ACEOF
9925 /* end confdefs.h. */
9926 #include <$ac_header>
9928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9929 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9931 grep -v '^ *+' conftest.er1
>conftest.err
9933 cat conftest.err
>&5
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 (exit $ac_status); } >/dev
/null
; then
9936 if test -s conftest.err
; then
9937 ac_cpp_err
=$ac_c_preproc_warn_flag
9938 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9945 if test -z "$ac_cpp_err"; then
9946 ac_header_preproc
=yes
9948 echo "$as_me: failed program was:" >&5
9949 sed 's/^/| /' conftest.
$ac_ext >&5
9951 ac_header_preproc
=no
9953 rm -f conftest.err conftest.
$ac_ext
9954 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9955 echo "${ECHO_T}$ac_header_preproc" >&6
9957 # So? What about this header?
9958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9960 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9961 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9963 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9964 ac_header_preproc
=yes
9967 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9968 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9969 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9970 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9971 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9972 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9973 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9974 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9976 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9977 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9978 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9981 ## ------------------------------------------ ##
9982 ## Report this to the AC_PACKAGE_NAME lists. ##
9983 ## ------------------------------------------ ##
9986 sed "s/^/$as_me: WARNING: /" >&2
9989 echo "$as_me:$LINENO: checking for $ac_header" >&5
9990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9992 echo $ECHO_N "(cached) $ECHO_C" >&6
9994 eval "$as_ac_Header=\$ac_header_preproc"
9996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10001 cat >>confdefs.h
<<_ACEOF
10002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10012 for ac_header
in string.h memory.h
strings.h
10014 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10016 echo "$as_me:$LINENO: checking for $ac_header" >&5
10017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10019 echo $ECHO_N "(cached) $ECHO_C" >&6
10021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10024 # Is the header compilable?
10025 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10026 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10027 cat >conftest.
$ac_ext <<_ACEOF
10030 cat confdefs.h
>>conftest.
$ac_ext
10031 cat >>conftest.
$ac_ext <<_ACEOF
10032 /* end confdefs.h. */
10033 $ac_includes_default
10034 #include <$ac_header>
10036 rm -f conftest.
$ac_objext
10037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10038 (eval $ac_compile) 2>conftest.er1
10040 grep -v '^ *+' conftest.er1
>conftest.err
10042 cat conftest.err
>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); } &&
10045 { ac_try
='test -z "$ac_c_werror_flag"
10046 || test ! -s conftest.err'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; } &&
10052 { ac_try
='test -s conftest.$ac_objext'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10058 ac_header_compiler
=yes
10060 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.
$ac_ext >&5
10063 ac_header_compiler
=no
10065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10066 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10067 echo "${ECHO_T}$ac_header_compiler" >&6
10069 # Is the header present?
10070 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10071 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10072 cat >conftest.
$ac_ext <<_ACEOF
10075 cat confdefs.h
>>conftest.
$ac_ext
10076 cat >>conftest.
$ac_ext <<_ACEOF
10077 /* end confdefs.h. */
10078 #include <$ac_header>
10080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10081 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10083 grep -v '^ *+' conftest.er1
>conftest.err
10085 cat conftest.err
>&5
10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087 (exit $ac_status); } >/dev
/null
; then
10088 if test -s conftest.err
; then
10089 ac_cpp_err
=$ac_c_preproc_warn_flag
10090 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10097 if test -z "$ac_cpp_err"; then
10098 ac_header_preproc
=yes
10100 echo "$as_me: failed program was:" >&5
10101 sed 's/^/| /' conftest.
$ac_ext >&5
10103 ac_header_preproc
=no
10105 rm -f conftest.err conftest.
$ac_ext
10106 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10107 echo "${ECHO_T}$ac_header_preproc" >&6
10109 # So? What about this header?
10110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10112 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10113 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10115 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10116 ac_header_preproc
=yes
10119 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10120 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10121 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10122 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10123 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10124 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10125 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10126 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10128 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10129 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10130 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10133 ## ------------------------------------------ ##
10134 ## Report this to the AC_PACKAGE_NAME lists. ##
10135 ## ------------------------------------------ ##
10138 sed "s/^/$as_me: WARNING: /" >&2
10141 echo "$as_me:$LINENO: checking for $ac_header" >&5
10142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10144 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 eval "$as_ac_Header=\$ac_header_preproc"
10148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10153 cat >>confdefs.h
<<_ACEOF
10154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10162 for ac_header
in sys
/fault.h
10164 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10166 echo "$as_me:$LINENO: checking for $ac_header" >&5
10167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10169 echo $ECHO_N "(cached) $ECHO_C" >&6
10171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10174 # Is the header compilable?
10175 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10176 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10177 cat >conftest.
$ac_ext <<_ACEOF
10180 cat confdefs.h
>>conftest.
$ac_ext
10181 cat >>conftest.
$ac_ext <<_ACEOF
10182 /* end confdefs.h. */
10183 $ac_includes_default
10184 #include <$ac_header>
10186 rm -f conftest.
$ac_objext
10187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10188 (eval $ac_compile) 2>conftest.er1
10190 grep -v '^ *+' conftest.er1
>conftest.err
10192 cat conftest.err
>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } &&
10195 { ac_try
='test -z "$ac_c_werror_flag"
10196 || test ! -s conftest.err'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; } &&
10202 { ac_try
='test -s conftest.$ac_objext'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; }; then
10208 ac_header_compiler
=yes
10210 echo "$as_me: failed program was:" >&5
10211 sed 's/^/| /' conftest.
$ac_ext >&5
10213 ac_header_compiler
=no
10215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10217 echo "${ECHO_T}$ac_header_compiler" >&6
10219 # Is the header present?
10220 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10221 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10222 cat >conftest.
$ac_ext <<_ACEOF
10225 cat confdefs.h
>>conftest.
$ac_ext
10226 cat >>conftest.
$ac_ext <<_ACEOF
10227 /* end confdefs.h. */
10228 #include <$ac_header>
10230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10231 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10233 grep -v '^ *+' conftest.er1
>conftest.err
10235 cat conftest.err
>&5
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); } >/dev
/null
; then
10238 if test -s conftest.err
; then
10239 ac_cpp_err
=$ac_c_preproc_warn_flag
10240 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10247 if test -z "$ac_cpp_err"; then
10248 ac_header_preproc
=yes
10250 echo "$as_me: failed program was:" >&5
10251 sed 's/^/| /' conftest.
$ac_ext >&5
10253 ac_header_preproc
=no
10255 rm -f conftest.err conftest.
$ac_ext
10256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10257 echo "${ECHO_T}$ac_header_preproc" >&6
10259 # So? What about this header?
10260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10262 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10263 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10265 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10266 ac_header_preproc
=yes
10269 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10270 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10271 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10272 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10273 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10274 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10275 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10276 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10279 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10280 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10283 ## ------------------------------------------ ##
10284 ## Report this to the AC_PACKAGE_NAME lists. ##
10285 ## ------------------------------------------ ##
10288 sed "s/^/$as_me: WARNING: /" >&2
10291 echo "$as_me:$LINENO: checking for $ac_header" >&5
10292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10296 eval "$as_ac_Header=\$ac_header_preproc"
10298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10303 cat >>confdefs.h
<<_ACEOF
10304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10312 for ac_header
in sys
/file.h
10314 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10316 echo "$as_me:$LINENO: checking for $ac_header" >&5
10317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10319 echo $ECHO_N "(cached) $ECHO_C" >&6
10321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10324 # Is the header compilable?
10325 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10327 cat >conftest.
$ac_ext <<_ACEOF
10330 cat confdefs.h
>>conftest.
$ac_ext
10331 cat >>conftest.
$ac_ext <<_ACEOF
10332 /* end confdefs.h. */
10333 $ac_includes_default
10334 #include <$ac_header>
10336 rm -f conftest.
$ac_objext
10337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10338 (eval $ac_compile) 2>conftest.er1
10340 grep -v '^ *+' conftest.er1
>conftest.err
10342 cat conftest.err
>&5
10343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); } &&
10345 { ac_try
='test -z "$ac_c_werror_flag"
10346 || test ! -s conftest.err'
10347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10348 (eval $ac_try) 2>&5
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); }; } &&
10352 { ac_try
='test -s conftest.$ac_objext'
10353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10354 (eval $ac_try) 2>&5
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); }; }; then
10358 ac_header_compiler
=yes
10360 echo "$as_me: failed program was:" >&5
10361 sed 's/^/| /' conftest.
$ac_ext >&5
10363 ac_header_compiler
=no
10365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10367 echo "${ECHO_T}$ac_header_compiler" >&6
10369 # Is the header present?
10370 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10372 cat >conftest.
$ac_ext <<_ACEOF
10375 cat confdefs.h
>>conftest.
$ac_ext
10376 cat >>conftest.
$ac_ext <<_ACEOF
10377 /* end confdefs.h. */
10378 #include <$ac_header>
10380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10381 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10383 grep -v '^ *+' conftest.er1
>conftest.err
10385 cat conftest.err
>&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); } >/dev
/null
; then
10388 if test -s conftest.err
; then
10389 ac_cpp_err
=$ac_c_preproc_warn_flag
10390 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10397 if test -z "$ac_cpp_err"; then
10398 ac_header_preproc
=yes
10400 echo "$as_me: failed program was:" >&5
10401 sed 's/^/| /' conftest.
$ac_ext >&5
10403 ac_header_preproc
=no
10405 rm -f conftest.err conftest.
$ac_ext
10406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10407 echo "${ECHO_T}$ac_header_preproc" >&6
10409 # So? What about this header?
10410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10412 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10413 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10415 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10416 ac_header_preproc
=yes
10419 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10420 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10421 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10422 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10423 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10424 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10425 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10426 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10429 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10430 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10433 ## ------------------------------------------ ##
10434 ## Report this to the AC_PACKAGE_NAME lists. ##
10435 ## ------------------------------------------ ##
10438 sed "s/^/$as_me: WARNING: /" >&2
10441 echo "$as_me:$LINENO: checking for $ac_header" >&5
10442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10444 echo $ECHO_N "(cached) $ECHO_C" >&6
10446 eval "$as_ac_Header=\$ac_header_preproc"
10448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10453 cat >>confdefs.h
<<_ACEOF
10454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10462 for ac_header
in sys
/filio.h
10464 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10466 echo "$as_me:$LINENO: checking for $ac_header" >&5
10467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10469 echo $ECHO_N "(cached) $ECHO_C" >&6
10471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10474 # Is the header compilable?
10475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10477 cat >conftest.
$ac_ext <<_ACEOF
10480 cat confdefs.h
>>conftest.
$ac_ext
10481 cat >>conftest.
$ac_ext <<_ACEOF
10482 /* end confdefs.h. */
10483 $ac_includes_default
10484 #include <$ac_header>
10486 rm -f conftest.
$ac_objext
10487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10488 (eval $ac_compile) 2>conftest.er1
10490 grep -v '^ *+' conftest.er1
>conftest.err
10492 cat conftest.err
>&5
10493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10494 (exit $ac_status); } &&
10495 { ac_try
='test -z "$ac_c_werror_flag"
10496 || test ! -s conftest.err'
10497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10498 (eval $ac_try) 2>&5
10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501 (exit $ac_status); }; } &&
10502 { ac_try
='test -s conftest.$ac_objext'
10503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10504 (eval $ac_try) 2>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); }; }; then
10508 ac_header_compiler
=yes
10510 echo "$as_me: failed program was:" >&5
10511 sed 's/^/| /' conftest.
$ac_ext >&5
10513 ac_header_compiler
=no
10515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10517 echo "${ECHO_T}$ac_header_compiler" >&6
10519 # Is the header present?
10520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10522 cat >conftest.
$ac_ext <<_ACEOF
10525 cat confdefs.h
>>conftest.
$ac_ext
10526 cat >>conftest.
$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10528 #include <$ac_header>
10530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10531 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10533 grep -v '^ *+' conftest.er1
>conftest.err
10535 cat conftest.err
>&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); } >/dev
/null
; then
10538 if test -s conftest.err
; then
10539 ac_cpp_err
=$ac_c_preproc_warn_flag
10540 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10547 if test -z "$ac_cpp_err"; then
10548 ac_header_preproc
=yes
10550 echo "$as_me: failed program was:" >&5
10551 sed 's/^/| /' conftest.
$ac_ext >&5
10553 ac_header_preproc
=no
10555 rm -f conftest.err conftest.
$ac_ext
10556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10557 echo "${ECHO_T}$ac_header_preproc" >&6
10559 # So? What about this header?
10560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10566 ac_header_preproc
=yes
10569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10583 ## ------------------------------------------ ##
10584 ## Report this to the AC_PACKAGE_NAME lists. ##
10585 ## ------------------------------------------ ##
10588 sed "s/^/$as_me: WARNING: /" >&2
10591 echo "$as_me:$LINENO: checking for $ac_header" >&5
10592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10594 echo $ECHO_N "(cached) $ECHO_C" >&6
10596 eval "$as_ac_Header=\$ac_header_preproc"
10598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10603 cat >>confdefs.h
<<_ACEOF
10604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10612 for ac_header
in sys
/ioctl.h
10614 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10616 echo "$as_me:$LINENO: checking for $ac_header" >&5
10617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10619 echo $ECHO_N "(cached) $ECHO_C" >&6
10621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10624 # Is the header compilable?
10625 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10627 cat >conftest.
$ac_ext <<_ACEOF
10630 cat confdefs.h
>>conftest.
$ac_ext
10631 cat >>conftest.
$ac_ext <<_ACEOF
10632 /* end confdefs.h. */
10633 $ac_includes_default
10634 #include <$ac_header>
10636 rm -f conftest.
$ac_objext
10637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10638 (eval $ac_compile) 2>conftest.er1
10640 grep -v '^ *+' conftest.er1
>conftest.err
10642 cat conftest.err
>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); } &&
10645 { ac_try
='test -z "$ac_c_werror_flag"
10646 || test ! -s conftest.err'
10647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10648 (eval $ac_try) 2>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); }; } &&
10652 { ac_try
='test -s conftest.$ac_objext'
10653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10654 (eval $ac_try) 2>&5
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); }; }; then
10658 ac_header_compiler
=yes
10660 echo "$as_me: failed program was:" >&5
10661 sed 's/^/| /' conftest.
$ac_ext >&5
10663 ac_header_compiler
=no
10665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10667 echo "${ECHO_T}$ac_header_compiler" >&6
10669 # Is the header present?
10670 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10671 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10672 cat >conftest.
$ac_ext <<_ACEOF
10675 cat confdefs.h
>>conftest.
$ac_ext
10676 cat >>conftest.
$ac_ext <<_ACEOF
10677 /* end confdefs.h. */
10678 #include <$ac_header>
10680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10681 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10683 grep -v '^ *+' conftest.er1
>conftest.err
10685 cat conftest.err
>&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); } >/dev
/null
; then
10688 if test -s conftest.err
; then
10689 ac_cpp_err
=$ac_c_preproc_warn_flag
10690 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10697 if test -z "$ac_cpp_err"; then
10698 ac_header_preproc
=yes
10700 echo "$as_me: failed program was:" >&5
10701 sed 's/^/| /' conftest.
$ac_ext >&5
10703 ac_header_preproc
=no
10705 rm -f conftest.err conftest.
$ac_ext
10706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10707 echo "${ECHO_T}$ac_header_preproc" >&6
10709 # So? What about this header?
10710 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10712 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10713 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10715 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10716 ac_header_preproc
=yes
10719 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10720 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10721 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10722 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10723 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10724 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10725 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10726 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10728 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10729 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10730 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10733 ## ------------------------------------------ ##
10734 ## Report this to the AC_PACKAGE_NAME lists. ##
10735 ## ------------------------------------------ ##
10738 sed "s/^/$as_me: WARNING: /" >&2
10741 echo "$as_me:$LINENO: checking for $ac_header" >&5
10742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10744 echo $ECHO_N "(cached) $ECHO_C" >&6
10746 eval "$as_ac_Header=\$ac_header_preproc"
10748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10753 cat >>confdefs.h
<<_ACEOF
10754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10762 for ac_header
in sys
/param.h
10764 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10766 echo "$as_me:$LINENO: checking for $ac_header" >&5
10767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10774 # Is the header compilable?
10775 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10777 cat >conftest.
$ac_ext <<_ACEOF
10780 cat confdefs.h
>>conftest.
$ac_ext
10781 cat >>conftest.
$ac_ext <<_ACEOF
10782 /* end confdefs.h. */
10783 $ac_includes_default
10784 #include <$ac_header>
10786 rm -f conftest.
$ac_objext
10787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10788 (eval $ac_compile) 2>conftest.er1
10790 grep -v '^ *+' conftest.er1
>conftest.err
10792 cat conftest.err
>&5
10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); } &&
10795 { ac_try
='test -z "$ac_c_werror_flag"
10796 || test ! -s conftest.err'
10797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10798 (eval $ac_try) 2>&5
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); }; } &&
10802 { ac_try
='test -s conftest.$ac_objext'
10803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10804 (eval $ac_try) 2>&5
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); }; }; then
10808 ac_header_compiler
=yes
10810 echo "$as_me: failed program was:" >&5
10811 sed 's/^/| /' conftest.
$ac_ext >&5
10813 ac_header_compiler
=no
10815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10817 echo "${ECHO_T}$ac_header_compiler" >&6
10819 # Is the header present?
10820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10822 cat >conftest.
$ac_ext <<_ACEOF
10825 cat confdefs.h
>>conftest.
$ac_ext
10826 cat >>conftest.
$ac_ext <<_ACEOF
10827 /* end confdefs.h. */
10828 #include <$ac_header>
10830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10833 grep -v '^ *+' conftest.er1
>conftest.err
10835 cat conftest.err
>&5
10836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837 (exit $ac_status); } >/dev
/null
; then
10838 if test -s conftest.err
; then
10839 ac_cpp_err
=$ac_c_preproc_warn_flag
10840 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10847 if test -z "$ac_cpp_err"; then
10848 ac_header_preproc
=yes
10850 echo "$as_me: failed program was:" >&5
10851 sed 's/^/| /' conftest.
$ac_ext >&5
10853 ac_header_preproc
=no
10855 rm -f conftest.err conftest.
$ac_ext
10856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10857 echo "${ECHO_T}$ac_header_preproc" >&6
10859 # So? What about this header?
10860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10865 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10866 ac_header_preproc
=yes
10869 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10870 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10871 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10872 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10873 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10874 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10875 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10876 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10879 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10880 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10883 ## ------------------------------------------ ##
10884 ## Report this to the AC_PACKAGE_NAME lists. ##
10885 ## ------------------------------------------ ##
10888 sed "s/^/$as_me: WARNING: /" >&2
10891 echo "$as_me:$LINENO: checking for $ac_header" >&5
10892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10894 echo $ECHO_N "(cached) $ECHO_C" >&6
10896 eval "$as_ac_Header=\$ac_header_preproc"
10898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10903 cat >>confdefs.h
<<_ACEOF
10904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10912 for ac_header
in sys
/proc.h
10914 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10915 echo "$as_me:$LINENO: checking for $ac_header" >&5
10916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10918 echo $ECHO_N "(cached) $ECHO_C" >&6
10920 cat >conftest.
$ac_ext <<_ACEOF
10923 cat confdefs.h
>>conftest.
$ac_ext
10924 cat >>conftest.
$ac_ext <<_ACEOF
10925 /* end confdefs.h. */
10926 #if HAVE_SYS_PARAM_H
10927 # include <sys/param.h>
10931 #include <$ac_header>
10933 rm -f conftest.
$ac_objext
10934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10935 (eval $ac_compile) 2>conftest.er1
10937 grep -v '^ *+' conftest.er1
>conftest.err
10939 cat conftest.err
>&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); } &&
10942 { ac_try
='test -z "$ac_c_werror_flag"
10943 || test ! -s conftest.err'
10944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10945 (eval $ac_try) 2>&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; } &&
10949 { ac_try
='test -s conftest.$ac_objext'
10950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10951 (eval $ac_try) 2>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); }; }; then
10955 eval "$as_ac_Header=yes"
10957 echo "$as_me: failed program was:" >&5
10958 sed 's/^/| /' conftest.
$ac_ext >&5
10960 eval "$as_ac_Header=no"
10962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10967 cat >>confdefs.h
<<_ACEOF
10968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10976 for ac_header
in sys
/procfs.h
10978 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10980 echo "$as_me:$LINENO: checking for $ac_header" >&5
10981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10983 echo $ECHO_N "(cached) $ECHO_C" >&6
10985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10988 # Is the header compilable?
10989 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10990 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10991 cat >conftest.
$ac_ext <<_ACEOF
10994 cat confdefs.h
>>conftest.
$ac_ext
10995 cat >>conftest.
$ac_ext <<_ACEOF
10996 /* end confdefs.h. */
10997 $ac_includes_default
10998 #include <$ac_header>
11000 rm -f conftest.
$ac_objext
11001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11002 (eval $ac_compile) 2>conftest.er1
11004 grep -v '^ *+' conftest.er1
>conftest.err
11006 cat conftest.err
>&5
11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008 (exit $ac_status); } &&
11009 { ac_try
='test -z "$ac_c_werror_flag"
11010 || test ! -s conftest.err'
11011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012 (eval $ac_try) 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; } &&
11016 { ac_try
='test -s conftest.$ac_objext'
11017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11018 (eval $ac_try) 2>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); }; }; then
11022 ac_header_compiler
=yes
11024 echo "$as_me: failed program was:" >&5
11025 sed 's/^/| /' conftest.
$ac_ext >&5
11027 ac_header_compiler
=no
11029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11031 echo "${ECHO_T}$ac_header_compiler" >&6
11033 # Is the header present?
11034 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11036 cat >conftest.
$ac_ext <<_ACEOF
11039 cat confdefs.h
>>conftest.
$ac_ext
11040 cat >>conftest.
$ac_ext <<_ACEOF
11041 /* end confdefs.h. */
11042 #include <$ac_header>
11044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11045 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11047 grep -v '^ *+' conftest.er1
>conftest.err
11049 cat conftest.err
>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } >/dev
/null
; then
11052 if test -s conftest.err
; then
11053 ac_cpp_err
=$ac_c_preproc_warn_flag
11054 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11061 if test -z "$ac_cpp_err"; then
11062 ac_header_preproc
=yes
11064 echo "$as_me: failed program was:" >&5
11065 sed 's/^/| /' conftest.
$ac_ext >&5
11067 ac_header_preproc
=no
11069 rm -f conftest.err conftest.
$ac_ext
11070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11071 echo "${ECHO_T}$ac_header_preproc" >&6
11073 # So? What about this header?
11074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11076 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11077 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11079 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11080 ac_header_preproc
=yes
11083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11086 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11087 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11088 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11089 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11090 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11093 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11094 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11097 ## ------------------------------------------ ##
11098 ## Report this to the AC_PACKAGE_NAME lists. ##
11099 ## ------------------------------------------ ##
11102 sed "s/^/$as_me: WARNING: /" >&2
11105 echo "$as_me:$LINENO: checking for $ac_header" >&5
11106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11108 echo $ECHO_N "(cached) $ECHO_C" >&6
11110 eval "$as_ac_Header=\$ac_header_preproc"
11112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11117 cat >>confdefs.h
<<_ACEOF
11118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11127 for ac_header
in sys
/ptrace.h ptrace.h
11129 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11131 echo "$as_me:$LINENO: checking for $ac_header" >&5
11132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11134 echo $ECHO_N "(cached) $ECHO_C" >&6
11136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11139 # Is the header compilable?
11140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11142 cat >conftest.
$ac_ext <<_ACEOF
11145 cat confdefs.h
>>conftest.
$ac_ext
11146 cat >>conftest.
$ac_ext <<_ACEOF
11147 /* end confdefs.h. */
11148 $ac_includes_default
11149 #include <$ac_header>
11151 rm -f conftest.
$ac_objext
11152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11153 (eval $ac_compile) 2>conftest.er1
11155 grep -v '^ *+' conftest.er1
>conftest.err
11157 cat conftest.err
>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); } &&
11160 { ac_try
='test -z "$ac_c_werror_flag"
11161 || test ! -s conftest.err'
11162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 (eval $ac_try) 2>&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; } &&
11167 { ac_try
='test -s conftest.$ac_objext'
11168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11169 (eval $ac_try) 2>&5
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); }; }; then
11173 ac_header_compiler
=yes
11175 echo "$as_me: failed program was:" >&5
11176 sed 's/^/| /' conftest.
$ac_ext >&5
11178 ac_header_compiler
=no
11180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11182 echo "${ECHO_T}$ac_header_compiler" >&6
11184 # Is the header present?
11185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11187 cat >conftest.
$ac_ext <<_ACEOF
11190 cat confdefs.h
>>conftest.
$ac_ext
11191 cat >>conftest.
$ac_ext <<_ACEOF
11192 /* end confdefs.h. */
11193 #include <$ac_header>
11195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11196 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11198 grep -v '^ *+' conftest.er1
>conftest.err
11200 cat conftest.err
>&5
11201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11202 (exit $ac_status); } >/dev
/null
; then
11203 if test -s conftest.err
; then
11204 ac_cpp_err
=$ac_c_preproc_warn_flag
11205 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11212 if test -z "$ac_cpp_err"; then
11213 ac_header_preproc
=yes
11215 echo "$as_me: failed program was:" >&5
11216 sed 's/^/| /' conftest.
$ac_ext >&5
11218 ac_header_preproc
=no
11220 rm -f conftest.err conftest.
$ac_ext
11221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11222 echo "${ECHO_T}$ac_header_preproc" >&6
11224 # So? What about this header?
11225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11231 ac_header_preproc
=yes
11234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11248 ## ------------------------------------------ ##
11249 ## Report this to the AC_PACKAGE_NAME lists. ##
11250 ## ------------------------------------------ ##
11253 sed "s/^/$as_me: WARNING: /" >&2
11256 echo "$as_me:$LINENO: checking for $ac_header" >&5
11257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11259 echo $ECHO_N "(cached) $ECHO_C" >&6
11261 eval "$as_ac_Header=\$ac_header_preproc"
11263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11268 cat >>confdefs.h
<<_ACEOF
11269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11278 for ac_header
in sys
/reg.h sys
/debugreg.h
11280 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11282 echo "$as_me:$LINENO: checking for $ac_header" >&5
11283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11285 echo $ECHO_N "(cached) $ECHO_C" >&6
11287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11290 # Is the header compilable?
11291 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11292 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11293 cat >conftest.
$ac_ext <<_ACEOF
11296 cat confdefs.h
>>conftest.
$ac_ext
11297 cat >>conftest.
$ac_ext <<_ACEOF
11298 /* end confdefs.h. */
11299 $ac_includes_default
11300 #include <$ac_header>
11302 rm -f conftest.
$ac_objext
11303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11304 (eval $ac_compile) 2>conftest.er1
11306 grep -v '^ *+' conftest.er1
>conftest.err
11308 cat conftest.err
>&5
11309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310 (exit $ac_status); } &&
11311 { ac_try
='test -z "$ac_c_werror_flag"
11312 || test ! -s conftest.err'
11313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11314 (eval $ac_try) 2>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; } &&
11318 { ac_try
='test -s conftest.$ac_objext'
11319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11320 (eval $ac_try) 2>&5
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); }; }; then
11324 ac_header_compiler
=yes
11326 echo "$as_me: failed program was:" >&5
11327 sed 's/^/| /' conftest.
$ac_ext >&5
11329 ac_header_compiler
=no
11331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11333 echo "${ECHO_T}$ac_header_compiler" >&6
11335 # Is the header present?
11336 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11338 cat >conftest.
$ac_ext <<_ACEOF
11341 cat confdefs.h
>>conftest.
$ac_ext
11342 cat >>conftest.
$ac_ext <<_ACEOF
11343 /* end confdefs.h. */
11344 #include <$ac_header>
11346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11347 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11349 grep -v '^ *+' conftest.er1
>conftest.err
11351 cat conftest.err
>&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); } >/dev
/null
; then
11354 if test -s conftest.err
; then
11355 ac_cpp_err
=$ac_c_preproc_warn_flag
11356 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11363 if test -z "$ac_cpp_err"; then
11364 ac_header_preproc
=yes
11366 echo "$as_me: failed program was:" >&5
11367 sed 's/^/| /' conftest.
$ac_ext >&5
11369 ac_header_preproc
=no
11371 rm -f conftest.err conftest.
$ac_ext
11372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11373 echo "${ECHO_T}$ac_header_preproc" >&6
11375 # So? What about this header?
11376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11378 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11379 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11381 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11382 ac_header_preproc
=yes
11385 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11386 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11387 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11388 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11389 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11390 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11391 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11392 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11395 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11396 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11399 ## ------------------------------------------ ##
11400 ## Report this to the AC_PACKAGE_NAME lists. ##
11401 ## ------------------------------------------ ##
11404 sed "s/^/$as_me: WARNING: /" >&2
11407 echo "$as_me:$LINENO: checking for $ac_header" >&5
11408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11412 eval "$as_ac_Header=\$ac_header_preproc"
11414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11419 cat >>confdefs.h
<<_ACEOF
11420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11428 for ac_header
in sys
/select.h
11430 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11432 echo "$as_me:$LINENO: checking for $ac_header" >&5
11433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11435 echo $ECHO_N "(cached) $ECHO_C" >&6
11437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11440 # Is the header compilable?
11441 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11442 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11443 cat >conftest.
$ac_ext <<_ACEOF
11446 cat confdefs.h
>>conftest.
$ac_ext
11447 cat >>conftest.
$ac_ext <<_ACEOF
11448 /* end confdefs.h. */
11449 $ac_includes_default
11450 #include <$ac_header>
11452 rm -f conftest.
$ac_objext
11453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11454 (eval $ac_compile) 2>conftest.er1
11456 grep -v '^ *+' conftest.er1
>conftest.err
11458 cat conftest.err
>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); } &&
11461 { ac_try
='test -z "$ac_c_werror_flag"
11462 || test ! -s conftest.err'
11463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11464 (eval $ac_try) 2>&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); }; } &&
11468 { ac_try
='test -s conftest.$ac_objext'
11469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11470 (eval $ac_try) 2>&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }; }; then
11474 ac_header_compiler
=yes
11476 echo "$as_me: failed program was:" >&5
11477 sed 's/^/| /' conftest.
$ac_ext >&5
11479 ac_header_compiler
=no
11481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11482 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11483 echo "${ECHO_T}$ac_header_compiler" >&6
11485 # Is the header present?
11486 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11487 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11488 cat >conftest.
$ac_ext <<_ACEOF
11491 cat confdefs.h
>>conftest.
$ac_ext
11492 cat >>conftest.
$ac_ext <<_ACEOF
11493 /* end confdefs.h. */
11494 #include <$ac_header>
11496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11497 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11499 grep -v '^ *+' conftest.er1
>conftest.err
11501 cat conftest.err
>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); } >/dev
/null
; then
11504 if test -s conftest.err
; then
11505 ac_cpp_err
=$ac_c_preproc_warn_flag
11506 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11513 if test -z "$ac_cpp_err"; then
11514 ac_header_preproc
=yes
11516 echo "$as_me: failed program was:" >&5
11517 sed 's/^/| /' conftest.
$ac_ext >&5
11519 ac_header_preproc
=no
11521 rm -f conftest.err conftest.
$ac_ext
11522 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11523 echo "${ECHO_T}$ac_header_preproc" >&6
11525 # So? What about this header?
11526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11528 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11529 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11531 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11532 ac_header_preproc
=yes
11535 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11536 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11537 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11538 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11539 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11540 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11541 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11542 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11545 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11546 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11549 ## ------------------------------------------ ##
11550 ## Report this to the AC_PACKAGE_NAME lists. ##
11551 ## ------------------------------------------ ##
11554 sed "s/^/$as_me: WARNING: /" >&2
11557 echo "$as_me:$LINENO: checking for $ac_header" >&5
11558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 eval "$as_ac_Header=\$ac_header_preproc"
11564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11569 cat >>confdefs.h
<<_ACEOF
11570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11578 for ac_header
in sys
/syscall.h
11580 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11582 echo "$as_me:$LINENO: checking for $ac_header" >&5
11583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11585 echo $ECHO_N "(cached) $ECHO_C" >&6
11587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11590 # Is the header compilable?
11591 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11593 cat >conftest.
$ac_ext <<_ACEOF
11596 cat confdefs.h
>>conftest.
$ac_ext
11597 cat >>conftest.
$ac_ext <<_ACEOF
11598 /* end confdefs.h. */
11599 $ac_includes_default
11600 #include <$ac_header>
11602 rm -f conftest.
$ac_objext
11603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11604 (eval $ac_compile) 2>conftest.er1
11606 grep -v '^ *+' conftest.er1
>conftest.err
11608 cat conftest.err
>&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); } &&
11611 { ac_try
='test -z "$ac_c_werror_flag"
11612 || test ! -s conftest.err'
11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }; } &&
11618 { ac_try
='test -s conftest.$ac_objext'
11619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11620 (eval $ac_try) 2>&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); }; }; then
11624 ac_header_compiler
=yes
11626 echo "$as_me: failed program was:" >&5
11627 sed 's/^/| /' conftest.
$ac_ext >&5
11629 ac_header_compiler
=no
11631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11633 echo "${ECHO_T}$ac_header_compiler" >&6
11635 # Is the header present?
11636 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11637 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11638 cat >conftest.
$ac_ext <<_ACEOF
11641 cat confdefs.h
>>conftest.
$ac_ext
11642 cat >>conftest.
$ac_ext <<_ACEOF
11643 /* end confdefs.h. */
11644 #include <$ac_header>
11646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11647 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11649 grep -v '^ *+' conftest.er1
>conftest.err
11651 cat conftest.err
>&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); } >/dev
/null
; then
11654 if test -s conftest.err
; then
11655 ac_cpp_err
=$ac_c_preproc_warn_flag
11656 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11663 if test -z "$ac_cpp_err"; then
11664 ac_header_preproc
=yes
11666 echo "$as_me: failed program was:" >&5
11667 sed 's/^/| /' conftest.
$ac_ext >&5
11669 ac_header_preproc
=no
11671 rm -f conftest.err conftest.
$ac_ext
11672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11673 echo "${ECHO_T}$ac_header_preproc" >&6
11675 # So? What about this header?
11676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11681 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11682 ac_header_preproc
=yes
11685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11689 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11690 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11691 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11692 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11695 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11696 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11699 ## ------------------------------------------ ##
11700 ## Report this to the AC_PACKAGE_NAME lists. ##
11701 ## ------------------------------------------ ##
11704 sed "s/^/$as_me: WARNING: /" >&2
11707 echo "$as_me:$LINENO: checking for $ac_header" >&5
11708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11710 echo $ECHO_N "(cached) $ECHO_C" >&6
11712 eval "$as_ac_Header=\$ac_header_preproc"
11714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11719 cat >>confdefs.h
<<_ACEOF
11720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11728 for ac_header
in sys
/types.h
11730 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11732 echo "$as_me:$LINENO: checking for $ac_header" >&5
11733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11740 # Is the header compilable?
11741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11743 cat >conftest.
$ac_ext <<_ACEOF
11746 cat confdefs.h
>>conftest.
$ac_ext
11747 cat >>conftest.
$ac_ext <<_ACEOF
11748 /* end confdefs.h. */
11749 $ac_includes_default
11750 #include <$ac_header>
11752 rm -f conftest.
$ac_objext
11753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11754 (eval $ac_compile) 2>conftest.er1
11756 grep -v '^ *+' conftest.er1
>conftest.err
11758 cat conftest.err
>&5
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); } &&
11761 { ac_try
='test -z "$ac_c_werror_flag"
11762 || test ! -s conftest.err'
11763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11764 (eval $ac_try) 2>&5
11766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11767 (exit $ac_status); }; } &&
11768 { ac_try
='test -s conftest.$ac_objext'
11769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11770 (eval $ac_try) 2>&5
11772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773 (exit $ac_status); }; }; then
11774 ac_header_compiler
=yes
11776 echo "$as_me: failed program was:" >&5
11777 sed 's/^/| /' conftest.
$ac_ext >&5
11779 ac_header_compiler
=no
11781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11783 echo "${ECHO_T}$ac_header_compiler" >&6
11785 # Is the header present?
11786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11788 cat >conftest.
$ac_ext <<_ACEOF
11791 cat confdefs.h
>>conftest.
$ac_ext
11792 cat >>conftest.
$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11794 #include <$ac_header>
11796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11797 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11799 grep -v '^ *+' conftest.er1
>conftest.err
11801 cat conftest.err
>&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); } >/dev
/null
; then
11804 if test -s conftest.err
; then
11805 ac_cpp_err
=$ac_c_preproc_warn_flag
11806 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11813 if test -z "$ac_cpp_err"; then
11814 ac_header_preproc
=yes
11816 echo "$as_me: failed program was:" >&5
11817 sed 's/^/| /' conftest.
$ac_ext >&5
11819 ac_header_preproc
=no
11821 rm -f conftest.err conftest.
$ac_ext
11822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11823 echo "${ECHO_T}$ac_header_preproc" >&6
11825 # So? What about this header?
11826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11832 ac_header_preproc
=yes
11835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11849 ## ------------------------------------------ ##
11850 ## Report this to the AC_PACKAGE_NAME lists. ##
11851 ## ------------------------------------------ ##
11854 sed "s/^/$as_me: WARNING: /" >&2
11857 echo "$as_me:$LINENO: checking for $ac_header" >&5
11858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11862 eval "$as_ac_Header=\$ac_header_preproc"
11864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11869 cat >>confdefs.h
<<_ACEOF
11870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11878 for ac_header
in sys
/user.h
11880 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11881 echo "$as_me:$LINENO: checking for $ac_header" >&5
11882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11884 echo $ECHO_N "(cached) $ECHO_C" >&6
11886 cat >conftest.
$ac_ext <<_ACEOF
11889 cat confdefs.h
>>conftest.
$ac_ext
11890 cat >>conftest.
$ac_ext <<_ACEOF
11891 /* end confdefs.h. */
11892 #if HAVE_SYS_PARAM_H
11893 # include <sys/param.h>
11897 #include <$ac_header>
11899 rm -f conftest.
$ac_objext
11900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11901 (eval $ac_compile) 2>conftest.er1
11903 grep -v '^ *+' conftest.er1
>conftest.err
11905 cat conftest.err
>&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); } &&
11908 { ac_try
='test -z "$ac_c_werror_flag"
11909 || test ! -s conftest.err'
11910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11911 (eval $ac_try) 2>&5
11913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 (exit $ac_status); }; } &&
11915 { ac_try
='test -s conftest.$ac_objext'
11916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11917 (eval $ac_try) 2>&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); }; }; then
11921 eval "$as_ac_Header=yes"
11923 echo "$as_me: failed program was:" >&5
11924 sed 's/^/| /' conftest.
$ac_ext >&5
11926 eval "$as_ac_Header=no"
11928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11933 cat >>confdefs.h
<<_ACEOF
11934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11943 for ac_header
in sys
/wait.h
wait.h
11945 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11947 echo "$as_me:$LINENO: checking for $ac_header" >&5
11948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11955 # Is the header compilable?
11956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11958 cat >conftest.
$ac_ext <<_ACEOF
11961 cat confdefs.h
>>conftest.
$ac_ext
11962 cat >>conftest.
$ac_ext <<_ACEOF
11963 /* end confdefs.h. */
11964 $ac_includes_default
11965 #include <$ac_header>
11967 rm -f conftest.
$ac_objext
11968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11969 (eval $ac_compile) 2>conftest.er1
11971 grep -v '^ *+' conftest.er1
>conftest.err
11973 cat conftest.err
>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } &&
11976 { ac_try
='test -z "$ac_c_werror_flag"
11977 || test ! -s conftest.err'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; } &&
11983 { ac_try
='test -s conftest.$ac_objext'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; }; then
11989 ac_header_compiler
=yes
11991 echo "$as_me: failed program was:" >&5
11992 sed 's/^/| /' conftest.
$ac_ext >&5
11994 ac_header_compiler
=no
11996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11998 echo "${ECHO_T}$ac_header_compiler" >&6
12000 # Is the header present?
12001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12003 cat >conftest.
$ac_ext <<_ACEOF
12006 cat confdefs.h
>>conftest.
$ac_ext
12007 cat >>conftest.
$ac_ext <<_ACEOF
12008 /* end confdefs.h. */
12009 #include <$ac_header>
12011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12012 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12014 grep -v '^ *+' conftest.er1
>conftest.err
12016 cat conftest.err
>&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); } >/dev
/null
; then
12019 if test -s conftest.err
; then
12020 ac_cpp_err
=$ac_c_preproc_warn_flag
12021 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12028 if test -z "$ac_cpp_err"; then
12029 ac_header_preproc
=yes
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.
$ac_ext >&5
12034 ac_header_preproc
=no
12036 rm -f conftest.err conftest.
$ac_ext
12037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12038 echo "${ECHO_T}$ac_header_preproc" >&6
12040 # So? What about this header?
12041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12047 ac_header_preproc
=yes
12050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12064 ## ------------------------------------------ ##
12065 ## Report this to the AC_PACKAGE_NAME lists. ##
12066 ## ------------------------------------------ ##
12069 sed "s/^/$as_me: WARNING: /" >&2
12072 echo "$as_me:$LINENO: checking for $ac_header" >&5
12073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12077 eval "$as_ac_Header=\$ac_header_preproc"
12079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12084 cat >>confdefs.h
<<_ACEOF
12085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12095 for ac_header
in termios.h termio.h sgtty.h
12097 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12099 echo "$as_me:$LINENO: checking for $ac_header" >&5
12100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12107 # Is the header compilable?
12108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12110 cat >conftest.
$ac_ext <<_ACEOF
12113 cat confdefs.h
>>conftest.
$ac_ext
12114 cat >>conftest.
$ac_ext <<_ACEOF
12115 /* end confdefs.h. */
12116 $ac_includes_default
12117 #include <$ac_header>
12119 rm -f conftest.
$ac_objext
12120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12121 (eval $ac_compile) 2>conftest.er1
12123 grep -v '^ *+' conftest.er1
>conftest.err
12125 cat conftest.err
>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); } &&
12128 { ac_try
='test -z "$ac_c_werror_flag"
12129 || test ! -s conftest.err'
12130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12131 (eval $ac_try) 2>&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); }; } &&
12135 { ac_try
='test -s conftest.$ac_objext'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; }; then
12141 ac_header_compiler
=yes
12143 echo "$as_me: failed program was:" >&5
12144 sed 's/^/| /' conftest.
$ac_ext >&5
12146 ac_header_compiler
=no
12148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12150 echo "${ECHO_T}$ac_header_compiler" >&6
12152 # Is the header present?
12153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12155 cat >conftest.
$ac_ext <<_ACEOF
12158 cat confdefs.h
>>conftest.
$ac_ext
12159 cat >>conftest.
$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12161 #include <$ac_header>
12163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12164 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12166 grep -v '^ *+' conftest.er1
>conftest.err
12168 cat conftest.err
>&5
12169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170 (exit $ac_status); } >/dev
/null
; then
12171 if test -s conftest.err
; then
12172 ac_cpp_err
=$ac_c_preproc_warn_flag
12173 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12180 if test -z "$ac_cpp_err"; then
12181 ac_header_preproc
=yes
12183 echo "$as_me: failed program was:" >&5
12184 sed 's/^/| /' conftest.
$ac_ext >&5
12186 ac_header_preproc
=no
12188 rm -f conftest.err conftest.
$ac_ext
12189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12190 echo "${ECHO_T}$ac_header_preproc" >&6
12192 # So? What about this header?
12193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12195 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12199 ac_header_preproc
=yes
12202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12206 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12208 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12209 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12212 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12216 ## ------------------------------------------ ##
12217 ## Report this to the AC_PACKAGE_NAME lists. ##
12218 ## ------------------------------------------ ##
12221 sed "s/^/$as_me: WARNING: /" >&2
12224 echo "$as_me:$LINENO: checking for $ac_header" >&5
12225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12227 echo $ECHO_N "(cached) $ECHO_C" >&6
12229 eval "$as_ac_Header=\$ac_header_preproc"
12231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12236 cat >>confdefs.h
<<_ACEOF
12237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12245 for ac_header
in unistd.h
12247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12249 echo "$as_me:$LINENO: checking for $ac_header" >&5
12250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12252 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12257 # Is the header compilable?
12258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12260 cat >conftest.
$ac_ext <<_ACEOF
12263 cat confdefs.h
>>conftest.
$ac_ext
12264 cat >>conftest.
$ac_ext <<_ACEOF
12265 /* end confdefs.h. */
12266 $ac_includes_default
12267 #include <$ac_header>
12269 rm -f conftest.
$ac_objext
12270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12271 (eval $ac_compile) 2>conftest.er1
12273 grep -v '^ *+' conftest.er1
>conftest.err
12275 cat conftest.err
>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } &&
12278 { ac_try
='test -z "$ac_c_werror_flag"
12279 || test ! -s conftest.err'
12280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281 (eval $ac_try) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); }; } &&
12285 { ac_try
='test -s conftest.$ac_objext'
12286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12287 (eval $ac_try) 2>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }; }; then
12291 ac_header_compiler
=yes
12293 echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.
$ac_ext >&5
12296 ac_header_compiler
=no
12298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12300 echo "${ECHO_T}$ac_header_compiler" >&6
12302 # Is the header present?
12303 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12305 cat >conftest.
$ac_ext <<_ACEOF
12308 cat confdefs.h
>>conftest.
$ac_ext
12309 cat >>conftest.
$ac_ext <<_ACEOF
12310 /* end confdefs.h. */
12311 #include <$ac_header>
12313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12314 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12316 grep -v '^ *+' conftest.er1
>conftest.err
12318 cat conftest.err
>&5
12319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12320 (exit $ac_status); } >/dev
/null
; then
12321 if test -s conftest.err
; then
12322 ac_cpp_err
=$ac_c_preproc_warn_flag
12323 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12330 if test -z "$ac_cpp_err"; then
12331 ac_header_preproc
=yes
12333 echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.
$ac_ext >&5
12336 ac_header_preproc
=no
12338 rm -f conftest.err conftest.
$ac_ext
12339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12340 echo "${ECHO_T}$ac_header_preproc" >&6
12342 # So? What about this header?
12343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12345 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12348 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12349 ac_header_preproc
=yes
12352 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12353 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12354 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12355 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12356 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12357 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12358 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12359 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12362 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12363 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12366 ## ------------------------------------------ ##
12367 ## Report this to the AC_PACKAGE_NAME lists. ##
12368 ## ------------------------------------------ ##
12371 sed "s/^/$as_me: WARNING: /" >&2
12374 echo "$as_me:$LINENO: checking for $ac_header" >&5
12375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12377 echo $ECHO_N "(cached) $ECHO_C" >&6
12379 eval "$as_ac_Header=\$ac_header_preproc"
12381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12386 cat >>confdefs.h
<<_ACEOF
12387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12395 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
12396 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
12397 # think that we don't have <curses.h> if we're using GCC.
12400 if test "$GCC" = yes; then
12402 cat >>confdefs.h
<<\_ACEOF
12403 #define _MSE_INT_H 1
12412 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
12414 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12416 echo "$as_me:$LINENO: checking for $ac_header" >&5
12417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12424 # Is the header compilable?
12425 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12426 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12427 cat >conftest.
$ac_ext <<_ACEOF
12430 cat confdefs.h
>>conftest.
$ac_ext
12431 cat >>conftest.
$ac_ext <<_ACEOF
12432 /* end confdefs.h. */
12433 $ac_includes_default
12434 #include <$ac_header>
12436 rm -f conftest.
$ac_objext
12437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12438 (eval $ac_compile) 2>conftest.er1
12440 grep -v '^ *+' conftest.er1
>conftest.err
12442 cat conftest.err
>&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); } &&
12445 { ac_try
='test -z "$ac_c_werror_flag"
12446 || test ! -s conftest.err'
12447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12448 (eval $ac_try) 2>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; } &&
12452 { ac_try
='test -s conftest.$ac_objext'
12453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454 (eval $ac_try) 2>&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); }; }; then
12458 ac_header_compiler
=yes
12460 echo "$as_me: failed program was:" >&5
12461 sed 's/^/| /' conftest.
$ac_ext >&5
12463 ac_header_compiler
=no
12465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12467 echo "${ECHO_T}$ac_header_compiler" >&6
12469 # Is the header present?
12470 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12472 cat >conftest.
$ac_ext <<_ACEOF
12475 cat confdefs.h
>>conftest.
$ac_ext
12476 cat >>conftest.
$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12478 #include <$ac_header>
12480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12483 grep -v '^ *+' conftest.er1
>conftest.err
12485 cat conftest.err
>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); } >/dev
/null
; then
12488 if test -s conftest.err
; then
12489 ac_cpp_err
=$ac_c_preproc_warn_flag
12490 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12497 if test -z "$ac_cpp_err"; then
12498 ac_header_preproc
=yes
12500 echo "$as_me: failed program was:" >&5
12501 sed 's/^/| /' conftest.
$ac_ext >&5
12503 ac_header_preproc
=no
12505 rm -f conftest.err conftest.
$ac_ext
12506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12507 echo "${ECHO_T}$ac_header_preproc" >&6
12509 # So? What about this header?
12510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12516 ac_header_preproc
=yes
12519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12533 ## ------------------------------------------ ##
12534 ## Report this to the AC_PACKAGE_NAME lists. ##
12535 ## ------------------------------------------ ##
12538 sed "s/^/$as_me: WARNING: /" >&2
12541 echo "$as_me:$LINENO: checking for $ac_header" >&5
12542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12544 echo $ECHO_N "(cached) $ECHO_C" >&6
12546 eval "$as_ac_Header=\$ac_header_preproc"
12548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12553 cat >>confdefs.h
<<_ACEOF
12554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12562 for ac_header
in ncurses
/term.h
12564 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12566 echo "$as_me:$LINENO: checking for $ac_header" >&5
12567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12569 echo $ECHO_N "(cached) $ECHO_C" >&6
12571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12574 # Is the header compilable?
12575 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12576 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12577 cat >conftest.
$ac_ext <<_ACEOF
12580 cat confdefs.h
>>conftest.
$ac_ext
12581 cat >>conftest.
$ac_ext <<_ACEOF
12582 /* end confdefs.h. */
12583 $ac_includes_default
12584 #include <$ac_header>
12586 rm -f conftest.
$ac_objext
12587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12588 (eval $ac_compile) 2>conftest.er1
12590 grep -v '^ *+' conftest.er1
>conftest.err
12592 cat conftest.err
>&5
12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 (exit $ac_status); } &&
12595 { ac_try
='test -z "$ac_c_werror_flag"
12596 || test ! -s conftest.err'
12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598 (eval $ac_try) 2>&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; } &&
12602 { ac_try
='test -s conftest.$ac_objext'
12603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12604 (eval $ac_try) 2>&5
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; }; then
12608 ac_header_compiler
=yes
12610 echo "$as_me: failed program was:" >&5
12611 sed 's/^/| /' conftest.
$ac_ext >&5
12613 ac_header_compiler
=no
12615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12616 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12617 echo "${ECHO_T}$ac_header_compiler" >&6
12619 # Is the header present?
12620 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12621 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12622 cat >conftest.
$ac_ext <<_ACEOF
12625 cat confdefs.h
>>conftest.
$ac_ext
12626 cat >>conftest.
$ac_ext <<_ACEOF
12627 /* end confdefs.h. */
12628 #include <$ac_header>
12630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12631 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12633 grep -v '^ *+' conftest.er1
>conftest.err
12635 cat conftest.err
>&5
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); } >/dev
/null
; then
12638 if test -s conftest.err
; then
12639 ac_cpp_err
=$ac_c_preproc_warn_flag
12640 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12647 if test -z "$ac_cpp_err"; then
12648 ac_header_preproc
=yes
12650 echo "$as_me: failed program was:" >&5
12651 sed 's/^/| /' conftest.
$ac_ext >&5
12653 ac_header_preproc
=no
12655 rm -f conftest.err conftest.
$ac_ext
12656 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12657 echo "${ECHO_T}$ac_header_preproc" >&6
12659 # So? What about this header?
12660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12662 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12663 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12665 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12666 ac_header_preproc
=yes
12669 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12670 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12671 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12672 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12673 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12674 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12675 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12676 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12678 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12679 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12680 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12683 ## ------------------------------------------ ##
12684 ## Report this to the AC_PACKAGE_NAME lists. ##
12685 ## ------------------------------------------ ##
12688 sed "s/^/$as_me: WARNING: /" >&2
12691 echo "$as_me:$LINENO: checking for $ac_header" >&5
12692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12694 echo $ECHO_N "(cached) $ECHO_C" >&6
12696 eval "$as_ac_Header=\$ac_header_preproc"
12698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12703 cat >>confdefs.h
<<_ACEOF
12704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12712 for ac_header
in term.h
12714 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12715 echo "$as_me:$LINENO: checking for $ac_header" >&5
12716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12718 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 cat >conftest.
$ac_ext <<_ACEOF
12723 cat confdefs.h
>>conftest.
$ac_ext
12724 cat >>conftest.
$ac_ext <<_ACEOF
12725 /* end confdefs.h. */
12727 # include <curses.h>
12731 #include <$ac_header>
12733 rm -f conftest.
$ac_objext
12734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12735 (eval $ac_compile) 2>conftest.er1
12737 grep -v '^ *+' conftest.er1
>conftest.err
12739 cat conftest.err
>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); } &&
12742 { ac_try
='test -z "$ac_c_werror_flag"
12743 || test ! -s conftest.err'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; } &&
12749 { ac_try
='test -s conftest.$ac_objext'
12750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12751 (eval $ac_try) 2>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); }; }; then
12755 eval "$as_ac_Header=yes"
12757 echo "$as_me: failed program was:" >&5
12758 sed 's/^/| /' conftest.
$ac_ext >&5
12760 eval "$as_ac_Header=no"
12762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12767 cat >>confdefs.h
<<_ACEOF
12768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12776 # FIXME: kettenis/20030102: In most cases we include these
12777 # unconditionally, so what's the point in checking these?
12780 for ac_header
in ctype.h
time.h
12782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12784 echo "$as_me:$LINENO: checking for $ac_header" >&5
12785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12792 # Is the header compilable?
12793 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12795 cat >conftest.
$ac_ext <<_ACEOF
12798 cat confdefs.h
>>conftest.
$ac_ext
12799 cat >>conftest.
$ac_ext <<_ACEOF
12800 /* end confdefs.h. */
12801 $ac_includes_default
12802 #include <$ac_header>
12804 rm -f conftest.
$ac_objext
12805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12806 (eval $ac_compile) 2>conftest.er1
12808 grep -v '^ *+' conftest.er1
>conftest.err
12810 cat conftest.err
>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } &&
12813 { ac_try
='test -z "$ac_c_werror_flag"
12814 || test ! -s conftest.err'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; } &&
12820 { ac_try
='test -s conftest.$ac_objext'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; }; then
12826 ac_header_compiler
=yes
12828 echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.
$ac_ext >&5
12831 ac_header_compiler
=no
12833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12835 echo "${ECHO_T}$ac_header_compiler" >&6
12837 # Is the header present?
12838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12840 cat >conftest.
$ac_ext <<_ACEOF
12843 cat confdefs.h
>>conftest.
$ac_ext
12844 cat >>conftest.
$ac_ext <<_ACEOF
12845 /* end confdefs.h. */
12846 #include <$ac_header>
12848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12851 grep -v '^ *+' conftest.er1
>conftest.err
12853 cat conftest.err
>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); } >/dev
/null
; then
12856 if test -s conftest.err
; then
12857 ac_cpp_err
=$ac_c_preproc_warn_flag
12858 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12865 if test -z "$ac_cpp_err"; then
12866 ac_header_preproc
=yes
12868 echo "$as_me: failed program was:" >&5
12869 sed 's/^/| /' conftest.
$ac_ext >&5
12871 ac_header_preproc
=no
12873 rm -f conftest.err conftest.
$ac_ext
12874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12875 echo "${ECHO_T}$ac_header_preproc" >&6
12877 # So? What about this header?
12878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12884 ac_header_preproc
=yes
12887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12901 ## ------------------------------------------ ##
12902 ## Report this to the AC_PACKAGE_NAME lists. ##
12903 ## ------------------------------------------ ##
12906 sed "s/^/$as_me: WARNING: /" >&2
12909 echo "$as_me:$LINENO: checking for $ac_header" >&5
12910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12912 echo $ECHO_N "(cached) $ECHO_C" >&6
12914 eval "$as_ac_Header=\$ac_header_preproc"
12916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12921 cat >>confdefs.h
<<_ACEOF
12922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12930 # ------------------------- #
12931 # Checks for declarations. #
12932 # ------------------------- #
12934 echo "$as_me:$LINENO: checking whether free is declared" >&5
12935 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
12936 if test "${ac_cv_have_decl_free+set}" = set; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 cat >conftest.
$ac_ext <<_ACEOF
12942 cat confdefs.h
>>conftest.
$ac_ext
12943 cat >>conftest.
$ac_ext <<_ACEOF
12944 /* end confdefs.h. */
12945 $ac_includes_default
12950 char *p = (char *) free;
12957 rm -f conftest.
$ac_objext
12958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12959 (eval $ac_compile) 2>conftest.er1
12961 grep -v '^ *+' conftest.er1
>conftest.err
12963 cat conftest.err
>&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); } &&
12966 { ac_try
='test -z "$ac_c_werror_flag"
12967 || test ! -s conftest.err'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; } &&
12973 { ac_try
='test -s conftest.$ac_objext'
12974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975 (eval $ac_try) 2>&5
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); }; }; then
12979 ac_cv_have_decl_free
=yes
12981 echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.
$ac_ext >&5
12984 ac_cv_have_decl_free
=no
12986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12988 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
12989 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
12990 if test $ac_cv_have_decl_free = yes; then
12992 cat >>confdefs.h
<<_ACEOF
12993 #define HAVE_DECL_FREE 1
12998 cat >>confdefs.h
<<_ACEOF
12999 #define HAVE_DECL_FREE 0
13004 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
13005 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
13006 if test "${ac_cv_have_decl_malloc+set}" = set; then
13007 echo $ECHO_N "(cached) $ECHO_C" >&6
13009 cat >conftest.
$ac_ext <<_ACEOF
13012 cat confdefs.h
>>conftest.
$ac_ext
13013 cat >>conftest.
$ac_ext <<_ACEOF
13014 /* end confdefs.h. */
13015 $ac_includes_default
13020 char *p = (char *) malloc;
13027 rm -f conftest.
$ac_objext
13028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13029 (eval $ac_compile) 2>conftest.er1
13031 grep -v '^ *+' conftest.er1
>conftest.err
13033 cat conftest.err
>&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); } &&
13036 { ac_try
='test -z "$ac_c_werror_flag"
13037 || test ! -s conftest.err'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; } &&
13043 { ac_try
='test -s conftest.$ac_objext'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; }; then
13049 ac_cv_have_decl_malloc
=yes
13051 echo "$as_me: failed program was:" >&5
13052 sed 's/^/| /' conftest.
$ac_ext >&5
13054 ac_cv_have_decl_malloc
=no
13056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13058 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
13059 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
13060 if test $ac_cv_have_decl_malloc = yes; then
13062 cat >>confdefs.h
<<_ACEOF
13063 #define HAVE_DECL_MALLOC 1
13068 cat >>confdefs.h
<<_ACEOF
13069 #define HAVE_DECL_MALLOC 0
13074 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
13075 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
13076 if test "${ac_cv_have_decl_realloc+set}" = set; then
13077 echo $ECHO_N "(cached) $ECHO_C" >&6
13079 cat >conftest.
$ac_ext <<_ACEOF
13082 cat confdefs.h
>>conftest.
$ac_ext
13083 cat >>conftest.
$ac_ext <<_ACEOF
13084 /* end confdefs.h. */
13085 $ac_includes_default
13090 char *p = (char *) realloc;
13097 rm -f conftest.
$ac_objext
13098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13099 (eval $ac_compile) 2>conftest.er1
13101 grep -v '^ *+' conftest.er1
>conftest.err
13103 cat conftest.err
>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } &&
13106 { ac_try
='test -z "$ac_c_werror_flag"
13107 || test ! -s conftest.err'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; } &&
13113 { ac_try
='test -s conftest.$ac_objext'
13114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13115 (eval $ac_try) 2>&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); }; }; then
13119 ac_cv_have_decl_realloc
=yes
13121 echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.
$ac_ext >&5
13124 ac_cv_have_decl_realloc
=no
13126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13128 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
13129 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
13130 if test $ac_cv_have_decl_realloc = yes; then
13132 cat >>confdefs.h
<<_ACEOF
13133 #define HAVE_DECL_REALLOC 1
13138 cat >>confdefs.h
<<_ACEOF
13139 #define HAVE_DECL_REALLOC 0
13146 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
13147 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
13148 if test "${ac_cv_have_decl_strerror+set}" = set; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13151 cat >conftest.
$ac_ext <<_ACEOF
13154 cat confdefs.h
>>conftest.
$ac_ext
13155 cat >>conftest.
$ac_ext <<_ACEOF
13156 /* end confdefs.h. */
13157 $ac_includes_default
13162 char *p = (char *) strerror;
13169 rm -f conftest.
$ac_objext
13170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13171 (eval $ac_compile) 2>conftest.er1
13173 grep -v '^ *+' conftest.er1
>conftest.err
13175 cat conftest.err
>&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); } &&
13178 { ac_try
='test -z "$ac_c_werror_flag"
13179 || test ! -s conftest.err'
13180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13181 (eval $ac_try) 2>&5
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); }; } &&
13185 { ac_try
='test -s conftest.$ac_objext'
13186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13187 (eval $ac_try) 2>&5
13189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13190 (exit $ac_status); }; }; then
13191 ac_cv_have_decl_strerror
=yes
13193 echo "$as_me: failed program was:" >&5
13194 sed 's/^/| /' conftest.
$ac_ext >&5
13196 ac_cv_have_decl_strerror
=no
13198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13200 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
13201 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
13202 if test $ac_cv_have_decl_strerror = yes; then
13204 cat >>confdefs.h
<<_ACEOF
13205 #define HAVE_DECL_STRERROR 1
13210 cat >>confdefs.h
<<_ACEOF
13211 #define HAVE_DECL_STRERROR 0
13216 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
13217 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
13218 if test "${ac_cv_have_decl_strstr+set}" = set; then
13219 echo $ECHO_N "(cached) $ECHO_C" >&6
13221 cat >conftest.
$ac_ext <<_ACEOF
13224 cat confdefs.h
>>conftest.
$ac_ext
13225 cat >>conftest.
$ac_ext <<_ACEOF
13226 /* end confdefs.h. */
13227 $ac_includes_default
13232 char *p = (char *) strstr;
13239 rm -f conftest.
$ac_objext
13240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13241 (eval $ac_compile) 2>conftest.er1
13243 grep -v '^ *+' conftest.er1
>conftest.err
13245 cat conftest.err
>&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); } &&
13248 { ac_try
='test -z "$ac_c_werror_flag"
13249 || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try
='test -s conftest.$ac_objext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 ac_cv_have_decl_strstr
=yes
13263 echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.
$ac_ext >&5
13266 ac_cv_have_decl_strstr
=no
13268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13270 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
13271 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
13272 if test $ac_cv_have_decl_strstr = yes; then
13274 cat >>confdefs.h
<<_ACEOF
13275 #define HAVE_DECL_STRSTR 1
13280 cat >>confdefs.h
<<_ACEOF
13281 #define HAVE_DECL_STRSTR 0
13288 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
13289 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
13290 if test "${ac_cv_have_decl_getopt+set}" = set; then
13291 echo $ECHO_N "(cached) $ECHO_C" >&6
13293 cat >conftest.
$ac_ext <<_ACEOF
13296 cat confdefs.h
>>conftest.
$ac_ext
13297 cat >>conftest.
$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13299 $ac_includes_default
13304 char *p = (char *) getopt;
13311 rm -f conftest.
$ac_objext
13312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13313 (eval $ac_compile) 2>conftest.er1
13315 grep -v '^ *+' conftest.er1
>conftest.err
13317 cat conftest.err
>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); } &&
13320 { ac_try
='test -z "$ac_c_werror_flag"
13321 || test ! -s conftest.err'
13322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13323 (eval $ac_try) 2>&5
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); }; } &&
13327 { ac_try
='test -s conftest.$ac_objext'
13328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329 (eval $ac_try) 2>&5
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; }; then
13333 ac_cv_have_decl_getopt
=yes
13335 echo "$as_me: failed program was:" >&5
13336 sed 's/^/| /' conftest.
$ac_ext >&5
13338 ac_cv_have_decl_getopt
=no
13340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13342 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
13343 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
13344 if test $ac_cv_have_decl_getopt = yes; then
13346 cat >>confdefs.h
<<_ACEOF
13347 #define HAVE_DECL_GETOPT 1
13352 cat >>confdefs.h
<<_ACEOF
13353 #define HAVE_DECL_GETOPT 0
13358 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
13359 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
13360 if test "${ac_cv_have_decl_snprintf+set}" = set; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 cat >conftest.
$ac_ext <<_ACEOF
13366 cat confdefs.h
>>conftest.
$ac_ext
13367 cat >>conftest.
$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13369 $ac_includes_default
13374 char *p = (char *) snprintf;
13381 rm -f conftest.
$ac_objext
13382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13383 (eval $ac_compile) 2>conftest.er1
13385 grep -v '^ *+' conftest.er1
>conftest.err
13387 cat conftest.err
>&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } &&
13390 { ac_try
='test -z "$ac_c_werror_flag"
13391 || test ! -s conftest.err'
13392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13393 (eval $ac_try) 2>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); }; } &&
13397 { ac_try
='test -s conftest.$ac_objext'
13398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13399 (eval $ac_try) 2>&5
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); }; }; then
13403 ac_cv_have_decl_snprintf
=yes
13405 echo "$as_me: failed program was:" >&5
13406 sed 's/^/| /' conftest.
$ac_ext >&5
13408 ac_cv_have_decl_snprintf
=no
13410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13412 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
13413 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
13414 if test $ac_cv_have_decl_snprintf = yes; then
13416 cat >>confdefs.h
<<_ACEOF
13417 #define HAVE_DECL_SNPRINTF 1
13422 cat >>confdefs.h
<<_ACEOF
13423 #define HAVE_DECL_SNPRINTF 0
13428 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
13429 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
13430 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
13431 echo $ECHO_N "(cached) $ECHO_C" >&6
13433 cat >conftest.
$ac_ext <<_ACEOF
13436 cat confdefs.h
>>conftest.
$ac_ext
13437 cat >>conftest.
$ac_ext <<_ACEOF
13438 /* end confdefs.h. */
13439 $ac_includes_default
13444 char *p = (char *) vsnprintf;
13451 rm -f conftest.
$ac_objext
13452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13453 (eval $ac_compile) 2>conftest.er1
13455 grep -v '^ *+' conftest.er1
>conftest.err
13457 cat conftest.err
>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); } &&
13460 { ac_try
='test -z "$ac_c_werror_flag"
13461 || test ! -s conftest.err'
13462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13463 (eval $ac_try) 2>&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); }; } &&
13467 { ac_try
='test -s conftest.$ac_objext'
13468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469 (eval $ac_try) 2>&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); }; }; then
13473 ac_cv_have_decl_vsnprintf
=yes
13475 echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.
$ac_ext >&5
13478 ac_cv_have_decl_vsnprintf
=no
13480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13482 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
13483 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
13484 if test $ac_cv_have_decl_vsnprintf = yes; then
13486 cat >>confdefs.h
<<_ACEOF
13487 #define HAVE_DECL_VSNPRINTF 1
13492 cat >>confdefs.h
<<_ACEOF
13493 #define HAVE_DECL_VSNPRINTF 0
13501 # ----------------------- #
13502 # Checks for structures. #
13503 # ----------------------- #
13505 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
13506 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
13507 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
13508 echo $ECHO_N "(cached) $ECHO_C" >&6
13510 cat >conftest.
$ac_ext <<_ACEOF
13513 cat confdefs.h
>>conftest.
$ac_ext
13514 cat >>conftest.
$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13516 $ac_includes_default
13520 static struct stat ac_aggr;
13521 if (ac_aggr.st_blocks)
13527 rm -f conftest.
$ac_objext
13528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13529 (eval $ac_compile) 2>conftest.er1
13531 grep -v '^ *+' conftest.er1
>conftest.err
13533 cat conftest.err
>&5
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); } &&
13536 { ac_try
='test -z "$ac_c_werror_flag"
13537 || test ! -s conftest.err'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; } &&
13543 { ac_try
='test -s conftest.$ac_objext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13549 ac_cv_member_struct_stat_st_blocks
=yes
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.
$ac_ext >&5
13554 cat >conftest.
$ac_ext <<_ACEOF
13557 cat confdefs.h
>>conftest.
$ac_ext
13558 cat >>conftest.
$ac_ext <<_ACEOF
13559 /* end confdefs.h. */
13560 $ac_includes_default
13564 static struct stat ac_aggr;
13565 if (sizeof ac_aggr.st_blocks)
13571 rm -f conftest.
$ac_objext
13572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13573 (eval $ac_compile) 2>conftest.er1
13575 grep -v '^ *+' conftest.er1
>conftest.err
13577 cat conftest.err
>&5
13578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 (exit $ac_status); } &&
13580 { ac_try
='test -z "$ac_c_werror_flag"
13581 || test ! -s conftest.err'
13582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13583 (eval $ac_try) 2>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); }; } &&
13587 { ac_try
='test -s conftest.$ac_objext'
13588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13589 (eval $ac_try) 2>&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); }; }; then
13593 ac_cv_member_struct_stat_st_blocks
=yes
13595 echo "$as_me: failed program was:" >&5
13596 sed 's/^/| /' conftest.
$ac_ext >&5
13598 ac_cv_member_struct_stat_st_blocks
=no
13600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13604 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
13605 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
13606 if test $ac_cv_member_struct_stat_st_blocks = yes; then
13608 cat >>confdefs.h
<<_ACEOF
13609 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13615 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
13616 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
13617 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13620 cat >conftest.
$ac_ext <<_ACEOF
13623 cat confdefs.h
>>conftest.
$ac_ext
13624 cat >>conftest.
$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13626 $ac_includes_default
13630 static struct stat ac_aggr;
13631 if (ac_aggr.st_blksize)
13637 rm -f conftest.
$ac_objext
13638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13639 (eval $ac_compile) 2>conftest.er1
13641 grep -v '^ *+' conftest.er1
>conftest.err
13643 cat conftest.err
>&5
13644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13645 (exit $ac_status); } &&
13646 { ac_try
='test -z "$ac_c_werror_flag"
13647 || test ! -s conftest.err'
13648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13649 (eval $ac_try) 2>&5
13651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13652 (exit $ac_status); }; } &&
13653 { ac_try
='test -s conftest.$ac_objext'
13654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13655 (eval $ac_try) 2>&5
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); }; }; then
13659 ac_cv_member_struct_stat_st_blksize
=yes
13661 echo "$as_me: failed program was:" >&5
13662 sed 's/^/| /' conftest.
$ac_ext >&5
13664 cat >conftest.
$ac_ext <<_ACEOF
13667 cat confdefs.h
>>conftest.
$ac_ext
13668 cat >>conftest.
$ac_ext <<_ACEOF
13669 /* end confdefs.h. */
13670 $ac_includes_default
13674 static struct stat ac_aggr;
13675 if (sizeof ac_aggr.st_blksize)
13681 rm -f conftest.
$ac_objext
13682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13683 (eval $ac_compile) 2>conftest.er1
13685 grep -v '^ *+' conftest.er1
>conftest.err
13687 cat conftest.err
>&5
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); } &&
13690 { ac_try
='test -z "$ac_c_werror_flag"
13691 || test ! -s conftest.err'
13692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13693 (eval $ac_try) 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_member_struct_stat_st_blksize
=yes
13705 echo "$as_me: failed program was:" >&5
13706 sed 's/^/| /' conftest.
$ac_ext >&5
13708 ac_cv_member_struct_stat_st_blksize
=no
13710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13714 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
13715 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
13716 if test $ac_cv_member_struct_stat_st_blksize = yes; then
13718 cat >>confdefs.h
<<_ACEOF
13719 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
13726 # ------------------ #
13727 # Checks for types. #
13728 # ------------------ #
13730 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13731 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
13732 if test "${ac_cv_type_signal+set}" = set; then
13733 echo $ECHO_N "(cached) $ECHO_C" >&6
13735 cat >conftest.
$ac_ext <<_ACEOF
13738 cat confdefs.h
>>conftest.
$ac_ext
13739 cat >>conftest.
$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13741 #include <sys/types.h>
13742 #include <signal.h>
13747 extern "C" void (*signal (int, void (*)(int)))(int);
13749 void (*signal ()) ();
13760 rm -f conftest.
$ac_objext
13761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13762 (eval $ac_compile) 2>conftest.er1
13764 grep -v '^ *+' conftest.er1
>conftest.err
13766 cat conftest.err
>&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); } &&
13769 { ac_try
='test -z "$ac_c_werror_flag"
13770 || test ! -s conftest.err'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; } &&
13776 { ac_try
='test -s conftest.$ac_objext'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; }; then
13782 ac_cv_type_signal
=void
13784 echo "$as_me: failed program was:" >&5
13785 sed 's/^/| /' conftest.
$ac_ext >&5
13787 ac_cv_type_signal
=int
13789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13791 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13792 echo "${ECHO_T}$ac_cv_type_signal" >&6
13794 cat >>confdefs.h
<<_ACEOF
13795 #define RETSIGTYPE $ac_cv_type_signal
13799 echo "$as_me:$LINENO: checking for socklen_t" >&5
13800 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
13801 if test "${ac_cv_type_socklen_t+set}" = set; then
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
13804 cat >conftest.
$ac_ext <<_ACEOF
13807 cat confdefs.h
>>conftest.
$ac_ext
13808 cat >>conftest.
$ac_ext <<_ACEOF
13809 /* end confdefs.h. */
13810 #include <sys/types.h>
13811 #include <sys/socket.h>
13817 if ((socklen_t *) 0)
13819 if (sizeof (socklen_t))
13825 rm -f conftest.
$ac_objext
13826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13827 (eval $ac_compile) 2>conftest.er1
13829 grep -v '^ *+' conftest.er1
>conftest.err
13831 cat conftest.err
>&5
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); } &&
13834 { ac_try
='test -z "$ac_c_werror_flag"
13835 || test ! -s conftest.err'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; } &&
13841 { ac_try
='test -s conftest.$ac_objext'
13842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13843 (eval $ac_try) 2>&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); }; }; then
13847 ac_cv_type_socklen_t
=yes
13849 echo "$as_me: failed program was:" >&5
13850 sed 's/^/| /' conftest.
$ac_ext >&5
13852 ac_cv_type_socklen_t
=no
13854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13856 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
13857 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
13858 if test $ac_cv_type_socklen_t = yes; then
13860 cat >>confdefs.h
<<_ACEOF
13861 #define HAVE_SOCKLEN_T 1
13868 # ------------------------------------- #
13869 # Checks for compiler characteristics. #
13870 # ------------------------------------- #
13872 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13873 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13874 if test "${ac_cv_c_const+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 cat >conftest.
$ac_ext <<_ACEOF
13880 cat confdefs.h
>>conftest.
$ac_ext
13881 cat >>conftest.
$ac_ext <<_ACEOF
13882 /* end confdefs.h. */
13887 /* FIXME: Include the comments suggested by Paul. */
13888 #ifndef __cplusplus
13889 /* Ultrix mips cc rejects this. */
13890 typedef int charset[2];
13892 /* SunOS 4.1.1 cc rejects this. */
13893 char const *const *ccp;
13895 /* NEC SVR4.0.2 mips cc rejects this. */
13896 struct point {int x, y;};
13897 static struct point const zero = {0,0};
13898 /* AIX XL C 1.02.0.0 rejects this.
13899 It does not let you subtract one const X* pointer from another in
13900 an arm of an if-expression whose if-part is not a constant
13902 const char *g = "string";
13903 ccp = &g + (g ? g-g : 0);
13904 /* HPUX 7.0 cc rejects these. */
13907 ccp = (char const *const *) p;
13908 { /* SCO 3.2v4 cc rejects this. */
13910 char const *s = 0 ? (char *) 0 : (char const *) 0;
13914 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13915 int x[] = {25, 17};
13916 const int *foo = &x[0];
13919 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13920 typedef const int *iptr;
13924 { /* AIX XL C 1.02.0.0 rejects this saying
13925 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13926 struct s { int j; const int *ap[3]; };
13927 struct s *b; b->j = 5;
13929 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13930 const int foo = 10;
13938 rm -f conftest.
$ac_objext
13939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13940 (eval $ac_compile) 2>conftest.er1
13942 grep -v '^ *+' conftest.er1
>conftest.err
13944 cat conftest.err
>&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); } &&
13947 { ac_try
='test -z "$ac_c_werror_flag"
13948 || test ! -s conftest.err'
13949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950 (eval $ac_try) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }; } &&
13954 { ac_try
='test -s conftest.$ac_objext'
13955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13956 (eval $ac_try) 2>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); }; }; then
13962 echo "$as_me: failed program was:" >&5
13963 sed 's/^/| /' conftest.
$ac_ext >&5
13967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13969 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13970 echo "${ECHO_T}$ac_cv_c_const" >&6
13971 if test $ac_cv_c_const = no
; then
13973 cat >>confdefs.h
<<\_ACEOF
13979 echo "$as_me:$LINENO: checking for inline" >&5
13980 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13981 if test "${ac_cv_c_inline+set}" = set; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13985 for ac_kw
in inline __inline__ __inline
; do
13986 cat >conftest.
$ac_ext <<_ACEOF
13989 cat confdefs.h
>>conftest.
$ac_ext
13990 cat >>conftest.
$ac_ext <<_ACEOF
13991 /* end confdefs.h. */
13992 #ifndef __cplusplus
13994 static $ac_kw foo_t static_foo () {return 0; }
13995 $ac_kw foo_t foo () {return 0; }
13999 rm -f conftest.
$ac_objext
14000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14001 (eval $ac_compile) 2>conftest.er1
14003 grep -v '^ *+' conftest.er1
>conftest.err
14005 cat conftest.err
>&5
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); } &&
14008 { ac_try
='test -z "$ac_c_werror_flag"
14009 || test ! -s conftest.err'
14010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14011 (eval $ac_try) 2>&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); }; } &&
14015 { ac_try
='test -s conftest.$ac_objext'
14016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017 (eval $ac_try) 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; }; then
14021 ac_cv_c_inline
=$ac_kw; break
14023 echo "$as_me: failed program was:" >&5
14024 sed 's/^/| /' conftest.
$ac_ext >&5
14027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14031 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14032 echo "${ECHO_T}$ac_cv_c_inline" >&6
14035 case $ac_cv_c_inline in
14038 case $ac_cv_c_inline in
14040 *) ac_val
=$ac_cv_c_inline;;
14042 cat >>confdefs.h
<<_ACEOF
14043 #ifndef __cplusplus
14044 #define inline $ac_val
14051 # ------------------------------ #
14052 # Checks for library functions. #
14053 # ------------------------------ #
14055 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14056 # for constant arguments. Useless!
14057 echo "$as_me:$LINENO: checking for working alloca.h" >&5
14058 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
14059 if test "${ac_cv_working_alloca_h+set}" = set; then
14060 echo $ECHO_N "(cached) $ECHO_C" >&6
14062 cat >conftest.
$ac_ext <<_ACEOF
14065 cat confdefs.h
>>conftest.
$ac_ext
14066 cat >>conftest.
$ac_ext <<_ACEOF
14067 /* end confdefs.h. */
14068 #include <alloca.h>
14072 char *p = (char *) alloca (2 * sizeof (int));
14077 rm -f conftest.
$ac_objext conftest
$ac_exeext
14078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14079 (eval $ac_link) 2>conftest.er1
14081 grep -v '^ *+' conftest.er1
>conftest.err
14083 cat conftest.err
>&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } &&
14086 { ac_try
='test -z "$ac_c_werror_flag"
14087 || test ! -s conftest.err'
14088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14089 (eval $ac_try) 2>&5
14091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092 (exit $ac_status); }; } &&
14093 { ac_try
='test -s conftest$ac_exeext'
14094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14095 (eval $ac_try) 2>&5
14097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098 (exit $ac_status); }; }; then
14099 ac_cv_working_alloca_h
=yes
14101 echo "$as_me: failed program was:" >&5
14102 sed 's/^/| /' conftest.
$ac_ext >&5
14104 ac_cv_working_alloca_h
=no
14106 rm -f conftest.err conftest.
$ac_objext \
14107 conftest
$ac_exeext conftest.
$ac_ext
14109 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
14110 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
14111 if test $ac_cv_working_alloca_h = yes; then
14113 cat >>confdefs.h
<<\_ACEOF
14114 #define HAVE_ALLOCA_H 1
14119 echo "$as_me:$LINENO: checking for alloca" >&5
14120 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
14121 if test "${ac_cv_func_alloca_works+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 cat >conftest.
$ac_ext <<_ACEOF
14127 cat confdefs.h
>>conftest.
$ac_ext
14128 cat >>conftest.
$ac_ext <<_ACEOF
14129 /* end confdefs.h. */
14131 # define alloca __builtin_alloca
14134 # include <malloc.h>
14135 # define alloca _alloca
14138 # include <alloca.h>
14143 # ifndef alloca /* predefined by HP cc +Olibcalls */
14154 char *p = (char *) alloca (1);
14159 rm -f conftest.
$ac_objext conftest
$ac_exeext
14160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14161 (eval $ac_link) 2>conftest.er1
14163 grep -v '^ *+' conftest.er1
>conftest.err
14165 cat conftest.err
>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); } &&
14168 { ac_try
='test -z "$ac_c_werror_flag"
14169 || test ! -s conftest.err'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; } &&
14175 { ac_try
='test -s conftest$ac_exeext'
14176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14177 (eval $ac_try) 2>&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); }; }; then
14181 ac_cv_func_alloca_works
=yes
14183 echo "$as_me: failed program was:" >&5
14184 sed 's/^/| /' conftest.
$ac_ext >&5
14186 ac_cv_func_alloca_works
=no
14188 rm -f conftest.err conftest.
$ac_objext \
14189 conftest
$ac_exeext conftest.
$ac_ext
14191 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
14192 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
14194 if test $ac_cv_func_alloca_works = yes; then
14196 cat >>confdefs.h
<<\_ACEOF
14197 #define HAVE_ALLOCA 1
14201 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14202 # that cause trouble. Some versions do not even contain alloca or
14203 # contain a buggy version. If you still want to use their alloca,
14204 # use ar to extract alloca.o from them instead of compiling alloca.c.
14206 ALLOCA
=alloca.
$ac_objext
14208 cat >>confdefs.h
<<\_ACEOF
14213 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
14214 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
14215 if test "${ac_cv_os_cray+set}" = set; then
14216 echo $ECHO_N "(cached) $ECHO_C" >&6
14218 cat >conftest.
$ac_ext <<_ACEOF
14221 cat confdefs.h
>>conftest.
$ac_ext
14222 cat >>conftest.
$ac_ext <<_ACEOF
14223 /* end confdefs.h. */
14224 #if defined(CRAY) && ! defined(CRAY2)
14231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14232 $EGREP "webecray" >/dev
/null
2>&1; then
14240 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
14241 echo "${ECHO_T}$ac_cv_os_cray" >&6
14242 if test $ac_cv_os_cray = yes; then
14243 for ac_func
in _getb67 GETB67 getb67
; do
14244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14245 echo "$as_me:$LINENO: checking for $ac_func" >&5
14246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14247 if eval "test \"\${$as_ac_var+set}\" = set"; then
14248 echo $ECHO_N "(cached) $ECHO_C" >&6
14250 cat >conftest.
$ac_ext <<_ACEOF
14253 cat confdefs.h
>>conftest.
$ac_ext
14254 cat >>conftest.
$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14258 #define $ac_func innocuous_$ac_func
14260 /* System header to define __stub macros and hopefully few prototypes,
14261 which can conflict with char $ac_func (); below.
14262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14263 <limits.h> exists even on freestanding compilers. */
14266 # include <limits.h>
14268 # include <assert.h>
14273 /* Override any gcc2 internal prototype to avoid an error. */
14278 /* We use char because int might match the return type of a gcc2
14279 builtin and then its argument prototype would still apply. */
14281 /* The GNU C library defines this for functions which it implements
14282 to always fail with ENOSYS. Some functions are actually named
14283 something starting with __ and the normal name is an alias. */
14284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14287 char (*f) () = $ac_func;
14296 return f != $ac_func;
14301 rm -f conftest.
$ac_objext conftest
$ac_exeext
14302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14303 (eval $ac_link) 2>conftest.er1
14305 grep -v '^ *+' conftest.er1
>conftest.err
14307 cat conftest.err
>&5
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); } &&
14310 { ac_try
='test -z "$ac_c_werror_flag"
14311 || test ! -s conftest.err'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; } &&
14317 { ac_try
='test -s conftest$ac_exeext'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; }; then
14323 eval "$as_ac_var=yes"
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.
$ac_ext >&5
14328 eval "$as_ac_var=no"
14330 rm -f conftest.err conftest.
$ac_objext \
14331 conftest
$ac_exeext conftest.
$ac_ext
14333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14335 if test `eval echo '${'$as_ac_var'}'` = yes; then
14337 cat >>confdefs.h
<<_ACEOF
14338 #define CRAY_STACKSEG_END $ac_func
14347 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
14348 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
14349 if test "${ac_cv_c_stack_direction+set}" = set; then
14350 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 if test "$cross_compiling" = yes; then
14353 ac_cv_c_stack_direction
=0
14355 cat >conftest.
$ac_ext <<_ACEOF
14358 cat confdefs.h
>>conftest.
$ac_ext
14359 cat >>conftest.
$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14362 find_stack_direction ()
14364 static char *addr = 0;
14369 return find_stack_direction ();
14372 return (&dummy > addr) ? 1 : -1;
14378 exit (find_stack_direction () < 0);
14381 rm -f conftest
$ac_exeext
14382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14383 (eval $ac_link) 2>&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; }; then
14392 ac_cv_c_stack_direction
=1
14394 echo "$as_me: program exited with status $ac_status" >&5
14395 echo "$as_me: failed program was:" >&5
14396 sed 's/^/| /' conftest.
$ac_ext >&5
14398 ( exit $ac_status )
14399 ac_cv_c_stack_direction
=-1
14401 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14404 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
14405 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
14407 cat >>confdefs.h
<<_ACEOF
14408 #define STACK_DIRECTION $ac_cv_c_stack_direction
14416 for ac_header
in stdlib.h unistd.h
14418 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14420 echo "$as_me:$LINENO: checking for $ac_header" >&5
14421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14423 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14428 # Is the header compilable?
14429 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14430 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14431 cat >conftest.
$ac_ext <<_ACEOF
14434 cat confdefs.h
>>conftest.
$ac_ext
14435 cat >>conftest.
$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14437 $ac_includes_default
14438 #include <$ac_header>
14440 rm -f conftest.
$ac_objext
14441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14442 (eval $ac_compile) 2>conftest.er1
14444 grep -v '^ *+' conftest.er1
>conftest.err
14446 cat conftest.err
>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); } &&
14449 { ac_try
='test -z "$ac_c_werror_flag"
14450 || test ! -s conftest.err'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; } &&
14456 { ac_try
='test -s conftest.$ac_objext'
14457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14458 (eval $ac_try) 2>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); }; }; then
14462 ac_header_compiler
=yes
14464 echo "$as_me: failed program was:" >&5
14465 sed 's/^/| /' conftest.
$ac_ext >&5
14467 ac_header_compiler
=no
14469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14471 echo "${ECHO_T}$ac_header_compiler" >&6
14473 # Is the header present?
14474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14476 cat >conftest.
$ac_ext <<_ACEOF
14479 cat confdefs.h
>>conftest.
$ac_ext
14480 cat >>conftest.
$ac_ext <<_ACEOF
14481 /* end confdefs.h. */
14482 #include <$ac_header>
14484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14485 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14487 grep -v '^ *+' conftest.er1
>conftest.err
14489 cat conftest.err
>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); } >/dev
/null
; then
14492 if test -s conftest.err
; then
14493 ac_cpp_err
=$ac_c_preproc_warn_flag
14494 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14501 if test -z "$ac_cpp_err"; then
14502 ac_header_preproc
=yes
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.
$ac_ext >&5
14507 ac_header_preproc
=no
14509 rm -f conftest.err conftest.
$ac_ext
14510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14511 echo "${ECHO_T}$ac_header_preproc" >&6
14513 # So? What about this header?
14514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14520 ac_header_preproc
=yes
14523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14537 ## ------------------------------------------ ##
14538 ## Report this to the AC_PACKAGE_NAME lists. ##
14539 ## ------------------------------------------ ##
14542 sed "s/^/$as_me: WARNING: /" >&2
14545 echo "$as_me:$LINENO: checking for $ac_header" >&5
14546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14548 echo $ECHO_N "(cached) $ECHO_C" >&6
14550 eval "$as_ac_Header=\$ac_header_preproc"
14552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14557 cat >>confdefs.h
<<_ACEOF
14558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14566 for ac_func
in getpagesize
14568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14569 echo "$as_me:$LINENO: checking for $ac_func" >&5
14570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14571 if eval "test \"\${$as_ac_var+set}\" = set"; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 cat >conftest.
$ac_ext <<_ACEOF
14577 cat confdefs.h
>>conftest.
$ac_ext
14578 cat >>conftest.
$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14582 #define $ac_func innocuous_$ac_func
14584 /* System header to define __stub macros and hopefully few prototypes,
14585 which can conflict with char $ac_func (); below.
14586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14587 <limits.h> exists even on freestanding compilers. */
14590 # include <limits.h>
14592 # include <assert.h>
14597 /* Override any gcc2 internal prototype to avoid an error. */
14602 /* We use char because int might match the return type of a gcc2
14603 builtin and then its argument prototype would still apply. */
14605 /* The GNU C library defines this for functions which it implements
14606 to always fail with ENOSYS. Some functions are actually named
14607 something starting with __ and the normal name is an alias. */
14608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14611 char (*f) () = $ac_func;
14620 return f != $ac_func;
14625 rm -f conftest.
$ac_objext conftest
$ac_exeext
14626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14627 (eval $ac_link) 2>conftest.er1
14629 grep -v '^ *+' conftest.er1
>conftest.err
14631 cat conftest.err
>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } &&
14634 { ac_try
='test -z "$ac_c_werror_flag"
14635 || test ! -s conftest.err'
14636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14637 (eval $ac_try) 2>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); }; } &&
14641 { ac_try
='test -s conftest$ac_exeext'
14642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14643 (eval $ac_try) 2>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }; }; then
14647 eval "$as_ac_var=yes"
14649 echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.
$ac_ext >&5
14652 eval "$as_ac_var=no"
14654 rm -f conftest.err conftest.
$ac_objext \
14655 conftest
$ac_exeext conftest.
$ac_ext
14657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14659 if test `eval echo '${'$as_ac_var'}'` = yes; then
14660 cat >>confdefs.h
<<_ACEOF
14661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14667 echo "$as_me:$LINENO: checking for working mmap" >&5
14668 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14669 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14670 echo $ECHO_N "(cached) $ECHO_C" >&6
14672 if test "$cross_compiling" = yes; then
14673 ac_cv_func_mmap_fixed_mapped
=no
14675 cat >conftest.
$ac_ext <<_ACEOF
14678 cat confdefs.h
>>conftest.
$ac_ext
14679 cat >>conftest.
$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14681 $ac_includes_default
14682 /* malloc might have been renamed as rpl_malloc. */
14685 /* Thanks to Mike Haertel and Jim Avera for this test.
14686 Here is a matrix of mmap possibilities:
14687 mmap private not fixed
14688 mmap private fixed at somewhere currently unmapped
14689 mmap private fixed at somewhere already mapped
14690 mmap shared not fixed
14691 mmap shared fixed at somewhere currently unmapped
14692 mmap shared fixed at somewhere already mapped
14693 For private mappings, we should verify that changes cannot be read()
14694 back from the file, nor mmap's back from the file at a different
14695 address. (There have been systems where private was not correctly
14696 implemented like the infamous i386 svr4.0, and systems where the
14697 VM page cache was not coherent with the file system buffer cache
14698 like early versions of FreeBSD and possibly contemporary NetBSD.)
14699 For shared mappings, we should conversely verify that changes get
14700 propagated back to all the places they're supposed to be.
14702 Grep wants private fixed already mapped.
14703 The main things grep needs to know about mmap are:
14704 * does it exist and is it safe to write into the mmap'd area
14705 * how to use it (BSD variants) */
14708 #include <sys/mman.h>
14710 #if !STDC_HEADERS && !HAVE_STDLIB_H
14714 /* This mess was copied from the GNU getpagesize.h. */
14715 #if !HAVE_GETPAGESIZE
14716 /* Assume that all systems that can run configure have sys/param.h. */
14717 # if !HAVE_SYS_PARAM_H
14718 # define HAVE_SYS_PARAM_H 1
14721 # ifdef _SC_PAGESIZE
14722 # define getpagesize() sysconf(_SC_PAGESIZE)
14723 # else /* no _SC_PAGESIZE */
14724 # if HAVE_SYS_PARAM_H
14725 # include <sys/param.h>
14726 # ifdef EXEC_PAGESIZE
14727 # define getpagesize() EXEC_PAGESIZE
14728 # else /* no EXEC_PAGESIZE */
14730 # define getpagesize() NBPG * CLSIZE
14733 # endif /* no CLSIZE */
14734 # else /* no NBPG */
14736 # define getpagesize() NBPC
14737 # else /* no NBPC */
14739 # define getpagesize() PAGESIZE
14740 # endif /* PAGESIZE */
14741 # endif /* no NBPC */
14742 # endif /* no NBPG */
14743 # endif /* no EXEC_PAGESIZE */
14744 # else /* no HAVE_SYS_PARAM_H */
14745 # define getpagesize() 8192 /* punt totally */
14746 # endif /* no HAVE_SYS_PARAM_H */
14747 # endif /* no _SC_PAGESIZE */
14749 #endif /* no HAVE_GETPAGESIZE */
14754 char *data, *data2, *data3;
14758 pagesize = getpagesize ();
14760 /* First, make a file with some known garbage in it. */
14761 data = (char *) malloc (pagesize);
14764 for (i = 0; i < pagesize; ++i)
14765 *(data + i) = rand ();
14767 fd = creat ("conftest.mmap", 0600);
14770 if (write (fd, data, pagesize) != pagesize)
14774 /* Next, try to mmap the file at a fixed address which already has
14775 something else allocated at it. If we can, also make sure that
14776 we see the same garbage. */
14777 fd = open ("conftest.mmap", O_RDWR);
14780 data2 = (char *) malloc (2 * pagesize);
14783 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14784 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14785 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14787 for (i = 0; i < pagesize; ++i)
14788 if (*(data + i) != *(data2 + i))
14791 /* Finally, make sure that changes to the mapped area do not
14792 percolate back to the file as seen by read(). (This is a bug on
14793 some variants of i386 svr4.0.) */
14794 for (i = 0; i < pagesize; ++i)
14795 *(data2 + i) = *(data2 + i) + 1;
14796 data3 = (char *) malloc (pagesize);
14799 if (read (fd, data3, pagesize) != pagesize)
14801 for (i = 0; i < pagesize; ++i)
14802 if (*(data + i) != *(data3 + i))
14808 rm -f conftest
$ac_exeext
14809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14810 (eval $ac_link) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; }; then
14819 ac_cv_func_mmap_fixed_mapped
=yes
14821 echo "$as_me: program exited with status $ac_status" >&5
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.
$ac_ext >&5
14825 ( exit $ac_status )
14826 ac_cv_func_mmap_fixed_mapped
=no
14828 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14831 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14832 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14833 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14835 cat >>confdefs.h
<<\_ACEOF
14836 #define HAVE_MMAP 1
14840 rm -f conftest.mmap
14842 echo "$as_me:$LINENO: checking for pid_t" >&5
14843 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
14844 if test "${ac_cv_type_pid_t+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 cat >conftest.
$ac_ext <<_ACEOF
14850 cat confdefs.h
>>conftest.
$ac_ext
14851 cat >>conftest.
$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14853 $ac_includes_default
14859 if (sizeof (pid_t))
14865 rm -f conftest.
$ac_objext
14866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14867 (eval $ac_compile) 2>conftest.er1
14869 grep -v '^ *+' conftest.er1
>conftest.err
14871 cat conftest.err
>&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); } &&
14874 { ac_try
='test -z "$ac_c_werror_flag"
14875 || test ! -s conftest.err'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; } &&
14881 { ac_try
='test -s conftest.$ac_objext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; }; then
14887 ac_cv_type_pid_t
=yes
14889 echo "$as_me: failed program was:" >&5
14890 sed 's/^/| /' conftest.
$ac_ext >&5
14892 ac_cv_type_pid_t
=no
14894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14896 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
14897 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
14898 if test $ac_cv_type_pid_t = yes; then
14902 cat >>confdefs.h
<<_ACEOF
14910 for ac_header
in unistd.h vfork.h
14912 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14914 echo "$as_me:$LINENO: checking for $ac_header" >&5
14915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14917 echo $ECHO_N "(cached) $ECHO_C" >&6
14919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14922 # Is the header compilable?
14923 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14924 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14925 cat >conftest.
$ac_ext <<_ACEOF
14928 cat confdefs.h
>>conftest.
$ac_ext
14929 cat >>conftest.
$ac_ext <<_ACEOF
14930 /* end confdefs.h. */
14931 $ac_includes_default
14932 #include <$ac_header>
14934 rm -f conftest.
$ac_objext
14935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14936 (eval $ac_compile) 2>conftest.er1
14938 grep -v '^ *+' conftest.er1
>conftest.err
14940 cat conftest.err
>&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); } &&
14943 { ac_try
='test -z "$ac_c_werror_flag"
14944 || test ! -s conftest.err'
14945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14946 (eval $ac_try) 2>&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); }; } &&
14950 { ac_try
='test -s conftest.$ac_objext'
14951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14952 (eval $ac_try) 2>&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); }; }; then
14956 ac_header_compiler
=yes
14958 echo "$as_me: failed program was:" >&5
14959 sed 's/^/| /' conftest.
$ac_ext >&5
14961 ac_header_compiler
=no
14963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14965 echo "${ECHO_T}$ac_header_compiler" >&6
14967 # Is the header present?
14968 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14969 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14970 cat >conftest.
$ac_ext <<_ACEOF
14973 cat confdefs.h
>>conftest.
$ac_ext
14974 cat >>conftest.
$ac_ext <<_ACEOF
14975 /* end confdefs.h. */
14976 #include <$ac_header>
14978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14979 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14981 grep -v '^ *+' conftest.er1
>conftest.err
14983 cat conftest.err
>&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } >/dev
/null
; then
14986 if test -s conftest.err
; then
14987 ac_cpp_err
=$ac_c_preproc_warn_flag
14988 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14995 if test -z "$ac_cpp_err"; then
14996 ac_header_preproc
=yes
14998 echo "$as_me: failed program was:" >&5
14999 sed 's/^/| /' conftest.
$ac_ext >&5
15001 ac_header_preproc
=no
15003 rm -f conftest.err conftest.
$ac_ext
15004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15005 echo "${ECHO_T}$ac_header_preproc" >&6
15007 # So? What about this header?
15008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15010 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15011 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15013 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15014 ac_header_preproc
=yes
15017 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15018 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15019 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15020 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15021 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15022 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15023 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15024 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15026 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15027 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15028 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15031 ## ------------------------------------------ ##
15032 ## Report this to the AC_PACKAGE_NAME lists. ##
15033 ## ------------------------------------------ ##
15036 sed "s/^/$as_me: WARNING: /" >&2
15039 echo "$as_me:$LINENO: checking for $ac_header" >&5
15040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15042 echo $ECHO_N "(cached) $ECHO_C" >&6
15044 eval "$as_ac_Header=\$ac_header_preproc"
15046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15051 cat >>confdefs.h
<<_ACEOF
15052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15061 for ac_func
in fork vfork
15063 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15064 echo "$as_me:$LINENO: checking for $ac_func" >&5
15065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15066 if eval "test \"\${$as_ac_var+set}\" = set"; then
15067 echo $ECHO_N "(cached) $ECHO_C" >&6
15069 cat >conftest.
$ac_ext <<_ACEOF
15072 cat confdefs.h
>>conftest.
$ac_ext
15073 cat >>conftest.
$ac_ext <<_ACEOF
15074 /* end confdefs.h. */
15075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15077 #define $ac_func innocuous_$ac_func
15079 /* System header to define __stub macros and hopefully few prototypes,
15080 which can conflict with char $ac_func (); below.
15081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15082 <limits.h> exists even on freestanding compilers. */
15085 # include <limits.h>
15087 # include <assert.h>
15092 /* Override any gcc2 internal prototype to avoid an error. */
15097 /* We use char because int might match the return type of a gcc2
15098 builtin and then its argument prototype would still apply. */
15100 /* The GNU C library defines this for functions which it implements
15101 to always fail with ENOSYS. Some functions are actually named
15102 something starting with __ and the normal name is an alias. */
15103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15106 char (*f) () = $ac_func;
15115 return f != $ac_func;
15120 rm -f conftest.
$ac_objext conftest
$ac_exeext
15121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15122 (eval $ac_link) 2>conftest.er1
15124 grep -v '^ *+' conftest.er1
>conftest.err
15126 cat conftest.err
>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); } &&
15129 { ac_try
='test -z "$ac_c_werror_flag"
15130 || test ! -s conftest.err'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; } &&
15136 { ac_try
='test -s conftest$ac_exeext'
15137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15138 (eval $ac_try) 2>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); }; }; then
15142 eval "$as_ac_var=yes"
15144 echo "$as_me: failed program was:" >&5
15145 sed 's/^/| /' conftest.
$ac_ext >&5
15147 eval "$as_ac_var=no"
15149 rm -f conftest.err conftest.
$ac_objext \
15150 conftest
$ac_exeext conftest.
$ac_ext
15152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15154 if test `eval echo '${'$as_ac_var'}'` = yes; then
15155 cat >>confdefs.h
<<_ACEOF
15156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15162 if test "x$ac_cv_func_fork" = xyes
; then
15163 echo "$as_me:$LINENO: checking for working fork" >&5
15164 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
15165 if test "${ac_cv_func_fork_works+set}" = set; then
15166 echo $ECHO_N "(cached) $ECHO_C" >&6
15168 if test "$cross_compiling" = yes; then
15169 ac_cv_func_fork_works
=cross
15171 cat >conftest.
$ac_ext <<_ACEOF
15172 /* By Ruediger Kuhlmann. */
15173 #include <sys/types.h>
15175 # include <unistd.h>
15177 /* Some systems only have a dummy stub for fork() */
15185 rm -f conftest
$ac_exeext
15186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15187 (eval $ac_link) 2>&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15192 (eval $ac_try) 2>&5
15194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15195 (exit $ac_status); }; }; then
15196 ac_cv_func_fork_works
=yes
15198 echo "$as_me: program exited with status $ac_status" >&5
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.
$ac_ext >&5
15202 ( exit $ac_status )
15203 ac_cv_func_fork_works
=no
15205 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15208 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
15209 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
15212 ac_cv_func_fork_works
=$ac_cv_func_fork
15214 if test "x$ac_cv_func_fork_works" = xcross
; then
15216 *-*-amigaos* |
*-*-msdosdjgpp*)
15217 # Override, as these systems have only a dummy fork() stub
15218 ac_cv_func_fork_works
=no
15221 ac_cv_func_fork_works
=yes
15224 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
15225 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
15227 ac_cv_func_vfork_works
=$ac_cv_func_vfork
15228 if test "x$ac_cv_func_vfork" = xyes
; then
15229 echo "$as_me:$LINENO: checking for working vfork" >&5
15230 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
15231 if test "${ac_cv_func_vfork_works+set}" = set; then
15232 echo $ECHO_N "(cached) $ECHO_C" >&6
15234 if test "$cross_compiling" = yes; then
15235 ac_cv_func_vfork_works
=cross
15237 cat >conftest.
$ac_ext <<_ACEOF
15240 cat confdefs.h
>>conftest.
$ac_ext
15241 cat >>conftest.
$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243 /* Thanks to Paul Eggert for this test. */
15245 #include <stdlib.h>
15246 #include <sys/types.h>
15247 #include <sys/stat.h>
15248 #include <sys/wait.h>
15250 # include <unistd.h>
15253 # include <vfork.h>
15255 /* On some sparc systems, changes by the child to local and incoming
15256 argument registers are propagated back to the parent. The compiler
15257 is told about this with #include <vfork.h>, but some compilers
15258 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
15259 static variable whose address is put into a register that is
15260 clobbered by the vfork. */
15263 sparc_address_test (int arg)
15265 sparc_address_test (arg) int arg;
15268 static pid_t child;
15286 pid_t parent = getpid ();
15289 sparc_address_test (0);
15294 /* Here is another test for sparc vfork register problems. This
15295 test uses lots of local variables, at least as many local
15296 variables as main has allocated so far including compiler
15297 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
15298 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
15299 reuse the register of parent for one of the local variables,
15300 since it will think that parent can't possibly be used any more
15301 in this routine. Assigning to the local variable will thus
15302 munge parent in the parent process. */
15304 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
15305 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
15306 /* Convince the compiler that p..p7 are live; otherwise, it might
15307 use the same hardware register for all 8 local variables. */
15308 if (p != p1 || p != p2 || p != p3 || p != p4
15309 || p != p5 || p != p6 || p != p7)
15312 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
15313 from child file descriptors. If the child closes a descriptor
15314 before it execs or exits, this munges the parent's descriptor
15315 as well. Test for this by closing stdout in the child. */
15316 _exit(close(fileno(stdout)) != 0);
15321 while (wait(&status) != child)
15324 /* Was there some problem with vforking? */
15327 /* Did the child fail? (This shouldn't happen.) */
15330 /* Did the vfork/compiler bug occur? */
15331 || parent != getpid()
15333 /* Did the file descriptor bug occur? */
15334 || fstat(fileno(stdout), &st) != 0
15339 rm -f conftest
$ac_exeext
15340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15341 (eval $ac_link) 2>&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15346 (eval $ac_try) 2>&5
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); }; }; then
15350 ac_cv_func_vfork_works
=yes
15352 echo "$as_me: program exited with status $ac_status" >&5
15353 echo "$as_me: failed program was:" >&5
15354 sed 's/^/| /' conftest.
$ac_ext >&5
15356 ( exit $ac_status )
15357 ac_cv_func_vfork_works
=no
15359 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15362 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
15363 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
15366 if test "x$ac_cv_func_fork_works" = xcross
; then
15367 ac_cv_func_vfork_works
=$ac_cv_func_vfork
15368 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
15369 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
15372 if test "x$ac_cv_func_vfork_works" = xyes
; then
15374 cat >>confdefs.h
<<\_ACEOF
15375 #define HAVE_WORKING_VFORK 1
15380 cat >>confdefs.h
<<\_ACEOF
15385 if test "x$ac_cv_func_fork_works" = xyes
; then
15387 cat >>confdefs.h
<<\_ACEOF
15388 #define HAVE_WORKING_FORK 1
15395 for ac_func
in canonicalize_file_name realpath
15397 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15398 echo "$as_me:$LINENO: checking for $ac_func" >&5
15399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15400 if eval "test \"\${$as_ac_var+set}\" = set"; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15403 cat >conftest.
$ac_ext <<_ACEOF
15406 cat confdefs.h
>>conftest.
$ac_ext
15407 cat >>conftest.
$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15411 #define $ac_func innocuous_$ac_func
15413 /* System header to define __stub macros and hopefully few prototypes,
15414 which can conflict with char $ac_func (); below.
15415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15416 <limits.h> exists even on freestanding compilers. */
15419 # include <limits.h>
15421 # include <assert.h>
15426 /* Override any gcc2 internal prototype to avoid an error. */
15431 /* We use char because int might match the return type of a gcc2
15432 builtin and then its argument prototype would still apply. */
15434 /* The GNU C library defines this for functions which it implements
15435 to always fail with ENOSYS. Some functions are actually named
15436 something starting with __ and the normal name is an alias. */
15437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15440 char (*f) () = $ac_func;
15449 return f != $ac_func;
15454 rm -f conftest.
$ac_objext conftest
$ac_exeext
15455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15456 (eval $ac_link) 2>conftest.er1
15458 grep -v '^ *+' conftest.er1
>conftest.err
15460 cat conftest.err
>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); } &&
15463 { ac_try
='test -z "$ac_c_werror_flag"
15464 || test ! -s conftest.err'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; } &&
15470 { ac_try
='test -s conftest$ac_exeext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 eval "$as_ac_var=yes"
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.
$ac_ext >&5
15481 eval "$as_ac_var=no"
15483 rm -f conftest.err conftest.
$ac_objext \
15484 conftest
$ac_exeext conftest.
$ac_ext
15486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15488 if test `eval echo '${'$as_ac_var'}'` = yes; then
15489 cat >>confdefs.h
<<_ACEOF
15490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15498 for ac_func
in getuid getgid
15500 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15501 echo "$as_me:$LINENO: checking for $ac_func" >&5
15502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15503 if eval "test \"\${$as_ac_var+set}\" = set"; then
15504 echo $ECHO_N "(cached) $ECHO_C" >&6
15506 cat >conftest.
$ac_ext <<_ACEOF
15509 cat confdefs.h
>>conftest.
$ac_ext
15510 cat >>conftest.
$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15514 #define $ac_func innocuous_$ac_func
15516 /* System header to define __stub macros and hopefully few prototypes,
15517 which can conflict with char $ac_func (); below.
15518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15519 <limits.h> exists even on freestanding compilers. */
15522 # include <limits.h>
15524 # include <assert.h>
15529 /* Override any gcc2 internal prototype to avoid an error. */
15534 /* We use char because int might match the return type of a gcc2
15535 builtin and then its argument prototype would still apply. */
15537 /* The GNU C library defines this for functions which it implements
15538 to always fail with ENOSYS. Some functions are actually named
15539 something starting with __ and the normal name is an alias. */
15540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15543 char (*f) () = $ac_func;
15552 return f != $ac_func;
15557 rm -f conftest.
$ac_objext conftest
$ac_exeext
15558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15559 (eval $ac_link) 2>conftest.er1
15561 grep -v '^ *+' conftest.er1
>conftest.err
15563 cat conftest.err
>&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); } &&
15566 { ac_try
='test -z "$ac_c_werror_flag"
15567 || test ! -s conftest.err'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; } &&
15573 { ac_try
='test -s conftest$ac_exeext'
15574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575 (eval $ac_try) 2>&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; }; then
15579 eval "$as_ac_var=yes"
15581 echo "$as_me: failed program was:" >&5
15582 sed 's/^/| /' conftest.
$ac_ext >&5
15584 eval "$as_ac_var=no"
15586 rm -f conftest.err conftest.
$ac_objext \
15587 conftest
$ac_exeext conftest.
$ac_ext
15589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15591 if test `eval echo '${'$as_ac_var'}'` = yes; then
15592 cat >>confdefs.h
<<_ACEOF
15593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15600 for ac_func
in poll
15602 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15603 echo "$as_me:$LINENO: checking for $ac_func" >&5
15604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15605 if eval "test \"\${$as_ac_var+set}\" = set"; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6
15608 cat >conftest.
$ac_ext <<_ACEOF
15611 cat confdefs.h
>>conftest.
$ac_ext
15612 cat >>conftest.
$ac_ext <<_ACEOF
15613 /* end confdefs.h. */
15614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15616 #define $ac_func innocuous_$ac_func
15618 /* System header to define __stub macros and hopefully few prototypes,
15619 which can conflict with char $ac_func (); below.
15620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15621 <limits.h> exists even on freestanding compilers. */
15624 # include <limits.h>
15626 # include <assert.h>
15631 /* Override any gcc2 internal prototype to avoid an error. */
15636 /* We use char because int might match the return type of a gcc2
15637 builtin and then its argument prototype would still apply. */
15639 /* The GNU C library defines this for functions which it implements
15640 to always fail with ENOSYS. Some functions are actually named
15641 something starting with __ and the normal name is an alias. */
15642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15645 char (*f) () = $ac_func;
15654 return f != $ac_func;
15659 rm -f conftest.
$ac_objext conftest
$ac_exeext
15660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15661 (eval $ac_link) 2>conftest.er1
15663 grep -v '^ *+' conftest.er1
>conftest.err
15665 cat conftest.err
>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); } &&
15668 { ac_try
='test -z "$ac_c_werror_flag"
15669 || test ! -s conftest.err'
15670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15671 (eval $ac_try) 2>&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); }; } &&
15675 { ac_try
='test -s conftest$ac_exeext'
15676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15677 (eval $ac_try) 2>&5
15679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15680 (exit $ac_status); }; }; then
15681 eval "$as_ac_var=yes"
15683 echo "$as_me: failed program was:" >&5
15684 sed 's/^/| /' conftest.
$ac_ext >&5
15686 eval "$as_ac_var=no"
15688 rm -f conftest.err conftest.
$ac_objext \
15689 conftest
$ac_exeext conftest.
$ac_ext
15691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15693 if test `eval echo '${'$as_ac_var'}'` = yes; then
15694 cat >>confdefs.h
<<_ACEOF
15695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15702 for ac_func
in pread64
15704 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15705 echo "$as_me:$LINENO: checking for $ac_func" >&5
15706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15707 if eval "test \"\${$as_ac_var+set}\" = set"; then
15708 echo $ECHO_N "(cached) $ECHO_C" >&6
15710 cat >conftest.
$ac_ext <<_ACEOF
15713 cat confdefs.h
>>conftest.
$ac_ext
15714 cat >>conftest.
$ac_ext <<_ACEOF
15715 /* end confdefs.h. */
15716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15718 #define $ac_func innocuous_$ac_func
15720 /* System header to define __stub macros and hopefully few prototypes,
15721 which can conflict with char $ac_func (); below.
15722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15723 <limits.h> exists even on freestanding compilers. */
15726 # include <limits.h>
15728 # include <assert.h>
15733 /* Override any gcc2 internal prototype to avoid an error. */
15738 /* We use char because int might match the return type of a gcc2
15739 builtin and then its argument prototype would still apply. */
15741 /* The GNU C library defines this for functions which it implements
15742 to always fail with ENOSYS. Some functions are actually named
15743 something starting with __ and the normal name is an alias. */
15744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15747 char (*f) () = $ac_func;
15756 return f != $ac_func;
15761 rm -f conftest.
$ac_objext conftest
$ac_exeext
15762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15763 (eval $ac_link) 2>conftest.er1
15765 grep -v '^ *+' conftest.er1
>conftest.err
15767 cat conftest.err
>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try
='test -z "$ac_c_werror_flag"
15771 || test ! -s conftest.err'
15772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15773 (eval $ac_try) 2>&5
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); }; } &&
15777 { ac_try
='test -s conftest$ac_exeext'
15778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15779 (eval $ac_try) 2>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); }; }; then
15783 eval "$as_ac_var=yes"
15785 echo "$as_me: failed program was:" >&5
15786 sed 's/^/| /' conftest.
$ac_ext >&5
15788 eval "$as_ac_var=no"
15790 rm -f conftest.err conftest.
$ac_objext \
15791 conftest
$ac_exeext conftest.
$ac_ext
15793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15795 if test `eval echo '${'$as_ac_var'}'` = yes; then
15796 cat >>confdefs.h
<<_ACEOF
15797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15804 for ac_func
in sbrk
15806 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15807 echo "$as_me:$LINENO: checking for $ac_func" >&5
15808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15809 if eval "test \"\${$as_ac_var+set}\" = set"; then
15810 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 cat >conftest.
$ac_ext <<_ACEOF
15815 cat confdefs.h
>>conftest.
$ac_ext
15816 cat >>conftest.
$ac_ext <<_ACEOF
15817 /* end confdefs.h. */
15818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15820 #define $ac_func innocuous_$ac_func
15822 /* System header to define __stub macros and hopefully few prototypes,
15823 which can conflict with char $ac_func (); below.
15824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15825 <limits.h> exists even on freestanding compilers. */
15828 # include <limits.h>
15830 # include <assert.h>
15835 /* Override any gcc2 internal prototype to avoid an error. */
15840 /* We use char because int might match the return type of a gcc2
15841 builtin and then its argument prototype would still apply. */
15843 /* The GNU C library defines this for functions which it implements
15844 to always fail with ENOSYS. Some functions are actually named
15845 something starting with __ and the normal name is an alias. */
15846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15849 char (*f) () = $ac_func;
15858 return f != $ac_func;
15863 rm -f conftest.
$ac_objext conftest
$ac_exeext
15864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15865 (eval $ac_link) 2>conftest.er1
15867 grep -v '^ *+' conftest.er1
>conftest.err
15869 cat conftest.err
>&5
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); } &&
15872 { ac_try
='test -z "$ac_c_werror_flag"
15873 || test ! -s conftest.err'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; } &&
15879 { ac_try
='test -s conftest$ac_exeext'
15880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15881 (eval $ac_try) 2>&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); }; }; then
15885 eval "$as_ac_var=yes"
15887 echo "$as_me: failed program was:" >&5
15888 sed 's/^/| /' conftest.
$ac_ext >&5
15890 eval "$as_ac_var=no"
15892 rm -f conftest.err conftest.
$ac_objext \
15893 conftest
$ac_exeext conftest.
$ac_ext
15895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15897 if test `eval echo '${'$as_ac_var'}'` = yes; then
15898 cat >>confdefs.h
<<_ACEOF
15899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15907 for ac_func
in setpgid setpgrp
15909 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15910 echo "$as_me:$LINENO: checking for $ac_func" >&5
15911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15912 if eval "test \"\${$as_ac_var+set}\" = set"; then
15913 echo $ECHO_N "(cached) $ECHO_C" >&6
15915 cat >conftest.
$ac_ext <<_ACEOF
15918 cat confdefs.h
>>conftest.
$ac_ext
15919 cat >>conftest.
$ac_ext <<_ACEOF
15920 /* end confdefs.h. */
15921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15923 #define $ac_func innocuous_$ac_func
15925 /* System header to define __stub macros and hopefully few prototypes,
15926 which can conflict with char $ac_func (); below.
15927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15928 <limits.h> exists even on freestanding compilers. */
15931 # include <limits.h>
15933 # include <assert.h>
15938 /* Override any gcc2 internal prototype to avoid an error. */
15943 /* We use char because int might match the return type of a gcc2
15944 builtin and then its argument prototype would still apply. */
15946 /* The GNU C library defines this for functions which it implements
15947 to always fail with ENOSYS. Some functions are actually named
15948 something starting with __ and the normal name is an alias. */
15949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15952 char (*f) () = $ac_func;
15961 return f != $ac_func;
15966 rm -f conftest.
$ac_objext conftest
$ac_exeext
15967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15968 (eval $ac_link) 2>conftest.er1
15970 grep -v '^ *+' conftest.er1
>conftest.err
15972 cat conftest.err
>&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } &&
15975 { ac_try
='test -z "$ac_c_werror_flag"
15976 || test ! -s conftest.err'
15977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978 (eval $ac_try) 2>&5
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; } &&
15982 { ac_try
='test -s conftest$ac_exeext'
15983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15984 (eval $ac_try) 2>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; }; then
15988 eval "$as_ac_var=yes"
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.
$ac_ext >&5
15993 eval "$as_ac_var=no"
15995 rm -f conftest.err conftest.
$ac_objext \
15996 conftest
$ac_exeext conftest.
$ac_ext
15998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16000 if test `eval echo '${'$as_ac_var'}'` = yes; then
16001 cat >>confdefs.h
<<_ACEOF
16002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16011 for ac_func
in sigaction sigprocmask sigsetmask
16013 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16014 echo "$as_me:$LINENO: checking for $ac_func" >&5
16015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16016 if eval "test \"\${$as_ac_var+set}\" = set"; then
16017 echo $ECHO_N "(cached) $ECHO_C" >&6
16019 cat >conftest.
$ac_ext <<_ACEOF
16022 cat confdefs.h
>>conftest.
$ac_ext
16023 cat >>conftest.
$ac_ext <<_ACEOF
16024 /* end confdefs.h. */
16025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16027 #define $ac_func innocuous_$ac_func
16029 /* System header to define __stub macros and hopefully few prototypes,
16030 which can conflict with char $ac_func (); below.
16031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16032 <limits.h> exists even on freestanding compilers. */
16035 # include <limits.h>
16037 # include <assert.h>
16042 /* Override any gcc2 internal prototype to avoid an error. */
16047 /* We use char because int might match the return type of a gcc2
16048 builtin and then its argument prototype would still apply. */
16050 /* The GNU C library defines this for functions which it implements
16051 to always fail with ENOSYS. Some functions are actually named
16052 something starting with __ and the normal name is an alias. */
16053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16056 char (*f) () = $ac_func;
16065 return f != $ac_func;
16070 rm -f conftest.
$ac_objext conftest
$ac_exeext
16071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16072 (eval $ac_link) 2>conftest.er1
16074 grep -v '^ *+' conftest.er1
>conftest.err
16076 cat conftest.err
>&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } &&
16079 { ac_try
='test -z "$ac_c_werror_flag"
16080 || test ! -s conftest.err'
16081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 (eval $ac_try) 2>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; } &&
16086 { ac_try
='test -s conftest$ac_exeext'
16087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16088 (eval $ac_try) 2>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); }; }; then
16092 eval "$as_ac_var=yes"
16094 echo "$as_me: failed program was:" >&5
16095 sed 's/^/| /' conftest.
$ac_ext >&5
16097 eval "$as_ac_var=no"
16099 rm -f conftest.err conftest.
$ac_objext \
16100 conftest
$ac_exeext conftest.
$ac_ext
16102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16104 if test `eval echo '${'$as_ac_var'}'` = yes; then
16105 cat >>confdefs.h
<<_ACEOF
16106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16113 for ac_func
in socketpair
16115 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16116 echo "$as_me:$LINENO: checking for $ac_func" >&5
16117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16118 if eval "test \"\${$as_ac_var+set}\" = set"; then
16119 echo $ECHO_N "(cached) $ECHO_C" >&6
16121 cat >conftest.
$ac_ext <<_ACEOF
16124 cat confdefs.h
>>conftest.
$ac_ext
16125 cat >>conftest.
$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16129 #define $ac_func innocuous_$ac_func
16131 /* System header to define __stub macros and hopefully few prototypes,
16132 which can conflict with char $ac_func (); below.
16133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16134 <limits.h> exists even on freestanding compilers. */
16137 # include <limits.h>
16139 # include <assert.h>
16144 /* Override any gcc2 internal prototype to avoid an error. */
16149 /* We use char because int might match the return type of a gcc2
16150 builtin and then its argument prototype would still apply. */
16152 /* The GNU C library defines this for functions which it implements
16153 to always fail with ENOSYS. Some functions are actually named
16154 something starting with __ and the normal name is an alias. */
16155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16158 char (*f) () = $ac_func;
16167 return f != $ac_func;
16172 rm -f conftest.
$ac_objext conftest
$ac_exeext
16173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16174 (eval $ac_link) 2>conftest.er1
16176 grep -v '^ *+' conftest.er1
>conftest.err
16178 cat conftest.err
>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
16181 { ac_try
='test -z "$ac_c_werror_flag"
16182 || test ! -s conftest.err'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; } &&
16188 { ac_try
='test -s conftest$ac_exeext'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190 (eval $ac_try) 2>&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); }; }; then
16194 eval "$as_ac_var=yes"
16196 echo "$as_me: failed program was:" >&5
16197 sed 's/^/| /' conftest.
$ac_ext >&5
16199 eval "$as_ac_var=no"
16201 rm -f conftest.err conftest.
$ac_objext \
16202 conftest
$ac_exeext conftest.
$ac_ext
16204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16206 if test `eval echo '${'$as_ac_var'}'` = yes; then
16207 cat >>confdefs.h
<<_ACEOF
16208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16215 for ac_func
in syscall
16217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16218 echo "$as_me:$LINENO: checking for $ac_func" >&5
16219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16220 if eval "test \"\${$as_ac_var+set}\" = set"; then
16221 echo $ECHO_N "(cached) $ECHO_C" >&6
16223 cat >conftest.
$ac_ext <<_ACEOF
16226 cat confdefs.h
>>conftest.
$ac_ext
16227 cat >>conftest.
$ac_ext <<_ACEOF
16228 /* end confdefs.h. */
16229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16231 #define $ac_func innocuous_$ac_func
16233 /* System header to define __stub macros and hopefully few prototypes,
16234 which can conflict with char $ac_func (); below.
16235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16236 <limits.h> exists even on freestanding compilers. */
16239 # include <limits.h>
16241 # include <assert.h>
16246 /* Override any gcc2 internal prototype to avoid an error. */
16251 /* We use char because int might match the return type of a gcc2
16252 builtin and then its argument prototype would still apply. */
16254 /* The GNU C library defines this for functions which it implements
16255 to always fail with ENOSYS. Some functions are actually named
16256 something starting with __ and the normal name is an alias. */
16257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16260 char (*f) () = $ac_func;
16269 return f != $ac_func;
16274 rm -f conftest.
$ac_objext conftest
$ac_exeext
16275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16276 (eval $ac_link) 2>conftest.er1
16278 grep -v '^ *+' conftest.er1
>conftest.err
16280 cat conftest.err
>&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); } &&
16283 { ac_try
='test -z "$ac_c_werror_flag"
16284 || test ! -s conftest.err'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; } &&
16290 { ac_try
='test -s conftest$ac_exeext'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; }; then
16296 eval "$as_ac_var=yes"
16298 echo "$as_me: failed program was:" >&5
16299 sed 's/^/| /' conftest.
$ac_ext >&5
16301 eval "$as_ac_var=no"
16303 rm -f conftest.err conftest.
$ac_objext \
16304 conftest
$ac_exeext conftest.
$ac_ext
16306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16308 if test `eval echo '${'$as_ac_var'}'` = yes; then
16309 cat >>confdefs.h
<<_ACEOF
16310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16317 for ac_func
in ttrace
16319 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16320 echo "$as_me:$LINENO: checking for $ac_func" >&5
16321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16322 if eval "test \"\${$as_ac_var+set}\" = set"; then
16323 echo $ECHO_N "(cached) $ECHO_C" >&6
16325 cat >conftest.
$ac_ext <<_ACEOF
16328 cat confdefs.h
>>conftest.
$ac_ext
16329 cat >>conftest.
$ac_ext <<_ACEOF
16330 /* end confdefs.h. */
16331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16333 #define $ac_func innocuous_$ac_func
16335 /* System header to define __stub macros and hopefully few prototypes,
16336 which can conflict with char $ac_func (); below.
16337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16338 <limits.h> exists even on freestanding compilers. */
16341 # include <limits.h>
16343 # include <assert.h>
16348 /* Override any gcc2 internal prototype to avoid an error. */
16353 /* We use char because int might match the return type of a gcc2
16354 builtin and then its argument prototype would still apply. */
16356 /* The GNU C library defines this for functions which it implements
16357 to always fail with ENOSYS. Some functions are actually named
16358 something starting with __ and the normal name is an alias. */
16359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16362 char (*f) () = $ac_func;
16371 return f != $ac_func;
16376 rm -f conftest.
$ac_objext conftest
$ac_exeext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16378 (eval $ac_link) 2>conftest.er1
16380 grep -v '^ *+' conftest.er1
>conftest.err
16382 cat conftest.err
>&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); } &&
16385 { ac_try
='test -z "$ac_c_werror_flag"
16386 || test ! -s conftest.err'
16387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388 (eval $ac_try) 2>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; } &&
16392 { ac_try
='test -s conftest$ac_exeext'
16393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394 (eval $ac_try) 2>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }; }; then
16398 eval "$as_ac_var=yes"
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.
$ac_ext >&5
16403 eval "$as_ac_var=no"
16405 rm -f conftest.err conftest.
$ac_objext \
16406 conftest
$ac_exeext conftest.
$ac_ext
16408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16410 if test `eval echo '${'$as_ac_var'}'` = yes; then
16411 cat >>confdefs.h
<<_ACEOF
16412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16419 for ac_func
in wborder
16421 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16422 echo "$as_me:$LINENO: checking for $ac_func" >&5
16423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16424 if eval "test \"\${$as_ac_var+set}\" = set"; then
16425 echo $ECHO_N "(cached) $ECHO_C" >&6
16427 cat >conftest.
$ac_ext <<_ACEOF
16430 cat confdefs.h
>>conftest.
$ac_ext
16431 cat >>conftest.
$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16435 #define $ac_func innocuous_$ac_func
16437 /* System header to define __stub macros and hopefully few prototypes,
16438 which can conflict with char $ac_func (); below.
16439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16440 <limits.h> exists even on freestanding compilers. */
16443 # include <limits.h>
16445 # include <assert.h>
16450 /* Override any gcc2 internal prototype to avoid an error. */
16455 /* We use char because int might match the return type of a gcc2
16456 builtin and then its argument prototype would still apply. */
16458 /* The GNU C library defines this for functions which it implements
16459 to always fail with ENOSYS. Some functions are actually named
16460 something starting with __ and the normal name is an alias. */
16461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16464 char (*f) () = $ac_func;
16473 return f != $ac_func;
16478 rm -f conftest.
$ac_objext conftest
$ac_exeext
16479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16480 (eval $ac_link) 2>conftest.er1
16482 grep -v '^ *+' conftest.er1
>conftest.err
16484 cat conftest.err
>&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } &&
16487 { ac_try
='test -z "$ac_c_werror_flag"
16488 || test ! -s conftest.err'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; } &&
16494 { ac_try
='test -s conftest$ac_exeext'
16495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496 (eval $ac_try) 2>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); }; }; then
16500 eval "$as_ac_var=yes"
16502 echo "$as_me: failed program was:" >&5
16503 sed 's/^/| /' conftest.
$ac_ext >&5
16505 eval "$as_ac_var=no"
16507 rm -f conftest.err conftest.
$ac_objext \
16508 conftest
$ac_exeext conftest.
$ac_ext
16510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16512 if test `eval echo '${'$as_ac_var'}'` = yes; then
16513 cat >>confdefs.h
<<_ACEOF
16514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16521 # Check the return and argument types of ptrace. No canned test for
16522 # this, so roll our own.
16523 gdb_ptrace_headers
='
16524 #if HAVE_SYS_TYPES_H
16525 # include <sys/types.h>
16527 #if HAVE_SYS_PTRACE_H
16528 # include <sys/ptrace.h>
16531 # include <unistd.h>
16534 # There is no point in checking if we don't have a prototype.
16535 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
16536 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
16537 if test "${ac_cv_have_decl_ptrace+set}" = set; then
16538 echo $ECHO_N "(cached) $ECHO_C" >&6
16540 cat >conftest.
$ac_ext <<_ACEOF
16543 cat confdefs.h
>>conftest.
$ac_ext
16544 cat >>conftest.
$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16546 $gdb_ptrace_headers
16552 char *p = (char *) ptrace;
16559 rm -f conftest.
$ac_objext
16560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16561 (eval $ac_compile) 2>conftest.er1
16563 grep -v '^ *+' conftest.er1
>conftest.err
16565 cat conftest.err
>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } &&
16568 { ac_try
='test -z "$ac_c_werror_flag"
16569 || test ! -s conftest.err'
16570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16571 (eval $ac_try) 2>&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }; } &&
16575 { ac_try
='test -s conftest.$ac_objext'
16576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16577 (eval $ac_try) 2>&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); }; }; then
16581 ac_cv_have_decl_ptrace
=yes
16583 echo "$as_me: failed program was:" >&5
16584 sed 's/^/| /' conftest.
$ac_ext >&5
16586 ac_cv_have_decl_ptrace
=no
16588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16590 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
16591 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
16592 if test $ac_cv_have_decl_ptrace = yes; then
16594 cat >>confdefs.h
<<_ACEOF
16595 #define HAVE_DECL_PTRACE 1
16600 cat >>confdefs.h
<<_ACEOF
16601 #define HAVE_DECL_PTRACE 0
16605 : ${gdb_cv_func_ptrace_ret='int'}
16606 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
16611 # Check return type.
16612 echo "$as_me:$LINENO: checking return type of ptrace" >&5
16613 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
16614 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
16615 echo $ECHO_N "(cached) $ECHO_C" >&6
16617 cat >conftest.
$ac_ext <<_ACEOF
16620 cat confdefs.h
>>conftest.
$ac_ext
16621 cat >>conftest.
$ac_ext <<_ACEOF
16622 /* end confdefs.h. */
16623 $gdb_ptrace_headers
16627 extern int ptrace ();
16632 rm -f conftest.
$ac_objext
16633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16634 (eval $ac_compile) 2>conftest.er1
16636 grep -v '^ *+' conftest.er1
>conftest.err
16638 cat conftest.err
>&5
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); } &&
16641 { ac_try
='test -z "$ac_c_werror_flag"
16642 || test ! -s conftest.err'
16643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16644 (eval $ac_try) 2>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); }; } &&
16648 { ac_try
='test -s conftest.$ac_objext'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; }; then
16654 gdb_cv_func_ptrace_ret
='int'
16656 echo "$as_me: failed program was:" >&5
16657 sed 's/^/| /' conftest.
$ac_ext >&5
16659 gdb_cv_func_ptrace_ret
='long'
16661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16663 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
16664 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
16666 cat >>confdefs.h
<<_ACEOF
16667 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
16670 # Check argument types.
16671 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
16672 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
16673 if test "${gdb_cv_func_ptrace_args+set}" = set; then
16674 echo $ECHO_N "(cached) $ECHO_C" >&6
16677 for gdb_arg1
in 'int' 'long'; do
16678 for gdb_arg2
in 'pid_t' 'int' 'long'; do
16679 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long'; do
16680 for gdb_arg4
in 'int' 'long'; do
16681 cat >conftest.
$ac_ext <<_ACEOF
16684 cat confdefs.h
>>conftest.
$ac_ext
16685 cat >>conftest.
$ac_ext <<_ACEOF
16686 /* end confdefs.h. */
16687 $gdb_ptrace_headers
16692 extern $gdb_cv_func_ptrace_ret
16693 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
16699 rm -f conftest.
$ac_objext
16700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16701 (eval $ac_compile) 2>conftest.er1
16703 grep -v '^ *+' conftest.er1
>conftest.err
16705 cat conftest.err
>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } &&
16708 { ac_try
='test -z "$ac_c_werror_flag"
16709 || test ! -s conftest.err'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; } &&
16715 { ac_try
='test -s conftest.$ac_objext'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; }; then
16721 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
16724 echo "$as_me: failed program was:" >&5
16725 sed 's/^/| /' conftest.
$ac_ext >&5
16728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16729 for gdb_arg5
in 'int *' 'int' 'long'; do
16730 cat >conftest.
$ac_ext <<_ACEOF
16733 cat confdefs.h
>>conftest.
$ac_ext
16734 cat >>conftest.
$ac_ext <<_ACEOF
16735 /* end confdefs.h. */
16736 $gdb_ptrace_headers
16741 extern $gdb_cv_func_ptrace_ret
16742 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
16748 rm -f conftest.
$ac_objext
16749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16750 (eval $ac_compile) 2>conftest.er1
16752 grep -v '^ *+' conftest.er1
>conftest.err
16754 cat conftest.err
>&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); } &&
16757 { ac_try
='test -z "$ac_c_werror_flag"
16758 || test ! -s conftest.err'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; } &&
16764 { ac_try
='test -s conftest.$ac_objext'
16765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766 (eval $ac_try) 2>&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; }; then
16771 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.
$ac_ext >&5
16778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16784 # Provide a safe default value.
16785 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
16788 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
16789 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
16790 ac_save_IFS
=$IFS; IFS
=','
16791 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
16795 cat >>confdefs.h
<<_ACEOF
16796 #define PTRACE_TYPE_ARG3 $3
16799 if test -n "$5"; then
16801 cat >>confdefs.h
<<_ACEOF
16802 #define PTRACE_TYPE_ARG5 $5
16807 if test "$cross_compiling" = no
; then
16808 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
16809 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
16810 if test "${ac_cv_func_setpgrp_void+set}" = set; then
16811 echo $ECHO_N "(cached) $ECHO_C" >&6
16813 if test "$cross_compiling" = yes; then
16814 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
16815 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
16816 { (exit 1); exit 1; }; }
16818 cat >conftest.
$ac_ext <<_ACEOF
16821 cat confdefs.h
>>conftest.
$ac_ext
16822 cat >>conftest.
$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16825 # include <unistd.h>
16831 /* If this system has a BSD-style setpgrp which takes arguments,
16832 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
16833 exit successfully. */
16834 exit (setpgrp (1,1) == -1 ? 0 : 1);
16839 rm -f conftest
$ac_exeext
16840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16841 (eval $ac_link) 2>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 ac_cv_func_setpgrp_void
=no
16852 echo "$as_me: program exited with status $ac_status" >&5
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.
$ac_ext >&5
16856 ( exit $ac_status )
16857 ac_cv_func_setpgrp_void
=yes
16859 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16862 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
16863 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
16864 if test $ac_cv_func_setpgrp_void = yes; then
16866 cat >>confdefs.h
<<\_ACEOF
16867 #define SETPGRP_VOID 1
16873 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
16874 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
16875 if test "${ac_cv_func_setpgrp_void+set}" = set; then
16876 echo $ECHO_N "(cached) $ECHO_C" >&6
16878 cat >conftest.
$ac_ext <<_ACEOF
16881 cat confdefs.h
>>conftest.
$ac_ext
16882 cat >>conftest.
$ac_ext <<_ACEOF
16883 /* end confdefs.h. */
16885 #include <unistd.h>
16891 if (setpgrp(1,1) == -1)
16900 rm -f conftest.
$ac_objext
16901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16902 (eval $ac_compile) 2>conftest.er1
16904 grep -v '^ *+' conftest.er1
>conftest.err
16906 cat conftest.err
>&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); } &&
16909 { ac_try
='test -z "$ac_c_werror_flag"
16910 || test ! -s conftest.err'
16911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16912 (eval $ac_try) 2>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); }; } &&
16916 { ac_try
='test -s conftest.$ac_objext'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; }; then
16922 ac_cv_func_setpgrp_void
=no
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.
$ac_ext >&5
16927 ac_cv_func_setpgrp_void
=yes
16929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16931 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
16932 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
16933 if test $ac_cv_func_setpgrp_void = yes; then
16934 cat >>confdefs.h
<<\_ACEOF
16935 #define SETPGRP_VOID 1
16941 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
16942 # since sigsetjmp might only be defined as a macro.
16943 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
16944 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
16945 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 cat >conftest.
$ac_ext <<_ACEOF
16951 cat confdefs.h
>>conftest.
$ac_ext
16952 cat >>conftest.
$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16955 #include <setjmp.h>
16960 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16965 rm -f conftest.
$ac_objext
16966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16967 (eval $ac_compile) 2>conftest.er1
16969 grep -v '^ *+' conftest.er1
>conftest.err
16971 cat conftest.err
>&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } &&
16974 { ac_try
='test -z "$ac_c_werror_flag"
16975 || test ! -s conftest.err'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; } &&
16981 { ac_try
='test -s conftest.$ac_objext'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 gdb_cv_func_sigsetjmp
=yes
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.
$ac_ext >&5
16992 gdb_cv_func_sigsetjmp
=no
16994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16996 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
16997 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
16998 if test $gdb_cv_func_sigsetjmp = yes; then
17000 cat >>confdefs.h
<<\_ACEOF
17001 #define HAVE_SIGSETJMP 1
17006 # Assume we'll default to using the included libiberty regex.
17007 gdb_use_included_regex
=yes
17009 # However, if the system regex is GNU regex, then default to *not*
17010 # using the included regex.
17011 echo "$as_me:$LINENO: checking for GNU regex" >&5
17012 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
17013 if test "${gdb_cv_have_gnu_regex+set}" = set; then
17014 echo $ECHO_N "(cached) $ECHO_C" >&6
17016 cat >conftest.
$ac_ext <<_ACEOF
17019 cat confdefs.h
>>conftest.
$ac_ext
17020 cat >>conftest.
$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17022 #include <gnu-versions.h>
17026 #define REGEX_INTERFACE_VERSION 1
17027 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
17028 # error "Version mismatch"
17034 rm -f conftest.
$ac_objext
17035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17036 (eval $ac_compile) 2>conftest.er1
17038 grep -v '^ *+' conftest.er1
>conftest.err
17040 cat conftest.err
>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); } &&
17043 { ac_try
='test -z "$ac_c_werror_flag"
17044 || test ! -s conftest.err'
17045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17046 (eval $ac_try) 2>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; } &&
17050 { ac_try
='test -s conftest.$ac_objext'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; }; then
17056 gdb_cv_have_gnu_regex
=yes
17058 echo "$as_me: failed program was:" >&5
17059 sed 's/^/| /' conftest.
$ac_ext >&5
17061 gdb_cv_have_gnu_regex
=no
17063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17065 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
17066 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
17067 if test $gdb_cv_have_gnu_regex = yes; then
17068 gdb_use_included_regex
=no
17072 # Check whether --with-included-regex or --without-included-regex was given.
17073 if test "${with_included_regex+set}" = set; then
17074 withval
="$with_included_regex"
17075 gdb_with_regex
=$withval
17077 gdb_with_regex
=$gdb_use_included_regex
17079 if test "$gdb_with_regex" = yes; then
17081 cat >>confdefs.h
<<\_ACEOF
17082 #define USE_INCLUDED_REGEX 1
17087 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
17088 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
17089 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
17090 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
17091 echo $ECHO_N "(cached) $ECHO_C" >&6
17093 cat >conftest.
$ac_ext <<_ACEOF
17096 cat confdefs.h
>>conftest.
$ac_ext
17097 cat >>conftest.
$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 #include <sys/param.h>
17100 #include <sys/proc.h>
17106 static struct thread ac_aggr;
17107 if (ac_aggr.td_pcb)
17113 rm -f conftest.
$ac_objext
17114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17115 (eval $ac_compile) 2>conftest.er1
17117 grep -v '^ *+' conftest.er1
>conftest.err
17119 cat conftest.err
>&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } &&
17122 { ac_try
='test -z "$ac_c_werror_flag"
17123 || test ! -s conftest.err'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; } &&
17129 { ac_try
='test -s conftest.$ac_objext'
17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17131 (eval $ac_try) 2>&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); }; }; then
17135 ac_cv_member_struct_thread_td_pcb
=yes
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.
$ac_ext >&5
17140 cat >conftest.
$ac_ext <<_ACEOF
17143 cat confdefs.h
>>conftest.
$ac_ext
17144 cat >>conftest.
$ac_ext <<_ACEOF
17145 /* end confdefs.h. */
17146 #include <sys/param.h>
17147 #include <sys/proc.h>
17153 static struct thread ac_aggr;
17154 if (sizeof ac_aggr.td_pcb)
17160 rm -f conftest.
$ac_objext
17161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17162 (eval $ac_compile) 2>conftest.er1
17164 grep -v '^ *+' conftest.er1
>conftest.err
17166 cat conftest.err
>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); } &&
17169 { ac_try
='test -z "$ac_c_werror_flag"
17170 || test ! -s conftest.err'
17171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172 (eval $ac_try) 2>&5
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; } &&
17176 { ac_try
='test -s conftest.$ac_objext'
17177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178 (eval $ac_try) 2>&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); }; }; then
17182 ac_cv_member_struct_thread_td_pcb
=yes
17184 echo "$as_me: failed program was:" >&5
17185 sed 's/^/| /' conftest.
$ac_ext >&5
17187 ac_cv_member_struct_thread_td_pcb
=no
17189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17193 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
17194 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
17195 if test $ac_cv_member_struct_thread_td_pcb = yes; then
17197 cat >>confdefs.h
<<_ACEOF
17198 #define HAVE_STRUCT_THREAD_TD_PCB 1
17205 # See if <sys/lwp.h> defines `struct lwp`.
17206 echo "$as_me:$LINENO: checking for struct lwp" >&5
17207 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
17208 if test "${gdb_cv_struct_lwp+set}" = set; then
17209 echo $ECHO_N "(cached) $ECHO_C" >&6
17211 cat >conftest.
$ac_ext <<_ACEOF
17214 cat confdefs.h
>>conftest.
$ac_ext
17215 cat >>conftest.
$ac_ext <<_ACEOF
17216 /* end confdefs.h. */
17217 #include <sys/param.h>
17218 #include <sys/lwp.h>
17227 rm -f conftest.
$ac_objext
17228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17229 (eval $ac_compile) 2>conftest.er1
17231 grep -v '^ *+' conftest.er1
>conftest.err
17233 cat conftest.err
>&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); } &&
17236 { ac_try
='test -z "$ac_c_werror_flag"
17237 || test ! -s conftest.err'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; } &&
17243 { ac_try
='test -s conftest.$ac_objext'
17244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17245 (eval $ac_try) 2>&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; }; then
17249 gdb_cv_struct_lwp
=yes
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.
$ac_ext >&5
17254 gdb_cv_struct_lwp
=no
17256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17258 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
17259 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
17260 if test $gdb_cv_struct_lwp = yes; then
17262 cat >>confdefs.h
<<\_ACEOF
17263 #define HAVE_STRUCT_LWP 1
17268 # See if <machine/reg.h> degines `struct reg'.
17269 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
17270 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
17271 if test "${gdb_cv_struct_reg+set}" = set; then
17272 echo $ECHO_N "(cached) $ECHO_C" >&6
17274 cat >conftest.
$ac_ext <<_ACEOF
17277 cat confdefs.h
>>conftest.
$ac_ext
17278 cat >>conftest.
$ac_ext <<_ACEOF
17279 /* end confdefs.h. */
17280 #include <sys/types.h>
17281 #include <machine/reg.h>
17290 rm -f conftest.
$ac_objext
17291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17292 (eval $ac_compile) 2>conftest.er1
17294 grep -v '^ *+' conftest.er1
>conftest.err
17296 cat conftest.err
>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } &&
17299 { ac_try
='test -z "$ac_c_werror_flag"
17300 || test ! -s conftest.err'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; } &&
17306 { ac_try
='test -s conftest.$ac_objext'
17307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17308 (eval $ac_try) 2>&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); }; }; then
17312 gdb_cv_struct_reg
=yes
17314 echo "$as_me: failed program was:" >&5
17315 sed 's/^/| /' conftest.
$ac_ext >&5
17317 gdb_cv_struct_reg
=no
17319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17321 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
17322 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
17323 if test $gdb_cv_struct_reg = yes; then
17325 cat >>confdefs.h
<<\_ACEOF
17326 #define HAVE_STRUCT_REG 1
17331 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
17332 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
17333 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
17334 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
17335 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
17336 echo $ECHO_N "(cached) $ECHO_C" >&6
17338 cat >conftest.
$ac_ext <<_ACEOF
17341 cat confdefs.h
>>conftest.
$ac_ext
17342 cat >>conftest.
$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17344 #include <machine/reg.h>
17349 static struct reg ac_aggr;
17356 rm -f conftest.
$ac_objext
17357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17358 (eval $ac_compile) 2>conftest.er1
17360 grep -v '^ *+' conftest.er1
>conftest.err
17362 cat conftest.err
>&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); } &&
17365 { ac_try
='test -z "$ac_c_werror_flag"
17366 || test ! -s conftest.err'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; } &&
17372 { ac_try
='test -s conftest.$ac_objext'
17373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374 (eval $ac_try) 2>&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); }; }; then
17378 ac_cv_member_struct_reg_r_fs
=yes
17380 echo "$as_me: failed program was:" >&5
17381 sed 's/^/| /' conftest.
$ac_ext >&5
17383 cat >conftest.
$ac_ext <<_ACEOF
17386 cat confdefs.h
>>conftest.
$ac_ext
17387 cat >>conftest.
$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17389 #include <machine/reg.h>
17394 static struct reg ac_aggr;
17395 if (sizeof ac_aggr.r_fs)
17401 rm -f conftest.
$ac_objext
17402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17403 (eval $ac_compile) 2>conftest.er1
17405 grep -v '^ *+' conftest.er1
>conftest.err
17407 cat conftest.err
>&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); } &&
17410 { ac_try
='test -z "$ac_c_werror_flag"
17411 || test ! -s conftest.err'
17412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17413 (eval $ac_try) 2>&5
17415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17416 (exit $ac_status); }; } &&
17417 { ac_try
='test -s conftest.$ac_objext'
17418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17419 (eval $ac_try) 2>&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); }; }; then
17423 ac_cv_member_struct_reg_r_fs
=yes
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.
$ac_ext >&5
17428 ac_cv_member_struct_reg_r_fs
=no
17430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17434 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
17435 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
17436 if test $ac_cv_member_struct_reg_r_fs = yes; then
17438 cat >>confdefs.h
<<_ACEOF
17439 #define HAVE_STRUCT_REG_R_FS 1
17444 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
17445 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
17446 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 cat >conftest.
$ac_ext <<_ACEOF
17452 cat confdefs.h
>>conftest.
$ac_ext
17453 cat >>conftest.
$ac_ext <<_ACEOF
17454 /* end confdefs.h. */
17455 #include <machine/reg.h>
17460 static struct reg ac_aggr;
17467 rm -f conftest.
$ac_objext
17468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17469 (eval $ac_compile) 2>conftest.er1
17471 grep -v '^ *+' conftest.er1
>conftest.err
17473 cat conftest.err
>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } &&
17476 { ac_try
='test -z "$ac_c_werror_flag"
17477 || test ! -s conftest.err'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; } &&
17483 { ac_try
='test -s conftest.$ac_objext'
17484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17485 (eval $ac_try) 2>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); }; }; then
17489 ac_cv_member_struct_reg_r_gs
=yes
17491 echo "$as_me: failed program was:" >&5
17492 sed 's/^/| /' conftest.
$ac_ext >&5
17494 cat >conftest.
$ac_ext <<_ACEOF
17497 cat confdefs.h
>>conftest.
$ac_ext
17498 cat >>conftest.
$ac_ext <<_ACEOF
17499 /* end confdefs.h. */
17500 #include <machine/reg.h>
17505 static struct reg ac_aggr;
17506 if (sizeof ac_aggr.r_gs)
17512 rm -f conftest.
$ac_objext
17513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17514 (eval $ac_compile) 2>conftest.er1
17516 grep -v '^ *+' conftest.er1
>conftest.err
17518 cat conftest.err
>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); } &&
17521 { ac_try
='test -z "$ac_c_werror_flag"
17522 || test ! -s conftest.err'
17523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17524 (eval $ac_try) 2>&5
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); }; } &&
17528 { ac_try
='test -s conftest.$ac_objext'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17534 ac_cv_member_struct_reg_r_gs
=yes
17536 echo "$as_me: failed program was:" >&5
17537 sed 's/^/| /' conftest.
$ac_ext >&5
17539 ac_cv_member_struct_reg_r_gs
=no
17541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17545 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
17546 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
17547 if test $ac_cv_member_struct_reg_r_gs = yes; then
17549 cat >>confdefs.h
<<_ACEOF
17550 #define HAVE_STRUCT_REG_R_GS 1
17557 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
17558 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
17559 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
17560 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
17561 echo $ECHO_N "(cached) $ECHO_C" >&6
17563 cat >conftest.
$ac_ext <<_ACEOF
17566 cat confdefs.h
>>conftest.
$ac_ext
17567 cat >>conftest.
$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17569 #include <sys/ptrace.h>
17578 rm -f conftest.
$ac_objext
17579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17580 (eval $ac_compile) 2>conftest.er1
17582 grep -v '^ *+' conftest.er1
>conftest.err
17584 cat conftest.err
>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } &&
17587 { ac_try
='test -z "$ac_c_werror_flag"
17588 || test ! -s conftest.err'
17589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17590 (eval $ac_try) 2>&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); }; } &&
17594 { ac_try
='test -s conftest.$ac_objext'
17595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17596 (eval $ac_try) 2>&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); }; }; then
17600 gdb_cv_have_ptrace_getregs
=yes
17602 echo "$as_me: failed program was:" >&5
17603 sed 's/^/| /' conftest.
$ac_ext >&5
17605 gdb_cv_have_ptrace_getregs
=no
17607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17610 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
17611 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
17612 if test $gdb_cv_have_ptrace_getregs = yes; then
17613 cat >>confdefs.h
<<\_ACEOF
17614 #define HAVE_PTRACE_GETREGS 1
17619 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
17620 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
17621 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
17622 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 cat >conftest.
$ac_ext <<_ACEOF
17628 cat confdefs.h
>>conftest.
$ac_ext
17629 cat >>conftest.
$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 #include <sys/ptrace.h>
17640 rm -f conftest.
$ac_objext
17641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17642 (eval $ac_compile) 2>conftest.er1
17644 grep -v '^ *+' conftest.er1
>conftest.err
17646 cat conftest.err
>&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); } &&
17649 { ac_try
='test -z "$ac_c_werror_flag"
17650 || test ! -s conftest.err'
17651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17652 (eval $ac_try) 2>&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); }; } &&
17656 { ac_try
='test -s conftest.$ac_objext'
17657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17658 (eval $ac_try) 2>&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); }; }; then
17662 gdb_cv_have_ptrace_getfpxregs
=yes
17664 echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.
$ac_ext >&5
17667 gdb_cv_have_ptrace_getfpxregs
=no
17669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17672 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
17673 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
17674 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
17675 cat >>confdefs.h
<<\_ACEOF
17676 #define HAVE_PTRACE_GETFPXREGS 1
17681 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
17682 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
17683 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
17684 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
17685 echo $ECHO_N "(cached) $ECHO_C" >&6
17687 cat >conftest.
$ac_ext <<_ACEOF
17690 cat confdefs.h
>>conftest.
$ac_ext
17691 cat >>conftest.
$ac_ext <<_ACEOF
17692 /* end confdefs.h. */
17693 #include <sys/types.h>
17694 #include <sys/ptrace.h>
17703 rm -f conftest.
$ac_objext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17705 (eval $ac_compile) 2>conftest.er1
17707 grep -v '^ *+' conftest.er1
>conftest.err
17709 cat conftest.err
>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } &&
17712 { ac_try
='test -z "$ac_c_werror_flag"
17713 || test ! -s conftest.err'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; } &&
17719 { ac_try
='test -s conftest.$ac_objext'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; }; then
17725 gdb_cv_have_pt_getdbregs
=yes
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17730 gdb_cv_have_pt_getdbregs
=no
17732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17735 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
17736 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
17737 if test $gdb_cv_have_pt_getdbregs = yes; then
17738 cat >>confdefs.h
<<\_ACEOF
17739 #define HAVE_PT_GETDBREGS 1
17744 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
17745 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
17746 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
17747 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17750 cat >conftest.
$ac_ext <<_ACEOF
17753 cat confdefs.h
>>conftest.
$ac_ext
17754 cat >>conftest.
$ac_ext <<_ACEOF
17755 /* end confdefs.h. */
17756 #include <sys/types.h>
17757 #include <sys/ptrace.h>
17766 rm -f conftest.
$ac_objext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17768 (eval $ac_compile) 2>conftest.er1
17770 grep -v '^ *+' conftest.er1
>conftest.err
17772 cat conftest.err
>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try
='test -z "$ac_c_werror_flag"
17776 || test ! -s conftest.err'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; } &&
17782 { ac_try
='test -s conftest.$ac_objext'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; }; then
17788 gdb_cv_have_pt_getxmmregs
=yes
17790 echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.
$ac_ext >&5
17793 gdb_cv_have_pt_getxmmregs
=no
17795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17798 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
17799 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
17800 if test $gdb_cv_have_pt_getxmmregs = yes; then
17801 cat >>confdefs.h
<<\_ACEOF
17802 #define HAVE_PT_GETXMMREGS 1
17807 # See if stdint.h provides the uintptr_t type.
17808 # Autoconf 2.5X has an improved AC_CHECK_TYPE which will simplify this.
17809 echo "$as_me:$LINENO: checking for uintptr_t in stdint.h" >&5
17810 echo $ECHO_N "checking for uintptr_t in stdint.h... $ECHO_C" >&6
17811 if test "${gdb_cv_have_uintptr_t+set}" = set; then
17812 echo $ECHO_N "(cached) $ECHO_C" >&6
17814 cat >conftest.
$ac_ext <<_ACEOF
17817 cat confdefs.h
>>conftest.
$ac_ext
17818 cat >>conftest.
$ac_ext <<_ACEOF
17819 /* end confdefs.h. */
17820 #include <stdint.h>
17829 rm -f conftest.
$ac_objext
17830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17831 (eval $ac_compile) 2>conftest.er1
17833 grep -v '^ *+' conftest.er1
>conftest.err
17835 cat conftest.err
>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } &&
17838 { ac_try
='test -z "$ac_c_werror_flag"
17839 || test ! -s conftest.err'
17840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841 (eval $ac_try) 2>&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; } &&
17845 { ac_try
='test -s conftest.$ac_objext'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; }; then
17851 gdb_cv_have_uintptr_t
=yes
17853 echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.
$ac_ext >&5
17856 gdb_cv_have_uintptr_t
=no
17858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17860 echo "$as_me:$LINENO: result: $gdb_cv_have_uintptr_t" >&5
17861 echo "${ECHO_T}$gdb_cv_have_uintptr_t" >&6
17862 if test $gdb_cv_have_uintptr_t = yes; then
17864 cat >>confdefs.h
<<\_ACEOF
17865 #define HAVE_UINTPTR_T 1
17870 # If we are configured native on GNU/Linux, work around problems with
17872 # Also detect which type of /proc is in use, such as for Unixware or Solaris.
17874 if test "${target}" = "${host}"; then
17876 i
[3456]86-*-linux*)
17877 cat >>confdefs.h
<<\_ACEOF
17878 #define START_INFERIOR_TRAPS_EXPECTED 2
17881 cat >>confdefs.h
<<\_ACEOF
17882 #define sys_quotactl 1
17886 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
17887 cat >>confdefs.h
<<\_ACEOF
17888 #define NEW_PROC_API 1
17892 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9])
17893 cat >>confdefs.h
<<\_ACEOF
17894 #define NEW_PROC_API 1
17899 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
17900 cat >>confdefs.h
<<\_ACEOF
17901 #define _KMEMUSER 1
17908 if test "$ac_cv_header_sys_procfs_h" = yes; then
17909 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
17910 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
17911 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
17912 echo $ECHO_N "(cached) $ECHO_C" >&6
17914 cat >conftest.
$ac_ext <<_ACEOF
17917 cat confdefs.h
>>conftest.
$ac_ext
17918 cat >>conftest.
$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17922 #include <sys/procfs.h>
17931 rm -f conftest.
$ac_objext
17932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17933 (eval $ac_compile) 2>conftest.er1
17935 grep -v '^ *+' conftest.er1
>conftest.err
17937 cat conftest.err
>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); } &&
17940 { ac_try
='test -z "$ac_c_werror_flag"
17941 || test ! -s conftest.err'
17942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17943 (eval $ac_try) 2>&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); }; } &&
17947 { ac_try
='test -s conftest.$ac_objext'
17948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17949 (eval $ac_try) 2>&5
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); }; }; then
17953 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
17955 echo "$as_me: failed program was:" >&5
17956 sed 's/^/| /' conftest.
$ac_ext >&5
17958 bfd_cv_have_sys_procfs_type_pstatus_t
=no
17961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17964 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
17966 cat >>confdefs.h
<<\_ACEOF
17967 #define HAVE_PSTATUS_T 1
17971 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
17972 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
17974 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
17975 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
17976 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
17977 echo $ECHO_N "(cached) $ECHO_C" >&6
17979 cat >conftest.
$ac_ext <<_ACEOF
17982 cat confdefs.h
>>conftest.
$ac_ext
17983 cat >>conftest.
$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17987 #include <sys/procfs.h>
17996 rm -f conftest.
$ac_objext
17997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17998 (eval $ac_compile) 2>conftest.er1
18000 grep -v '^ *+' conftest.er1
>conftest.err
18002 cat conftest.err
>&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } &&
18005 { ac_try
='test -z "$ac_c_werror_flag"
18006 || test ! -s conftest.err'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; } &&
18012 { ac_try
='test -s conftest.$ac_objext'
18013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18014 (eval $ac_try) 2>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); }; }; then
18018 bfd_cv_have_sys_procfs_type_prrun_t
=yes
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.
$ac_ext >&5
18023 bfd_cv_have_sys_procfs_type_prrun_t
=no
18026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18029 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
18031 cat >>confdefs.h
<<\_ACEOF
18032 #define HAVE_PRRUN_T 1
18036 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
18037 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
18039 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
18040 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
18041 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
18042 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 cat >conftest.
$ac_ext <<_ACEOF
18047 cat confdefs.h
>>conftest.
$ac_ext
18048 cat >>conftest.
$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18052 #include <sys/procfs.h>
18061 rm -f conftest.
$ac_objext
18062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18063 (eval $ac_compile) 2>conftest.er1
18065 grep -v '^ *+' conftest.er1
>conftest.err
18067 cat conftest.err
>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); } &&
18070 { ac_try
='test -z "$ac_c_werror_flag"
18071 || test ! -s conftest.err'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; } &&
18077 { ac_try
='test -s conftest.$ac_objext'
18078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18079 (eval $ac_try) 2>&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; }; then
18083 bfd_cv_have_sys_procfs_type_gregset_t
=yes
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.
$ac_ext >&5
18088 bfd_cv_have_sys_procfs_type_gregset_t
=no
18091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18094 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
18096 cat >>confdefs.h
<<\_ACEOF
18097 #define HAVE_GREGSET_T 1
18101 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
18102 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
18104 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
18105 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
18106 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
18107 echo $ECHO_N "(cached) $ECHO_C" >&6
18109 cat >conftest.
$ac_ext <<_ACEOF
18112 cat confdefs.h
>>conftest.
$ac_ext
18113 cat >>conftest.
$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18117 #include <sys/procfs.h>
18126 rm -f conftest.
$ac_objext
18127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18128 (eval $ac_compile) 2>conftest.er1
18130 grep -v '^ *+' conftest.er1
>conftest.err
18132 cat conftest.err
>&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); } &&
18135 { ac_try
='test -z "$ac_c_werror_flag"
18136 || test ! -s conftest.err'
18137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18138 (eval $ac_try) 2>&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); }; } &&
18142 { ac_try
='test -s conftest.$ac_objext'
18143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18144 (eval $ac_try) 2>&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); }; }; then
18148 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
18150 echo "$as_me: failed program was:" >&5
18151 sed 's/^/| /' conftest.
$ac_ext >&5
18153 bfd_cv_have_sys_procfs_type_fpregset_t
=no
18156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18159 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
18161 cat >>confdefs.h
<<\_ACEOF
18162 #define HAVE_FPREGSET_T 1
18166 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
18167 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
18169 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
18170 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
18171 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6
18174 cat >conftest.
$ac_ext <<_ACEOF
18177 cat confdefs.h
>>conftest.
$ac_ext
18178 cat >>conftest.
$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18182 #include <sys/procfs.h>
18191 rm -f conftest.
$ac_objext
18192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18193 (eval $ac_compile) 2>conftest.er1
18195 grep -v '^ *+' conftest.er1
>conftest.err
18197 cat conftest.err
>&5
18198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199 (exit $ac_status); } &&
18200 { ac_try
='test -z "$ac_c_werror_flag"
18201 || test ! -s conftest.err'
18202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203 (eval $ac_try) 2>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); }; } &&
18207 { ac_try
='test -s conftest.$ac_objext'
18208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18209 (eval $ac_try) 2>&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); }; }; then
18213 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
18215 echo "$as_me: failed program was:" >&5
18216 sed 's/^/| /' conftest.
$ac_ext >&5
18218 bfd_cv_have_sys_procfs_type_prgregset_t
=no
18221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18224 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
18226 cat >>confdefs.h
<<\_ACEOF
18227 #define HAVE_PRGREGSET_T 1
18231 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
18232 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
18234 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
18235 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
18236 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
18237 echo $ECHO_N "(cached) $ECHO_C" >&6
18239 cat >conftest.
$ac_ext <<_ACEOF
18242 cat confdefs.h
>>conftest.
$ac_ext
18243 cat >>conftest.
$ac_ext <<_ACEOF
18244 /* end confdefs.h. */
18247 #include <sys/procfs.h>
18256 rm -f conftest.
$ac_objext
18257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18258 (eval $ac_compile) 2>conftest.er1
18260 grep -v '^ *+' conftest.er1
>conftest.err
18262 cat conftest.err
>&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } &&
18265 { ac_try
='test -z "$ac_c_werror_flag"
18266 || test ! -s conftest.err'
18267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268 (eval $ac_try) 2>&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; } &&
18272 { ac_try
='test -s conftest.$ac_objext'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; }; then
18278 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
18280 echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.
$ac_ext >&5
18283 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
18286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18289 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
18291 cat >>confdefs.h
<<\_ACEOF
18292 #define HAVE_PRFPREGSET_T 1
18296 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
18297 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
18299 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
18300 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
18301 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18304 cat >conftest.
$ac_ext <<_ACEOF
18307 cat confdefs.h
>>conftest.
$ac_ext
18308 cat >>conftest.
$ac_ext <<_ACEOF
18309 /* end confdefs.h. */
18312 #include <sys/procfs.h>
18321 rm -f conftest.
$ac_objext
18322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18323 (eval $ac_compile) 2>conftest.er1
18325 grep -v '^ *+' conftest.er1
>conftest.err
18327 cat conftest.err
>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } &&
18330 { ac_try
='test -z "$ac_c_werror_flag"
18331 || test ! -s conftest.err'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; } &&
18337 { ac_try
='test -s conftest.$ac_objext'
18338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339 (eval $ac_try) 2>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; }; then
18343 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
18345 echo "$as_me: failed program was:" >&5
18346 sed 's/^/| /' conftest.
$ac_ext >&5
18348 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
18351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18354 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
18356 cat >>confdefs.h
<<\_ACEOF
18357 #define HAVE_PRGREGSET32_T 1
18361 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
18362 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
18364 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
18365 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
18366 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
18367 echo $ECHO_N "(cached) $ECHO_C" >&6
18369 cat >conftest.
$ac_ext <<_ACEOF
18372 cat confdefs.h
>>conftest.
$ac_ext
18373 cat >>conftest.
$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18377 #include <sys/procfs.h>
18381 prfpregset32_t avar
18386 rm -f conftest.
$ac_objext
18387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18388 (eval $ac_compile) 2>conftest.er1
18390 grep -v '^ *+' conftest.er1
>conftest.err
18392 cat conftest.err
>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } &&
18395 { ac_try
='test -z "$ac_c_werror_flag"
18396 || test ! -s conftest.err'
18397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18398 (eval $ac_try) 2>&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); }; } &&
18402 { ac_try
='test -s conftest.$ac_objext'
18403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18404 (eval $ac_try) 2>&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); }; }; then
18408 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.
$ac_ext >&5
18413 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
18416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18419 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
18421 cat >>confdefs.h
<<\_ACEOF
18422 #define HAVE_PRFPREGSET32_T 1
18426 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
18427 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
18429 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
18430 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
18431 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
18432 echo $ECHO_N "(cached) $ECHO_C" >&6
18434 cat >conftest.
$ac_ext <<_ACEOF
18437 cat confdefs.h
>>conftest.
$ac_ext
18438 cat >>conftest.
$ac_ext <<_ACEOF
18439 /* end confdefs.h. */
18442 #include <sys/procfs.h>
18451 rm -f conftest.
$ac_objext
18452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18453 (eval $ac_compile) 2>conftest.er1
18455 grep -v '^ *+' conftest.er1
>conftest.err
18457 cat conftest.err
>&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); } &&
18460 { ac_try
='test -z "$ac_c_werror_flag"
18461 || test ! -s conftest.err'
18462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18463 (eval $ac_try) 2>&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); }; } &&
18467 { ac_try
='test -s conftest.$ac_objext'
18468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18469 (eval $ac_try) 2>&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); }; }; then
18473 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.
$ac_ext >&5
18478 bfd_cv_have_sys_procfs_type_lwpid_t
=no
18481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18484 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
18486 cat >>confdefs.h
<<\_ACEOF
18487 #define HAVE_LWPID_T 1
18491 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
18492 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
18494 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
18495 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
18496 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 cat >conftest.
$ac_ext <<_ACEOF
18502 cat confdefs.h
>>conftest.
$ac_ext
18503 cat >>conftest.
$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18507 #include <sys/procfs.h>
18516 rm -f conftest.
$ac_objext
18517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18518 (eval $ac_compile) 2>conftest.er1
18520 grep -v '^ *+' conftest.er1
>conftest.err
18522 cat conftest.err
>&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); } &&
18525 { ac_try
='test -z "$ac_c_werror_flag"
18526 || test ! -s conftest.err'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; } &&
18532 { ac_try
='test -s conftest.$ac_objext'
18533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534 (eval $ac_try) 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; }; then
18538 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
18540 echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.
$ac_ext >&5
18543 bfd_cv_have_sys_procfs_type_psaddr_t
=no
18546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18549 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
18551 cat >>confdefs.h
<<\_ACEOF
18552 #define HAVE_PSADDR_T 1
18556 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
18557 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
18559 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
18560 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
18561 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 cat >conftest.
$ac_ext <<_ACEOF
18567 cat confdefs.h
>>conftest.
$ac_ext
18568 cat >>conftest.
$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18572 #include <sys/procfs.h>
18581 rm -f conftest.
$ac_objext
18582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18583 (eval $ac_compile) 2>conftest.er1
18585 grep -v '^ *+' conftest.er1
>conftest.err
18587 cat conftest.err
>&5
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); } &&
18590 { ac_try
='test -z "$ac_c_werror_flag"
18591 || test ! -s conftest.err'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; } &&
18597 { ac_try
='test -s conftest.$ac_objext'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; }; then
18603 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
18605 echo "$as_me: failed program was:" >&5
18606 sed 's/^/| /' conftest.
$ac_ext >&5
18608 bfd_cv_have_sys_procfs_type_prsysent_t
=no
18611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18614 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
18616 cat >>confdefs.h
<<\_ACEOF
18617 #define HAVE_PRSYSENT_T 1
18621 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
18622 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
18624 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
18625 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
18626 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
18627 echo $ECHO_N "(cached) $ECHO_C" >&6
18629 cat >conftest.
$ac_ext <<_ACEOF
18632 cat confdefs.h
>>conftest.
$ac_ext
18633 cat >>conftest.
$ac_ext <<_ACEOF
18634 /* end confdefs.h. */
18637 #include <sys/procfs.h>
18646 rm -f conftest.
$ac_objext
18647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18648 (eval $ac_compile) 2>conftest.er1
18650 grep -v '^ *+' conftest.er1
>conftest.err
18652 cat conftest.err
>&5
18653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18654 (exit $ac_status); } &&
18655 { ac_try
='test -z "$ac_c_werror_flag"
18656 || test ! -s conftest.err'
18657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18658 (eval $ac_try) 2>&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); }; } &&
18662 { ac_try
='test -s conftest.$ac_objext'
18663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18664 (eval $ac_try) 2>&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); }; }; then
18668 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
18670 echo "$as_me: failed program was:" >&5
18671 sed 's/^/| /' conftest.
$ac_ext >&5
18673 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
18676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18679 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
18681 cat >>confdefs.h
<<\_ACEOF
18682 #define HAVE_PR_SIGSET_T 1
18686 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
18687 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
18689 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
18690 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
18691 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
18692 echo $ECHO_N "(cached) $ECHO_C" >&6
18694 cat >conftest.
$ac_ext <<_ACEOF
18697 cat confdefs.h
>>conftest.
$ac_ext
18698 cat >>conftest.
$ac_ext <<_ACEOF
18699 /* end confdefs.h. */
18702 #include <sys/procfs.h>
18706 pr_sigaction64_t avar
18711 rm -f conftest.
$ac_objext
18712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18713 (eval $ac_compile) 2>conftest.er1
18715 grep -v '^ *+' conftest.er1
>conftest.err
18717 cat conftest.err
>&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } &&
18720 { ac_try
='test -z "$ac_c_werror_flag"
18721 || test ! -s conftest.err'
18722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723 (eval $ac_try) 2>&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); }; } &&
18727 { ac_try
='test -s conftest.$ac_objext'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; }; then
18733 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.
$ac_ext >&5
18738 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
18741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18744 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
18746 cat >>confdefs.h
<<\_ACEOF
18747 #define HAVE_PR_SIGACTION64_T 1
18751 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
18752 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
18754 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
18755 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
18756 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
18757 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 cat >conftest.
$ac_ext <<_ACEOF
18762 cat confdefs.h
>>conftest.
$ac_ext
18763 cat >>conftest.
$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18767 #include <sys/procfs.h>
18771 pr_siginfo64_t avar
18776 rm -f conftest.
$ac_objext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18778 (eval $ac_compile) 2>conftest.er1
18780 grep -v '^ *+' conftest.er1
>conftest.err
18782 cat conftest.err
>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try
='test -z "$ac_c_werror_flag"
18786 || test ! -s conftest.err'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; } &&
18792 { ac_try
='test -s conftest.$ac_objext'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; }; then
18798 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.
$ac_ext >&5
18803 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
18806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18809 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
18811 cat >>confdefs.h
<<\_ACEOF
18812 #define HAVE_PR_SIGINFO64_T 1
18816 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
18817 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
18823 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
18824 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
18825 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
18826 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18829 if test "$cross_compiling" = yes; then
18830 gdb_cv_prfpregset_t_broken
=yes
18832 cat >conftest.
$ac_ext <<_ACEOF
18835 cat confdefs.h
>>conftest.
$ac_ext
18836 cat >>conftest.
$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18838 #include <sys/procfs.h>
18841 if (sizeof (prfpregset_t) == sizeof (void *))
18846 rm -f conftest
$ac_exeext
18847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18848 (eval $ac_link) 2>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; }; then
18857 gdb_cv_prfpregset_t_broken
=no
18859 echo "$as_me: program exited with status $ac_status" >&5
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.
$ac_ext >&5
18863 ( exit $ac_status )
18864 gdb_cv_prfpregset_t_broken
=yes
18866 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18870 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
18871 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
18872 if test $gdb_cv_prfpregset_t_broken = yes; then
18873 cat >>confdefs.h
<<\_ACEOF
18874 #define PRFPREGSET_T_BROKEN 1
18881 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
18882 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
18883 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
18884 echo $ECHO_N "(cached) $ECHO_C" >&6
18886 cat >conftest.
$ac_ext <<_ACEOF
18889 cat confdefs.h
>>conftest.
$ac_ext
18890 cat >>conftest.
$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18892 #include <unistd.h>
18893 #include <sys/types.h>
18894 #include <sys/procfs.h>
18901 dummy = ioctl(0, PIOCSET, &dummy);
18907 rm -f conftest.
$ac_objext
18908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18909 (eval $ac_compile) 2>conftest.er1
18911 grep -v '^ *+' conftest.er1
>conftest.err
18913 cat conftest.err
>&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); } &&
18916 { ac_try
='test -z "$ac_c_werror_flag"
18917 || test ! -s conftest.err'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; } &&
18923 { ac_try
='test -s conftest.$ac_objext'
18924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925 (eval $ac_try) 2>&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); }; }; then
18929 gdb_cv_have_procfs_piocset
=yes
18931 echo "$as_me: failed program was:" >&5
18932 sed 's/^/| /' conftest.
$ac_ext >&5
18934 gdb_cv_have_procfs_piocset
=no
18936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18939 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
18940 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
18941 if test $gdb_cv_have_procfs_piocset = yes; then
18942 cat >>confdefs.h
<<\_ACEOF
18943 #define HAVE_PROCFS_PIOCSET 1
18949 if test ${host} = ${target} ; then
18951 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
18952 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
18953 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
18954 echo $ECHO_N "(cached) $ECHO_C" >&6
18956 cat >conftest.
$ac_ext <<_ACEOF
18959 cat confdefs.h
>>conftest.
$ac_ext
18960 cat >>conftest.
$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18966 struct link_map lm; (void) lm.l_addr;
18971 rm -f conftest.
$ac_objext
18972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18973 (eval $ac_compile) 2>conftest.er1
18975 grep -v '^ *+' conftest.er1
>conftest.err
18977 cat conftest.err
>&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); } &&
18980 { ac_try
='test -z "$ac_c_werror_flag"
18981 || test ! -s conftest.err'
18982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18983 (eval $ac_try) 2>&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); }; } &&
18987 { ac_try
='test -s conftest.$ac_objext'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; }; then
18993 gdb_cv_have_struct_link_map_with_l_members
=yes
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.
$ac_ext >&5
18998 gdb_cv_have_struct_link_map_with_l_members
=no
19000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19003 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
19004 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
19005 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
19006 cat >>confdefs.h
<<\_ACEOF
19007 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
19013 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
19014 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
19015 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
19016 echo $ECHO_N "(cached) $ECHO_C" >&6
19018 cat >conftest.
$ac_ext <<_ACEOF
19021 cat confdefs.h
>>conftest.
$ac_ext
19022 cat >>conftest.
$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 #include <sys/types.h>
19029 struct link_map lm; (void) lm.lm_addr;
19034 rm -f conftest.
$ac_objext
19035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19036 (eval $ac_compile) 2>conftest.er1
19038 grep -v '^ *+' conftest.er1
>conftest.err
19040 cat conftest.err
>&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } &&
19043 { ac_try
='test -z "$ac_c_werror_flag"
19044 || test ! -s conftest.err'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; } &&
19050 { ac_try
='test -s conftest.$ac_objext'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; }; then
19056 gdb_cv_have_struct_link_map_with_lm_members
=yes
19058 echo "$as_me: failed program was:" >&5
19059 sed 's/^/| /' conftest.
$ac_ext >&5
19061 gdb_cv_have_struct_link_map_with_lm_members
=no
19063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19066 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
19067 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
19068 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
19069 cat >>confdefs.h
<<\_ACEOF
19070 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
19076 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
19077 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
19078 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
19079 echo $ECHO_N "(cached) $ECHO_C" >&6
19081 cat >conftest.
$ac_ext <<_ACEOF
19084 cat confdefs.h
>>conftest.
$ac_ext
19085 cat >>conftest.
$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19087 #include <sys/types.h>
19088 #ifdef HAVE_NLIST_H
19095 struct so_map lm; (void) lm.som_addr;
19100 rm -f conftest.
$ac_objext
19101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19102 (eval $ac_compile) 2>conftest.er1
19104 grep -v '^ *+' conftest.er1
>conftest.err
19106 cat conftest.err
>&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); } &&
19109 { ac_try
='test -z "$ac_c_werror_flag"
19110 || test ! -s conftest.err'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; } &&
19116 { ac_try
='test -s conftest.$ac_objext'
19117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118 (eval $ac_try) 2>&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); }; }; then
19122 gdb_cv_have_struct_so_map_with_som_members
=yes
19124 echo "$as_me: failed program was:" >&5
19125 sed 's/^/| /' conftest.
$ac_ext >&5
19127 gdb_cv_have_struct_so_map_with_som_members
=no
19129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19132 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
19133 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
19134 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
19135 cat >>confdefs.h
<<\_ACEOF
19136 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
19142 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
19143 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
19144 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
19145 echo $ECHO_N "(cached) $ECHO_C" >&6
19147 cat >conftest.
$ac_ext <<_ACEOF
19150 cat confdefs.h
>>conftest.
$ac_ext
19151 cat >>conftest.
$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19154 #include <sys/link.h>
19158 struct link_map32 l;
19163 rm -f conftest.
$ac_objext
19164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19165 (eval $ac_compile) 2>conftest.er1
19167 grep -v '^ *+' conftest.er1
>conftest.err
19169 cat conftest.err
>&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } &&
19172 { ac_try
='test -z "$ac_c_werror_flag"
19173 || test ! -s conftest.err'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; } &&
19179 { ac_try
='test -s conftest.$ac_objext'
19180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181 (eval $ac_try) 2>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); }; }; then
19185 gdb_cv_have_struct_link_map32
=yes
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.
$ac_ext >&5
19190 gdb_cv_have_struct_link_map32
=no
19192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19195 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
19196 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
19197 if test $gdb_cv_have_struct_link_map32 = yes; then
19198 cat >>confdefs.h
<<\_ACEOF
19199 #define HAVE_STRUCT_LINK_MAP32 1
19202 cat >>confdefs.h
<<\_ACEOF
19203 #define _SYSCALL32 1
19209 # Check if the compiler supports the `long long' type.
19211 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
19212 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
19213 if test "${gdb_cv_c_long_long+set}" = set; then
19214 echo $ECHO_N "(cached) $ECHO_C" >&6
19216 cat >conftest.
$ac_ext <<_ACEOF
19219 cat confdefs.h
>>conftest.
$ac_ext
19220 cat >>conftest.
$ac_ext <<_ACEOF
19221 /* end confdefs.h. */
19222 extern long long foo;
19226 switch (foo & 2) { case 0: return 1; }
19231 rm -f conftest.
$ac_objext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19233 (eval $ac_compile) 2>conftest.er1
19235 grep -v '^ *+' conftest.er1
>conftest.err
19237 cat conftest.err
>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } &&
19240 { ac_try
='test -z "$ac_c_werror_flag"
19241 || test ! -s conftest.err'
19242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243 (eval $ac_try) 2>&5
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; } &&
19247 { ac_try
='test -s conftest.$ac_objext'
19248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19249 (eval $ac_try) 2>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; }; then
19253 gdb_cv_c_long_long
=yes
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.
$ac_ext >&5
19258 gdb_cv_c_long_long
=no
19260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19262 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
19263 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
19264 if test $gdb_cv_c_long_long = yes; then
19266 cat >>confdefs.h
<<\_ACEOF
19267 #define CC_HAS_LONG_LONG 1
19272 # Check if the compiler and runtime support printing long longs.
19274 echo "$as_me:$LINENO: checking for long long support in printf" >&5
19275 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
19276 if test "${gdb_cv_printf_has_long_long+set}" = set; then
19277 echo $ECHO_N "(cached) $ECHO_C" >&6
19279 if test "$cross_compiling" = yes; then
19280 gdb_cv_printf_has_long_long
=no
19282 cat >conftest.
$ac_ext <<_ACEOF
19285 cat confdefs.h
>>conftest.
$ac_ext
19286 cat >>conftest.
$ac_ext <<_ACEOF
19287 /* end confdefs.h. */
19288 $ac_includes_default
19294 l = (l << 16) + 0x0123;
19295 l = (l << 16) + 0x4567;
19296 l = (l << 16) + 0x89ab;
19297 l = (l << 16) + 0xcdef;
19298 sprintf (buf, "0x%016llx", l);
19299 return (strcmp ("0x0123456789abcdef", buf));
19304 rm -f conftest
$ac_exeext
19305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19306 (eval $ac_link) 2>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; }; then
19315 gdb_cv_printf_has_long_long
=yes
19317 echo "$as_me: program exited with status $ac_status" >&5
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.
$ac_ext >&5
19321 ( exit $ac_status )
19322 gdb_cv_printf_has_long_long
=no
19324 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19327 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
19328 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
19329 if test $gdb_cv_printf_has_long_long = yes; then
19331 cat >>confdefs.h
<<\_ACEOF
19332 #define PRINTF_HAS_LONG_LONG 1
19337 # Check if the compiler supports the `long double' type. We can't use
19338 # AC_C_LONG_DOUBLE because that one does additional checks on the
19339 # constants defined in <float.h> that fail on some systems,
19340 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
19342 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
19343 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
19344 if test "${gdb_cv_c_long_double+set}" = set; then
19345 echo $ECHO_N "(cached) $ECHO_C" >&6
19347 cat >conftest.
$ac_ext <<_ACEOF
19350 cat confdefs.h
>>conftest.
$ac_ext
19351 cat >>conftest.
$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19355 rm -f conftest.
$ac_objext
19356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19357 (eval $ac_compile) 2>conftest.er1
19359 grep -v '^ *+' conftest.er1
>conftest.err
19361 cat conftest.err
>&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); } &&
19364 { ac_try
='test -z "$ac_c_werror_flag"
19365 || test ! -s conftest.err'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; } &&
19371 { ac_try
='test -s conftest.$ac_objext'
19372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19373 (eval $ac_try) 2>&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); }; }; then
19377 gdb_cv_c_long_double
=yes
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.
$ac_ext >&5
19382 gdb_cv_c_long_double
=no
19384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19386 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
19387 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
19388 if test $gdb_cv_c_long_double = yes; then
19390 cat >>confdefs.h
<<\_ACEOF
19391 #define HAVE_LONG_DOUBLE 1
19396 # Check if the compiler and runtime support printing long doubles.
19398 echo "$as_me:$LINENO: checking for long double support in printf" >&5
19399 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
19400 if test "${gdb_cv_printf_has_long_double+set}" = set; then
19401 echo $ECHO_N "(cached) $ECHO_C" >&6
19403 if test "$cross_compiling" = yes; then
19404 gdb_cv_printf_has_long_double
=no
19406 cat >conftest.
$ac_ext <<_ACEOF
19409 cat confdefs.h
>>conftest.
$ac_ext
19410 cat >>conftest.
$ac_ext <<_ACEOF
19411 /* end confdefs.h. */
19412 $ac_includes_default
19417 long double f = 3.141592653;
19418 sprintf (buf, "%Lg", f);
19419 return (strncmp ("3.14159", buf, 7));
19424 rm -f conftest
$ac_exeext
19425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19426 (eval $ac_link) 2>&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19431 (eval $ac_try) 2>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); }; }; then
19435 gdb_cv_printf_has_long_double
=yes
19437 echo "$as_me: program exited with status $ac_status" >&5
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.
$ac_ext >&5
19441 ( exit $ac_status )
19442 gdb_cv_printf_has_long_double
=no
19444 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19447 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
19448 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
19449 if test $gdb_cv_printf_has_long_double = yes; then
19451 cat >>confdefs.h
<<\_ACEOF
19452 #define PRINTF_HAS_LONG_DOUBLE 1
19457 # Check if the compiler and runtime support scanning long doubles.
19459 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
19460 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
19461 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
19462 echo $ECHO_N "(cached) $ECHO_C" >&6
19464 if test "$cross_compiling" = yes; then
19465 gdb_cv_scanf_has_long_double
=no
19467 cat >conftest.
$ac_ext <<_ACEOF
19470 cat confdefs.h
>>conftest.
$ac_ext
19471 cat >>conftest.
$ac_ext <<_ACEOF
19472 /* end confdefs.h. */
19477 char *buf = "3.141592653";
19479 sscanf (buf, "%Lg", &f);
19480 return !(f > 3.14159 && f < 3.14160);
19485 rm -f conftest
$ac_exeext
19486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19487 (eval $ac_link) 2>&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; }; then
19496 gdb_cv_scanf_has_long_double
=yes
19498 echo "$as_me: program exited with status $ac_status" >&5
19499 echo "$as_me: failed program was:" >&5
19500 sed 's/^/| /' conftest.
$ac_ext >&5
19502 ( exit $ac_status )
19503 gdb_cv_scanf_has_long_double
=no
19505 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19508 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
19509 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
19510 if test $gdb_cv_scanf_has_long_double = yes; then
19512 cat >>confdefs.h
<<\_ACEOF
19513 #define SCANF_HAS_LONG_DOUBLE 1
19520 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
19521 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
19522 if test "${gdb_cv_bigtoc+set}" = set; then
19523 echo $ECHO_N "(cached) $ECHO_C" >&6
19526 SAVE_LDFLAGS
=$LDFLAGS
19529 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
19530 *) gdb_cv_bigtoc
=-bbigtoc ;;
19533 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
19534 cat >conftest.
$ac_ext <<_ACEOF
19537 cat confdefs.h
>>conftest.
$ac_ext
19538 cat >>conftest.
$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19549 rm -f conftest.
$ac_objext conftest
$ac_exeext
19550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19551 (eval $ac_link) 2>conftest.er1
19553 grep -v '^ *+' conftest.er1
>conftest.err
19555 cat conftest.err
>&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); } &&
19558 { ac_try
='test -z "$ac_c_werror_flag"
19559 || test ! -s conftest.err'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; } &&
19565 { ac_try
='test -s conftest$ac_exeext'
19566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567 (eval $ac_try) 2>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); }; }; then
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.
$ac_ext >&5
19578 rm -f conftest.err conftest.
$ac_objext \
19579 conftest
$ac_exeext conftest.
$ac_ext
19580 LDFLAGS
="${SAVE_LDFLAGS}"
19583 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
19584 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
19585 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
19591 if test ${build} = ${host} -a ${host} = ${target} ; then
19594 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
19595 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
19596 if test -f /usr
/include
/dce
/cma_config.h
; then
19597 if test "$GCC" = "yes" ; then
19598 echo "$as_me:$LINENO: result: yes" >&5
19599 echo "${ECHO_T}yes" >&6
19600 cat >>confdefs.h
<<\_ACEOF
19601 #define HAVE_HPUX_THREAD_SUPPORT 1
19604 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
19605 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
19607 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
19608 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
19611 echo "$as_me:$LINENO: result: no" >&5
19612 echo "${ECHO_T}no" >&6
19616 # See if thread_db library is around for Solaris thread debugging.
19617 # Note that we must explicitly test for version 1 of the library
19618 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
19620 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
19621 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
19622 if test -f /usr
/lib
/libthread_db.so
.1 ; then
19623 echo "$as_me:$LINENO: result: yes" >&5
19624 echo "${ECHO_T}yes" >&6
19625 cat >>confdefs.h
<<\_ACEOF
19626 #define HAVE_THREAD_DB_LIB 1
19629 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
19630 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
19632 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19633 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19634 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19635 echo $ECHO_N "(cached) $ECHO_C" >&6
19637 ac_check_lib_save_LIBS
=$LIBS
19639 cat >conftest.
$ac_ext <<_ACEOF
19642 cat confdefs.h
>>conftest.
$ac_ext
19643 cat >>conftest.
$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19646 /* Override any gcc2 internal prototype to avoid an error. */
19650 /* We use char because int might match the return type of a gcc2
19651 builtin and then its argument prototype would still apply. */
19661 rm -f conftest.
$ac_objext conftest
$ac_exeext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19663 (eval $ac_link) 2>conftest.er1
19665 grep -v '^ *+' conftest.er1
>conftest.err
19667 cat conftest.err
>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } &&
19670 { ac_try
='test -z "$ac_c_werror_flag"
19671 || test ! -s conftest.err'
19672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673 (eval $ac_try) 2>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; } &&
19677 { ac_try
='test -s conftest$ac_exeext'
19678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19679 (eval $ac_try) 2>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); }; }; then
19683 ac_cv_lib_dl_dlopen
=yes
19685 echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.
$ac_ext >&5
19688 ac_cv_lib_dl_dlopen
=no
19690 rm -f conftest.err conftest.
$ac_objext \
19691 conftest
$ac_exeext conftest.
$ac_ext
19692 LIBS
=$ac_check_lib_save_LIBS
19694 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19695 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19696 if test $ac_cv_lib_dl_dlopen = yes; then
19697 cat >>confdefs.h
<<_ACEOF
19698 #define HAVE_LIBDL 1
19705 if test "$GCC" = "yes" ; then
19706 # The GNU linker requires the -export-dynamic option to make
19707 # all symbols visible in the dynamic symbol table.
19708 hold_ldflags
=$LDFLAGS
19709 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
19710 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
19711 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
19712 cat >conftest.
$ac_ext <<_ACEOF
19715 cat confdefs.h
>>conftest.
$ac_ext
19716 cat >>conftest.
$ac_ext <<_ACEOF
19717 /* end confdefs.h. */
19727 rm -f conftest.
$ac_objext conftest
$ac_exeext
19728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19729 (eval $ac_link) 2>conftest.er1
19731 grep -v '^ *+' conftest.er1
>conftest.err
19733 cat conftest.err
>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); } &&
19736 { ac_try
='test -z "$ac_c_werror_flag"
19737 || test ! -s conftest.err'
19738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19739 (eval $ac_try) 2>&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); }; } &&
19743 { ac_try
='test -s conftest$ac_exeext'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; }; then
19751 echo "$as_me: failed program was:" >&5
19752 sed 's/^/| /' conftest.
$ac_ext >&5
19756 rm -f conftest.err conftest.
$ac_objext \
19757 conftest
$ac_exeext conftest.
$ac_ext
19758 LDFLAGS
=$hold_ldflags
19759 echo "$as_me:$LINENO: result: $found" >&5
19760 echo "${ECHO_T}$found" >&6
19761 if test $found = yes; then
19762 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
19765 # Sun randomly tweaked the prototypes in <proc_service.h>
19767 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
19768 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
19769 if test "${gdb_cv_proc_service_is_old+set}" = set; then
19770 echo $ECHO_N "(cached) $ECHO_C" >&6
19773 cat >conftest.
$ac_ext <<_ACEOF
19776 cat confdefs.h
>>conftest.
$ac_ext
19777 cat >>conftest.
$ac_ext <<_ACEOF
19778 /* end confdefs.h. */
19780 #include <proc_service.h>
19781 ps_err_e ps_pdwrite
19782 (struct ps_prochandle*, psaddr_t, const void*, size_t);
19792 rm -f conftest.
$ac_objext
19793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19794 (eval $ac_compile) 2>conftest.er1
19796 grep -v '^ *+' conftest.er1
>conftest.err
19798 cat conftest.err
>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } &&
19801 { ac_try
='test -z "$ac_c_werror_flag"
19802 || test ! -s conftest.err'
19803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19804 (eval $ac_try) 2>&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); }; } &&
19808 { ac_try
='test -s conftest.$ac_objext'
19809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810 (eval $ac_try) 2>&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); }; }; then
19814 gdb_cv_proc_service_is_old
=no
19816 echo "$as_me: failed program was:" >&5
19817 sed 's/^/| /' conftest.
$ac_ext >&5
19819 gdb_cv_proc_service_is_old
=yes
19821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19825 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
19826 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
19827 if test $gdb_cv_proc_service_is_old = yes; then
19828 cat >>confdefs.h
<<\_ACEOF
19829 #define PROC_SERVICE_IS_OLD 1
19834 echo "$as_me:$LINENO: result: no" >&5
19835 echo "${ECHO_T}no" >&6
19839 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
19840 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
19841 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
19842 echo $ECHO_N "(cached) $ECHO_C" >&6
19844 cat >conftest.
$ac_ext <<_ACEOF
19847 cat confdefs.h
>>conftest.
$ac_ext
19848 cat >>conftest.
$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19850 #include <sys/pthdebug.h>
19854 #ifndef PTHDB_VERSION_3
19861 rm -f conftest.
$ac_objext
19862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19863 (eval $ac_compile) 2>conftest.er1
19865 grep -v '^ *+' conftest.er1
>conftest.err
19867 cat conftest.err
>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } &&
19870 { ac_try
='test -z "$ac_c_werror_flag"
19871 || test ! -s conftest.err'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; } &&
19877 { ac_try
='test -s conftest.$ac_objext'
19878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19879 (eval $ac_try) 2>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); }; }; then
19883 gdb_cv_have_aix_thread_debug
=yes
19885 echo "$as_me: failed program was:" >&5
19886 sed 's/^/| /' conftest.
$ac_ext >&5
19888 gdb_cv_have_aix_thread_debug
=no
19890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19893 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
19894 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
19895 if test $gdb_cv_have_aix_thread_debug = yes; then
19896 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
19897 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
19898 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
19905 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
19906 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
19907 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
19908 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
19909 echo $ECHO_N "(cached) $ECHO_C" >&6
19911 cat >conftest.
$ac_ext <<_ACEOF
19914 cat confdefs.h
>>conftest.
$ac_ext
19915 cat >>conftest.
$ac_ext <<_ACEOF
19916 /* end confdefs.h. */
19917 #include <thread_db.h>
19921 int i = TD_NOTALLOC;
19926 rm -f conftest.
$ac_objext
19927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19928 (eval $ac_compile) 2>conftest.er1
19930 grep -v '^ *+' conftest.er1
>conftest.err
19932 cat conftest.err
>&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); } &&
19935 { ac_try
='test -z "$ac_c_werror_flag"
19936 || test ! -s conftest.err'
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19938 (eval $ac_try) 2>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; } &&
19942 { ac_try
='test -s conftest.$ac_objext'
19943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19944 (eval $ac_try) 2>&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); }; }; then
19948 gdb_cv_thread_db_h_has_td_notalloc
=yes
19950 echo "$as_me: failed program was:" >&5
19951 sed 's/^/| /' conftest.
$ac_ext >&5
19953 gdb_cv_thread_db_h_has_td_notalloc
=no
19956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19959 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
19960 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
19962 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
19964 cat >>confdefs.h
<<\_ACEOF
19965 #define THREAD_DB_HAS_TD_NOTALLOC 1
19970 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
19971 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
19972 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
19973 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
19974 echo $ECHO_N "(cached) $ECHO_C" >&6
19976 cat >conftest.
$ac_ext <<_ACEOF
19979 cat confdefs.h
>>conftest.
$ac_ext
19980 cat >>conftest.
$ac_ext <<_ACEOF
19981 /* end confdefs.h. */
19982 #include <sys/syscall.h>
19986 int i = __NR_tkill;
19991 rm -f conftest.
$ac_objext
19992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19993 (eval $ac_compile) 2>conftest.er1
19995 grep -v '^ *+' conftest.er1
>conftest.err
19997 cat conftest.err
>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); } &&
20000 { ac_try
='test -z "$ac_c_werror_flag"
20001 || test ! -s conftest.err'
20002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003 (eval $ac_try) 2>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; } &&
20007 { ac_try
='test -s conftest.$ac_objext'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; }; then
20013 gdb_cv_sys_syscall_h_has_tkill
=yes
20015 echo "$as_me: failed program was:" >&5
20016 sed 's/^/| /' conftest.
$ac_ext >&5
20018 gdb_cv_sys_syscall_h_has_tkill
=no
20021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20024 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
20025 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
20027 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
20029 cat >>confdefs.h
<<\_ACEOF
20030 #define HAVE_TKILL_SYSCALL 1
20037 # Check whether --with-sysroot or --without-sysroot was given.
20038 if test "${with_sysroot+set}" = set; then
20039 withval
="$with_sysroot"
20041 case ${with_sysroot} in
20042 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
20043 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
20046 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
20048 if test "x$exec_prefix" = xNONE
; then
20049 if test "x$prefix" = xNONE
; then
20050 test_prefix
=/usr
/local
20052 test_prefix
=$prefix
20055 test_prefix
=$exec_prefix
20057 case ${TARGET_SYSTEM_ROOT} in
20058 "${test_prefix}"|
"${test_prefix}/"*|\
20059 '${exec_prefix}'|
'${exec_prefix}/'*)
20060 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
20061 TARGET_SYSTEM_ROOT_DEFINE
="$t"
20067 TARGET_SYSTEM_ROOT
=
20068 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
20074 # NOTE: Don't add -Wall or -Wunused, they both include
20075 # -Wunused-parameter which reports bogus warnings.
20076 # NOTE: If you add to this list, remember to update
20077 # gdb/doc/gdbint.texinfo.
20078 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
20079 -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral \
20080 -Wunused-label -Wunused-function"
20082 # GCC supports -Wuninitialized only with -O or -On, n != 0.
20083 if test x
${CFLAGS+set} = xset
; then
20084 case "${CFLAGS}" in
20087 build_warnings
="${build_warnings} -Wuninitialized"
20091 build_warnings
="${build_warnings} -Wuninitialized"
20094 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
20095 # -Wunused-function -Wunused-variable -Wunused-value
20096 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
20097 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
20098 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
20099 # -Woverloaded-virtual -Winline -Werror"
20100 # Check whether --enable-build-warnings or --disable-build-warnings was given.
20101 if test "${enable_build_warnings+set}" = set; then
20102 enableval
="$enable_build_warnings"
20103 case "${enableval}" in
20105 no
) build_warnings
="-w";;
20106 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20107 build_warnings
="${build_warnings} ${t}";;
20108 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20109 build_warnings
="${t} ${build_warnings}";;
20110 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
20112 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
20113 echo "Setting compiler warning flags = $build_warnings" 6>&1
20115 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
20116 if test "${enable_gdb_build_warnings+set}" = set; then
20117 enableval
="$enable_gdb_build_warnings"
20118 case "${enableval}" in
20120 no
) build_warnings
="-w";;
20121 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20122 build_warnings
="${build_warnings} ${t}";;
20123 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20124 build_warnings
="${t} ${build_warnings}";;
20125 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
20127 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
20128 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
20132 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
20134 echo "$as_me:$LINENO: checking compiler warning flags" >&5
20135 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
20136 # Separate out the -Werror flag as some files just cannot be
20137 # compiled with it enabled.
20138 for w
in ${build_warnings}; do
20140 -Werr*) WERROR_CFLAGS
=-Werror ;;
20141 *) # Check that GCC accepts it
20142 saved_CFLAGS
="$CFLAGS"
20143 CFLAGS
="$CFLAGS $w"
20144 cat >conftest.
$ac_ext <<_ACEOF
20147 cat confdefs.h
>>conftest.
$ac_ext
20148 cat >>conftest.
$ac_ext <<_ACEOF
20149 /* end confdefs.h. */
20159 rm -f conftest.
$ac_objext
20160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20161 (eval $ac_compile) 2>conftest.er1
20163 grep -v '^ *+' conftest.er1
>conftest.err
20165 cat conftest.err
>&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } &&
20168 { ac_try
='test -z "$ac_c_werror_flag"
20169 || test ! -s conftest.err'
20170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20171 (eval $ac_try) 2>&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); }; } &&
20175 { ac_try
='test -s conftest.$ac_objext'
20176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177 (eval $ac_try) 2>&5
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); }; }; then
20181 WARN_CFLAGS
="${WARN_CFLAGS} $w"
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.
$ac_ext >&5
20187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20188 CFLAGS
="$saved_CFLAGS"
20191 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
20192 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
20197 # In the Cygwin environment, we need some additional flags.
20198 echo "$as_me:$LINENO: checking for cygwin" >&5
20199 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
20200 if test "${gdb_cv_os_cygwin+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20203 cat >conftest.
$ac_ext <<_ACEOF
20206 cat confdefs.h
>>conftest.
$ac_ext
20207 cat >>conftest.
$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20210 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
20214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20215 $EGREP "lose" >/dev
/null
2>&1; then
20216 gdb_cv_os_cygwin
=yes
20218 gdb_cv_os_cygwin
=no
20223 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
20224 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
20227 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
20229 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
20230 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
20231 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o" ;;
20235 # libreadline needs libuser32.a in a cygwin environment
20237 if test x
$gdb_cv_os_cygwin = xyes
; then
20238 WIN32LIBS
="-luser32"
20239 case "${target}" in
20240 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
20245 # The ser-tcp.c module requires sockets.
20249 cat >>confdefs.h
<<\_ACEOF
20250 #define USE_WIN32API 1
20253 WIN32LIBS
="$WIN32LIBS -lws2_32"
20258 LIBGUI
="../libgui/src/libgui.a"
20259 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
20277 if test "${enable_gdbtk}" = "yes"; then
20279 # Gdbtk must have an absolute path to srcdir in order to run
20280 # properly when not installed.
20283 GDBTK_SRC_DIR
=`pwd`
20288 # Ok, lets find the tcl configuration
20289 # First, look for one uninstalled.
20290 # the alternative search directory is invoked by --with-tclconfig
20293 if test x
"${no_tcl}" = x
; then
20294 # we reset no_tcl in case something fails here
20297 # Check whether --with-tclconfig or --without-tclconfig was given.
20298 if test "${with_tclconfig+set}" = set; then
20299 withval
="$with_tclconfig"
20300 with_tclconfig
=${withval}
20302 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
20303 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
20304 if test "${ac_cv_c_tclconfig+set}" = set; then
20305 echo $ECHO_N "(cached) $ECHO_C" >&6
20309 # First check to see if --with-tclconfig was specified.
20310 if test x
"${with_tclconfig}" != x
; then
20311 if test -f "${with_tclconfig}/tclConfig.sh" ; then
20312 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
20314 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
20315 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
20316 { (exit 1); exit 1; }; }
20320 # then check for a private Tcl installation
20321 if test x
"${ac_cv_c_tclconfig}" = x
; then
20324 `ls -dr ../tcl[7-9]* 2>/dev/null` \
20326 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
20328 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
20329 if test -f "$i/${configdir}/tclConfig.sh" ; then
20330 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
20335 # check in a few common install locations
20336 if test x
"${ac_cv_c_tclconfig}" = x
; then
20337 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
20338 if test -f "$i/tclConfig.sh" ; then
20339 ac_cv_c_tclconfig
=`(cd $i; pwd)`
20344 # check in a few other private locations
20345 if test x
"${ac_cv_c_tclconfig}" = x
; then
20348 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
20349 if test -f "$i/${configdir}/tclConfig.sh" ; then
20350 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
20358 if test x
"${ac_cv_c_tclconfig}" = x
; then
20359 TCLCONFIG
="# no Tcl configs found"
20360 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
20361 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
20364 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
20365 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
20366 echo "${ECHO_T}found $TCLCONFIG" >&6
20370 if test -z "${no_tcl}"; then
20401 # Ok, lets find the tk configuration
20402 # First, look for one uninstalled.
20403 # the alternative search directory is invoked by --with-tkconfig
20406 if test x
"${no_tk}" = x
; then
20407 # we reset no_tk in case something fails here
20410 # Check whether --with-tkconfig or --without-tkconfig was given.
20411 if test "${with_tkconfig+set}" = set; then
20412 withval
="$with_tkconfig"
20413 with_tkconfig
=${withval}
20415 echo "$as_me:$LINENO: checking for Tk configuration" >&5
20416 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
20417 if test "${ac_cv_c_tkconfig+set}" = set; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20422 # First check to see if --with-tkconfig was specified.
20423 if test x
"${with_tkconfig}" != x
; then
20424 if test -f "${with_tkconfig}/tkConfig.sh" ; then
20425 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
20427 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
20428 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
20429 { (exit 1); exit 1; }; }
20433 # then check for a private Tk library
20434 if test x
"${ac_cv_c_tkconfig}" = x
; then
20437 `ls -dr ../tk[4-9]* 2>/dev/null` \
20439 `ls -dr ../../tk[4-9]* 2>/dev/null` \
20441 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
20442 if test -f "$i/${configdir}/tkConfig.sh" ; then
20443 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
20448 # check in a few common install locations
20449 if test x
"${ac_cv_c_tkconfig}" = x
; then
20450 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
20451 if test -f "$i/tkConfig.sh" ; then
20452 ac_cv_c_tkconfig
=`(cd $i; pwd)`
20457 # check in a few other private locations
20458 if test x
"${ac_cv_c_tkconfig}" = x
; then
20461 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
20462 if test -f "$i/${configdir}/tkConfig.sh" ; then
20463 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
20471 if test x
"${ac_cv_c_tkconfig}" = x
; then
20472 TKCONFIG
="# no Tk configs found"
20473 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
20474 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
20477 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
20478 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
20479 echo "${ECHO_T}found $TKCONFIG" >&6
20485 # now look for Tcl library stuff
20487 tcldir
="../tcl/${configdir}/"
20489 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
20491 # If $no_tk is nonempty, then we can't do Tk, and there is no
20492 # point to doing Tcl.
20493 if test -z "${no_tk}"; then
20495 if test -f "$TKCONFIG" ; then
20513 # Ok, lets find the tcl source trees so we can use the headers
20514 # Warning: transition of version 9 to 10 will break this algorithm
20515 # because 10 sorts before 9. We also look for just tcl. We have to
20516 # be careful that we don't match stuff like tclX by accident.
20517 # the alternative search directory is involked by --with-tclinclude
20521 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
20522 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
20524 # Check whether --with-tclinclude or --without-tclinclude was given.
20525 if test "${with_tclinclude+set}" = set; then
20526 withval
="$with_tclinclude"
20527 with_tclinclude
=${withval}
20529 if test "${ac_cv_c_tclh+set}" = set; then
20530 echo $ECHO_N "(cached) $ECHO_C" >&6
20533 # first check to see if --with-tclinclude was specified
20534 if test x
"${with_tclinclude}" != x
; then
20535 if test -f ${with_tclinclude}/tclInt.h
; then
20536 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
20537 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
20538 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
20540 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
20541 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
20542 { (exit 1); exit 1; }; }
20546 # next check if it came with Tcl configuration file
20547 if test x
"${ac_cv_c_tclconfig}" = x
; then
20548 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
20549 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
20553 # next check in private source directory
20555 # since ls returns lowest version numbers first, reverse its output
20556 if test x
"${ac_cv_c_tclh}" = x
; then
20559 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
20560 ${srcdir}/..
/..
/tcl \
20561 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
20562 ${srcdir}/..
/..
/..
/tcl \
20563 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
20564 if test -f $i/generic
/tclInt.h
; then
20565 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
20570 # finally check in a few common install locations
20572 # since ls returns lowest version numbers first, reverse its output
20573 if test x
"${ac_cv_c_tclh}" = x
; then
20575 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
20576 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
20577 /usr
/local
/src
/tcl \
20578 /usr
/local
/lib
/tcl \
20579 ${prefix}/include
; do
20580 if test -f $i/generic
/tclInt.h
; then
20581 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
20586 # see if one is installed
20587 if test x
"${ac_cv_c_tclh}" = x
; then
20588 if test "${ac_cv_header_tclInt_h+set}" = set; then
20589 echo "$as_me:$LINENO: checking for tclInt.h" >&5
20590 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
20591 if test "${ac_cv_header_tclInt_h+set}" = set; then
20592 echo $ECHO_N "(cached) $ECHO_C" >&6
20594 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
20595 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
20597 # Is the header compilable?
20598 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
20599 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
20600 cat >conftest.
$ac_ext <<_ACEOF
20603 cat confdefs.h
>>conftest.
$ac_ext
20604 cat >>conftest.
$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 $ac_includes_default
20607 #include <tclInt.h>
20609 rm -f conftest.
$ac_objext
20610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20611 (eval $ac_compile) 2>conftest.er1
20613 grep -v '^ *+' conftest.er1
>conftest.err
20615 cat conftest.err
>&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); } &&
20618 { ac_try
='test -z "$ac_c_werror_flag"
20619 || test ! -s conftest.err'
20620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20621 (eval $ac_try) 2>&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); }; } &&
20625 { ac_try
='test -s conftest.$ac_objext'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20627 (eval $ac_try) 2>&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; }; then
20631 ac_header_compiler
=yes
20633 echo "$as_me: failed program was:" >&5
20634 sed 's/^/| /' conftest.
$ac_ext >&5
20636 ac_header_compiler
=no
20638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20640 echo "${ECHO_T}$ac_header_compiler" >&6
20642 # Is the header present?
20643 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
20644 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
20645 cat >conftest.
$ac_ext <<_ACEOF
20648 cat confdefs.h
>>conftest.
$ac_ext
20649 cat >>conftest.
$ac_ext <<_ACEOF
20650 /* end confdefs.h. */
20651 #include <tclInt.h>
20653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20656 grep -v '^ *+' conftest.er1
>conftest.err
20658 cat conftest.err
>&5
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); } >/dev
/null
; then
20661 if test -s conftest.err
; then
20662 ac_cpp_err
=$ac_c_preproc_warn_flag
20663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20670 if test -z "$ac_cpp_err"; then
20671 ac_header_preproc
=yes
20673 echo "$as_me: failed program was:" >&5
20674 sed 's/^/| /' conftest.
$ac_ext >&5
20676 ac_header_preproc
=no
20678 rm -f conftest.err conftest.
$ac_ext
20679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20680 echo "${ECHO_T}$ac_header_preproc" >&6
20682 # So? What about this header?
20683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20685 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
20686 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20687 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
20688 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
20689 ac_header_preproc
=yes
20692 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
20693 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
20694 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
20695 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
20696 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
20697 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
20698 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
20699 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
20700 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
20701 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
20702 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
20703 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
20706 ## ------------------------------------------ ##
20707 ## Report this to the AC_PACKAGE_NAME lists. ##
20708 ## ------------------------------------------ ##
20711 sed "s/^/$as_me: WARNING: /" >&2
20714 echo "$as_me:$LINENO: checking for tclInt.h" >&5
20715 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
20716 if test "${ac_cv_header_tclInt_h+set}" = set; then
20717 echo $ECHO_N "(cached) $ECHO_C" >&6
20719 ac_cv_header_tclInt_h
=$ac_header_preproc
20721 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
20722 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
20725 if test $ac_cv_header_tclInt_h = yes; then
20726 ac_cv_c_tclh
=installed
20736 if test x
"${ac_cv_c_tclh}" = x
; then
20737 TCLHDIR
="# no Tcl private headers found"
20738 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
20739 echo "$as_me: error: Can't find Tcl private headers" >&2;}
20740 { (exit 1); exit 1; }; }
20742 if test x
"${ac_cv_c_tclh}" != x
; then
20744 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
20745 echo "$as_me:$LINENO: result: is installed" >&5
20746 echo "${ECHO_T}is installed" >&6
20749 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
20750 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
20751 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
20752 TCLHDIR
="-I${ac_cv_c_tclh}"
20760 # Ok, lets find the tk source trees so we can use the headers
20761 # If the directory (presumably symlink) named "tk" exists, use that one
20762 # in preference to any others. Same logic is used when choosing library
20763 # and again with Tcl. The search order is the best place to look first, then in
20764 # decreasing significance. The loop breaks if the trigger file is found.
20765 # Note the gross little conversion here of srcdir by cd'ing to the found
20766 # directory. This converts the path from a relative to an absolute, so
20767 # recursive cache variables for the path will work right. We check all
20768 # the possible paths in one loop rather than many seperate loops to speed
20770 # the alternative search directory is involked by --with-tkinclude
20773 echo "$as_me:$LINENO: checking for Tk private headers" >&5
20774 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
20776 # Check whether --with-tkinclude or --without-tkinclude was given.
20777 if test "${with_tkinclude+set}" = set; then
20778 withval
="$with_tkinclude"
20779 with_tkinclude
=${withval}
20781 if test "${ac_cv_c_tkh+set}" = set; then
20782 echo $ECHO_N "(cached) $ECHO_C" >&6
20785 # first check to see if --with-tkinclude was specified
20786 if test x
"${with_tkinclude}" != x
; then
20787 if test -f ${with_tkinclude}/tk.h
; then
20788 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
20789 elif test -f ${with_tkinclude}/generic
/tk.h
; then
20790 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
20792 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
20793 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
20794 { (exit 1); exit 1; }; }
20798 # next check if it came with Tk configuration file
20799 if test x
"${ac_cv_c_tkconfig}" = x
; then
20800 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
20801 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
20805 # next check in private source directory
20807 # since ls returns lowest version numbers first, reverse its output
20808 if test x
"${ac_cv_c_tkh}" = x
; then
20811 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
20812 ${srcdir}/..
/..
/tk \
20813 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
20814 ${srcdir}/..
/..
/..
/tk \
20815 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
20816 if test -f $i/generic
/tk.h
; then
20817 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
20822 # finally check in a few common install locations
20824 # since ls returns lowest version numbers first, reverse its output
20825 if test x
"${ac_cv_c_tkh}" = x
; then
20827 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
20828 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
20829 /usr
/local
/src
/tk \
20830 /usr
/local
/lib
/tk \
20831 ${prefix}/include
; do
20832 if test -f $i/generic
/tk.h
; then
20833 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
20838 # see if one is installed
20839 if test x
"${ac_cv_c_tkh}" = x
; then
20840 if test "${ac_cv_header_tk_h+set}" = set; then
20841 echo "$as_me:$LINENO: checking for tk.h" >&5
20842 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
20843 if test "${ac_cv_header_tk_h+set}" = set; then
20844 echo $ECHO_N "(cached) $ECHO_C" >&6
20846 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
20847 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
20849 # Is the header compilable?
20850 echo "$as_me:$LINENO: checking tk.h usability" >&5
20851 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
20852 cat >conftest.
$ac_ext <<_ACEOF
20855 cat confdefs.h
>>conftest.
$ac_ext
20856 cat >>conftest.
$ac_ext <<_ACEOF
20857 /* end confdefs.h. */
20858 $ac_includes_default
20861 rm -f conftest.
$ac_objext
20862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20863 (eval $ac_compile) 2>conftest.er1
20865 grep -v '^ *+' conftest.er1
>conftest.err
20867 cat conftest.err
>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); } &&
20870 { ac_try
='test -z "$ac_c_werror_flag"
20871 || test ! -s conftest.err'
20872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873 (eval $ac_try) 2>&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); }; } &&
20877 { ac_try
='test -s conftest.$ac_objext'
20878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20879 (eval $ac_try) 2>&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); }; }; then
20883 ac_header_compiler
=yes
20885 echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.
$ac_ext >&5
20888 ac_header_compiler
=no
20890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20892 echo "${ECHO_T}$ac_header_compiler" >&6
20894 # Is the header present?
20895 echo "$as_me:$LINENO: checking tk.h presence" >&5
20896 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
20897 cat >conftest.
$ac_ext <<_ACEOF
20900 cat confdefs.h
>>conftest.
$ac_ext
20901 cat >>conftest.
$ac_ext <<_ACEOF
20902 /* end confdefs.h. */
20905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20906 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20908 grep -v '^ *+' conftest.er1
>conftest.err
20910 cat conftest.err
>&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); } >/dev
/null
; then
20913 if test -s conftest.err
; then
20914 ac_cpp_err
=$ac_c_preproc_warn_flag
20915 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20922 if test -z "$ac_cpp_err"; then
20923 ac_header_preproc
=yes
20925 echo "$as_me: failed program was:" >&5
20926 sed 's/^/| /' conftest.
$ac_ext >&5
20928 ac_header_preproc
=no
20930 rm -f conftest.err conftest.
$ac_ext
20931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20932 echo "${ECHO_T}$ac_header_preproc" >&6
20934 # So? What about this header?
20935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20937 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
20938 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20939 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
20940 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
20941 ac_header_preproc
=yes
20944 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
20945 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
20946 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
20947 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
20948 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
20949 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
20950 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
20951 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
20952 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
20953 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
20954 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
20955 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
20958 ## ------------------------------------------ ##
20959 ## Report this to the AC_PACKAGE_NAME lists. ##
20960 ## ------------------------------------------ ##
20963 sed "s/^/$as_me: WARNING: /" >&2
20966 echo "$as_me:$LINENO: checking for tk.h" >&5
20967 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
20968 if test "${ac_cv_header_tk_h+set}" = set; then
20969 echo $ECHO_N "(cached) $ECHO_C" >&6
20971 ac_cv_header_tk_h
=$ac_header_preproc
20973 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
20974 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
20977 if test $ac_cv_header_tk_h = yes; then
20978 ac_cv_c_tkh
=installed
20988 if test x
"${ac_cv_c_tkh}" != x
; then
20990 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
20991 echo "$as_me:$LINENO: result: is installed" >&5
20992 echo "${ECHO_T}is installed" >&6
20995 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
20996 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
20997 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
20998 TKHDIR
="-I${ac_cv_c_tkh}"
21001 TKHDIR
="# no Tk directory found"
21002 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
21003 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
21010 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
21011 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
21012 if test x
"${ac_cv_c_itclh}" = x
; then
21013 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
21014 if test -f $i/generic
/itcl.h
; then
21015 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
21020 if test x
"${ac_cv_c_itclh}" = x
; then
21021 ITCLHDIR
="# no Itcl private headers found"
21022 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
21023 echo "$as_me: error: Can't find Itcl private headers" >&2;}
21024 { (exit 1); exit 1; }; }
21026 if test x
"${ac_cv_c_itclh}" != x
; then
21027 ITCLHDIR
="-I${ac_cv_c_itclh}"
21029 # should always be here
21030 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
21035 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
21036 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
21037 if test x
"${ac_cv_c_itkh}" = x
; then
21038 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
21039 if test -f $i/generic
/itk.h
; then
21040 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
21045 if test x
"${ac_cv_c_itkh}" = x
; then
21046 ITKHDIR
="# no Itk private headers found"
21047 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
21048 echo "$as_me: error: Can't find Itk private headers" >&2;}
21049 { (exit 1); exit 1; }; }
21051 if test x
"${ac_cv_c_itkh}" != x
; then
21052 ITKHDIR
="-I${ac_cv_c_itkh}"
21054 # should always be here
21055 # ITKLIB="../itcl/itk/unix/libitk.a"
21061 # now look for Tk library stuff
21063 tkdir
="../tk/${configdir}/"
21065 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
21067 # now look for Itcl library stuff
21071 # Ok, lets find the itcl configuration
21072 # First, look for one uninstalled.
21073 # the alternative search directory is invoked by --with-itclconfig
21076 if test x
"${no_itcl}" = x
; then
21077 # we reset no_itcl in case something fails here
21080 # Check whether --with-itclconfig or --without-itclconfig was given.
21081 if test "${with_itclconfig+set}" = set; then
21082 withval
="$with_itclconfig"
21083 with_itclconfig
=${withval}
21085 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
21086 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
21087 if test "${ac_cv_c_itclconfig+set}" = set; then
21088 echo $ECHO_N "(cached) $ECHO_C" >&6
21092 # First check to see if --with-itclconfig was specified.
21093 if test x
"${with_itclconfig}" != x
; then
21094 if test -f "${with_itclconfig}/itclConfig.sh" ; then
21095 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
21097 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
21098 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
21099 { (exit 1); exit 1; }; }
21103 # then check for a private Itcl library
21104 if test x
"${ac_cv_c_itclconfig}" = x
; then
21107 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
21109 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
21111 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
21112 if test -f "$i/itclConfig.sh" ; then
21113 ac_cv_c_itclconfig
=`(cd $i; pwd)`
21118 # check in a few common install locations
21119 if test x
"${ac_cv_c_itclconfig}" = x
; then
21120 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
21121 if test -f "$i/itclConfig.sh" ; then
21122 ac_cv_c_itclconfig
=`(cd $i; pwd)`
21127 # check in a few other private locations
21128 if test x
"${ac_cv_c_itclconfig}" = x
; then
21130 ${srcdir}/..
/itcl
/itcl \
21131 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
21132 if test -f "$i/itclConfig.sh" ; then
21133 ac_cv_c_itclconfig
=`(cd $i; pwd)`
21141 if test x
"${ac_cv_c_itclconfig}" = x
; then
21142 ITCLCONFIG
="# no Itcl configs found"
21143 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
21144 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
21147 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
21148 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
21149 echo "${ECHO_T}found $ITCLCONFIG" >&6
21153 if test -z "${no_itcl}"; then
21155 if test -f "$ITCLCONFIG" ; then
21170 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
21171 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
21175 # now look for Itk library stuff
21178 # Ok, lets find the itk configuration
21179 # First, look for one uninstalled.
21180 # the alternative search directory is invoked by --with-itkconfig
21183 if test x
"${no_itk}" = x
; then
21184 # we reset no_itk in case something fails here
21187 # Check whether --with-itkconfig or --without-itkconfig was given.
21188 if test "${with_itkconfig+set}" = set; then
21189 withval
="$with_itkconfig"
21190 with_itkconfig
=${withval}
21192 echo "$as_me:$LINENO: checking for Itk configuration" >&5
21193 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
21194 if test "${ac_cv_c_itkconfig+set}" = set; then
21195 echo $ECHO_N "(cached) $ECHO_C" >&6
21199 # First check to see if --with-itkconfig was specified.
21200 if test x
"${with_itkconfig}" != x
; then
21201 if test -f "${with_itkconfig}/itkConfig.sh" ; then
21202 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
21204 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
21205 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
21206 { (exit 1); exit 1; }; }
21210 # then check for a private Itk library
21211 if test x
"${ac_cv_c_itkconfig}" = x
; then
21214 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
21216 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
21218 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
21219 if test -f "$i/itkConfig.sh" ; then
21220 ac_cv_c_itkconfig
=`(cd $i; pwd)`
21225 # check in a few common install locations
21226 if test x
"${ac_cv_c_itkconfig}" = x
; then
21227 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
21228 if test -f "$i/itkConfig.sh" ; then
21229 ac_cv_c_itkconfig
=`(cd $i; pwd)`
21234 # check in a few other private locations
21235 if test x
"${ac_cv_c_itkconfig}" = x
; then
21237 ${srcdir}/..
/itcl
/itk \
21238 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
21239 if test -f "$i/itkConfig.sh" ; then
21240 ac_cv_c_itkconfig
=`(cd $i; pwd)`
21248 if test x
"${ac_cv_c_itkconfig}" = x
; then
21249 ITKCONFIG
="# no Itk configs found"
21250 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
21251 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
21254 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
21255 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
21256 echo "${ECHO_T}found $ITKCONFIG" >&6
21261 if test -z "${no_itcl}"; then
21263 if test -f "$ITKCONFIG" ; then
21278 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
21279 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
21282 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
21284 # Include some libraries that Tcl and Tk want.
21285 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
21286 # Yes, the ordering seems wrong here. But it isn't.
21287 # TK_LIBS is the list of libraries that need to be linked
21288 # after Tcl/Tk. Note that this isn't put into LIBS. If it
21289 # were in LIBS then any link tests after this point would
21290 # try to include things like `$(LIBGUI)', which wouldn't work.
21291 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
21293 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
21294 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
21295 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
21296 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
21297 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
21298 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
21299 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
21301 if test x
$gdb_cv_os_cygwin = xyes
; then
21302 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
21303 WIN32LDAPP
="-Wl,--subsystem,console"
21304 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
21311 subdirs
="$subdirs gdbtk"
21328 echo "$as_me:$LINENO: checking for X" >&5
21329 echo $ECHO_N "checking for X... $ECHO_C" >&6
21332 # Check whether --with-x or --without-x was given.
21333 if test "${with_x+set}" = set; then
21337 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21338 if test "x$with_x" = xno
; then
21339 # The user explicitly disabled X.
21342 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21343 # Both variables are already set.
21346 if test "${ac_cv_have_x+set}" = set; then
21347 echo $ECHO_N "(cached) $ECHO_C" >&6
21349 # One or both of the vars are not set, and there is no cached value.
21350 ac_x_includes
=no ac_x_libraries
=no
21351 rm -fr conftest.dir
21352 if mkdir conftest.dir
; then
21354 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21355 cat >Imakefile
<<'_ACEOF'
21357 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21359 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21360 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21361 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21362 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21363 for ac_extension
in a so sl
; do
21364 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21365 test -f $ac_im_libdir/libX11.
$ac_extension; then
21366 ac_im_usrlibdir
=$ac_im_libdir; break
21369 # Screen out bogus values from the imake configuration. They are
21370 # bogus both because they are the default anyway, and because
21371 # using them would break gcc on systems where it needs fixed includes.
21372 case $ac_im_incroot in
21374 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21376 case $ac_im_usrlibdir in
21377 /usr
/lib |
/lib
) ;;
21378 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21382 rm -fr conftest.dir
21385 # Standard set of common directories for X headers.
21386 # Check X11 before X11Rn because it is often a symlink to the current release.
21398 /usr/local/X11/include
21399 /usr/local/X11R6/include
21400 /usr/local/X11R5/include
21401 /usr/local/X11R4/include
21403 /usr/local/include/X11
21404 /usr/local/include/X11R6
21405 /usr/local/include/X11R5
21406 /usr/local/include/X11R4
21410 /usr/XFree86/include/X11
21414 /usr/unsupported/include
21415 /usr/athena/include
21416 /usr/local/x11r5/include
21417 /usr/lpp/Xamples/include
21419 /usr/openwin/include
21420 /usr/openwin/share/include'
21422 if test "$ac_x_includes" = no
; then
21423 # Guess where to find include files, by looking for Intrinsic.h.
21424 # First, try using that file with no special directory specified.
21425 cat >conftest.
$ac_ext <<_ACEOF
21428 cat confdefs.h
>>conftest.
$ac_ext
21429 cat >>conftest.
$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21431 #include <X11/Intrinsic.h>
21433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21436 grep -v '^ *+' conftest.er1
>conftest.err
21438 cat conftest.err
>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); } >/dev
/null
; then
21441 if test -s conftest.err
; then
21442 ac_cpp_err
=$ac_c_preproc_warn_flag
21443 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21450 if test -z "$ac_cpp_err"; then
21451 # We can compile using X headers with no special include directory.
21454 echo "$as_me: failed program was:" >&5
21455 sed 's/^/| /' conftest.
$ac_ext >&5
21457 for ac_dir
in $ac_x_header_dirs; do
21458 if test -r "$ac_dir/X11/Intrinsic.h"; then
21459 ac_x_includes
=$ac_dir
21464 rm -f conftest.err conftest.
$ac_ext
21465 fi # $ac_x_includes = no
21467 if test "$ac_x_libraries" = no
; then
21468 # Check for the libraries.
21469 # See if we find them without any special options.
21470 # Don't add to $LIBS permanently.
21473 cat >conftest.
$ac_ext <<_ACEOF
21476 cat confdefs.h
>>conftest.
$ac_ext
21477 cat >>conftest.
$ac_ext <<_ACEOF
21478 /* end confdefs.h. */
21479 #include <X11/Intrinsic.h>
21488 rm -f conftest.
$ac_objext conftest
$ac_exeext
21489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21490 (eval $ac_link) 2>conftest.er1
21492 grep -v '^ *+' conftest.er1
>conftest.err
21494 cat conftest.err
>&5
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); } &&
21497 { ac_try
='test -z "$ac_c_werror_flag"
21498 || test ! -s conftest.err'
21499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21500 (eval $ac_try) 2>&5
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); }; } &&
21504 { ac_try
='test -s conftest$ac_exeext'
21505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21506 (eval $ac_try) 2>&5
21508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509 (exit $ac_status); }; }; then
21511 # We can link X programs with no special library path.
21514 echo "$as_me: failed program was:" >&5
21515 sed 's/^/| /' conftest.
$ac_ext >&5
21518 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21520 # Don't even attempt the hair of trying to link an X program!
21521 for ac_extension
in a so sl
; do
21522 if test -r $ac_dir/libXt.
$ac_extension; then
21523 ac_x_libraries
=$ac_dir
21529 rm -f conftest.err conftest.
$ac_objext \
21530 conftest
$ac_exeext conftest.
$ac_ext
21531 fi # $ac_x_libraries = no
21533 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
21534 # Didn't find X anywhere. Cache the known absence of X.
21535 ac_cv_have_x
="have_x=no"
21537 # Record where we found X for the cache.
21538 ac_cv_have_x
="have_x=yes \
21539 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21544 eval "$ac_cv_have_x"
21547 if test "$have_x" != yes; then
21548 echo "$as_me:$LINENO: result: $have_x" >&5
21549 echo "${ECHO_T}$have_x" >&6
21552 # If each of the values was on the command line, it overrides each guess.
21553 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21554 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21555 # Update the cache value to reflect the command line values.
21556 ac_cv_have_x
="have_x=yes \
21557 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21558 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21559 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21563 # Check whether we should enable the TUI, but only do so if we really
21565 if test x
"$enable_tui" = xyes
; then
21566 if test -d $srcdir/tui
; then
21567 if test "$ac_cv_search_waddstr" != no
; then
21568 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
21569 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
21570 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
21571 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
21572 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
21573 CONFIG_ALL
="${CONFIG_ALL} all-tui"
21574 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
21575 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
21576 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
21578 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
21579 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
21584 # Unlike the sim directory, whether a simulator is linked is controlled by
21585 # presence of a SIM= and a SIM_OBS= definition in the target '.mt' file.
21586 # This code just checks for a few cases where we'd like to ignore those
21587 # definitions, even when they're present in the '.mt' file. These cases
21588 # are when --disable-sim is specified, or if the simulator directory is
21589 # not part of the source tree.
21591 # Check whether --enable-sim or --disable-sim was given.
21592 if test "${enable_sim+set}" = set; then
21593 enableval
="$enable_sim"
21594 echo "enable_sim = $enable_sim";
21595 echo "enableval = ${enableval}";
21596 case "${enableval}" in
21597 yes) ignore_sim
=false
;;
21598 no
) ignore_sim
=true
;;
21599 *) ignore_sim
=false
;;
21605 if test ! -d "${srcdir}/../sim"; then
21609 if test "${ignore_sim}" = "true"; then
21611 IGNORE_SIM_OBS
="SIM_OBS="
21615 cat >>confdefs.h
<<\_ACEOF
21634 # List of host floatformats.
21636 cat >>confdefs.h
<<_ACEOF
21637 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
21641 cat >>confdefs.h
<<_ACEOF
21642 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
21646 cat >>confdefs.h
<<_ACEOF
21647 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
21651 # target_subdir is used by the testsuite to find the target libraries.
21653 if test "${host}" != "${target}"; then
21654 target_subdir
="${target_alias}/"
21659 if test "${target}" = "${host}"; then
21660 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
21661 if test ! -f ${host_makefile_frag}; then
21662 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
21663 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
21664 { (exit 1); exit 1; }; }
21666 frags
="$frags $host_makefile_frag"
21668 host_makefile_frag
=/dev
/null
21671 target_makefile_frag
=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
21672 if test ! -f ${target_makefile_frag}; then
21673 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support target ${target}\"" >&5
21674 echo "$as_me: error: \"*** Gdb does not support target ${target}\"" >&2;}
21675 { (exit 1); exit 1; }; }
21677 frags
="$frags $target_makefile_frag"
21684 s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21685 ' ${host_makefile_frag}`
21687 targetfile
=`sed -n '
21688 s/DEPRECATED_TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21689 ' ${target_makefile_frag}`
21691 if test "${target}" = "${host}"; then
21692 # We pick this up from the host configuration file (.mh) because we
21693 # do not have a native configuration Makefile fragment.
21694 nativefile
=`sed -n '
21695 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21696 ' ${host_makefile_frag}`
21700 if test x
"${gdb_osabi}" != x
; then
21702 cat >>confdefs.h
<<_ACEOF
21703 #define GDB_OSABI_DEFAULT $gdb_osabi
21708 # Enable multi-ice-gdb-server.
21709 # Check whether --enable-multi-ice or --disable-multi-ice was given.
21710 if test "${enable_multi_ice+set}" = set; then
21711 enableval
="$enable_multi_ice"
21715 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
21716 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
21717 { (exit 1); exit 1; }; } ;;
21720 if test "x$enable_multi_ice" = xyes
; then
21723 subdirs
="$subdirs multi-ice"
21727 # We only build gdbserver automatically if host and target are the same.
21728 if test "x$target" = "x$host"; then
21729 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
21730 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
21731 if test "x$build_gdbserver" = xyes
; then
21732 echo "$as_me:$LINENO: result: yes" >&5
21733 echo "${ECHO_T}yes" >&6
21736 subdirs
="$subdirs gdbserver"
21739 echo "$as_me:$LINENO: result: no" >&5
21740 echo "${ECHO_T}no" >&6
21744 # We build rdi-share on ARM-based targets, as instructed by configure.tgt.
21745 if test "x$build_rdi_share" = xyes
; then
21748 subdirs
="$subdirs rdi-share"
21752 # We configure the nlm subdirectory on netware targets, as instructed
21753 # by configure.tgt.
21754 if test "x$build_nlm" = xyes
; then
21757 subdirs
="$subdirs nlm"
21761 # If hostfile (XM_FILE) and/or targetfile (DEPRECATED_TM_FILE) and/or
21762 # nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
21763 # to an empty version.
21770 if test "${hostfile}" != ""; then
21772 case "${hostfile}" in
21773 xm-
*.h
) GDB_XM_FILE
="config/${gdb_host_cpu}/${hostfile}" ;;
21774 * ) GDB_XM_FILE
="${hostfile}"
21776 files
="${files} ${GDB_XM_FILE}"
21777 links
="${links} xm.h"
21778 cat >>confdefs.h
<<_ACEOF
21779 #define GDB_XM_FILE "${GDB_XM_FILE}"
21787 if test "${targetfile}" != ""; then
21789 case "${targetfile}" in
21790 tm-
*.h
) GDB_TM_FILE
="config/${gdb_target_cpu}/${targetfile}" ;;
21791 * ) GDB_TM_FILE
="${targetfile}"
21793 files
="${files} ${GDB_TM_FILE}"
21794 links
="${links} tm.h"
21795 cat >>confdefs.h
<<_ACEOF
21796 #define GDB_TM_FILE "${GDB_TM_FILE}"
21804 if test "${nativefile}" != ""; then
21806 case "${nativefile}" in
21807 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
21808 * ) GDB_NM_FILE
="${nativefile}"
21810 files
="${files} ${GDB_NM_FILE}"
21811 links
="${links} nm.h"
21812 cat >>confdefs.h
<<_ACEOF
21813 #define GDB_NM_FILE "${GDB_NM_FILE}"
21819 ac_sources
="$files"
21821 while test -n "$ac_sources"; do
21822 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
21823 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
21824 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
21826 ac_config_links
="$ac_config_links $ac_config_links_1"
21833 cat >>confdefs.h
<<\_ACEOF
21834 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
21841 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21842 if test "${with_libiconv_prefix+set}" = set; then
21843 withval
="$with_libiconv_prefix"
21845 for dir
in `echo "$withval" | tr : ' '`; do
21846 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
21847 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
21852 echo "$as_me:$LINENO: checking for iconv" >&5
21853 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
21854 if test "${am_cv_func_iconv+set}" = set; then
21855 echo $ECHO_N "(cached) $ECHO_C" >&6
21858 am_cv_func_iconv
="no, consider installing GNU libiconv"
21860 cat >conftest.
$ac_ext <<_ACEOF
21863 cat confdefs.h
>>conftest.
$ac_ext
21864 cat >>conftest.
$ac_ext <<_ACEOF
21865 /* end confdefs.h. */
21866 #include <stdlib.h>
21871 iconv_t cd = iconv_open("","");
21872 iconv(cd,NULL,NULL,NULL,NULL);
21878 rm -f conftest.
$ac_objext conftest
$ac_exeext
21879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21880 (eval $ac_link) 2>conftest.er1
21882 grep -v '^ *+' conftest.er1
>conftest.err
21884 cat conftest.err
>&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); } &&
21887 { ac_try
='test -z "$ac_c_werror_flag"
21888 || test ! -s conftest.err'
21889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21890 (eval $ac_try) 2>&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); }; } &&
21894 { ac_try
='test -s conftest$ac_exeext'
21895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21896 (eval $ac_try) 2>&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); }; }; then
21900 am_cv_func_iconv
=yes
21902 echo "$as_me: failed program was:" >&5
21903 sed 's/^/| /' conftest.
$ac_ext >&5
21906 rm -f conftest.err conftest.
$ac_objext \
21907 conftest
$ac_exeext conftest.
$ac_ext
21908 if test "$am_cv_func_iconv" != yes; then
21909 am_save_LIBS
="$LIBS"
21910 LIBS
="$LIBS -liconv"
21911 cat >conftest.
$ac_ext <<_ACEOF
21914 cat confdefs.h
>>conftest.
$ac_ext
21915 cat >>conftest.
$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21917 #include <stdlib.h>
21922 iconv_t cd = iconv_open("","");
21923 iconv(cd,NULL,NULL,NULL,NULL);
21929 rm -f conftest.
$ac_objext conftest
$ac_exeext
21930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21931 (eval $ac_link) 2>conftest.er1
21933 grep -v '^ *+' conftest.er1
>conftest.err
21935 cat conftest.err
>&5
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); } &&
21938 { ac_try
='test -z "$ac_c_werror_flag"
21939 || test ! -s conftest.err'
21940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21941 (eval $ac_try) 2>&5
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); }; } &&
21945 { ac_try
='test -s conftest$ac_exeext'
21946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21947 (eval $ac_try) 2>&5
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); }; }; then
21951 am_cv_lib_iconv
=yes
21952 am_cv_func_iconv
=yes
21954 echo "$as_me: failed program was:" >&5
21955 sed 's/^/| /' conftest.
$ac_ext >&5
21958 rm -f conftest.err conftest.
$ac_objext \
21959 conftest
$ac_exeext conftest.
$ac_ext
21960 LIBS
="$am_save_LIBS"
21964 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
21965 echo "${ECHO_T}$am_cv_func_iconv" >&6
21966 if test "$am_cv_func_iconv" = yes; then
21968 cat >>confdefs.h
<<\_ACEOF
21969 #define HAVE_ICONV 1
21972 echo "$as_me:$LINENO: checking for iconv declaration" >&5
21973 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
21974 if test "${am_cv_proto_iconv+set}" = set; then
21975 echo $ECHO_N "(cached) $ECHO_C" >&6
21978 cat >conftest.
$ac_ext <<_ACEOF
21981 cat confdefs.h
>>conftest.
$ac_ext
21982 cat >>conftest.
$ac_ext <<_ACEOF
21983 /* end confdefs.h. */
21985 #include <stdlib.h>
21991 #if defined(__STDC__) || defined(__cplusplus)
21992 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22005 rm -f conftest.
$ac_objext
22006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22007 (eval $ac_compile) 2>conftest.er1
22009 grep -v '^ *+' conftest.er1
>conftest.err
22011 cat conftest.err
>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } &&
22014 { ac_try
='test -z "$ac_c_werror_flag"
22015 || test ! -s conftest.err'
22016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22017 (eval $ac_try) 2>&5
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); }; } &&
22021 { ac_try
='test -s conftest.$ac_objext'
22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; }; then
22027 am_cv_proto_iconv_arg1
=""
22029 echo "$as_me: failed program was:" >&5
22030 sed 's/^/| /' conftest.
$ac_ext >&5
22032 am_cv_proto_iconv_arg1
="const"
22034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22035 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
22038 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22039 echo "$as_me:$LINENO: result: ${ac_t:-
22040 }$am_cv_proto_iconv" >&5
22041 echo "${ECHO_T}${ac_t:-
22042 }$am_cv_proto_iconv" >&6
22044 cat >>confdefs.h
<<_ACEOF
22045 #define ICONV_CONST $am_cv_proto_iconv_arg1
22050 if test "$am_cv_lib_iconv" = yes; then
22056 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in"
22057 ac_config_commands
="$ac_config_commands default"
22058 cat >confcache
<<\_ACEOF
22059 # This file is a shell script that caches the results of configure
22060 # tests run on this system so they can be shared between configure
22061 # scripts and configure runs, see configure's option --config-cache.
22062 # It is not useful on other systems. If it contains results you don't
22063 # want to keep, you may remove or edit it.
22065 # config.status only pays attention to the cache file if you give it
22066 # the --recheck option to rerun configure.
22068 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22069 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22070 # following values.
22074 # The following way of writing the cache mishandles newlines in values,
22075 # but we know of no workaround that is simple, portable, and efficient.
22076 # So, don't put newlines in cache variables' values.
22077 # Ultrix sh set writes to stderr and can't be redirected directly,
22078 # and sets the high bit in the cache file unless we assign to the vars.
22081 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22083 # `set' does not quote correctly, so add quotes (double-quote
22084 # substitution turns \\\\ into \\, and sed turns \\ into \).
22087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22090 # `set' quotes correctly as required by POSIX, so do not add quotes.
22092 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22099 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22101 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22103 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22104 if test -w $cache_file; then
22105 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22106 cat confcache
>$cache_file
22108 echo "not updating unwritable cache $cache_file"
22113 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22114 # Let make expand exec_prefix.
22115 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22117 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22118 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22119 # trailing colons and then remove the whole line if VPATH becomes empty
22120 # (actually we leave an empty line to preserve line numbers).
22121 if test "x$srcdir" = x.
; then
22122 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22123 s/:*\$(srcdir):*/:/;
22124 s/:*\${srcdir}:*/:/;
22126 s/^\([^=]*=[ ]*\):*/\1/;
22132 DEFS
=-DHAVE_CONFIG_H
22136 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22137 # 1. Remove the extension, and $U if already installed.
22138 ac_i
=`echo "$ac_i" |
22139 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22141 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22142 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22144 LIBOBJS
=$ac_libobjs
22146 LTLIBOBJS
=$ac_ltlibobjs
22149 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22150 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22151 Usually this means the macro was only invoked conditionally." >&5
22152 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22153 Usually this means the macro was only invoked conditionally." >&2;}
22154 { (exit 1); exit 1; }; }
22157 : ${CONFIG_STATUS=./config.status}
22158 ac_clean_files_save
=$ac_clean_files
22159 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22160 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22161 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22162 cat >$CONFIG_STATUS <<_ACEOF
22164 # Generated by $as_me.
22165 # Run this file to recreate the current configuration.
22166 # Compiler output produced by configure, useful for debugging
22167 # configure, is in config.log if it exists.
22170 ac_cs_recheck=false
22172 SHELL=\${CONFIG_SHELL-$SHELL}
22175 cat >>$CONFIG_STATUS <<\_ACEOF
22176 ## --------------------- ##
22177 ## M4sh Initialization. ##
22178 ## --------------------- ##
22180 # Be Bourne compatible
22181 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22184 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22185 # is contrary to our usage. Disable this feature.
22186 alias -g '${1+"$@"}'='"$@"'
22187 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22190 DUALCASE
=1; export DUALCASE
# for MKS sh
22192 # Support unset when possible.
22193 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22200 # Work around bugs in pre-3.0 UWIN ksh.
22201 $as_unset ENV MAIL MAILPATH
22208 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22209 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22210 LC_TELEPHONE LC_TIME
22212 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22213 eval $as_var=C
; export $as_var
22219 # Required to use basename.
22220 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22226 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22227 as_basename
=basename
22233 # Name of the executable.
22234 as_me
=`$as_basename "$0" ||
22235 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22236 X"$0" : 'X\(//\)$' \| \
22237 X"$0" : 'X\(/\)$' \| \
22238 . : '\(.\)' 2>/dev/null ||
22240 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22241 /^X\/\(\/\/\)$/{ s//\1/; q; }
22242 /^X\/\(\/\).*/{ s//\1/; q; }
22246 # PATH needs CR, and LINENO needs CR and PATH.
22247 # Avoid depending upon Character Ranges.
22248 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22249 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22250 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22251 as_cr_digits
='0123456789'
22252 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22254 # The user is always right.
22255 if test "${PATH_SEPARATOR+set}" != set; then
22256 echo "#! /bin/sh" >conf$$.sh
22257 echo "exit 0" >>conf$$.sh
22259 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22268 as_lineno_1
=$LINENO
22269 as_lineno_2
=$LINENO
22270 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22271 test "x$as_lineno_1" != "x$as_lineno_2" &&
22272 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22273 # Find who we are. Look in the path if we contain no path at all
22276 *[\\/]* ) as_myself
=$0 ;;
22277 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22278 for as_dir
in $PATH
22281 test -z "$as_dir" && as_dir
=.
22282 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22287 # We did not find ourselves, most probably we were run as `sh COMMAND'
22288 # in which case we are not to be found in the path.
22289 if test "x$as_myself" = x
; then
22292 if test ! -f "$as_myself"; then
22293 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22294 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22295 { (exit 1); exit 1; }; }
22297 case $CONFIG_SHELL in
22299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22300 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22303 test -z "$as_dir" && as_dir
=.
22304 for as_base
in sh bash ksh sh5
; do
22307 if ("$as_dir/$as_base" -c '
22308 as_lineno_1=$LINENO
22309 as_lineno_2=$LINENO
22310 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22311 test "x$as_lineno_1" != "x$as_lineno_2" &&
22312 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22313 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22314 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22315 CONFIG_SHELL
=$as_dir/$as_base
22316 export CONFIG_SHELL
22317 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22325 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22326 # uniformly replaced by the line number. The first 'sed' inserts a
22327 # line-number line before each line; the second 'sed' does the real
22328 # work. The second script uses 'N' to pair each line-number line
22329 # with the numbered line, and appends trailing '-' during
22330 # substitution so that $LINENO is not a special case at line end.
22331 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22332 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22333 sed '=' <$as_myself |
22338 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22341 s,^['$as_cr_digits']*\n,,
22342 ' >$as_me.lineno
&&
22343 chmod +x
$as_me.lineno ||
22344 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22345 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22346 { (exit 1); exit 1; }; }
22348 # Don't try to exec as it changes $[0], causing all sort of problems
22349 # (the dirname of $[0] is not the place where we might find the
22350 # original and so on. Autoconf is especially sensible to this).
22352 # Exit status is that of the last command.
22357 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22358 *c
*,-n*) ECHO_N
= ECHO_C
='
22360 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22361 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22364 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22370 rm -f conf$$ conf$$.exe conf$$.
file
22372 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22373 # We could just check for DJGPP; but this test a) works b) is more generic
22374 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22375 if test -f conf$$.exe
; then
22376 # Don't use ln at all; we don't have any links
22381 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22386 rm -f conf$$ conf$$.exe conf$$.
file
22388 if mkdir
-p .
2>/dev
/null
; then
22391 test -d .
/-p && rmdir .
/-p
22395 as_executable_p
="test -f"
22397 # Sed expression to map a string onto a valid CPP name.
22398 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22400 # Sed expression to map a string onto a valid variable name.
22401 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22405 # We need space, tab and new line, in precisely that order.
22415 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22416 # report actual input values of CONFIG_FILES etc. instead of their
22417 # values after options handling. Logging --version etc. is OK.
22421 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22422 ## Running $as_me. ##
22427 This file was extended by $as_me, which was
22428 generated by GNU Autoconf 2.59. Invocation command line was
22430 CONFIG_FILES = $CONFIG_FILES
22431 CONFIG_HEADERS = $CONFIG_HEADERS
22432 CONFIG_LINKS = $CONFIG_LINKS
22433 CONFIG_COMMANDS = $CONFIG_COMMANDS
22437 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22441 # Files that config.status was made for.
22442 if test -n "$ac_config_files"; then
22443 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22446 if test -n "$ac_config_headers"; then
22447 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22450 if test -n "$ac_config_links"; then
22451 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22454 if test -n "$ac_config_commands"; then
22455 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22458 cat >>$CONFIG_STATUS <<\_ACEOF
22461 \`$as_me' instantiates files from templates according to the
22462 current configuration.
22464 Usage: $0 [OPTIONS] [FILE]...
22466 -h, --help print this help, then exit
22467 -V, --version print version number, then exit
22468 -q, --quiet do not print progress messages
22469 -d, --debug don't remove temporary files
22470 --recheck update $as_me by reconfiguring in the same conditions
22471 --file=FILE[:TEMPLATE]
22472 instantiate the configuration file FILE
22473 --header=FILE[:TEMPLATE]
22474 instantiate the configuration header FILE
22476 Configuration files:
22479 Configuration headers:
22482 Configuration links:
22485 Configuration commands:
22488 Report bugs to <bug-autoconf@gnu.org>."
22491 cat >>$CONFIG_STATUS <<_ACEOF
22494 configured by $0, generated by GNU Autoconf 2.59,
22495 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22497 Copyright (C) 2003 Free Software Foundation, Inc.
22498 This config.status script is free software; the Free Software Foundation
22499 gives unlimited permission to copy, distribute and modify it."
22504 cat >>$CONFIG_STATUS <<\_ACEOF
22505 # If no file are specified by the user, then we need to provide default
22506 # value. By we need to know if files were specified by the user.
22512 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22513 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22521 *) # This is not an option, so the user has probably given explicit
22524 ac_need_defaults
=false
;;
22528 # Handling of the options.
22530 cat >>$CONFIG_STATUS <<\_ACEOF
22531 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22533 --version |
--vers* |
-V )
22534 echo "$ac_cs_version"; exit 0 ;;
22536 # Conflict between --help and --header
22537 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22538 Try \`$0 --help' for more information." >&5
22539 echo "$as_me: error: ambiguous option: $1
22540 Try \`$0 --help' for more information." >&2;}
22541 { (exit 1); exit 1; }; };;
22542 --help |
--hel |
-h )
22543 echo "$ac_cs_usage"; exit 0 ;;
22544 --debug |
--d* |
-d )
22546 --file |
--fil |
--fi |
--f )
22548 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22549 ac_need_defaults
=false
;;
22550 --header |
--heade |
--head |
--hea )
22552 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22553 ac_need_defaults
=false
;;
22554 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22555 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22558 # This is an error.
22559 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22560 Try \`$0 --help' for more information." >&5
22561 echo "$as_me: error: unrecognized option: $1
22562 Try \`$0 --help' for more information." >&2;}
22563 { (exit 1); exit 1; }; } ;;
22565 *) ac_config_targets
="$ac_config_targets $1" ;;
22571 ac_configure_extra_args
=
22573 if $ac_cs_silent; then
22575 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22579 cat >>$CONFIG_STATUS <<_ACEOF
22580 if \$ac_cs_recheck; then
22581 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22582 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22587 cat >>$CONFIG_STATUS <<_ACEOF
22589 # INIT-COMMANDS section.
22593 gdb_host_cpu=$gdb_host_cpu
22594 gdb_target_cpu=$gdb_target_cpu
22595 nativefile=$nativefile
22602 cat >>$CONFIG_STATUS <<\_ACEOF
22603 for ac_config_target
in $ac_config_targets
22605 case "$ac_config_target" in
22606 # Handling of arguments.
22607 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22608 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
22609 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
22610 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
22611 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
22612 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22613 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22614 { (exit 1); exit 1; }; };;
22618 # If the user did not use the arguments to specify the items to instantiate,
22619 # then the envvar interface is used. Set only those that are not.
22620 # We use the long form for the default assignment because of an extremely
22621 # bizarre bug on SunOS 4.1.3.
22622 if $ac_need_defaults; then
22623 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22624 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22625 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
22626 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22629 # Have a temporary directory for convenience. Make it in the build tree
22630 # simply because there is no reason to put it here, and in addition,
22631 # creating and moving files from /tmp can sometimes cause problems.
22632 # Create a temporary directory, and hook for its removal unless debugging.
22635 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22636 trap '{ (exit 1); exit 1; }' 1 2 13 15
22639 # Create a (secure) tmp directory for tmp files.
22642 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22643 test -n "$tmp" && test -d "$tmp"
22646 tmp
=.
/confstat$$
-$RANDOM
22647 (umask 077 && mkdir
$tmp)
22650 echo "$me: cannot create a temporary directory in ." >&2
22651 { (exit 1); exit 1; }
22656 cat >>$CONFIG_STATUS <<_ACEOF
22659 # CONFIG_FILES section.
22662 # No need to generate the scripts if there are no CONFIG_FILES.
22663 # This happens for instance when ./config.status config.h
22664 if test -n "\$CONFIG_FILES"; then
22665 # Protect against being on the right side of a sed subst in config.status.
22666 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22667 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22668 s,@SHELL@,$SHELL,;t t
22669 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22670 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22671 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22672 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22673 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22674 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22675 s,@exec_prefix@,$exec_prefix,;t t
22676 s,@prefix@,$prefix,;t t
22677 s,@program_transform_name@,$program_transform_name,;t t
22678 s,@bindir@,$bindir,;t t
22679 s,@sbindir@,$sbindir,;t t
22680 s,@libexecdir@,$libexecdir,;t t
22681 s,@datadir@,$datadir,;t t
22682 s,@sysconfdir@,$sysconfdir,;t t
22683 s,@sharedstatedir@,$sharedstatedir,;t t
22684 s,@localstatedir@,$localstatedir,;t t
22685 s,@libdir@,$libdir,;t t
22686 s,@includedir@,$includedir,;t t
22687 s,@oldincludedir@,$oldincludedir,;t t
22688 s,@infodir@,$infodir,;t t
22689 s,@mandir@,$mandir,;t t
22690 s,@build_alias@,$build_alias,;t t
22691 s,@host_alias@,$host_alias,;t t
22692 s,@target_alias@,$target_alias,;t t
22693 s,@DEFS@,$DEFS,;t t
22694 s,@ECHO_C@,$ECHO_C,;t t
22695 s,@ECHO_N@,$ECHO_N,;t t
22696 s,@ECHO_T@,$ECHO_T,;t t
22697 s,@LIBS@,$LIBS,;t t
22698 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22699 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22700 s,@MAINT@,$MAINT,;t t
22702 s,@CFLAGS@,$CFLAGS,;t t
22703 s,@LDFLAGS@,$LDFLAGS,;t t
22704 s,@CPPFLAGS@,$CPPFLAGS,;t t
22705 s,@ac_ct_CC@,$ac_ct_CC,;t t
22706 s,@EXEEXT@,$EXEEXT,;t t
22707 s,@OBJEXT@,$OBJEXT,;t t
22709 s,@EGREP@,$EGREP,;t t
22710 s,@build@,$build,;t t
22711 s,@build_cpu@,$build_cpu,;t t
22712 s,@build_vendor@,$build_vendor,;t t
22713 s,@build_os@,$build_os,;t t
22714 s,@host@,$host,;t t
22715 s,@host_cpu@,$host_cpu,;t t
22716 s,@host_vendor@,$host_vendor,;t t
22717 s,@host_os@,$host_os,;t t
22718 s,@target@,$target,;t t
22719 s,@target_cpu@,$target_cpu,;t t
22720 s,@target_vendor@,$target_vendor,;t t
22721 s,@target_os@,$target_os,;t t
22722 s,@SET_MAKE@,$SET_MAKE,;t t
22723 s,@RANLIB@,$RANLIB,;t t
22724 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22725 s,@ALLOCA@,$ALLOCA,;t t
22726 s,@USE_NLS@,$USE_NLS,;t t
22727 s,@MSGFMT@,$MSGFMT,;t t
22728 s,@GMSGFMT@,$GMSGFMT,;t t
22729 s,@XGETTEXT@,$XGETTEXT,;t t
22730 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
22731 s,@CATALOGS@,$CATALOGS,;t t
22732 s,@CATOBJEXT@,$CATOBJEXT,;t t
22733 s,@DATADIRNAME@,$DATADIRNAME,;t t
22734 s,@GMOFILES@,$GMOFILES,;t t
22735 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
22736 s,@INTLDEPS@,$INTLDEPS,;t t
22737 s,@INTLLIBS@,$INTLLIBS,;t t
22738 s,@INTLOBJS@,$INTLOBJS,;t t
22739 s,@POFILES@,$POFILES,;t t
22740 s,@POSUB@,$POSUB,;t t
22741 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
22742 s,@GT_NO@,$GT_NO,;t t
22743 s,@GT_YES@,$GT_YES,;t t
22744 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
22746 s,@localedir@,$localedir,;t t
22747 s,@PACKAGE@,$PACKAGE,;t t
22748 s,@subdirs@,$subdirs,;t t
22750 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22751 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22752 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22753 s,@LN_S@,$LN_S,;t t
22754 s,@YACC@,$YACC,;t t
22756 s,@ac_ct_AR@,$ac_ct_AR,;t t
22757 s,@DLLTOOL@,$DLLTOOL,;t t
22758 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
22759 s,@WINDRES@,$WINDRES,;t t
22760 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
22762 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
22763 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
22764 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
22765 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
22766 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
22767 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
22768 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
22769 s,@WIN32LIBS@,$WIN32LIBS,;t t
22770 s,@LIBGUI@,$LIBGUI,;t t
22771 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
22772 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
22773 s,@TCL_VERSION@,$TCL_VERSION,;t t
22774 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
22775 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
22776 s,@TCL_CC@,$TCL_CC,;t t
22777 s,@TCL_DEFS@,$TCL_DEFS,;t t
22778 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
22779 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
22780 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
22781 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
22782 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
22783 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
22784 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
22785 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
22786 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
22787 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
22788 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
22789 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
22790 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
22791 s,@TK_VERSION@,$TK_VERSION,;t t
22792 s,@TK_DEFS@,$TK_DEFS,;t t
22793 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
22794 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
22795 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
22796 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
22797 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
22798 s,@TCLHDIR@,$TCLHDIR,;t t
22799 s,@TKHDIR@,$TKHDIR,;t t
22800 s,@ITCLHDIR@,$ITCLHDIR,;t t
22801 s,@ITKHDIR@,$ITKHDIR,;t t
22802 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
22803 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
22804 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
22805 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
22806 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
22807 s,@ITK_VERSION@,$ITK_VERSION,;t t
22808 s,@ITK_DEFS@,$ITK_DEFS,;t t
22809 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
22810 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
22811 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
22812 s,@X_CFLAGS@,$X_CFLAGS,;t t
22813 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
22814 s,@X_LIBS@,$X_LIBS,;t t
22815 s,@TCL_DEPS@,$TCL_DEPS,;t t
22816 s,@TK_DEPS@,$TK_DEPS,;t t
22817 s,@ITCLLIB@,$ITCLLIB,;t t
22818 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
22819 s,@ITKLIB@,$ITKLIB,;t t
22820 s,@ITK_DEPS@,$ITK_DEPS,;t t
22821 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
22822 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
22823 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
22824 s,@IGNORE_SIM@,$IGNORE_SIM,;t t
22825 s,@IGNORE_SIM_OBS@,$IGNORE_SIM_OBS,;t t
22826 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
22827 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
22828 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
22829 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
22830 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
22831 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
22832 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
22833 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
22834 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
22835 s,@target_subdir@,$target_subdir,;t t
22836 s,@frags@,$frags,;t t
22837 s,@xm_h@,$xm_h,;t t
22838 s,@tm_h@,$tm_h,;t t
22839 s,@nm_h@,$nm_h,;t t
22840 s,@LIBICONV@,$LIBICONV,;t t
22841 s,@LIBOBJS@,$LIBOBJS,;t t
22842 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22843 /@host_makefile_frag@/r $host_makefile_frag
22844 s,@host_makefile_frag@,,;t t
22845 /@target_makefile_frag@/r $target_makefile_frag
22846 s,@target_makefile_frag@,,;t t
22851 cat >>$CONFIG_STATUS <<\_ACEOF
22852 # Split the substitutions into bite-sized pieces for seds with
22853 # small command number limits, like on Digital OSF/1 and HP-UX.
22854 ac_max_sed_lines
=48
22855 ac_sed_frag
=1 # Number of current file.
22856 ac_beg
=1 # First line for current file.
22857 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22860 while $ac_more_lines; do
22861 if test $ac_beg -gt 1; then
22862 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22864 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22866 if test ! -s $tmp/subs.frag
; then
22867 ac_more_lines
=false
22869 # The purpose of the label and of the branching condition is to
22870 # speed up the sed processing (if there are no `@' at all, there
22871 # is no need to browse any of the substitutions).
22872 # These are the two extra sed commands mentioned above.
22874 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22875 if test -z "$ac_sed_cmds"; then
22876 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22878 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22880 ac_sed_frag
=`expr $ac_sed_frag + 1`
22882 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22885 if test -z "$ac_sed_cmds"; then
22888 fi # test -n "$CONFIG_FILES"
22891 cat >>$CONFIG_STATUS <<\_ACEOF
22892 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22893 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22895 - |
*:- |
*:-:* ) # input from stdin
22897 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22898 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22899 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22900 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22901 * ) ac_file_in
=$ac_file.
in ;;
22904 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22905 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22906 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22907 X"$ac_file" : 'X\(//\)[^/]' \| \
22908 X"$ac_file" : 'X\(//\)$' \| \
22909 X"$ac_file" : 'X\(/\)' \| \
22910 . : '\(.\)' 2>/dev/null ||
22912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22913 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22914 /^X\(\/\/\)$/{ s//\1/; q; }
22915 /^X\(\/\).*/{ s//\1/; q; }
22917 { if $as_mkdir_p; then
22922 while test ! -d "$as_dir"; do
22923 as_dirs
="$as_dir $as_dirs"
22924 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22926 X"$as_dir" : 'X\(//\)[^/]' \| \
22927 X"$as_dir" : 'X\(//\)$' \| \
22928 X"$as_dir" : 'X\(/\)' \| \
22929 . : '\(.\)' 2>/dev/null ||
22931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22932 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22933 /^X\(\/\/\)$/{ s//\1/; q; }
22934 /^X\(\/\).*/{ s//\1/; q; }
22937 test ! -n "$as_dirs" || mkdir
$as_dirs
22938 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22939 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22940 { (exit 1); exit 1; }; }; }
22944 if test "$ac_dir" != .
; then
22945 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22946 # A "../" for each directory in $ac_dir_suffix.
22947 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22949 ac_dir_suffix
= ac_top_builddir
=
22953 .
) # No --srcdir option. We are building in place.
22955 if test -z "$ac_top_builddir"; then
22958 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22960 [\\/]* | ?
:[\\/]* ) # Absolute path.
22961 ac_srcdir
=$srcdir$ac_dir_suffix;
22962 ac_top_srcdir
=$srcdir ;;
22963 *) # Relative path.
22964 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22965 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22968 # Do not use `cd foo && pwd` to compute absolute paths, because
22969 # the directories may not exist.
22971 .
) ac_abs_builddir
="$ac_dir";;
22974 .
) ac_abs_builddir
=`pwd`;;
22975 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22976 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22979 case $ac_abs_builddir in
22980 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22982 case ${ac_top_builddir}.
in
22983 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22984 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22985 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22988 case $ac_abs_builddir in
22989 .
) ac_abs_srcdir
=$ac_srcdir;;
22992 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22993 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22994 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22997 case $ac_abs_builddir in
22998 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23000 case $ac_top_srcdir in
23001 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23002 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23003 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23009 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23010 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
23013 if test x
"$ac_file" != x-
; then
23014 { echo "$as_me:$LINENO: creating $ac_file" >&5
23015 echo "$as_me: creating $ac_file" >&6;}
23018 # Let's still pretend it is `configure' which instantiates (i.e., don't
23019 # use $as_me), people would be surprised to read:
23020 # /* config.h. Generated by config.status. */
23021 if test x
"$ac_file" = x-
; then
23024 configure_input
="$ac_file. "
23026 configure_input
=$configure_input"Generated from `echo $ac_file_in |
23027 sed 's,.*/,,'` by configure."
23029 # First look for the input files in the build tree, otherwise in the
23031 ac_file_inputs
=`IFS=:
23032 for f in $ac_file_in; do
23034 -) echo $tmp/stdin ;;
23036 # Absolute (can't be DOS-style, as IFS=:)
23037 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23038 echo "$as_me: error: cannot find input file: $f" >&2;}
23039 { (exit 1); exit 1; }; }
23042 if test -f "$f"; then
23045 elif test -f "$srcdir/$f"; then
23050 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23051 echo "$as_me: error: cannot find input file: $f" >&2;}
23052 { (exit 1); exit 1; }; }
23055 done` ||
{ (exit 1); exit 1; }
23057 cat >>$CONFIG_STATUS <<_ACEOF
23061 cat >>$CONFIG_STATUS <<\_ACEOF
23063 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23064 s
,@configure_input@
,$configure_input,;t t
23065 s
,@srcdir@
,$ac_srcdir,;t t
23066 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23067 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23068 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23069 s
,@builddir@
,$ac_builddir,;t t
23070 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23071 s
,@top_builddir@
,$ac_top_builddir,;t t
23072 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23073 s
,@INSTALL@
,$ac_INSTALL,;t t
23074 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23076 if test x"$ac_file" != x-; then
23077 mv $tmp/out $ac_file
23085 cat >>$CONFIG_STATUS <<\_ACEOF
23088 # CONFIG_HEADER section.
23091 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
23092 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23094 # ac_d sets the value in "#define NAME VALUE" lines.
23095 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23096 ac_dB
='[ ].*$,\1#\2'
23099 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23100 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23101 ac_uB
='$,\1#\2define\3'
23105 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
23106 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23108 - |
*:- |
*:-:* ) # input from stdin
23110 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23111 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23112 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23113 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23114 * ) ac_file_in
=$ac_file.
in ;;
23117 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
23118 echo "$as_me: creating $ac_file" >&6;}
23120 # First look for the input files in the build tree, otherwise in the
23122 ac_file_inputs
=`IFS=:
23123 for f in $ac_file_in; do
23125 -) echo $tmp/stdin ;;
23127 # Absolute (can't be DOS-style, as IFS=:)
23128 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23129 echo "$as_me: error: cannot find input file: $f" >&2;}
23130 { (exit 1); exit 1; }; }
23131 # Do quote $f, to prevent DOS paths from being IFS'd.
23134 if test -f "$f"; then
23137 elif test -f "$srcdir/$f"; then
23142 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23143 echo "$as_me: error: cannot find input file: $f" >&2;}
23144 { (exit 1); exit 1; }; }
23147 done` ||
{ (exit 1); exit 1; }
23148 # Remove the trailing spaces.
23149 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23153 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23154 # `conftest.undefs', that substitutes the proper values into
23155 # config.h.in to produce config.h. The first handles `#define'
23156 # templates, and the second `#undef' templates.
23157 # And first: Protect against being on the right side of a sed subst in
23158 # config.status. Protect against being in an unquoted here document
23159 # in config.status.
23160 rm -f conftest.defines conftest.undefs
23161 # Using a here document instead of a string reduces the quoting nightmare.
23162 # Putting comments in sed scripts is not portable.
23164 # `end' is used to avoid that the second main sed command (meant for
23165 # 0-ary CPP macros) applies to n-ary macro definitions.
23166 # See the Autoconf documentation for `clear'.
23167 cat >confdef2sed.
sed <<\_ACEOF
23172 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23174 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23177 # If some macros were called several times there might be several times
23178 # the same #defines, which is useless. Nevertheless, we may not want to
23179 # sort them, since we want the *last* AC-DEFINE to be honored.
23180 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23181 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23182 rm -f confdef2sed.sed
23184 # This sed command replaces #undef with comments. This is necessary, for
23185 # example, in the case of _POSIX_SOURCE, which is predefined and required
23186 # on some systems where configure will not decide to define it.
23187 cat >>conftest.undefs <<\_ACEOF
23188 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23191 # Break up conftest.defines because some shells have a limit on the size
23192 # of here documents, and old seds have small limits too (100 cmds).
23193 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23194 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23195 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23196 echo ' :' >>$CONFIG_STATUS
23197 rm -f conftest.tail
23198 while grep . conftest.defines >/dev/null
23200 # Write a limited-size here document to $tmp/defines.sed.
23201 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23202 # Speed up: don't consider the non `#define' lines.
23203 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23204 # Work around the forget-to-reset-the-flag bug.
23205 echo 't clr' >>$CONFIG_STATUS
23206 echo ': clr' >>$CONFIG_STATUS
23207 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23209 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23211 mv $tmp/out $tmp/in
23213 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23214 rm -f conftest.defines
23215 mv conftest.
tail conftest.defines
23217 rm -f conftest.defines
23218 echo ' fi # grep' >>$CONFIG_STATUS
23219 echo >>$CONFIG_STATUS
23221 # Break up conftest.undefs because some shells have a limit on the size
23222 # of here documents, and old seds have small limits too (100 cmds).
23223 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23224 rm -f conftest.
tail
23225 while grep . conftest.undefs
>/dev
/null
23227 # Write a limited-size here document to $tmp/undefs.sed.
23228 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23229 # Speed up: don't consider the non
`#undef'
23230 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23231 # Work around the forget-to-reset-the-flag bug.
23232 echo 't clr' >>$CONFIG_STATUS
23233 echo ': clr' >>$CONFIG_STATUS
23234 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23236 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23238 mv $tmp/out $tmp/in
23240 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23241 rm -f conftest.undefs
23242 mv conftest.tail conftest.undefs
23244 rm -f conftest.undefs
23246 cat >>$CONFIG_STATUS <<\_ACEOF
23247 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23248 # use $as_me), people would be surprised to read:
23249 # /* config.h. Generated by config.status. */
23250 if test x
"$ac_file" = x-
; then
23251 echo "/* Generated by configure. */" >$tmp/config.h
23253 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23255 cat $tmp/in >>$tmp/config.h
23257 if test x
"$ac_file" != x-
; then
23258 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23259 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23260 echo "$as_me: $ac_file is unchanged" >&6;}
23262 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23263 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23264 X"$ac_file" : 'X\(//\)[^/]' \| \
23265 X"$ac_file" : 'X\(//\)$' \| \
23266 X"$ac_file" : 'X\(/\)' \| \
23267 . : '\(.\)' 2>/dev/null ||
23269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23271 /^X\(\/\/\)$/{ s//\1/; q; }
23272 /^X\(\/\).*/{ s//\1/; q; }
23274 { if $as_mkdir_p; then
23279 while test ! -d "$as_dir"; do
23280 as_dirs
="$as_dir $as_dirs"
23281 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23283 X"$as_dir" : 'X\(//\)[^/]' \| \
23284 X"$as_dir" : 'X\(//\)$' \| \
23285 X"$as_dir" : 'X\(/\)' \| \
23286 . : '\(.\)' 2>/dev/null ||
23288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23289 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23290 /^X\(\/\/\)$/{ s//\1/; q; }
23291 /^X\(\/\).*/{ s//\1/; q; }
23294 test ! -n "$as_dirs" || mkdir
$as_dirs
23295 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23296 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23297 { (exit 1); exit 1; }; }; }
23300 mv $tmp/config.h
$ac_file
23304 rm -f $tmp/config.h
23308 cat >>$CONFIG_STATUS <<\_ACEOF
23311 # CONFIG_LINKS section.
23314 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
23315 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23316 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23318 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
23319 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
23321 if test ! -r $srcdir/$ac_source; then
23322 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
23323 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
23324 { (exit 1); exit 1; }; }
23328 # Make relative symlinks.
23329 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23330 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23331 X"$ac_dest" : 'X\(//\)[^/]' \| \
23332 X"$ac_dest" : 'X\(//\)$' \| \
23333 X"$ac_dest" : 'X\(/\)' \| \
23334 . : '\(.\)' 2>/dev/null ||
23336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23337 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23338 /^X\(\/\/\)$/{ s//\1/; q; }
23339 /^X\(\/\).*/{ s//\1/; q; }
23341 { if $as_mkdir_p; then
23342 mkdir
-p "$ac_dest_dir"
23344 as_dir
="$ac_dest_dir"
23346 while test ! -d "$as_dir"; do
23347 as_dirs
="$as_dir $as_dirs"
23348 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23349 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23350 X"$as_dir" : 'X\(//\)[^/]' \| \
23351 X"$as_dir" : 'X\(//\)$' \| \
23352 X"$as_dir" : 'X\(/\)' \| \
23353 . : '\(.\)' 2>/dev/null ||
23355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23356 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23357 /^X\(\/\/\)$/{ s//\1/; q; }
23358 /^X\(\/\).*/{ s//\1/; q; }
23361 test ! -n "$as_dirs" || mkdir
$as_dirs
23362 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
23363 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
23364 { (exit 1); exit 1; }; }; }
23368 if test "$ac_dest_dir" != .
; then
23369 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
23370 # A "../" for each directory in $ac_dir_suffix.
23371 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23373 ac_dir_suffix
= ac_top_builddir
=
23377 .
) # No --srcdir option. We are building in place.
23379 if test -z "$ac_top_builddir"; then
23382 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23384 [\\/]* | ?
:[\\/]* ) # Absolute path.
23385 ac_srcdir
=$srcdir$ac_dir_suffix;
23386 ac_top_srcdir
=$srcdir ;;
23387 *) # Relative path.
23388 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23389 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23392 # Do not use `cd foo && pwd` to compute absolute paths, because
23393 # the directories may not exist.
23395 .
) ac_abs_builddir
="$ac_dest_dir";;
23397 case "$ac_dest_dir" in
23398 .
) ac_abs_builddir
=`pwd`;;
23399 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
23400 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
23403 case $ac_abs_builddir in
23404 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23406 case ${ac_top_builddir}.
in
23407 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23408 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23409 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23412 case $ac_abs_builddir in
23413 .
) ac_abs_srcdir
=$ac_srcdir;;
23416 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23417 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23418 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23421 case $ac_abs_builddir in
23422 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23424 case $ac_top_srcdir in
23425 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23426 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23427 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23433 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
23434 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
23437 # Try a symlink, then a hard link, then a copy.
23438 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
23439 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
23440 cp -p $srcdir/$ac_source $ac_dest ||
23441 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
23442 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
23443 { (exit 1); exit 1; }; }
23446 cat >>$CONFIG_STATUS <<\_ACEOF
23449 # CONFIG_COMMANDS section.
23451 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23452 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23453 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23454 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23455 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23456 X"$ac_dest" : 'X\(//\)[^/]' \| \
23457 X"$ac_dest" : 'X\(//\)$' \| \
23458 X"$ac_dest" : 'X\(/\)' \| \
23459 . : '\(.\)' 2>/dev/null ||
23461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23462 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23463 /^X\(\/\/\)$/{ s//\1/; q; }
23464 /^X\(\/\).*/{ s//\1/; q; }
23466 { if $as_mkdir_p; then
23471 while test ! -d "$as_dir"; do
23472 as_dirs
="$as_dir $as_dirs"
23473 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23474 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23475 X"$as_dir" : 'X\(//\)[^/]' \| \
23476 X"$as_dir" : 'X\(//\)$' \| \
23477 X"$as_dir" : 'X\(/\)' \| \
23478 . : '\(.\)' 2>/dev/null ||
23480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23481 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23482 /^X\(\/\/\)$/{ s//\1/; q; }
23483 /^X\(\/\).*/{ s//\1/; q; }
23486 test ! -n "$as_dirs" || mkdir
$as_dirs
23487 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23488 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23489 { (exit 1); exit 1; }; }; }
23493 if test "$ac_dir" != .
; then
23494 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23495 # A "../" for each directory in $ac_dir_suffix.
23496 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23498 ac_dir_suffix
= ac_top_builddir
=
23502 .
) # No --srcdir option. We are building in place.
23504 if test -z "$ac_top_builddir"; then
23507 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23509 [\\/]* | ?
:[\\/]* ) # Absolute path.
23510 ac_srcdir
=$srcdir$ac_dir_suffix;
23511 ac_top_srcdir
=$srcdir ;;
23512 *) # Relative path.
23513 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23514 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23517 # Do not use `cd foo && pwd` to compute absolute paths, because
23518 # the directories may not exist.
23520 .
) ac_abs_builddir
="$ac_dir";;
23523 .
) ac_abs_builddir
=`pwd`;;
23524 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23525 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23528 case $ac_abs_builddir in
23529 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23531 case ${ac_top_builddir}.
in
23532 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23533 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23534 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23537 case $ac_abs_builddir in
23538 .
) ac_abs_srcdir
=$ac_srcdir;;
23541 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23542 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23543 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23546 case $ac_abs_builddir in
23547 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23549 case $ac_top_srcdir in
23550 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23551 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23552 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23557 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23558 echo "$as_me: executing $ac_dest commands" >&6;}
23562 sed -e '/^DEPRECATED_TM_FILE[ ]*=/s,^DEPRECATED_TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
23563 /^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
23564 /^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
23565 mv -f Makefile.tmp Makefile
23568 case x
$CONFIG_HEADERS in
23569 xconfig.h
:config.
in)
23577 cat >>$CONFIG_STATUS <<\_ACEOF
23579 { (exit 0); exit 0; }
23581 chmod +x
$CONFIG_STATUS
23582 ac_clean_files
=$ac_clean_files_save
23585 # configure is writing to config.log, and then calls config.status.
23586 # config.status does its own redirection, appending to config.log.
23587 # Unfortunately, on DOS this fails, as config.log is still kept open
23588 # by configure, so config.status won't be able to write to it; its
23589 # output is simply discarded. So we exec the FD to /dev/null,
23590 # effectively closing config.log, so it can be properly (re)opened and
23591 # appended to by config.status. When coming back to configure, we
23592 # need to make the FD available again.
23593 if test "$no_create" != yes; then
23595 ac_config_status_args
=
23596 test "$silent" = yes &&
23597 ac_config_status_args
="$ac_config_status_args --quiet"
23599 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23601 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23602 # would make configure fail if this is the last instruction.
23603 $ac_cs_success ||
{ (exit 1); exit 1; }
23607 # CONFIG_SUBDIRS section.
23609 if test "$no_recursion" != yes; then
23611 # Remove --cache-file and --srcdir arguments so they do not pile up.
23612 ac_sub_configure_args
=
23614 for ac_arg
in $ac_configure_args; do
23615 if test -n "$ac_prev"; then
23620 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
23621 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
23622 ac_prev
=cache_file
;;
23623 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
23624 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
23627 --config-cache |
-C)
23629 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
23631 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
23633 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
23635 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
23637 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
23641 # Always prepend --prefix to ensure using the same prefix
23642 # in subdir configurations.
23643 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
23646 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
23648 # Do not complain, so a configure script can configure whichever
23649 # parts of a large source tree are present.
23650 test -d $srcdir/$ac_dir ||
continue
23652 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
23653 echo "$as_me: configuring in $ac_dir" >&6;}
23654 { if $as_mkdir_p; then
23659 while test ! -d "$as_dir"; do
23660 as_dirs
="$as_dir $as_dirs"
23661 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23662 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23663 X"$as_dir" : 'X\(//\)[^/]' \| \
23664 X"$as_dir" : 'X\(//\)$' \| \
23665 X"$as_dir" : 'X\(/\)' \| \
23666 . : '\(.\)' 2>/dev/null ||
23668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23669 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23670 /^X\(\/\/\)$/{ s//\1/; q; }
23671 /^X\(\/\).*/{ s//\1/; q; }
23674 test ! -n "$as_dirs" || mkdir
$as_dirs
23675 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23676 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23677 { (exit 1); exit 1; }; }; }
23681 if test "$ac_dir" != .
; then
23682 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23683 # A "../" for each directory in $ac_dir_suffix.
23684 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23686 ac_dir_suffix
= ac_top_builddir
=
23690 .
) # No --srcdir option. We are building in place.
23692 if test -z "$ac_top_builddir"; then
23695 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23697 [\\/]* | ?
:[\\/]* ) # Absolute path.
23698 ac_srcdir
=$srcdir$ac_dir_suffix;
23699 ac_top_srcdir
=$srcdir ;;
23700 *) # Relative path.
23701 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23702 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23705 # Do not use `cd foo && pwd` to compute absolute paths, because
23706 # the directories may not exist.
23708 .
) ac_abs_builddir
="$ac_dir";;
23711 .
) ac_abs_builddir
=`pwd`;;
23712 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23713 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23716 case $ac_abs_builddir in
23717 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23719 case ${ac_top_builddir}.
in
23720 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23721 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23722 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23725 case $ac_abs_builddir in
23726 .
) ac_abs_srcdir
=$ac_srcdir;;
23729 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23730 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23731 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23734 case $ac_abs_builddir in
23735 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23737 case $ac_top_srcdir in
23738 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23739 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23740 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23747 # Check for guested configure; otherwise get Cygnus style configure.
23748 if test -f $ac_srcdir/configure.gnu
; then
23749 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
23750 elif test -f $ac_srcdir/configure
; then
23751 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
23752 elif test -f $ac_srcdir/configure.
in; then
23753 ac_sub_configure
=$ac_configure
23755 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
23756 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
23760 # The recursion is here.
23761 if test -n "$ac_sub_configure"; then
23762 # Make the cache file name correct relative to the subdirectory.
23763 case $cache_file in
23764 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
23765 *) # Relative path.
23766 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
23769 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
23770 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
23771 # The eval makes quoting arguments work.
23772 eval $ac_sub_configure $ac_sub_configure_args \
23773 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
23774 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
23775 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
23776 { (exit 1); exit 1; }; }