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 ac_subdirs_all
="$ac_subdirs_all doc testsuite"
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_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_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 USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT localedir PACKAGE subdirs AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB YACC AR ac_ct_AR DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES MIG ac_ct_MIG READLINE READLINE_DEPS READLINE_CFLAGS HAVE_LIBEXPAT LIBEXPAT LTLIBEXPAT ALLOCA 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'
317 ac_subst_files
='host_makefile_frag target_makefile_frag'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
375 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
378 -build |
--build |
--buil |
--bui |
--bu)
379 ac_prev
=build_alias
;;
380 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
384 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
385 ac_prev
=cache_file
;;
386 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
387 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
395 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* |
--disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* |
--enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
422 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
423 |
--exec |
--exe |
--ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
426 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
427 |
--exec=* |
--exe=* |
--ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas |
--gas |
--ga |
--g)
431 # Obsolete; use --with-gas.
434 -help |
--help |
--hel |
--he |
-h)
436 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
439 ac_init_help
=short
;;
441 -host |
--host |
--hos |
--ho)
442 ac_prev
=host_alias
;;
443 -host=* |
--host=* |
--hos=* |
--ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir |
--includedir |
--includedi |
--included |
--include \
447 |
--includ |
--inclu |
--incl |
--inc)
448 ac_prev
=includedir
;;
449 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
450 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
455 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir |
--libdir |
--libdi |
--libd)
460 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
463 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
464 |
--libexe |
--libex |
--libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
467 |
--libexe=* |
--libex=* |
--libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
471 |
--localstate |
--localstat |
--localsta |
--localst \
472 |
--locals |
--local |
--loca |
--loc |
--lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
475 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
476 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
481 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
485 # Obsolete; use --without-fp.
488 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
489 |
--no-cr |
--no-c |
-n)
492 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
493 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
496 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
497 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
498 |
--oldin |
--oldi |
--old |
--ol |
--o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
501 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
502 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
507 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
510 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
511 |
--program-pre |
--program-pr |
--program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
514 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
518 |
--program-suf |
--program-su |
--program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
521 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name |
--program-transform-name \
525 |
--program-transform-nam |
--program-transform-na \
526 |
--program-transform-n |
--program-transform- \
527 |
--program-transform |
--program-transfor \
528 |
--program-transfo |
--program-transf \
529 |
--program-trans |
--program-tran \
530 |
--progr-tra |
--program-tr |
--program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* |
--program-transform-name=* \
533 |
--program-transform-nam=* |
--program-transform-na=* \
534 |
--program-transform-n=* |
--program-transform-=* \
535 |
--program-transform=* |
--program-transfor=* \
536 |
--program-transfo=* |
--program-transf=* \
537 |
--program-trans=* |
--program-tran=* \
538 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
542 |
-silent |
--silent |
--silen |
--sile |
--sil)
545 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
547 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
552 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
553 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
557 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
558 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site |
--site |
--sit)
564 -site=* |
--site=* |
--sit=*)
567 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
569 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
572 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
573 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
576 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
580 ac_prev
=target_alias
;;
581 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
582 target_alias
=$ac_optarg ;;
584 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
587 -version |
--version |
--versio |
--versi |
--vers |
-V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* |
--without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
617 |
--x-incl |
--x-inc |
--x-in |
--x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
620 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
624 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
627 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
779 # Report the --help message.
781 if test "$ac_init_help" = "long"; then
782 # Omit some internal or obsolete options to make the list less imposing.
783 # This message is too long to be a string in the A/UX 3.1 sh.
785 \`configure' configures this package to adapt to many kinds of systems.
787 Usage: $0 [OPTION]... [VAR=VALUE]...
789 To assign environment variables (e.g., CC, CFLAGS...), specify them as
790 VAR=VALUE. See below for descriptions of some of the useful variables.
792 Defaults for the options are specified in brackets.
795 -h, --help display this help and exit
796 --help=short display options specific to this package
797 --help=recursive display the short help of all the included packages
798 -V, --version display version information and exit
799 -q, --quiet, --silent do not print \`checking...' messages
800 --cache-file=FILE cache test results in FILE [disabled]
801 -C, --config-cache alias for \`--cache-file=config.cache'
802 -n, --no-create do not create output files
803 --srcdir=DIR find the sources in DIR [configure dir or \`..']
808 Installation directories:
809 --prefix=PREFIX install architecture-independent files in PREFIX
811 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
814 By default, \`make install' will install all the files in
815 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
816 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
817 for instance \`--prefix=\$HOME'.
819 For better control, use the options below.
821 Fine tuning of the installation directories:
822 --bindir=DIR user executables [EPREFIX/bin]
823 --sbindir=DIR system admin executables [EPREFIX/sbin]
824 --libexecdir=DIR program executables [EPREFIX/libexec]
825 --datadir=DIR read-only architecture-independent data [PREFIX/share]
826 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
827 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
828 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
829 --libdir=DIR object code libraries [EPREFIX/lib]
830 --includedir=DIR C header files [PREFIX/include]
831 --oldincludedir=DIR C header files for non-gcc [/usr/include]
832 --infodir=DIR info documentation [PREFIX/info]
833 --mandir=DIR man documentation [PREFIX/man]
839 --program-prefix=PREFIX prepend PREFIX to installed program names
840 --program-suffix=SUFFIX append SUFFIX to installed program names
841 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
844 --x-includes=DIR X include files are
in DIR
845 --x-libraries=DIR X library files are
in DIR
848 --build=BUILD configure
for building on BUILD
[guessed
]
849 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
850 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
854 if test -n "$ac_init_help"; then
859 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
860 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
861 --enable-maintainer-mode enable make rules and dependencies not useful
862 (and sometimes confusing
) to the casual installer
863 --disable-gdbcli disable command-line interface
(CLI
)
864 --disable-gdbmi disable machine-interface
(MI
)
865 --enable-tui enable full-screen terminal user interface
(TUI
)
866 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
867 --enable-profiling enable profiling of GDB
868 --disable-rpath do not hardcode runtime library paths
869 --enable-werror treat compile warnings as errors
870 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
871 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
872 --enable-sim Link gdb with simulator
873 --enable-multi-ice build the multi-ice-gdb-server
876 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
877 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
878 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
879 --with-libunwind Use libunwind frame unwinding support
880 --with-system-readline use installed readline library
881 --with-expat include expat support
(auto
/yes
/no
)
882 --with-gnu-ld assume the C compiler uses GNU ld default
=no
883 --with-libexpat-prefix[=DIR
] search
for libexpat
in DIR
/include and DIR
/lib
884 --without-libexpat-prefix don
't search for libexpat in includedir and libdir
885 --without-included-regex don't use included regex
; this is the default
886 on systems with version
2 of the GNU C library
887 (use with caution on other system
)
888 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
889 --with-tclconfig=DIR Directory containing tcl configuration
(tclConfig.sh
)
890 --with-tkconfig=DIR Directory containing tk configuration
(tkConfig.sh
)
891 --with-tclinclude=DIR Directory where tcl private headers are
892 --with-tkinclude=DIR Directory where tk private headers are
893 --with-itclconfig Directory containing itcl configuration
(itclConfig.sh
)
894 --with-itkconfig Directory containing itk configuration
(itkConfig.sh
)
895 --with-x use the X Window System
896 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
898 Some influential environment variables
:
899 CC C compiler
command
900 CFLAGS C compiler flags
901 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
902 nonstandard directory
<lib dir
>
903 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
904 headers
in a nonstandard directory
<include dir
>
907 Use these variables to override the choices made by
`configure' or to help
908 it to find libraries and programs with nonstandard names/locations.
913 if test "$ac_init_help" = "recursive"; then
914 # If there are subdirs, report their specific --help.
916 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
917 test -d $ac_dir || continue
920 if test "$ac_dir" != .; then
921 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
922 # A "../" for each directory in $ac_dir_suffix.
923 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
925 ac_dir_suffix= ac_top_builddir=
929 .) # No --srcdir option. We are building in place.
931 if test -z "$ac_top_builddir"; then
934 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
936 [\\/]* | ?:[\\/]* ) # Absolute path.
937 ac_srcdir=$srcdir$ac_dir_suffix;
938 ac_top_srcdir=$srcdir ;;
940 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
941 ac_top_srcdir=$ac_top_builddir$srcdir ;;
944 # Do not use `cd foo
&& pwd` to compute absolute paths, because
945 # the directories may not exist.
947 .) ac_abs_builddir="$ac_dir";;
950 .) ac_abs_builddir=`pwd`;;
951 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
952 *) ac_abs_builddir=`pwd`/"$ac_dir";;
955 case $ac_abs_builddir in
956 .) ac_abs_top_builddir=${ac_top_builddir}.;;
958 case ${ac_top_builddir}. in
959 .) ac_abs_top_builddir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
961 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
964 case $ac_abs_builddir in
965 .) ac_abs_srcdir=$ac_srcdir;;
968 .) ac_abs_srcdir=$ac_abs_builddir;;
969 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
970 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
973 case $ac_abs_builddir in
974 .) ac_abs_top_srcdir=$ac_top_srcdir;;
976 case $ac_top_srcdir in
977 .) ac_abs_top_srcdir=$ac_abs_builddir;;
978 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
979 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
984 # Check for guested configure; otherwise get Cygnus style configure.
985 if test -f $ac_srcdir/configure.gnu; then
987 $SHELL $ac_srcdir/configure.gnu --help=recursive
988 elif test -f $ac_srcdir/configure; then
990 $SHELL $ac_srcdir/configure --help=recursive
991 elif test -f $ac_srcdir/configure.ac ||
992 test -f $ac_srcdir/configure.in; then
996 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1002 test -n "$ac_init_help" && exit 0
1003 if $ac_init_version; then
1006 Copyright (C) 2003 Free Software Foundation, Inc.
1007 This configure script is free software; the Free Software Foundation
1008 gives unlimited permission to copy, distribute and modify it.
1014 This file contains any messages produced by compilers while
1015 running configure, to aid debugging if configure makes a mistake.
1017 It was created by $as_me, which was
1018 generated by GNU Autoconf 2.59. Invocation command line was
1029 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1030 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1031 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1032 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1033 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1035 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1036 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1038 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1039 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1040 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1041 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1042 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1043 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1044 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1052 test -z "$as_dir" && as_dir=.
1053 echo "PATH: $as_dir"
1068 # Keep a trace of the command line.
1069 # Strip out --no-create and --no-recursion so they do not pile up.
1070 # Strip out --silent because we don't want to record it for future runs.
1071 # Also quote any args containing shell meta-characters.
1072 # Make two passes to allow for proper duplicate-argument suppression.
1077 ac_must_keep_next=false
1083 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085 | -silent | --silent | --silen | --sile | --sil)
1087 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1088 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1091 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1093 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1094 if test $ac_must_keep_next = true; then
1095 ac_must_keep_next=false # Got value, back to normal.
1098 *=* | --config-cache | -C | -disable-* | --disable-* \
1099 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1100 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1101 | -with-* | --with-* | -without-* | --without-* | --x)
1102 case "$ac_configure_args0 " in
1103 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1106 -* ) ac_must_keep_next=true ;;
1109 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1110 # Get rid of the leading space.
1116 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1117 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1119 # When interrupted or exit'd, cleanup temporary files, and complete
1120 # config.log. We remove comments because anyway the quotes in there
1121 # would cause problems or look ugly.
1122 # WARNING: Be sure not to use single quotes in there, as some shells,
1123 # such as our DU 5.0 friend, will then `close
' the trap.
1124 trap 'exit_status
=$?
1125 # Save into config.log some information that might help in debugging.
1130 ## ---------------- ##
1131 ## Cache variables. ##
1132 ## ---------------- ##
1135 # The following way of writing the cache mishandles newlines in values,
1138 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1141 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1142 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1146 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1153 ## ----------------- ##
1154 ## Output variables. ##
1155 ## ----------------- ##
1158 for ac_var
in $ac_subst_vars
1160 eval ac_val
=$
`echo $ac_var`
1161 echo "$ac_var='"'"'$ac_val'"'"'"
1165 if test -n "$ac_subst_files"; then
1172 for ac_var
in $ac_subst_files
1174 eval ac_val
=$
`echo $ac_var`
1175 echo "$ac_var='"'"'$ac_val'"'"'"
1180 if test -s confdefs.h
; then
1187 sed "/^$/d" confdefs.h |
sort
1190 test "$ac_signal" != 0 &&
1191 echo "$as_me: caught signal $ac_signal"
1192 echo "$as_me: exit $exit_status"
1194 rm -f core
*.core
&&
1195 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1198 for ac_signal in 1 2 13 15; do
1199 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1203 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1204 rm -rf conftest* confdefs.h
1205 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1208 # Predefined preprocessor variables.
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_NAME "$PACKAGE_NAME"
1215 cat >>confdefs.h <<_ACEOF
1216 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1220 cat >>confdefs.h <<_ACEOF
1221 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_STRING "$PACKAGE_STRING"
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1235 # Let the site file select an alternate cache file if it wants to.
1236 # Prefer explicitly selected file to automatically selected ones.
1237 if test -z "$CONFIG_SITE"; then
1238 if test "x$prefix" != xNONE; then
1239 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1241 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1244 for ac_site_file in $CONFIG_SITE; do
1245 if test -r "$ac_site_file"; then
1246 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1247 echo "$as_me: loading site script $ac_site_file" >&6;}
1248 sed 's
/^
/|
/' "$ac_site_file" >&5
1253 if test -r "$cache_file"; then
1254 # Some versions of bash will fail to source /dev/null (special
1255 # files actually), so we avoid doing that.
1256 if test -f "$cache_file"; then
1257 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1258 echo "$as_me: loading cache $cache_file" >&6;}
1260 [\\/]* | ?:[\\/]* ) . $cache_file;;
1261 *) . ./$cache_file;;
1265 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1266 echo "$as_me: creating cache $cache_file" >&6;}
1270 # Check that the precious variables saved in the cache have kept the same
1272 ac_cache_corrupted=false
1273 for ac_var in `(set) 2>&1 |
1274 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1275 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1276 eval ac_new_set=\$ac_env_${ac_var}_set
1277 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1278 eval ac_new_val="\$ac_env_${ac_var}_value"
1279 case $ac_old_set,$ac_new_set in
1281 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1282 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1283 ac_cache_corrupted=: ;;
1285 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1286 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1287 ac_cache_corrupted=: ;;
1290 if test "x$ac_old_val" != "x$ac_new_val"; then
1291 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1292 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1293 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1294 echo "$as_me: former value: $ac_old_val" >&2;}
1295 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1296 echo "$as_me: current value: $ac_new_val" >&2;}
1297 ac_cache_corrupted=:
1300 # Pass precious variables to config.status.
1301 if test "$ac_new_set" = set; then
1303 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1304 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1305 *) ac_arg=$ac_var=$ac_new_val ;;
1307 case " $ac_configure_args " in
1308 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1309 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1313 if $ac_cache_corrupted; then
1314 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1315 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1316 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1317 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1318 { (exit 1); exit 1; }; }
1322 ac_cpp='$CPP $CPPFLAGS'
1323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1324 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1345 ac_config_headers="$ac_config_headers config.h:config.in"
1347 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1348 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1349 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1350 if test "${enable_maintainer_mode+set}" = set; then
1351 enableval="$enable_maintainer_mode"
1352 USE_MAINTAINER_MODE=$enableval
1354 USE_MAINTAINER_MODE=no
1356 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1357 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1360 if test $USE_MAINTAINER_MODE = yes; then
1361 MAINTAINER_MODE_TRUE=
1362 MAINTAINER_MODE_FALSE='#'
1364 MAINTAINER_MODE_TRUE
='#'
1365 MAINTAINER_MODE_FALSE
=
1368 MAINT
=$MAINTAINER_MODE_TRUE
1373 ac_cpp
='$CPP $CPPFLAGS'
1374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1377 if test -n "$ac_tool_prefix"; then
1378 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1379 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1380 echo "$as_me:$LINENO: checking for $ac_word" >&5
1381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1382 if test "${ac_cv_prog_CC+set}" = set; then
1383 echo $ECHO_N "(cached) $ECHO_C" >&6
1385 if test -n "$CC"; then
1386 ac_cv_prog_CC
="$CC" # Let the user override the test.
1388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1392 test -z "$as_dir" && as_dir
=.
1393 for ac_exec_ext
in '' $ac_executable_extensions; do
1394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1395 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1405 if test -n "$CC"; then
1406 echo "$as_me:$LINENO: result: $CC" >&5
1407 echo "${ECHO_T}$CC" >&6
1409 echo "$as_me:$LINENO: result: no" >&5
1410 echo "${ECHO_T}no" >&6
1414 if test -z "$ac_cv_prog_CC"; then
1416 # Extract the first word of "gcc", so it can be a program name with args.
1417 set dummy gcc
; ac_word
=$2
1418 echo "$as_me:$LINENO: checking for $ac_word" >&5
1419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1421 echo $ECHO_N "(cached) $ECHO_C" >&6
1423 if test -n "$ac_ct_CC"; then
1424 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1430 test -z "$as_dir" && as_dir
=.
1431 for ac_exec_ext
in '' $ac_executable_extensions; do
1432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1433 ac_cv_prog_ac_ct_CC
="gcc"
1434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1442 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1443 if test -n "$ac_ct_CC"; then
1444 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1445 echo "${ECHO_T}$ac_ct_CC" >&6
1447 echo "$as_me:$LINENO: result: no" >&5
1448 echo "${ECHO_T}no" >&6
1456 if test -z "$CC"; then
1457 if test -n "$ac_tool_prefix"; then
1458 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1459 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1460 echo "$as_me:$LINENO: checking for $ac_word" >&5
1461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1462 if test "${ac_cv_prog_CC+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 if test -n "$CC"; then
1466 ac_cv_prog_CC
="$CC" # Let the user override the test.
1468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1472 test -z "$as_dir" && as_dir
=.
1473 for ac_exec_ext
in '' $ac_executable_extensions; do
1474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1475 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1485 if test -n "$CC"; then
1486 echo "$as_me:$LINENO: result: $CC" >&5
1487 echo "${ECHO_T}$CC" >&6
1489 echo "$as_me:$LINENO: result: no" >&5
1490 echo "${ECHO_T}no" >&6
1494 if test -z "$ac_cv_prog_CC"; then
1496 # Extract the first word of "cc", so it can be a program name with args.
1497 set dummy cc
; ac_word
=$2
1498 echo "$as_me:$LINENO: checking for $ac_word" >&5
1499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1500 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1501 echo $ECHO_N "(cached) $ECHO_C" >&6
1503 if test -n "$ac_ct_CC"; then
1504 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1510 test -z "$as_dir" && as_dir
=.
1511 for ac_exec_ext
in '' $ac_executable_extensions; do
1512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1513 ac_cv_prog_ac_ct_CC
="cc"
1514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1522 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1523 if test -n "$ac_ct_CC"; then
1524 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1525 echo "${ECHO_T}$ac_ct_CC" >&6
1527 echo "$as_me:$LINENO: result: no" >&5
1528 echo "${ECHO_T}no" >&6
1537 if test -z "$CC"; then
1538 # Extract the first word of "cc", so it can be a program name with args.
1539 set dummy cc
; ac_word
=$2
1540 echo "$as_me:$LINENO: checking for $ac_word" >&5
1541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1542 if test "${ac_cv_prog_CC+set}" = set; then
1543 echo $ECHO_N "(cached) $ECHO_C" >&6
1545 if test -n "$CC"; then
1546 ac_cv_prog_CC
="$CC" # Let the user override the test.
1549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1553 test -z "$as_dir" && as_dir
=.
1554 for ac_exec_ext
in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1557 ac_prog_rejected
=yes
1561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1567 if test $ac_prog_rejected = yes; then
1568 # We found a bogon in the path, so make sure we never use it.
1569 set dummy
$ac_cv_prog_CC
1571 if test $# != 0; then
1572 # We chose a different compiler from the bogus one.
1573 # However, it has the same basename, so the bogon will be chosen
1574 # first if we set CC to just the basename; use the full file name.
1576 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1582 if test -n "$CC"; then
1583 echo "$as_me:$LINENO: result: $CC" >&5
1584 echo "${ECHO_T}$CC" >&6
1586 echo "$as_me:$LINENO: result: no" >&5
1587 echo "${ECHO_T}no" >&6
1591 if test -z "$CC"; then
1592 if test -n "$ac_tool_prefix"; then
1595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1596 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1597 echo "$as_me:$LINENO: checking for $ac_word" >&5
1598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1599 if test "${ac_cv_prog_CC+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 if test -n "$CC"; then
1603 ac_cv_prog_CC
="$CC" # Let the user override the test.
1605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1609 test -z "$as_dir" && as_dir
=.
1610 for ac_exec_ext
in '' $ac_executable_extensions; do
1611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1612 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1622 if test -n "$CC"; then
1623 echo "$as_me:$LINENO: result: $CC" >&5
1624 echo "${ECHO_T}$CC" >&6
1626 echo "$as_me:$LINENO: result: no" >&5
1627 echo "${ECHO_T}no" >&6
1630 test -n "$CC" && break
1633 if test -z "$CC"; then
1637 # Extract the first word of "$ac_prog", so it can be a program name with args.
1638 set dummy
$ac_prog; ac_word
=$2
1639 echo "$as_me:$LINENO: checking for $ac_word" >&5
1640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1644 if test -n "$ac_ct_CC"; then
1645 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1651 test -z "$as_dir" && as_dir
=.
1652 for ac_exec_ext
in '' $ac_executable_extensions; do
1653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1654 ac_cv_prog_ac_ct_CC
="$ac_prog"
1655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1664 if test -n "$ac_ct_CC"; then
1665 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1666 echo "${ECHO_T}$ac_ct_CC" >&6
1668 echo "$as_me:$LINENO: result: no" >&5
1669 echo "${ECHO_T}no" >&6
1672 test -n "$ac_ct_CC" && break
1681 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1682 See \`config.log' for more details." >&5
1683 echo "$as_me: error: no acceptable C compiler found in \$PATH
1684 See \`config.log' for more details." >&2;}
1685 { (exit 1); exit 1; }; }
1687 # Provide some information about the compiler.
1688 echo "$as_me:$LINENO:" \
1689 "checking for C compiler version" >&5
1690 ac_compiler
=`set X $ac_compile; echo $2`
1691 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1692 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1695 (exit $ac_status); }
1696 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1697 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1700 (exit $ac_status); }
1701 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1702 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1705 (exit $ac_status); }
1707 cat >conftest.
$ac_ext <<_ACEOF
1710 cat confdefs.h
>>conftest.
$ac_ext
1711 cat >>conftest.
$ac_ext <<_ACEOF
1712 /* end confdefs.h. */
1722 ac_clean_files_save
=$ac_clean_files
1723 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1724 # Try to create an executable without -o first, disregard a.out.
1725 # It will help us diagnose broken compilers, and finding out an intuition
1727 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1728 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1729 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1730 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1731 (eval $ac_link_default) 2>&5
1733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1734 (exit $ac_status); }; then
1735 # Find the output, starting from the most likely. This scheme is
1736 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1739 # Be careful to initialize this variable, since it used to be cached.
1740 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1742 # b.out is created by i960 compilers.
1743 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1745 test -f "$ac_file" ||
continue
1747 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1750 # This is the source file.
1753 # We found the default executable, but exeext='' is most
1757 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1758 # FIXME: I believe we export ac_cv_exeext for Libtool,
1759 # but it would be cool to find out if it's true. Does anybody
1760 # maintain Libtool? --akim.
1768 echo "$as_me: failed program was:" >&5
1769 sed 's/^/| /' conftest.
$ac_ext >&5
1771 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1772 See \`config.log' for more details." >&5
1773 echo "$as_me: error: C compiler cannot create executables
1774 See \`config.log' for more details." >&2;}
1775 { (exit 77); exit 77; }; }
1778 ac_exeext
=$ac_cv_exeext
1779 echo "$as_me:$LINENO: result: $ac_file" >&5
1780 echo "${ECHO_T}$ac_file" >&6
1782 # Check the compiler produces executables we can run. If not, either
1783 # the compiler is broken, or we cross compile.
1784 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1785 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1786 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1787 # If not cross compiling, check that we can run a simple program.
1788 if test "$cross_compiling" != yes; then
1789 if { ac_try
='./$ac_file'
1790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1794 (exit $ac_status); }; }; then
1797 if test "$cross_compiling" = maybe
; then
1800 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1801 If you meant to cross compile, use \`--host'.
1802 See \`config.log' for more details." >&5
1803 echo "$as_me: error: cannot run C compiled programs.
1804 If you meant to cross compile, use \`--host'.
1805 See \`config.log' for more details." >&2;}
1806 { (exit 1); exit 1; }; }
1810 echo "$as_me:$LINENO: result: yes" >&5
1811 echo "${ECHO_T}yes" >&6
1813 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1814 ac_clean_files
=$ac_clean_files_save
1815 # Check the compiler produces executables we can run. If not, either
1816 # the compiler is broken, or we cross compile.
1817 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1818 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1819 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1820 echo "${ECHO_T}$cross_compiling" >&6
1822 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1823 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1825 (eval $ac_link) 2>&5
1827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1828 (exit $ac_status); }; then
1829 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1830 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1831 # work properly (i.e., refer to `conftest.exe'), while it won't with
1833 for ac_file
in conftest.exe conftest conftest.
*; do
1834 test -f "$ac_file" ||
continue
1836 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1837 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1844 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1845 See \`config.log' for more details." >&5
1846 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1847 See \`config.log' for more details." >&2;}
1848 { (exit 1); exit 1; }; }
1851 rm -f conftest
$ac_cv_exeext
1852 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1853 echo "${ECHO_T}$ac_cv_exeext" >&6
1855 rm -f conftest.
$ac_ext
1856 EXEEXT
=$ac_cv_exeext
1858 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1859 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1860 if test "${ac_cv_objext+set}" = set; then
1861 echo $ECHO_N "(cached) $ECHO_C" >&6
1863 cat >conftest.
$ac_ext <<_ACEOF
1866 cat confdefs.h
>>conftest.
$ac_ext
1867 cat >>conftest.
$ac_ext <<_ACEOF
1868 /* end confdefs.h. */
1878 rm -f conftest.o conftest.obj
1879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1880 (eval $ac_compile) 2>&5
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); }; then
1884 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1886 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1887 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1892 echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.
$ac_ext >&5
1895 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1896 See \`config.log' for more details." >&5
1897 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1898 See \`config.log' for more details." >&2;}
1899 { (exit 1); exit 1; }; }
1902 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1904 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1905 echo "${ECHO_T}$ac_cv_objext" >&6
1906 OBJEXT
=$ac_cv_objext
1908 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1909 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1910 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1911 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 cat >conftest.
$ac_ext <<_ACEOF
1916 cat confdefs.h
>>conftest.
$ac_ext
1917 cat >>conftest.
$ac_ext <<_ACEOF
1918 /* end confdefs.h. */
1931 rm -f conftest.
$ac_objext
1932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1933 (eval $ac_compile) 2>conftest.er1
1935 grep -v '^ *+' conftest.er1
>conftest.err
1937 cat conftest.err
>&5
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939 (exit $ac_status); } &&
1940 { ac_try
='test -z "$ac_c_werror_flag"
1941 || test ! -s conftest.err'
1942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; } &&
1947 { ac_try
='test -s conftest.$ac_objext'
1948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952 (exit $ac_status); }; }; then
1955 echo "$as_me: failed program was:" >&5
1956 sed 's/^/| /' conftest.
$ac_ext >&5
1960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1961 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1964 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1965 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1966 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1967 ac_test_CFLAGS
=${CFLAGS+set}
1968 ac_save_CFLAGS
=$CFLAGS
1970 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1971 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1972 if test "${ac_cv_prog_cc_g+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 cat >conftest.
$ac_ext <<_ACEOF
1978 cat confdefs.h
>>conftest.
$ac_ext
1979 cat >>conftest.
$ac_ext <<_ACEOF
1980 /* end confdefs.h. */
1990 rm -f conftest.
$ac_objext
1991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1992 (eval $ac_compile) 2>conftest.er1
1994 grep -v '^ *+' conftest.er1
>conftest.err
1996 cat conftest.err
>&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); } &&
1999 { ac_try
='test -z "$ac_c_werror_flag"
2000 || test ! -s conftest.err'
2001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 (exit $ac_status); }; } &&
2006 { ac_try
='test -s conftest.$ac_objext'
2007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }; }; then
2014 echo "$as_me: failed program was:" >&5
2015 sed 's/^/| /' conftest.
$ac_ext >&5
2019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2021 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2022 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2023 if test "$ac_test_CFLAGS" = set; then
2024 CFLAGS
=$ac_save_CFLAGS
2025 elif test $ac_cv_prog_cc_g = yes; then
2026 if test "$GCC" = yes; then
2032 if test "$GCC" = yes; then
2038 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2039 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2040 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2041 echo $ECHO_N "(cached) $ECHO_C" >&6
2043 ac_cv_prog_cc_stdc
=no
2045 cat >conftest.
$ac_ext <<_ACEOF
2048 cat confdefs.h
>>conftest.
$ac_ext
2049 cat >>conftest.
$ac_ext <<_ACEOF
2050 /* end confdefs.h. */
2053 #include <sys/types.h>
2054 #include <sys/stat.h>
2055 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2056 struct buf { int x; };
2057 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2058 static char *e (p, i)
2064 static char *f (char * (*g) (char **, int), char **p, ...)
2069 s = g (p, va_arg (v,int));
2074 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2075 function prototypes and stuff, but not '\xHH' hex character constants.
2076 These don't provoke an error unfortunately, instead are silently treated
2077 as 'x'. The following induces an error, until -std1 is added to get
2078 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2079 array size at least. It's necessary to write '\x00'==0 to get something
2080 that's true only with -std1. */
2081 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2083 int test (int i, double x);
2084 struct s1 {int (*f) (int a);};
2085 struct s2 {int (*f) (double a);};
2086 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2092 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2097 # Don't try gcc -ansi; that turns off useful extensions and
2098 # breaks some systems' header files.
2099 # AIX -qlanglvl=ansi
2100 # Ultrix and OSF/1 -std1
2101 # HP-UX 10.20 and later -Ae
2102 # HP-UX older versions -Aa -D_HPUX_SOURCE
2103 # SVR4 -Xc -D__EXTENSIONS__
2104 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2106 CC
="$ac_save_CC $ac_arg"
2107 rm -f conftest.
$ac_objext
2108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2109 (eval $ac_compile) 2>conftest.er1
2111 grep -v '^ *+' conftest.er1
>conftest.err
2113 cat conftest.err
>&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); } &&
2116 { ac_try
='test -z "$ac_c_werror_flag"
2117 || test ! -s conftest.err'
2118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); }; } &&
2123 { ac_try
='test -s conftest.$ac_objext'
2124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }; }; then
2129 ac_cv_prog_cc_stdc
=$ac_arg
2132 echo "$as_me: failed program was:" >&5
2133 sed 's/^/| /' conftest.
$ac_ext >&5
2136 rm -f conftest.err conftest.
$ac_objext
2138 rm -f conftest.
$ac_ext conftest.
$ac_objext
2143 case "x$ac_cv_prog_cc_stdc" in
2145 echo "$as_me:$LINENO: result: none needed" >&5
2146 echo "${ECHO_T}none needed" >&6 ;;
2148 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2149 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2150 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2153 # Some people use a C++ compiler to compile C. Since we use `exit',
2154 # in C++ we need to declare it. In case someone uses the same compiler
2155 # for both compiling C and C++ we need to have the C++ compiler decide
2156 # the declaration of exit, since it's the most demanding environment.
2157 cat >conftest.
$ac_ext <<_ACEOF
2162 rm -f conftest.
$ac_objext
2163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2164 (eval $ac_compile) 2>conftest.er1
2166 grep -v '^ *+' conftest.er1
>conftest.err
2168 cat conftest.err
>&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); } &&
2171 { ac_try
='test -z "$ac_c_werror_flag"
2172 || test ! -s conftest.err'
2173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }; } &&
2178 { ac_try
='test -s conftest.$ac_objext'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; }; then
2184 for ac_declaration
in \
2186 'extern "C" void std::exit (int) throw (); using std::exit;' \
2187 'extern "C" void std::exit (int); using std::exit;' \
2188 'extern "C" void exit (int) throw ();' \
2189 'extern "C" void exit (int);' \
2192 cat >conftest.
$ac_ext <<_ACEOF
2195 cat confdefs.h
>>conftest.
$ac_ext
2196 cat >>conftest.
$ac_ext <<_ACEOF
2197 /* end confdefs.h. */
2208 rm -f conftest.
$ac_objext
2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2210 (eval $ac_compile) 2>conftest.er1
2212 grep -v '^ *+' conftest.er1
>conftest.err
2214 cat conftest.err
>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); } &&
2217 { ac_try
='test -z "$ac_c_werror_flag"
2218 || test ! -s conftest.err'
2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; } &&
2224 { ac_try
='test -s conftest.$ac_objext'
2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); }; }; then
2232 echo "$as_me: failed program was:" >&5
2233 sed 's/^/| /' conftest.
$ac_ext >&5
2237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2238 cat >conftest.
$ac_ext <<_ACEOF
2241 cat confdefs.h
>>conftest.
$ac_ext
2242 cat >>conftest.
$ac_ext <<_ACEOF
2243 /* end confdefs.h. */
2253 rm -f conftest.
$ac_objext
2254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2255 (eval $ac_compile) 2>conftest.er1
2257 grep -v '^ *+' conftest.er1
>conftest.err
2259 cat conftest.err
>&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); } &&
2262 { ac_try
='test -z "$ac_c_werror_flag"
2263 || test ! -s conftest.err'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; } &&
2269 { ac_try
='test -s conftest.$ac_objext'
2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; }; then
2277 echo "$as_me: failed program was:" >&5
2278 sed 's/^/| /' conftest.
$ac_ext >&5
2281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2284 if test -n "$ac_declaration"; then
2285 echo '#ifdef __cplusplus' >>confdefs.h
2286 echo $ac_declaration >>confdefs.h
2287 echo '#endif' >>confdefs.h
2291 echo "$as_me: failed program was:" >&5
2292 sed 's/^/| /' conftest.
$ac_ext >&5
2295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2297 ac_cpp
='$CPP $CPPFLAGS'
2298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2303 cat >>confdefs.h
<<\_ACEOF
2304 #define _GNU_SOURCE 1
2310 ac_cpp
='$CPP $CPPFLAGS'
2311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2314 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2315 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2316 # On Suns, sometimes $CPP names a directory.
2317 if test -n "$CPP" && test -d "$CPP"; then
2320 if test -z "$CPP"; then
2321 if test "${ac_cv_prog_CPP+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 # Double quotes because CPP needs to be expanded
2325 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2328 for ac_c_preproc_warn_flag
in '' yes
2330 # Use a header file that comes with gcc, so configuring glibc
2331 # with a fresh cross-compiler works.
2332 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2333 # <limits.h> exists even on freestanding compilers.
2334 # On the NeXT, cc -E runs the code through the compiler's parser,
2335 # not just through cpp. "Syntax error" is here to catch this case.
2336 cat >conftest.
$ac_ext <<_ACEOF
2339 cat confdefs.h
>>conftest.
$ac_ext
2340 cat >>conftest.
$ac_ext <<_ACEOF
2341 /* end confdefs.h. */
2343 # include <limits.h>
2345 # include <assert.h>
2349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2350 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2352 grep -v '^ *+' conftest.er1
>conftest.err
2354 cat conftest.err
>&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); } >/dev
/null
; then
2357 if test -s conftest.err
; then
2358 ac_cpp_err
=$ac_c_preproc_warn_flag
2359 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2366 if test -z "$ac_cpp_err"; then
2369 echo "$as_me: failed program was:" >&5
2370 sed 's/^/| /' conftest.
$ac_ext >&5
2372 # Broken: fails on valid input.
2375 rm -f conftest.err conftest.
$ac_ext
2377 # OK, works on sane cases. Now check whether non-existent headers
2378 # can be detected and how.
2379 cat >conftest.
$ac_ext <<_ACEOF
2382 cat confdefs.h
>>conftest.
$ac_ext
2383 cat >>conftest.
$ac_ext <<_ACEOF
2384 /* end confdefs.h. */
2385 #include <ac_nonexistent.h>
2387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2388 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1
>conftest.err
2392 cat conftest.err
>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } >/dev
/null
; then
2395 if test -s conftest.err
; then
2396 ac_cpp_err
=$ac_c_preproc_warn_flag
2397 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2404 if test -z "$ac_cpp_err"; then
2405 # Broken: success on invalid input.
2408 echo "$as_me: failed program was:" >&5
2409 sed 's/^/| /' conftest.
$ac_ext >&5
2411 # Passes both tests.
2415 rm -f conftest.err conftest.
$ac_ext
2418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2419 rm -f conftest.err conftest.
$ac_ext
2420 if $ac_preproc_ok; then
2432 echo "$as_me:$LINENO: result: $CPP" >&5
2433 echo "${ECHO_T}$CPP" >&6
2435 for ac_c_preproc_warn_flag
in '' yes
2437 # Use a header file that comes with gcc, so configuring glibc
2438 # with a fresh cross-compiler works.
2439 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2440 # <limits.h> exists even on freestanding compilers.
2441 # On the NeXT, cc -E runs the code through the compiler's parser,
2442 # not just through cpp. "Syntax error" is here to catch this case.
2443 cat >conftest.
$ac_ext <<_ACEOF
2446 cat confdefs.h
>>conftest.
$ac_ext
2447 cat >>conftest.
$ac_ext <<_ACEOF
2448 /* end confdefs.h. */
2450 # include <limits.h>
2452 # include <assert.h>
2456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2457 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2459 grep -v '^ *+' conftest.er1
>conftest.err
2461 cat conftest.err
>&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); } >/dev
/null
; then
2464 if test -s conftest.err
; then
2465 ac_cpp_err
=$ac_c_preproc_warn_flag
2466 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2473 if test -z "$ac_cpp_err"; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.
$ac_ext >&5
2479 # Broken: fails on valid input.
2482 rm -f conftest.err conftest.
$ac_ext
2484 # OK, works on sane cases. Now check whether non-existent headers
2485 # can be detected and how.
2486 cat >conftest.
$ac_ext <<_ACEOF
2489 cat confdefs.h
>>conftest.
$ac_ext
2490 cat >>conftest.
$ac_ext <<_ACEOF
2491 /* end confdefs.h. */
2492 #include <ac_nonexistent.h>
2494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2495 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2497 grep -v '^ *+' conftest.er1
>conftest.err
2499 cat conftest.err
>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); } >/dev
/null
; then
2502 if test -s conftest.err
; then
2503 ac_cpp_err
=$ac_c_preproc_warn_flag
2504 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2511 if test -z "$ac_cpp_err"; then
2512 # Broken: success on invalid input.
2515 echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.
$ac_ext >&5
2518 # Passes both tests.
2522 rm -f conftest.err conftest.
$ac_ext
2525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2526 rm -f conftest.err conftest.
$ac_ext
2527 if $ac_preproc_ok; then
2530 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2531 See \`config.log' for more details." >&5
2532 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2533 See \`config.log' for more details." >&2;}
2534 { (exit 1); exit 1; }; }
2538 ac_cpp
='$CPP $CPPFLAGS'
2539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2544 echo "$as_me:$LINENO: checking for egrep" >&5
2545 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2546 if test "${ac_cv_prog_egrep+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2550 then ac_cv_prog_egrep
='grep -E'
2551 else ac_cv_prog_egrep
='egrep'
2554 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2555 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2556 EGREP
=$ac_cv_prog_egrep
2560 echo "$as_me:$LINENO: checking for AIX" >&5
2561 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2562 cat >conftest.
$ac_ext <<_ACEOF
2565 cat confdefs.h
>>conftest.
$ac_ext
2566 cat >>conftest.
$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2574 $EGREP "yes" >/dev
/null
2>&1; then
2575 echo "$as_me:$LINENO: result: yes" >&5
2576 echo "${ECHO_T}yes" >&6
2577 cat >>confdefs.h
<<\_ACEOF
2578 #define _ALL_SOURCE 1
2582 echo "$as_me:$LINENO: result: no" >&5
2583 echo "${ECHO_T}no" >&6
2588 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2589 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2590 if test "${ac_cv_search_strerror+set}" = set; then
2591 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 ac_func_search_save_LIBS
=$LIBS
2594 ac_cv_search_strerror
=no
2595 cat >conftest.
$ac_ext <<_ACEOF
2598 cat confdefs.h
>>conftest.
$ac_ext
2599 cat >>conftest.
$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2602 /* Override any gcc2 internal prototype to avoid an error. */
2606 /* We use char because int might match the return type of a gcc2
2607 builtin and then its argument prototype would still apply. */
2617 rm -f conftest.
$ac_objext conftest
$ac_exeext
2618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2619 (eval $ac_link) 2>conftest.er1
2621 grep -v '^ *+' conftest.er1
>conftest.err
2623 cat conftest.err
>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); } &&
2626 { ac_try
='test -z "$ac_c_werror_flag"
2627 || test ! -s conftest.err'
2628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); }; } &&
2633 { ac_try
='test -s conftest$ac_exeext'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2639 ac_cv_search_strerror
="none required"
2641 echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.
$ac_ext >&5
2645 rm -f conftest.err conftest.
$ac_objext \
2646 conftest
$ac_exeext conftest.
$ac_ext
2647 if test "$ac_cv_search_strerror" = no
; then
2648 for ac_lib
in cposix
; do
2649 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2650 cat >conftest.
$ac_ext <<_ACEOF
2653 cat confdefs.h
>>conftest.
$ac_ext
2654 cat >>conftest.
$ac_ext <<_ACEOF
2655 /* end confdefs.h. */
2657 /* Override any gcc2 internal prototype to avoid an error. */
2661 /* We use char because int might match the return type of a gcc2
2662 builtin and then its argument prototype would still apply. */
2672 rm -f conftest.
$ac_objext conftest
$ac_exeext
2673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2674 (eval $ac_link) 2>conftest.er1
2676 grep -v '^ *+' conftest.er1
>conftest.err
2678 cat conftest.err
>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); } &&
2681 { ac_try
='test -z "$ac_c_werror_flag"
2682 || test ! -s conftest.err'
2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; } &&
2688 { ac_try
='test -s conftest$ac_exeext'
2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2694 ac_cv_search_strerror
="-l$ac_lib"
2697 echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.
$ac_ext >&5
2701 rm -f conftest.err conftest.
$ac_objext \
2702 conftest
$ac_exeext conftest.
$ac_ext
2705 LIBS
=$ac_func_search_save_LIBS
2707 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2708 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2709 if test "$ac_cv_search_strerror" != no
; then
2710 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2717 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2718 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2719 if test "${am_cv_prog_cc_stdc+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 am_cv_prog_cc_stdc
=no
2724 # Don't try gcc -ansi; that turns off useful extensions and
2725 # breaks some systems' header files.
2726 # AIX -qlanglvl=ansi
2727 # Ultrix and OSF/1 -std1
2728 # HP-UX 10.20 and later -Ae
2729 # HP-UX older versions -Aa -D_HPUX_SOURCE
2730 # SVR4 -Xc -D__EXTENSIONS__
2731 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2733 CC
="$ac_save_CC $ac_arg"
2734 cat >conftest.
$ac_ext <<_ACEOF
2737 cat confdefs.h
>>conftest.
$ac_ext
2738 cat >>conftest.
$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2742 #include <sys/types.h>
2743 #include <sys/stat.h>
2744 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2745 struct buf { int x; };
2746 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2747 static char *e (p, i)
2753 static char *f (char * (*g) (char **, int), char **p, ...)
2758 s = g (p, va_arg (v,int));
2762 int test (int i, double x);
2763 struct s1 {int (*f) (int a);};
2764 struct s2 {int (*f) (double a);};
2765 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2773 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2779 rm -f conftest.
$ac_objext
2780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2781 (eval $ac_compile) 2>conftest.er1
2783 grep -v '^ *+' conftest.er1
>conftest.err
2785 cat conftest.err
>&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); } &&
2788 { ac_try
='test -z "$ac_c_werror_flag"
2789 || test ! -s conftest.err'
2790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; } &&
2795 { ac_try
='test -s conftest.$ac_objext'
2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; }; then
2801 am_cv_prog_cc_stdc
="$ac_arg"; break
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.
$ac_ext >&5
2807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2813 if test -z "$am_cv_prog_cc_stdc"; then
2814 echo "$as_me:$LINENO: result: none needed" >&5
2815 echo "${ECHO_T}none needed" >&6
2817 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2818 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2820 case "x$am_cv_prog_cc_stdc" in
2822 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2827 for ac_dir
in `cd $srcdir;pwd`/..
$srcdir/`cd $srcdir;pwd`/..
; do
2828 if test -f $ac_dir/install-sh
; then
2830 ac_install_sh
="$ac_aux_dir/install-sh -c"
2832 elif test -f $ac_dir/install.sh
; then
2834 ac_install_sh
="$ac_aux_dir/install.sh -c"
2836 elif test -f $ac_dir/shtool
; then
2838 ac_install_sh
="$ac_aux_dir/shtool install -c"
2842 if test -z "$ac_aux_dir"; then
2843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&5
2844 echo "$as_me: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&2;}
2845 { (exit 1); exit 1; }; }
2847 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2848 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2849 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2851 # Make sure we can run config.sub.
2852 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2853 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2854 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2855 { (exit 1); exit 1; }; }
2857 echo "$as_me:$LINENO: checking build system type" >&5
2858 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2859 if test "${ac_cv_build+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 ac_cv_build_alias
=$build_alias
2863 test -z "$ac_cv_build_alias" &&
2864 ac_cv_build_alias
=`$ac_config_guess`
2865 test -z "$ac_cv_build_alias" &&
2866 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2867 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2868 { (exit 1); exit 1; }; }
2869 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2870 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2871 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2872 { (exit 1); exit 1; }; }
2875 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2876 echo "${ECHO_T}$ac_cv_build" >&6
2878 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2879 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2880 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2883 echo "$as_me:$LINENO: checking host system type" >&5
2884 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2885 if test "${ac_cv_host+set}" = set; then
2886 echo $ECHO_N "(cached) $ECHO_C" >&6
2888 ac_cv_host_alias
=$host_alias
2889 test -z "$ac_cv_host_alias" &&
2890 ac_cv_host_alias
=$ac_cv_build_alias
2891 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2892 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2893 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2894 { (exit 1); exit 1; }; }
2897 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2898 echo "${ECHO_T}$ac_cv_host" >&6
2900 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2901 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2902 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2905 echo "$as_me:$LINENO: checking target system type" >&5
2906 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2907 if test "${ac_cv_target+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 ac_cv_target_alias
=$target_alias
2911 test "x$ac_cv_target_alias" = "x" &&
2912 ac_cv_target_alias
=$ac_cv_host_alias
2913 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2914 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2915 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2916 { (exit 1); exit 1; }; }
2919 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2920 echo "${ECHO_T}$ac_cv_target" >&6
2921 target
=$ac_cv_target
2922 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2923 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2924 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2927 # The aliases save the names the user supplied, while $host etc.
2928 # will get canonicalized.
2929 test -n "$target_alias" &&
2930 test "$program_prefix$program_suffix$program_transform_name" = \
2932 program_prefix
=${target_alias}-
2945 # If we haven't got the data from the intl directory,
2946 # assume NLS is disabled.
2955 if test -f ..
/intl
/config.intl
; then
2956 . ..
/intl
/config.intl
2958 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2959 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2960 if test x
"$USE_NLS" != xyes
; then
2961 echo "$as_me:$LINENO: result: no" >&5
2962 echo "${ECHO_T}no" >&6
2964 echo "$as_me:$LINENO: result: yes" >&5
2965 echo "${ECHO_T}yes" >&6
2967 cat >>confdefs.h
<<\_ACEOF
2968 #define ENABLE_NLS 1
2972 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2973 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2974 # Look for .po and .gmo files in the source directory.
2977 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2978 # If there aren't any .gmo files the shell will give us the
2979 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2981 case "$cat" in *\
**)
2984 # The quadruple backslash is collapsed to a double backslash
2985 # by the backticks, then collapsed again by the double quotes,
2986 # leaving us with one backslash in the sed expression (right
2987 # before the dot that mustn't act as a wildcard).
2988 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2989 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2990 # The user is allowed to set LINGUAS to a list of languages to
2991 # install catalogs for. If it's empty that means "all of them."
2992 if test "x$LINGUAS" = x
; then
2993 CATALOGS
="$CATALOGS $cat"
2994 XLINGUAS
="$XLINGUAS $lang"
2996 case "$LINGUAS" in *$lang*)
2997 CATALOGS
="$CATALOGS $cat"
2998 XLINGUAS
="$XLINGUAS $lang"
3004 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3005 echo "${ECHO_T}$LINGUAS" >&6
3018 localedir
='${datadir}/locale'
3021 if test x
"$USE_NLS" = xyes
; then
3022 CONFIG_ALL
="$CONFIG_ALL all-po"
3023 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3024 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3025 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3030 cat >>confdefs.h
<<_ACEOF
3031 #define PACKAGE "$PACKAGE"
3036 debugdir
=${libdir}/debug
3039 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
3040 if test "${with_separate_debug_dir+set}" = set; then
3041 withval
="$with_separate_debug_dir"
3042 debugdir
="${withval}"
3046 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
3047 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3048 ac_define_dir
=`eval echo $debugdir`
3049 ac_define_dir
=`eval echo $ac_define_dir`
3051 cat >>confdefs.h
<<_ACEOF
3052 #define DEBUGDIR "$ac_define_dir"
3056 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
3058 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
3059 if test "x$prefix" = xNONE
; then
3060 test_prefix
=/usr
/local
3065 test_prefix
=$exec_prefix
3068 "${test_prefix}"|
"${test_prefix}/"*|\
3069 '${exec_prefix}'|
'${exec_prefix}/'*)
3071 cat >>confdefs.h
<<\_ACEOF
3072 #define DEBUGDIR_RELOCATABLE 1
3080 subdirs
="$subdirs doc testsuite"
3083 # Provide defaults for some variables set by the per-host and per-target
3085 gdb_host_obs
=posix-hdep.o
3087 if test "${target}" = "${host}"; then
3093 .
$srcdir/configure.
host
3095 .
$srcdir/configure.tgt
3097 # Fetch the default architecture and default target vector from BFD.
3098 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
3100 # We only want the first architecture, so strip off the others if
3101 # there is more than one.
3102 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
3104 if test "x$targ_archs" != x
; then
3106 cat >>confdefs.h
<<_ACEOF
3107 #define DEFAULT_BFD_ARCH $targ_archs
3111 if test "x$targ_defvec" != x
; then
3113 cat >>confdefs.h
<<_ACEOF
3114 #define DEFAULT_BFD_VEC $targ_defvec
3119 test "$program_prefix" != NONE
&&
3120 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3121 # Use a double $ so make ignores it.
3122 test "$program_suffix" != NONE
&&
3123 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3124 # Double any \ or $. echo might interpret backslashes.
3125 # By default was `s,x,x', remove it if useless.
3126 cat <<\_ACEOF
>conftest.
sed
3127 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3129 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3133 # The CLI cannot be disabled yet, but may be in the future.
3136 # Check whether --enable-gdbcli or --disable-gdbcli was given.
3137 if test "${enable_gdbcli+set}" = set; then
3138 enableval
="$enable_gdbcli"
3143 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
3144 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
3145 { (exit 1); exit 1; }; } ;;
3147 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
3148 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
3149 { (exit 1); exit 1; }; } ;;
3154 if test x
"$enable_gdbcli" = xyes
; then
3155 if test -d $srcdir/cli
; then
3156 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
3157 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
3158 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
3159 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
3164 # Check whether --enable-gdbmi or --disable-gdbmi was given.
3165 if test "${enable_gdbmi+set}" = set; then
3166 enableval
="$enable_gdbmi"
3171 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
3172 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
3173 { (exit 1); exit 1; }; } ;;
3178 if test x
"$enable_gdbmi" = xyes
; then
3179 if test -d $srcdir/mi
; then
3180 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
3181 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
3182 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
3183 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
3188 # Check whether --enable-tui or --disable-tui was given.
3189 if test "${enable_tui+set}" = set; then
3190 enableval
="$enable_tui"
3195 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
3196 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
3197 { (exit 1); exit 1; }; } ;;
3204 # Check whether --enable-gdbtk or --disable-gdbtk was given.
3205 if test "${enable_gdbtk+set}" = set; then
3206 enableval
="$enable_gdbtk"
3211 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
3212 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
3213 { (exit 1); exit 1; }; } ;;
3216 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
3222 # We unconditionally disable gdbtk tests on selected platforms.
3225 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
3226 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
3230 # Libunwind support.
3231 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3232 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3233 if test "${ac_cv_header_stdc+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3236 cat >conftest.
$ac_ext <<_ACEOF
3239 cat confdefs.h
>>conftest.
$ac_ext
3240 cat >>conftest.
$ac_ext <<_ACEOF
3241 /* end confdefs.h. */
3255 rm -f conftest.
$ac_objext
3256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3257 (eval $ac_compile) 2>conftest.er1
3259 grep -v '^ *+' conftest.er1
>conftest.err
3261 cat conftest.err
>&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); } &&
3264 { ac_try
='test -z "$ac_c_werror_flag"
3265 || test ! -s conftest.err'
3266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }; } &&
3271 { ac_try
='test -s conftest.$ac_objext'
3272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276 (exit $ac_status); }; }; then
3277 ac_cv_header_stdc
=yes
3279 echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.
$ac_ext >&5
3282 ac_cv_header_stdc
=no
3284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3286 if test $ac_cv_header_stdc = yes; then
3287 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3288 cat >conftest.
$ac_ext <<_ACEOF
3291 cat confdefs.h
>>conftest.
$ac_ext
3292 cat >>conftest.
$ac_ext <<_ACEOF
3293 /* end confdefs.h. */
3297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3298 $EGREP "memchr" >/dev
/null
2>&1; then
3301 ac_cv_header_stdc
=no
3307 if test $ac_cv_header_stdc = yes; then
3308 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3309 cat >conftest.
$ac_ext <<_ACEOF
3312 cat confdefs.h
>>conftest.
$ac_ext
3313 cat >>conftest.
$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3319 $EGREP "free" >/dev
/null
2>&1; then
3322 ac_cv_header_stdc
=no
3328 if test $ac_cv_header_stdc = yes; then
3329 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3330 if test "$cross_compiling" = yes; then
3333 cat >conftest.
$ac_ext <<_ACEOF
3336 cat confdefs.h
>>conftest.
$ac_ext
3337 cat >>conftest.
$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3340 #if ((' ' & 0x0FF) == 0x020)
3341 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3342 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3344 # define ISLOWER(c) \
3345 (('a' <= (c) && (c) <= 'i') \
3346 || ('j' <= (c) && (c) <= 'r') \
3347 || ('s' <= (c) && (c) <= 'z'))
3348 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3351 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3356 for (i = 0; i < 256; i++)
3357 if (XOR (islower (i), ISLOWER (i))
3358 || toupper (i) != TOUPPER (i))
3363 rm -f conftest
$ac_exeext
3364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3365 (eval $ac_link) 2>&5
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3376 echo "$as_me: program exited with status $ac_status" >&5
3377 echo "$as_me: failed program was:" >&5
3378 sed 's/^/| /' conftest.
$ac_ext >&5
3381 ac_cv_header_stdc
=no
3383 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3387 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3388 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3389 if test $ac_cv_header_stdc = yes; then
3391 cat >>confdefs.h
<<\_ACEOF
3392 #define STDC_HEADERS 1
3397 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3407 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3408 inttypes.h stdint.h unistd.h
3410 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3411 echo "$as_me:$LINENO: checking for $ac_header" >&5
3412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 cat >conftest.
$ac_ext <<_ACEOF
3419 cat confdefs.h
>>conftest.
$ac_ext
3420 cat >>conftest.
$ac_ext <<_ACEOF
3421 /* end confdefs.h. */
3422 $ac_includes_default
3424 #include <$ac_header>
3426 rm -f conftest.
$ac_objext
3427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3428 (eval $ac_compile) 2>conftest.er1
3430 grep -v '^ *+' conftest.er1
>conftest.err
3432 cat conftest.err
>&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } &&
3435 { ac_try
='test -z "$ac_c_werror_flag"
3436 || test ! -s conftest.err'
3437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); }; } &&
3442 { ac_try
='test -s conftest.$ac_objext'
3443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); }; }; then
3448 eval "$as_ac_Header=yes"
3450 echo "$as_me: failed program was:" >&5
3451 sed 's/^/| /' conftest.
$ac_ext >&5
3453 eval "$as_ac_Header=no"
3455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3460 cat >>confdefs.h
<<_ACEOF
3461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3470 # Check whether --with-libunwind or --without-libunwind was given.
3471 if test "${with_libunwind+set}" = set; then
3472 withval
="$with_libunwind"
3473 case "${withval}" in
3474 yes) enable_libunwind
=yes ;;
3475 no
) enable_libunwind
=no
;;
3476 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
3477 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
3478 { (exit 1); exit 1; }; } ;;
3483 for ac_header
in libunwind.h
3485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3487 echo "$as_me:$LINENO: checking for $ac_header" >&5
3488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3495 # Is the header compilable?
3496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3498 cat >conftest.
$ac_ext <<_ACEOF
3501 cat confdefs.h
>>conftest.
$ac_ext
3502 cat >>conftest.
$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3504 $ac_includes_default
3505 #include <$ac_header>
3507 rm -f conftest.
$ac_objext
3508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3509 (eval $ac_compile) 2>conftest.er1
3511 grep -v '^ *+' conftest.er1
>conftest.err
3513 cat conftest.err
>&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); } &&
3516 { ac_try
='test -z "$ac_c_werror_flag"
3517 || test ! -s conftest.err'
3518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); }; } &&
3523 { ac_try
='test -s conftest.$ac_objext'
3524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); }; }; then
3529 ac_header_compiler
=yes
3531 echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.
$ac_ext >&5
3534 ac_header_compiler
=no
3536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3538 echo "${ECHO_T}$ac_header_compiler" >&6
3540 # Is the header present?
3541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3543 cat >conftest.
$ac_ext <<_ACEOF
3546 cat confdefs.h
>>conftest.
$ac_ext
3547 cat >>conftest.
$ac_ext <<_ACEOF
3548 /* end confdefs.h. */
3549 #include <$ac_header>
3551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3552 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3554 grep -v '^ *+' conftest.er1
>conftest.err
3556 cat conftest.err
>&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } >/dev
/null
; then
3559 if test -s conftest.err
; then
3560 ac_cpp_err
=$ac_c_preproc_warn_flag
3561 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3568 if test -z "$ac_cpp_err"; then
3569 ac_header_preproc
=yes
3571 echo "$as_me: failed program was:" >&5
3572 sed 's/^/| /' conftest.
$ac_ext >&5
3574 ac_header_preproc
=no
3576 rm -f conftest.err conftest.
$ac_ext
3577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3578 echo "${ECHO_T}$ac_header_preproc" >&6
3580 # So? What about this header?
3581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3586 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3587 ac_header_preproc
=yes
3590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3594 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3595 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3596 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3597 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3599 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3600 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3601 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3604 ## ------------------------------------------ ##
3605 ## Report this to the AC_PACKAGE_NAME lists. ##
3606 ## ------------------------------------------ ##
3609 sed "s/^/$as_me: WARNING: /" >&2
3612 echo "$as_me:$LINENO: checking for $ac_header" >&5
3613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 eval "$as_ac_Header=\$ac_header_preproc"
3619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3624 cat >>confdefs.h
<<_ACEOF
3625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3633 for ac_header
in libunwind-ia64.h
3635 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3637 echo "$as_me:$LINENO: checking for $ac_header" >&5
3638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3645 # Is the header compilable?
3646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3648 cat >conftest.
$ac_ext <<_ACEOF
3651 cat confdefs.h
>>conftest.
$ac_ext
3652 cat >>conftest.
$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3654 $ac_includes_default
3655 #include <$ac_header>
3657 rm -f conftest.
$ac_objext
3658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3659 (eval $ac_compile) 2>conftest.er1
3661 grep -v '^ *+' conftest.er1
>conftest.err
3663 cat conftest.err
>&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } &&
3666 { ac_try
='test -z "$ac_c_werror_flag"
3667 || test ! -s conftest.err'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; } &&
3673 { ac_try
='test -s conftest.$ac_objext'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; }; then
3679 ac_header_compiler
=yes
3681 echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.
$ac_ext >&5
3684 ac_header_compiler
=no
3686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3688 echo "${ECHO_T}$ac_header_compiler" >&6
3690 # Is the header present?
3691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3693 cat >conftest.
$ac_ext <<_ACEOF
3696 cat confdefs.h
>>conftest.
$ac_ext
3697 cat >>conftest.
$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3699 #include <$ac_header>
3701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3702 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3704 grep -v '^ *+' conftest.er1
>conftest.err
3706 cat conftest.err
>&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); } >/dev
/null
; then
3709 if test -s conftest.err
; then
3710 ac_cpp_err
=$ac_c_preproc_warn_flag
3711 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3718 if test -z "$ac_cpp_err"; then
3719 ac_header_preproc
=yes
3721 echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.
$ac_ext >&5
3724 ac_header_preproc
=no
3726 rm -f conftest.err conftest.
$ac_ext
3727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3728 echo "${ECHO_T}$ac_header_preproc" >&6
3730 # So? What about this header?
3731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3736 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3737 ac_header_preproc
=yes
3740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3745 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3747 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3751 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3754 ## ------------------------------------------ ##
3755 ## Report this to the AC_PACKAGE_NAME lists. ##
3756 ## ------------------------------------------ ##
3759 sed "s/^/$as_me: WARNING: /" >&2
3762 echo "$as_me:$LINENO: checking for $ac_header" >&5
3763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 eval "$as_ac_Header=\$ac_header_preproc"
3769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3774 cat >>confdefs.h
<<_ACEOF
3775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3782 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
3783 enable_libunwind
=yes;
3788 if test x
"$enable_libunwind" = xyes
; then
3790 for ac_header
in libunwind.h
3792 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3794 echo "$as_me:$LINENO: checking for $ac_header" >&5
3795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3797 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3802 # Is the header compilable?
3803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3805 cat >conftest.
$ac_ext <<_ACEOF
3808 cat confdefs.h
>>conftest.
$ac_ext
3809 cat >>conftest.
$ac_ext <<_ACEOF
3810 /* end confdefs.h. */
3811 $ac_includes_default
3812 #include <$ac_header>
3814 rm -f conftest.
$ac_objext
3815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3816 (eval $ac_compile) 2>conftest.er1
3818 grep -v '^ *+' conftest.er1
>conftest.err
3820 cat conftest.err
>&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } &&
3823 { ac_try
='test -z "$ac_c_werror_flag"
3824 || test ! -s conftest.err'
3825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); }; } &&
3830 { ac_try
='test -s conftest.$ac_objext'
3831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); }; }; then
3836 ac_header_compiler
=yes
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.
$ac_ext >&5
3841 ac_header_compiler
=no
3843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3845 echo "${ECHO_T}$ac_header_compiler" >&6
3847 # Is the header present?
3848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3850 cat >conftest.
$ac_ext <<_ACEOF
3853 cat confdefs.h
>>conftest.
$ac_ext
3854 cat >>conftest.
$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3856 #include <$ac_header>
3858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3861 grep -v '^ *+' conftest.er1
>conftest.err
3863 cat conftest.err
>&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); } >/dev
/null
; then
3866 if test -s conftest.err
; then
3867 ac_cpp_err
=$ac_c_preproc_warn_flag
3868 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3875 if test -z "$ac_cpp_err"; then
3876 ac_header_preproc
=yes
3878 echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.
$ac_ext >&5
3881 ac_header_preproc
=no
3883 rm -f conftest.err conftest.
$ac_ext
3884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3885 echo "${ECHO_T}$ac_header_preproc" >&6
3887 # So? What about this header?
3888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3893 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3894 ac_header_preproc
=yes
3897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3901 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3902 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3903 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3904 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3907 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3908 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3911 ## ------------------------------------------ ##
3912 ## Report this to the AC_PACKAGE_NAME lists. ##
3913 ## ------------------------------------------ ##
3916 sed "s/^/$as_me: WARNING: /" >&2
3919 echo "$as_me:$LINENO: checking for $ac_header" >&5
3920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 eval "$as_ac_Header=\$ac_header_preproc"
3926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3931 cat >>confdefs.h
<<_ACEOF
3932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3940 for ac_header
in libunwind-ia64.h
3942 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3944 echo "$as_me:$LINENO: checking for $ac_header" >&5
3945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3952 # Is the header compilable?
3953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3955 cat >conftest.
$ac_ext <<_ACEOF
3958 cat confdefs.h
>>conftest.
$ac_ext
3959 cat >>conftest.
$ac_ext <<_ACEOF
3960 /* end confdefs.h. */
3961 $ac_includes_default
3962 #include <$ac_header>
3964 rm -f conftest.
$ac_objext
3965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3966 (eval $ac_compile) 2>conftest.er1
3968 grep -v '^ *+' conftest.er1
>conftest.err
3970 cat conftest.err
>&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } &&
3973 { ac_try
='test -z "$ac_c_werror_flag"
3974 || test ! -s conftest.err'
3975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); }; } &&
3980 { ac_try
='test -s conftest.$ac_objext'
3981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }; }; then
3986 ac_header_compiler
=yes
3988 echo "$as_me: failed program was:" >&5
3989 sed 's/^/| /' conftest.
$ac_ext >&5
3991 ac_header_compiler
=no
3993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3995 echo "${ECHO_T}$ac_header_compiler" >&6
3997 # Is the header present?
3998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4000 cat >conftest.
$ac_ext <<_ACEOF
4003 cat confdefs.h
>>conftest.
$ac_ext
4004 cat >>conftest.
$ac_ext <<_ACEOF
4005 /* end confdefs.h. */
4006 #include <$ac_header>
4008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4011 grep -v '^ *+' conftest.er1
>conftest.err
4013 cat conftest.err
>&5
4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); } >/dev
/null
; then
4016 if test -s conftest.err
; then
4017 ac_cpp_err
=$ac_c_preproc_warn_flag
4018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4025 if test -z "$ac_cpp_err"; then
4026 ac_header_preproc
=yes
4028 echo "$as_me: failed program was:" >&5
4029 sed 's/^/| /' conftest.
$ac_ext >&5
4031 ac_header_preproc
=no
4033 rm -f conftest.err conftest.
$ac_ext
4034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4035 echo "${ECHO_T}$ac_header_preproc" >&6
4037 # So? What about this header?
4038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4044 ac_header_preproc
=yes
4047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4061 ## ------------------------------------------ ##
4062 ## Report this to the AC_PACKAGE_NAME lists. ##
4063 ## ------------------------------------------ ##
4066 sed "s/^/$as_me: WARNING: /" >&2
4069 echo "$as_me:$LINENO: checking for $ac_header" >&5
4070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 eval "$as_ac_Header=\$ac_header_preproc"
4076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4081 cat >>confdefs.h
<<_ACEOF
4082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4090 cat >>confdefs.h
<<\_ACEOF
4091 #define HAVE_LIBUNWIND 1
4094 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
4095 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
4096 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
4099 # Profiling support.
4100 # Check whether --enable-profiling or --disable-profiling was given.
4101 if test "${enable_profiling+set}" = set; then
4102 enableval
="$enable_profiling"
4107 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
4108 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
4109 { (exit 1); exit 1; }; } ;;
4117 for ac_func
in monstartup _mcleanup
4119 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4120 echo "$as_me:$LINENO: checking for $ac_func" >&5
4121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4122 if eval "test \"\${$as_ac_var+set}\" = set"; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 cat >conftest.
$ac_ext <<_ACEOF
4128 cat confdefs.h
>>conftest.
$ac_ext
4129 cat >>conftest.
$ac_ext <<_ACEOF
4130 /* end confdefs.h. */
4131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4133 #define $ac_func innocuous_$ac_func
4135 /* System header to define __stub macros and hopefully few prototypes,
4136 which can conflict with char $ac_func (); below.
4137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4138 <limits.h> exists even on freestanding compilers. */
4141 # include <limits.h>
4143 # include <assert.h>
4148 /* Override any gcc2 internal prototype to avoid an error. */
4153 /* We use char because int might match the return type of a gcc2
4154 builtin and then its argument prototype would still apply. */
4156 /* The GNU C library defines this for functions which it implements
4157 to always fail with ENOSYS. Some functions are actually named
4158 something starting with __ and the normal name is an alias. */
4159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4162 char (*f) () = $ac_func;
4171 return f != $ac_func;
4176 rm -f conftest.
$ac_objext conftest
$ac_exeext
4177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4178 (eval $ac_link) 2>conftest.er1
4180 grep -v '^ *+' conftest.er1
>conftest.err
4182 cat conftest.err
>&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); } &&
4185 { ac_try
='test -z "$ac_c_werror_flag"
4186 || test ! -s conftest.err'
4187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); }; } &&
4192 { ac_try
='test -s conftest$ac_exeext'
4193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); }; }; then
4198 eval "$as_ac_var=yes"
4200 echo "$as_me: failed program was:" >&5
4201 sed 's/^/| /' conftest.
$ac_ext >&5
4203 eval "$as_ac_var=no"
4205 rm -f conftest.err conftest.
$ac_objext \
4206 conftest
$ac_exeext conftest.
$ac_ext
4208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4210 if test `eval echo '${'$as_ac_var'}'` = yes; then
4211 cat >>confdefs.h
<<_ACEOF
4212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4218 echo "$as_me:$LINENO: checking for _etext" >&5
4219 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
4220 if test "${ac_cv_var__etext+set}" = set; then
4221 echo $ECHO_N "(cached) $ECHO_C" >&6
4223 cat >conftest.
$ac_ext <<_ACEOF
4226 cat confdefs.h
>>conftest.
$ac_ext
4227 cat >>conftest.
$ac_ext <<_ACEOF
4228 /* end confdefs.h. */
4240 rm -f conftest.
$ac_objext conftest
$ac_exeext
4241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4242 (eval $ac_link) 2>conftest.er1
4244 grep -v '^ *+' conftest.er1
>conftest.err
4246 cat conftest.err
>&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); } &&
4249 { ac_try
='test -z "$ac_c_werror_flag"
4250 || test ! -s conftest.err'
4251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); }; } &&
4256 { ac_try
='test -s conftest$ac_exeext'
4257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); }; }; then
4262 ac_cv_var__etext
=yes
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.
$ac_ext >&5
4269 rm -f conftest.err conftest.
$ac_objext \
4270 conftest
$ac_exeext conftest.
$ac_ext
4272 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
4273 echo "${ECHO_T}$ac_cv_var__etext" >&6
4274 if test $ac_cv_var__etext = yes; then
4276 cat >>confdefs.h
<<\_ACEOF
4277 #define HAVE__ETEXT 1
4281 if test "$enable_profiling" = yes ; then
4282 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
4283 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
4284 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
4285 { (exit 1); exit 1; }; }
4288 OLD_CFLAGS
="$CFLAGS"
4289 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
4291 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
4292 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
4293 if test "${ac_cv_cc_supports_pg+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 cat >conftest.
$ac_ext <<_ACEOF
4299 cat confdefs.h
>>conftest.
$ac_ext
4300 cat >>conftest.
$ac_ext <<_ACEOF
4301 /* end confdefs.h. */
4311 rm -f conftest.
$ac_objext
4312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4313 (eval $ac_compile) 2>conftest.er1
4315 grep -v '^ *+' conftest.er1
>conftest.err
4317 cat conftest.err
>&5
4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 (exit $ac_status); } &&
4320 { ac_try
='test -z "$ac_c_werror_flag"
4321 || test ! -s conftest.err'
4322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); }; } &&
4327 { ac_try
='test -s conftest.$ac_objext'
4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; }; then
4333 ac_cv_cc_supports_pg
=yes
4335 echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.
$ac_ext >&5
4338 ac_cv_cc_supports_pg
=no
4340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4342 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
4343 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
4345 if test $ac_cv_cc_supports_pg = no
; then
4346 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
4347 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
4348 { (exit 1); exit 1; }; }
4351 CFLAGS
="$OLD_CFLAGS"
4354 # --------------------- #
4355 # Checks for programs. #
4356 # --------------------- #
4358 for ac_prog
in gawk mawk nawk
awk
4360 # Extract the first word of "$ac_prog", so it can be a program name with args.
4361 set dummy
$ac_prog; ac_word
=$2
4362 echo "$as_me:$LINENO: checking for $ac_word" >&5
4363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4364 if test "${ac_cv_prog_AWK+set}" = set; then
4365 echo $ECHO_N "(cached) $ECHO_C" >&6
4367 if test -n "$AWK"; then
4368 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4374 test -z "$as_dir" && as_dir
=.
4375 for ac_exec_ext
in '' $ac_executable_extensions; do
4376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4377 ac_cv_prog_AWK
="$ac_prog"
4378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 if test -n "$AWK"; then
4388 echo "$as_me:$LINENO: result: $AWK" >&5
4389 echo "${ECHO_T}$AWK" >&6
4391 echo "$as_me:$LINENO: result: no" >&5
4392 echo "${ECHO_T}no" >&6
4395 test -n "$AWK" && break
4398 # Find a good install program. We prefer a C program (faster),
4399 # so one script is as good as another. But avoid the broken or
4400 # incompatible versions:
4401 # SysV /etc/install, /usr/sbin/install
4402 # SunOS /usr/etc/install
4403 # IRIX /sbin/install
4405 # AmigaOS /C/install, which installs bootblocks on floppy discs
4406 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4407 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4408 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4409 # OS/2's system install, which has a completely different semantic
4410 # ./install, which can be erroneously created by make from ./install.sh.
4411 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4412 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4413 if test -z "$INSTALL"; then
4414 if test "${ac_cv_path_install+set}" = set; then
4415 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir
=.
4422 # Account for people who put trailing slashes in PATH elements.
4424 .
/ | .
// |
/cC
/* | \
4425 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4426 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4429 # OSF1 and SCO ODT 3.0 have their own names for install.
4430 # Don't use installbsd from OSF since it installs stuff as root
4432 for ac_prog
in ginstall scoinst
install; do
4433 for ac_exec_ext
in '' $ac_executable_extensions; do
4434 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4435 if test $ac_prog = install &&
4436 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4437 # AIX install. It has an incompatible calling convention.
4439 elif test $ac_prog = install &&
4440 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4441 # program-specific install script used by HP pwplus--don't use.
4444 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4456 if test "${ac_cv_path_install+set}" = set; then
4457 INSTALL
=$ac_cv_path_install
4459 # As a last resort, use the slow shell script. We don't cache a
4460 # path for INSTALL within a source directory, because that will
4461 # break other packages using the cache if that directory is
4462 # removed, or if the path is relative.
4463 INSTALL
=$ac_install_sh
4466 echo "$as_me:$LINENO: result: $INSTALL" >&5
4467 echo "${ECHO_T}$INSTALL" >&6
4469 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4470 # It thinks the first close brace ends the variable substitution.
4471 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4473 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4475 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4477 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4478 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4480 if test "$LN_S" = "ln -s"; then
4481 echo "$as_me:$LINENO: result: yes" >&5
4482 echo "${ECHO_T}yes" >&6
4484 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4485 echo "${ECHO_T}no, using $LN_S" >&6
4488 if test -n "$ac_tool_prefix"; then
4489 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4490 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4491 echo "$as_me:$LINENO: checking for $ac_word" >&5
4492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4493 if test "${ac_cv_prog_RANLIB+set}" = set; then
4494 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 if test -n "$RANLIB"; then
4497 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4503 test -z "$as_dir" && as_dir
=.
4504 for ac_exec_ext
in '' $ac_executable_extensions; do
4505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4506 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4515 RANLIB
=$ac_cv_prog_RANLIB
4516 if test -n "$RANLIB"; then
4517 echo "$as_me:$LINENO: result: $RANLIB" >&5
4518 echo "${ECHO_T}$RANLIB" >&6
4520 echo "$as_me:$LINENO: result: no" >&5
4521 echo "${ECHO_T}no" >&6
4525 if test -z "$ac_cv_prog_RANLIB"; then
4526 ac_ct_RANLIB
=$RANLIB
4527 # Extract the first word of "ranlib", so it can be a program name with args.
4528 set dummy ranlib
; ac_word
=$2
4529 echo "$as_me:$LINENO: checking for $ac_word" >&5
4530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4531 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 if test -n "$ac_ct_RANLIB"; then
4535 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4541 test -z "$as_dir" && as_dir
=.
4542 for ac_exec_ext
in '' $ac_executable_extensions; do
4543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4544 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4551 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4554 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4555 if test -n "$ac_ct_RANLIB"; then
4556 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4557 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4559 echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6
4563 RANLIB
=$ac_ct_RANLIB
4565 RANLIB
="$ac_cv_prog_RANLIB"
4568 for ac_prog
in 'bison -y' byacc
4570 # Extract the first word of "$ac_prog", so it can be a program name with args.
4571 set dummy
$ac_prog; ac_word
=$2
4572 echo "$as_me:$LINENO: checking for $ac_word" >&5
4573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4574 if test "${ac_cv_prog_YACC+set}" = set; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 if test -n "$YACC"; then
4578 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir
=.
4585 for ac_exec_ext
in '' $ac_executable_extensions; do
4586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_YACC
="$ac_prog"
4588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 YACC
=$ac_cv_prog_YACC
4597 if test -n "$YACC"; then
4598 echo "$as_me:$LINENO: result: $YACC" >&5
4599 echo "${ECHO_T}$YACC" >&6
4601 echo "$as_me:$LINENO: result: no" >&5
4602 echo "${ECHO_T}no" >&6
4605 test -n "$YACC" && break
4607 test -n "$YACC" || YACC
="yacc"
4610 if test -n "$ac_tool_prefix"; then
4611 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4612 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4613 echo "$as_me:$LINENO: checking for $ac_word" >&5
4614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4615 if test "${ac_cv_prog_AR+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 if test -n "$AR"; then
4619 ac_cv_prog_AR
="$AR" # Let the user override the test.
4621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4625 test -z "$as_dir" && as_dir
=.
4626 for ac_exec_ext
in '' $ac_executable_extensions; do
4627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4628 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 if test -n "$AR"; then
4639 echo "$as_me:$LINENO: result: $AR" >&5
4640 echo "${ECHO_T}$AR" >&6
4642 echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6
4647 if test -z "$ac_cv_prog_AR"; then
4649 # Extract the first word of "ar", so it can be a program name with args.
4650 set dummy
ar; ac_word
=$2
4651 echo "$as_me:$LINENO: checking for $ac_word" >&5
4652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4653 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 if test -n "$ac_ct_AR"; then
4657 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_ac_ct_AR
="ar"
4667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4676 if test -n "$ac_ct_AR"; then
4677 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4678 echo "${ECHO_T}$ac_ct_AR" >&6
4680 echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6
4689 if test -n "$ac_tool_prefix"; then
4690 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4691 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4692 echo "$as_me:$LINENO: checking for $ac_word" >&5
4693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4694 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4697 if test -n "$DLLTOOL"; then
4698 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4704 test -z "$as_dir" && as_dir
=.
4705 for ac_exec_ext
in '' $ac_executable_extensions; do
4706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4707 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4716 DLLTOOL
=$ac_cv_prog_DLLTOOL
4717 if test -n "$DLLTOOL"; then
4718 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4719 echo "${ECHO_T}$DLLTOOL" >&6
4721 echo "$as_me:$LINENO: result: no" >&5
4722 echo "${ECHO_T}no" >&6
4726 if test -z "$ac_cv_prog_DLLTOOL"; then
4727 ac_ct_DLLTOOL
=$DLLTOOL
4728 # Extract the first word of "dlltool", so it can be a program name with args.
4729 set dummy dlltool
; ac_word
=$2
4730 echo "$as_me:$LINENO: checking for $ac_word" >&5
4731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4732 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
4735 if test -n "$ac_ct_DLLTOOL"; then
4736 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4742 test -z "$as_dir" && as_dir
=.
4743 for ac_exec_ext
in '' $ac_executable_extensions; do
4744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4745 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4754 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4755 if test -n "$ac_ct_DLLTOOL"; then
4756 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4757 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4759 echo "$as_me:$LINENO: result: no" >&5
4760 echo "${ECHO_T}no" >&6
4763 DLLTOOL
=$ac_ct_DLLTOOL
4765 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4768 if test -n "$ac_tool_prefix"; then
4769 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4770 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4771 echo "$as_me:$LINENO: checking for $ac_word" >&5
4772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4773 if test "${ac_cv_prog_WINDRES+set}" = set; then
4774 echo $ECHO_N "(cached) $ECHO_C" >&6
4776 if test -n "$WINDRES"; then
4777 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir
=.
4784 for ac_exec_ext
in '' $ac_executable_extensions; do
4785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4786 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 WINDRES
=$ac_cv_prog_WINDRES
4796 if test -n "$WINDRES"; then
4797 echo "$as_me:$LINENO: result: $WINDRES" >&5
4798 echo "${ECHO_T}$WINDRES" >&6
4800 echo "$as_me:$LINENO: result: no" >&5
4801 echo "${ECHO_T}no" >&6
4805 if test -z "$ac_cv_prog_WINDRES"; then
4806 ac_ct_WINDRES
=$WINDRES
4807 # Extract the first word of "windres", so it can be a program name with args.
4808 set dummy windres
; ac_word
=$2
4809 echo "$as_me:$LINENO: checking for $ac_word" >&5
4810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4811 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4812 echo $ECHO_N "(cached) $ECHO_C" >&6
4814 if test -n "$ac_ct_WINDRES"; then
4815 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4821 test -z "$as_dir" && as_dir
=.
4822 for ac_exec_ext
in '' $ac_executable_extensions; do
4823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4824 ac_cv_prog_ac_ct_WINDRES
="windres"
4825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4833 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4834 if test -n "$ac_ct_WINDRES"; then
4835 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4836 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4838 echo "$as_me:$LINENO: result: no" >&5
4839 echo "${ECHO_T}no" >&6
4842 WINDRES
=$ac_ct_WINDRES
4844 WINDRES
="$ac_cv_prog_WINDRES"
4848 # Needed for GNU/Hurd.
4849 if test -n "$ac_tool_prefix"; then
4850 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
4851 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
4852 echo "$as_me:$LINENO: checking for $ac_word" >&5
4853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4854 if test "${ac_cv_prog_MIG+set}" = set; then
4855 echo $ECHO_N "(cached) $ECHO_C" >&6
4857 if test -n "$MIG"; then
4858 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
4860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4864 test -z "$as_dir" && as_dir
=.
4865 for ac_exec_ext
in '' $ac_executable_extensions; do
4866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4867 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
4868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4877 if test -n "$MIG"; then
4878 echo "$as_me:$LINENO: result: $MIG" >&5
4879 echo "${ECHO_T}$MIG" >&6
4881 echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6
4886 if test -z "$ac_cv_prog_MIG"; then
4888 # Extract the first word of "mig", so it can be a program name with args.
4889 set dummy mig
; ac_word
=$2
4890 echo "$as_me:$LINENO: checking for $ac_word" >&5
4891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4892 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
4893 echo $ECHO_N "(cached) $ECHO_C" >&6
4895 if test -n "$ac_ct_MIG"; then
4896 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
4898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4902 test -z "$as_dir" && as_dir
=.
4903 for ac_exec_ext
in '' $ac_executable_extensions; do
4904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_ac_ct_MIG
="mig"
4906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4914 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
4915 if test -n "$ac_ct_MIG"; then
4916 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
4917 echo "${ECHO_T}$ac_ct_MIG" >&6
4919 echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6
4925 MIG
="$ac_cv_prog_MIG"
4929 # ---------------------- #
4930 # Checks for libraries. #
4931 # ---------------------- #
4933 # We might need to link with -lm; most simulators need it.
4935 echo "$as_me:$LINENO: checking for main in -lm" >&5
4936 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4937 if test "${ac_cv_lib_m_main+set}" = set; then
4938 echo $ECHO_N "(cached) $ECHO_C" >&6
4940 ac_check_lib_save_LIBS
=$LIBS
4942 cat >conftest.
$ac_ext <<_ACEOF
4945 cat confdefs.h
>>conftest.
$ac_ext
4946 cat >>conftest.
$ac_ext <<_ACEOF
4947 /* end confdefs.h. */
4958 rm -f conftest.
$ac_objext conftest
$ac_exeext
4959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4960 (eval $ac_link) 2>conftest.er1
4962 grep -v '^ *+' conftest.er1
>conftest.err
4964 cat conftest.err
>&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } &&
4967 { ac_try
='test -z "$ac_c_werror_flag"
4968 || test ! -s conftest.err'
4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); }; } &&
4974 { ac_try
='test -s conftest$ac_exeext'
4975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); }; }; then
4980 ac_cv_lib_m_main
=yes
4982 echo "$as_me: failed program was:" >&5
4983 sed 's/^/| /' conftest.
$ac_ext >&5
4987 rm -f conftest.err conftest.
$ac_objext \
4988 conftest
$ac_exeext conftest.
$ac_ext
4989 LIBS
=$ac_check_lib_save_LIBS
4991 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4992 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4993 if test $ac_cv_lib_m_main = yes; then
4994 cat >>confdefs.h
<<_ACEOF
5003 # We need to link with -lw to get `wctype' on Solaris before Solaris
5004 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
5005 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
5006 # is known to have this problem). Therefore we avoid libw if we can.
5007 echo "$as_me:$LINENO: checking for wctype" >&5
5008 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
5009 if test "${ac_cv_func_wctype+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 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
5019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5020 #define wctype innocuous_wctype
5022 /* System header to define __stub macros and hopefully few prototypes,
5023 which can conflict with char wctype (); below.
5024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5025 <limits.h> exists even on freestanding compilers. */
5028 # include <limits.h>
5030 # include <assert.h>
5035 /* Override any gcc2 internal prototype to avoid an error. */
5040 /* We use char because int might match the return type of a gcc2
5041 builtin and then its argument prototype would still apply. */
5043 /* The GNU C library defines this for functions which it implements
5044 to always fail with ENOSYS. Some functions are actually named
5045 something starting with __ and the normal name is an alias. */
5046 #if defined (__stub_wctype) || defined (__stub___wctype)
5049 char (*f) () = wctype;
5063 rm -f conftest.
$ac_objext conftest
$ac_exeext
5064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5065 (eval $ac_link) 2>conftest.er1
5067 grep -v '^ *+' conftest.er1
>conftest.err
5069 cat conftest.err
>&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } &&
5072 { ac_try
='test -z "$ac_c_werror_flag"
5073 || test ! -s conftest.err'
5074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; } &&
5079 { ac_try
='test -s conftest$ac_exeext'
5080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); }; }; then
5085 ac_cv_func_wctype
=yes
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.
$ac_ext >&5
5090 ac_cv_func_wctype
=no
5092 rm -f conftest.err conftest.
$ac_objext \
5093 conftest
$ac_exeext conftest.
$ac_ext
5095 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
5096 echo "${ECHO_T}$ac_cv_func_wctype" >&6
5097 if test $ac_cv_func_wctype = yes; then
5101 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
5102 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
5103 if test "${ac_cv_lib_w_wctype+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 ac_check_lib_save_LIBS
=$LIBS
5108 cat >conftest.
$ac_ext <<_ACEOF
5111 cat confdefs.h
>>conftest.
$ac_ext
5112 cat >>conftest.
$ac_ext <<_ACEOF
5113 /* end confdefs.h. */
5115 /* Override any gcc2 internal prototype to avoid an error. */
5119 /* We use char because int might match the return type of a gcc2
5120 builtin and then its argument prototype would still apply. */
5130 rm -f conftest.
$ac_objext conftest
$ac_exeext
5131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5132 (eval $ac_link) 2>conftest.er1
5134 grep -v '^ *+' conftest.er1
>conftest.err
5136 cat conftest.err
>&5
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); } &&
5139 { ac_try
='test -z "$ac_c_werror_flag"
5140 || test ! -s conftest.err'
5141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); }; } &&
5146 { ac_try
='test -s conftest$ac_exeext'
5147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); }; }; then
5152 ac_cv_lib_w_wctype
=yes
5154 echo "$as_me: failed program was:" >&5
5155 sed 's/^/| /' conftest.
$ac_ext >&5
5157 ac_cv_lib_w_wctype
=no
5159 rm -f conftest.err conftest.
$ac_objext \
5160 conftest
$ac_exeext conftest.
$ac_ext
5161 LIBS
=$ac_check_lib_save_LIBS
5163 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
5164 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
5165 if test $ac_cv_lib_w_wctype = yes; then
5166 cat >>confdefs.h
<<_ACEOF
5177 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
5178 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
5179 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
5180 if test "${ac_cv_search_gethostbyname+set}" = set; then
5181 echo $ECHO_N "(cached) $ECHO_C" >&6
5183 ac_func_search_save_LIBS
=$LIBS
5184 ac_cv_search_gethostbyname
=no
5185 cat >conftest.
$ac_ext <<_ACEOF
5188 cat confdefs.h
>>conftest.
$ac_ext
5189 cat >>conftest.
$ac_ext <<_ACEOF
5190 /* end confdefs.h. */
5192 /* Override any gcc2 internal prototype to avoid an error. */
5196 /* We use char because int might match the return type of a gcc2
5197 builtin and then its argument prototype would still apply. */
5198 char gethostbyname ();
5207 rm -f conftest.
$ac_objext conftest
$ac_exeext
5208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5209 (eval $ac_link) 2>conftest.er1
5211 grep -v '^ *+' conftest.er1
>conftest.err
5213 cat conftest.err
>&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); } &&
5216 { ac_try
='test -z "$ac_c_werror_flag"
5217 || test ! -s conftest.err'
5218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); }; } &&
5223 { ac_try
='test -s conftest$ac_exeext'
5224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }; }; then
5229 ac_cv_search_gethostbyname
="none required"
5231 echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.
$ac_ext >&5
5235 rm -f conftest.err conftest.
$ac_objext \
5236 conftest
$ac_exeext conftest.
$ac_ext
5237 if test "$ac_cv_search_gethostbyname" = no
; then
5238 for ac_lib
in nsl
; do
5239 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5240 cat >conftest.
$ac_ext <<_ACEOF
5243 cat confdefs.h
>>conftest.
$ac_ext
5244 cat >>conftest.
$ac_ext <<_ACEOF
5245 /* end confdefs.h. */
5247 /* Override any gcc2 internal prototype to avoid an error. */
5251 /* We use char because int might match the return type of a gcc2
5252 builtin and then its argument prototype would still apply. */
5253 char gethostbyname ();
5262 rm -f conftest.
$ac_objext conftest
$ac_exeext
5263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5264 (eval $ac_link) 2>conftest.er1
5266 grep -v '^ *+' conftest.er1
>conftest.err
5268 cat conftest.err
>&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); } &&
5271 { ac_try
='test -z "$ac_c_werror_flag"
5272 || test ! -s conftest.err'
5273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); }; } &&
5278 { ac_try
='test -s conftest$ac_exeext'
5279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); }; }; then
5284 ac_cv_search_gethostbyname
="-l$ac_lib"
5287 echo "$as_me: failed program was:" >&5
5288 sed 's/^/| /' conftest.
$ac_ext >&5
5291 rm -f conftest.err conftest.
$ac_objext \
5292 conftest
$ac_exeext conftest.
$ac_ext
5295 LIBS
=$ac_func_search_save_LIBS
5297 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
5298 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
5299 if test "$ac_cv_search_gethostbyname" != no
; then
5300 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
5305 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
5306 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
5307 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
5308 if test "${ac_cv_search_socketpair+set}" = set; then
5309 echo $ECHO_N "(cached) $ECHO_C" >&6
5311 ac_func_search_save_LIBS
=$LIBS
5312 ac_cv_search_socketpair
=no
5313 cat >conftest.
$ac_ext <<_ACEOF
5316 cat confdefs.h
>>conftest.
$ac_ext
5317 cat >>conftest.
$ac_ext <<_ACEOF
5318 /* end confdefs.h. */
5320 /* Override any gcc2 internal prototype to avoid an error. */
5324 /* We use char because int might match the return type of a gcc2
5325 builtin and then its argument prototype would still apply. */
5335 rm -f conftest.
$ac_objext conftest
$ac_exeext
5336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5337 (eval $ac_link) 2>conftest.er1
5339 grep -v '^ *+' conftest.er1
>conftest.err
5341 cat conftest.err
>&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } &&
5344 { ac_try
='test -z "$ac_c_werror_flag"
5345 || test ! -s conftest.err'
5346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); }; } &&
5351 { ac_try
='test -s conftest$ac_exeext'
5352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); }; }; then
5357 ac_cv_search_socketpair
="none required"
5359 echo "$as_me: failed program was:" >&5
5360 sed 's/^/| /' conftest.
$ac_ext >&5
5363 rm -f conftest.err conftest.
$ac_objext \
5364 conftest
$ac_exeext conftest.
$ac_ext
5365 if test "$ac_cv_search_socketpair" = no
; then
5366 for ac_lib
in socket
; do
5367 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5368 cat >conftest.
$ac_ext <<_ACEOF
5371 cat confdefs.h
>>conftest.
$ac_ext
5372 cat >>conftest.
$ac_ext <<_ACEOF
5373 /* end confdefs.h. */
5375 /* Override any gcc2 internal prototype to avoid an error. */
5379 /* We use char because int might match the return type of a gcc2
5380 builtin and then its argument prototype would still apply. */
5390 rm -f conftest.
$ac_objext conftest
$ac_exeext
5391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5392 (eval $ac_link) 2>conftest.er1
5394 grep -v '^ *+' conftest.er1
>conftest.err
5396 cat conftest.err
>&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); } &&
5399 { ac_try
='test -z "$ac_c_werror_flag"
5400 || test ! -s conftest.err'
5401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); }; } &&
5406 { ac_try
='test -s conftest$ac_exeext'
5407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); }; }; then
5412 ac_cv_search_socketpair
="-l$ac_lib"
5415 echo "$as_me: failed program was:" >&5
5416 sed 's/^/| /' conftest.
$ac_ext >&5
5419 rm -f conftest.err conftest.
$ac_objext \
5420 conftest
$ac_exeext conftest.
$ac_ext
5423 LIBS
=$ac_func_search_save_LIBS
5425 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
5426 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
5427 if test "$ac_cv_search_socketpair" != no
; then
5428 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
5433 # For the TUI, we need enhanced curses functionality.
5435 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
5436 # curses library because the latter might not provide all the
5437 # functionality we need. However, this leads to problems on systems
5438 # where the linker searches /usr/local/lib, but the compiler doesn't
5439 # search /usr/local/include, if ncurses is installed in /usr/local. A
5440 # default installation of ncurses on alpha*-dec-osf* will lead to such
5442 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
5443 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
5444 if test "${ac_cv_search_waddstr+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5447 ac_func_search_save_LIBS
=$LIBS
5448 ac_cv_search_waddstr
=no
5449 cat >conftest.
$ac_ext <<_ACEOF
5452 cat confdefs.h
>>conftest.
$ac_ext
5453 cat >>conftest.
$ac_ext <<_ACEOF
5454 /* end confdefs.h. */
5456 /* Override any gcc2 internal prototype to avoid an error. */
5460 /* We use char because int might match the return type of a gcc2
5461 builtin and then its argument prototype would still apply. */
5471 rm -f conftest.
$ac_objext conftest
$ac_exeext
5472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5473 (eval $ac_link) 2>conftest.er1
5475 grep -v '^ *+' conftest.er1
>conftest.err
5477 cat conftest.err
>&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } &&
5480 { ac_try
='test -z "$ac_c_werror_flag"
5481 || test ! -s conftest.err'
5482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); }; } &&
5487 { ac_try
='test -s conftest$ac_exeext'
5488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); }; }; then
5493 ac_cv_search_waddstr
="none required"
5495 echo "$as_me: failed program was:" >&5
5496 sed 's/^/| /' conftest.
$ac_ext >&5
5499 rm -f conftest.err conftest.
$ac_objext \
5500 conftest
$ac_exeext conftest.
$ac_ext
5501 if test "$ac_cv_search_waddstr" = no
; then
5502 for ac_lib
in ncurses cursesX curses
; do
5503 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5504 cat >conftest.
$ac_ext <<_ACEOF
5507 cat confdefs.h
>>conftest.
$ac_ext
5508 cat >>conftest.
$ac_ext <<_ACEOF
5509 /* end confdefs.h. */
5511 /* Override any gcc2 internal prototype to avoid an error. */
5515 /* We use char because int might match the return type of a gcc2
5516 builtin and then its argument prototype would still apply. */
5526 rm -f conftest.
$ac_objext conftest
$ac_exeext
5527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5528 (eval $ac_link) 2>conftest.er1
5530 grep -v '^ *+' conftest.er1
>conftest.err
5532 cat conftest.err
>&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); } &&
5535 { ac_try
='test -z "$ac_c_werror_flag"
5536 || test ! -s conftest.err'
5537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); }; } &&
5542 { ac_try
='test -s conftest$ac_exeext'
5543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); }; }; then
5548 ac_cv_search_waddstr
="-l$ac_lib"
5551 echo "$as_me: failed program was:" >&5
5552 sed 's/^/| /' conftest.
$ac_ext >&5
5555 rm -f conftest.err conftest.
$ac_objext \
5556 conftest
$ac_exeext conftest.
$ac_ext
5559 LIBS
=$ac_func_search_save_LIBS
5561 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
5562 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
5563 if test "$ac_cv_search_waddstr" != no
; then
5564 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
5569 # Since GDB uses Readline, we need termcap functionality. In many
5570 # cases this will be provided by the curses library, but some systems
5571 # have a seperate termcap library, or no curses library at all.
5575 if test -d $srcdir/libtermcap
; then
5576 LIBS
="../libtermcap/libtermcap.a $LIBS"
5577 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
5580 ac_cv_search_tgetent
="none required"
5583 ac_cv_search_tgetent
="none required"
5584 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
5588 # These are the libraries checked by Readline.
5589 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
5590 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
5591 if test "${ac_cv_search_tgetent+set}" = set; then
5592 echo $ECHO_N "(cached) $ECHO_C" >&6
5594 ac_func_search_save_LIBS
=$LIBS
5595 ac_cv_search_tgetent
=no
5596 cat >conftest.
$ac_ext <<_ACEOF
5599 cat confdefs.h
>>conftest.
$ac_ext
5600 cat >>conftest.
$ac_ext <<_ACEOF
5601 /* end confdefs.h. */
5603 /* Override any gcc2 internal prototype to avoid an error. */
5607 /* We use char because int might match the return type of a gcc2
5608 builtin and then its argument prototype would still apply. */
5618 rm -f conftest.
$ac_objext conftest
$ac_exeext
5619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5620 (eval $ac_link) 2>conftest.er1
5622 grep -v '^ *+' conftest.er1
>conftest.err
5624 cat conftest.err
>&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); } &&
5627 { ac_try
='test -z "$ac_c_werror_flag"
5628 || test ! -s conftest.err'
5629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); }; } &&
5634 { ac_try
='test -s conftest$ac_exeext'
5635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); }; }; then
5640 ac_cv_search_tgetent
="none required"
5642 echo "$as_me: failed program was:" >&5
5643 sed 's/^/| /' conftest.
$ac_ext >&5
5646 rm -f conftest.err conftest.
$ac_objext \
5647 conftest
$ac_exeext conftest.
$ac_ext
5648 if test "$ac_cv_search_tgetent" = no
; then
5649 for ac_lib
in termcap tinfo curses ncurses
; do
5650 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5651 cat >conftest.
$ac_ext <<_ACEOF
5654 cat confdefs.h
>>conftest.
$ac_ext
5655 cat >>conftest.
$ac_ext <<_ACEOF
5656 /* end confdefs.h. */
5658 /* Override any gcc2 internal prototype to avoid an error. */
5662 /* We use char because int might match the return type of a gcc2
5663 builtin and then its argument prototype would still apply. */
5673 rm -f conftest.
$ac_objext conftest
$ac_exeext
5674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5675 (eval $ac_link) 2>conftest.er1
5677 grep -v '^ *+' conftest.er1
>conftest.err
5679 cat conftest.err
>&5
5680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); } &&
5682 { ac_try
='test -z "$ac_c_werror_flag"
5683 || test ! -s conftest.err'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; } &&
5689 { ac_try
='test -s conftest$ac_exeext'
5690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); }; }; then
5695 ac_cv_search_tgetent
="-l$ac_lib"
5698 echo "$as_me: failed program was:" >&5
5699 sed 's/^/| /' conftest.
$ac_ext >&5
5702 rm -f conftest.err conftest.
$ac_objext \
5703 conftest
$ac_exeext conftest.
$ac_ext
5706 LIBS
=$ac_func_search_save_LIBS
5708 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
5709 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
5710 if test "$ac_cv_search_tgetent" != no
; then
5711 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
5716 if test "$ac_cv_search_tgetent" = no
; then
5717 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
5718 echo "$as_me: error: no termcap library found" >&2;}
5719 { (exit 1); exit 1; }; }
5723 # Check whether --with-system-readline or --without-system-readline was given.
5724 if test "${with_system_readline+set}" = set; then
5725 withval
="$with_system_readline"
5729 if test "$with_system_readline" = yes; then
5734 READLINE
='$(READLINE_DIR)/libreadline.a'
5735 READLINE_DEPS
='$(READLINE)'
5736 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
5743 # Check whether --with-expat or --without-expat was given.
5744 if test "${with_expat+set}" = set; then
5745 withval
="$with_expat"
5750 echo "$as_me:$LINENO: checking whether to use expat" >&5
5751 echo $ECHO_N "checking whether to use expat... $ECHO_C" >&6
5752 echo "$as_me:$LINENO: result: $with_expat" >&5
5753 echo "${ECHO_T}$with_expat" >&6
5755 if test "${with_expat}" = no
; then
5756 { echo "$as_me:$LINENO: WARNING: expat support disabled; some features may be unavailable." >&5
5757 echo "$as_me: WARNING: expat support disabled; some features may be unavailable." >&2;}
5761 if test "X$prefix" = "XNONE"; then
5762 acl_final_prefix
="$ac_default_prefix"
5764 acl_final_prefix
="$prefix"
5766 if test "X$exec_prefix" = "XNONE"; then
5767 acl_final_exec_prefix
='${prefix}'
5769 acl_final_exec_prefix
="$exec_prefix"
5771 acl_save_prefix
="$prefix"
5772 prefix
="$acl_final_prefix"
5773 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5774 prefix
="$acl_save_prefix"
5777 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5778 if test "${with_gnu_ld+set}" = set; then
5779 withval
="$with_gnu_ld"
5780 test "$withval" = no || with_gnu_ld
=yes
5784 # Prepare PATH_SEPARATOR.
5785 # The user is always right.
5786 if test "${PATH_SEPARATOR+set}" != set; then
5787 echo "#! /bin/sh" >conf$$.sh
5788 echo "exit 0" >>conf$$.sh
5790 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5798 if test "$GCC" = yes; then
5799 # Check if gcc -print-prog-name=ld gives a path.
5800 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5801 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5804 # gcc leaves a trailing carriage return which upsets mingw
5805 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5807 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5810 # Accept absolute paths.
5811 [\\/]* |
[A-Za-z
]:[\\/]*)
5812 re_direlt
='/[^/][^/]*/\.\./'
5813 # Canonicalize the path of ld
5814 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5815 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5816 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5818 test -z "$LD" && LD
="$ac_prog"
5821 # If it fails, then pretend we aren't using GCC.
5825 # If it is relative, then search for the first ld in PATH.
5829 elif test "$with_gnu_ld" = yes; then
5830 echo "$as_me:$LINENO: checking for GNU ld" >&5
5831 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5833 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5834 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5836 if test "${acl_cv_path_LD+set}" = set; then
5837 echo $ECHO_N "(cached) $ECHO_C" >&6
5839 if test -z "$LD"; then
5840 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5841 for ac_dir
in $PATH; do
5842 test -z "$ac_dir" && ac_dir
=.
5843 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5844 acl_cv_path_LD
="$ac_dir/$ac_prog"
5845 # Check to see if the program is GNU ld. I'd rather use --version,
5846 # but apparently some GNU ld's only accept -v.
5847 # Break only if it was the GNU/non-GNU ld that we prefer.
5848 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5849 test "$with_gnu_ld" != no
&& break
5851 test "$with_gnu_ld" != yes && break
5857 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5861 LD
="$acl_cv_path_LD"
5862 if test -n "$LD"; then
5863 echo "$as_me:$LINENO: result: $LD" >&5
5864 echo "${ECHO_T}$LD" >&6
5866 echo "$as_me:$LINENO: result: no" >&5
5867 echo "${ECHO_T}no" >&6
5869 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5870 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5871 { (exit 1); exit 1; }; }
5872 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5873 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5874 if test "${acl_cv_prog_gnu_ld+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5878 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5879 acl_cv_prog_gnu_ld
=yes
5881 acl_cv_prog_gnu_ld
=no
5884 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
5885 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
5886 with_gnu_ld
=$acl_cv_prog_gnu_ld
5890 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
5891 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
5892 if test "${acl_cv_rpath+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5896 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5897 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5903 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
5904 echo "${ECHO_T}$acl_cv_rpath" >&6
5906 libext
="$acl_cv_libext"
5907 shlibext
="$acl_cv_shlibext"
5908 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5909 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5910 hardcode_direct
="$acl_cv_hardcode_direct"
5911 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5912 # Check whether --enable-rpath or --disable-rpath was given.
5913 if test "${enable_rpath+set}" = set; then
5914 enableval
="$enable_rpath"
5930 acl_save_prefix
="$prefix"
5931 prefix
="$acl_final_prefix"
5932 acl_save_exec_prefix
="$exec_prefix"
5933 exec_prefix
="$acl_final_exec_prefix"
5935 eval additional_includedir
=\"$includedir\"
5936 eval additional_libdir
=\"$libdir\"
5938 exec_prefix
="$acl_save_exec_prefix"
5939 prefix
="$acl_save_prefix"
5942 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
5943 if test "${with_libexpat_prefix+set}" = set; then
5944 withval
="$with_libexpat_prefix"
5946 if test "X$withval" = "Xno"; then
5949 if test "X$withval" = "X"; then
5951 acl_save_prefix
="$prefix"
5952 prefix
="$acl_final_prefix"
5953 acl_save_exec_prefix
="$exec_prefix"
5954 exec_prefix
="$acl_final_exec_prefix"
5956 eval additional_includedir
=\"$includedir\"
5957 eval additional_libdir
=\"$libdir\"
5959 exec_prefix
="$acl_save_exec_prefix"
5960 prefix
="$acl_save_prefix"
5963 additional_includedir
="$withval/include"
5964 additional_libdir
="$withval/lib"
5974 names_already_handled
=
5975 names_next_round
='expat '
5976 while test -n "$names_next_round"; do
5977 names_this_round
="$names_next_round"
5979 for name
in $names_this_round; do
5981 for n
in $names_already_handled; do
5982 if test "$n" = "$name"; then
5987 if test -z "$already_handled"; then
5988 names_already_handled
="$names_already_handled $name"
5989 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5990 eval value
=\"\
$HAVE_LIB$uppername\"
5991 if test -n "$value"; then
5992 if test "$value" = yes; then
5993 eval value
=\"\
$LIB$uppername\"
5994 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
5995 eval value
=\"\
$LTLIB$uppername\"
5996 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
6005 if test $use_additional = yes; then
6006 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6007 found_dir
="$additional_libdir"
6008 found_so
="$additional_libdir/lib$name.$shlibext"
6009 if test -f "$additional_libdir/lib$name.la"; then
6010 found_la
="$additional_libdir/lib$name.la"
6013 if test -f "$additional_libdir/lib$name.$libext"; then
6014 found_dir
="$additional_libdir"
6015 found_a
="$additional_libdir/lib$name.$libext"
6016 if test -f "$additional_libdir/lib$name.la"; then
6017 found_la
="$additional_libdir/lib$name.la"
6022 if test "X$found_dir" = "X"; then
6023 for x
in $LDFLAGS $LTLIBEXPAT; do
6025 acl_save_prefix
="$prefix"
6026 prefix
="$acl_final_prefix"
6027 acl_save_exec_prefix
="$exec_prefix"
6028 exec_prefix
="$acl_final_exec_prefix"
6030 exec_prefix
="$acl_save_exec_prefix"
6031 prefix
="$acl_save_prefix"
6035 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6036 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6038 found_so
="$dir/lib$name.$shlibext"
6039 if test -f "$dir/lib$name.la"; then
6040 found_la
="$dir/lib$name.la"
6043 if test -f "$dir/lib$name.$libext"; then
6045 found_a
="$dir/lib$name.$libext"
6046 if test -f "$dir/lib$name.la"; then
6047 found_la
="$dir/lib$name.la"
6053 if test "X$found_dir" != "X"; then
6058 if test "X$found_dir" != "X"; then
6059 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
6060 if test "X$found_so" != "X"; then
6061 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6062 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6065 for x
in $ltrpathdirs; do
6066 if test "X$x" = "X$found_dir"; then
6071 if test -z "$haveit"; then
6072 ltrpathdirs
="$ltrpathdirs $found_dir"
6074 if test "$hardcode_direct" = yes; then
6075 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6077 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6078 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6080 for x
in $rpathdirs; do
6081 if test "X$x" = "X$found_dir"; then
6086 if test -z "$haveit"; then
6087 rpathdirs
="$rpathdirs $found_dir"
6091 for x
in $LDFLAGS $LIBEXPAT; do
6093 acl_save_prefix
="$prefix"
6094 prefix
="$acl_final_prefix"
6095 acl_save_exec_prefix
="$exec_prefix"
6096 exec_prefix
="$acl_final_exec_prefix"
6098 exec_prefix
="$acl_save_exec_prefix"
6099 prefix
="$acl_save_prefix"
6101 if test "X$x" = "X-L$found_dir"; then
6106 if test -z "$haveit"; then
6107 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
6109 if test "$hardcode_minus_L" != no
; then
6110 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6112 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
6118 if test "X$found_a" != "X"; then
6119 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
6121 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
6124 additional_includedir
=
6125 case "$found_dir" in
6127 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6128 additional_includedir
="$basedir/include"
6131 if test "X$additional_includedir" != "X"; then
6132 if test "X$additional_includedir" != "X/usr/include"; then
6134 if test "X$additional_includedir" = "X/usr/local/include"; then
6135 if test -n "$GCC"; then
6137 linux
*) haveit
=yes;;
6141 if test -z "$haveit"; then
6142 for x
in $CPPFLAGS $INCEXPAT; do
6144 acl_save_prefix
="$prefix"
6145 prefix
="$acl_final_prefix"
6146 acl_save_exec_prefix
="$exec_prefix"
6147 exec_prefix
="$acl_final_exec_prefix"
6149 exec_prefix
="$acl_save_exec_prefix"
6150 prefix
="$acl_save_prefix"
6152 if test "X$x" = "X-I$additional_includedir"; then
6157 if test -z "$haveit"; then
6158 if test -d "$additional_includedir"; then
6159 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
6165 if test -n "$found_la"; then
6166 save_libdir
="$libdir"
6168 */* |
*\\*) .
"$found_la" ;;
6169 *) .
"./$found_la" ;;
6171 libdir
="$save_libdir"
6172 for dep
in $dependency_libs; do
6175 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6176 if test "X$additional_libdir" != "X/usr/lib"; then
6178 if test "X$additional_libdir" = "X/usr/local/lib"; then
6179 if test -n "$GCC"; then
6181 linux
*) haveit
=yes;;
6185 if test -z "$haveit"; then
6187 for x
in $LDFLAGS $LIBEXPAT; do
6189 acl_save_prefix
="$prefix"
6190 prefix
="$acl_final_prefix"
6191 acl_save_exec_prefix
="$exec_prefix"
6192 exec_prefix
="$acl_final_exec_prefix"
6194 exec_prefix
="$acl_save_exec_prefix"
6195 prefix
="$acl_save_prefix"
6197 if test "X$x" = "X-L$additional_libdir"; then
6202 if test -z "$haveit"; then
6203 if test -d "$additional_libdir"; then
6204 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
6208 for x
in $LDFLAGS $LTLIBEXPAT; do
6210 acl_save_prefix
="$prefix"
6211 prefix
="$acl_final_prefix"
6212 acl_save_exec_prefix
="$exec_prefix"
6213 exec_prefix
="$acl_final_exec_prefix"
6215 exec_prefix
="$acl_save_exec_prefix"
6216 prefix
="$acl_save_prefix"
6218 if test "X$x" = "X-L$additional_libdir"; then
6223 if test -z "$haveit"; then
6224 if test -d "$additional_libdir"; then
6225 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
6232 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6233 if test "$enable_rpath" != no
; then
6235 for x
in $rpathdirs; do
6236 if test "X$x" = "X$dir"; then
6241 if test -z "$haveit"; then
6242 rpathdirs
="$rpathdirs $dir"
6245 for x
in $ltrpathdirs; do
6246 if test "X$x" = "X$dir"; then
6251 if test -z "$haveit"; then
6252 ltrpathdirs
="$ltrpathdirs $dir"
6257 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6260 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6263 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
6264 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
6270 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
6271 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
6277 if test "X$rpathdirs" != "X"; then
6278 if test -n "$hardcode_libdir_separator"; then
6280 for found_dir
in $rpathdirs; do
6281 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6283 acl_save_libdir
="$libdir"
6285 eval flag
=\"$hardcode_libdir_flag_spec\"
6286 libdir
="$acl_save_libdir"
6287 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
6289 for found_dir
in $rpathdirs; do
6290 acl_save_libdir
="$libdir"
6292 eval flag
=\"$hardcode_libdir_flag_spec\"
6293 libdir
="$acl_save_libdir"
6294 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
6298 if test "X$ltrpathdirs" != "X"; then
6299 for found_dir
in $ltrpathdirs; do
6300 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
6305 ac_save_CPPFLAGS
="$CPPFLAGS"
6307 for element
in $INCEXPAT; do
6309 for x
in $CPPFLAGS; do
6311 acl_save_prefix
="$prefix"
6312 prefix
="$acl_final_prefix"
6313 acl_save_exec_prefix
="$exec_prefix"
6314 exec_prefix
="$acl_final_exec_prefix"
6316 exec_prefix
="$acl_save_exec_prefix"
6317 prefix
="$acl_save_prefix"
6319 if test "X$x" = "X$element"; then
6324 if test -z "$haveit"; then
6325 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6330 echo "$as_me:$LINENO: checking for libexpat" >&5
6331 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
6332 if test "${ac_cv_libexpat+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 ac_save_LIBS
="$LIBS"
6337 LIBS
="$LIBS $LIBEXPAT"
6338 cat >conftest.
$ac_ext <<_ACEOF
6341 cat confdefs.h
>>conftest.
$ac_ext
6342 cat >>conftest.
$ac_ext <<_ACEOF
6343 /* end confdefs.h. */
6348 XML_Parser p = XML_ParserCreate (0);
6353 rm -f conftest.
$ac_objext conftest
$ac_exeext
6354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6355 (eval $ac_link) 2>conftest.er1
6357 grep -v '^ *+' conftest.er1
>conftest.err
6359 cat conftest.err
>&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } &&
6362 { ac_try
='test -z "$ac_c_werror_flag"
6363 || test ! -s conftest.err'
6364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); }; } &&
6369 { ac_try
='test -s conftest$ac_exeext'
6370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }; }; then
6377 echo "$as_me: failed program was:" >&5
6378 sed 's/^/| /' conftest.
$ac_ext >&5
6382 rm -f conftest.err conftest.
$ac_objext \
6383 conftest
$ac_exeext conftest.
$ac_ext
6384 LIBS
="$ac_save_LIBS"
6387 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
6388 echo "${ECHO_T}$ac_cv_libexpat" >&6
6389 if test "$ac_cv_libexpat" = yes; then
6392 cat >>confdefs.h
<<\_ACEOF
6393 #define HAVE_LIBEXPAT 1
6396 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
6397 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
6398 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
6399 echo "${ECHO_T}$LIBEXPAT" >&6
6402 CPPFLAGS
="$ac_save_CPPFLAGS"
6412 if test "$HAVE_LIBEXPAT" != yes; then
6413 if test "$with_expat" = yes; then
6414 { { echo "$as_me:$LINENO: error: expat is missing or unusable" >&5
6415 echo "$as_me: error: expat is missing or unusable" >&2;}
6416 { (exit 1); exit 1; }; }
6418 { echo "$as_me:$LINENO: WARNING: expat is missing or unusable; some features may be unavailable." >&5
6419 echo "$as_me: WARNING: expat is missing or unusable; some features may be unavailable." >&2;}
6423 LIBS
="$LIBS $LIBEXPAT"
6425 for ac_func
in XML_StopParser
6427 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6428 echo "$as_me:$LINENO: checking for $ac_func" >&5
6429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6430 if eval "test \"\${$as_ac_var+set}\" = set"; then
6431 echo $ECHO_N "(cached) $ECHO_C" >&6
6433 cat >conftest.
$ac_ext <<_ACEOF
6436 cat confdefs.h
>>conftest.
$ac_ext
6437 cat >>conftest.
$ac_ext <<_ACEOF
6438 /* end confdefs.h. */
6439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6441 #define $ac_func innocuous_$ac_func
6443 /* System header to define __stub macros and hopefully few prototypes,
6444 which can conflict with char $ac_func (); below.
6445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6446 <limits.h> exists even on freestanding compilers. */
6449 # include <limits.h>
6451 # include <assert.h>
6456 /* Override any gcc2 internal prototype to avoid an error. */
6461 /* We use char because int might match the return type of a gcc2
6462 builtin and then its argument prototype would still apply. */
6464 /* The GNU C library defines this for functions which it implements
6465 to always fail with ENOSYS. Some functions are actually named
6466 something starting with __ and the normal name is an alias. */
6467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6470 char (*f) () = $ac_func;
6479 return f != $ac_func;
6484 rm -f conftest.
$ac_objext conftest
$ac_exeext
6485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6486 (eval $ac_link) 2>conftest.er1
6488 grep -v '^ *+' conftest.er1
>conftest.err
6490 cat conftest.err
>&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); } &&
6493 { ac_try
='test -z "$ac_c_werror_flag"
6494 || test ! -s conftest.err'
6495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); }; } &&
6500 { ac_try
='test -s conftest$ac_exeext'
6501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); }; }; then
6506 eval "$as_ac_var=yes"
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.
$ac_ext >&5
6511 eval "$as_ac_var=no"
6513 rm -f conftest.err conftest.
$ac_objext \
6514 conftest
$ac_exeext conftest.
$ac_ext
6516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6518 if test `eval echo '${'$as_ac_var'}'` = yes; then
6519 cat >>confdefs.h
<<_ACEOF
6520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6530 # ------------------------- #
6531 # Checks for header files. #
6532 # ------------------------- #
6540 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6541 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6542 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6543 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 cat >conftest.
$ac_ext <<_ACEOF
6550 cat confdefs.h
>>conftest.
$ac_ext
6551 cat >>conftest.
$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6553 #include <sys/types.h>
6565 rm -f conftest.
$ac_objext
6566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6567 (eval $ac_compile) 2>conftest.er1
6569 grep -v '^ *+' conftest.er1
>conftest.err
6571 cat conftest.err
>&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); } &&
6574 { ac_try
='test -z "$ac_c_werror_flag"
6575 || test ! -s conftest.err'
6576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); }; } &&
6581 { ac_try
='test -s conftest.$ac_objext'
6582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); }; }; then
6587 eval "$as_ac_Header=yes"
6589 echo "$as_me: failed program was:" >&5
6590 sed 's/^/| /' conftest.
$ac_ext >&5
6592 eval "$as_ac_Header=no"
6594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6598 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6599 cat >>confdefs.h
<<_ACEOF
6600 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6603 ac_header_dirent
=$ac_hdr; break
6607 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6608 if test $ac_header_dirent = dirent.h
; then
6609 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6610 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6611 if test "${ac_cv_search_opendir+set}" = set; then
6612 echo $ECHO_N "(cached) $ECHO_C" >&6
6614 ac_func_search_save_LIBS
=$LIBS
6615 ac_cv_search_opendir
=no
6616 cat >conftest.
$ac_ext <<_ACEOF
6619 cat confdefs.h
>>conftest.
$ac_ext
6620 cat >>conftest.
$ac_ext <<_ACEOF
6621 /* end confdefs.h. */
6623 /* Override any gcc2 internal prototype to avoid an error. */
6627 /* We use char because int might match the return type of a gcc2
6628 builtin and then its argument prototype would still apply. */
6638 rm -f conftest.
$ac_objext conftest
$ac_exeext
6639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6640 (eval $ac_link) 2>conftest.er1
6642 grep -v '^ *+' conftest.er1
>conftest.err
6644 cat conftest.err
>&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); } &&
6647 { ac_try
='test -z "$ac_c_werror_flag"
6648 || test ! -s conftest.err'
6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; } &&
6654 { ac_try
='test -s conftest$ac_exeext'
6655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); }; }; then
6660 ac_cv_search_opendir
="none required"
6662 echo "$as_me: failed program was:" >&5
6663 sed 's/^/| /' conftest.
$ac_ext >&5
6666 rm -f conftest.err conftest.
$ac_objext \
6667 conftest
$ac_exeext conftest.
$ac_ext
6668 if test "$ac_cv_search_opendir" = no
; then
6669 for ac_lib
in dir
; do
6670 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6671 cat >conftest.
$ac_ext <<_ACEOF
6674 cat confdefs.h
>>conftest.
$ac_ext
6675 cat >>conftest.
$ac_ext <<_ACEOF
6676 /* end confdefs.h. */
6678 /* Override any gcc2 internal prototype to avoid an error. */
6682 /* We use char because int might match the return type of a gcc2
6683 builtin and then its argument prototype would still apply. */
6693 rm -f conftest.
$ac_objext conftest
$ac_exeext
6694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6695 (eval $ac_link) 2>conftest.er1
6697 grep -v '^ *+' conftest.er1
>conftest.err
6699 cat conftest.err
>&5
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); } &&
6702 { ac_try
='test -z "$ac_c_werror_flag"
6703 || test ! -s conftest.err'
6704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); }; } &&
6709 { ac_try
='test -s conftest$ac_exeext'
6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); }; }; then
6715 ac_cv_search_opendir
="-l$ac_lib"
6718 echo "$as_me: failed program was:" >&5
6719 sed 's/^/| /' conftest.
$ac_ext >&5
6722 rm -f conftest.err conftest.
$ac_objext \
6723 conftest
$ac_exeext conftest.
$ac_ext
6726 LIBS
=$ac_func_search_save_LIBS
6728 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6729 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6730 if test "$ac_cv_search_opendir" != no
; then
6731 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6736 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6737 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6738 if test "${ac_cv_search_opendir+set}" = set; then
6739 echo $ECHO_N "(cached) $ECHO_C" >&6
6741 ac_func_search_save_LIBS
=$LIBS
6742 ac_cv_search_opendir
=no
6743 cat >conftest.
$ac_ext <<_ACEOF
6746 cat confdefs.h
>>conftest.
$ac_ext
6747 cat >>conftest.
$ac_ext <<_ACEOF
6748 /* end confdefs.h. */
6750 /* Override any gcc2 internal prototype to avoid an error. */
6754 /* We use char because int might match the return type of a gcc2
6755 builtin and then its argument prototype would still apply. */
6765 rm -f conftest.
$ac_objext conftest
$ac_exeext
6766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6767 (eval $ac_link) 2>conftest.er1
6769 grep -v '^ *+' conftest.er1
>conftest.err
6771 cat conftest.err
>&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); } &&
6774 { ac_try
='test -z "$ac_c_werror_flag"
6775 || test ! -s conftest.err'
6776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); }; } &&
6781 { ac_try
='test -s conftest$ac_exeext'
6782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); }; }; then
6787 ac_cv_search_opendir
="none required"
6789 echo "$as_me: failed program was:" >&5
6790 sed 's/^/| /' conftest.
$ac_ext >&5
6793 rm -f conftest.err conftest.
$ac_objext \
6794 conftest
$ac_exeext conftest.
$ac_ext
6795 if test "$ac_cv_search_opendir" = no
; then
6797 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6798 cat >conftest.
$ac_ext <<_ACEOF
6801 cat confdefs.h
>>conftest.
$ac_ext
6802 cat >>conftest.
$ac_ext <<_ACEOF
6803 /* end confdefs.h. */
6805 /* Override any gcc2 internal prototype to avoid an error. */
6809 /* We use char because int might match the return type of a gcc2
6810 builtin and then its argument prototype would still apply. */
6820 rm -f conftest.
$ac_objext conftest
$ac_exeext
6821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6822 (eval $ac_link) 2>conftest.er1
6824 grep -v '^ *+' conftest.er1
>conftest.err
6826 cat conftest.err
>&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); } &&
6829 { ac_try
='test -z "$ac_c_werror_flag"
6830 || test ! -s conftest.err'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; } &&
6836 { ac_try
='test -s conftest$ac_exeext'
6837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; }; then
6842 ac_cv_search_opendir
="-l$ac_lib"
6845 echo "$as_me: failed program was:" >&5
6846 sed 's/^/| /' conftest.
$ac_ext >&5
6849 rm -f conftest.err conftest.
$ac_objext \
6850 conftest
$ac_exeext conftest.
$ac_ext
6853 LIBS
=$ac_func_search_save_LIBS
6855 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6856 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6857 if test "$ac_cv_search_opendir" != no
; then
6858 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6864 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6865 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
6866 if test "${ac_cv_header_stat_broken+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6869 cat >conftest.
$ac_ext <<_ACEOF
6872 cat confdefs.h
>>conftest.
$ac_ext
6873 cat >>conftest.
$ac_ext <<_ACEOF
6874 /* end confdefs.h. */
6875 #include <sys/types.h>
6876 #include <sys/stat.h>
6878 #if defined(S_ISBLK) && defined(S_IFDIR)
6879 # if S_ISBLK (S_IFDIR)
6884 #if defined(S_ISBLK) && defined(S_IFCHR)
6885 # if S_ISBLK (S_IFCHR)
6890 #if defined(S_ISLNK) && defined(S_IFREG)
6891 # if S_ISLNK (S_IFREG)
6896 #if defined(S_ISSOCK) && defined(S_IFREG)
6897 # if S_ISSOCK (S_IFREG)
6903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6904 $EGREP "You lose" >/dev
/null
2>&1; then
6905 ac_cv_header_stat_broken
=yes
6907 ac_cv_header_stat_broken
=no
6912 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6913 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
6914 if test $ac_cv_header_stat_broken = yes; then
6916 cat >>confdefs.h
<<\_ACEOF
6917 #define STAT_MACROS_BROKEN 1
6922 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6923 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6924 if test "${ac_cv_header_stdc+set}" = set; then
6925 echo $ECHO_N "(cached) $ECHO_C" >&6
6927 cat >conftest.
$ac_ext <<_ACEOF
6930 cat confdefs.h
>>conftest.
$ac_ext
6931 cat >>conftest.
$ac_ext <<_ACEOF
6932 /* end confdefs.h. */
6946 rm -f conftest.
$ac_objext
6947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6948 (eval $ac_compile) 2>conftest.er1
6950 grep -v '^ *+' conftest.er1
>conftest.err
6952 cat conftest.err
>&5
6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); } &&
6955 { ac_try
='test -z "$ac_c_werror_flag"
6956 || test ! -s conftest.err'
6957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); }; } &&
6962 { ac_try
='test -s conftest.$ac_objext'
6963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); }; }; then
6968 ac_cv_header_stdc
=yes
6970 echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.
$ac_ext >&5
6973 ac_cv_header_stdc
=no
6975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6977 if test $ac_cv_header_stdc = yes; then
6978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6979 cat >conftest.
$ac_ext <<_ACEOF
6982 cat confdefs.h
>>conftest.
$ac_ext
6983 cat >>conftest.
$ac_ext <<_ACEOF
6984 /* end confdefs.h. */
6988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6989 $EGREP "memchr" >/dev
/null
2>&1; then
6992 ac_cv_header_stdc
=no
6998 if test $ac_cv_header_stdc = yes; then
6999 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7000 cat >conftest.
$ac_ext <<_ACEOF
7003 cat confdefs.h
>>conftest.
$ac_ext
7004 cat >>conftest.
$ac_ext <<_ACEOF
7005 /* end confdefs.h. */
7009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7010 $EGREP "free" >/dev
/null
2>&1; then
7013 ac_cv_header_stdc
=no
7019 if test $ac_cv_header_stdc = yes; then
7020 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7021 if test "$cross_compiling" = yes; then
7024 cat >conftest.
$ac_ext <<_ACEOF
7027 cat confdefs.h
>>conftest.
$ac_ext
7028 cat >>conftest.
$ac_ext <<_ACEOF
7029 /* end confdefs.h. */
7031 #if ((' ' & 0x0FF) == 0x020)
7032 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7033 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7035 # define ISLOWER(c) \
7036 (('a' <= (c) && (c) <= 'i') \
7037 || ('j' <= (c) && (c) <= 'r') \
7038 || ('s' <= (c) && (c) <= 'z'))
7039 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7042 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7047 for (i = 0; i < 256; i++)
7048 if (XOR (islower (i), ISLOWER (i))
7049 || toupper (i) != TOUPPER (i))
7054 rm -f conftest
$ac_exeext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7056 (eval $ac_link) 2>&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7064 (exit $ac_status); }; }; then
7067 echo "$as_me: program exited with status $ac_status" >&5
7068 echo "$as_me: failed program was:" >&5
7069 sed 's/^/| /' conftest.
$ac_ext >&5
7072 ac_cv_header_stdc
=no
7074 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7078 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7079 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7080 if test $ac_cv_header_stdc = yes; then
7082 cat >>confdefs.h
<<\_ACEOF
7083 #define STDC_HEADERS 1
7089 for ac_header
in nlist.h
7091 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7093 echo "$as_me:$LINENO: checking for $ac_header" >&5
7094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7096 echo $ECHO_N "(cached) $ECHO_C" >&6
7098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7101 # Is the header compilable?
7102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7104 cat >conftest.
$ac_ext <<_ACEOF
7107 cat confdefs.h
>>conftest.
$ac_ext
7108 cat >>conftest.
$ac_ext <<_ACEOF
7109 /* end confdefs.h. */
7110 $ac_includes_default
7111 #include <$ac_header>
7113 rm -f conftest.
$ac_objext
7114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7115 (eval $ac_compile) 2>conftest.er1
7117 grep -v '^ *+' conftest.er1
>conftest.err
7119 cat conftest.err
>&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); } &&
7122 { ac_try
='test -z "$ac_c_werror_flag"
7123 || test ! -s conftest.err'
7124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); }; } &&
7129 { ac_try
='test -s conftest.$ac_objext'
7130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); }; }; then
7135 ac_header_compiler
=yes
7137 echo "$as_me: failed program was:" >&5
7138 sed 's/^/| /' conftest.
$ac_ext >&5
7140 ac_header_compiler
=no
7142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7144 echo "${ECHO_T}$ac_header_compiler" >&6
7146 # Is the header present?
7147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7149 cat >conftest.
$ac_ext <<_ACEOF
7152 cat confdefs.h
>>conftest.
$ac_ext
7153 cat >>conftest.
$ac_ext <<_ACEOF
7154 /* end confdefs.h. */
7155 #include <$ac_header>
7157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7160 grep -v '^ *+' conftest.er1
>conftest.err
7162 cat conftest.err
>&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); } >/dev
/null
; then
7165 if test -s conftest.err
; then
7166 ac_cpp_err
=$ac_c_preproc_warn_flag
7167 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7174 if test -z "$ac_cpp_err"; then
7175 ac_header_preproc
=yes
7177 echo "$as_me: failed program was:" >&5
7178 sed 's/^/| /' conftest.
$ac_ext >&5
7180 ac_header_preproc
=no
7182 rm -f conftest.err conftest.
$ac_ext
7183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7184 echo "${ECHO_T}$ac_header_preproc" >&6
7186 # So? What about this header?
7187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7193 ac_header_preproc
=yes
7196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7210 ## ------------------------------------------ ##
7211 ## Report this to the AC_PACKAGE_NAME lists. ##
7212 ## ------------------------------------------ ##
7215 sed "s/^/$as_me: WARNING: /" >&2
7218 echo "$as_me:$LINENO: checking for $ac_header" >&5
7219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7221 echo $ECHO_N "(cached) $ECHO_C" >&6
7223 eval "$as_ac_Header=\$ac_header_preproc"
7225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7230 cat >>confdefs.h
<<_ACEOF
7231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7239 for ac_header
in link.h
7241 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7242 echo "$as_me:$LINENO: checking for $ac_header" >&5
7243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7247 cat >conftest.
$ac_ext <<_ACEOF
7250 cat confdefs.h
>>conftest.
$ac_ext
7251 cat >>conftest.
$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 #if HAVE_SYS_TYPES_H
7254 # include <sys/types.h>
7261 #include <$ac_header>
7263 rm -f conftest.
$ac_objext
7264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7265 (eval $ac_compile) 2>conftest.er1
7267 grep -v '^ *+' conftest.er1
>conftest.err
7269 cat conftest.err
>&5
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); } &&
7272 { ac_try
='test -z "$ac_c_werror_flag"
7273 || test ! -s conftest.err'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; } &&
7279 { ac_try
='test -s conftest.$ac_objext'
7280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); }; }; then
7285 eval "$as_ac_Header=yes"
7287 echo "$as_me: failed program was:" >&5
7288 sed 's/^/| /' conftest.
$ac_ext >&5
7290 eval "$as_ac_Header=no"
7292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7297 cat >>confdefs.h
<<_ACEOF
7298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7306 for ac_header
in machine
/reg.h
7308 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7310 echo "$as_me:$LINENO: checking for $ac_header" >&5
7311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7313 echo $ECHO_N "(cached) $ECHO_C" >&6
7315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7318 # Is the header compilable?
7319 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7320 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7321 cat >conftest.
$ac_ext <<_ACEOF
7324 cat confdefs.h
>>conftest.
$ac_ext
7325 cat >>conftest.
$ac_ext <<_ACEOF
7326 /* end confdefs.h. */
7327 $ac_includes_default
7328 #include <$ac_header>
7330 rm -f conftest.
$ac_objext
7331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7332 (eval $ac_compile) 2>conftest.er1
7334 grep -v '^ *+' conftest.er1
>conftest.err
7336 cat conftest.err
>&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } &&
7339 { ac_try
='test -z "$ac_c_werror_flag"
7340 || test ! -s conftest.err'
7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); }; } &&
7346 { ac_try
='test -s conftest.$ac_objext'
7347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }; }; then
7352 ac_header_compiler
=yes
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.
$ac_ext >&5
7357 ac_header_compiler
=no
7359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7361 echo "${ECHO_T}$ac_header_compiler" >&6
7363 # Is the header present?
7364 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7365 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7366 cat >conftest.
$ac_ext <<_ACEOF
7369 cat confdefs.h
>>conftest.
$ac_ext
7370 cat >>conftest.
$ac_ext <<_ACEOF
7371 /* end confdefs.h. */
7372 #include <$ac_header>
7374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7377 grep -v '^ *+' conftest.er1
>conftest.err
7379 cat conftest.err
>&5
7380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7381 (exit $ac_status); } >/dev
/null
; then
7382 if test -s conftest.err
; then
7383 ac_cpp_err
=$ac_c_preproc_warn_flag
7384 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7391 if test -z "$ac_cpp_err"; then
7392 ac_header_preproc
=yes
7394 echo "$as_me: failed program was:" >&5
7395 sed 's/^/| /' conftest.
$ac_ext >&5
7397 ac_header_preproc
=no
7399 rm -f conftest.err conftest.
$ac_ext
7400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7401 echo "${ECHO_T}$ac_header_preproc" >&6
7403 # So? What about this header?
7404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7409 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7410 ac_header_preproc
=yes
7413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7417 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7418 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7419 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7420 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7423 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7424 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7427 ## ------------------------------------------ ##
7428 ## Report this to the AC_PACKAGE_NAME lists. ##
7429 ## ------------------------------------------ ##
7432 sed "s/^/$as_me: WARNING: /" >&2
7435 echo "$as_me:$LINENO: checking for $ac_header" >&5
7436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7438 echo $ECHO_N "(cached) $ECHO_C" >&6
7440 eval "$as_ac_Header=\$ac_header_preproc"
7442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7447 cat >>confdefs.h
<<_ACEOF
7448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7457 for ac_header
in poll.h sys
/poll.h
7459 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7461 echo "$as_me:$LINENO: checking for $ac_header" >&5
7462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7464 echo $ECHO_N "(cached) $ECHO_C" >&6
7466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7469 # Is the header compilable?
7470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7472 cat >conftest.
$ac_ext <<_ACEOF
7475 cat confdefs.h
>>conftest.
$ac_ext
7476 cat >>conftest.
$ac_ext <<_ACEOF
7477 /* end confdefs.h. */
7478 $ac_includes_default
7479 #include <$ac_header>
7481 rm -f conftest.
$ac_objext
7482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7483 (eval $ac_compile) 2>conftest.er1
7485 grep -v '^ *+' conftest.er1
>conftest.err
7487 cat conftest.err
>&5
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); } &&
7490 { ac_try
='test -z "$ac_c_werror_flag"
7491 || test ! -s conftest.err'
7492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7496 (exit $ac_status); }; } &&
7497 { ac_try
='test -s conftest.$ac_objext'
7498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); }; }; then
7503 ac_header_compiler
=yes
7505 echo "$as_me: failed program was:" >&5
7506 sed 's/^/| /' conftest.
$ac_ext >&5
7508 ac_header_compiler
=no
7510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7512 echo "${ECHO_T}$ac_header_compiler" >&6
7514 # Is the header present?
7515 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7517 cat >conftest.
$ac_ext <<_ACEOF
7520 cat confdefs.h
>>conftest.
$ac_ext
7521 cat >>conftest.
$ac_ext <<_ACEOF
7522 /* end confdefs.h. */
7523 #include <$ac_header>
7525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7528 grep -v '^ *+' conftest.er1
>conftest.err
7530 cat conftest.err
>&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); } >/dev
/null
; then
7533 if test -s conftest.err
; then
7534 ac_cpp_err
=$ac_c_preproc_warn_flag
7535 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7542 if test -z "$ac_cpp_err"; then
7543 ac_header_preproc
=yes
7545 echo "$as_me: failed program was:" >&5
7546 sed 's/^/| /' conftest.
$ac_ext >&5
7548 ac_header_preproc
=no
7550 rm -f conftest.err conftest.
$ac_ext
7551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7552 echo "${ECHO_T}$ac_header_preproc" >&6
7554 # So? What about this header?
7555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7557 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7558 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7560 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7561 ac_header_preproc
=yes
7564 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7565 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7566 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7567 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7568 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7569 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7570 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7571 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7574 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7575 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7578 ## ------------------------------------------ ##
7579 ## Report this to the AC_PACKAGE_NAME lists. ##
7580 ## ------------------------------------------ ##
7583 sed "s/^/$as_me: WARNING: /" >&2
7586 echo "$as_me:$LINENO: checking for $ac_header" >&5
7587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7589 echo $ECHO_N "(cached) $ECHO_C" >&6
7591 eval "$as_ac_Header=\$ac_header_preproc"
7593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7598 cat >>confdefs.h
<<_ACEOF
7599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7609 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
7611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7613 echo "$as_me:$LINENO: checking for $ac_header" >&5
7614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7616 echo $ECHO_N "(cached) $ECHO_C" >&6
7618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7621 # Is the header compilable?
7622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7624 cat >conftest.
$ac_ext <<_ACEOF
7627 cat confdefs.h
>>conftest.
$ac_ext
7628 cat >>conftest.
$ac_ext <<_ACEOF
7629 /* end confdefs.h. */
7630 $ac_includes_default
7631 #include <$ac_header>
7633 rm -f conftest.
$ac_objext
7634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7635 (eval $ac_compile) 2>conftest.er1
7637 grep -v '^ *+' conftest.er1
>conftest.err
7639 cat conftest.err
>&5
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); } &&
7642 { ac_try
='test -z "$ac_c_werror_flag"
7643 || test ! -s conftest.err'
7644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 (exit $ac_status); }; } &&
7649 { ac_try
='test -s conftest.$ac_objext'
7650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 (exit $ac_status); }; }; then
7655 ac_header_compiler
=yes
7657 echo "$as_me: failed program was:" >&5
7658 sed 's/^/| /' conftest.
$ac_ext >&5
7660 ac_header_compiler
=no
7662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7664 echo "${ECHO_T}$ac_header_compiler" >&6
7666 # Is the header present?
7667 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7668 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7669 cat >conftest.
$ac_ext <<_ACEOF
7672 cat confdefs.h
>>conftest.
$ac_ext
7673 cat >>conftest.
$ac_ext <<_ACEOF
7674 /* end confdefs.h. */
7675 #include <$ac_header>
7677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7678 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
7685 if test -s conftest.err
; then
7686 ac_cpp_err
=$ac_c_preproc_warn_flag
7687 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7694 if test -z "$ac_cpp_err"; then
7695 ac_header_preproc
=yes
7697 echo "$as_me: failed program was:" >&5
7698 sed 's/^/| /' conftest.
$ac_ext >&5
7700 ac_header_preproc
=no
7702 rm -f conftest.err conftest.
$ac_ext
7703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7704 echo "${ECHO_T}$ac_header_preproc" >&6
7706 # So? What about this header?
7707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7709 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7710 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7712 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7713 ac_header_preproc
=yes
7716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7720 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7721 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7722 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7723 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7726 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7727 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7730 ## ------------------------------------------ ##
7731 ## Report this to the AC_PACKAGE_NAME lists. ##
7732 ## ------------------------------------------ ##
7735 sed "s/^/$as_me: WARNING: /" >&2
7738 echo "$as_me:$LINENO: checking for $ac_header" >&5
7739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7741 echo $ECHO_N "(cached) $ECHO_C" >&6
7743 eval "$as_ac_Header=\$ac_header_preproc"
7745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7750 cat >>confdefs.h
<<_ACEOF
7751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7759 for ac_header
in signal.h
7761 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7763 echo "$as_me:$LINENO: checking for $ac_header" >&5
7764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7766 echo $ECHO_N "(cached) $ECHO_C" >&6
7768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7771 # Is the header compilable?
7772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7774 cat >conftest.
$ac_ext <<_ACEOF
7777 cat confdefs.h
>>conftest.
$ac_ext
7778 cat >>conftest.
$ac_ext <<_ACEOF
7779 /* end confdefs.h. */
7780 $ac_includes_default
7781 #include <$ac_header>
7783 rm -f conftest.
$ac_objext
7784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7785 (eval $ac_compile) 2>conftest.er1
7787 grep -v '^ *+' conftest.er1
>conftest.err
7789 cat conftest.err
>&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); } &&
7792 { ac_try
='test -z "$ac_c_werror_flag"
7793 || test ! -s conftest.err'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; } &&
7799 { ac_try
='test -s conftest.$ac_objext'
7800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); }; }; then
7805 ac_header_compiler
=yes
7807 echo "$as_me: failed program was:" >&5
7808 sed 's/^/| /' conftest.
$ac_ext >&5
7810 ac_header_compiler
=no
7812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7813 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7814 echo "${ECHO_T}$ac_header_compiler" >&6
7816 # Is the header present?
7817 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7818 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7819 cat >conftest.
$ac_ext <<_ACEOF
7822 cat confdefs.h
>>conftest.
$ac_ext
7823 cat >>conftest.
$ac_ext <<_ACEOF
7824 /* end confdefs.h. */
7825 #include <$ac_header>
7827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7828 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7830 grep -v '^ *+' conftest.er1
>conftest.err
7832 cat conftest.err
>&5
7833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7834 (exit $ac_status); } >/dev
/null
; then
7835 if test -s conftest.err
; then
7836 ac_cpp_err
=$ac_c_preproc_warn_flag
7837 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7844 if test -z "$ac_cpp_err"; then
7845 ac_header_preproc
=yes
7847 echo "$as_me: failed program was:" >&5
7848 sed 's/^/| /' conftest.
$ac_ext >&5
7850 ac_header_preproc
=no
7852 rm -f conftest.err conftest.
$ac_ext
7853 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7854 echo "${ECHO_T}$ac_header_preproc" >&6
7856 # So? What about this header?
7857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7859 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7860 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7862 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7863 ac_header_preproc
=yes
7866 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7867 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7868 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7869 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7870 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7871 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7872 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7873 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7876 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7877 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7880 ## ------------------------------------------ ##
7881 ## Report this to the AC_PACKAGE_NAME lists. ##
7882 ## ------------------------------------------ ##
7885 sed "s/^/$as_me: WARNING: /" >&2
7888 echo "$as_me:$LINENO: checking for $ac_header" >&5
7889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6
7893 eval "$as_ac_Header=\$ac_header_preproc"
7895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7900 cat >>confdefs.h
<<_ACEOF
7901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7909 for ac_header
in stddef.h
7911 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7913 echo "$as_me:$LINENO: checking for $ac_header" >&5
7914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7916 echo $ECHO_N "(cached) $ECHO_C" >&6
7918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7921 # Is the header compilable?
7922 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7923 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7924 cat >conftest.
$ac_ext <<_ACEOF
7927 cat confdefs.h
>>conftest.
$ac_ext
7928 cat >>conftest.
$ac_ext <<_ACEOF
7929 /* end confdefs.h. */
7930 $ac_includes_default
7931 #include <$ac_header>
7933 rm -f conftest.
$ac_objext
7934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7935 (eval $ac_compile) 2>conftest.er1
7937 grep -v '^ *+' conftest.er1
>conftest.err
7939 cat conftest.err
>&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); } &&
7942 { ac_try
='test -z "$ac_c_werror_flag"
7943 || test ! -s conftest.err'
7944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); }; } &&
7949 { ac_try
='test -s conftest.$ac_objext'
7950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); }; }; then
7955 ac_header_compiler
=yes
7957 echo "$as_me: failed program was:" >&5
7958 sed 's/^/| /' conftest.
$ac_ext >&5
7960 ac_header_compiler
=no
7962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7964 echo "${ECHO_T}$ac_header_compiler" >&6
7966 # Is the header present?
7967 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7968 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7969 cat >conftest.
$ac_ext <<_ACEOF
7972 cat confdefs.h
>>conftest.
$ac_ext
7973 cat >>conftest.
$ac_ext <<_ACEOF
7974 /* end confdefs.h. */
7975 #include <$ac_header>
7977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7978 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7980 grep -v '^ *+' conftest.er1
>conftest.err
7982 cat conftest.err
>&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); } >/dev
/null
; then
7985 if test -s conftest.err
; then
7986 ac_cpp_err
=$ac_c_preproc_warn_flag
7987 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7994 if test -z "$ac_cpp_err"; then
7995 ac_header_preproc
=yes
7997 echo "$as_me: failed program was:" >&5
7998 sed 's/^/| /' conftest.
$ac_ext >&5
8000 ac_header_preproc
=no
8002 rm -f conftest.err conftest.
$ac_ext
8003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8004 echo "${ECHO_T}$ac_header_preproc" >&6
8006 # So? What about this header?
8007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8009 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8010 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8012 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8013 ac_header_preproc
=yes
8016 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8017 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8018 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8019 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8020 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8021 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8022 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8023 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8025 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8026 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8027 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8030 ## ------------------------------------------ ##
8031 ## Report this to the AC_PACKAGE_NAME lists. ##
8032 ## ------------------------------------------ ##
8035 sed "s/^/$as_me: WARNING: /" >&2
8038 echo "$as_me:$LINENO: checking for $ac_header" >&5
8039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8041 echo $ECHO_N "(cached) $ECHO_C" >&6
8043 eval "$as_ac_Header=\$ac_header_preproc"
8045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8050 cat >>confdefs.h
<<_ACEOF
8051 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8059 for ac_header
in stdlib.h
8061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8063 echo "$as_me:$LINENO: checking for $ac_header" >&5
8064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8066 echo $ECHO_N "(cached) $ECHO_C" >&6
8068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8071 # Is the header compilable?
8072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8074 cat >conftest.
$ac_ext <<_ACEOF
8077 cat confdefs.h
>>conftest.
$ac_ext
8078 cat >>conftest.
$ac_ext <<_ACEOF
8079 /* end confdefs.h. */
8080 $ac_includes_default
8081 #include <$ac_header>
8083 rm -f conftest.
$ac_objext
8084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8085 (eval $ac_compile) 2>conftest.er1
8087 grep -v '^ *+' conftest.er1
>conftest.err
8089 cat conftest.err
>&5
8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 (exit $ac_status); } &&
8092 { ac_try
='test -z "$ac_c_werror_flag"
8093 || test ! -s conftest.err'
8094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); }; } &&
8099 { ac_try
='test -s conftest.$ac_objext'
8100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 (exit $ac_status); }; }; then
8105 ac_header_compiler
=yes
8107 echo "$as_me: failed program was:" >&5
8108 sed 's/^/| /' conftest.
$ac_ext >&5
8110 ac_header_compiler
=no
8112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8114 echo "${ECHO_T}$ac_header_compiler" >&6
8116 # Is the header present?
8117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8119 cat >conftest.
$ac_ext <<_ACEOF
8122 cat confdefs.h
>>conftest.
$ac_ext
8123 cat >>conftest.
$ac_ext <<_ACEOF
8124 /* end confdefs.h. */
8125 #include <$ac_header>
8127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8130 grep -v '^ *+' conftest.er1
>conftest.err
8132 cat conftest.err
>&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); } >/dev
/null
; then
8135 if test -s conftest.err
; then
8136 ac_cpp_err
=$ac_c_preproc_warn_flag
8137 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8144 if test -z "$ac_cpp_err"; then
8145 ac_header_preproc
=yes
8147 echo "$as_me: failed program was:" >&5
8148 sed 's/^/| /' conftest.
$ac_ext >&5
8150 ac_header_preproc
=no
8152 rm -f conftest.err conftest.
$ac_ext
8153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8154 echo "${ECHO_T}$ac_header_preproc" >&6
8156 # So? What about this header?
8157 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8162 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8163 ac_header_preproc
=yes
8166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8170 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8171 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8172 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8173 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8176 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8177 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8180 ## ------------------------------------------ ##
8181 ## Report this to the AC_PACKAGE_NAME lists. ##
8182 ## ------------------------------------------ ##
8185 sed "s/^/$as_me: WARNING: /" >&2
8188 echo "$as_me:$LINENO: checking for $ac_header" >&5
8189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8191 echo $ECHO_N "(cached) $ECHO_C" >&6
8193 eval "$as_ac_Header=\$ac_header_preproc"
8195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8200 cat >>confdefs.h
<<_ACEOF
8201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8209 for ac_header
in stdint.h
8211 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8213 echo "$as_me:$LINENO: checking for $ac_header" >&5
8214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8216 echo $ECHO_N "(cached) $ECHO_C" >&6
8218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8221 # Is the header compilable?
8222 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8223 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8224 cat >conftest.
$ac_ext <<_ACEOF
8227 cat confdefs.h
>>conftest.
$ac_ext
8228 cat >>conftest.
$ac_ext <<_ACEOF
8229 /* end confdefs.h. */
8230 $ac_includes_default
8231 #include <$ac_header>
8233 rm -f conftest.
$ac_objext
8234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8235 (eval $ac_compile) 2>conftest.er1
8237 grep -v '^ *+' conftest.er1
>conftest.err
8239 cat conftest.err
>&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); } &&
8242 { ac_try
='test -z "$ac_c_werror_flag"
8243 || test ! -s conftest.err'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; } &&
8249 { ac_try
='test -s conftest.$ac_objext'
8250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); }; }; then
8255 ac_header_compiler
=yes
8257 echo "$as_me: failed program was:" >&5
8258 sed 's/^/| /' conftest.
$ac_ext >&5
8260 ac_header_compiler
=no
8262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8263 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8264 echo "${ECHO_T}$ac_header_compiler" >&6
8266 # Is the header present?
8267 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8268 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8269 cat >conftest.
$ac_ext <<_ACEOF
8272 cat confdefs.h
>>conftest.
$ac_ext
8273 cat >>conftest.
$ac_ext <<_ACEOF
8274 /* end confdefs.h. */
8275 #include <$ac_header>
8277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8278 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8280 grep -v '^ *+' conftest.er1
>conftest.err
8282 cat conftest.err
>&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); } >/dev
/null
; then
8285 if test -s conftest.err
; then
8286 ac_cpp_err
=$ac_c_preproc_warn_flag
8287 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8294 if test -z "$ac_cpp_err"; then
8295 ac_header_preproc
=yes
8297 echo "$as_me: failed program was:" >&5
8298 sed 's/^/| /' conftest.
$ac_ext >&5
8300 ac_header_preproc
=no
8302 rm -f conftest.err conftest.
$ac_ext
8303 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8304 echo "${ECHO_T}$ac_header_preproc" >&6
8306 # So? What about this header?
8307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8309 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8310 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8312 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8313 ac_header_preproc
=yes
8316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8317 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8319 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8320 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8321 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8322 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8323 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8326 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8327 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8330 ## ------------------------------------------ ##
8331 ## Report this to the AC_PACKAGE_NAME lists. ##
8332 ## ------------------------------------------ ##
8335 sed "s/^/$as_me: WARNING: /" >&2
8338 echo "$as_me:$LINENO: checking for $ac_header" >&5
8339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8343 eval "$as_ac_Header=\$ac_header_preproc"
8345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8350 cat >>confdefs.h
<<_ACEOF
8351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8361 for ac_header
in string.h memory.h
strings.h
8363 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8365 echo "$as_me:$LINENO: checking for $ac_header" >&5
8366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8368 echo $ECHO_N "(cached) $ECHO_C" >&6
8370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8373 # Is the header compilable?
8374 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8376 cat >conftest.
$ac_ext <<_ACEOF
8379 cat confdefs.h
>>conftest.
$ac_ext
8380 cat >>conftest.
$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8382 $ac_includes_default
8383 #include <$ac_header>
8385 rm -f conftest.
$ac_objext
8386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8387 (eval $ac_compile) 2>conftest.er1
8389 grep -v '^ *+' conftest.er1
>conftest.err
8391 cat conftest.err
>&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); } &&
8394 { ac_try
='test -z "$ac_c_werror_flag"
8395 || test ! -s conftest.err'
8396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); }; } &&
8401 { ac_try
='test -s conftest.$ac_objext'
8402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); }; }; then
8407 ac_header_compiler
=yes
8409 echo "$as_me: failed program was:" >&5
8410 sed 's/^/| /' conftest.
$ac_ext >&5
8412 ac_header_compiler
=no
8414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8416 echo "${ECHO_T}$ac_header_compiler" >&6
8418 # Is the header present?
8419 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8421 cat >conftest.
$ac_ext <<_ACEOF
8424 cat confdefs.h
>>conftest.
$ac_ext
8425 cat >>conftest.
$ac_ext <<_ACEOF
8426 /* end confdefs.h. */
8427 #include <$ac_header>
8429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8432 grep -v '^ *+' conftest.er1
>conftest.err
8434 cat conftest.err
>&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); } >/dev
/null
; then
8437 if test -s conftest.err
; then
8438 ac_cpp_err
=$ac_c_preproc_warn_flag
8439 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8446 if test -z "$ac_cpp_err"; then
8447 ac_header_preproc
=yes
8449 echo "$as_me: failed program was:" >&5
8450 sed 's/^/| /' conftest.
$ac_ext >&5
8452 ac_header_preproc
=no
8454 rm -f conftest.err conftest.
$ac_ext
8455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8456 echo "${ECHO_T}$ac_header_preproc" >&6
8458 # So? What about this header?
8459 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8465 ac_header_preproc
=yes
8468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8482 ## ------------------------------------------ ##
8483 ## Report this to the AC_PACKAGE_NAME lists. ##
8484 ## ------------------------------------------ ##
8487 sed "s/^/$as_me: WARNING: /" >&2
8490 echo "$as_me:$LINENO: checking for $ac_header" >&5
8491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8495 eval "$as_ac_Header=\$ac_header_preproc"
8497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8502 cat >>confdefs.h
<<_ACEOF
8503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8511 for ac_header
in sys
/fault.h
8513 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8515 echo "$as_me:$LINENO: checking for $ac_header" >&5
8516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8518 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8523 # Is the header compilable?
8524 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8526 cat >conftest.
$ac_ext <<_ACEOF
8529 cat confdefs.h
>>conftest.
$ac_ext
8530 cat >>conftest.
$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8532 $ac_includes_default
8533 #include <$ac_header>
8535 rm -f conftest.
$ac_objext
8536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8537 (eval $ac_compile) 2>conftest.er1
8539 grep -v '^ *+' conftest.er1
>conftest.err
8541 cat conftest.err
>&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); } &&
8544 { ac_try
='test -z "$ac_c_werror_flag"
8545 || test ! -s conftest.err'
8546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); }; } &&
8551 { ac_try
='test -s conftest.$ac_objext'
8552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); }; }; then
8557 ac_header_compiler
=yes
8559 echo "$as_me: failed program was:" >&5
8560 sed 's/^/| /' conftest.
$ac_ext >&5
8562 ac_header_compiler
=no
8564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8566 echo "${ECHO_T}$ac_header_compiler" >&6
8568 # Is the header present?
8569 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8571 cat >conftest.
$ac_ext <<_ACEOF
8574 cat confdefs.h
>>conftest.
$ac_ext
8575 cat >>conftest.
$ac_ext <<_ACEOF
8576 /* end confdefs.h. */
8577 #include <$ac_header>
8579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8580 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8582 grep -v '^ *+' conftest.er1
>conftest.err
8584 cat conftest.err
>&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } >/dev
/null
; then
8587 if test -s conftest.err
; then
8588 ac_cpp_err
=$ac_c_preproc_warn_flag
8589 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8596 if test -z "$ac_cpp_err"; then
8597 ac_header_preproc
=yes
8599 echo "$as_me: failed program was:" >&5
8600 sed 's/^/| /' conftest.
$ac_ext >&5
8602 ac_header_preproc
=no
8604 rm -f conftest.err conftest.
$ac_ext
8605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8606 echo "${ECHO_T}$ac_header_preproc" >&6
8608 # So? What about this header?
8609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8614 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8615 ac_header_preproc
=yes
8618 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8619 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8620 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8621 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8622 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8623 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8624 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8625 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8628 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8629 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8632 ## ------------------------------------------ ##
8633 ## Report this to the AC_PACKAGE_NAME lists. ##
8634 ## ------------------------------------------ ##
8637 sed "s/^/$as_me: WARNING: /" >&2
8640 echo "$as_me:$LINENO: checking for $ac_header" >&5
8641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8643 echo $ECHO_N "(cached) $ECHO_C" >&6
8645 eval "$as_ac_Header=\$ac_header_preproc"
8647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8652 cat >>confdefs.h
<<_ACEOF
8653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8661 for ac_header
in sys
/file.h
8663 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8665 echo "$as_me:$LINENO: checking for $ac_header" >&5
8666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8668 echo $ECHO_N "(cached) $ECHO_C" >&6
8670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8673 # Is the header compilable?
8674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8676 cat >conftest.
$ac_ext <<_ACEOF
8679 cat confdefs.h
>>conftest.
$ac_ext
8680 cat >>conftest.
$ac_ext <<_ACEOF
8681 /* end confdefs.h. */
8682 $ac_includes_default
8683 #include <$ac_header>
8685 rm -f conftest.
$ac_objext
8686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8687 (eval $ac_compile) 2>conftest.er1
8689 grep -v '^ *+' conftest.er1
>conftest.err
8691 cat conftest.err
>&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); } &&
8694 { ac_try
='test -z "$ac_c_werror_flag"
8695 || test ! -s conftest.err'
8696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); }; } &&
8701 { ac_try
='test -s conftest.$ac_objext'
8702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); }; }; then
8707 ac_header_compiler
=yes
8709 echo "$as_me: failed program was:" >&5
8710 sed 's/^/| /' conftest.
$ac_ext >&5
8712 ac_header_compiler
=no
8714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8716 echo "${ECHO_T}$ac_header_compiler" >&6
8718 # Is the header present?
8719 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8720 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8721 cat >conftest.
$ac_ext <<_ACEOF
8724 cat confdefs.h
>>conftest.
$ac_ext
8725 cat >>conftest.
$ac_ext <<_ACEOF
8726 /* end confdefs.h. */
8727 #include <$ac_header>
8729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8730 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8732 grep -v '^ *+' conftest.er1
>conftest.err
8734 cat conftest.err
>&5
8735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8736 (exit $ac_status); } >/dev
/null
; then
8737 if test -s conftest.err
; then
8738 ac_cpp_err
=$ac_c_preproc_warn_flag
8739 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8746 if test -z "$ac_cpp_err"; then
8747 ac_header_preproc
=yes
8749 echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.
$ac_ext >&5
8752 ac_header_preproc
=no
8754 rm -f conftest.err conftest.
$ac_ext
8755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8756 echo "${ECHO_T}$ac_header_preproc" >&6
8758 # So? What about this header?
8759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8761 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8762 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8764 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8765 ac_header_preproc
=yes
8768 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8769 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8770 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8771 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8772 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8773 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8774 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8775 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8778 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8779 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8782 ## ------------------------------------------ ##
8783 ## Report this to the AC_PACKAGE_NAME lists. ##
8784 ## ------------------------------------------ ##
8787 sed "s/^/$as_me: WARNING: /" >&2
8790 echo "$as_me:$LINENO: checking for $ac_header" >&5
8791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8793 echo $ECHO_N "(cached) $ECHO_C" >&6
8795 eval "$as_ac_Header=\$ac_header_preproc"
8797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8802 cat >>confdefs.h
<<_ACEOF
8803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8811 for ac_header
in sys
/filio.h
8813 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8815 echo "$as_me:$LINENO: checking for $ac_header" >&5
8816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8818 echo $ECHO_N "(cached) $ECHO_C" >&6
8820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8823 # Is the header compilable?
8824 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8825 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8826 cat >conftest.
$ac_ext <<_ACEOF
8829 cat confdefs.h
>>conftest.
$ac_ext
8830 cat >>conftest.
$ac_ext <<_ACEOF
8831 /* end confdefs.h. */
8832 $ac_includes_default
8833 #include <$ac_header>
8835 rm -f conftest.
$ac_objext
8836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8837 (eval $ac_compile) 2>conftest.er1
8839 grep -v '^ *+' conftest.er1
>conftest.err
8841 cat conftest.err
>&5
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 (exit $ac_status); } &&
8844 { ac_try
='test -z "$ac_c_werror_flag"
8845 || test ! -s conftest.err'
8846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); }; } &&
8851 { ac_try
='test -s conftest.$ac_objext'
8852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 (exit $ac_status); }; }; then
8857 ac_header_compiler
=yes
8859 echo "$as_me: failed program was:" >&5
8860 sed 's/^/| /' conftest.
$ac_ext >&5
8862 ac_header_compiler
=no
8864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8866 echo "${ECHO_T}$ac_header_compiler" >&6
8868 # Is the header present?
8869 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8870 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8871 cat >conftest.
$ac_ext <<_ACEOF
8874 cat confdefs.h
>>conftest.
$ac_ext
8875 cat >>conftest.
$ac_ext <<_ACEOF
8876 /* end confdefs.h. */
8877 #include <$ac_header>
8879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8880 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8882 grep -v '^ *+' conftest.er1
>conftest.err
8884 cat conftest.err
>&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); } >/dev
/null
; then
8887 if test -s conftest.err
; then
8888 ac_cpp_err
=$ac_c_preproc_warn_flag
8889 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8896 if test -z "$ac_cpp_err"; then
8897 ac_header_preproc
=yes
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.
$ac_ext >&5
8902 ac_header_preproc
=no
8904 rm -f conftest.err conftest.
$ac_ext
8905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8906 echo "${ECHO_T}$ac_header_preproc" >&6
8908 # So? What about this header?
8909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8911 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8912 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8914 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8915 ac_header_preproc
=yes
8918 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8919 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8920 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8921 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8922 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8923 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8924 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8925 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8927 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8928 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8929 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8932 ## ------------------------------------------ ##
8933 ## Report this to the AC_PACKAGE_NAME lists. ##
8934 ## ------------------------------------------ ##
8937 sed "s/^/$as_me: WARNING: /" >&2
8940 echo "$as_me:$LINENO: checking for $ac_header" >&5
8941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8943 echo $ECHO_N "(cached) $ECHO_C" >&6
8945 eval "$as_ac_Header=\$ac_header_preproc"
8947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8952 cat >>confdefs.h
<<_ACEOF
8953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8961 for ac_header
in sys
/ioctl.h
8963 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8965 echo "$as_me:$LINENO: checking for $ac_header" >&5
8966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8968 echo $ECHO_N "(cached) $ECHO_C" >&6
8970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8973 # Is the header compilable?
8974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8976 cat >conftest.
$ac_ext <<_ACEOF
8979 cat confdefs.h
>>conftest.
$ac_ext
8980 cat >>conftest.
$ac_ext <<_ACEOF
8981 /* end confdefs.h. */
8982 $ac_includes_default
8983 #include <$ac_header>
8985 rm -f conftest.
$ac_objext
8986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8987 (eval $ac_compile) 2>conftest.er1
8989 grep -v '^ *+' conftest.er1
>conftest.err
8991 cat conftest.err
>&5
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); } &&
8994 { ac_try
='test -z "$ac_c_werror_flag"
8995 || test ! -s conftest.err'
8996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); }; } &&
9001 { ac_try
='test -s conftest.$ac_objext'
9002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); }; }; then
9007 ac_header_compiler
=yes
9009 echo "$as_me: failed program was:" >&5
9010 sed 's/^/| /' conftest.
$ac_ext >&5
9012 ac_header_compiler
=no
9014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9016 echo "${ECHO_T}$ac_header_compiler" >&6
9018 # Is the header present?
9019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9021 cat >conftest.
$ac_ext <<_ACEOF
9024 cat confdefs.h
>>conftest.
$ac_ext
9025 cat >>conftest.
$ac_ext <<_ACEOF
9026 /* end confdefs.h. */
9027 #include <$ac_header>
9029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9030 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9032 grep -v '^ *+' conftest.er1
>conftest.err
9034 cat conftest.err
>&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); } >/dev
/null
; then
9037 if test -s conftest.err
; then
9038 ac_cpp_err
=$ac_c_preproc_warn_flag
9039 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9046 if test -z "$ac_cpp_err"; then
9047 ac_header_preproc
=yes
9049 echo "$as_me: failed program was:" >&5
9050 sed 's/^/| /' conftest.
$ac_ext >&5
9052 ac_header_preproc
=no
9054 rm -f conftest.err conftest.
$ac_ext
9055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9056 echo "${ECHO_T}$ac_header_preproc" >&6
9058 # So? What about this header?
9059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9065 ac_header_preproc
=yes
9068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9082 ## ------------------------------------------ ##
9083 ## Report this to the AC_PACKAGE_NAME lists. ##
9084 ## ------------------------------------------ ##
9087 sed "s/^/$as_me: WARNING: /" >&2
9090 echo "$as_me:$LINENO: checking for $ac_header" >&5
9091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9093 echo $ECHO_N "(cached) $ECHO_C" >&6
9095 eval "$as_ac_Header=\$ac_header_preproc"
9097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9102 cat >>confdefs.h
<<_ACEOF
9103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9111 for ac_header
in sys
/param.h
9113 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9115 echo "$as_me:$LINENO: checking for $ac_header" >&5
9116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9118 echo $ECHO_N "(cached) $ECHO_C" >&6
9120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9123 # Is the header compilable?
9124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9126 cat >conftest.
$ac_ext <<_ACEOF
9129 cat confdefs.h
>>conftest.
$ac_ext
9130 cat >>conftest.
$ac_ext <<_ACEOF
9131 /* end confdefs.h. */
9132 $ac_includes_default
9133 #include <$ac_header>
9135 rm -f conftest.
$ac_objext
9136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9137 (eval $ac_compile) 2>conftest.er1
9139 grep -v '^ *+' conftest.er1
>conftest.err
9141 cat conftest.err
>&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); } &&
9144 { ac_try
='test -z "$ac_c_werror_flag"
9145 || test ! -s conftest.err'
9146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); }; } &&
9151 { ac_try
='test -s conftest.$ac_objext'
9152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 (exit $ac_status); }; }; then
9157 ac_header_compiler
=yes
9159 echo "$as_me: failed program was:" >&5
9160 sed 's/^/| /' conftest.
$ac_ext >&5
9162 ac_header_compiler
=no
9164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9166 echo "${ECHO_T}$ac_header_compiler" >&6
9168 # Is the header present?
9169 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9171 cat >conftest.
$ac_ext <<_ACEOF
9174 cat confdefs.h
>>conftest.
$ac_ext
9175 cat >>conftest.
$ac_ext <<_ACEOF
9176 /* end confdefs.h. */
9177 #include <$ac_header>
9179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9180 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9182 grep -v '^ *+' conftest.er1
>conftest.err
9184 cat conftest.err
>&5
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); } >/dev
/null
; then
9187 if test -s conftest.err
; then
9188 ac_cpp_err
=$ac_c_preproc_warn_flag
9189 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9196 if test -z "$ac_cpp_err"; then
9197 ac_header_preproc
=yes
9199 echo "$as_me: failed program was:" >&5
9200 sed 's/^/| /' conftest.
$ac_ext >&5
9202 ac_header_preproc
=no
9204 rm -f conftest.err conftest.
$ac_ext
9205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9206 echo "${ECHO_T}$ac_header_preproc" >&6
9208 # So? What about this header?
9209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9215 ac_header_preproc
=yes
9218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9232 ## ------------------------------------------ ##
9233 ## Report this to the AC_PACKAGE_NAME lists. ##
9234 ## ------------------------------------------ ##
9237 sed "s/^/$as_me: WARNING: /" >&2
9240 echo "$as_me:$LINENO: checking for $ac_header" >&5
9241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9243 echo $ECHO_N "(cached) $ECHO_C" >&6
9245 eval "$as_ac_Header=\$ac_header_preproc"
9247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9252 cat >>confdefs.h
<<_ACEOF
9253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9261 for ac_header
in sys
/resource.h
9263 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9265 echo "$as_me:$LINENO: checking for $ac_header" >&5
9266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9268 echo $ECHO_N "(cached) $ECHO_C" >&6
9270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9273 # Is the header compilable?
9274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9276 cat >conftest.
$ac_ext <<_ACEOF
9279 cat confdefs.h
>>conftest.
$ac_ext
9280 cat >>conftest.
$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9282 $ac_includes_default
9283 #include <$ac_header>
9285 rm -f conftest.
$ac_objext
9286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9287 (eval $ac_compile) 2>conftest.er1
9289 grep -v '^ *+' conftest.er1
>conftest.err
9291 cat conftest.err
>&5
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); } &&
9294 { ac_try
='test -z "$ac_c_werror_flag"
9295 || test ! -s conftest.err'
9296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); }; } &&
9301 { ac_try
='test -s conftest.$ac_objext'
9302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); }; }; then
9307 ac_header_compiler
=yes
9309 echo "$as_me: failed program was:" >&5
9310 sed 's/^/| /' conftest.
$ac_ext >&5
9312 ac_header_compiler
=no
9314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9316 echo "${ECHO_T}$ac_header_compiler" >&6
9318 # Is the header present?
9319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9321 cat >conftest.
$ac_ext <<_ACEOF
9324 cat confdefs.h
>>conftest.
$ac_ext
9325 cat >>conftest.
$ac_ext <<_ACEOF
9326 /* end confdefs.h. */
9327 #include <$ac_header>
9329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9330 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9332 grep -v '^ *+' conftest.er1
>conftest.err
9334 cat conftest.err
>&5
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); } >/dev
/null
; then
9337 if test -s conftest.err
; then
9338 ac_cpp_err
=$ac_c_preproc_warn_flag
9339 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9346 if test -z "$ac_cpp_err"; then
9347 ac_header_preproc
=yes
9349 echo "$as_me: failed program was:" >&5
9350 sed 's/^/| /' conftest.
$ac_ext >&5
9352 ac_header_preproc
=no
9354 rm -f conftest.err conftest.
$ac_ext
9355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9356 echo "${ECHO_T}$ac_header_preproc" >&6
9358 # So? What about this header?
9359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9365 ac_header_preproc
=yes
9368 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9370 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9371 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9372 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9374 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9375 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9378 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9382 ## ------------------------------------------ ##
9383 ## Report this to the AC_PACKAGE_NAME lists. ##
9384 ## ------------------------------------------ ##
9387 sed "s/^/$as_me: WARNING: /" >&2
9390 echo "$as_me:$LINENO: checking for $ac_header" >&5
9391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9393 echo $ECHO_N "(cached) $ECHO_C" >&6
9395 eval "$as_ac_Header=\$ac_header_preproc"
9397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9402 cat >>confdefs.h
<<_ACEOF
9403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9411 for ac_header
in sys
/proc.h
9413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
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 cat >conftest.
$ac_ext <<_ACEOF
9422 cat confdefs.h
>>conftest.
$ac_ext
9423 cat >>conftest.
$ac_ext <<_ACEOF
9424 /* end confdefs.h. */
9425 #if HAVE_SYS_PARAM_H
9426 # include <sys/param.h>
9430 #include <$ac_header>
9432 rm -f conftest.
$ac_objext
9433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9434 (eval $ac_compile) 2>conftest.er1
9436 grep -v '^ *+' conftest.er1
>conftest.err
9438 cat conftest.err
>&5
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); } &&
9441 { ac_try
='test -z "$ac_c_werror_flag"
9442 || test ! -s conftest.err'
9443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); }; } &&
9448 { ac_try
='test -s conftest.$ac_objext'
9449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); }; }; then
9454 eval "$as_ac_Header=yes"
9456 echo "$as_me: failed program was:" >&5
9457 sed 's/^/| /' conftest.
$ac_ext >&5
9459 eval "$as_ac_Header=no"
9461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9466 cat >>confdefs.h
<<_ACEOF
9467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9475 for ac_header
in sys
/procfs.h
9477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9479 echo "$as_me:$LINENO: checking for $ac_header" >&5
9480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9482 echo $ECHO_N "(cached) $ECHO_C" >&6
9484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9487 # Is the header compilable?
9488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9490 cat >conftest.
$ac_ext <<_ACEOF
9493 cat confdefs.h
>>conftest.
$ac_ext
9494 cat >>conftest.
$ac_ext <<_ACEOF
9495 /* end confdefs.h. */
9496 $ac_includes_default
9497 #include <$ac_header>
9499 rm -f conftest.
$ac_objext
9500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9501 (eval $ac_compile) 2>conftest.er1
9503 grep -v '^ *+' conftest.er1
>conftest.err
9505 cat conftest.err
>&5
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); } &&
9508 { ac_try
='test -z "$ac_c_werror_flag"
9509 || test ! -s conftest.err'
9510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); }; } &&
9515 { ac_try
='test -s conftest.$ac_objext'
9516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); }; }; then
9521 ac_header_compiler
=yes
9523 echo "$as_me: failed program was:" >&5
9524 sed 's/^/| /' conftest.
$ac_ext >&5
9526 ac_header_compiler
=no
9528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9530 echo "${ECHO_T}$ac_header_compiler" >&6
9532 # Is the header present?
9533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9535 cat >conftest.
$ac_ext <<_ACEOF
9538 cat confdefs.h
>>conftest.
$ac_ext
9539 cat >>conftest.
$ac_ext <<_ACEOF
9540 /* end confdefs.h. */
9541 #include <$ac_header>
9543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9546 grep -v '^ *+' conftest.er1
>conftest.err
9548 cat conftest.err
>&5
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); } >/dev
/null
; then
9551 if test -s conftest.err
; then
9552 ac_cpp_err
=$ac_c_preproc_warn_flag
9553 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9560 if test -z "$ac_cpp_err"; then
9561 ac_header_preproc
=yes
9563 echo "$as_me: failed program was:" >&5
9564 sed 's/^/| /' conftest.
$ac_ext >&5
9566 ac_header_preproc
=no
9568 rm -f conftest.err conftest.
$ac_ext
9569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9570 echo "${ECHO_T}$ac_header_preproc" >&6
9572 # So? What about this header?
9573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9579 ac_header_preproc
=yes
9582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9596 ## ------------------------------------------ ##
9597 ## Report this to the AC_PACKAGE_NAME lists. ##
9598 ## ------------------------------------------ ##
9601 sed "s/^/$as_me: WARNING: /" >&2
9604 echo "$as_me:$LINENO: checking for $ac_header" >&5
9605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9607 echo $ECHO_N "(cached) $ECHO_C" >&6
9609 eval "$as_ac_Header=\$ac_header_preproc"
9611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9616 cat >>confdefs.h
<<_ACEOF
9617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9626 for ac_header
in sys
/ptrace.h ptrace.h
9628 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9630 echo "$as_me:$LINENO: checking for $ac_header" >&5
9631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9633 echo $ECHO_N "(cached) $ECHO_C" >&6
9635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9638 # Is the header compilable?
9639 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9640 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9641 cat >conftest.
$ac_ext <<_ACEOF
9644 cat confdefs.h
>>conftest.
$ac_ext
9645 cat >>conftest.
$ac_ext <<_ACEOF
9646 /* end confdefs.h. */
9647 $ac_includes_default
9648 #include <$ac_header>
9650 rm -f conftest.
$ac_objext
9651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9652 (eval $ac_compile) 2>conftest.er1
9654 grep -v '^ *+' conftest.er1
>conftest.err
9656 cat conftest.err
>&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 (exit $ac_status); } &&
9659 { ac_try
='test -z "$ac_c_werror_flag"
9660 || test ! -s conftest.err'
9661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); }; } &&
9666 { ac_try
='test -s conftest.$ac_objext'
9667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); }; }; then
9672 ac_header_compiler
=yes
9674 echo "$as_me: failed program was:" >&5
9675 sed 's/^/| /' conftest.
$ac_ext >&5
9677 ac_header_compiler
=no
9679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9681 echo "${ECHO_T}$ac_header_compiler" >&6
9683 # Is the header present?
9684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9686 cat >conftest.
$ac_ext <<_ACEOF
9689 cat confdefs.h
>>conftest.
$ac_ext
9690 cat >>conftest.
$ac_ext <<_ACEOF
9691 /* end confdefs.h. */
9692 #include <$ac_header>
9694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9695 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9697 grep -v '^ *+' conftest.er1
>conftest.err
9699 cat conftest.err
>&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); } >/dev
/null
; then
9702 if test -s conftest.err
; then
9703 ac_cpp_err
=$ac_c_preproc_warn_flag
9704 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9711 if test -z "$ac_cpp_err"; then
9712 ac_header_preproc
=yes
9714 echo "$as_me: failed program was:" >&5
9715 sed 's/^/| /' conftest.
$ac_ext >&5
9717 ac_header_preproc
=no
9719 rm -f conftest.err conftest.
$ac_ext
9720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9721 echo "${ECHO_T}$ac_header_preproc" >&6
9723 # So? What about this header?
9724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9730 ac_header_preproc
=yes
9733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9747 ## ------------------------------------------ ##
9748 ## Report this to the AC_PACKAGE_NAME lists. ##
9749 ## ------------------------------------------ ##
9752 sed "s/^/$as_me: WARNING: /" >&2
9755 echo "$as_me:$LINENO: checking for $ac_header" >&5
9756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9758 echo $ECHO_N "(cached) $ECHO_C" >&6
9760 eval "$as_ac_Header=\$ac_header_preproc"
9762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9767 cat >>confdefs.h
<<_ACEOF
9768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9777 for ac_header
in sys
/reg.h sys
/debugreg.h
9779 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9781 echo "$as_me:$LINENO: checking for $ac_header" >&5
9782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9784 echo $ECHO_N "(cached) $ECHO_C" >&6
9786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9789 # Is the header compilable?
9790 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9792 cat >conftest.
$ac_ext <<_ACEOF
9795 cat confdefs.h
>>conftest.
$ac_ext
9796 cat >>conftest.
$ac_ext <<_ACEOF
9797 /* end confdefs.h. */
9798 $ac_includes_default
9799 #include <$ac_header>
9801 rm -f conftest.
$ac_objext
9802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9803 (eval $ac_compile) 2>conftest.er1
9805 grep -v '^ *+' conftest.er1
>conftest.err
9807 cat conftest.err
>&5
9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); } &&
9810 { ac_try
='test -z "$ac_c_werror_flag"
9811 || test ! -s conftest.err'
9812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); }; } &&
9817 { ac_try
='test -s conftest.$ac_objext'
9818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); }; }; then
9823 ac_header_compiler
=yes
9825 echo "$as_me: failed program was:" >&5
9826 sed 's/^/| /' conftest.
$ac_ext >&5
9828 ac_header_compiler
=no
9830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9832 echo "${ECHO_T}$ac_header_compiler" >&6
9834 # Is the header present?
9835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9837 cat >conftest.
$ac_ext <<_ACEOF
9840 cat confdefs.h
>>conftest.
$ac_ext
9841 cat >>conftest.
$ac_ext <<_ACEOF
9842 /* end confdefs.h. */
9843 #include <$ac_header>
9845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9846 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9848 grep -v '^ *+' conftest.er1
>conftest.err
9850 cat conftest.err
>&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); } >/dev
/null
; then
9853 if test -s conftest.err
; then
9854 ac_cpp_err
=$ac_c_preproc_warn_flag
9855 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9862 if test -z "$ac_cpp_err"; then
9863 ac_header_preproc
=yes
9865 echo "$as_me: failed program was:" >&5
9866 sed 's/^/| /' conftest.
$ac_ext >&5
9868 ac_header_preproc
=no
9870 rm -f conftest.err conftest.
$ac_ext
9871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9872 echo "${ECHO_T}$ac_header_preproc" >&6
9874 # So? What about this header?
9875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9881 ac_header_preproc
=yes
9884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9898 ## ------------------------------------------ ##
9899 ## Report this to the AC_PACKAGE_NAME lists. ##
9900 ## ------------------------------------------ ##
9903 sed "s/^/$as_me: WARNING: /" >&2
9906 echo "$as_me:$LINENO: checking for $ac_header" >&5
9907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 eval "$as_ac_Header=\$ac_header_preproc"
9913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9918 cat >>confdefs.h
<<_ACEOF
9919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9927 for ac_header
in sys
/select.h
9929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9931 echo "$as_me:$LINENO: checking for $ac_header" >&5
9932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9939 # Is the header compilable?
9940 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9942 cat >conftest.
$ac_ext <<_ACEOF
9945 cat confdefs.h
>>conftest.
$ac_ext
9946 cat >>conftest.
$ac_ext <<_ACEOF
9947 /* end confdefs.h. */
9948 $ac_includes_default
9949 #include <$ac_header>
9951 rm -f conftest.
$ac_objext
9952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9953 (eval $ac_compile) 2>conftest.er1
9955 grep -v '^ *+' conftest.er1
>conftest.err
9957 cat conftest.err
>&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); } &&
9960 { ac_try
='test -z "$ac_c_werror_flag"
9961 || test ! -s conftest.err'
9962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); }; } &&
9967 { ac_try
='test -s conftest.$ac_objext'
9968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; }; then
9973 ac_header_compiler
=yes
9975 echo "$as_me: failed program was:" >&5
9976 sed 's/^/| /' conftest.
$ac_ext >&5
9978 ac_header_compiler
=no
9980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9982 echo "${ECHO_T}$ac_header_compiler" >&6
9984 # Is the header present?
9985 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9987 cat >conftest.
$ac_ext <<_ACEOF
9990 cat confdefs.h
>>conftest.
$ac_ext
9991 cat >>conftest.
$ac_ext <<_ACEOF
9992 /* end confdefs.h. */
9993 #include <$ac_header>
9995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9996 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9998 grep -v '^ *+' conftest.er1
>conftest.err
10000 cat conftest.err
>&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); } >/dev
/null
; then
10003 if test -s conftest.err
; then
10004 ac_cpp_err
=$ac_c_preproc_warn_flag
10005 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10012 if test -z "$ac_cpp_err"; then
10013 ac_header_preproc
=yes
10015 echo "$as_me: failed program was:" >&5
10016 sed 's/^/| /' conftest.
$ac_ext >&5
10018 ac_header_preproc
=no
10020 rm -f conftest.err conftest.
$ac_ext
10021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10022 echo "${ECHO_T}$ac_header_preproc" >&6
10024 # So? What about this header?
10025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10031 ac_header_preproc
=yes
10034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10048 ## ------------------------------------------ ##
10049 ## Report this to the AC_PACKAGE_NAME lists. ##
10050 ## ------------------------------------------ ##
10053 sed "s/^/$as_me: WARNING: /" >&2
10056 echo "$as_me:$LINENO: checking for $ac_header" >&5
10057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10059 echo $ECHO_N "(cached) $ECHO_C" >&6
10061 eval "$as_ac_Header=\$ac_header_preproc"
10063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10068 cat >>confdefs.h
<<_ACEOF
10069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10077 for ac_header
in sys
/syscall.h
10079 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10081 echo "$as_me:$LINENO: checking for $ac_header" >&5
10082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10084 echo $ECHO_N "(cached) $ECHO_C" >&6
10086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10089 # Is the header compilable?
10090 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10092 cat >conftest.
$ac_ext <<_ACEOF
10095 cat confdefs.h
>>conftest.
$ac_ext
10096 cat >>conftest.
$ac_ext <<_ACEOF
10097 /* end confdefs.h. */
10098 $ac_includes_default
10099 #include <$ac_header>
10101 rm -f conftest.
$ac_objext
10102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10103 (eval $ac_compile) 2>conftest.er1
10105 grep -v '^ *+' conftest.er1
>conftest.err
10107 cat conftest.err
>&5
10108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10109 (exit $ac_status); } &&
10110 { ac_try
='test -z "$ac_c_werror_flag"
10111 || test ! -s conftest.err'
10112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10113 (eval $ac_try) 2>&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); }; } &&
10117 { ac_try
='test -s conftest.$ac_objext'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; }; then
10123 ac_header_compiler
=yes
10125 echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.
$ac_ext >&5
10128 ac_header_compiler
=no
10130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10131 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10132 echo "${ECHO_T}$ac_header_compiler" >&6
10134 # Is the header present?
10135 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10136 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10137 cat >conftest.
$ac_ext <<_ACEOF
10140 cat confdefs.h
>>conftest.
$ac_ext
10141 cat >>conftest.
$ac_ext <<_ACEOF
10142 /* end confdefs.h. */
10143 #include <$ac_header>
10145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10146 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10148 grep -v '^ *+' conftest.er1
>conftest.err
10150 cat conftest.err
>&5
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); } >/dev
/null
; then
10153 if test -s conftest.err
; then
10154 ac_cpp_err
=$ac_c_preproc_warn_flag
10155 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10162 if test -z "$ac_cpp_err"; then
10163 ac_header_preproc
=yes
10165 echo "$as_me: failed program was:" >&5
10166 sed 's/^/| /' conftest.
$ac_ext >&5
10168 ac_header_preproc
=no
10170 rm -f conftest.err conftest.
$ac_ext
10171 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10172 echo "${ECHO_T}$ac_header_preproc" >&6
10174 # So? What about this header?
10175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10177 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10178 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10180 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10181 ac_header_preproc
=yes
10184 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10185 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10186 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10187 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10188 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10189 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10190 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10191 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10193 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10194 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10195 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10198 ## ------------------------------------------ ##
10199 ## Report this to the AC_PACKAGE_NAME lists. ##
10200 ## ------------------------------------------ ##
10203 sed "s/^/$as_me: WARNING: /" >&2
10206 echo "$as_me:$LINENO: checking for $ac_header" >&5
10207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10209 echo $ECHO_N "(cached) $ECHO_C" >&6
10211 eval "$as_ac_Header=\$ac_header_preproc"
10213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10217 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10218 cat >>confdefs.h
<<_ACEOF
10219 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10227 for ac_header
in sys
/types.h
10229 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10231 echo "$as_me:$LINENO: checking for $ac_header" >&5
10232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10234 echo $ECHO_N "(cached) $ECHO_C" >&6
10236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10239 # Is the header compilable?
10240 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10242 cat >conftest.
$ac_ext <<_ACEOF
10245 cat confdefs.h
>>conftest.
$ac_ext
10246 cat >>conftest.
$ac_ext <<_ACEOF
10247 /* end confdefs.h. */
10248 $ac_includes_default
10249 #include <$ac_header>
10251 rm -f conftest.
$ac_objext
10252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10253 (eval $ac_compile) 2>conftest.er1
10255 grep -v '^ *+' conftest.er1
>conftest.err
10257 cat conftest.err
>&5
10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 (exit $ac_status); } &&
10260 { ac_try
='test -z "$ac_c_werror_flag"
10261 || test ! -s conftest.err'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; } &&
10267 { ac_try
='test -s conftest.$ac_objext'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; }; then
10273 ac_header_compiler
=yes
10275 echo "$as_me: failed program was:" >&5
10276 sed 's/^/| /' conftest.
$ac_ext >&5
10278 ac_header_compiler
=no
10280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10281 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10282 echo "${ECHO_T}$ac_header_compiler" >&6
10284 # Is the header present?
10285 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10286 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10287 cat >conftest.
$ac_ext <<_ACEOF
10290 cat confdefs.h
>>conftest.
$ac_ext
10291 cat >>conftest.
$ac_ext <<_ACEOF
10292 /* end confdefs.h. */
10293 #include <$ac_header>
10295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10296 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10298 grep -v '^ *+' conftest.er1
>conftest.err
10300 cat conftest.err
>&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); } >/dev
/null
; then
10303 if test -s conftest.err
; then
10304 ac_cpp_err
=$ac_c_preproc_warn_flag
10305 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10312 if test -z "$ac_cpp_err"; then
10313 ac_header_preproc
=yes
10315 echo "$as_me: failed program was:" >&5
10316 sed 's/^/| /' conftest.
$ac_ext >&5
10318 ac_header_preproc
=no
10320 rm -f conftest.err conftest.
$ac_ext
10321 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10322 echo "${ECHO_T}$ac_header_preproc" >&6
10324 # So? What about this header?
10325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10327 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10328 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10330 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10331 ac_header_preproc
=yes
10334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10338 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10339 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10340 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10341 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10345 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10348 ## ------------------------------------------ ##
10349 ## Report this to the AC_PACKAGE_NAME lists. ##
10350 ## ------------------------------------------ ##
10353 sed "s/^/$as_me: WARNING: /" >&2
10356 echo "$as_me:$LINENO: checking for $ac_header" >&5
10357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 eval "$as_ac_Header=\$ac_header_preproc"
10363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10368 cat >>confdefs.h
<<_ACEOF
10369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10377 for ac_header
in sys
/user.h
10379 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10380 echo "$as_me:$LINENO: checking for $ac_header" >&5
10381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10383 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 cat >conftest.
$ac_ext <<_ACEOF
10388 cat confdefs.h
>>conftest.
$ac_ext
10389 cat >>conftest.
$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10391 #if HAVE_SYS_PARAM_H
10392 # include <sys/param.h>
10396 #include <$ac_header>
10398 rm -f conftest.
$ac_objext
10399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10400 (eval $ac_compile) 2>conftest.er1
10402 grep -v '^ *+' conftest.er1
>conftest.err
10404 cat conftest.err
>&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); } &&
10407 { ac_try
='test -z "$ac_c_werror_flag"
10408 || test ! -s conftest.err'
10409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10410 (eval $ac_try) 2>&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }; } &&
10414 { ac_try
='test -s conftest.$ac_objext'
10415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10416 (eval $ac_try) 2>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }; }; then
10420 eval "$as_ac_Header=yes"
10422 echo "$as_me: failed program was:" >&5
10423 sed 's/^/| /' conftest.
$ac_ext >&5
10425 eval "$as_ac_Header=no"
10427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10432 cat >>confdefs.h
<<_ACEOF
10433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10442 for ac_header
in sys
/wait.h
wait.h
10444 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10446 echo "$as_me:$LINENO: checking for $ac_header" >&5
10447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10449 echo $ECHO_N "(cached) $ECHO_C" >&6
10451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10454 # Is the header compilable?
10455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10457 cat >conftest.
$ac_ext <<_ACEOF
10460 cat confdefs.h
>>conftest.
$ac_ext
10461 cat >>conftest.
$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10463 $ac_includes_default
10464 #include <$ac_header>
10466 rm -f conftest.
$ac_objext
10467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10468 (eval $ac_compile) 2>conftest.er1
10470 grep -v '^ *+' conftest.er1
>conftest.err
10472 cat conftest.err
>&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); } &&
10475 { ac_try
='test -z "$ac_c_werror_flag"
10476 || test ! -s conftest.err'
10477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10478 (eval $ac_try) 2>&5
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); }; } &&
10482 { ac_try
='test -s conftest.$ac_objext'
10483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); }; }; then
10488 ac_header_compiler
=yes
10490 echo "$as_me: failed program was:" >&5
10491 sed 's/^/| /' conftest.
$ac_ext >&5
10493 ac_header_compiler
=no
10495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10497 echo "${ECHO_T}$ac_header_compiler" >&6
10499 # Is the header present?
10500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10502 cat >conftest.
$ac_ext <<_ACEOF
10505 cat confdefs.h
>>conftest.
$ac_ext
10506 cat >>conftest.
$ac_ext <<_ACEOF
10507 /* end confdefs.h. */
10508 #include <$ac_header>
10510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10513 grep -v '^ *+' conftest.er1
>conftest.err
10515 cat conftest.err
>&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); } >/dev
/null
; then
10518 if test -s conftest.err
; then
10519 ac_cpp_err
=$ac_c_preproc_warn_flag
10520 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10527 if test -z "$ac_cpp_err"; then
10528 ac_header_preproc
=yes
10530 echo "$as_me: failed program was:" >&5
10531 sed 's/^/| /' conftest.
$ac_ext >&5
10533 ac_header_preproc
=no
10535 rm -f conftest.err conftest.
$ac_ext
10536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10537 echo "${ECHO_T}$ac_header_preproc" >&6
10539 # So? What about this header?
10540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10546 ac_header_preproc
=yes
10549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10563 ## ------------------------------------------ ##
10564 ## Report this to the AC_PACKAGE_NAME lists. ##
10565 ## ------------------------------------------ ##
10568 sed "s/^/$as_me: WARNING: /" >&2
10571 echo "$as_me:$LINENO: checking for $ac_header" >&5
10572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10574 echo $ECHO_N "(cached) $ECHO_C" >&6
10576 eval "$as_ac_Header=\$ac_header_preproc"
10578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10583 cat >>confdefs.h
<<_ACEOF
10584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10594 for ac_header
in termios.h termio.h sgtty.h
10596 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10598 echo "$as_me:$LINENO: checking for $ac_header" >&5
10599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10601 echo $ECHO_N "(cached) $ECHO_C" >&6
10603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10606 # Is the header compilable?
10607 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10609 cat >conftest.
$ac_ext <<_ACEOF
10612 cat confdefs.h
>>conftest.
$ac_ext
10613 cat >>conftest.
$ac_ext <<_ACEOF
10614 /* end confdefs.h. */
10615 $ac_includes_default
10616 #include <$ac_header>
10618 rm -f conftest.
$ac_objext
10619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10620 (eval $ac_compile) 2>conftest.er1
10622 grep -v '^ *+' conftest.er1
>conftest.err
10624 cat conftest.err
>&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); } &&
10627 { ac_try
='test -z "$ac_c_werror_flag"
10628 || test ! -s conftest.err'
10629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10630 (eval $ac_try) 2>&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); }; } &&
10634 { ac_try
='test -s conftest.$ac_objext'
10635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10636 (eval $ac_try) 2>&5
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); }; }; then
10640 ac_header_compiler
=yes
10642 echo "$as_me: failed program was:" >&5
10643 sed 's/^/| /' conftest.
$ac_ext >&5
10645 ac_header_compiler
=no
10647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10649 echo "${ECHO_T}$ac_header_compiler" >&6
10651 # Is the header present?
10652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10654 cat >conftest.
$ac_ext <<_ACEOF
10657 cat confdefs.h
>>conftest.
$ac_ext
10658 cat >>conftest.
$ac_ext <<_ACEOF
10659 /* end confdefs.h. */
10660 #include <$ac_header>
10662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10663 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10665 grep -v '^ *+' conftest.er1
>conftest.err
10667 cat conftest.err
>&5
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); } >/dev
/null
; then
10670 if test -s conftest.err
; then
10671 ac_cpp_err
=$ac_c_preproc_warn_flag
10672 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10679 if test -z "$ac_cpp_err"; then
10680 ac_header_preproc
=yes
10682 echo "$as_me: failed program was:" >&5
10683 sed 's/^/| /' conftest.
$ac_ext >&5
10685 ac_header_preproc
=no
10687 rm -f conftest.err conftest.
$ac_ext
10688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10689 echo "${ECHO_T}$ac_header_preproc" >&6
10691 # So? What about this header?
10692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10698 ac_header_preproc
=yes
10701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10715 ## ------------------------------------------ ##
10716 ## Report this to the AC_PACKAGE_NAME lists. ##
10717 ## ------------------------------------------ ##
10720 sed "s/^/$as_me: WARNING: /" >&2
10723 echo "$as_me:$LINENO: checking for $ac_header" >&5
10724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10726 echo $ECHO_N "(cached) $ECHO_C" >&6
10728 eval "$as_ac_Header=\$ac_header_preproc"
10730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10735 cat >>confdefs.h
<<_ACEOF
10736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10744 for ac_header
in unistd.h
10746 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10748 echo "$as_me:$LINENO: checking for $ac_header" >&5
10749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10756 # Is the header compilable?
10757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10759 cat >conftest.
$ac_ext <<_ACEOF
10762 cat confdefs.h
>>conftest.
$ac_ext
10763 cat >>conftest.
$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10765 $ac_includes_default
10766 #include <$ac_header>
10768 rm -f conftest.
$ac_objext
10769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10770 (eval $ac_compile) 2>conftest.er1
10772 grep -v '^ *+' conftest.er1
>conftest.err
10774 cat conftest.err
>&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } &&
10777 { ac_try
='test -z "$ac_c_werror_flag"
10778 || test ! -s conftest.err'
10779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10780 (eval $ac_try) 2>&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); }; } &&
10784 { ac_try
='test -s conftest.$ac_objext'
10785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10786 (eval $ac_try) 2>&5
10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); }; }; then
10790 ac_header_compiler
=yes
10792 echo "$as_me: failed program was:" >&5
10793 sed 's/^/| /' conftest.
$ac_ext >&5
10795 ac_header_compiler
=no
10797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10799 echo "${ECHO_T}$ac_header_compiler" >&6
10801 # Is the header present?
10802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10804 cat >conftest.
$ac_ext <<_ACEOF
10807 cat confdefs.h
>>conftest.
$ac_ext
10808 cat >>conftest.
$ac_ext <<_ACEOF
10809 /* end confdefs.h. */
10810 #include <$ac_header>
10812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10813 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10815 grep -v '^ *+' conftest.er1
>conftest.err
10817 cat conftest.err
>&5
10818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819 (exit $ac_status); } >/dev
/null
; then
10820 if test -s conftest.err
; then
10821 ac_cpp_err
=$ac_c_preproc_warn_flag
10822 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10829 if test -z "$ac_cpp_err"; then
10830 ac_header_preproc
=yes
10832 echo "$as_me: failed program was:" >&5
10833 sed 's/^/| /' conftest.
$ac_ext >&5
10835 ac_header_preproc
=no
10837 rm -f conftest.err conftest.
$ac_ext
10838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10839 echo "${ECHO_T}$ac_header_preproc" >&6
10841 # So? What about this header?
10842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10848 ac_header_preproc
=yes
10851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10855 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10857 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10858 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10861 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10865 ## ------------------------------------------ ##
10866 ## Report this to the AC_PACKAGE_NAME lists. ##
10867 ## ------------------------------------------ ##
10870 sed "s/^/$as_me: WARNING: /" >&2
10873 echo "$as_me:$LINENO: checking for $ac_header" >&5
10874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10878 eval "$as_ac_Header=\$ac_header_preproc"
10880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10885 cat >>confdefs.h
<<_ACEOF
10886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10894 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
10895 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
10896 # think that we don't have <curses.h> if we're using GCC.
10899 if test "$GCC" = yes; then
10901 cat >>confdefs.h
<<\_ACEOF
10902 #define _MSE_INT_H 1
10911 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
10913 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10923 # Is the header compilable?
10924 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10926 cat >conftest.
$ac_ext <<_ACEOF
10929 cat confdefs.h
>>conftest.
$ac_ext
10930 cat >>conftest.
$ac_ext <<_ACEOF
10931 /* end confdefs.h. */
10932 $ac_includes_default
10933 #include <$ac_header>
10935 rm -f conftest.
$ac_objext
10936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10937 (eval $ac_compile) 2>conftest.er1
10939 grep -v '^ *+' conftest.er1
>conftest.err
10941 cat conftest.err
>&5
10942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943 (exit $ac_status); } &&
10944 { ac_try
='test -z "$ac_c_werror_flag"
10945 || test ! -s conftest.err'
10946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10947 (eval $ac_try) 2>&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); }; } &&
10951 { ac_try
='test -s conftest.$ac_objext'
10952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10953 (eval $ac_try) 2>&5
10955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 (exit $ac_status); }; }; then
10957 ac_header_compiler
=yes
10959 echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.
$ac_ext >&5
10962 ac_header_compiler
=no
10964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10966 echo "${ECHO_T}$ac_header_compiler" >&6
10968 # Is the header present?
10969 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10970 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10971 cat >conftest.
$ac_ext <<_ACEOF
10974 cat confdefs.h
>>conftest.
$ac_ext
10975 cat >>conftest.
$ac_ext <<_ACEOF
10976 /* end confdefs.h. */
10977 #include <$ac_header>
10979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10980 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10982 grep -v '^ *+' conftest.er1
>conftest.err
10984 cat conftest.err
>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } >/dev
/null
; then
10987 if test -s conftest.err
; then
10988 ac_cpp_err
=$ac_c_preproc_warn_flag
10989 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10996 if test -z "$ac_cpp_err"; then
10997 ac_header_preproc
=yes
10999 echo "$as_me: failed program was:" >&5
11000 sed 's/^/| /' conftest.
$ac_ext >&5
11002 ac_header_preproc
=no
11004 rm -f conftest.err conftest.
$ac_ext
11005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11006 echo "${ECHO_T}$ac_header_preproc" >&6
11008 # So? What about this header?
11009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11011 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11014 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11015 ac_header_preproc
=yes
11018 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11020 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11021 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11022 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11023 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11024 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11025 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11028 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11029 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11032 ## ------------------------------------------ ##
11033 ## Report this to the AC_PACKAGE_NAME lists. ##
11034 ## ------------------------------------------ ##
11037 sed "s/^/$as_me: WARNING: /" >&2
11040 echo "$as_me:$LINENO: checking for $ac_header" >&5
11041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11043 echo $ECHO_N "(cached) $ECHO_C" >&6
11045 eval "$as_ac_Header=\$ac_header_preproc"
11047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11051 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11052 cat >>confdefs.h
<<_ACEOF
11053 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11061 for ac_header
in ncurses
/term.h
11063 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11065 echo "$as_me:$LINENO: checking for $ac_header" >&5
11066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11068 echo $ECHO_N "(cached) $ECHO_C" >&6
11070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11073 # Is the header compilable?
11074 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11075 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11076 cat >conftest.
$ac_ext <<_ACEOF
11079 cat confdefs.h
>>conftest.
$ac_ext
11080 cat >>conftest.
$ac_ext <<_ACEOF
11081 /* end confdefs.h. */
11082 $ac_includes_default
11083 #include <$ac_header>
11085 rm -f conftest.
$ac_objext
11086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11087 (eval $ac_compile) 2>conftest.er1
11089 grep -v '^ *+' conftest.er1
>conftest.err
11091 cat conftest.err
>&5
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); } &&
11094 { ac_try
='test -z "$ac_c_werror_flag"
11095 || test ! -s conftest.err'
11096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11097 (eval $ac_try) 2>&5
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); }; } &&
11101 { ac_try
='test -s conftest.$ac_objext'
11102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11103 (eval $ac_try) 2>&5
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); }; }; then
11107 ac_header_compiler
=yes
11109 echo "$as_me: failed program was:" >&5
11110 sed 's/^/| /' conftest.
$ac_ext >&5
11112 ac_header_compiler
=no
11114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11116 echo "${ECHO_T}$ac_header_compiler" >&6
11118 # Is the header present?
11119 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11121 cat >conftest.
$ac_ext <<_ACEOF
11124 cat confdefs.h
>>conftest.
$ac_ext
11125 cat >>conftest.
$ac_ext <<_ACEOF
11126 /* end confdefs.h. */
11127 #include <$ac_header>
11129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11132 grep -v '^ *+' conftest.er1
>conftest.err
11134 cat conftest.err
>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } >/dev
/null
; then
11137 if test -s conftest.err
; then
11138 ac_cpp_err
=$ac_c_preproc_warn_flag
11139 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11146 if test -z "$ac_cpp_err"; then
11147 ac_header_preproc
=yes
11149 echo "$as_me: failed program was:" >&5
11150 sed 's/^/| /' conftest.
$ac_ext >&5
11152 ac_header_preproc
=no
11154 rm -f conftest.err conftest.
$ac_ext
11155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11156 echo "${ECHO_T}$ac_header_preproc" >&6
11158 # So? What about this header?
11159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11164 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11165 ac_header_preproc
=yes
11168 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11169 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11170 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11171 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11172 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11173 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11174 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11175 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11178 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11179 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11182 ## ------------------------------------------ ##
11183 ## Report this to the AC_PACKAGE_NAME lists. ##
11184 ## ------------------------------------------ ##
11187 sed "s/^/$as_me: WARNING: /" >&2
11190 echo "$as_me:$LINENO: checking for $ac_header" >&5
11191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11195 eval "$as_ac_Header=\$ac_header_preproc"
11197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11202 cat >>confdefs.h
<<_ACEOF
11203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11211 for ac_header
in term.h
11213 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11214 echo "$as_me:$LINENO: checking for $ac_header" >&5
11215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11217 echo $ECHO_N "(cached) $ECHO_C" >&6
11219 cat >conftest.
$ac_ext <<_ACEOF
11222 cat confdefs.h
>>conftest.
$ac_ext
11223 cat >>conftest.
$ac_ext <<_ACEOF
11224 /* end confdefs.h. */
11226 # include <curses.h>
11230 #include <$ac_header>
11232 rm -f conftest.
$ac_objext
11233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11234 (eval $ac_compile) 2>conftest.er1
11236 grep -v '^ *+' conftest.er1
>conftest.err
11238 cat conftest.err
>&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); } &&
11241 { ac_try
='test -z "$ac_c_werror_flag"
11242 || test ! -s conftest.err'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; } &&
11248 { ac_try
='test -s conftest.$ac_objext'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; }; then
11254 eval "$as_ac_Header=yes"
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.
$ac_ext >&5
11259 eval "$as_ac_Header=no"
11261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11266 cat >>confdefs.h
<<_ACEOF
11267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11275 # FIXME: kettenis/20030102: In most cases we include these
11276 # unconditionally, so what's the point in checking these?
11279 for ac_header
in ctype.h
time.h
11281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11283 echo "$as_me:$LINENO: checking for $ac_header" >&5
11284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11286 echo $ECHO_N "(cached) $ECHO_C" >&6
11288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11291 # Is the header compilable?
11292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11294 cat >conftest.
$ac_ext <<_ACEOF
11297 cat confdefs.h
>>conftest.
$ac_ext
11298 cat >>conftest.
$ac_ext <<_ACEOF
11299 /* end confdefs.h. */
11300 $ac_includes_default
11301 #include <$ac_header>
11303 rm -f conftest.
$ac_objext
11304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11305 (eval $ac_compile) 2>conftest.er1
11307 grep -v '^ *+' conftest.er1
>conftest.err
11309 cat conftest.err
>&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); } &&
11312 { ac_try
='test -z "$ac_c_werror_flag"
11313 || test ! -s conftest.err'
11314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11315 (eval $ac_try) 2>&5
11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); }; } &&
11319 { ac_try
='test -s conftest.$ac_objext'
11320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11321 (eval $ac_try) 2>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); }; }; then
11325 ac_header_compiler
=yes
11327 echo "$as_me: failed program was:" >&5
11328 sed 's/^/| /' conftest.
$ac_ext >&5
11330 ac_header_compiler
=no
11332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11334 echo "${ECHO_T}$ac_header_compiler" >&6
11336 # Is the header present?
11337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11339 cat >conftest.
$ac_ext <<_ACEOF
11342 cat confdefs.h
>>conftest.
$ac_ext
11343 cat >>conftest.
$ac_ext <<_ACEOF
11344 /* end confdefs.h. */
11345 #include <$ac_header>
11347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11350 grep -v '^ *+' conftest.er1
>conftest.err
11352 cat conftest.err
>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); } >/dev
/null
; then
11355 if test -s conftest.err
; then
11356 ac_cpp_err
=$ac_c_preproc_warn_flag
11357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11364 if test -z "$ac_cpp_err"; then
11365 ac_header_preproc
=yes
11367 echo "$as_me: failed program was:" >&5
11368 sed 's/^/| /' conftest.
$ac_ext >&5
11370 ac_header_preproc
=no
11372 rm -f conftest.err conftest.
$ac_ext
11373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11374 echo "${ECHO_T}$ac_header_preproc" >&6
11376 # So? What about this header?
11377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11383 ac_header_preproc
=yes
11386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11400 ## ------------------------------------------ ##
11401 ## Report this to the AC_PACKAGE_NAME lists. ##
11402 ## ------------------------------------------ ##
11405 sed "s/^/$as_me: WARNING: /" >&2
11408 echo "$as_me:$LINENO: checking for $ac_header" >&5
11409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11411 echo $ECHO_N "(cached) $ECHO_C" >&6
11413 eval "$as_ac_Header=\$ac_header_preproc"
11415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11420 cat >>confdefs.h
<<_ACEOF
11421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11429 # Create a header we can use portably to get the standard integer types.
11432 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
11434 acx_cv_header_stdint
=stddef.h
11435 acx_cv_header_stdint_kind
="(already complete)"
11436 for i
in stdint.h
$inttype_headers; do
11437 unset ac_cv_type_uintptr_t
11438 unset ac_cv_type_uintmax_t
11439 unset ac_cv_type_int_least32_t
11440 unset ac_cv_type_int_fast32_t
11441 unset ac_cv_type_uint64_t
11442 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
11443 echo "$as_me:$LINENO: checking for uintmax_t" >&5
11444 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
11445 if test "${ac_cv_type_uintmax_t+set}" = set; then
11446 echo $ECHO_N "(cached) $ECHO_C" >&6
11448 cat >conftest.
$ac_ext <<_ACEOF
11451 cat confdefs.h
>>conftest.
$ac_ext
11452 cat >>conftest.
$ac_ext <<_ACEOF
11453 /* end confdefs.h. */
11454 #include <sys/types.h>
11460 if ((uintmax_t *) 0)
11462 if (sizeof (uintmax_t))
11468 rm -f conftest.
$ac_objext
11469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11470 (eval $ac_compile) 2>conftest.er1
11472 grep -v '^ *+' conftest.er1
>conftest.err
11474 cat conftest.err
>&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); } &&
11477 { ac_try
='test -z "$ac_c_werror_flag"
11478 || test ! -s conftest.err'
11479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11480 (eval $ac_try) 2>&5
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); }; } &&
11484 { ac_try
='test -s conftest.$ac_objext'
11485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11486 (eval $ac_try) 2>&5
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489 (exit $ac_status); }; }; then
11490 ac_cv_type_uintmax_t
=yes
11492 echo "$as_me: failed program was:" >&5
11493 sed 's/^/| /' conftest.
$ac_ext >&5
11495 ac_cv_type_uintmax_t
=no
11497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11499 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
11500 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
11501 if test $ac_cv_type_uintmax_t = yes; then
11502 acx_cv_header_stdint
=$i
11507 echo "$as_me:$LINENO: checking for uintptr_t" >&5
11508 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
11509 if test "${ac_cv_type_uintptr_t+set}" = set; then
11510 echo $ECHO_N "(cached) $ECHO_C" >&6
11512 cat >conftest.
$ac_ext <<_ACEOF
11515 cat confdefs.h
>>conftest.
$ac_ext
11516 cat >>conftest.
$ac_ext <<_ACEOF
11517 /* end confdefs.h. */
11518 #include <sys/types.h>
11524 if ((uintptr_t *) 0)
11526 if (sizeof (uintptr_t))
11532 rm -f conftest.
$ac_objext
11533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11534 (eval $ac_compile) 2>conftest.er1
11536 grep -v '^ *+' conftest.er1
>conftest.err
11538 cat conftest.err
>&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } &&
11541 { ac_try
='test -z "$ac_c_werror_flag"
11542 || test ! -s conftest.err'
11543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11544 (eval $ac_try) 2>&5
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); }; } &&
11548 { ac_try
='test -s conftest.$ac_objext'
11549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11550 (eval $ac_try) 2>&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); }; }; then
11554 ac_cv_type_uintptr_t
=yes
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.
$ac_ext >&5
11559 ac_cv_type_uintptr_t
=no
11561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11563 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11564 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
11565 if test $ac_cv_type_uintptr_t = yes; then
11568 acx_cv_header_stdint_kind
="(mostly complete)"
11571 echo "$as_me:$LINENO: checking for int_least32_t" >&5
11572 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
11573 if test "${ac_cv_type_int_least32_t+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 cat >conftest.
$ac_ext <<_ACEOF
11579 cat confdefs.h
>>conftest.
$ac_ext
11580 cat >>conftest.
$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11582 #include <sys/types.h>
11588 if ((int_least32_t *) 0)
11590 if (sizeof (int_least32_t))
11596 rm -f conftest.
$ac_objext
11597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11598 (eval $ac_compile) 2>conftest.er1
11600 grep -v '^ *+' conftest.er1
>conftest.err
11602 cat conftest.err
>&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); } &&
11605 { ac_try
='test -z "$ac_c_werror_flag"
11606 || test ! -s conftest.err'
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; } &&
11612 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
11618 ac_cv_type_int_least32_t
=yes
11620 echo "$as_me: failed program was:" >&5
11621 sed 's/^/| /' conftest.
$ac_ext >&5
11623 ac_cv_type_int_least32_t
=no
11625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11627 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
11628 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
11629 if test $ac_cv_type_int_least32_t = yes; then
11632 acx_cv_header_stdint_kind
="(mostly complete)"
11635 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
11636 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
11637 if test "${ac_cv_type_int_fast32_t+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 cat >conftest.
$ac_ext <<_ACEOF
11643 cat confdefs.h
>>conftest.
$ac_ext
11644 cat >>conftest.
$ac_ext <<_ACEOF
11645 /* end confdefs.h. */
11646 #include <sys/types.h>
11652 if ((int_fast32_t *) 0)
11654 if (sizeof (int_fast32_t))
11660 rm -f conftest.
$ac_objext
11661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11662 (eval $ac_compile) 2>conftest.er1
11664 grep -v '^ *+' conftest.er1
>conftest.err
11666 cat conftest.err
>&5
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); } &&
11669 { ac_try
='test -z "$ac_c_werror_flag"
11670 || test ! -s conftest.err'
11671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11672 (eval $ac_try) 2>&5
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); }; } &&
11676 { ac_try
='test -s conftest.$ac_objext'
11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678 (eval $ac_try) 2>&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; }; then
11682 ac_cv_type_int_fast32_t
=yes
11684 echo "$as_me: failed program was:" >&5
11685 sed 's/^/| /' conftest.
$ac_ext >&5
11687 ac_cv_type_int_fast32_t
=no
11689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11691 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
11692 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
11693 if test $ac_cv_type_int_fast32_t = yes; then
11696 acx_cv_header_stdint_kind
="(mostly complete)"
11699 echo "$as_me:$LINENO: checking for uint64_t" >&5
11700 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
11701 if test "${ac_cv_type_uint64_t+set}" = set; then
11702 echo $ECHO_N "(cached) $ECHO_C" >&6
11704 cat >conftest.
$ac_ext <<_ACEOF
11707 cat confdefs.h
>>conftest.
$ac_ext
11708 cat >>conftest.
$ac_ext <<_ACEOF
11709 /* end confdefs.h. */
11710 #include <sys/types.h>
11716 if ((uint64_t *) 0)
11718 if (sizeof (uint64_t))
11724 rm -f conftest.
$ac_objext
11725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11726 (eval $ac_compile) 2>conftest.er1
11728 grep -v '^ *+' conftest.er1
>conftest.err
11730 cat conftest.err
>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } &&
11733 { ac_try
='test -z "$ac_c_werror_flag"
11734 || test ! -s conftest.err'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; } &&
11740 { ac_try
='test -s conftest.$ac_objext'
11741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11742 (eval $ac_try) 2>&5
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); }; }; then
11746 ac_cv_type_uint64_t
=yes
11748 echo "$as_me: failed program was:" >&5
11749 sed 's/^/| /' conftest.
$ac_ext >&5
11751 ac_cv_type_uint64_t
=no
11753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11755 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
11756 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
11757 if test $ac_cv_type_uint64_t = yes; then
11760 acx_cv_header_stdint_kind
="(lacks uint64_t)"
11765 if test "$acx_cv_header_stdint" = stddef.h
; then
11766 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
11767 for i
in stdint.h
$inttype_headers; do
11768 unset ac_cv_type_uintptr_t
11769 unset ac_cv_type_uint32_t
11770 unset ac_cv_type_uint64_t
11771 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
11772 echo "$as_me:$LINENO: checking for uint32_t" >&5
11773 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
11774 if test "${ac_cv_type_uint32_t+set}" = set; then
11775 echo $ECHO_N "(cached) $ECHO_C" >&6
11777 cat >conftest.
$ac_ext <<_ACEOF
11780 cat confdefs.h
>>conftest.
$ac_ext
11781 cat >>conftest.
$ac_ext <<_ACEOF
11782 /* end confdefs.h. */
11783 #include <sys/types.h>
11789 if ((uint32_t *) 0)
11791 if (sizeof (uint32_t))
11797 rm -f conftest.
$ac_objext
11798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11799 (eval $ac_compile) 2>conftest.er1
11801 grep -v '^ *+' conftest.er1
>conftest.err
11803 cat conftest.err
>&5
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); } &&
11806 { ac_try
='test -z "$ac_c_werror_flag"
11807 || test ! -s conftest.err'
11808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11809 (eval $ac_try) 2>&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); }; } &&
11813 { ac_try
='test -s conftest.$ac_objext'
11814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11815 (eval $ac_try) 2>&5
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); }; }; then
11819 ac_cv_type_uint32_t
=yes
11821 echo "$as_me: failed program was:" >&5
11822 sed 's/^/| /' conftest.
$ac_ext >&5
11824 ac_cv_type_uint32_t
=no
11826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11828 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
11829 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
11830 if test $ac_cv_type_uint32_t = yes; then
11831 acx_cv_header_stdint
=$i
11836 echo "$as_me:$LINENO: checking for uint64_t" >&5
11837 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
11838 if test "${ac_cv_type_uint64_t+set}" = set; then
11839 echo $ECHO_N "(cached) $ECHO_C" >&6
11841 cat >conftest.
$ac_ext <<_ACEOF
11844 cat confdefs.h
>>conftest.
$ac_ext
11845 cat >>conftest.
$ac_ext <<_ACEOF
11846 /* end confdefs.h. */
11847 #include <sys/types.h>
11853 if ((uint64_t *) 0)
11855 if (sizeof (uint64_t))
11861 rm -f conftest.
$ac_objext
11862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11863 (eval $ac_compile) 2>conftest.er1
11865 grep -v '^ *+' conftest.er1
>conftest.err
11867 cat conftest.err
>&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); } &&
11870 { ac_try
='test -z "$ac_c_werror_flag"
11871 || test ! -s conftest.err'
11872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11873 (eval $ac_try) 2>&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); }; } &&
11877 { ac_try
='test -s conftest.$ac_objext'
11878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11879 (eval $ac_try) 2>&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); }; }; then
11883 ac_cv_type_uint64_t
=yes
11885 echo "$as_me: failed program was:" >&5
11886 sed 's/^/| /' conftest.
$ac_ext >&5
11888 ac_cv_type_uint64_t
=no
11890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11892 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
11893 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
11895 echo "$as_me:$LINENO: checking for uintptr_t" >&5
11896 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
11897 if test "${ac_cv_type_uintptr_t+set}" = set; then
11898 echo $ECHO_N "(cached) $ECHO_C" >&6
11900 cat >conftest.
$ac_ext <<_ACEOF
11903 cat confdefs.h
>>conftest.
$ac_ext
11904 cat >>conftest.
$ac_ext <<_ACEOF
11905 /* end confdefs.h. */
11906 #include <sys/types.h>
11912 if ((uintptr_t *) 0)
11914 if (sizeof (uintptr_t))
11920 rm -f conftest.
$ac_objext
11921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11922 (eval $ac_compile) 2>conftest.er1
11924 grep -v '^ *+' conftest.er1
>conftest.err
11926 cat conftest.err
>&5
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); } &&
11929 { ac_try
='test -z "$ac_c_werror_flag"
11930 || test ! -s conftest.err'
11931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11932 (eval $ac_try) 2>&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); }; } &&
11936 { ac_try
='test -s conftest.$ac_objext'
11937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11938 (eval $ac_try) 2>&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; }; then
11942 ac_cv_type_uintptr_t
=yes
11944 echo "$as_me: failed program was:" >&5
11945 sed 's/^/| /' conftest.
$ac_ext >&5
11947 ac_cv_type_uintptr_t
=no
11949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11951 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11952 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
11957 if test "$acx_cv_header_stdint" = stddef.h
; then
11958 acx_cv_header_stdint_kind
="(u_intXX_t style)"
11959 for i
in sys
/types.h
$inttype_headers; do
11960 unset ac_cv_type_u_int32_t
11961 unset ac_cv_type_u_int64_t
11962 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
11963 echo "$as_me:$LINENO: checking for u_int32_t" >&5
11964 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
11965 if test "${ac_cv_type_u_int32_t+set}" = set; then
11966 echo $ECHO_N "(cached) $ECHO_C" >&6
11968 cat >conftest.
$ac_ext <<_ACEOF
11971 cat confdefs.h
>>conftest.
$ac_ext
11972 cat >>conftest.
$ac_ext <<_ACEOF
11973 /* end confdefs.h. */
11974 #include <sys/types.h>
11980 if ((u_int32_t *) 0)
11982 if (sizeof (u_int32_t))
11988 rm -f conftest.
$ac_objext
11989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11990 (eval $ac_compile) 2>conftest.er1
11992 grep -v '^ *+' conftest.er1
>conftest.err
11994 cat conftest.err
>&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); } &&
11997 { ac_try
='test -z "$ac_c_werror_flag"
11998 || test ! -s conftest.err'
11999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12000 (eval $ac_try) 2>&5
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); }; } &&
12004 { ac_try
='test -s conftest.$ac_objext'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; }; then
12010 ac_cv_type_u_int32_t
=yes
12012 echo "$as_me: failed program was:" >&5
12013 sed 's/^/| /' conftest.
$ac_ext >&5
12015 ac_cv_type_u_int32_t
=no
12017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12019 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
12020 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
12021 if test $ac_cv_type_u_int32_t = yes; then
12022 acx_cv_header_stdint
=$i
12027 echo "$as_me:$LINENO: checking for u_int64_t" >&5
12028 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
12029 if test "${ac_cv_type_u_int64_t+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 cat >conftest.
$ac_ext <<_ACEOF
12035 cat confdefs.h
>>conftest.
$ac_ext
12036 cat >>conftest.
$ac_ext <<_ACEOF
12037 /* end confdefs.h. */
12038 #include <sys/types.h>
12044 if ((u_int64_t *) 0)
12046 if (sizeof (u_int64_t))
12052 rm -f conftest.
$ac_objext
12053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12054 (eval $ac_compile) 2>conftest.er1
12056 grep -v '^ *+' conftest.er1
>conftest.err
12058 cat conftest.err
>&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); } &&
12061 { ac_try
='test -z "$ac_c_werror_flag"
12062 || test ! -s conftest.err'
12063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12064 (eval $ac_try) 2>&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); }; } &&
12068 { ac_try
='test -s conftest.$ac_objext'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; }; then
12074 ac_cv_type_u_int64_t
=yes
12076 echo "$as_me: failed program was:" >&5
12077 sed 's/^/| /' conftest.
$ac_ext >&5
12079 ac_cv_type_u_int64_t
=no
12081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12083 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
12084 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
12089 if test "$acx_cv_header_stdint" = stddef.h
; then
12090 acx_cv_header_stdint_kind
="(using manual detection)"
12093 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
12094 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
12095 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
12096 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
12097 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
12099 # ----------------- Summarize what we found so far
12101 echo "$as_me:$LINENO: checking what to include in gdb_stdint.h" >&5
12102 echo $ECHO_N "checking what to include in gdb_stdint.h... $ECHO_C" >&6
12104 case `$as_basename gdb_stdint.h ||
12105 $as_expr X/gdb_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
12106 Xgdb_stdint.h : 'X\(//\)$' \| \
12107 Xgdb_stdint.h : 'X\(/\)$' \| \
12108 . : '\(.\)' 2>/dev/null ||
12109 echo X/gdb_stdint.h |
12110 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12111 /^X\/\(\/\/\)$/{ s//\1/; q; }
12112 /^X\/\(\/\).*/{ s//\1/; q; }
12114 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
12115 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12116 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
12117 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12121 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
12122 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
12124 # ----------------- done included file, check C basic types --------
12126 # Lacking an uintptr_t? Test size of void *
12127 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
12128 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
12129 echo $ECHO_N "checking for void *... $ECHO_C" >&6
12130 if test "${ac_cv_type_void_p+set}" = set; then
12131 echo $ECHO_N "(cached) $ECHO_C" >&6
12133 cat >conftest.
$ac_ext <<_ACEOF
12136 cat confdefs.h
>>conftest.
$ac_ext
12137 cat >>conftest.
$ac_ext <<_ACEOF
12138 /* end confdefs.h. */
12139 $ac_includes_default
12145 if (sizeof (void *))
12151 rm -f conftest.
$ac_objext
12152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12153 (eval $ac_compile) 2>conftest.er1
12155 grep -v '^ *+' conftest.er1
>conftest.err
12157 cat conftest.err
>&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } &&
12160 { ac_try
='test -z "$ac_c_werror_flag"
12161 || test ! -s conftest.err'
12162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12163 (eval $ac_try) 2>&5
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); }; } &&
12167 { ac_try
='test -s conftest.$ac_objext'
12168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12169 (eval $ac_try) 2>&5
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); }; }; then
12173 ac_cv_type_void_p
=yes
12175 echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.
$ac_ext >&5
12178 ac_cv_type_void_p
=no
12180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12182 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
12183 echo "${ECHO_T}$ac_cv_type_void_p" >&6
12185 echo "$as_me:$LINENO: checking size of void *" >&5
12186 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
12187 if test "${ac_cv_sizeof_void_p+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 if test "$ac_cv_type_void_p" = yes; then
12191 # The cast to unsigned long works around a bug in the HP C Compiler
12192 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12193 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12194 # This bug is HP SR number 8606223364.
12195 if test "$cross_compiling" = yes; then
12196 # Depending upon the size, compute the lo and hi bounds.
12197 cat >conftest.
$ac_ext <<_ACEOF
12200 cat confdefs.h
>>conftest.
$ac_ext
12201 cat >>conftest.
$ac_ext <<_ACEOF
12202 /* end confdefs.h. */
12203 $ac_includes_default
12207 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
12214 rm -f conftest.
$ac_objext
12215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12216 (eval $ac_compile) 2>conftest.er1
12218 grep -v '^ *+' conftest.er1
>conftest.err
12220 cat conftest.err
>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); } &&
12223 { ac_try
='test -z "$ac_c_werror_flag"
12224 || test ! -s conftest.err'
12225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12226 (eval $ac_try) 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }; } &&
12230 { ac_try
='test -s conftest.$ac_objext'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; }; then
12238 cat >conftest.
$ac_ext <<_ACEOF
12241 cat confdefs.h
>>conftest.
$ac_ext
12242 cat >>conftest.
$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12244 $ac_includes_default
12248 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
12255 rm -f conftest.
$ac_objext
12256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12257 (eval $ac_compile) 2>conftest.er1
12259 grep -v '^ *+' conftest.er1
>conftest.err
12261 cat conftest.err
>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } &&
12264 { ac_try
='test -z "$ac_c_werror_flag"
12265 || test ! -s conftest.err'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; } &&
12271 { ac_try
='test -s conftest.$ac_objext'
12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 (eval $ac_try) 2>&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; }; then
12277 ac_hi
=$ac_mid; break
12279 echo "$as_me: failed program was:" >&5
12280 sed 's/^/| /' conftest.
$ac_ext >&5
12282 ac_lo
=`expr $ac_mid + 1`
12283 if test $ac_lo -le $ac_mid; then
12287 ac_mid
=`expr 2 '*' $ac_mid + 1`
12289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12292 echo "$as_me: failed program was:" >&5
12293 sed 's/^/| /' conftest.
$ac_ext >&5
12295 cat >conftest.
$ac_ext <<_ACEOF
12298 cat confdefs.h
>>conftest.
$ac_ext
12299 cat >>conftest.
$ac_ext <<_ACEOF
12300 /* end confdefs.h. */
12301 $ac_includes_default
12305 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
12312 rm -f conftest.
$ac_objext
12313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12314 (eval $ac_compile) 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); } &&
12321 { ac_try
='test -z "$ac_c_werror_flag"
12322 || test ! -s conftest.err'
12323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12324 (eval $ac_try) 2>&5
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); }; } &&
12328 { ac_try
='test -s conftest.$ac_objext'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; }; then
12336 cat >conftest.
$ac_ext <<_ACEOF
12339 cat confdefs.h
>>conftest.
$ac_ext
12340 cat >>conftest.
$ac_ext <<_ACEOF
12341 /* end confdefs.h. */
12342 $ac_includes_default
12346 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
12353 rm -f conftest.
$ac_objext
12354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12355 (eval $ac_compile) 2>conftest.er1
12357 grep -v '^ *+' conftest.er1
>conftest.err
12359 cat conftest.err
>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); } &&
12362 { ac_try
='test -z "$ac_c_werror_flag"
12363 || test ! -s conftest.err'
12364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12365 (eval $ac_try) 2>&5
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }; } &&
12369 { ac_try
='test -s conftest.$ac_objext'
12370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12371 (eval $ac_try) 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; }; then
12375 ac_lo
=$ac_mid; break
12377 echo "$as_me: failed program was:" >&5
12378 sed 's/^/| /' conftest.
$ac_ext >&5
12380 ac_hi
=`expr '(' $ac_mid ')' - 1`
12381 if test $ac_mid -le $ac_hi; then
12385 ac_mid
=`expr 2 '*' $ac_mid`
12387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12390 echo "$as_me: failed program was:" >&5
12391 sed 's/^/| /' conftest.
$ac_ext >&5
12395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12398 # Binary search between lo and hi bounds.
12399 while test "x$ac_lo" != "x$ac_hi"; do
12400 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12401 cat >conftest.
$ac_ext <<_ACEOF
12404 cat confdefs.h
>>conftest.
$ac_ext
12405 cat >>conftest.
$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12407 $ac_includes_default
12411 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
12418 rm -f conftest.
$ac_objext
12419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12420 (eval $ac_compile) 2>conftest.er1
12422 grep -v '^ *+' conftest.er1
>conftest.err
12424 cat conftest.err
>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); } &&
12427 { ac_try
='test -z "$ac_c_werror_flag"
12428 || test ! -s conftest.err'
12429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12430 (eval $ac_try) 2>&5
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); }; } &&
12434 { ac_try
='test -s conftest.$ac_objext'
12435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12436 (eval $ac_try) 2>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; }; then
12442 echo "$as_me: failed program was:" >&5
12443 sed 's/^/| /' conftest.
$ac_ext >&5
12445 ac_lo
=`expr '(' $ac_mid ')' + 1`
12447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12450 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
12451 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12452 See \`config.log' for more details." >&5
12453 echo "$as_me: error: cannot compute sizeof (void *), 77
12454 See \`config.log' for more details." >&2;}
12455 { (exit 1); exit 1; }; } ;;
12458 if test "$cross_compiling" = yes; then
12459 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12460 See \`config.log' for more details." >&5
12461 echo "$as_me: error: cannot run test program while cross compiling
12462 See \`config.log' for more details." >&2;}
12463 { (exit 1); exit 1; }; }
12465 cat >conftest.
$ac_ext <<_ACEOF
12468 cat confdefs.h
>>conftest.
$ac_ext
12469 cat >>conftest.
$ac_ext <<_ACEOF
12470 /* end confdefs.h. */
12471 $ac_includes_default
12472 long longval () { return (long) (sizeof (void *)); }
12473 unsigned long ulongval () { return (long) (sizeof (void *)); }
12475 #include <stdlib.h>
12480 FILE *f = fopen ("conftest.val", "w");
12483 if (((long) (sizeof (void *))) < 0)
12485 long i = longval ();
12486 if (i != ((long) (sizeof (void *))))
12488 fprintf (f, "%ld\n", i);
12492 unsigned long i = ulongval ();
12493 if (i != ((long) (sizeof (void *))))
12495 fprintf (f, "%lu\n", i);
12497 exit (ferror (f) || fclose (f) != 0);
12503 rm -f conftest
$ac_exeext
12504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12505 (eval $ac_link) 2>&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12514 ac_cv_sizeof_void_p
=`cat conftest.val`
12516 echo "$as_me: program exited with status $ac_status" >&5
12517 echo "$as_me: failed program was:" >&5
12518 sed 's/^/| /' conftest.
$ac_ext >&5
12520 ( exit $ac_status )
12521 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12522 See \`config.log' for more details." >&5
12523 echo "$as_me: error: cannot compute sizeof (void *), 77
12524 See \`config.log' for more details." >&2;}
12525 { (exit 1); exit 1; }; }
12527 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12532 ac_cv_sizeof_void_p
=0
12535 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
12536 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
12537 cat >>confdefs.h
<<_ACEOF
12538 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12544 # Lacking an uint64_t? Test size of long
12545 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
12546 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
12547 echo $ECHO_N "checking for long... $ECHO_C" >&6
12548 if test "${ac_cv_type_long+set}" = set; then
12549 echo $ECHO_N "(cached) $ECHO_C" >&6
12551 cat >conftest.
$ac_ext <<_ACEOF
12554 cat confdefs.h
>>conftest.
$ac_ext
12555 cat >>conftest.
$ac_ext <<_ACEOF
12556 /* end confdefs.h. */
12557 $ac_includes_default
12569 rm -f conftest.
$ac_objext
12570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12571 (eval $ac_compile) 2>conftest.er1
12573 grep -v '^ *+' conftest.er1
>conftest.err
12575 cat conftest.err
>&5
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); } &&
12578 { ac_try
='test -z "$ac_c_werror_flag"
12579 || test ! -s conftest.err'
12580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12581 (eval $ac_try) 2>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); }; } &&
12585 { ac_try
='test -s conftest.$ac_objext'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; }; then
12591 ac_cv_type_long
=yes
12593 echo "$as_me: failed program was:" >&5
12594 sed 's/^/| /' conftest.
$ac_ext >&5
12598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12600 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12601 echo "${ECHO_T}$ac_cv_type_long" >&6
12603 echo "$as_me:$LINENO: checking size of long" >&5
12604 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12605 if test "${ac_cv_sizeof_long+set}" = set; then
12606 echo $ECHO_N "(cached) $ECHO_C" >&6
12608 if test "$ac_cv_type_long" = yes; then
12609 # The cast to unsigned long works around a bug in the HP C Compiler
12610 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12611 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12612 # This bug is HP SR number 8606223364.
12613 if test "$cross_compiling" = yes; then
12614 # Depending upon the size, compute the lo and hi bounds.
12615 cat >conftest.
$ac_ext <<_ACEOF
12618 cat confdefs.h
>>conftest.
$ac_ext
12619 cat >>conftest.
$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12621 $ac_includes_default
12625 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12632 rm -f conftest.
$ac_objext
12633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12634 (eval $ac_compile) 2>conftest.er1
12636 grep -v '^ *+' conftest.er1
>conftest.err
12638 cat conftest.err
>&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); } &&
12641 { ac_try
='test -z "$ac_c_werror_flag"
12642 || test ! -s conftest.err'
12643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12644 (eval $ac_try) 2>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); }; } &&
12648 { ac_try
='test -s conftest.$ac_objext'
12649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 (eval $ac_try) 2>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; }; then
12656 cat >conftest.
$ac_ext <<_ACEOF
12659 cat confdefs.h
>>conftest.
$ac_ext
12660 cat >>conftest.
$ac_ext <<_ACEOF
12661 /* end confdefs.h. */
12662 $ac_includes_default
12666 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12673 rm -f conftest.
$ac_objext
12674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12675 (eval $ac_compile) 2>conftest.er1
12677 grep -v '^ *+' conftest.er1
>conftest.err
12679 cat conftest.err
>&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); } &&
12682 { ac_try
='test -z "$ac_c_werror_flag"
12683 || test ! -s conftest.err'
12684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12685 (eval $ac_try) 2>&5
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); }; } &&
12689 { ac_try
='test -s conftest.$ac_objext'
12690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691 (eval $ac_try) 2>&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); }; }; then
12695 ac_hi
=$ac_mid; break
12697 echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.
$ac_ext >&5
12700 ac_lo
=`expr $ac_mid + 1`
12701 if test $ac_lo -le $ac_mid; then
12705 ac_mid
=`expr 2 '*' $ac_mid + 1`
12707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12710 echo "$as_me: failed program was:" >&5
12711 sed 's/^/| /' conftest.
$ac_ext >&5
12713 cat >conftest.
$ac_ext <<_ACEOF
12716 cat confdefs.h
>>conftest.
$ac_ext
12717 cat >>conftest.
$ac_ext <<_ACEOF
12718 /* end confdefs.h. */
12719 $ac_includes_default
12723 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12730 rm -f conftest.
$ac_objext
12731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12732 (eval $ac_compile) 2>conftest.er1
12734 grep -v '^ *+' conftest.er1
>conftest.err
12736 cat conftest.err
>&5
12737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12738 (exit $ac_status); } &&
12739 { ac_try
='test -z "$ac_c_werror_flag"
12740 || test ! -s conftest.err'
12741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12742 (eval $ac_try) 2>&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); }; } &&
12746 { ac_try
='test -s conftest.$ac_objext'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; }; then
12754 cat >conftest.
$ac_ext <<_ACEOF
12757 cat confdefs.h
>>conftest.
$ac_ext
12758 cat >>conftest.
$ac_ext <<_ACEOF
12759 /* end confdefs.h. */
12760 $ac_includes_default
12764 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12771 rm -f conftest.
$ac_objext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773 (eval $ac_compile) 2>conftest.er1
12775 grep -v '^ *+' conftest.er1
>conftest.err
12777 cat conftest.err
>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try
='test -z "$ac_c_werror_flag"
12781 || test ! -s conftest.err'
12782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12783 (eval $ac_try) 2>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; } &&
12787 { ac_try
='test -s conftest.$ac_objext'
12788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12789 (eval $ac_try) 2>&5
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); }; }; then
12793 ac_lo
=$ac_mid; break
12795 echo "$as_me: failed program was:" >&5
12796 sed 's/^/| /' conftest.
$ac_ext >&5
12798 ac_hi
=`expr '(' $ac_mid ')' - 1`
12799 if test $ac_mid -le $ac_hi; then
12803 ac_mid
=`expr 2 '*' $ac_mid`
12805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12808 echo "$as_me: failed program was:" >&5
12809 sed 's/^/| /' conftest.
$ac_ext >&5
12813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12816 # Binary search between lo and hi bounds.
12817 while test "x$ac_lo" != "x$ac_hi"; do
12818 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12819 cat >conftest.
$ac_ext <<_ACEOF
12822 cat confdefs.h
>>conftest.
$ac_ext
12823 cat >>conftest.
$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12825 $ac_includes_default
12829 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12836 rm -f conftest.
$ac_objext
12837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12838 (eval $ac_compile) 2>conftest.er1
12840 grep -v '^ *+' conftest.er1
>conftest.err
12842 cat conftest.err
>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try
='test -z "$ac_c_werror_flag"
12846 || test ! -s conftest.err'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; } &&
12852 { ac_try
='test -s conftest.$ac_objext'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; }; then
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.
$ac_ext >&5
12863 ac_lo
=`expr '(' $ac_mid ')' + 1`
12865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12868 ?
*) ac_cv_sizeof_long
=$ac_lo;;
12869 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12870 See \`config.log' for more details." >&5
12871 echo "$as_me: error: cannot compute sizeof (long), 77
12872 See \`config.log' for more details." >&2;}
12873 { (exit 1); exit 1; }; } ;;
12876 if test "$cross_compiling" = yes; then
12877 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12878 See \`config.log' for more details." >&5
12879 echo "$as_me: error: cannot run test program while cross compiling
12880 See \`config.log' for more details." >&2;}
12881 { (exit 1); exit 1; }; }
12883 cat >conftest.
$ac_ext <<_ACEOF
12886 cat confdefs.h
>>conftest.
$ac_ext
12887 cat >>conftest.
$ac_ext <<_ACEOF
12888 /* end confdefs.h. */
12889 $ac_includes_default
12890 long longval () { return (long) (sizeof (long)); }
12891 unsigned long ulongval () { return (long) (sizeof (long)); }
12893 #include <stdlib.h>
12898 FILE *f = fopen ("conftest.val", "w");
12901 if (((long) (sizeof (long))) < 0)
12903 long i = longval ();
12904 if (i != ((long) (sizeof (long))))
12906 fprintf (f, "%ld\n", i);
12910 unsigned long i = ulongval ();
12911 if (i != ((long) (sizeof (long))))
12913 fprintf (f, "%lu\n", i);
12915 exit (ferror (f) || fclose (f) != 0);
12921 rm -f conftest
$ac_exeext
12922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12923 (eval $ac_link) 2>&5
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12928 (eval $ac_try) 2>&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); }; }; then
12932 ac_cv_sizeof_long
=`cat conftest.val`
12934 echo "$as_me: program exited with status $ac_status" >&5
12935 echo "$as_me: failed program was:" >&5
12936 sed 's/^/| /' conftest.
$ac_ext >&5
12938 ( exit $ac_status )
12939 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12940 See \`config.log' for more details." >&5
12941 echo "$as_me: error: cannot compute sizeof (long), 77
12942 See \`config.log' for more details." >&2;}
12943 { (exit 1); exit 1; }; }
12945 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12950 ac_cv_sizeof_long
=0
12953 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12954 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12955 cat >>confdefs.h
<<_ACEOF
12956 #define SIZEOF_LONG $ac_cv_sizeof_long
12962 if test $acx_cv_header_stdint = stddef.h
; then
12963 # Lacking a good header? Test size of everything and deduce all types.
12964 echo "$as_me:$LINENO: checking for int" >&5
12965 echo $ECHO_N "checking for int... $ECHO_C" >&6
12966 if test "${ac_cv_type_int+set}" = set; then
12967 echo $ECHO_N "(cached) $ECHO_C" >&6
12969 cat >conftest.
$ac_ext <<_ACEOF
12972 cat confdefs.h
>>conftest.
$ac_ext
12973 cat >>conftest.
$ac_ext <<_ACEOF
12974 /* end confdefs.h. */
12975 $ac_includes_default
12987 rm -f conftest.
$ac_objext
12988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12989 (eval $ac_compile) 2>conftest.er1
12991 grep -v '^ *+' conftest.er1
>conftest.err
12993 cat conftest.err
>&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } &&
12996 { ac_try
='test -z "$ac_c_werror_flag"
12997 || test ! -s conftest.err'
12998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12999 (eval $ac_try) 2>&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }; } &&
13003 { ac_try
='test -s conftest.$ac_objext'
13004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 (eval $ac_try) 2>&5
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); }; }; then
13011 echo "$as_me: failed program was:" >&5
13012 sed 's/^/| /' conftest.
$ac_ext >&5
13016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13018 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
13019 echo "${ECHO_T}$ac_cv_type_int" >&6
13021 echo "$as_me:$LINENO: checking size of int" >&5
13022 echo $ECHO_N "checking size of int... $ECHO_C" >&6
13023 if test "${ac_cv_sizeof_int+set}" = set; then
13024 echo $ECHO_N "(cached) $ECHO_C" >&6
13026 if test "$ac_cv_type_int" = yes; then
13027 # The cast to unsigned long works around a bug in the HP C Compiler
13028 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13029 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13030 # This bug is HP SR number 8606223364.
13031 if test "$cross_compiling" = yes; then
13032 # Depending upon the size, compute the lo and hi bounds.
13033 cat >conftest.
$ac_ext <<_ACEOF
13036 cat confdefs.h
>>conftest.
$ac_ext
13037 cat >>conftest.
$ac_ext <<_ACEOF
13038 /* end confdefs.h. */
13039 $ac_includes_default
13043 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
13050 rm -f conftest.
$ac_objext
13051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13052 (eval $ac_compile) 2>conftest.er1
13054 grep -v '^ *+' conftest.er1
>conftest.err
13056 cat conftest.err
>&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); } &&
13059 { ac_try
='test -z "$ac_c_werror_flag"
13060 || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try
='test -s conftest.$ac_objext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13074 cat >conftest.
$ac_ext <<_ACEOF
13077 cat confdefs.h
>>conftest.
$ac_ext
13078 cat >>conftest.
$ac_ext <<_ACEOF
13079 /* end confdefs.h. */
13080 $ac_includes_default
13084 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
13091 rm -f conftest.
$ac_objext
13092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13093 (eval $ac_compile) 2>conftest.er1
13095 grep -v '^ *+' conftest.er1
>conftest.err
13097 cat conftest.err
>&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); } &&
13100 { ac_try
='test -z "$ac_c_werror_flag"
13101 || test ! -s conftest.err'
13102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13103 (eval $ac_try) 2>&5
13105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); }; } &&
13107 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
13113 ac_hi
=$ac_mid; break
13115 echo "$as_me: failed program was:" >&5
13116 sed 's/^/| /' conftest.
$ac_ext >&5
13118 ac_lo
=`expr $ac_mid + 1`
13119 if test $ac_lo -le $ac_mid; then
13123 ac_mid
=`expr 2 '*' $ac_mid + 1`
13125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13128 echo "$as_me: failed program was:" >&5
13129 sed 's/^/| /' conftest.
$ac_ext >&5
13131 cat >conftest.
$ac_ext <<_ACEOF
13134 cat confdefs.h
>>conftest.
$ac_ext
13135 cat >>conftest.
$ac_ext <<_ACEOF
13136 /* end confdefs.h. */
13137 $ac_includes_default
13141 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
13148 rm -f conftest.
$ac_objext
13149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13150 (eval $ac_compile) 2>conftest.er1
13152 grep -v '^ *+' conftest.er1
>conftest.err
13154 cat conftest.err
>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } &&
13157 { ac_try
='test -z "$ac_c_werror_flag"
13158 || test ! -s conftest.err'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; } &&
13164 { ac_try
='test -s conftest.$ac_objext'
13165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13166 (eval $ac_try) 2>&5
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 (exit $ac_status); }; }; then
13172 cat >conftest.
$ac_ext <<_ACEOF
13175 cat confdefs.h
>>conftest.
$ac_ext
13176 cat >>conftest.
$ac_ext <<_ACEOF
13177 /* end confdefs.h. */
13178 $ac_includes_default
13182 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
13189 rm -f conftest.
$ac_objext
13190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13191 (eval $ac_compile) 2>conftest.er1
13193 grep -v '^ *+' conftest.er1
>conftest.err
13195 cat conftest.err
>&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); } &&
13198 { ac_try
='test -z "$ac_c_werror_flag"
13199 || test ! -s conftest.err'
13200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13201 (eval $ac_try) 2>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); }; } &&
13205 { ac_try
='test -s conftest.$ac_objext'
13206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13207 (eval $ac_try) 2>&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); }; }; then
13211 ac_lo
=$ac_mid; break
13213 echo "$as_me: failed program was:" >&5
13214 sed 's/^/| /' conftest.
$ac_ext >&5
13216 ac_hi
=`expr '(' $ac_mid ')' - 1`
13217 if test $ac_mid -le $ac_hi; then
13221 ac_mid
=`expr 2 '*' $ac_mid`
13223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13226 echo "$as_me: failed program was:" >&5
13227 sed 's/^/| /' conftest.
$ac_ext >&5
13231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13234 # Binary search between lo and hi bounds.
13235 while test "x$ac_lo" != "x$ac_hi"; do
13236 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13237 cat >conftest.
$ac_ext <<_ACEOF
13240 cat confdefs.h
>>conftest.
$ac_ext
13241 cat >>conftest.
$ac_ext <<_ACEOF
13242 /* end confdefs.h. */
13243 $ac_includes_default
13247 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
13254 rm -f conftest.
$ac_objext
13255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13256 (eval $ac_compile) 2>conftest.er1
13258 grep -v '^ *+' conftest.er1
>conftest.err
13260 cat conftest.err
>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } &&
13263 { ac_try
='test -z "$ac_c_werror_flag"
13264 || test ! -s conftest.err'
13265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13266 (eval $ac_try) 2>&5
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); }; } &&
13270 { ac_try
='test -s conftest.$ac_objext'
13271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13272 (eval $ac_try) 2>&5
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); }; }; then
13278 echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.
$ac_ext >&5
13281 ac_lo
=`expr '(' $ac_mid ')' + 1`
13283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13286 ?
*) ac_cv_sizeof_int
=$ac_lo;;
13287 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
13288 See \`config.log' for more details." >&5
13289 echo "$as_me: error: cannot compute sizeof (int), 77
13290 See \`config.log' for more details." >&2;}
13291 { (exit 1); exit 1; }; } ;;
13294 if test "$cross_compiling" = yes; then
13295 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13296 See \`config.log' for more details." >&5
13297 echo "$as_me: error: cannot run test program while cross compiling
13298 See \`config.log' for more details." >&2;}
13299 { (exit 1); exit 1; }; }
13301 cat >conftest.
$ac_ext <<_ACEOF
13304 cat confdefs.h
>>conftest.
$ac_ext
13305 cat >>conftest.
$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13307 $ac_includes_default
13308 long longval () { return (long) (sizeof (int)); }
13309 unsigned long ulongval () { return (long) (sizeof (int)); }
13311 #include <stdlib.h>
13316 FILE *f = fopen ("conftest.val", "w");
13319 if (((long) (sizeof (int))) < 0)
13321 long i = longval ();
13322 if (i != ((long) (sizeof (int))))
13324 fprintf (f, "%ld\n", i);
13328 unsigned long i = ulongval ();
13329 if (i != ((long) (sizeof (int))))
13331 fprintf (f, "%lu\n", i);
13333 exit (ferror (f) || fclose (f) != 0);
13339 rm -f conftest
$ac_exeext
13340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13341 (eval $ac_link) 2>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13346 (eval $ac_try) 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; }; then
13350 ac_cv_sizeof_int
=`cat conftest.val`
13352 echo "$as_me: program exited with status $ac_status" >&5
13353 echo "$as_me: failed program was:" >&5
13354 sed 's/^/| /' conftest.
$ac_ext >&5
13356 ( exit $ac_status )
13357 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
13358 See \`config.log' for more details." >&5
13359 echo "$as_me: error: cannot compute sizeof (int), 77
13360 See \`config.log' for more details." >&2;}
13361 { (exit 1); exit 1; }; }
13363 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13371 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
13372 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
13373 cat >>confdefs.h
<<_ACEOF
13374 #define SIZEOF_INT $ac_cv_sizeof_int
13378 echo "$as_me:$LINENO: checking for short" >&5
13379 echo $ECHO_N "checking for short... $ECHO_C" >&6
13380 if test "${ac_cv_type_short+set}" = set; then
13381 echo $ECHO_N "(cached) $ECHO_C" >&6
13383 cat >conftest.
$ac_ext <<_ACEOF
13386 cat confdefs.h
>>conftest.
$ac_ext
13387 cat >>conftest.
$ac_ext <<_ACEOF
13388 /* end confdefs.h. */
13389 $ac_includes_default
13395 if (sizeof (short))
13401 rm -f conftest.
$ac_objext
13402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13403 (eval $ac_compile) 2>conftest.er1
13405 grep -v '^ *+' conftest.er1
>conftest.err
13407 cat conftest.err
>&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); } &&
13410 { ac_try
='test -z "$ac_c_werror_flag"
13411 || test ! -s conftest.err'
13412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13413 (eval $ac_try) 2>&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); }; } &&
13417 { ac_try
='test -s conftest.$ac_objext'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; }; then
13423 ac_cv_type_short
=yes
13425 echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.
$ac_ext >&5
13428 ac_cv_type_short
=no
13430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13432 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13433 echo "${ECHO_T}$ac_cv_type_short" >&6
13435 echo "$as_me:$LINENO: checking size of short" >&5
13436 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13437 if test "${ac_cv_sizeof_short+set}" = set; then
13438 echo $ECHO_N "(cached) $ECHO_C" >&6
13440 if test "$ac_cv_type_short" = yes; then
13441 # The cast to unsigned long works around a bug in the HP C Compiler
13442 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13443 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13444 # This bug is HP SR number 8606223364.
13445 if test "$cross_compiling" = yes; then
13446 # Depending upon the size, compute the lo and hi bounds.
13447 cat >conftest.
$ac_ext <<_ACEOF
13450 cat confdefs.h
>>conftest.
$ac_ext
13451 cat >>conftest.
$ac_ext <<_ACEOF
13452 /* end confdefs.h. */
13453 $ac_includes_default
13457 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13464 rm -f conftest.
$ac_objext
13465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13466 (eval $ac_compile) 2>conftest.er1
13468 grep -v '^ *+' conftest.er1
>conftest.err
13470 cat conftest.err
>&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); } &&
13473 { ac_try
='test -z "$ac_c_werror_flag"
13474 || test ! -s conftest.err'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; } &&
13480 { ac_try
='test -s conftest.$ac_objext'
13481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13482 (eval $ac_try) 2>&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); }; }; then
13488 cat >conftest.
$ac_ext <<_ACEOF
13491 cat confdefs.h
>>conftest.
$ac_ext
13492 cat >>conftest.
$ac_ext <<_ACEOF
13493 /* end confdefs.h. */
13494 $ac_includes_default
13498 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13505 rm -f conftest.
$ac_objext
13506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13507 (eval $ac_compile) 2>conftest.er1
13509 grep -v '^ *+' conftest.er1
>conftest.err
13511 cat conftest.err
>&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } &&
13514 { ac_try
='test -z "$ac_c_werror_flag"
13515 || test ! -s conftest.err'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; } &&
13521 { ac_try
='test -s conftest.$ac_objext'
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; }; then
13527 ac_hi
=$ac_mid; break
13529 echo "$as_me: failed program was:" >&5
13530 sed 's/^/| /' conftest.
$ac_ext >&5
13532 ac_lo
=`expr $ac_mid + 1`
13533 if test $ac_lo -le $ac_mid; then
13537 ac_mid
=`expr 2 '*' $ac_mid + 1`
13539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13542 echo "$as_me: failed program was:" >&5
13543 sed 's/^/| /' conftest.
$ac_ext >&5
13545 cat >conftest.
$ac_ext <<_ACEOF
13548 cat confdefs.h
>>conftest.
$ac_ext
13549 cat >>conftest.
$ac_ext <<_ACEOF
13550 /* end confdefs.h. */
13551 $ac_includes_default
13555 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
13562 rm -f conftest.
$ac_objext
13563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13564 (eval $ac_compile) 2>conftest.er1
13566 grep -v '^ *+' conftest.er1
>conftest.err
13568 cat conftest.err
>&5
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); } &&
13571 { ac_try
='test -z "$ac_c_werror_flag"
13572 || test ! -s conftest.err'
13573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574 (eval $ac_try) 2>&5
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); }; } &&
13578 { ac_try
='test -s conftest.$ac_objext'
13579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13580 (eval $ac_try) 2>&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); }; }; then
13586 cat >conftest.
$ac_ext <<_ACEOF
13589 cat confdefs.h
>>conftest.
$ac_ext
13590 cat >>conftest.
$ac_ext <<_ACEOF
13591 /* end confdefs.h. */
13592 $ac_includes_default
13596 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
13603 rm -f conftest.
$ac_objext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13605 (eval $ac_compile) 2>conftest.er1
13607 grep -v '^ *+' conftest.er1
>conftest.err
13609 cat conftest.err
>&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try
='test -z "$ac_c_werror_flag"
13613 || test ! -s conftest.err'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; } &&
13619 { ac_try
='test -s conftest.$ac_objext'
13620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13621 (eval $ac_try) 2>&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); }; }; then
13625 ac_lo
=$ac_mid; break
13627 echo "$as_me: failed program was:" >&5
13628 sed 's/^/| /' conftest.
$ac_ext >&5
13630 ac_hi
=`expr '(' $ac_mid ')' - 1`
13631 if test $ac_mid -le $ac_hi; then
13635 ac_mid
=`expr 2 '*' $ac_mid`
13637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13640 echo "$as_me: failed program was:" >&5
13641 sed 's/^/| /' conftest.
$ac_ext >&5
13645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13648 # Binary search between lo and hi bounds.
13649 while test "x$ac_lo" != "x$ac_hi"; do
13650 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13651 cat >conftest.
$ac_ext <<_ACEOF
13654 cat confdefs.h
>>conftest.
$ac_ext
13655 cat >>conftest.
$ac_ext <<_ACEOF
13656 /* end confdefs.h. */
13657 $ac_includes_default
13661 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13668 rm -f conftest.
$ac_objext
13669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13670 (eval $ac_compile) 2>conftest.er1
13672 grep -v '^ *+' conftest.er1
>conftest.err
13674 cat conftest.err
>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); } &&
13677 { ac_try
='test -z "$ac_c_werror_flag"
13678 || test ! -s conftest.err'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; } &&
13684 { ac_try
='test -s conftest.$ac_objext'
13685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13686 (eval $ac_try) 2>&5
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }; }; then
13692 echo "$as_me: failed program was:" >&5
13693 sed 's/^/| /' conftest.
$ac_ext >&5
13695 ac_lo
=`expr '(' $ac_mid ')' + 1`
13697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13700 ?
*) ac_cv_sizeof_short
=$ac_lo;;
13701 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
13702 See \`config.log' for more details." >&5
13703 echo "$as_me: error: cannot compute sizeof (short), 77
13704 See \`config.log' for more details." >&2;}
13705 { (exit 1); exit 1; }; } ;;
13708 if test "$cross_compiling" = yes; then
13709 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13710 See \`config.log' for more details." >&5
13711 echo "$as_me: error: cannot run test program while cross compiling
13712 See \`config.log' for more details." >&2;}
13713 { (exit 1); exit 1; }; }
13715 cat >conftest.
$ac_ext <<_ACEOF
13718 cat confdefs.h
>>conftest.
$ac_ext
13719 cat >>conftest.
$ac_ext <<_ACEOF
13720 /* end confdefs.h. */
13721 $ac_includes_default
13722 long longval () { return (long) (sizeof (short)); }
13723 unsigned long ulongval () { return (long) (sizeof (short)); }
13725 #include <stdlib.h>
13730 FILE *f = fopen ("conftest.val", "w");
13733 if (((long) (sizeof (short))) < 0)
13735 long i = longval ();
13736 if (i != ((long) (sizeof (short))))
13738 fprintf (f, "%ld\n", i);
13742 unsigned long i = ulongval ();
13743 if (i != ((long) (sizeof (short))))
13745 fprintf (f, "%lu\n", i);
13747 exit (ferror (f) || fclose (f) != 0);
13753 rm -f conftest
$ac_exeext
13754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13755 (eval $ac_link) 2>&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13760 (eval $ac_try) 2>&5
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); }; }; then
13764 ac_cv_sizeof_short
=`cat conftest.val`
13766 echo "$as_me: program exited with status $ac_status" >&5
13767 echo "$as_me: failed program was:" >&5
13768 sed 's/^/| /' conftest.
$ac_ext >&5
13770 ( exit $ac_status )
13771 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
13772 See \`config.log' for more details." >&5
13773 echo "$as_me: error: cannot compute sizeof (short), 77
13774 See \`config.log' for more details." >&2;}
13775 { (exit 1); exit 1; }; }
13777 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13782 ac_cv_sizeof_short
=0
13785 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
13786 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
13787 cat >>confdefs.h
<<_ACEOF
13788 #define SIZEOF_SHORT $ac_cv_sizeof_short
13792 echo "$as_me:$LINENO: checking for char" >&5
13793 echo $ECHO_N "checking for char... $ECHO_C" >&6
13794 if test "${ac_cv_type_char+set}" = set; then
13795 echo $ECHO_N "(cached) $ECHO_C" >&6
13797 cat >conftest.
$ac_ext <<_ACEOF
13800 cat confdefs.h
>>conftest.
$ac_ext
13801 cat >>conftest.
$ac_ext <<_ACEOF
13802 /* end confdefs.h. */
13803 $ac_includes_default
13815 rm -f conftest.
$ac_objext
13816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13817 (eval $ac_compile) 2>conftest.er1
13819 grep -v '^ *+' conftest.er1
>conftest.err
13821 cat conftest.err
>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); } &&
13824 { ac_try
='test -z "$ac_c_werror_flag"
13825 || test ! -s conftest.err'
13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; } &&
13831 { ac_try
='test -s conftest.$ac_objext'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; }; then
13837 ac_cv_type_char
=yes
13839 echo "$as_me: failed program was:" >&5
13840 sed 's/^/| /' conftest.
$ac_ext >&5
13844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13846 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13847 echo "${ECHO_T}$ac_cv_type_char" >&6
13849 echo "$as_me:$LINENO: checking size of char" >&5
13850 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13851 if test "${ac_cv_sizeof_char+set}" = set; then
13852 echo $ECHO_N "(cached) $ECHO_C" >&6
13854 if test "$ac_cv_type_char" = yes; then
13855 # The cast to unsigned long works around a bug in the HP C Compiler
13856 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13857 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13858 # This bug is HP SR number 8606223364.
13859 if test "$cross_compiling" = yes; then
13860 # Depending upon the size, compute the lo and hi bounds.
13861 cat >conftest.
$ac_ext <<_ACEOF
13864 cat confdefs.h
>>conftest.
$ac_ext
13865 cat >>conftest.
$ac_ext <<_ACEOF
13866 /* end confdefs.h. */
13867 $ac_includes_default
13871 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13878 rm -f conftest.
$ac_objext
13879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13880 (eval $ac_compile) 2>conftest.er1
13882 grep -v '^ *+' conftest.er1
>conftest.err
13884 cat conftest.err
>&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); } &&
13887 { ac_try
='test -z "$ac_c_werror_flag"
13888 || test ! -s conftest.err'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; } &&
13894 { ac_try
='test -s conftest.$ac_objext'
13895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13896 (eval $ac_try) 2>&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); }; }; then
13902 cat >conftest.
$ac_ext <<_ACEOF
13905 cat confdefs.h
>>conftest.
$ac_ext
13906 cat >>conftest.
$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13908 $ac_includes_default
13912 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13919 rm -f conftest.
$ac_objext
13920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13921 (eval $ac_compile) 2>conftest.er1
13923 grep -v '^ *+' conftest.er1
>conftest.err
13925 cat conftest.err
>&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } &&
13928 { ac_try
='test -z "$ac_c_werror_flag"
13929 || test ! -s conftest.err'
13930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13931 (eval $ac_try) 2>&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); }; } &&
13935 { ac_try
='test -s conftest.$ac_objext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 ac_hi
=$ac_mid; break
13943 echo "$as_me: failed program was:" >&5
13944 sed 's/^/| /' conftest.
$ac_ext >&5
13946 ac_lo
=`expr $ac_mid + 1`
13947 if test $ac_lo -le $ac_mid; then
13951 ac_mid
=`expr 2 '*' $ac_mid + 1`
13953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13956 echo "$as_me: failed program was:" >&5
13957 sed 's/^/| /' conftest.
$ac_ext >&5
13959 cat >conftest.
$ac_ext <<_ACEOF
13962 cat confdefs.h
>>conftest.
$ac_ext
13963 cat >>conftest.
$ac_ext <<_ACEOF
13964 /* end confdefs.h. */
13965 $ac_includes_default
13969 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13976 rm -f conftest.
$ac_objext
13977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13978 (eval $ac_compile) 2>conftest.er1
13980 grep -v '^ *+' conftest.er1
>conftest.err
13982 cat conftest.err
>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); } &&
13985 { ac_try
='test -z "$ac_c_werror_flag"
13986 || test ! -s conftest.err'
13987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13988 (eval $ac_try) 2>&5
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); }; } &&
13992 { ac_try
='test -s conftest.$ac_objext'
13993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13994 (eval $ac_try) 2>&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); }; }; then
14000 cat >conftest.
$ac_ext <<_ACEOF
14003 cat confdefs.h
>>conftest.
$ac_ext
14004 cat >>conftest.
$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14006 $ac_includes_default
14010 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14017 rm -f conftest.
$ac_objext
14018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14019 (eval $ac_compile) 2>conftest.er1
14021 grep -v '^ *+' conftest.er1
>conftest.err
14023 cat conftest.err
>&5
14024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14025 (exit $ac_status); } &&
14026 { ac_try
='test -z "$ac_c_werror_flag"
14027 || test ! -s conftest.err'
14028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029 (eval $ac_try) 2>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; } &&
14033 { ac_try
='test -s conftest.$ac_objext'
14034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14035 (eval $ac_try) 2>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); }; }; then
14039 ac_lo
=$ac_mid; break
14041 echo "$as_me: failed program was:" >&5
14042 sed 's/^/| /' conftest.
$ac_ext >&5
14044 ac_hi
=`expr '(' $ac_mid ')' - 1`
14045 if test $ac_mid -le $ac_hi; then
14049 ac_mid
=`expr 2 '*' $ac_mid`
14051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14054 echo "$as_me: failed program was:" >&5
14055 sed 's/^/| /' conftest.
$ac_ext >&5
14059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14062 # Binary search between lo and hi bounds.
14063 while test "x$ac_lo" != "x$ac_hi"; do
14064 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14065 cat >conftest.
$ac_ext <<_ACEOF
14068 cat confdefs.h
>>conftest.
$ac_ext
14069 cat >>conftest.
$ac_ext <<_ACEOF
14070 /* end confdefs.h. */
14071 $ac_includes_default
14075 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14082 rm -f conftest.
$ac_objext
14083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14084 (eval $ac_compile) 2>conftest.er1
14086 grep -v '^ *+' conftest.er1
>conftest.err
14088 cat conftest.err
>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); } &&
14091 { ac_try
='test -z "$ac_c_werror_flag"
14092 || test ! -s conftest.err'
14093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14094 (eval $ac_try) 2>&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); }; } &&
14098 { ac_try
='test -s conftest.$ac_objext'
14099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14100 (eval $ac_try) 2>&5
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); }; }; then
14106 echo "$as_me: failed program was:" >&5
14107 sed 's/^/| /' conftest.
$ac_ext >&5
14109 ac_lo
=`expr '(' $ac_mid ')' + 1`
14111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14114 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14115 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14116 See \`config.log' for more details." >&5
14117 echo "$as_me: error: cannot compute sizeof (char), 77
14118 See \`config.log' for more details." >&2;}
14119 { (exit 1); exit 1; }; } ;;
14122 if test "$cross_compiling" = yes; then
14123 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14124 See \`config.log' for more details." >&5
14125 echo "$as_me: error: cannot run test program while cross compiling
14126 See \`config.log' for more details." >&2;}
14127 { (exit 1); exit 1; }; }
14129 cat >conftest.
$ac_ext <<_ACEOF
14132 cat confdefs.h
>>conftest.
$ac_ext
14133 cat >>conftest.
$ac_ext <<_ACEOF
14134 /* end confdefs.h. */
14135 $ac_includes_default
14136 long longval () { return (long) (sizeof (char)); }
14137 unsigned long ulongval () { return (long) (sizeof (char)); }
14139 #include <stdlib.h>
14144 FILE *f = fopen ("conftest.val", "w");
14147 if (((long) (sizeof (char))) < 0)
14149 long i = longval ();
14150 if (i != ((long) (sizeof (char))))
14152 fprintf (f, "%ld\n", i);
14156 unsigned long i = ulongval ();
14157 if (i != ((long) (sizeof (char))))
14159 fprintf (f, "%lu\n", i);
14161 exit (ferror (f) || fclose (f) != 0);
14167 rm -f conftest
$ac_exeext
14168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14169 (eval $ac_link) 2>&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; }; then
14178 ac_cv_sizeof_char
=`cat conftest.val`
14180 echo "$as_me: program exited with status $ac_status" >&5
14181 echo "$as_me: failed program was:" >&5
14182 sed 's/^/| /' conftest.
$ac_ext >&5
14184 ( exit $ac_status )
14185 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14186 See \`config.log' for more details." >&5
14187 echo "$as_me: error: cannot compute sizeof (char), 77
14188 See \`config.log' for more details." >&2;}
14189 { (exit 1); exit 1; }; }
14191 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14196 ac_cv_sizeof_char
=0
14199 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14200 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14201 cat >>confdefs.h
<<_ACEOF
14202 #define SIZEOF_CHAR $ac_cv_sizeof_char
14207 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
14208 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
14209 case "$ac_cv_sizeof_char" in
14210 1) acx_cv_type_int8_t
=char
;;
14211 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
14212 echo "$as_me: error: no 8-bit type" >&2;}
14213 { (exit please report a bug
); exit please report a bug
; }; }
14215 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
14216 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
14218 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
14219 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
14220 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
14221 2:*) acx_cv_type_int16_t
=int
;;
14222 *:2) acx_cv_type_int16_t
=short
;;
14223 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
14224 echo "$as_me: error: no 16-bit type" >&2;}
14225 { (exit please report a bug
); exit please report a bug
; }; }
14227 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
14228 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
14230 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
14231 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
14232 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
14233 4:*) acx_cv_type_int32_t
=int
;;
14234 *:4) acx_cv_type_int32_t
=long
;;
14235 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
14236 echo "$as_me: error: no 32-bit type" >&2;}
14237 { (exit please report a bug
); exit please report a bug
; }; }
14239 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
14240 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
14243 # These tests are here to make the output prettier
14245 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
14246 case "$ac_cv_sizeof_long" in
14247 8) acx_cv_type_int64_t
=long
;;
14249 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
14250 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
14251 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
14252 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
14255 # Now we can use the above types
14257 if test "$ac_cv_type_uintptr_t" != yes; then
14258 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
14259 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
14260 case $ac_cv_sizeof_void_p in
14261 2) acx_cv_type_intptr_t
=int16_t
;;
14262 4) acx_cv_type_intptr_t
=int32_t
;;
14263 8) acx_cv_type_intptr_t
=int64_t
;;
14264 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
14265 echo "$as_me: error: no equivalent for intptr_t" >&2;}
14266 { (exit please report a bug
); exit please report a bug
; }; }
14268 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
14269 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
14272 # ----------------- done all checks, emit header -------------
14273 ac_config_commands
="$ac_config_commands gdb_stdint.h"
14278 # ------------------------- #
14279 # Checks for declarations. #
14280 # ------------------------- #
14282 echo "$as_me:$LINENO: checking whether free is declared" >&5
14283 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
14284 if test "${ac_cv_have_decl_free+set}" = set; then
14285 echo $ECHO_N "(cached) $ECHO_C" >&6
14287 cat >conftest.
$ac_ext <<_ACEOF
14290 cat confdefs.h
>>conftest.
$ac_ext
14291 cat >>conftest.
$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14293 $ac_includes_default
14298 char *p = (char *) free;
14305 rm -f conftest.
$ac_objext
14306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14307 (eval $ac_compile) 2>conftest.er1
14309 grep -v '^ *+' conftest.er1
>conftest.err
14311 cat conftest.err
>&5
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); } &&
14314 { ac_try
='test -z "$ac_c_werror_flag"
14315 || test ! -s conftest.err'
14316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14317 (eval $ac_try) 2>&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); }; } &&
14321 { ac_try
='test -s conftest.$ac_objext'
14322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323 (eval $ac_try) 2>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; }; then
14327 ac_cv_have_decl_free
=yes
14329 echo "$as_me: failed program was:" >&5
14330 sed 's/^/| /' conftest.
$ac_ext >&5
14332 ac_cv_have_decl_free
=no
14334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14336 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
14337 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
14338 if test $ac_cv_have_decl_free = yes; then
14340 cat >>confdefs.h
<<_ACEOF
14341 #define HAVE_DECL_FREE 1
14346 cat >>confdefs.h
<<_ACEOF
14347 #define HAVE_DECL_FREE 0
14352 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
14353 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
14354 if test "${ac_cv_have_decl_malloc+set}" = set; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 cat >conftest.
$ac_ext <<_ACEOF
14360 cat confdefs.h
>>conftest.
$ac_ext
14361 cat >>conftest.
$ac_ext <<_ACEOF
14362 /* end confdefs.h. */
14363 $ac_includes_default
14368 char *p = (char *) malloc;
14375 rm -f conftest.
$ac_objext
14376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14377 (eval $ac_compile) 2>conftest.er1
14379 grep -v '^ *+' conftest.er1
>conftest.err
14381 cat conftest.err
>&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); } &&
14384 { ac_try
='test -z "$ac_c_werror_flag"
14385 || test ! -s conftest.err'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; } &&
14391 { ac_try
='test -s conftest.$ac_objext'
14392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14393 (eval $ac_try) 2>&5
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; }; then
14397 ac_cv_have_decl_malloc
=yes
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.
$ac_ext >&5
14402 ac_cv_have_decl_malloc
=no
14404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14406 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
14407 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
14408 if test $ac_cv_have_decl_malloc = yes; then
14410 cat >>confdefs.h
<<_ACEOF
14411 #define HAVE_DECL_MALLOC 1
14416 cat >>confdefs.h
<<_ACEOF
14417 #define HAVE_DECL_MALLOC 0
14422 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
14423 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
14424 if test "${ac_cv_have_decl_realloc+set}" = set; then
14425 echo $ECHO_N "(cached) $ECHO_C" >&6
14427 cat >conftest.
$ac_ext <<_ACEOF
14430 cat confdefs.h
>>conftest.
$ac_ext
14431 cat >>conftest.
$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14433 $ac_includes_default
14438 char *p = (char *) realloc;
14445 rm -f conftest.
$ac_objext
14446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14447 (eval $ac_compile) 2>conftest.er1
14449 grep -v '^ *+' conftest.er1
>conftest.err
14451 cat conftest.err
>&5
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); } &&
14454 { ac_try
='test -z "$ac_c_werror_flag"
14455 || test ! -s conftest.err'
14456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14457 (eval $ac_try) 2>&5
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); }; } &&
14461 { ac_try
='test -s conftest.$ac_objext'
14462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14463 (eval $ac_try) 2>&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); }; }; then
14467 ac_cv_have_decl_realloc
=yes
14469 echo "$as_me: failed program was:" >&5
14470 sed 's/^/| /' conftest.
$ac_ext >&5
14472 ac_cv_have_decl_realloc
=no
14474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14476 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
14477 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
14478 if test $ac_cv_have_decl_realloc = yes; then
14480 cat >>confdefs.h
<<_ACEOF
14481 #define HAVE_DECL_REALLOC 1
14486 cat >>confdefs.h
<<_ACEOF
14487 #define HAVE_DECL_REALLOC 0
14494 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
14495 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
14496 if test "${ac_cv_have_decl_strerror+set}" = set; then
14497 echo $ECHO_N "(cached) $ECHO_C" >&6
14499 cat >conftest.
$ac_ext <<_ACEOF
14502 cat confdefs.h
>>conftest.
$ac_ext
14503 cat >>conftest.
$ac_ext <<_ACEOF
14504 /* end confdefs.h. */
14505 $ac_includes_default
14510 char *p = (char *) strerror;
14517 rm -f conftest.
$ac_objext
14518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14519 (eval $ac_compile) 2>conftest.er1
14521 grep -v '^ *+' conftest.er1
>conftest.err
14523 cat conftest.err
>&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); } &&
14526 { ac_try
='test -z "$ac_c_werror_flag"
14527 || test ! -s conftest.err'
14528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14529 (eval $ac_try) 2>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; } &&
14533 { ac_try
='test -s conftest.$ac_objext'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; }; then
14539 ac_cv_have_decl_strerror
=yes
14541 echo "$as_me: failed program was:" >&5
14542 sed 's/^/| /' conftest.
$ac_ext >&5
14544 ac_cv_have_decl_strerror
=no
14546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14548 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
14549 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
14550 if test $ac_cv_have_decl_strerror = yes; then
14552 cat >>confdefs.h
<<_ACEOF
14553 #define HAVE_DECL_STRERROR 1
14558 cat >>confdefs.h
<<_ACEOF
14559 #define HAVE_DECL_STRERROR 0
14564 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
14565 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
14566 if test "${ac_cv_have_decl_strstr+set}" = set; then
14567 echo $ECHO_N "(cached) $ECHO_C" >&6
14569 cat >conftest.
$ac_ext <<_ACEOF
14572 cat confdefs.h
>>conftest.
$ac_ext
14573 cat >>conftest.
$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14575 $ac_includes_default
14580 char *p = (char *) strstr;
14587 rm -f conftest.
$ac_objext
14588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14589 (eval $ac_compile) 2>conftest.er1
14591 grep -v '^ *+' conftest.er1
>conftest.err
14593 cat conftest.err
>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } &&
14596 { ac_try
='test -z "$ac_c_werror_flag"
14597 || test ! -s conftest.err'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; } &&
14603 { ac_try
='test -s conftest.$ac_objext'
14604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14605 (eval $ac_try) 2>&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); }; }; then
14609 ac_cv_have_decl_strstr
=yes
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.
$ac_ext >&5
14614 ac_cv_have_decl_strstr
=no
14616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14618 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
14619 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
14620 if test $ac_cv_have_decl_strstr = yes; then
14622 cat >>confdefs.h
<<_ACEOF
14623 #define HAVE_DECL_STRSTR 1
14628 cat >>confdefs.h
<<_ACEOF
14629 #define HAVE_DECL_STRSTR 0
14636 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
14637 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
14638 if test "${ac_cv_have_decl_getopt+set}" = set; then
14639 echo $ECHO_N "(cached) $ECHO_C" >&6
14641 cat >conftest.
$ac_ext <<_ACEOF
14644 cat confdefs.h
>>conftest.
$ac_ext
14645 cat >>conftest.
$ac_ext <<_ACEOF
14646 /* end confdefs.h. */
14647 $ac_includes_default
14652 char *p = (char *) getopt;
14659 rm -f conftest.
$ac_objext
14660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14661 (eval $ac_compile) 2>conftest.er1
14663 grep -v '^ *+' conftest.er1
>conftest.err
14665 cat conftest.err
>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); } &&
14668 { ac_try
='test -z "$ac_c_werror_flag"
14669 || test ! -s conftest.err'
14670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14671 (eval $ac_try) 2>&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); }; } &&
14675 { ac_try
='test -s conftest.$ac_objext'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }; }; then
14681 ac_cv_have_decl_getopt
=yes
14683 echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.
$ac_ext >&5
14686 ac_cv_have_decl_getopt
=no
14688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14690 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
14691 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
14692 if test $ac_cv_have_decl_getopt = yes; then
14694 cat >>confdefs.h
<<_ACEOF
14695 #define HAVE_DECL_GETOPT 1
14700 cat >>confdefs.h
<<_ACEOF
14701 #define HAVE_DECL_GETOPT 0
14706 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
14707 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
14708 if test "${ac_cv_have_decl_snprintf+set}" = set; then
14709 echo $ECHO_N "(cached) $ECHO_C" >&6
14711 cat >conftest.
$ac_ext <<_ACEOF
14714 cat confdefs.h
>>conftest.
$ac_ext
14715 cat >>conftest.
$ac_ext <<_ACEOF
14716 /* end confdefs.h. */
14717 $ac_includes_default
14722 char *p = (char *) snprintf;
14729 rm -f conftest.
$ac_objext
14730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14731 (eval $ac_compile) 2>conftest.er1
14733 grep -v '^ *+' conftest.er1
>conftest.err
14735 cat conftest.err
>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } &&
14738 { ac_try
='test -z "$ac_c_werror_flag"
14739 || test ! -s conftest.err'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; } &&
14745 { ac_try
='test -s conftest.$ac_objext'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 ac_cv_have_decl_snprintf
=yes
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.
$ac_ext >&5
14756 ac_cv_have_decl_snprintf
=no
14758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14760 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
14761 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
14762 if test $ac_cv_have_decl_snprintf = yes; then
14764 cat >>confdefs.h
<<_ACEOF
14765 #define HAVE_DECL_SNPRINTF 1
14770 cat >>confdefs.h
<<_ACEOF
14771 #define HAVE_DECL_SNPRINTF 0
14776 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
14777 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
14778 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14781 cat >conftest.
$ac_ext <<_ACEOF
14784 cat confdefs.h
>>conftest.
$ac_ext
14785 cat >>conftest.
$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14787 $ac_includes_default
14792 char *p = (char *) vsnprintf;
14799 rm -f conftest.
$ac_objext
14800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14801 (eval $ac_compile) 2>conftest.er1
14803 grep -v '^ *+' conftest.er1
>conftest.err
14805 cat conftest.err
>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); } &&
14808 { ac_try
='test -z "$ac_c_werror_flag"
14809 || test ! -s conftest.err'
14810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14811 (eval $ac_try) 2>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; } &&
14815 { ac_try
='test -s conftest.$ac_objext'
14816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817 (eval $ac_try) 2>&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; }; then
14821 ac_cv_have_decl_vsnprintf
=yes
14823 echo "$as_me: failed program was:" >&5
14824 sed 's/^/| /' conftest.
$ac_ext >&5
14826 ac_cv_have_decl_vsnprintf
=no
14828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14830 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
14831 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
14832 if test $ac_cv_have_decl_vsnprintf = yes; then
14834 cat >>confdefs.h
<<_ACEOF
14835 #define HAVE_DECL_VSNPRINTF 1
14840 cat >>confdefs.h
<<_ACEOF
14841 #define HAVE_DECL_VSNPRINTF 0
14849 # ----------------------- #
14850 # Checks for structures. #
14851 # ----------------------- #
14853 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
14854 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
14855 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
14856 echo $ECHO_N "(cached) $ECHO_C" >&6
14858 cat >conftest.
$ac_ext <<_ACEOF
14861 cat confdefs.h
>>conftest.
$ac_ext
14862 cat >>conftest.
$ac_ext <<_ACEOF
14863 /* end confdefs.h. */
14864 $ac_includes_default
14868 static struct stat ac_aggr;
14869 if (ac_aggr.st_blocks)
14875 rm -f conftest.
$ac_objext
14876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14877 (eval $ac_compile) 2>conftest.er1
14879 grep -v '^ *+' conftest.er1
>conftest.err
14881 cat conftest.err
>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } &&
14884 { ac_try
='test -z "$ac_c_werror_flag"
14885 || test ! -s conftest.err'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; } &&
14891 { ac_try
='test -s conftest.$ac_objext'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14897 ac_cv_member_struct_stat_st_blocks
=yes
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.
$ac_ext >&5
14902 cat >conftest.
$ac_ext <<_ACEOF
14905 cat confdefs.h
>>conftest.
$ac_ext
14906 cat >>conftest.
$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14908 $ac_includes_default
14912 static struct stat ac_aggr;
14913 if (sizeof ac_aggr.st_blocks)
14919 rm -f conftest.
$ac_objext
14920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14921 (eval $ac_compile) 2>conftest.er1
14923 grep -v '^ *+' conftest.er1
>conftest.err
14925 cat conftest.err
>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try
='test -z "$ac_c_werror_flag"
14929 || test ! -s conftest.err'
14930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14931 (eval $ac_try) 2>&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; } &&
14935 { ac_try
='test -s conftest.$ac_objext'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; }; then
14941 ac_cv_member_struct_stat_st_blocks
=yes
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.
$ac_ext >&5
14946 ac_cv_member_struct_stat_st_blocks
=no
14948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14952 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
14953 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
14954 if test $ac_cv_member_struct_stat_st_blocks = yes; then
14956 cat >>confdefs.h
<<_ACEOF
14957 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14963 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
14964 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
14965 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
14966 echo $ECHO_N "(cached) $ECHO_C" >&6
14968 cat >conftest.
$ac_ext <<_ACEOF
14971 cat confdefs.h
>>conftest.
$ac_ext
14972 cat >>conftest.
$ac_ext <<_ACEOF
14973 /* end confdefs.h. */
14974 $ac_includes_default
14978 static struct stat ac_aggr;
14979 if (ac_aggr.st_blksize)
14985 rm -f conftest.
$ac_objext
14986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14987 (eval $ac_compile) 2>conftest.er1
14989 grep -v '^ *+' conftest.er1
>conftest.err
14991 cat conftest.err
>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); } &&
14994 { ac_try
='test -z "$ac_c_werror_flag"
14995 || test ! -s conftest.err'
14996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14997 (eval $ac_try) 2>&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); }; } &&
15001 { ac_try
='test -s conftest.$ac_objext'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; }; then
15007 ac_cv_member_struct_stat_st_blksize
=yes
15009 echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.
$ac_ext >&5
15012 cat >conftest.
$ac_ext <<_ACEOF
15015 cat confdefs.h
>>conftest.
$ac_ext
15016 cat >>conftest.
$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018 $ac_includes_default
15022 static struct stat ac_aggr;
15023 if (sizeof ac_aggr.st_blksize)
15029 rm -f conftest.
$ac_objext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15031 (eval $ac_compile) 2>conftest.er1
15033 grep -v '^ *+' conftest.er1
>conftest.err
15035 cat conftest.err
>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try
='test -z "$ac_c_werror_flag"
15039 || test ! -s conftest.err'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; } &&
15045 { ac_try
='test -s conftest.$ac_objext'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; }; then
15051 ac_cv_member_struct_stat_st_blksize
=yes
15053 echo "$as_me: failed program was:" >&5
15054 sed 's/^/| /' conftest.
$ac_ext >&5
15056 ac_cv_member_struct_stat_st_blksize
=no
15058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15062 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
15063 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
15064 if test $ac_cv_member_struct_stat_st_blksize = yes; then
15066 cat >>confdefs.h
<<_ACEOF
15067 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15074 # ------------------ #
15075 # Checks for types. #
15076 # ------------------ #
15078 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
15079 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
15080 if test "${ac_cv_type_signal+set}" = set; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15083 cat >conftest.
$ac_ext <<_ACEOF
15086 cat confdefs.h
>>conftest.
$ac_ext
15087 cat >>conftest.
$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15089 #include <sys/types.h>
15090 #include <signal.h>
15095 extern "C" void (*signal (int, void (*)(int)))(int);
15097 void (*signal ()) ();
15108 rm -f conftest.
$ac_objext
15109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15110 (eval $ac_compile) 2>conftest.er1
15112 grep -v '^ *+' conftest.er1
>conftest.err
15114 cat conftest.err
>&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } &&
15117 { ac_try
='test -z "$ac_c_werror_flag"
15118 || test ! -s conftest.err'
15119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15120 (eval $ac_try) 2>&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }; } &&
15124 { ac_try
='test -s conftest.$ac_objext'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; }; then
15130 ac_cv_type_signal
=void
15132 echo "$as_me: failed program was:" >&5
15133 sed 's/^/| /' conftest.
$ac_ext >&5
15135 ac_cv_type_signal
=int
15137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15139 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
15140 echo "${ECHO_T}$ac_cv_type_signal" >&6
15142 cat >>confdefs.h
<<_ACEOF
15143 #define RETSIGTYPE $ac_cv_type_signal
15147 echo "$as_me:$LINENO: checking for socklen_t" >&5
15148 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
15149 if test "${ac_cv_type_socklen_t+set}" = set; then
15150 echo $ECHO_N "(cached) $ECHO_C" >&6
15152 cat >conftest.
$ac_ext <<_ACEOF
15155 cat confdefs.h
>>conftest.
$ac_ext
15156 cat >>conftest.
$ac_ext <<_ACEOF
15157 /* end confdefs.h. */
15158 #include <sys/types.h>
15159 #include <sys/socket.h>
15165 if ((socklen_t *) 0)
15167 if (sizeof (socklen_t))
15173 rm -f conftest.
$ac_objext
15174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15175 (eval $ac_compile) 2>conftest.er1
15177 grep -v '^ *+' conftest.er1
>conftest.err
15179 cat conftest.err
>&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } &&
15182 { ac_try
='test -z "$ac_c_werror_flag"
15183 || test ! -s conftest.err'
15184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15185 (eval $ac_try) 2>&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); }; } &&
15189 { ac_try
='test -s conftest.$ac_objext'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; }; then
15195 ac_cv_type_socklen_t
=yes
15197 echo "$as_me: failed program was:" >&5
15198 sed 's/^/| /' conftest.
$ac_ext >&5
15200 ac_cv_type_socklen_t
=no
15202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15204 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
15205 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
15206 if test $ac_cv_type_socklen_t = yes; then
15208 cat >>confdefs.h
<<_ACEOF
15209 #define HAVE_SOCKLEN_T 1
15215 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15216 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15217 if test "${ac_cv_type_uintptr_t+set}" = set; then
15218 echo $ECHO_N "(cached) $ECHO_C" >&6
15220 cat >conftest.
$ac_ext <<_ACEOF
15223 cat confdefs.h
>>conftest.
$ac_ext
15224 cat >>conftest.
$ac_ext <<_ACEOF
15225 /* end confdefs.h. */
15226 #include <stdint.h>
15231 if ((uintptr_t *) 0)
15233 if (sizeof (uintptr_t))
15239 rm -f conftest.
$ac_objext
15240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15241 (eval $ac_compile) 2>conftest.er1
15243 grep -v '^ *+' conftest.er1
>conftest.err
15245 cat conftest.err
>&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } &&
15248 { ac_try
='test -z "$ac_c_werror_flag"
15249 || test ! -s conftest.err'
15250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251 (eval $ac_try) 2>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; } &&
15255 { ac_try
='test -s conftest.$ac_objext'
15256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257 (eval $ac_try) 2>&5
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; }; then
15261 ac_cv_type_uintptr_t
=yes
15263 echo "$as_me: failed program was:" >&5
15264 sed 's/^/| /' conftest.
$ac_ext >&5
15266 ac_cv_type_uintptr_t
=no
15268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15270 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15271 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15272 if test $ac_cv_type_uintptr_t = yes; then
15274 cat >>confdefs.h
<<_ACEOF
15275 #define HAVE_UINTPTR_T 1
15282 # ------------------------------------- #
15283 # Checks for compiler characteristics. #
15284 # ------------------------------------- #
15286 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15287 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15288 if test "${ac_cv_c_const+set}" = set; then
15289 echo $ECHO_N "(cached) $ECHO_C" >&6
15291 cat >conftest.
$ac_ext <<_ACEOF
15294 cat confdefs.h
>>conftest.
$ac_ext
15295 cat >>conftest.
$ac_ext <<_ACEOF
15296 /* end confdefs.h. */
15301 /* FIXME: Include the comments suggested by Paul. */
15302 #ifndef __cplusplus
15303 /* Ultrix mips cc rejects this. */
15304 typedef int charset[2];
15306 /* SunOS 4.1.1 cc rejects this. */
15307 char const *const *ccp;
15309 /* NEC SVR4.0.2 mips cc rejects this. */
15310 struct point {int x, y;};
15311 static struct point const zero = {0,0};
15312 /* AIX XL C 1.02.0.0 rejects this.
15313 It does not let you subtract one const X* pointer from another in
15314 an arm of an if-expression whose if-part is not a constant
15316 const char *g = "string";
15317 ccp = &g + (g ? g-g : 0);
15318 /* HPUX 7.0 cc rejects these. */
15321 ccp = (char const *const *) p;
15322 { /* SCO 3.2v4 cc rejects this. */
15324 char const *s = 0 ? (char *) 0 : (char const *) 0;
15328 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15329 int x[] = {25, 17};
15330 const int *foo = &x[0];
15333 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15334 typedef const int *iptr;
15338 { /* AIX XL C 1.02.0.0 rejects this saying
15339 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15340 struct s { int j; const int *ap[3]; };
15341 struct s *b; b->j = 5;
15343 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15344 const int foo = 10;
15352 rm -f conftest.
$ac_objext
15353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15354 (eval $ac_compile) 2>conftest.er1
15356 grep -v '^ *+' conftest.er1
>conftest.err
15358 cat conftest.err
>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); } &&
15361 { ac_try
='test -z "$ac_c_werror_flag"
15362 || test ! -s conftest.err'
15363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15364 (eval $ac_try) 2>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); }; } &&
15368 { ac_try
='test -s conftest.$ac_objext'
15369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15370 (eval $ac_try) 2>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); }; }; then
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.
$ac_ext >&5
15381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15383 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15384 echo "${ECHO_T}$ac_cv_c_const" >&6
15385 if test $ac_cv_c_const = no
; then
15387 cat >>confdefs.h
<<\_ACEOF
15393 echo "$as_me:$LINENO: checking for inline" >&5
15394 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15395 if test "${ac_cv_c_inline+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 for ac_kw
in inline __inline__ __inline
; do
15400 cat >conftest.
$ac_ext <<_ACEOF
15403 cat confdefs.h
>>conftest.
$ac_ext
15404 cat >>conftest.
$ac_ext <<_ACEOF
15405 /* end confdefs.h. */
15406 #ifndef __cplusplus
15408 static $ac_kw foo_t static_foo () {return 0; }
15409 $ac_kw foo_t foo () {return 0; }
15413 rm -f conftest.
$ac_objext
15414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15415 (eval $ac_compile) 2>conftest.er1
15417 grep -v '^ *+' conftest.er1
>conftest.err
15419 cat conftest.err
>&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); } &&
15422 { ac_try
='test -z "$ac_c_werror_flag"
15423 || test ! -s conftest.err'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; } &&
15429 { ac_try
='test -s conftest.$ac_objext'
15430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15431 (eval $ac_try) 2>&5
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; }; then
15435 ac_cv_c_inline
=$ac_kw; break
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.
$ac_ext >&5
15441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15445 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15446 echo "${ECHO_T}$ac_cv_c_inline" >&6
15449 case $ac_cv_c_inline in
15452 case $ac_cv_c_inline in
15454 *) ac_val
=$ac_cv_c_inline;;
15456 cat >>confdefs.h
<<_ACEOF
15457 #ifndef __cplusplus
15458 #define inline $ac_val
15465 # ------------------------------ #
15466 # Checks for library functions. #
15467 # ------------------------------ #
15469 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15470 # for constant arguments. Useless!
15471 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15472 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15473 if test "${ac_cv_working_alloca_h+set}" = set; then
15474 echo $ECHO_N "(cached) $ECHO_C" >&6
15476 cat >conftest.
$ac_ext <<_ACEOF
15479 cat confdefs.h
>>conftest.
$ac_ext
15480 cat >>conftest.
$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15482 #include <alloca.h>
15486 char *p = (char *) alloca (2 * sizeof (int));
15491 rm -f conftest.
$ac_objext conftest
$ac_exeext
15492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15493 (eval $ac_link) 2>conftest.er1
15495 grep -v '^ *+' conftest.er1
>conftest.err
15497 cat conftest.err
>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } &&
15500 { ac_try
='test -z "$ac_c_werror_flag"
15501 || test ! -s conftest.err'
15502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15503 (eval $ac_try) 2>&5
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }; } &&
15507 { ac_try
='test -s conftest$ac_exeext'
15508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15509 (eval $ac_try) 2>&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); }; }; then
15513 ac_cv_working_alloca_h
=yes
15515 echo "$as_me: failed program was:" >&5
15516 sed 's/^/| /' conftest.
$ac_ext >&5
15518 ac_cv_working_alloca_h
=no
15520 rm -f conftest.err conftest.
$ac_objext \
15521 conftest
$ac_exeext conftest.
$ac_ext
15523 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15524 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15525 if test $ac_cv_working_alloca_h = yes; then
15527 cat >>confdefs.h
<<\_ACEOF
15528 #define HAVE_ALLOCA_H 1
15533 echo "$as_me:$LINENO: checking for alloca" >&5
15534 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15535 if test "${ac_cv_func_alloca_works+set}" = set; then
15536 echo $ECHO_N "(cached) $ECHO_C" >&6
15538 cat >conftest.
$ac_ext <<_ACEOF
15541 cat confdefs.h
>>conftest.
$ac_ext
15542 cat >>conftest.
$ac_ext <<_ACEOF
15543 /* end confdefs.h. */
15545 # define alloca __builtin_alloca
15548 # include <malloc.h>
15549 # define alloca _alloca
15552 # include <alloca.h>
15557 # ifndef alloca /* predefined by HP cc +Olibcalls */
15568 char *p = (char *) alloca (1);
15573 rm -f conftest.
$ac_objext conftest
$ac_exeext
15574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15575 (eval $ac_link) 2>conftest.er1
15577 grep -v '^ *+' conftest.er1
>conftest.err
15579 cat conftest.err
>&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } &&
15582 { ac_try
='test -z "$ac_c_werror_flag"
15583 || test ! -s conftest.err'
15584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585 (eval $ac_try) 2>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; } &&
15589 { ac_try
='test -s conftest$ac_exeext'
15590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591 (eval $ac_try) 2>&5
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); }; }; then
15595 ac_cv_func_alloca_works
=yes
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.
$ac_ext >&5
15600 ac_cv_func_alloca_works
=no
15602 rm -f conftest.err conftest.
$ac_objext \
15603 conftest
$ac_exeext conftest.
$ac_ext
15605 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15606 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15608 if test $ac_cv_func_alloca_works = yes; then
15610 cat >>confdefs.h
<<\_ACEOF
15611 #define HAVE_ALLOCA 1
15615 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15616 # that cause trouble. Some versions do not even contain alloca or
15617 # contain a buggy version. If you still want to use their alloca,
15618 # use ar to extract alloca.o from them instead of compiling alloca.c.
15620 ALLOCA
=alloca.
$ac_objext
15622 cat >>confdefs.h
<<\_ACEOF
15627 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15628 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15629 if test "${ac_cv_os_cray+set}" = set; then
15630 echo $ECHO_N "(cached) $ECHO_C" >&6
15632 cat >conftest.
$ac_ext <<_ACEOF
15635 cat confdefs.h
>>conftest.
$ac_ext
15636 cat >>conftest.
$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15638 #if defined(CRAY) && ! defined(CRAY2)
15645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15646 $EGREP "webecray" >/dev
/null
2>&1; then
15654 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15655 echo "${ECHO_T}$ac_cv_os_cray" >&6
15656 if test $ac_cv_os_cray = yes; then
15657 for ac_func
in _getb67 GETB67 getb67
; do
15658 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15659 echo "$as_me:$LINENO: checking for $ac_func" >&5
15660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15661 if eval "test \"\${$as_ac_var+set}\" = set"; then
15662 echo $ECHO_N "(cached) $ECHO_C" >&6
15664 cat >conftest.
$ac_ext <<_ACEOF
15667 cat confdefs.h
>>conftest.
$ac_ext
15668 cat >>conftest.
$ac_ext <<_ACEOF
15669 /* end confdefs.h. */
15670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15672 #define $ac_func innocuous_$ac_func
15674 /* System header to define __stub macros and hopefully few prototypes,
15675 which can conflict with char $ac_func (); below.
15676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15677 <limits.h> exists even on freestanding compilers. */
15680 # include <limits.h>
15682 # include <assert.h>
15687 /* Override any gcc2 internal prototype to avoid an error. */
15692 /* We use char because int might match the return type of a gcc2
15693 builtin and then its argument prototype would still apply. */
15695 /* The GNU C library defines this for functions which it implements
15696 to always fail with ENOSYS. Some functions are actually named
15697 something starting with __ and the normal name is an alias. */
15698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15701 char (*f) () = $ac_func;
15710 return f != $ac_func;
15715 rm -f conftest.
$ac_objext conftest
$ac_exeext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15717 (eval $ac_link) 2>conftest.er1
15719 grep -v '^ *+' conftest.er1
>conftest.err
15721 cat conftest.err
>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try
='test -z "$ac_c_werror_flag"
15725 || test ! -s conftest.err'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; } &&
15731 { ac_try
='test -s conftest$ac_exeext'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; }; then
15737 eval "$as_ac_var=yes"
15739 echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.
$ac_ext >&5
15742 eval "$as_ac_var=no"
15744 rm -f conftest.err conftest.
$ac_objext \
15745 conftest
$ac_exeext conftest.
$ac_ext
15747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15749 if test `eval echo '${'$as_ac_var'}'` = yes; then
15751 cat >>confdefs.h
<<_ACEOF
15752 #define CRAY_STACKSEG_END $ac_func
15761 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15762 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15763 if test "${ac_cv_c_stack_direction+set}" = set; then
15764 echo $ECHO_N "(cached) $ECHO_C" >&6
15766 if test "$cross_compiling" = yes; then
15767 ac_cv_c_stack_direction
=0
15769 cat >conftest.
$ac_ext <<_ACEOF
15772 cat confdefs.h
>>conftest.
$ac_ext
15773 cat >>conftest.
$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15776 find_stack_direction ()
15778 static char *addr = 0;
15783 return find_stack_direction ();
15786 return (&dummy > addr) ? 1 : -1;
15792 exit (find_stack_direction () < 0);
15795 rm -f conftest
$ac_exeext
15796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15797 (eval $ac_link) 2>&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15802 (eval $ac_try) 2>&5
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); }; }; then
15806 ac_cv_c_stack_direction
=1
15808 echo "$as_me: program exited with status $ac_status" >&5
15809 echo "$as_me: failed program was:" >&5
15810 sed 's/^/| /' conftest.
$ac_ext >&5
15812 ( exit $ac_status )
15813 ac_cv_c_stack_direction
=-1
15815 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15818 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15819 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15821 cat >>confdefs.h
<<_ACEOF
15822 #define STACK_DIRECTION $ac_cv_c_stack_direction
15830 for ac_header
in stdlib.h unistd.h
15832 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15834 echo "$as_me:$LINENO: checking for $ac_header" >&5
15835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15837 echo $ECHO_N "(cached) $ECHO_C" >&6
15839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15842 # Is the header compilable?
15843 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15844 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15845 cat >conftest.
$ac_ext <<_ACEOF
15848 cat confdefs.h
>>conftest.
$ac_ext
15849 cat >>conftest.
$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15851 $ac_includes_default
15852 #include <$ac_header>
15854 rm -f conftest.
$ac_objext
15855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15856 (eval $ac_compile) 2>conftest.er1
15858 grep -v '^ *+' conftest.er1
>conftest.err
15860 cat conftest.err
>&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); } &&
15863 { ac_try
='test -z "$ac_c_werror_flag"
15864 || test ! -s conftest.err'
15865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15866 (eval $ac_try) 2>&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; } &&
15870 { ac_try
='test -s conftest.$ac_objext'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; }; then
15876 ac_header_compiler
=yes
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.
$ac_ext >&5
15881 ac_header_compiler
=no
15883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15885 echo "${ECHO_T}$ac_header_compiler" >&6
15887 # Is the header present?
15888 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15890 cat >conftest.
$ac_ext <<_ACEOF
15893 cat confdefs.h
>>conftest.
$ac_ext
15894 cat >>conftest.
$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15896 #include <$ac_header>
15898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15899 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15901 grep -v '^ *+' conftest.er1
>conftest.err
15903 cat conftest.err
>&5
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); } >/dev
/null
; then
15906 if test -s conftest.err
; then
15907 ac_cpp_err
=$ac_c_preproc_warn_flag
15908 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15915 if test -z "$ac_cpp_err"; then
15916 ac_header_preproc
=yes
15918 echo "$as_me: failed program was:" >&5
15919 sed 's/^/| /' conftest.
$ac_ext >&5
15921 ac_header_preproc
=no
15923 rm -f conftest.err conftest.
$ac_ext
15924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15925 echo "${ECHO_T}$ac_header_preproc" >&6
15927 # So? What about this header?
15928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15930 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15931 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15933 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15934 ac_header_preproc
=yes
15937 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15939 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15940 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15941 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15942 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15943 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15944 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15947 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15948 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15951 ## ------------------------------------------ ##
15952 ## Report this to the AC_PACKAGE_NAME lists. ##
15953 ## ------------------------------------------ ##
15956 sed "s/^/$as_me: WARNING: /" >&2
15959 echo "$as_me:$LINENO: checking for $ac_header" >&5
15960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15962 echo $ECHO_N "(cached) $ECHO_C" >&6
15964 eval "$as_ac_Header=\$ac_header_preproc"
15966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15971 cat >>confdefs.h
<<_ACEOF
15972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15980 for ac_func
in getpagesize
15982 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15983 echo "$as_me:$LINENO: checking for $ac_func" >&5
15984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15985 if eval "test \"\${$as_ac_var+set}\" = set"; then
15986 echo $ECHO_N "(cached) $ECHO_C" >&6
15988 cat >conftest.
$ac_ext <<_ACEOF
15991 cat confdefs.h
>>conftest.
$ac_ext
15992 cat >>conftest.
$ac_ext <<_ACEOF
15993 /* end confdefs.h. */
15994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15996 #define $ac_func innocuous_$ac_func
15998 /* System header to define __stub macros and hopefully few prototypes,
15999 which can conflict with char $ac_func (); below.
16000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16001 <limits.h> exists even on freestanding compilers. */
16004 # include <limits.h>
16006 # include <assert.h>
16011 /* Override any gcc2 internal prototype to avoid an error. */
16016 /* We use char because int might match the return type of a gcc2
16017 builtin and then its argument prototype would still apply. */
16019 /* The GNU C library defines this for functions which it implements
16020 to always fail with ENOSYS. Some functions are actually named
16021 something starting with __ and the normal name is an alias. */
16022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16025 char (*f) () = $ac_func;
16034 return f != $ac_func;
16039 rm -f conftest.
$ac_objext conftest
$ac_exeext
16040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16041 (eval $ac_link) 2>conftest.er1
16043 grep -v '^ *+' conftest.er1
>conftest.err
16045 cat conftest.err
>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); } &&
16048 { ac_try
='test -z "$ac_c_werror_flag"
16049 || test ! -s conftest.err'
16050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16051 (eval $ac_try) 2>&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); }; } &&
16055 { ac_try
='test -s conftest$ac_exeext'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; }; then
16061 eval "$as_ac_var=yes"
16063 echo "$as_me: failed program was:" >&5
16064 sed 's/^/| /' conftest.
$ac_ext >&5
16066 eval "$as_ac_var=no"
16068 rm -f conftest.err conftest.
$ac_objext \
16069 conftest
$ac_exeext conftest.
$ac_ext
16071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16073 if test `eval echo '${'$as_ac_var'}'` = yes; then
16074 cat >>confdefs.h
<<_ACEOF
16075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16081 echo "$as_me:$LINENO: checking for working mmap" >&5
16082 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
16083 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
16084 echo $ECHO_N "(cached) $ECHO_C" >&6
16086 if test "$cross_compiling" = yes; then
16087 ac_cv_func_mmap_fixed_mapped
=no
16089 cat >conftest.
$ac_ext <<_ACEOF
16092 cat confdefs.h
>>conftest.
$ac_ext
16093 cat >>conftest.
$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095 $ac_includes_default
16096 /* malloc might have been renamed as rpl_malloc. */
16099 /* Thanks to Mike Haertel and Jim Avera for this test.
16100 Here is a matrix of mmap possibilities:
16101 mmap private not fixed
16102 mmap private fixed at somewhere currently unmapped
16103 mmap private fixed at somewhere already mapped
16104 mmap shared not fixed
16105 mmap shared fixed at somewhere currently unmapped
16106 mmap shared fixed at somewhere already mapped
16107 For private mappings, we should verify that changes cannot be read()
16108 back from the file, nor mmap's back from the file at a different
16109 address. (There have been systems where private was not correctly
16110 implemented like the infamous i386 svr4.0, and systems where the
16111 VM page cache was not coherent with the file system buffer cache
16112 like early versions of FreeBSD and possibly contemporary NetBSD.)
16113 For shared mappings, we should conversely verify that changes get
16114 propagated back to all the places they're supposed to be.
16116 Grep wants private fixed already mapped.
16117 The main things grep needs to know about mmap are:
16118 * does it exist and is it safe to write into the mmap'd area
16119 * how to use it (BSD variants) */
16122 #include <sys/mman.h>
16124 #if !STDC_HEADERS && !HAVE_STDLIB_H
16128 /* This mess was copied from the GNU getpagesize.h. */
16129 #if !HAVE_GETPAGESIZE
16130 /* Assume that all systems that can run configure have sys/param.h. */
16131 # if !HAVE_SYS_PARAM_H
16132 # define HAVE_SYS_PARAM_H 1
16135 # ifdef _SC_PAGESIZE
16136 # define getpagesize() sysconf(_SC_PAGESIZE)
16137 # else /* no _SC_PAGESIZE */
16138 # if HAVE_SYS_PARAM_H
16139 # include <sys/param.h>
16140 # ifdef EXEC_PAGESIZE
16141 # define getpagesize() EXEC_PAGESIZE
16142 # else /* no EXEC_PAGESIZE */
16144 # define getpagesize() NBPG * CLSIZE
16147 # endif /* no CLSIZE */
16148 # else /* no NBPG */
16150 # define getpagesize() NBPC
16151 # else /* no NBPC */
16153 # define getpagesize() PAGESIZE
16154 # endif /* PAGESIZE */
16155 # endif /* no NBPC */
16156 # endif /* no NBPG */
16157 # endif /* no EXEC_PAGESIZE */
16158 # else /* no HAVE_SYS_PARAM_H */
16159 # define getpagesize() 8192 /* punt totally */
16160 # endif /* no HAVE_SYS_PARAM_H */
16161 # endif /* no _SC_PAGESIZE */
16163 #endif /* no HAVE_GETPAGESIZE */
16168 char *data, *data2, *data3;
16172 pagesize = getpagesize ();
16174 /* First, make a file with some known garbage in it. */
16175 data = (char *) malloc (pagesize);
16178 for (i = 0; i < pagesize; ++i)
16179 *(data + i) = rand ();
16181 fd = creat ("conftest.mmap", 0600);
16184 if (write (fd, data, pagesize) != pagesize)
16188 /* Next, try to mmap the file at a fixed address which already has
16189 something else allocated at it. If we can, also make sure that
16190 we see the same garbage. */
16191 fd = open ("conftest.mmap", O_RDWR);
16194 data2 = (char *) malloc (2 * pagesize);
16197 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
16198 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16199 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16201 for (i = 0; i < pagesize; ++i)
16202 if (*(data + i) != *(data2 + i))
16205 /* Finally, make sure that changes to the mapped area do not
16206 percolate back to the file as seen by read(). (This is a bug on
16207 some variants of i386 svr4.0.) */
16208 for (i = 0; i < pagesize; ++i)
16209 *(data2 + i) = *(data2 + i) + 1;
16210 data3 = (char *) malloc (pagesize);
16213 if (read (fd, data3, pagesize) != pagesize)
16215 for (i = 0; i < pagesize; ++i)
16216 if (*(data + i) != *(data3 + i))
16222 rm -f conftest
$ac_exeext
16223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16224 (eval $ac_link) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16229 (eval $ac_try) 2>&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); }; }; then
16233 ac_cv_func_mmap_fixed_mapped
=yes
16235 echo "$as_me: program exited with status $ac_status" >&5
16236 echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.
$ac_ext >&5
16239 ( exit $ac_status )
16240 ac_cv_func_mmap_fixed_mapped
=no
16242 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16245 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
16246 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
16247 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16249 cat >>confdefs.h
<<\_ACEOF
16250 #define HAVE_MMAP 1
16254 rm -f conftest.mmap
16256 echo "$as_me:$LINENO: checking for pid_t" >&5
16257 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16258 if test "${ac_cv_type_pid_t+set}" = set; then
16259 echo $ECHO_N "(cached) $ECHO_C" >&6
16261 cat >conftest.
$ac_ext <<_ACEOF
16264 cat confdefs.h
>>conftest.
$ac_ext
16265 cat >>conftest.
$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 $ac_includes_default
16273 if (sizeof (pid_t))
16279 rm -f conftest.
$ac_objext
16280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16281 (eval $ac_compile) 2>conftest.er1
16283 grep -v '^ *+' conftest.er1
>conftest.err
16285 cat conftest.err
>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } &&
16288 { ac_try
='test -z "$ac_c_werror_flag"
16289 || test ! -s conftest.err'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; } &&
16295 { ac_try
='test -s conftest.$ac_objext'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; }; then
16301 ac_cv_type_pid_t
=yes
16303 echo "$as_me: failed program was:" >&5
16304 sed 's/^/| /' conftest.
$ac_ext >&5
16306 ac_cv_type_pid_t
=no
16308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16310 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16311 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16312 if test $ac_cv_type_pid_t = yes; then
16316 cat >>confdefs.h
<<_ACEOF
16324 for ac_header
in unistd.h vfork.h
16326 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16328 echo "$as_me:$LINENO: checking for $ac_header" >&5
16329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16336 # Is the header compilable?
16337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16339 cat >conftest.
$ac_ext <<_ACEOF
16342 cat confdefs.h
>>conftest.
$ac_ext
16343 cat >>conftest.
$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16345 $ac_includes_default
16346 #include <$ac_header>
16348 rm -f conftest.
$ac_objext
16349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16350 (eval $ac_compile) 2>conftest.er1
16352 grep -v '^ *+' conftest.er1
>conftest.err
16354 cat conftest.err
>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } &&
16357 { ac_try
='test -z "$ac_c_werror_flag"
16358 || test ! -s conftest.err'
16359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360 (eval $ac_try) 2>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }; } &&
16364 { ac_try
='test -s conftest.$ac_objext'
16365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366 (eval $ac_try) 2>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }; }; then
16370 ac_header_compiler
=yes
16372 echo "$as_me: failed program was:" >&5
16373 sed 's/^/| /' conftest.
$ac_ext >&5
16375 ac_header_compiler
=no
16377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16379 echo "${ECHO_T}$ac_header_compiler" >&6
16381 # Is the header present?
16382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16384 cat >conftest.
$ac_ext <<_ACEOF
16387 cat confdefs.h
>>conftest.
$ac_ext
16388 cat >>conftest.
$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390 #include <$ac_header>
16392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16393 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16395 grep -v '^ *+' conftest.er1
>conftest.err
16397 cat conftest.err
>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } >/dev
/null
; then
16400 if test -s conftest.err
; then
16401 ac_cpp_err
=$ac_c_preproc_warn_flag
16402 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16409 if test -z "$ac_cpp_err"; then
16410 ac_header_preproc
=yes
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.
$ac_ext >&5
16415 ac_header_preproc
=no
16417 rm -f conftest.err conftest.
$ac_ext
16418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16419 echo "${ECHO_T}$ac_header_preproc" >&6
16421 # So? What about this header?
16422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16428 ac_header_preproc
=yes
16431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16434 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16435 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16437 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16438 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16441 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16445 ## ------------------------------------------ ##
16446 ## Report this to the AC_PACKAGE_NAME lists. ##
16447 ## ------------------------------------------ ##
16450 sed "s/^/$as_me: WARNING: /" >&2
16453 echo "$as_me:$LINENO: checking for $ac_header" >&5
16454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16456 echo $ECHO_N "(cached) $ECHO_C" >&6
16458 eval "$as_ac_Header=\$ac_header_preproc"
16460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16465 cat >>confdefs.h
<<_ACEOF
16466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16475 for ac_func
in fork vfork
16477 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16478 echo "$as_me:$LINENO: checking for $ac_func" >&5
16479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16480 if eval "test \"\${$as_ac_var+set}\" = set"; then
16481 echo $ECHO_N "(cached) $ECHO_C" >&6
16483 cat >conftest.
$ac_ext <<_ACEOF
16486 cat confdefs.h
>>conftest.
$ac_ext
16487 cat >>conftest.
$ac_ext <<_ACEOF
16488 /* end confdefs.h. */
16489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16491 #define $ac_func innocuous_$ac_func
16493 /* System header to define __stub macros and hopefully few prototypes,
16494 which can conflict with char $ac_func (); below.
16495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16496 <limits.h> exists even on freestanding compilers. */
16499 # include <limits.h>
16501 # include <assert.h>
16506 /* Override any gcc2 internal prototype to avoid an error. */
16511 /* We use char because int might match the return type of a gcc2
16512 builtin and then its argument prototype would still apply. */
16514 /* The GNU C library defines this for functions which it implements
16515 to always fail with ENOSYS. Some functions are actually named
16516 something starting with __ and the normal name is an alias. */
16517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16520 char (*f) () = $ac_func;
16529 return f != $ac_func;
16534 rm -f conftest.
$ac_objext conftest
$ac_exeext
16535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16536 (eval $ac_link) 2>conftest.er1
16538 grep -v '^ *+' conftest.er1
>conftest.err
16540 cat conftest.err
>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } &&
16543 { ac_try
='test -z "$ac_c_werror_flag"
16544 || test ! -s conftest.err'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; } &&
16550 { ac_try
='test -s conftest$ac_exeext'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; }; then
16556 eval "$as_ac_var=yes"
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.
$ac_ext >&5
16561 eval "$as_ac_var=no"
16563 rm -f conftest.err conftest.
$ac_objext \
16564 conftest
$ac_exeext conftest.
$ac_ext
16566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16568 if test `eval echo '${'$as_ac_var'}'` = yes; then
16569 cat >>confdefs.h
<<_ACEOF
16570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16576 if test "x$ac_cv_func_fork" = xyes
; then
16577 echo "$as_me:$LINENO: checking for working fork" >&5
16578 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
16579 if test "${ac_cv_func_fork_works+set}" = set; then
16580 echo $ECHO_N "(cached) $ECHO_C" >&6
16582 if test "$cross_compiling" = yes; then
16583 ac_cv_func_fork_works
=cross
16585 cat >conftest.
$ac_ext <<_ACEOF
16586 /* By Ruediger Kuhlmann. */
16587 #include <sys/types.h>
16589 # include <unistd.h>
16591 /* Some systems only have a dummy stub for fork() */
16599 rm -f conftest
$ac_exeext
16600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16601 (eval $ac_link) 2>&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; }; then
16610 ac_cv_func_fork_works
=yes
16612 echo "$as_me: program exited with status $ac_status" >&5
16613 echo "$as_me: failed program was:" >&5
16614 sed 's/^/| /' conftest.
$ac_ext >&5
16616 ( exit $ac_status )
16617 ac_cv_func_fork_works
=no
16619 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16622 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
16623 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
16626 ac_cv_func_fork_works
=$ac_cv_func_fork
16628 if test "x$ac_cv_func_fork_works" = xcross
; then
16630 *-*-amigaos* |
*-*-msdosdjgpp*)
16631 # Override, as these systems have only a dummy fork() stub
16632 ac_cv_func_fork_works
=no
16635 ac_cv_func_fork_works
=yes
16638 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
16639 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
16641 ac_cv_func_vfork_works
=$ac_cv_func_vfork
16642 if test "x$ac_cv_func_vfork" = xyes
; then
16643 echo "$as_me:$LINENO: checking for working vfork" >&5
16644 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
16645 if test "${ac_cv_func_vfork_works+set}" = set; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16648 if test "$cross_compiling" = yes; then
16649 ac_cv_func_vfork_works
=cross
16651 cat >conftest.
$ac_ext <<_ACEOF
16654 cat confdefs.h
>>conftest.
$ac_ext
16655 cat >>conftest.
$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16657 /* Thanks to Paul Eggert for this test. */
16659 #include <stdlib.h>
16660 #include <sys/types.h>
16661 #include <sys/stat.h>
16662 #include <sys/wait.h>
16664 # include <unistd.h>
16667 # include <vfork.h>
16669 /* On some sparc systems, changes by the child to local and incoming
16670 argument registers are propagated back to the parent. The compiler
16671 is told about this with #include <vfork.h>, but some compilers
16672 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
16673 static variable whose address is put into a register that is
16674 clobbered by the vfork. */
16677 sparc_address_test (int arg)
16679 sparc_address_test (arg) int arg;
16682 static pid_t child;
16700 pid_t parent = getpid ();
16703 sparc_address_test (0);
16708 /* Here is another test for sparc vfork register problems. This
16709 test uses lots of local variables, at least as many local
16710 variables as main has allocated so far including compiler
16711 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
16712 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
16713 reuse the register of parent for one of the local variables,
16714 since it will think that parent can't possibly be used any more
16715 in this routine. Assigning to the local variable will thus
16716 munge parent in the parent process. */
16718 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
16719 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
16720 /* Convince the compiler that p..p7 are live; otherwise, it might
16721 use the same hardware register for all 8 local variables. */
16722 if (p != p1 || p != p2 || p != p3 || p != p4
16723 || p != p5 || p != p6 || p != p7)
16726 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
16727 from child file descriptors. If the child closes a descriptor
16728 before it execs or exits, this munges the parent's descriptor
16729 as well. Test for this by closing stdout in the child. */
16730 _exit(close(fileno(stdout)) != 0);
16735 while (wait(&status) != child)
16738 /* Was there some problem with vforking? */
16741 /* Did the child fail? (This shouldn't happen.) */
16744 /* Did the vfork/compiler bug occur? */
16745 || parent != getpid()
16747 /* Did the file descriptor bug occur? */
16748 || fstat(fileno(stdout), &st) != 0
16753 rm -f conftest
$ac_exeext
16754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16755 (eval $ac_link) 2>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
16764 ac_cv_func_vfork_works
=yes
16766 echo "$as_me: program exited with status $ac_status" >&5
16767 echo "$as_me: failed program was:" >&5
16768 sed 's/^/| /' conftest.
$ac_ext >&5
16770 ( exit $ac_status )
16771 ac_cv_func_vfork_works
=no
16773 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16776 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
16777 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
16780 if test "x$ac_cv_func_fork_works" = xcross
; then
16781 ac_cv_func_vfork_works
=$ac_cv_func_vfork
16782 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
16783 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
16786 if test "x$ac_cv_func_vfork_works" = xyes
; then
16788 cat >>confdefs.h
<<\_ACEOF
16789 #define HAVE_WORKING_VFORK 1
16794 cat >>confdefs.h
<<\_ACEOF
16799 if test "x$ac_cv_func_fork_works" = xyes
; then
16801 cat >>confdefs.h
<<\_ACEOF
16802 #define HAVE_WORKING_FORK 1
16809 for ac_func
in canonicalize_file_name realpath
16811 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16812 echo "$as_me:$LINENO: checking for $ac_func" >&5
16813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16814 if eval "test \"\${$as_ac_var+set}\" = set"; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 cat >conftest.
$ac_ext <<_ACEOF
16820 cat confdefs.h
>>conftest.
$ac_ext
16821 cat >>conftest.
$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16825 #define $ac_func innocuous_$ac_func
16827 /* System header to define __stub macros and hopefully few prototypes,
16828 which can conflict with char $ac_func (); below.
16829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16830 <limits.h> exists even on freestanding compilers. */
16833 # include <limits.h>
16835 # include <assert.h>
16840 /* Override any gcc2 internal prototype to avoid an error. */
16845 /* We use char because int might match the return type of a gcc2
16846 builtin and then its argument prototype would still apply. */
16848 /* The GNU C library defines this for functions which it implements
16849 to always fail with ENOSYS. Some functions are actually named
16850 something starting with __ and the normal name is an alias. */
16851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16854 char (*f) () = $ac_func;
16863 return f != $ac_func;
16868 rm -f conftest.
$ac_objext conftest
$ac_exeext
16869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16870 (eval $ac_link) 2>conftest.er1
16872 grep -v '^ *+' conftest.er1
>conftest.err
16874 cat conftest.err
>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); } &&
16877 { ac_try
='test -z "$ac_c_werror_flag"
16878 || test ! -s conftest.err'
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880 (eval $ac_try) 2>&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); }; } &&
16884 { ac_try
='test -s conftest$ac_exeext'
16885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16886 (eval $ac_try) 2>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); }; }; then
16890 eval "$as_ac_var=yes"
16892 echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.
$ac_ext >&5
16895 eval "$as_ac_var=no"
16897 rm -f conftest.err conftest.
$ac_objext \
16898 conftest
$ac_exeext conftest.
$ac_ext
16900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16902 if test `eval echo '${'$as_ac_var'}'` = yes; then
16903 cat >>confdefs.h
<<_ACEOF
16904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16911 for ac_func
in getrusage
16913 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16914 echo "$as_me:$LINENO: checking for $ac_func" >&5
16915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16916 if eval "test \"\${$as_ac_var+set}\" = set"; then
16917 echo $ECHO_N "(cached) $ECHO_C" >&6
16919 cat >conftest.
$ac_ext <<_ACEOF
16922 cat confdefs.h
>>conftest.
$ac_ext
16923 cat >>conftest.
$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16927 #define $ac_func innocuous_$ac_func
16929 /* System header to define __stub macros and hopefully few prototypes,
16930 which can conflict with char $ac_func (); below.
16931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16932 <limits.h> exists even on freestanding compilers. */
16935 # include <limits.h>
16937 # include <assert.h>
16942 /* Override any gcc2 internal prototype to avoid an error. */
16947 /* We use char because int might match the return type of a gcc2
16948 builtin and then its argument prototype would still apply. */
16950 /* The GNU C library defines this for functions which it implements
16951 to always fail with ENOSYS. Some functions are actually named
16952 something starting with __ and the normal name is an alias. */
16953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16956 char (*f) () = $ac_func;
16965 return f != $ac_func;
16970 rm -f conftest.
$ac_objext conftest
$ac_exeext
16971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16972 (eval $ac_link) 2>conftest.er1
16974 grep -v '^ *+' conftest.er1
>conftest.err
16976 cat conftest.err
>&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } &&
16979 { ac_try
='test -z "$ac_c_werror_flag"
16980 || test ! -s conftest.err'
16981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16982 (eval $ac_try) 2>&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); }; } &&
16986 { ac_try
='test -s conftest$ac_exeext'
16987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16988 (eval $ac_try) 2>&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); }; }; then
16992 eval "$as_ac_var=yes"
16994 echo "$as_me: failed program was:" >&5
16995 sed 's/^/| /' conftest.
$ac_ext >&5
16997 eval "$as_ac_var=no"
16999 rm -f conftest.err conftest.
$ac_objext \
17000 conftest
$ac_exeext conftest.
$ac_ext
17002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17004 if test `eval echo '${'$as_ac_var'}'` = yes; then
17005 cat >>confdefs.h
<<_ACEOF
17006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17014 for ac_func
in getuid getgid
17016 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17017 echo "$as_me:$LINENO: checking for $ac_func" >&5
17018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17019 if eval "test \"\${$as_ac_var+set}\" = set"; then
17020 echo $ECHO_N "(cached) $ECHO_C" >&6
17022 cat >conftest.
$ac_ext <<_ACEOF
17025 cat confdefs.h
>>conftest.
$ac_ext
17026 cat >>conftest.
$ac_ext <<_ACEOF
17027 /* end confdefs.h. */
17028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17030 #define $ac_func innocuous_$ac_func
17032 /* System header to define __stub macros and hopefully few prototypes,
17033 which can conflict with char $ac_func (); below.
17034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17035 <limits.h> exists even on freestanding compilers. */
17038 # include <limits.h>
17040 # include <assert.h>
17045 /* Override any gcc2 internal prototype to avoid an error. */
17050 /* We use char because int might match the return type of a gcc2
17051 builtin and then its argument prototype would still apply. */
17053 /* The GNU C library defines this for functions which it implements
17054 to always fail with ENOSYS. Some functions are actually named
17055 something starting with __ and the normal name is an alias. */
17056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17059 char (*f) () = $ac_func;
17068 return f != $ac_func;
17073 rm -f conftest.
$ac_objext conftest
$ac_exeext
17074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17075 (eval $ac_link) 2>conftest.er1
17077 grep -v '^ *+' conftest.er1
>conftest.err
17079 cat conftest.err
>&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); } &&
17082 { ac_try
='test -z "$ac_c_werror_flag"
17083 || test ! -s conftest.err'
17084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17085 (eval $ac_try) 2>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); }; } &&
17089 { ac_try
='test -s conftest$ac_exeext'
17090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17091 (eval $ac_try) 2>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }; }; then
17095 eval "$as_ac_var=yes"
17097 echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.
$ac_ext >&5
17100 eval "$as_ac_var=no"
17102 rm -f conftest.err conftest.
$ac_objext \
17103 conftest
$ac_exeext conftest.
$ac_ext
17105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17107 if test `eval echo '${'$as_ac_var'}'` = yes; then
17108 cat >>confdefs.h
<<_ACEOF
17109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17116 for ac_func
in poll
17118 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17119 echo "$as_me:$LINENO: checking for $ac_func" >&5
17120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17121 if eval "test \"\${$as_ac_var+set}\" = set"; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 cat >conftest.
$ac_ext <<_ACEOF
17127 cat confdefs.h
>>conftest.
$ac_ext
17128 cat >>conftest.
$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17132 #define $ac_func innocuous_$ac_func
17134 /* System header to define __stub macros and hopefully few prototypes,
17135 which can conflict with char $ac_func (); below.
17136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17137 <limits.h> exists even on freestanding compilers. */
17140 # include <limits.h>
17142 # include <assert.h>
17147 /* Override any gcc2 internal prototype to avoid an error. */
17152 /* We use char because int might match the return type of a gcc2
17153 builtin and then its argument prototype would still apply. */
17155 /* The GNU C library defines this for functions which it implements
17156 to always fail with ENOSYS. Some functions are actually named
17157 something starting with __ and the normal name is an alias. */
17158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17161 char (*f) () = $ac_func;
17170 return f != $ac_func;
17175 rm -f conftest.
$ac_objext conftest
$ac_exeext
17176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17177 (eval $ac_link) 2>conftest.er1
17179 grep -v '^ *+' conftest.er1
>conftest.err
17181 cat conftest.err
>&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); } &&
17184 { ac_try
='test -z "$ac_c_werror_flag"
17185 || test ! -s conftest.err'
17186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17187 (eval $ac_try) 2>&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); }; } &&
17191 { ac_try
='test -s conftest$ac_exeext'
17192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17193 (eval $ac_try) 2>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); }; }; then
17197 eval "$as_ac_var=yes"
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.
$ac_ext >&5
17202 eval "$as_ac_var=no"
17204 rm -f conftest.err conftest.
$ac_objext \
17205 conftest
$ac_exeext conftest.
$ac_ext
17207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17209 if test `eval echo '${'$as_ac_var'}'` = yes; then
17210 cat >>confdefs.h
<<_ACEOF
17211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17218 for ac_func
in pread64
17220 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17221 echo "$as_me:$LINENO: checking for $ac_func" >&5
17222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17223 if eval "test \"\${$as_ac_var+set}\" = set"; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 cat >conftest.
$ac_ext <<_ACEOF
17229 cat confdefs.h
>>conftest.
$ac_ext
17230 cat >>conftest.
$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17234 #define $ac_func innocuous_$ac_func
17236 /* System header to define __stub macros and hopefully few prototypes,
17237 which can conflict with char $ac_func (); below.
17238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17239 <limits.h> exists even on freestanding compilers. */
17242 # include <limits.h>
17244 # include <assert.h>
17249 /* Override any gcc2 internal prototype to avoid an error. */
17254 /* We use char because int might match the return type of a gcc2
17255 builtin and then its argument prototype would still apply. */
17257 /* The GNU C library defines this for functions which it implements
17258 to always fail with ENOSYS. Some functions are actually named
17259 something starting with __ and the normal name is an alias. */
17260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17263 char (*f) () = $ac_func;
17272 return f != $ac_func;
17277 rm -f conftest.
$ac_objext conftest
$ac_exeext
17278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17279 (eval $ac_link) 2>conftest.er1
17281 grep -v '^ *+' conftest.er1
>conftest.err
17283 cat conftest.err
>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } &&
17286 { ac_try
='test -z "$ac_c_werror_flag"
17287 || test ! -s conftest.err'
17288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17289 (eval $ac_try) 2>&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); }; } &&
17293 { ac_try
='test -s conftest$ac_exeext'
17294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17295 (eval $ac_try) 2>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); }; }; then
17299 eval "$as_ac_var=yes"
17301 echo "$as_me: failed program was:" >&5
17302 sed 's/^/| /' conftest.
$ac_ext >&5
17304 eval "$as_ac_var=no"
17306 rm -f conftest.err conftest.
$ac_objext \
17307 conftest
$ac_exeext conftest.
$ac_ext
17309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17311 if test `eval echo '${'$as_ac_var'}'` = yes; then
17312 cat >>confdefs.h
<<_ACEOF
17313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17320 for ac_func
in sbrk
17322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17323 echo "$as_me:$LINENO: checking for $ac_func" >&5
17324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17325 if eval "test \"\${$as_ac_var+set}\" = set"; then
17326 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 cat >conftest.
$ac_ext <<_ACEOF
17331 cat confdefs.h
>>conftest.
$ac_ext
17332 cat >>conftest.
$ac_ext <<_ACEOF
17333 /* end confdefs.h. */
17334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17336 #define $ac_func innocuous_$ac_func
17338 /* System header to define __stub macros and hopefully few prototypes,
17339 which can conflict with char $ac_func (); below.
17340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17341 <limits.h> exists even on freestanding compilers. */
17344 # include <limits.h>
17346 # include <assert.h>
17351 /* Override any gcc2 internal prototype to avoid an error. */
17356 /* We use char because int might match the return type of a gcc2
17357 builtin and then its argument prototype would still apply. */
17359 /* The GNU C library defines this for functions which it implements
17360 to always fail with ENOSYS. Some functions are actually named
17361 something starting with __ and the normal name is an alias. */
17362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17365 char (*f) () = $ac_func;
17374 return f != $ac_func;
17379 rm -f conftest.
$ac_objext conftest
$ac_exeext
17380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17381 (eval $ac_link) 2>conftest.er1
17383 grep -v '^ *+' conftest.er1
>conftest.err
17385 cat conftest.err
>&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } &&
17388 { ac_try
='test -z "$ac_c_werror_flag"
17389 || test ! -s conftest.err'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; } &&
17395 { ac_try
='test -s conftest$ac_exeext'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; }; then
17401 eval "$as_ac_var=yes"
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.
$ac_ext >&5
17406 eval "$as_ac_var=no"
17408 rm -f conftest.err conftest.
$ac_objext \
17409 conftest
$ac_exeext conftest.
$ac_ext
17411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17413 if test `eval echo '${'$as_ac_var'}'` = yes; then
17414 cat >>confdefs.h
<<_ACEOF
17415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17423 for ac_func
in setpgid setpgrp
17425 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17426 echo "$as_me:$LINENO: checking for $ac_func" >&5
17427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17428 if eval "test \"\${$as_ac_var+set}\" = set"; then
17429 echo $ECHO_N "(cached) $ECHO_C" >&6
17431 cat >conftest.
$ac_ext <<_ACEOF
17434 cat confdefs.h
>>conftest.
$ac_ext
17435 cat >>conftest.
$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17439 #define $ac_func innocuous_$ac_func
17441 /* System header to define __stub macros and hopefully few prototypes,
17442 which can conflict with char $ac_func (); below.
17443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17444 <limits.h> exists even on freestanding compilers. */
17447 # include <limits.h>
17449 # include <assert.h>
17454 /* Override any gcc2 internal prototype to avoid an error. */
17459 /* We use char because int might match the return type of a gcc2
17460 builtin and then its argument prototype would still apply. */
17462 /* The GNU C library defines this for functions which it implements
17463 to always fail with ENOSYS. Some functions are actually named
17464 something starting with __ and the normal name is an alias. */
17465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17468 char (*f) () = $ac_func;
17477 return f != $ac_func;
17482 rm -f conftest.
$ac_objext conftest
$ac_exeext
17483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17484 (eval $ac_link) 2>conftest.er1
17486 grep -v '^ *+' conftest.er1
>conftest.err
17488 cat conftest.err
>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); } &&
17491 { ac_try
='test -z "$ac_c_werror_flag"
17492 || test ! -s conftest.err'
17493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17494 (eval $ac_try) 2>&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); }; } &&
17498 { ac_try
='test -s conftest$ac_exeext'
17499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17500 (eval $ac_try) 2>&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); }; }; then
17504 eval "$as_ac_var=yes"
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.
$ac_ext >&5
17509 eval "$as_ac_var=no"
17511 rm -f conftest.err conftest.
$ac_objext \
17512 conftest
$ac_exeext conftest.
$ac_ext
17514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17516 if test `eval echo '${'$as_ac_var'}'` = yes; then
17517 cat >>confdefs.h
<<_ACEOF
17518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17527 for ac_func
in sigaction sigprocmask sigsetmask
17529 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17530 echo "$as_me:$LINENO: checking for $ac_func" >&5
17531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17532 if eval "test \"\${$as_ac_var+set}\" = set"; then
17533 echo $ECHO_N "(cached) $ECHO_C" >&6
17535 cat >conftest.
$ac_ext <<_ACEOF
17538 cat confdefs.h
>>conftest.
$ac_ext
17539 cat >>conftest.
$ac_ext <<_ACEOF
17540 /* end confdefs.h. */
17541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17543 #define $ac_func innocuous_$ac_func
17545 /* System header to define __stub macros and hopefully few prototypes,
17546 which can conflict with char $ac_func (); below.
17547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17548 <limits.h> exists even on freestanding compilers. */
17551 # include <limits.h>
17553 # include <assert.h>
17558 /* Override any gcc2 internal prototype to avoid an error. */
17563 /* We use char because int might match the return type of a gcc2
17564 builtin and then its argument prototype would still apply. */
17566 /* The GNU C library defines this for functions which it implements
17567 to always fail with ENOSYS. Some functions are actually named
17568 something starting with __ and the normal name is an alias. */
17569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17572 char (*f) () = $ac_func;
17581 return f != $ac_func;
17586 rm -f conftest.
$ac_objext conftest
$ac_exeext
17587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17588 (eval $ac_link) 2>conftest.er1
17590 grep -v '^ *+' conftest.er1
>conftest.err
17592 cat conftest.err
>&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); } &&
17595 { ac_try
='test -z "$ac_c_werror_flag"
17596 || test ! -s conftest.err'
17597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17598 (eval $ac_try) 2>&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); }; } &&
17602 { ac_try
='test -s conftest$ac_exeext'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; }; then
17608 eval "$as_ac_var=yes"
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.
$ac_ext >&5
17613 eval "$as_ac_var=no"
17615 rm -f conftest.err conftest.
$ac_objext \
17616 conftest
$ac_exeext conftest.
$ac_ext
17618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17620 if test `eval echo '${'$as_ac_var'}'` = yes; then
17621 cat >>confdefs.h
<<_ACEOF
17622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17629 for ac_func
in socketpair
17631 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17632 echo "$as_me:$LINENO: checking for $ac_func" >&5
17633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17634 if eval "test \"\${$as_ac_var+set}\" = set"; then
17635 echo $ECHO_N "(cached) $ECHO_C" >&6
17637 cat >conftest.
$ac_ext <<_ACEOF
17640 cat confdefs.h
>>conftest.
$ac_ext
17641 cat >>conftest.
$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17645 #define $ac_func innocuous_$ac_func
17647 /* System header to define __stub macros and hopefully few prototypes,
17648 which can conflict with char $ac_func (); below.
17649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17650 <limits.h> exists even on freestanding compilers. */
17653 # include <limits.h>
17655 # include <assert.h>
17660 /* Override any gcc2 internal prototype to avoid an error. */
17665 /* We use char because int might match the return type of a gcc2
17666 builtin and then its argument prototype would still apply. */
17668 /* The GNU C library defines this for functions which it implements
17669 to always fail with ENOSYS. Some functions are actually named
17670 something starting with __ and the normal name is an alias. */
17671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17674 char (*f) () = $ac_func;
17683 return f != $ac_func;
17688 rm -f conftest.
$ac_objext conftest
$ac_exeext
17689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17690 (eval $ac_link) 2>conftest.er1
17692 grep -v '^ *+' conftest.er1
>conftest.err
17694 cat conftest.err
>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } &&
17697 { ac_try
='test -z "$ac_c_werror_flag"
17698 || test ! -s conftest.err'
17699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17700 (eval $ac_try) 2>&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); }; } &&
17704 { ac_try
='test -s conftest$ac_exeext'
17705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17706 (eval $ac_try) 2>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); }; }; then
17710 eval "$as_ac_var=yes"
17712 echo "$as_me: failed program was:" >&5
17713 sed 's/^/| /' conftest.
$ac_ext >&5
17715 eval "$as_ac_var=no"
17717 rm -f conftest.err conftest.
$ac_objext \
17718 conftest
$ac_exeext conftest.
$ac_ext
17720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17722 if test `eval echo '${'$as_ac_var'}'` = yes; then
17723 cat >>confdefs.h
<<_ACEOF
17724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17731 for ac_func
in syscall
17733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17734 echo "$as_me:$LINENO: checking for $ac_func" >&5
17735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17736 if eval "test \"\${$as_ac_var+set}\" = set"; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 cat >conftest.
$ac_ext <<_ACEOF
17742 cat confdefs.h
>>conftest.
$ac_ext
17743 cat >>conftest.
$ac_ext <<_ACEOF
17744 /* end confdefs.h. */
17745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17747 #define $ac_func innocuous_$ac_func
17749 /* System header to define __stub macros and hopefully few prototypes,
17750 which can conflict with char $ac_func (); below.
17751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17752 <limits.h> exists even on freestanding compilers. */
17755 # include <limits.h>
17757 # include <assert.h>
17762 /* Override any gcc2 internal prototype to avoid an error. */
17767 /* We use char because int might match the return type of a gcc2
17768 builtin and then its argument prototype would still apply. */
17770 /* The GNU C library defines this for functions which it implements
17771 to always fail with ENOSYS. Some functions are actually named
17772 something starting with __ and the normal name is an alias. */
17773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17776 char (*f) () = $ac_func;
17785 return f != $ac_func;
17790 rm -f conftest.
$ac_objext conftest
$ac_exeext
17791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17792 (eval $ac_link) 2>conftest.er1
17794 grep -v '^ *+' conftest.er1
>conftest.err
17796 cat conftest.err
>&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); } &&
17799 { ac_try
='test -z "$ac_c_werror_flag"
17800 || test ! -s conftest.err'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; } &&
17806 { ac_try
='test -s conftest$ac_exeext'
17807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808 (eval $ac_try) 2>&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); }; }; then
17812 eval "$as_ac_var=yes"
17814 echo "$as_me: failed program was:" >&5
17815 sed 's/^/| /' conftest.
$ac_ext >&5
17817 eval "$as_ac_var=no"
17819 rm -f conftest.err conftest.
$ac_objext \
17820 conftest
$ac_exeext conftest.
$ac_ext
17822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17824 if test `eval echo '${'$as_ac_var'}'` = yes; then
17825 cat >>confdefs.h
<<_ACEOF
17826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17833 for ac_func
in ttrace
17835 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17836 echo "$as_me:$LINENO: checking for $ac_func" >&5
17837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17838 if eval "test \"\${$as_ac_var+set}\" = set"; then
17839 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 cat >conftest.
$ac_ext <<_ACEOF
17844 cat confdefs.h
>>conftest.
$ac_ext
17845 cat >>conftest.
$ac_ext <<_ACEOF
17846 /* end confdefs.h. */
17847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17849 #define $ac_func innocuous_$ac_func
17851 /* System header to define __stub macros and hopefully few prototypes,
17852 which can conflict with char $ac_func (); below.
17853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17854 <limits.h> exists even on freestanding compilers. */
17857 # include <limits.h>
17859 # include <assert.h>
17864 /* Override any gcc2 internal prototype to avoid an error. */
17869 /* We use char because int might match the return type of a gcc2
17870 builtin and then its argument prototype would still apply. */
17872 /* The GNU C library defines this for functions which it implements
17873 to always fail with ENOSYS. Some functions are actually named
17874 something starting with __ and the normal name is an alias. */
17875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17878 char (*f) () = $ac_func;
17887 return f != $ac_func;
17892 rm -f conftest.
$ac_objext conftest
$ac_exeext
17893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17894 (eval $ac_link) 2>conftest.er1
17896 grep -v '^ *+' conftest.er1
>conftest.err
17898 cat conftest.err
>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } &&
17901 { ac_try
='test -z "$ac_c_werror_flag"
17902 || test ! -s conftest.err'
17903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904 (eval $ac_try) 2>&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); }; } &&
17908 { ac_try
='test -s conftest$ac_exeext'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; }; then
17914 eval "$as_ac_var=yes"
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.
$ac_ext >&5
17919 eval "$as_ac_var=no"
17921 rm -f conftest.err conftest.
$ac_objext \
17922 conftest
$ac_exeext conftest.
$ac_ext
17924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17926 if test `eval echo '${'$as_ac_var'}'` = yes; then
17927 cat >>confdefs.h
<<_ACEOF
17928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17935 for ac_func
in wborder
17937 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17938 echo "$as_me:$LINENO: checking for $ac_func" >&5
17939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17940 if eval "test \"\${$as_ac_var+set}\" = set"; then
17941 echo $ECHO_N "(cached) $ECHO_C" >&6
17943 cat >conftest.
$ac_ext <<_ACEOF
17946 cat confdefs.h
>>conftest.
$ac_ext
17947 cat >>conftest.
$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17951 #define $ac_func innocuous_$ac_func
17953 /* System header to define __stub macros and hopefully few prototypes,
17954 which can conflict with char $ac_func (); below.
17955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17956 <limits.h> exists even on freestanding compilers. */
17959 # include <limits.h>
17961 # include <assert.h>
17966 /* Override any gcc2 internal prototype to avoid an error. */
17971 /* We use char because int might match the return type of a gcc2
17972 builtin and then its argument prototype would still apply. */
17974 /* The GNU C library defines this for functions which it implements
17975 to always fail with ENOSYS. Some functions are actually named
17976 something starting with __ and the normal name is an alias. */
17977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17980 char (*f) () = $ac_func;
17989 return f != $ac_func;
17994 rm -f conftest.
$ac_objext conftest
$ac_exeext
17995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17996 (eval $ac_link) 2>conftest.er1
17998 grep -v '^ *+' conftest.er1
>conftest.err
18000 cat conftest.err
>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } &&
18003 { ac_try
='test -z "$ac_c_werror_flag"
18004 || test ! -s conftest.err'
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; } &&
18010 { ac_try
='test -s conftest$ac_exeext'
18011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012 (eval $ac_try) 2>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); }; }; then
18016 eval "$as_ac_var=yes"
18018 echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.
$ac_ext >&5
18021 eval "$as_ac_var=no"
18023 rm -f conftest.err conftest.
$ac_objext \
18024 conftest
$ac_exeext conftest.
$ac_ext
18026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18028 if test `eval echo '${'$as_ac_var'}'` = yes; then
18029 cat >>confdefs.h
<<_ACEOF
18030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18037 # Check the return and argument types of ptrace. No canned test for
18038 # this, so roll our own.
18039 gdb_ptrace_headers
='
18040 #if HAVE_SYS_TYPES_H
18041 # include <sys/types.h>
18043 #if HAVE_SYS_PTRACE_H
18044 # include <sys/ptrace.h>
18047 # include <unistd.h>
18050 # There is no point in checking if we don't have a prototype.
18051 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
18052 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
18053 if test "${ac_cv_have_decl_ptrace+set}" = set; then
18054 echo $ECHO_N "(cached) $ECHO_C" >&6
18056 cat >conftest.
$ac_ext <<_ACEOF
18059 cat confdefs.h
>>conftest.
$ac_ext
18060 cat >>conftest.
$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18062 $gdb_ptrace_headers
18068 char *p = (char *) ptrace;
18075 rm -f conftest.
$ac_objext
18076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18077 (eval $ac_compile) 2>conftest.er1
18079 grep -v '^ *+' conftest.er1
>conftest.err
18081 cat conftest.err
>&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); } &&
18084 { ac_try
='test -z "$ac_c_werror_flag"
18085 || test ! -s conftest.err'
18086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18087 (eval $ac_try) 2>&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); }; } &&
18091 { ac_try
='test -s conftest.$ac_objext'
18092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18093 (eval $ac_try) 2>&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); }; }; then
18097 ac_cv_have_decl_ptrace
=yes
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.
$ac_ext >&5
18102 ac_cv_have_decl_ptrace
=no
18104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18106 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
18107 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
18108 if test $ac_cv_have_decl_ptrace = yes; then
18110 cat >>confdefs.h
<<_ACEOF
18111 #define HAVE_DECL_PTRACE 1
18116 cat >>confdefs.h
<<_ACEOF
18117 #define HAVE_DECL_PTRACE 0
18121 : ${gdb_cv_func_ptrace_ret='int'}
18122 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
18127 # Check return type.
18128 echo "$as_me:$LINENO: checking return type of ptrace" >&5
18129 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
18130 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 cat >conftest.
$ac_ext <<_ACEOF
18136 cat confdefs.h
>>conftest.
$ac_ext
18137 cat >>conftest.
$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18139 $gdb_ptrace_headers
18143 extern int ptrace ();
18148 rm -f conftest.
$ac_objext
18149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18150 (eval $ac_compile) 2>conftest.er1
18152 grep -v '^ *+' conftest.er1
>conftest.err
18154 cat conftest.err
>&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); } &&
18157 { ac_try
='test -z "$ac_c_werror_flag"
18158 || test ! -s conftest.err'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; } &&
18164 { ac_try
='test -s conftest.$ac_objext'
18165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18166 (eval $ac_try) 2>&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); }; }; then
18170 gdb_cv_func_ptrace_ret
='int'
18172 echo "$as_me: failed program was:" >&5
18173 sed 's/^/| /' conftest.
$ac_ext >&5
18175 gdb_cv_func_ptrace_ret
='long'
18177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18179 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
18180 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
18182 cat >>confdefs.h
<<_ACEOF
18183 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
18186 # Check argument types.
18187 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
18188 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
18189 if test "${gdb_cv_func_ptrace_args+set}" = set; then
18190 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 for gdb_arg1
in 'int' 'long'; do
18194 for gdb_arg2
in 'pid_t' 'int' 'long'; do
18195 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long'; do
18196 for gdb_arg4
in 'int' 'long'; do
18197 cat >conftest.
$ac_ext <<_ACEOF
18200 cat confdefs.h
>>conftest.
$ac_ext
18201 cat >>conftest.
$ac_ext <<_ACEOF
18202 /* end confdefs.h. */
18203 $gdb_ptrace_headers
18208 extern $gdb_cv_func_ptrace_ret
18209 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
18215 rm -f conftest.
$ac_objext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18217 (eval $ac_compile) 2>conftest.er1
18219 grep -v '^ *+' conftest.er1
>conftest.err
18221 cat conftest.err
>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } &&
18224 { ac_try
='test -z "$ac_c_werror_flag"
18225 || test ! -s conftest.err'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; } &&
18231 { ac_try
='test -s conftest.$ac_objext'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; }; then
18237 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.
$ac_ext >&5
18244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18245 for gdb_arg5
in 'int *' 'int' 'long'; do
18246 cat >conftest.
$ac_ext <<_ACEOF
18249 cat confdefs.h
>>conftest.
$ac_ext
18250 cat >>conftest.
$ac_ext <<_ACEOF
18251 /* end confdefs.h. */
18252 $gdb_ptrace_headers
18257 extern $gdb_cv_func_ptrace_ret
18258 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
18264 rm -f conftest.
$ac_objext
18265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18266 (eval $ac_compile) 2>conftest.er1
18268 grep -v '^ *+' conftest.er1
>conftest.err
18270 cat conftest.err
>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); } &&
18273 { ac_try
='test -z "$ac_c_werror_flag"
18274 || test ! -s conftest.err'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; } &&
18280 { ac_try
='test -s conftest.$ac_objext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18287 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
18290 echo "$as_me: failed program was:" >&5
18291 sed 's/^/| /' conftest.
$ac_ext >&5
18294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18300 # Provide a safe default value.
18301 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
18304 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
18305 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
18306 ac_save_IFS
=$IFS; IFS
=','
18307 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
18311 cat >>confdefs.h
<<_ACEOF
18312 #define PTRACE_TYPE_ARG3 $3
18315 if test -n "$5"; then
18317 cat >>confdefs.h
<<_ACEOF
18318 #define PTRACE_TYPE_ARG5 $5
18323 if test "$cross_compiling" = no
; then
18324 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
18325 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
18326 if test "${ac_cv_func_setpgrp_void+set}" = set; then
18327 echo $ECHO_N "(cached) $ECHO_C" >&6
18329 if test "$cross_compiling" = yes; then
18330 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
18331 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
18332 { (exit 1); exit 1; }; }
18334 cat >conftest.
$ac_ext <<_ACEOF
18337 cat confdefs.h
>>conftest.
$ac_ext
18338 cat >>conftest.
$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18341 # include <unistd.h>
18347 /* If this system has a BSD-style setpgrp which takes arguments,
18348 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
18349 exit successfully. */
18350 exit (setpgrp (1,1) == -1 ? 0 : 1);
18355 rm -f conftest
$ac_exeext
18356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18357 (eval $ac_link) 2>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; }; then
18366 ac_cv_func_setpgrp_void
=no
18368 echo "$as_me: program exited with status $ac_status" >&5
18369 echo "$as_me: failed program was:" >&5
18370 sed 's/^/| /' conftest.
$ac_ext >&5
18372 ( exit $ac_status )
18373 ac_cv_func_setpgrp_void
=yes
18375 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18378 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
18379 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
18380 if test $ac_cv_func_setpgrp_void = yes; then
18382 cat >>confdefs.h
<<\_ACEOF
18383 #define SETPGRP_VOID 1
18389 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
18390 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
18391 if test "${ac_cv_func_setpgrp_void+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18394 cat >conftest.
$ac_ext <<_ACEOF
18397 cat confdefs.h
>>conftest.
$ac_ext
18398 cat >>conftest.
$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18401 #include <unistd.h>
18407 if (setpgrp(1,1) == -1)
18416 rm -f conftest.
$ac_objext
18417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18418 (eval $ac_compile) 2>conftest.er1
18420 grep -v '^ *+' conftest.er1
>conftest.err
18422 cat conftest.err
>&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); } &&
18425 { ac_try
='test -z "$ac_c_werror_flag"
18426 || test ! -s conftest.err'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; } &&
18432 { ac_try
='test -s conftest.$ac_objext'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; }; then
18438 ac_cv_func_setpgrp_void
=no
18440 echo "$as_me: failed program was:" >&5
18441 sed 's/^/| /' conftest.
$ac_ext >&5
18443 ac_cv_func_setpgrp_void
=yes
18445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18447 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
18448 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
18449 if test $ac_cv_func_setpgrp_void = yes; then
18450 cat >>confdefs.h
<<\_ACEOF
18451 #define SETPGRP_VOID 1
18457 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
18458 # since sigsetjmp might only be defined as a macro.
18459 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
18460 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
18461 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
18462 echo $ECHO_N "(cached) $ECHO_C" >&6
18464 cat >conftest.
$ac_ext <<_ACEOF
18467 cat confdefs.h
>>conftest.
$ac_ext
18468 cat >>conftest.
$ac_ext <<_ACEOF
18469 /* end confdefs.h. */
18471 #include <setjmp.h>
18476 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
18481 rm -f conftest.
$ac_objext
18482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18483 (eval $ac_compile) 2>conftest.er1
18485 grep -v '^ *+' conftest.er1
>conftest.err
18487 cat conftest.err
>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); } &&
18490 { ac_try
='test -z "$ac_c_werror_flag"
18491 || test ! -s conftest.err'
18492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493 (eval $ac_try) 2>&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); }; } &&
18497 { ac_try
='test -s conftest.$ac_objext'
18498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499 (eval $ac_try) 2>&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; }; then
18503 gdb_cv_func_sigsetjmp
=yes
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.
$ac_ext >&5
18508 gdb_cv_func_sigsetjmp
=no
18510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18512 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
18513 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
18514 if test $gdb_cv_func_sigsetjmp = yes; then
18516 cat >>confdefs.h
<<\_ACEOF
18517 #define HAVE_SIGSETJMP 1
18522 # Assume we'll default to using the included libiberty regex.
18523 gdb_use_included_regex
=yes
18525 # However, if the system regex is GNU regex, then default to *not*
18526 # using the included regex.
18527 echo "$as_me:$LINENO: checking for GNU regex" >&5
18528 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
18529 if test "${gdb_cv_have_gnu_regex+set}" = set; then
18530 echo $ECHO_N "(cached) $ECHO_C" >&6
18532 cat >conftest.
$ac_ext <<_ACEOF
18535 cat confdefs.h
>>conftest.
$ac_ext
18536 cat >>conftest.
$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 #include <gnu-versions.h>
18542 #define REGEX_INTERFACE_VERSION 1
18543 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
18544 # error "Version mismatch"
18550 rm -f conftest.
$ac_objext
18551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18552 (eval $ac_compile) 2>conftest.er1
18554 grep -v '^ *+' conftest.er1
>conftest.err
18556 cat conftest.err
>&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); } &&
18559 { ac_try
='test -z "$ac_c_werror_flag"
18560 || test ! -s conftest.err'
18561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562 (eval $ac_try) 2>&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); }; } &&
18566 { ac_try
='test -s conftest.$ac_objext'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; }; then
18572 gdb_cv_have_gnu_regex
=yes
18574 echo "$as_me: failed program was:" >&5
18575 sed 's/^/| /' conftest.
$ac_ext >&5
18577 gdb_cv_have_gnu_regex
=no
18579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18581 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
18582 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
18583 if test $gdb_cv_have_gnu_regex = yes; then
18584 gdb_use_included_regex
=no
18588 # Check whether --with-included-regex or --without-included-regex was given.
18589 if test "${with_included_regex+set}" = set; then
18590 withval
="$with_included_regex"
18591 gdb_with_regex
=$withval
18593 gdb_with_regex
=$gdb_use_included_regex
18595 if test "$gdb_with_regex" = yes; then
18597 cat >>confdefs.h
<<\_ACEOF
18598 #define USE_INCLUDED_REGEX 1
18603 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
18604 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
18605 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
18606 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
18607 echo $ECHO_N "(cached) $ECHO_C" >&6
18609 cat >conftest.
$ac_ext <<_ACEOF
18612 cat confdefs.h
>>conftest.
$ac_ext
18613 cat >>conftest.
$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 #include <sys/param.h>
18616 #include <sys/proc.h>
18622 static struct thread ac_aggr;
18623 if (ac_aggr.td_pcb)
18629 rm -f conftest.
$ac_objext
18630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18631 (eval $ac_compile) 2>conftest.er1
18633 grep -v '^ *+' conftest.er1
>conftest.err
18635 cat conftest.err
>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } &&
18638 { ac_try
='test -z "$ac_c_werror_flag"
18639 || test ! -s conftest.err'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; } &&
18645 { ac_try
='test -s conftest.$ac_objext'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; }; then
18651 ac_cv_member_struct_thread_td_pcb
=yes
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.
$ac_ext >&5
18656 cat >conftest.
$ac_ext <<_ACEOF
18659 cat confdefs.h
>>conftest.
$ac_ext
18660 cat >>conftest.
$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18662 #include <sys/param.h>
18663 #include <sys/proc.h>
18669 static struct thread ac_aggr;
18670 if (sizeof ac_aggr.td_pcb)
18676 rm -f conftest.
$ac_objext
18677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18678 (eval $ac_compile) 2>conftest.er1
18680 grep -v '^ *+' conftest.er1
>conftest.err
18682 cat conftest.err
>&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } &&
18685 { ac_try
='test -z "$ac_c_werror_flag"
18686 || test ! -s conftest.err'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; } &&
18692 { ac_try
='test -s conftest.$ac_objext'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; }; then
18698 ac_cv_member_struct_thread_td_pcb
=yes
18700 echo "$as_me: failed program was:" >&5
18701 sed 's/^/| /' conftest.
$ac_ext >&5
18703 ac_cv_member_struct_thread_td_pcb
=no
18705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18709 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
18710 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
18711 if test $ac_cv_member_struct_thread_td_pcb = yes; then
18713 cat >>confdefs.h
<<_ACEOF
18714 #define HAVE_STRUCT_THREAD_TD_PCB 1
18721 # See if <sys/lwp.h> defines `struct lwp`.
18722 echo "$as_me:$LINENO: checking for struct lwp" >&5
18723 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
18724 if test "${gdb_cv_struct_lwp+set}" = set; then
18725 echo $ECHO_N "(cached) $ECHO_C" >&6
18727 cat >conftest.
$ac_ext <<_ACEOF
18730 cat confdefs.h
>>conftest.
$ac_ext
18731 cat >>conftest.
$ac_ext <<_ACEOF
18732 /* end confdefs.h. */
18733 #include <sys/param.h>
18734 #include <sys/lwp.h>
18743 rm -f conftest.
$ac_objext
18744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18745 (eval $ac_compile) 2>conftest.er1
18747 grep -v '^ *+' conftest.er1
>conftest.err
18749 cat conftest.err
>&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } &&
18752 { ac_try
='test -z "$ac_c_werror_flag"
18753 || test ! -s conftest.err'
18754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18755 (eval $ac_try) 2>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; } &&
18759 { ac_try
='test -s conftest.$ac_objext'
18760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18761 (eval $ac_try) 2>&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); }; }; then
18765 gdb_cv_struct_lwp
=yes
18767 echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.
$ac_ext >&5
18770 gdb_cv_struct_lwp
=no
18772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18774 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
18775 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
18776 if test $gdb_cv_struct_lwp = yes; then
18778 cat >>confdefs.h
<<\_ACEOF
18779 #define HAVE_STRUCT_LWP 1
18784 # See if <machine/reg.h> degines `struct reg'.
18785 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
18786 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
18787 if test "${gdb_cv_struct_reg+set}" = set; then
18788 echo $ECHO_N "(cached) $ECHO_C" >&6
18790 cat >conftest.
$ac_ext <<_ACEOF
18793 cat confdefs.h
>>conftest.
$ac_ext
18794 cat >>conftest.
$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18796 #include <sys/types.h>
18797 #include <machine/reg.h>
18806 rm -f conftest.
$ac_objext
18807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18808 (eval $ac_compile) 2>conftest.er1
18810 grep -v '^ *+' conftest.er1
>conftest.err
18812 cat conftest.err
>&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); } &&
18815 { ac_try
='test -z "$ac_c_werror_flag"
18816 || test ! -s conftest.err'
18817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18818 (eval $ac_try) 2>&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); }; } &&
18822 { ac_try
='test -s conftest.$ac_objext'
18823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18824 (eval $ac_try) 2>&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); }; }; then
18828 gdb_cv_struct_reg
=yes
18830 echo "$as_me: failed program was:" >&5
18831 sed 's/^/| /' conftest.
$ac_ext >&5
18833 gdb_cv_struct_reg
=no
18835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18837 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
18838 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
18839 if test $gdb_cv_struct_reg = yes; then
18841 cat >>confdefs.h
<<\_ACEOF
18842 #define HAVE_STRUCT_REG 1
18847 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
18848 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
18849 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
18850 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
18851 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
18852 echo $ECHO_N "(cached) $ECHO_C" >&6
18854 cat >conftest.
$ac_ext <<_ACEOF
18857 cat confdefs.h
>>conftest.
$ac_ext
18858 cat >>conftest.
$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18860 #include <machine/reg.h>
18865 static struct reg ac_aggr;
18872 rm -f conftest.
$ac_objext
18873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18874 (eval $ac_compile) 2>conftest.er1
18876 grep -v '^ *+' conftest.er1
>conftest.err
18878 cat conftest.err
>&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); } &&
18881 { ac_try
='test -z "$ac_c_werror_flag"
18882 || test ! -s conftest.err'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; } &&
18888 { ac_try
='test -s conftest.$ac_objext'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; }; then
18894 ac_cv_member_struct_reg_r_fs
=yes
18896 echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.
$ac_ext >&5
18899 cat >conftest.
$ac_ext <<_ACEOF
18902 cat confdefs.h
>>conftest.
$ac_ext
18903 cat >>conftest.
$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905 #include <machine/reg.h>
18910 static struct reg ac_aggr;
18911 if (sizeof ac_aggr.r_fs)
18917 rm -f conftest.
$ac_objext
18918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18919 (eval $ac_compile) 2>conftest.er1
18921 grep -v '^ *+' conftest.er1
>conftest.err
18923 cat conftest.err
>&5
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); } &&
18926 { ac_try
='test -z "$ac_c_werror_flag"
18927 || test ! -s conftest.err'
18928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929 (eval $ac_try) 2>&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); }; } &&
18933 { ac_try
='test -s conftest.$ac_objext'
18934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18935 (eval $ac_try) 2>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; }; then
18939 ac_cv_member_struct_reg_r_fs
=yes
18941 echo "$as_me: failed program was:" >&5
18942 sed 's/^/| /' conftest.
$ac_ext >&5
18944 ac_cv_member_struct_reg_r_fs
=no
18946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18950 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
18951 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
18952 if test $ac_cv_member_struct_reg_r_fs = yes; then
18954 cat >>confdefs.h
<<_ACEOF
18955 #define HAVE_STRUCT_REG_R_FS 1
18960 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
18961 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
18962 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
18963 echo $ECHO_N "(cached) $ECHO_C" >&6
18965 cat >conftest.
$ac_ext <<_ACEOF
18968 cat confdefs.h
>>conftest.
$ac_ext
18969 cat >>conftest.
$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18971 #include <machine/reg.h>
18976 static struct reg ac_aggr;
18983 rm -f conftest.
$ac_objext
18984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18985 (eval $ac_compile) 2>conftest.er1
18987 grep -v '^ *+' conftest.er1
>conftest.err
18989 cat conftest.err
>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); } &&
18992 { ac_try
='test -z "$ac_c_werror_flag"
18993 || test ! -s conftest.err'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; } &&
18999 { ac_try
='test -s conftest.$ac_objext'
19000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19001 (eval $ac_try) 2>&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); }; }; then
19005 ac_cv_member_struct_reg_r_gs
=yes
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.
$ac_ext >&5
19010 cat >conftest.
$ac_ext <<_ACEOF
19013 cat confdefs.h
>>conftest.
$ac_ext
19014 cat >>conftest.
$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016 #include <machine/reg.h>
19021 static struct reg ac_aggr;
19022 if (sizeof ac_aggr.r_gs)
19028 rm -f conftest.
$ac_objext
19029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19030 (eval $ac_compile) 2>conftest.er1
19032 grep -v '^ *+' conftest.er1
>conftest.err
19034 cat conftest.err
>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); } &&
19037 { ac_try
='test -z "$ac_c_werror_flag"
19038 || test ! -s conftest.err'
19039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 (eval $ac_try) 2>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; } &&
19044 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19050 ac_cv_member_struct_reg_r_gs
=yes
19052 echo "$as_me: failed program was:" >&5
19053 sed 's/^/| /' conftest.
$ac_ext >&5
19055 ac_cv_member_struct_reg_r_gs
=no
19057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19061 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
19062 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
19063 if test $ac_cv_member_struct_reg_r_gs = yes; then
19065 cat >>confdefs.h
<<_ACEOF
19066 #define HAVE_STRUCT_REG_R_GS 1
19073 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
19074 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
19075 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
19076 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
19077 echo $ECHO_N "(cached) $ECHO_C" >&6
19079 cat >conftest.
$ac_ext <<_ACEOF
19082 cat confdefs.h
>>conftest.
$ac_ext
19083 cat >>conftest.
$ac_ext <<_ACEOF
19084 /* end confdefs.h. */
19085 #include <sys/ptrace.h>
19094 rm -f conftest.
$ac_objext
19095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19096 (eval $ac_compile) 2>conftest.er1
19098 grep -v '^ *+' conftest.er1
>conftest.err
19100 cat conftest.err
>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } &&
19103 { ac_try
='test -z "$ac_c_werror_flag"
19104 || test ! -s conftest.err'
19105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19106 (eval $ac_try) 2>&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); }; } &&
19110 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19116 gdb_cv_have_ptrace_getregs
=yes
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.
$ac_ext >&5
19121 gdb_cv_have_ptrace_getregs
=no
19123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19126 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
19127 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
19128 if test $gdb_cv_have_ptrace_getregs = yes; then
19130 cat >>confdefs.h
<<\_ACEOF
19131 #define HAVE_PTRACE_GETREGS 1
19136 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
19137 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
19138 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
19139 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 cat >conftest.
$ac_ext <<_ACEOF
19145 cat confdefs.h
>>conftest.
$ac_ext
19146 cat >>conftest.
$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19148 #include <sys/ptrace.h>
19157 rm -f conftest.
$ac_objext
19158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19159 (eval $ac_compile) 2>conftest.er1
19161 grep -v '^ *+' conftest.er1
>conftest.err
19163 cat conftest.err
>&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } &&
19166 { ac_try
='test -z "$ac_c_werror_flag"
19167 || test ! -s conftest.err'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; } &&
19173 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19179 gdb_cv_have_ptrace_getfpxregs
=yes
19181 echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.
$ac_ext >&5
19184 gdb_cv_have_ptrace_getfpxregs
=no
19186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19189 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
19190 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
19191 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
19193 cat >>confdefs.h
<<\_ACEOF
19194 #define HAVE_PTRACE_GETFPXREGS 1
19199 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
19200 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
19201 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
19202 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
19203 echo $ECHO_N "(cached) $ECHO_C" >&6
19205 cat >conftest.
$ac_ext <<_ACEOF
19208 cat confdefs.h
>>conftest.
$ac_ext
19209 cat >>conftest.
$ac_ext <<_ACEOF
19210 /* end confdefs.h. */
19211 #include <sys/types.h>
19212 #include <sys/ptrace.h>
19221 rm -f conftest.
$ac_objext
19222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19223 (eval $ac_compile) 2>conftest.er1
19225 grep -v '^ *+' conftest.er1
>conftest.err
19227 cat conftest.err
>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } &&
19230 { ac_try
='test -z "$ac_c_werror_flag"
19231 || test ! -s conftest.err'
19232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233 (eval $ac_try) 2>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); }; } &&
19237 { ac_try
='test -s conftest.$ac_objext'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; }; then
19243 gdb_cv_have_pt_getdbregs
=yes
19245 echo "$as_me: failed program was:" >&5
19246 sed 's/^/| /' conftest.
$ac_ext >&5
19248 gdb_cv_have_pt_getdbregs
=no
19250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19253 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
19254 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
19255 if test $gdb_cv_have_pt_getdbregs = yes; then
19257 cat >>confdefs.h
<<\_ACEOF
19258 #define HAVE_PT_GETDBREGS 1
19263 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
19264 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
19265 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
19266 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
19267 echo $ECHO_N "(cached) $ECHO_C" >&6
19269 cat >conftest.
$ac_ext <<_ACEOF
19272 cat confdefs.h
>>conftest.
$ac_ext
19273 cat >>conftest.
$ac_ext <<_ACEOF
19274 /* end confdefs.h. */
19275 #include <sys/types.h>
19276 #include <sys/ptrace.h>
19285 rm -f conftest.
$ac_objext
19286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19287 (eval $ac_compile) 2>conftest.er1
19289 grep -v '^ *+' conftest.er1
>conftest.err
19291 cat conftest.err
>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } &&
19294 { ac_try
='test -z "$ac_c_werror_flag"
19295 || test ! -s conftest.err'
19296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19297 (eval $ac_try) 2>&5
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); }; } &&
19301 { ac_try
='test -s conftest.$ac_objext'
19302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19303 (eval $ac_try) 2>&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; }; then
19307 gdb_cv_have_pt_getxmmregs
=yes
19309 echo "$as_me: failed program was:" >&5
19310 sed 's/^/| /' conftest.
$ac_ext >&5
19312 gdb_cv_have_pt_getxmmregs
=no
19314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19317 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
19318 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
19319 if test $gdb_cv_have_pt_getxmmregs = yes; then
19321 cat >>confdefs.h
<<\_ACEOF
19322 #define HAVE_PT_GETXMMREGS 1
19327 # Detect which type of /proc is in use, such as for Unixware or Solaris.
19329 if test "${target}" = "${host}"; then
19331 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
19333 cat >>confdefs.h
<<\_ACEOF
19334 #define NEW_PROC_API 1
19338 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9])
19340 cat >>confdefs.h
<<\_ACEOF
19341 #define NEW_PROC_API 1
19346 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
19348 cat >>confdefs.h
<<\_ACEOF
19349 #define _KMEMUSER 1
19356 if test "$ac_cv_header_sys_procfs_h" = yes; then
19357 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
19358 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
19359 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
19360 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 cat >conftest.
$ac_ext <<_ACEOF
19365 cat confdefs.h
>>conftest.
$ac_ext
19366 cat >>conftest.
$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19370 #include <sys/procfs.h>
19379 rm -f conftest.
$ac_objext
19380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19381 (eval $ac_compile) 2>conftest.er1
19383 grep -v '^ *+' conftest.er1
>conftest.err
19385 cat conftest.err
>&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } &&
19388 { ac_try
='test -z "$ac_c_werror_flag"
19389 || test ! -s conftest.err'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; } &&
19395 { ac_try
='test -s conftest.$ac_objext'
19396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19397 (eval $ac_try) 2>&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); }; }; then
19401 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
19403 echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.
$ac_ext >&5
19406 bfd_cv_have_sys_procfs_type_pstatus_t
=no
19409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19412 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
19414 cat >>confdefs.h
<<\_ACEOF
19415 #define HAVE_PSTATUS_T 1
19419 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
19420 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
19422 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
19423 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
19424 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
19425 echo $ECHO_N "(cached) $ECHO_C" >&6
19427 cat >conftest.
$ac_ext <<_ACEOF
19430 cat confdefs.h
>>conftest.
$ac_ext
19431 cat >>conftest.
$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19435 #include <sys/procfs.h>
19444 rm -f conftest.
$ac_objext
19445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19446 (eval $ac_compile) 2>conftest.er1
19448 grep -v '^ *+' conftest.er1
>conftest.err
19450 cat conftest.err
>&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); } &&
19453 { ac_try
='test -z "$ac_c_werror_flag"
19454 || test ! -s conftest.err'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; } &&
19460 { ac_try
='test -s conftest.$ac_objext'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; }; then
19466 bfd_cv_have_sys_procfs_type_prrun_t
=yes
19468 echo "$as_me: failed program was:" >&5
19469 sed 's/^/| /' conftest.
$ac_ext >&5
19471 bfd_cv_have_sys_procfs_type_prrun_t
=no
19474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19477 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
19479 cat >>confdefs.h
<<\_ACEOF
19480 #define HAVE_PRRUN_T 1
19484 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
19485 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
19487 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
19488 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
19489 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
19490 echo $ECHO_N "(cached) $ECHO_C" >&6
19492 cat >conftest.
$ac_ext <<_ACEOF
19495 cat confdefs.h
>>conftest.
$ac_ext
19496 cat >>conftest.
$ac_ext <<_ACEOF
19497 /* end confdefs.h. */
19500 #include <sys/procfs.h>
19509 rm -f conftest.
$ac_objext
19510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19511 (eval $ac_compile) 2>conftest.er1
19513 grep -v '^ *+' conftest.er1
>conftest.err
19515 cat conftest.err
>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); } &&
19518 { ac_try
='test -z "$ac_c_werror_flag"
19519 || test ! -s conftest.err'
19520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19521 (eval $ac_try) 2>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); }; } &&
19525 { ac_try
='test -s conftest.$ac_objext'
19526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19527 (eval $ac_try) 2>&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; }; then
19531 bfd_cv_have_sys_procfs_type_gregset_t
=yes
19533 echo "$as_me: failed program was:" >&5
19534 sed 's/^/| /' conftest.
$ac_ext >&5
19536 bfd_cv_have_sys_procfs_type_gregset_t
=no
19539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19542 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
19544 cat >>confdefs.h
<<\_ACEOF
19545 #define HAVE_GREGSET_T 1
19549 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
19550 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
19552 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
19553 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
19554 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19557 cat >conftest.
$ac_ext <<_ACEOF
19560 cat confdefs.h
>>conftest.
$ac_ext
19561 cat >>conftest.
$ac_ext <<_ACEOF
19562 /* end confdefs.h. */
19565 #include <sys/procfs.h>
19574 rm -f conftest.
$ac_objext
19575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19576 (eval $ac_compile) 2>conftest.er1
19578 grep -v '^ *+' conftest.er1
>conftest.err
19580 cat conftest.err
>&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } &&
19583 { ac_try
='test -z "$ac_c_werror_flag"
19584 || test ! -s conftest.err'
19585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586 (eval $ac_try) 2>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; } &&
19590 { ac_try
='test -s conftest.$ac_objext'
19591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19592 (eval $ac_try) 2>&5
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); }; }; then
19596 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
19598 echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.
$ac_ext >&5
19601 bfd_cv_have_sys_procfs_type_fpregset_t
=no
19604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19607 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
19609 cat >>confdefs.h
<<\_ACEOF
19610 #define HAVE_FPREGSET_T 1
19614 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
19615 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
19617 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
19618 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
19619 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 cat >conftest.
$ac_ext <<_ACEOF
19625 cat confdefs.h
>>conftest.
$ac_ext
19626 cat >>conftest.
$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19630 #include <sys/procfs.h>
19639 rm -f conftest.
$ac_objext
19640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19641 (eval $ac_compile) 2>conftest.er1
19643 grep -v '^ *+' conftest.er1
>conftest.err
19645 cat conftest.err
>&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); } &&
19648 { ac_try
='test -z "$ac_c_werror_flag"
19649 || test ! -s conftest.err'
19650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19651 (eval $ac_try) 2>&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); }; } &&
19655 { ac_try
='test -s conftest.$ac_objext'
19656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19657 (eval $ac_try) 2>&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); }; }; then
19661 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
19663 echo "$as_me: failed program was:" >&5
19664 sed 's/^/| /' conftest.
$ac_ext >&5
19666 bfd_cv_have_sys_procfs_type_prgregset_t
=no
19669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19672 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
19674 cat >>confdefs.h
<<\_ACEOF
19675 #define HAVE_PRGREGSET_T 1
19679 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
19680 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
19682 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
19683 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
19684 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 cat >conftest.
$ac_ext <<_ACEOF
19690 cat confdefs.h
>>conftest.
$ac_ext
19691 cat >>conftest.
$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19695 #include <sys/procfs.h>
19704 rm -f conftest.
$ac_objext
19705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19706 (eval $ac_compile) 2>conftest.er1
19708 grep -v '^ *+' conftest.er1
>conftest.err
19710 cat conftest.err
>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } &&
19713 { ac_try
='test -z "$ac_c_werror_flag"
19714 || test ! -s conftest.err'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; } &&
19720 { ac_try
='test -s conftest.$ac_objext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.
$ac_ext >&5
19731 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
19734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19737 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
19739 cat >>confdefs.h
<<\_ACEOF
19740 #define HAVE_PRFPREGSET_T 1
19744 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
19745 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
19747 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
19748 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
19749 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
19750 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 cat >conftest.
$ac_ext <<_ACEOF
19755 cat confdefs.h
>>conftest.
$ac_ext
19756 cat >>conftest.
$ac_ext <<_ACEOF
19757 /* end confdefs.h. */
19760 #include <sys/procfs.h>
19769 rm -f conftest.
$ac_objext
19770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19771 (eval $ac_compile) 2>conftest.er1
19773 grep -v '^ *+' conftest.er1
>conftest.err
19775 cat conftest.err
>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); } &&
19778 { ac_try
='test -z "$ac_c_werror_flag"
19779 || test ! -s conftest.err'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; } &&
19785 { ac_try
='test -s conftest.$ac_objext'
19786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19787 (eval $ac_try) 2>&5
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); }; }; then
19791 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
19793 echo "$as_me: failed program was:" >&5
19794 sed 's/^/| /' conftest.
$ac_ext >&5
19796 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
19799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19802 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
19804 cat >>confdefs.h
<<\_ACEOF
19805 #define HAVE_PRGREGSET32_T 1
19809 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
19810 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
19812 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
19813 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
19814 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
19815 echo $ECHO_N "(cached) $ECHO_C" >&6
19817 cat >conftest.
$ac_ext <<_ACEOF
19820 cat confdefs.h
>>conftest.
$ac_ext
19821 cat >>conftest.
$ac_ext <<_ACEOF
19822 /* end confdefs.h. */
19825 #include <sys/procfs.h>
19829 prfpregset32_t avar
19834 rm -f conftest.
$ac_objext
19835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19836 (eval $ac_compile) 2>conftest.er1
19838 grep -v '^ *+' conftest.er1
>conftest.err
19840 cat conftest.err
>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); } &&
19843 { ac_try
='test -z "$ac_c_werror_flag"
19844 || test ! -s conftest.err'
19845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19846 (eval $ac_try) 2>&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); }; } &&
19850 { ac_try
='test -s conftest.$ac_objext'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; }; then
19856 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
19858 echo "$as_me: failed program was:" >&5
19859 sed 's/^/| /' conftest.
$ac_ext >&5
19861 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
19864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19867 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
19869 cat >>confdefs.h
<<\_ACEOF
19870 #define HAVE_PRFPREGSET32_T 1
19874 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
19875 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
19877 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
19878 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
19879 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
19880 echo $ECHO_N "(cached) $ECHO_C" >&6
19882 cat >conftest.
$ac_ext <<_ACEOF
19885 cat confdefs.h
>>conftest.
$ac_ext
19886 cat >>conftest.
$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19890 #include <sys/procfs.h>
19899 rm -f conftest.
$ac_objext
19900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19901 (eval $ac_compile) 2>conftest.er1
19903 grep -v '^ *+' conftest.er1
>conftest.err
19905 cat conftest.err
>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); } &&
19908 { ac_try
='test -z "$ac_c_werror_flag"
19909 || test ! -s conftest.err'
19910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19911 (eval $ac_try) 2>&5
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); }; } &&
19915 { ac_try
='test -s conftest.$ac_objext'
19916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19917 (eval $ac_try) 2>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); }; }; then
19921 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
19923 echo "$as_me: failed program was:" >&5
19924 sed 's/^/| /' conftest.
$ac_ext >&5
19926 bfd_cv_have_sys_procfs_type_lwpid_t
=no
19929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19932 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
19934 cat >>confdefs.h
<<\_ACEOF
19935 #define HAVE_LWPID_T 1
19939 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
19940 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
19942 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
19943 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
19944 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
19945 echo $ECHO_N "(cached) $ECHO_C" >&6
19947 cat >conftest.
$ac_ext <<_ACEOF
19950 cat confdefs.h
>>conftest.
$ac_ext
19951 cat >>conftest.
$ac_ext <<_ACEOF
19952 /* end confdefs.h. */
19955 #include <sys/procfs.h>
19964 rm -f conftest.
$ac_objext
19965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19966 (eval $ac_compile) 2>conftest.er1
19968 grep -v '^ *+' conftest.er1
>conftest.err
19970 cat conftest.err
>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } &&
19973 { ac_try
='test -z "$ac_c_werror_flag"
19974 || test ! -s conftest.err'
19975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19976 (eval $ac_try) 2>&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); }; } &&
19980 { ac_try
='test -s conftest.$ac_objext'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; }; then
19986 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.
$ac_ext >&5
19991 bfd_cv_have_sys_procfs_type_psaddr_t
=no
19994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19997 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
19999 cat >>confdefs.h
<<\_ACEOF
20000 #define HAVE_PSADDR_T 1
20004 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
20005 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
20007 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
20008 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
20009 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
20010 echo $ECHO_N "(cached) $ECHO_C" >&6
20012 cat >conftest.
$ac_ext <<_ACEOF
20015 cat confdefs.h
>>conftest.
$ac_ext
20016 cat >>conftest.
$ac_ext <<_ACEOF
20017 /* end confdefs.h. */
20020 #include <sys/procfs.h>
20029 rm -f conftest.
$ac_objext
20030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20031 (eval $ac_compile) 2>conftest.er1
20033 grep -v '^ *+' conftest.er1
>conftest.err
20035 cat conftest.err
>&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); } &&
20038 { ac_try
='test -z "$ac_c_werror_flag"
20039 || test ! -s conftest.err'
20040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20041 (eval $ac_try) 2>&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); }; } &&
20045 { ac_try
='test -s conftest.$ac_objext'
20046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20047 (eval $ac_try) 2>&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); }; }; then
20051 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.
$ac_ext >&5
20056 bfd_cv_have_sys_procfs_type_prsysent_t
=no
20059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20062 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
20064 cat >>confdefs.h
<<\_ACEOF
20065 #define HAVE_PRSYSENT_T 1
20069 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
20070 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
20072 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
20073 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
20074 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
20075 echo $ECHO_N "(cached) $ECHO_C" >&6
20077 cat >conftest.
$ac_ext <<_ACEOF
20080 cat confdefs.h
>>conftest.
$ac_ext
20081 cat >>conftest.
$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20085 #include <sys/procfs.h>
20094 rm -f conftest.
$ac_objext
20095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20096 (eval $ac_compile) 2>conftest.er1
20098 grep -v '^ *+' conftest.er1
>conftest.err
20100 cat conftest.err
>&5
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); } &&
20103 { ac_try
='test -z "$ac_c_werror_flag"
20104 || test ! -s conftest.err'
20105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20106 (eval $ac_try) 2>&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); }; } &&
20110 { ac_try
='test -s conftest.$ac_objext'
20111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20112 (eval $ac_try) 2>&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); }; }; then
20116 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.
$ac_ext >&5
20121 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
20124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20127 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
20129 cat >>confdefs.h
<<\_ACEOF
20130 #define HAVE_PR_SIGSET_T 1
20134 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
20135 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
20137 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
20138 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
20139 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
20140 echo $ECHO_N "(cached) $ECHO_C" >&6
20142 cat >conftest.
$ac_ext <<_ACEOF
20145 cat confdefs.h
>>conftest.
$ac_ext
20146 cat >>conftest.
$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20150 #include <sys/procfs.h>
20154 pr_sigaction64_t avar
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 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.
$ac_ext >&5
20186 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
20189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20192 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
20194 cat >>confdefs.h
<<\_ACEOF
20195 #define HAVE_PR_SIGACTION64_T 1
20199 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
20200 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
20202 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
20203 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
20204 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
20205 echo $ECHO_N "(cached) $ECHO_C" >&6
20207 cat >conftest.
$ac_ext <<_ACEOF
20210 cat confdefs.h
>>conftest.
$ac_ext
20211 cat >>conftest.
$ac_ext <<_ACEOF
20212 /* end confdefs.h. */
20215 #include <sys/procfs.h>
20219 pr_siginfo64_t avar
20224 rm -f conftest.
$ac_objext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20226 (eval $ac_compile) 2>conftest.er1
20228 grep -v '^ *+' conftest.er1
>conftest.err
20230 cat conftest.err
>&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); } &&
20233 { ac_try
='test -z "$ac_c_werror_flag"
20234 || test ! -s conftest.err'
20235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20236 (eval $ac_try) 2>&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); }; } &&
20240 { ac_try
='test -s conftest.$ac_objext'
20241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242 (eval $ac_try) 2>&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; }; then
20246 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
20248 echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.
$ac_ext >&5
20251 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
20254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20257 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
20259 cat >>confdefs.h
<<\_ACEOF
20260 #define HAVE_PR_SIGINFO64_T 1
20264 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
20265 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
20271 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
20272 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
20273 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
20274 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
20275 echo $ECHO_N "(cached) $ECHO_C" >&6
20277 if test "$cross_compiling" = yes; then
20278 gdb_cv_prfpregset_t_broken
=yes
20280 cat >conftest.
$ac_ext <<_ACEOF
20283 cat confdefs.h
>>conftest.
$ac_ext
20284 cat >>conftest.
$ac_ext <<_ACEOF
20285 /* end confdefs.h. */
20286 #include <sys/procfs.h>
20289 if (sizeof (prfpregset_t) == sizeof (void *))
20294 rm -f conftest
$ac_exeext
20295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20296 (eval $ac_link) 2>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20301 (eval $ac_try) 2>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; }; then
20305 gdb_cv_prfpregset_t_broken
=no
20307 echo "$as_me: program exited with status $ac_status" >&5
20308 echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.
$ac_ext >&5
20311 ( exit $ac_status )
20312 gdb_cv_prfpregset_t_broken
=yes
20314 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20318 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
20319 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
20320 if test $gdb_cv_prfpregset_t_broken = yes; then
20322 cat >>confdefs.h
<<\_ACEOF
20323 #define PRFPREGSET_T_BROKEN 1
20330 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
20331 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
20332 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
20333 echo $ECHO_N "(cached) $ECHO_C" >&6
20335 cat >conftest.
$ac_ext <<_ACEOF
20338 cat confdefs.h
>>conftest.
$ac_ext
20339 cat >>conftest.
$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20341 #include <unistd.h>
20342 #include <sys/types.h>
20343 #include <sys/procfs.h>
20350 dummy = ioctl(0, PIOCSET, &dummy);
20356 rm -f conftest.
$ac_objext
20357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20358 (eval $ac_compile) 2>conftest.er1
20360 grep -v '^ *+' conftest.er1
>conftest.err
20362 cat conftest.err
>&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } &&
20365 { ac_try
='test -z "$ac_c_werror_flag"
20366 || test ! -s conftest.err'
20367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20368 (eval $ac_try) 2>&5
20370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371 (exit $ac_status); }; } &&
20372 { ac_try
='test -s conftest.$ac_objext'
20373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20374 (eval $ac_try) 2>&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); }; }; then
20378 gdb_cv_have_procfs_piocset
=yes
20380 echo "$as_me: failed program was:" >&5
20381 sed 's/^/| /' conftest.
$ac_ext >&5
20383 gdb_cv_have_procfs_piocset
=no
20385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20388 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
20389 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
20390 if test $gdb_cv_have_procfs_piocset = yes; then
20392 cat >>confdefs.h
<<\_ACEOF
20393 #define HAVE_PROCFS_PIOCSET 1
20399 if test ${host} = ${target} ; then
20401 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
20402 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
20403 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
20404 echo $ECHO_N "(cached) $ECHO_C" >&6
20406 cat >conftest.
$ac_ext <<_ACEOF
20409 cat confdefs.h
>>conftest.
$ac_ext
20410 cat >>conftest.
$ac_ext <<_ACEOF
20411 /* end confdefs.h. */
20416 struct link_map lm; (void) lm.l_addr;
20421 rm -f conftest.
$ac_objext
20422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20423 (eval $ac_compile) 2>conftest.er1
20425 grep -v '^ *+' conftest.er1
>conftest.err
20427 cat conftest.err
>&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } &&
20430 { ac_try
='test -z "$ac_c_werror_flag"
20431 || test ! -s conftest.err'
20432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20433 (eval $ac_try) 2>&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); }; } &&
20437 { ac_try
='test -s conftest.$ac_objext'
20438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20439 (eval $ac_try) 2>&5
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); }; }; then
20443 gdb_cv_have_struct_link_map_with_l_members
=yes
20445 echo "$as_me: failed program was:" >&5
20446 sed 's/^/| /' conftest.
$ac_ext >&5
20448 gdb_cv_have_struct_link_map_with_l_members
=no
20450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20453 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
20454 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
20455 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
20457 cat >>confdefs.h
<<\_ACEOF
20458 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
20464 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
20465 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
20466 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
20467 echo $ECHO_N "(cached) $ECHO_C" >&6
20469 cat >conftest.
$ac_ext <<_ACEOF
20472 cat confdefs.h
>>conftest.
$ac_ext
20473 cat >>conftest.
$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20475 #include <sys/types.h>
20480 struct link_map lm; (void) lm.lm_addr;
20485 rm -f conftest.
$ac_objext
20486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20487 (eval $ac_compile) 2>conftest.er1
20489 grep -v '^ *+' conftest.er1
>conftest.err
20491 cat conftest.err
>&5
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); } &&
20494 { ac_try
='test -z "$ac_c_werror_flag"
20495 || test ! -s conftest.err'
20496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20497 (eval $ac_try) 2>&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); }; } &&
20501 { ac_try
='test -s conftest.$ac_objext'
20502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20503 (eval $ac_try) 2>&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); }; }; then
20507 gdb_cv_have_struct_link_map_with_lm_members
=yes
20509 echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.
$ac_ext >&5
20512 gdb_cv_have_struct_link_map_with_lm_members
=no
20514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20517 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
20518 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
20519 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
20521 cat >>confdefs.h
<<\_ACEOF
20522 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
20528 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
20529 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
20530 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
20531 echo $ECHO_N "(cached) $ECHO_C" >&6
20533 cat >conftest.
$ac_ext <<_ACEOF
20536 cat confdefs.h
>>conftest.
$ac_ext
20537 cat >>conftest.
$ac_ext <<_ACEOF
20538 /* end confdefs.h. */
20539 #include <sys/types.h>
20540 #ifdef HAVE_NLIST_H
20547 struct so_map lm; (void) lm.som_addr;
20552 rm -f conftest.
$ac_objext
20553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20554 (eval $ac_compile) 2>conftest.er1
20556 grep -v '^ *+' conftest.er1
>conftest.err
20558 cat conftest.err
>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } &&
20561 { ac_try
='test -z "$ac_c_werror_flag"
20562 || test ! -s conftest.err'
20563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564 (eval $ac_try) 2>&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); }; } &&
20568 { ac_try
='test -s conftest.$ac_objext'
20569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20570 (eval $ac_try) 2>&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; }; then
20574 gdb_cv_have_struct_so_map_with_som_members
=yes
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.
$ac_ext >&5
20579 gdb_cv_have_struct_so_map_with_som_members
=no
20581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20584 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
20585 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
20586 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
20588 cat >>confdefs.h
<<\_ACEOF
20589 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
20595 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
20596 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
20597 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
20598 echo $ECHO_N "(cached) $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. */
20607 #include <sys/link.h>
20611 struct link_map32 l;
20616 rm -f conftest.
$ac_objext
20617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20618 (eval $ac_compile) 2>conftest.er1
20620 grep -v '^ *+' conftest.er1
>conftest.err
20622 cat conftest.err
>&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); } &&
20625 { ac_try
='test -z "$ac_c_werror_flag"
20626 || test ! -s conftest.err'
20627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20628 (eval $ac_try) 2>&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); }; } &&
20632 { ac_try
='test -s conftest.$ac_objext'
20633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20634 (eval $ac_try) 2>&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); }; }; then
20638 gdb_cv_have_struct_link_map32
=yes
20640 echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.
$ac_ext >&5
20643 gdb_cv_have_struct_link_map32
=no
20645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20648 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
20649 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
20650 if test $gdb_cv_have_struct_link_map32 = yes; then
20652 cat >>confdefs.h
<<\_ACEOF
20653 #define HAVE_STRUCT_LINK_MAP32 1
20657 cat >>confdefs.h
<<\_ACEOF
20658 #define _SYSCALL32 1
20664 # Check if the compiler supports the `long long' type.
20666 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
20667 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
20668 if test "${gdb_cv_c_long_long+set}" = set; then
20669 echo $ECHO_N "(cached) $ECHO_C" >&6
20671 cat >conftest.
$ac_ext <<_ACEOF
20674 cat confdefs.h
>>conftest.
$ac_ext
20675 cat >>conftest.
$ac_ext <<_ACEOF
20676 /* end confdefs.h. */
20677 extern long long foo;
20681 switch (foo & 2) { case 0: return 1; }
20686 rm -f conftest.
$ac_objext
20687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20688 (eval $ac_compile) 2>conftest.er1
20690 grep -v '^ *+' conftest.er1
>conftest.err
20692 cat conftest.err
>&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); } &&
20695 { ac_try
='test -z "$ac_c_werror_flag"
20696 || test ! -s conftest.err'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; } &&
20702 { ac_try
='test -s conftest.$ac_objext'
20703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20704 (eval $ac_try) 2>&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); }; }; then
20708 gdb_cv_c_long_long
=yes
20710 echo "$as_me: failed program was:" >&5
20711 sed 's/^/| /' conftest.
$ac_ext >&5
20713 gdb_cv_c_long_long
=no
20715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20717 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
20718 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
20719 if test $gdb_cv_c_long_long = yes; then
20721 cat >>confdefs.h
<<\_ACEOF
20722 #define CC_HAS_LONG_LONG 1
20727 # Check if the compiler and runtime support printing long longs.
20729 echo "$as_me:$LINENO: checking for long long support in printf" >&5
20730 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
20731 if test "${gdb_cv_printf_has_long_long+set}" = set; then
20732 echo $ECHO_N "(cached) $ECHO_C" >&6
20734 if test "$cross_compiling" = yes; then
20735 gdb_cv_printf_has_long_long
=no
20737 cat >conftest.
$ac_ext <<_ACEOF
20740 cat confdefs.h
>>conftest.
$ac_ext
20741 cat >>conftest.
$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 $ac_includes_default
20749 l = (l << 16) + 0x0123;
20750 l = (l << 16) + 0x4567;
20751 l = (l << 16) + 0x89ab;
20752 l = (l << 16) + 0xcdef;
20753 sprintf (buf, "0x%016llx", l);
20754 return (strcmp ("0x0123456789abcdef", buf));
20759 rm -f conftest
$ac_exeext
20760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20761 (eval $ac_link) 2>&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20766 (eval $ac_try) 2>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }; }; then
20770 gdb_cv_printf_has_long_long
=yes
20772 echo "$as_me: program exited with status $ac_status" >&5
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.
$ac_ext >&5
20776 ( exit $ac_status )
20777 gdb_cv_printf_has_long_long
=no
20779 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20782 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
20783 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
20784 if test $gdb_cv_printf_has_long_long = yes; then
20786 cat >>confdefs.h
<<\_ACEOF
20787 #define PRINTF_HAS_LONG_LONG 1
20792 # Check if the compiler supports the `long double' type. We can't use
20793 # AC_C_LONG_DOUBLE because that one does additional checks on the
20794 # constants defined in <float.h> that fail on some systems,
20795 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
20797 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
20798 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
20799 if test "${gdb_cv_c_long_double+set}" = set; then
20800 echo $ECHO_N "(cached) $ECHO_C" >&6
20802 cat >conftest.
$ac_ext <<_ACEOF
20805 cat confdefs.h
>>conftest.
$ac_ext
20806 cat >>conftest.
$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20810 rm -f conftest.
$ac_objext
20811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20812 (eval $ac_compile) 2>conftest.er1
20814 grep -v '^ *+' conftest.er1
>conftest.err
20816 cat conftest.err
>&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); } &&
20819 { ac_try
='test -z "$ac_c_werror_flag"
20820 || test ! -s conftest.err'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; } &&
20826 { ac_try
='test -s conftest.$ac_objext'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; }; then
20832 gdb_cv_c_long_double
=yes
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.
$ac_ext >&5
20837 gdb_cv_c_long_double
=no
20839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20841 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
20842 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
20843 if test $gdb_cv_c_long_double = yes; then
20845 cat >>confdefs.h
<<\_ACEOF
20846 #define HAVE_LONG_DOUBLE 1
20851 # Check if the compiler and runtime support printing long doubles.
20853 echo "$as_me:$LINENO: checking for long double support in printf" >&5
20854 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
20855 if test "${gdb_cv_printf_has_long_double+set}" = set; then
20856 echo $ECHO_N "(cached) $ECHO_C" >&6
20858 if test "$cross_compiling" = yes; then
20859 gdb_cv_printf_has_long_double
=no
20861 cat >conftest.
$ac_ext <<_ACEOF
20864 cat confdefs.h
>>conftest.
$ac_ext
20865 cat >>conftest.
$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20867 $ac_includes_default
20872 long double f = 3.141592653;
20873 sprintf (buf, "%Lg", f);
20874 return (strncmp ("3.14159", buf, 7));
20879 rm -f conftest
$ac_exeext
20880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20881 (eval $ac_link) 2>&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20886 (eval $ac_try) 2>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); }; }; then
20890 gdb_cv_printf_has_long_double
=yes
20892 echo "$as_me: program exited with status $ac_status" >&5
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.
$ac_ext >&5
20896 ( exit $ac_status )
20897 gdb_cv_printf_has_long_double
=no
20899 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20902 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
20903 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
20904 if test $gdb_cv_printf_has_long_double = yes; then
20906 cat >>confdefs.h
<<\_ACEOF
20907 #define PRINTF_HAS_LONG_DOUBLE 1
20912 # Check if the compiler and runtime support scanning long doubles.
20914 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
20915 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
20916 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
20917 echo $ECHO_N "(cached) $ECHO_C" >&6
20919 if test "$cross_compiling" = yes; then
20920 gdb_cv_scanf_has_long_double
=no
20922 cat >conftest.
$ac_ext <<_ACEOF
20925 cat confdefs.h
>>conftest.
$ac_ext
20926 cat >>conftest.
$ac_ext <<_ACEOF
20927 /* end confdefs.h. */
20932 char *buf = "3.141592653";
20934 sscanf (buf, "%Lg", &f);
20935 return !(f > 3.14159 && f < 3.14160);
20940 rm -f conftest
$ac_exeext
20941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20942 (eval $ac_link) 2>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20947 (eval $ac_try) 2>&5
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); }; }; then
20951 gdb_cv_scanf_has_long_double
=yes
20953 echo "$as_me: program exited with status $ac_status" >&5
20954 echo "$as_me: failed program was:" >&5
20955 sed 's/^/| /' conftest.
$ac_ext >&5
20957 ( exit $ac_status )
20958 gdb_cv_scanf_has_long_double
=no
20960 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20963 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
20964 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
20965 if test $gdb_cv_scanf_has_long_double = yes; then
20967 cat >>confdefs.h
<<\_ACEOF
20968 #define SCANF_HAS_LONG_DOUBLE 1
20975 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
20976 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
20977 if test "${gdb_cv_bigtoc+set}" = set; then
20978 echo $ECHO_N "(cached) $ECHO_C" >&6
20981 SAVE_LDFLAGS
=$LDFLAGS
20984 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
20985 *) gdb_cv_bigtoc
=-bbigtoc ;;
20988 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
20989 cat >conftest.
$ac_ext <<_ACEOF
20992 cat confdefs.h
>>conftest.
$ac_ext
20993 cat >>conftest.
$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
21004 rm -f conftest.
$ac_objext conftest
$ac_exeext
21005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21006 (eval $ac_link) 2>conftest.er1
21008 grep -v '^ *+' conftest.er1
>conftest.err
21010 cat conftest.err
>&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); } &&
21013 { ac_try
='test -z "$ac_c_werror_flag"
21014 || test ! -s conftest.err'
21015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016 (eval $ac_try) 2>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); }; } &&
21020 { ac_try
='test -s conftest$ac_exeext'
21021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022 (eval $ac_try) 2>&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; }; then
21028 echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.
$ac_ext >&5
21033 rm -f conftest.err conftest.
$ac_objext \
21034 conftest
$ac_exeext conftest.
$ac_ext
21035 LDFLAGS
="${SAVE_LDFLAGS}"
21038 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
21039 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
21040 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
21046 if test ${build} = ${host} -a ${host} = ${target} ; then
21049 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
21050 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
21051 if test -f /usr
/include
/dce
/cma_config.h
; then
21052 if test "$GCC" = "yes" ; then
21053 echo "$as_me:$LINENO: result: yes" >&5
21054 echo "${ECHO_T}yes" >&6
21056 cat >>confdefs.h
<<\_ACEOF
21057 #define HAVE_HPUX_THREAD_SUPPORT 1
21060 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
21061 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
21063 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
21064 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
21067 echo "$as_me:$LINENO: result: no" >&5
21068 echo "${ECHO_T}no" >&6
21072 # See if thread_db library is around for Solaris thread debugging.
21073 # Note that we must explicitly test for version 1 of the library
21074 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
21076 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
21077 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
21078 if test -f /usr
/lib
/libthread_db.so
.1 ; then
21079 echo "$as_me:$LINENO: result: yes" >&5
21080 echo "${ECHO_T}yes" >&6
21082 cat >>confdefs.h
<<\_ACEOF
21083 #define HAVE_THREAD_DB_LIB 1
21086 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
21087 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
21089 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21090 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
21091 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21092 echo $ECHO_N "(cached) $ECHO_C" >&6
21094 ac_check_lib_save_LIBS
=$LIBS
21096 cat >conftest.
$ac_ext <<_ACEOF
21099 cat confdefs.h
>>conftest.
$ac_ext
21100 cat >>conftest.
$ac_ext <<_ACEOF
21101 /* end confdefs.h. */
21103 /* Override any gcc2 internal prototype to avoid an error. */
21107 /* We use char because int might match the return type of a gcc2
21108 builtin and then its argument prototype would still apply. */
21118 rm -f conftest.
$ac_objext conftest
$ac_exeext
21119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21120 (eval $ac_link) 2>conftest.er1
21122 grep -v '^ *+' conftest.er1
>conftest.err
21124 cat conftest.err
>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); } &&
21127 { ac_try
='test -z "$ac_c_werror_flag"
21128 || test ! -s conftest.err'
21129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21130 (eval $ac_try) 2>&5
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); }; } &&
21134 { ac_try
='test -s conftest$ac_exeext'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; }; then
21140 ac_cv_lib_dl_dlopen
=yes
21142 echo "$as_me: failed program was:" >&5
21143 sed 's/^/| /' conftest.
$ac_ext >&5
21145 ac_cv_lib_dl_dlopen
=no
21147 rm -f conftest.err conftest.
$ac_objext \
21148 conftest
$ac_exeext conftest.
$ac_ext
21149 LIBS
=$ac_check_lib_save_LIBS
21151 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21152 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
21153 if test $ac_cv_lib_dl_dlopen = yes; then
21154 cat >>confdefs.h
<<_ACEOF
21155 #define HAVE_LIBDL 1
21162 if test "$GCC" = "yes" ; then
21163 # The GNU linker requires the -export-dynamic option to make
21164 # all symbols visible in the dynamic symbol table.
21165 hold_ldflags
=$LDFLAGS
21166 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
21167 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
21168 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
21169 cat >conftest.
$ac_ext <<_ACEOF
21172 cat confdefs.h
>>conftest.
$ac_ext
21173 cat >>conftest.
$ac_ext <<_ACEOF
21174 /* end confdefs.h. */
21184 rm -f conftest.
$ac_objext conftest
$ac_exeext
21185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21186 (eval $ac_link) 2>conftest.er1
21188 grep -v '^ *+' conftest.er1
>conftest.err
21190 cat conftest.err
>&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); } &&
21193 { ac_try
='test -z "$ac_c_werror_flag"
21194 || test ! -s conftest.err'
21195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21196 (eval $ac_try) 2>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); }; } &&
21200 { ac_try
='test -s conftest$ac_exeext'
21201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21202 (eval $ac_try) 2>&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); }; }; then
21208 echo "$as_me: failed program was:" >&5
21209 sed 's/^/| /' conftest.
$ac_ext >&5
21213 rm -f conftest.err conftest.
$ac_objext \
21214 conftest
$ac_exeext conftest.
$ac_ext
21215 LDFLAGS
=$hold_ldflags
21216 echo "$as_me:$LINENO: result: $found" >&5
21217 echo "${ECHO_T}$found" >&6
21218 if test $found = yes; then
21219 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
21222 # Sun randomly tweaked the prototypes in <proc_service.h>
21224 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
21225 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
21226 if test "${gdb_cv_proc_service_is_old+set}" = set; then
21227 echo $ECHO_N "(cached) $ECHO_C" >&6
21230 cat >conftest.
$ac_ext <<_ACEOF
21233 cat confdefs.h
>>conftest.
$ac_ext
21234 cat >>conftest.
$ac_ext <<_ACEOF
21235 /* end confdefs.h. */
21237 #include <proc_service.h>
21238 ps_err_e ps_pdwrite
21239 (struct ps_prochandle*, psaddr_t, const void*, size_t);
21249 rm -f conftest.
$ac_objext
21250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21251 (eval $ac_compile) 2>conftest.er1
21253 grep -v '^ *+' conftest.er1
>conftest.err
21255 cat conftest.err
>&5
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); } &&
21258 { ac_try
='test -z "$ac_c_werror_flag"
21259 || test ! -s conftest.err'
21260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21261 (eval $ac_try) 2>&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); }; } &&
21265 { ac_try
='test -s conftest.$ac_objext'
21266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21267 (eval $ac_try) 2>&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; }; then
21271 gdb_cv_proc_service_is_old
=no
21273 echo "$as_me: failed program was:" >&5
21274 sed 's/^/| /' conftest.
$ac_ext >&5
21276 gdb_cv_proc_service_is_old
=yes
21278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21282 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
21283 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
21284 if test $gdb_cv_proc_service_is_old = yes; then
21286 cat >>confdefs.h
<<\_ACEOF
21287 #define PROC_SERVICE_IS_OLD 1
21292 echo "$as_me:$LINENO: result: no" >&5
21293 echo "${ECHO_T}no" >&6
21297 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
21298 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
21299 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
21300 echo $ECHO_N "(cached) $ECHO_C" >&6
21302 cat >conftest.
$ac_ext <<_ACEOF
21305 cat confdefs.h
>>conftest.
$ac_ext
21306 cat >>conftest.
$ac_ext <<_ACEOF
21307 /* end confdefs.h. */
21308 #include <sys/pthdebug.h>
21312 #ifndef PTHDB_VERSION_3
21319 rm -f conftest.
$ac_objext
21320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21321 (eval $ac_compile) 2>conftest.er1
21323 grep -v '^ *+' conftest.er1
>conftest.err
21325 cat conftest.err
>&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } &&
21328 { ac_try
='test -z "$ac_c_werror_flag"
21329 || test ! -s conftest.err'
21330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21331 (eval $ac_try) 2>&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); }; } &&
21335 { ac_try
='test -s conftest.$ac_objext'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; }; then
21341 gdb_cv_have_aix_thread_debug
=yes
21343 echo "$as_me: failed program was:" >&5
21344 sed 's/^/| /' conftest.
$ac_ext >&5
21346 gdb_cv_have_aix_thread_debug
=no
21348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21351 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
21352 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
21353 if test $gdb_cv_have_aix_thread_debug = yes; then
21354 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
21355 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
21356 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
21363 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
21364 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
21365 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
21366 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
21367 echo $ECHO_N "(cached) $ECHO_C" >&6
21369 cat >conftest.
$ac_ext <<_ACEOF
21372 cat confdefs.h
>>conftest.
$ac_ext
21373 cat >>conftest.
$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375 #include <thread_db.h>
21379 int i = TD_NOTALLOC;
21384 rm -f conftest.
$ac_objext
21385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21386 (eval $ac_compile) 2>conftest.er1
21388 grep -v '^ *+' conftest.er1
>conftest.err
21390 cat conftest.err
>&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } &&
21393 { ac_try
='test -z "$ac_c_werror_flag"
21394 || test ! -s conftest.err'
21395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396 (eval $ac_try) 2>&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); }; } &&
21400 { ac_try
='test -s conftest.$ac_objext'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; }; then
21406 gdb_cv_thread_db_h_has_td_notalloc
=yes
21408 echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.
$ac_ext >&5
21411 gdb_cv_thread_db_h_has_td_notalloc
=no
21414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21417 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
21418 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
21419 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_VERSION" >&5
21420 echo $ECHO_N "checking whether <thread_db.h> has TD_VERSION... $ECHO_C" >&6
21421 if test "${gdb_cv_thread_db_h_has_td_version+set}" = set; then
21422 echo $ECHO_N "(cached) $ECHO_C" >&6
21424 cat >conftest.
$ac_ext <<_ACEOF
21427 cat confdefs.h
>>conftest.
$ac_ext
21428 cat >>conftest.
$ac_ext <<_ACEOF
21429 /* end confdefs.h. */
21430 #include <thread_db.h>
21434 int i = TD_VERSION;
21439 rm -f conftest.
$ac_objext
21440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21441 (eval $ac_compile) 2>conftest.er1
21443 grep -v '^ *+' conftest.er1
>conftest.err
21445 cat conftest.err
>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } &&
21448 { ac_try
='test -z "$ac_c_werror_flag"
21449 || test ! -s conftest.err'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; } &&
21455 { ac_try
='test -s conftest.$ac_objext'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; }; then
21461 gdb_cv_thread_db_h_has_td_version
=yes
21463 echo "$as_me: failed program was:" >&5
21464 sed 's/^/| /' conftest.
$ac_ext >&5
21466 gdb_cv_thread_db_h_has_td_version
=no
21469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21472 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_version" >&5
21473 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_version" >&6
21474 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTLS" >&5
21475 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTLS... $ECHO_C" >&6
21476 if test "${gdb_cv_thread_db_h_has_td_notls+set}" = set; then
21477 echo $ECHO_N "(cached) $ECHO_C" >&6
21479 cat >conftest.
$ac_ext <<_ACEOF
21482 cat confdefs.h
>>conftest.
$ac_ext
21483 cat >>conftest.
$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 #include <thread_db.h>
21494 rm -f conftest.
$ac_objext
21495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21496 (eval $ac_compile) 2>conftest.er1
21498 grep -v '^ *+' conftest.er1
>conftest.err
21500 cat conftest.err
>&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); } &&
21503 { ac_try
='test -z "$ac_c_werror_flag"
21504 || test ! -s conftest.err'
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); }; } &&
21510 { ac_try
='test -s conftest.$ac_objext'
21511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21512 (eval $ac_try) 2>&5
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); }; }; then
21516 gdb_cv_thread_db_h_has_td_notls
=yes
21518 echo "$as_me: failed program was:" >&5
21519 sed 's/^/| /' conftest.
$ac_ext >&5
21521 gdb_cv_thread_db_h_has_td_notls
=no
21524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21527 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notls" >&5
21528 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notls" >&6
21530 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
21532 cat >>confdefs.h
<<\_ACEOF
21533 #define THREAD_DB_HAS_TD_NOTALLOC 1
21537 if test "x$gdb_cv_thread_db_h_has_td_version" = "xyes"; then
21539 cat >>confdefs.h
<<\_ACEOF
21540 #define THREAD_DB_HAS_TD_VERSION 1
21544 if test "x$gdb_cv_thread_db_h_has_td_notls" = "xyes"; then
21546 cat >>confdefs.h
<<\_ACEOF
21547 #define THREAD_DB_HAS_TD_NOTLS 1
21552 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
21553 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
21554 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
21555 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
21556 echo $ECHO_N "(cached) $ECHO_C" >&6
21558 cat >conftest.
$ac_ext <<_ACEOF
21561 cat confdefs.h
>>conftest.
$ac_ext
21562 cat >>conftest.
$ac_ext <<_ACEOF
21563 /* end confdefs.h. */
21564 #include <sys/syscall.h>
21568 int i = __NR_tkill;
21573 rm -f conftest.
$ac_objext
21574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21575 (eval $ac_compile) 2>conftest.er1
21577 grep -v '^ *+' conftest.er1
>conftest.err
21579 cat conftest.err
>&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } &&
21582 { ac_try
='test -z "$ac_c_werror_flag"
21583 || test ! -s conftest.err'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; } &&
21589 { ac_try
='test -s conftest.$ac_objext'
21590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591 (eval $ac_try) 2>&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); }; }; then
21595 gdb_cv_sys_syscall_h_has_tkill
=yes
21597 echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.
$ac_ext >&5
21600 gdb_cv_sys_syscall_h_has_tkill
=no
21603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21606 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
21607 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
21609 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
21611 cat >>confdefs.h
<<\_ACEOF
21612 #define HAVE_TKILL_SYSCALL 1
21619 # Check whether --with-sysroot or --without-sysroot was given.
21620 if test "${with_sysroot+set}" = set; then
21621 withval
="$with_sysroot"
21623 case ${with_sysroot} in
21624 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
21625 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
21628 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
21630 if test "x$prefix" = xNONE
; then
21631 test_prefix
=/usr
/local
21633 test_prefix
=$prefix
21635 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
21636 test_exec_prefix
=$test_prefix
21638 test_exec_prefix
=$exec_prefix
21640 case ${TARGET_SYSTEM_ROOT} in
21641 "${test_prefix}"|
"${test_prefix}/"*|\
21642 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
21643 '${prefix}'|
'${prefix}/'*|\
21644 '${exec_prefix}'|
'${exec_prefix}/'*)
21645 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
21646 TARGET_SYSTEM_ROOT_DEFINE
="$t"
21652 TARGET_SYSTEM_ROOT
=
21653 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
21659 # Check whether --enable-werror or --disable-werror was given.
21660 if test "${enable_werror+set}" = set; then
21661 enableval
="$enable_werror"
21662 case "${enableval}" in
21663 yes | y
) ERROR_ON_WARNING
="yes" ;;
21664 no | n
) ERROR_ON_WARNING
="no" ;;
21665 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
21666 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
21667 { (exit 1); exit 1; }; } ;;
21671 # Enable -Werror by default when using gcc
21672 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
21673 ERROR_ON_WARNING
=yes
21677 if test "${ERROR_ON_WARNING}" = yes ; then
21678 WERROR_CFLAGS
="-Werror"
21681 # The entries after -Wno-pointer-sign are disabled warnings which may
21682 # be enabled in the future, which can not currently be used to build
21684 # NOTE: If you change this list, remember to update
21685 # gdb/doc/gdbint.texinfo.
21686 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
21687 -Wformat-nonliteral -Wno-pointer-sign \
21688 -Wno-unused -Wno-switch -Wno-char-subscripts"
21690 # Check whether --enable-build-warnings or --disable-build-warnings was given.
21691 if test "${enable_build_warnings+set}" = set; then
21692 enableval
="$enable_build_warnings"
21693 case "${enableval}" in
21695 no
) build_warnings
="-w";;
21696 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21697 build_warnings
="${build_warnings} ${t}";;
21698 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21699 build_warnings
="${t} ${build_warnings}";;
21700 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
21702 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
21703 echo "Setting compiler warning flags = $build_warnings" 6>&1
21705 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
21706 if test "${enable_gdb_build_warnings+set}" = set; then
21707 enableval
="$enable_gdb_build_warnings"
21708 case "${enableval}" in
21710 no
) build_warnings
="-w";;
21711 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21712 build_warnings
="${build_warnings} ${t}";;
21713 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21714 build_warnings
="${t} ${build_warnings}";;
21715 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
21717 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
21718 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
21721 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
21723 echo "$as_me:$LINENO: checking compiler warning flags" >&5
21724 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
21725 # Separate out the -Werror flag as some files just cannot be
21726 # compiled with it enabled.
21727 for w
in ${build_warnings}; do
21729 -Werr*) WERROR_CFLAGS
=-Werror ;;
21730 *) # Check that GCC accepts it
21731 saved_CFLAGS
="$CFLAGS"
21732 CFLAGS
="$CFLAGS $w"
21733 cat >conftest.
$ac_ext <<_ACEOF
21736 cat confdefs.h
>>conftest.
$ac_ext
21737 cat >>conftest.
$ac_ext <<_ACEOF
21738 /* end confdefs.h. */
21748 rm -f conftest.
$ac_objext
21749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21750 (eval $ac_compile) 2>conftest.er1
21752 grep -v '^ *+' conftest.er1
>conftest.err
21754 cat conftest.err
>&5
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); } &&
21757 { ac_try
='test -z "$ac_c_werror_flag"
21758 || test ! -s conftest.err'
21759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21760 (eval $ac_try) 2>&5
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); }; } &&
21764 { ac_try
='test -s conftest.$ac_objext'
21765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21766 (eval $ac_try) 2>&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); }; }; then
21770 WARN_CFLAGS
="${WARN_CFLAGS} $w"
21772 echo "$as_me: failed program was:" >&5
21773 sed 's/^/| /' conftest.
$ac_ext >&5
21776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21777 CFLAGS
="$saved_CFLAGS"
21780 echo "$as_me:$LINENO: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
21781 echo "${ECHO_T}${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6
21786 # In the Cygwin environment, we need some additional flags.
21787 echo "$as_me:$LINENO: checking for cygwin" >&5
21788 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
21789 if test "${gdb_cv_os_cygwin+set}" = set; then
21790 echo $ECHO_N "(cached) $ECHO_C" >&6
21792 cat >conftest.
$ac_ext <<_ACEOF
21795 cat confdefs.h
>>conftest.
$ac_ext
21796 cat >>conftest.
$ac_ext <<_ACEOF
21797 /* end confdefs.h. */
21799 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
21803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21804 $EGREP "lose" >/dev
/null
2>&1; then
21805 gdb_cv_os_cygwin
=yes
21807 gdb_cv_os_cygwin
=no
21812 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
21813 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
21816 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
21818 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
21819 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
21820 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
21824 # libreadline needs libuser32.a in a cygwin environment
21826 if test x
$gdb_cv_os_cygwin = xyes
; then
21827 WIN32LIBS
="-luser32"
21828 case "${target}" in
21829 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
21834 # The ser-tcp.c module requires sockets.
21838 cat >>confdefs.h
<<\_ACEOF
21839 #define USE_WIN32API 1
21842 WIN32LIBS
="$WIN32LIBS -lws2_32"
21847 # Add ELF support to GDB, but only if BFD includes ELF support.
21849 OLD_LDFLAGS
=$LDFLAGS
21851 CFLAGS
="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
21852 LDFLAGS
="$LDFLAGS -L../bfd -L../libiberty"
21853 LIBS
="$LIBS -lbfd -liberty"
21854 echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
21855 echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
21856 if test "${gdb_cv_var_elf+set}" = set; then
21857 echo $ECHO_N "(cached) $ECHO_C" >&6
21859 cat >conftest.
$ac_ext <<_ACEOF
21862 cat confdefs.h
>>conftest.
$ac_ext
21863 cat >>conftest.
$ac_ext <<_ACEOF
21864 /* end confdefs.h. */
21865 #include <stdlib.h>
21867 #include "elf-bfd.h"
21872 bfd *abfd = NULL; bfd_get_elf_phdr_upper_bound (abfd);
21877 rm -f conftest.
$ac_objext conftest
$ac_exeext
21878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21879 (eval $ac_link) 2>conftest.er1
21881 grep -v '^ *+' conftest.er1
>conftest.err
21883 cat conftest.err
>&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); } &&
21886 { ac_try
='test -z "$ac_c_werror_flag"
21887 || test ! -s conftest.err'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; } &&
21893 { ac_try
='test -s conftest$ac_exeext'
21894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21895 (eval $ac_try) 2>&5
21897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21898 (exit $ac_status); }; }; then
21901 echo "$as_me: failed program was:" >&5
21902 sed 's/^/| /' conftest.
$ac_ext >&5
21906 rm -f conftest.err conftest.
$ac_objext \
21907 conftest
$ac_exeext conftest.
$ac_ext
21909 echo "$as_me:$LINENO: result: $gdb_cv_var_elf" >&5
21910 echo "${ECHO_T}$gdb_cv_var_elf" >&6
21911 if test $gdb_cv_var_elf = yes; then
21912 CONFIG_OBS
="$CONFIG_OBS elfread.o"
21914 cat >>confdefs.h
<<\_ACEOF
21920 LDFLAGS
=$OLD_LDFLAGS
21923 # Add any host-specific objects to GDB.
21924 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
21926 LIBGUI
="../libgui/src/libgui.a"
21927 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
21945 if test "${enable_gdbtk}" = "yes"; then
21947 # Gdbtk must have an absolute path to srcdir in order to run
21948 # properly when not installed.
21951 GDBTK_SRC_DIR
=`pwd`
21956 # Ok, lets find the tcl configuration
21957 # First, look for one uninstalled.
21958 # the alternative search directory is invoked by --with-tclconfig
21961 if test x
"${no_tcl}" = x
; then
21962 # we reset no_tcl in case something fails here
21965 # Check whether --with-tclconfig or --without-tclconfig was given.
21966 if test "${with_tclconfig+set}" = set; then
21967 withval
="$with_tclconfig"
21968 with_tclconfig
=${withval}
21970 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
21971 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
21972 if test "${ac_cv_c_tclconfig+set}" = set; then
21973 echo $ECHO_N "(cached) $ECHO_C" >&6
21977 # First check to see if --with-tclconfig was specified.
21978 if test x
"${with_tclconfig}" != x
; then
21979 if test -f "${with_tclconfig}/tclConfig.sh" ; then
21980 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
21982 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
21983 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
21984 { (exit 1); exit 1; }; }
21988 # then check for a private Tcl installation
21989 if test x
"${ac_cv_c_tclconfig}" = x
; then
21992 `ls -dr ../tcl[7-9]* 2>/dev/null` \
21994 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
21996 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
21997 if test -f "$i/${configdir}/tclConfig.sh" ; then
21998 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
22003 # check in a few common install locations
22004 if test x
"${ac_cv_c_tclconfig}" = x
; then
22005 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22006 if test -f "$i/tclConfig.sh" ; then
22007 ac_cv_c_tclconfig
=`(cd $i; pwd)`
22012 # check in a few other private locations
22013 if test x
"${ac_cv_c_tclconfig}" = x
; then
22016 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
22017 if test -f "$i/${configdir}/tclConfig.sh" ; then
22018 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
22026 if test x
"${ac_cv_c_tclconfig}" = x
; then
22027 TCLCONFIG
="# no Tcl configs found"
22028 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
22029 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
22032 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
22033 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
22034 echo "${ECHO_T}found $TCLCONFIG" >&6
22038 if test -z "${no_tcl}"; then
22069 # Ok, lets find the tk configuration
22070 # First, look for one uninstalled.
22071 # the alternative search directory is invoked by --with-tkconfig
22074 if test x
"${no_tk}" = x
; then
22075 # we reset no_tk in case something fails here
22078 # Check whether --with-tkconfig or --without-tkconfig was given.
22079 if test "${with_tkconfig+set}" = set; then
22080 withval
="$with_tkconfig"
22081 with_tkconfig
=${withval}
22083 echo "$as_me:$LINENO: checking for Tk configuration" >&5
22084 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
22085 if test "${ac_cv_c_tkconfig+set}" = set; then
22086 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 # First check to see if --with-tkconfig was specified.
22091 if test x
"${with_tkconfig}" != x
; then
22092 if test -f "${with_tkconfig}/tkConfig.sh" ; then
22093 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
22095 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
22096 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
22097 { (exit 1); exit 1; }; }
22101 # then check for a private Tk library
22102 if test x
"${ac_cv_c_tkconfig}" = x
; then
22105 `ls -dr ../tk[4-9]* 2>/dev/null` \
22107 `ls -dr ../../tk[4-9]* 2>/dev/null` \
22109 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
22110 if test -f "$i/${configdir}/tkConfig.sh" ; then
22111 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
22116 # check in a few common install locations
22117 if test x
"${ac_cv_c_tkconfig}" = x
; then
22118 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22119 if test -f "$i/tkConfig.sh" ; then
22120 ac_cv_c_tkconfig
=`(cd $i; pwd)`
22125 # check in a few other private locations
22126 if test x
"${ac_cv_c_tkconfig}" = x
; then
22129 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
22130 if test -f "$i/${configdir}/tkConfig.sh" ; then
22131 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
22139 if test x
"${ac_cv_c_tkconfig}" = x
; then
22140 TKCONFIG
="# no Tk configs found"
22141 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
22142 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
22145 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
22146 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
22147 echo "${ECHO_T}found $TKCONFIG" >&6
22153 # now look for Tcl library stuff
22155 tcldir
="../tcl/${configdir}/"
22157 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
22159 # If $no_tk is nonempty, then we can't do Tk, and there is no
22160 # point to doing Tcl.
22161 if test -z "${no_tk}"; then
22163 if test -f "$TKCONFIG" ; then
22181 # Ok, lets find the tcl source trees so we can use the headers
22182 # Warning: transition of version 9 to 10 will break this algorithm
22183 # because 10 sorts before 9. We also look for just tcl. We have to
22184 # be careful that we don't match stuff like tclX by accident.
22185 # the alternative search directory is involked by --with-tclinclude
22189 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
22190 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
22192 # Check whether --with-tclinclude or --without-tclinclude was given.
22193 if test "${with_tclinclude+set}" = set; then
22194 withval
="$with_tclinclude"
22195 with_tclinclude
=${withval}
22197 if test "${ac_cv_c_tclh+set}" = set; then
22198 echo $ECHO_N "(cached) $ECHO_C" >&6
22201 # first check to see if --with-tclinclude was specified
22202 if test x
"${with_tclinclude}" != x
; then
22203 if test -f ${with_tclinclude}/tclInt.h
; then
22204 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
22205 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
22206 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
22208 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
22209 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
22210 { (exit 1); exit 1; }; }
22214 # next check if it came with Tcl configuration file
22215 if test x
"${ac_cv_c_tclconfig}" = x
; then
22216 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
22217 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
22221 # next check in private source directory
22223 # since ls returns lowest version numbers first, reverse its output
22224 if test x
"${ac_cv_c_tclh}" = x
; then
22227 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
22228 ${srcdir}/..
/..
/tcl \
22229 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
22230 ${srcdir}/..
/..
/..
/tcl \
22231 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
22232 if test -f $i/generic
/tclInt.h
; then
22233 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
22238 # finally check in a few common install locations
22240 # since ls returns lowest version numbers first, reverse its output
22241 if test x
"${ac_cv_c_tclh}" = x
; then
22243 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
22244 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
22245 /usr
/local
/src
/tcl \
22246 /usr
/local
/lib
/tcl \
22247 ${prefix}/include
; do
22248 if test -f $i/generic
/tclInt.h
; then
22249 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
22254 # see if one is installed
22255 if test x
"${ac_cv_c_tclh}" = x
; then
22256 if test "${ac_cv_header_tclInt_h+set}" = set; then
22257 echo "$as_me:$LINENO: checking for tclInt.h" >&5
22258 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
22259 if test "${ac_cv_header_tclInt_h+set}" = set; then
22260 echo $ECHO_N "(cached) $ECHO_C" >&6
22262 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
22263 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
22265 # Is the header compilable?
22266 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
22267 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
22268 cat >conftest.
$ac_ext <<_ACEOF
22271 cat confdefs.h
>>conftest.
$ac_ext
22272 cat >>conftest.
$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22274 $ac_includes_default
22275 #include <tclInt.h>
22277 rm -f conftest.
$ac_objext
22278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22279 (eval $ac_compile) 2>conftest.er1
22281 grep -v '^ *+' conftest.er1
>conftest.err
22283 cat conftest.err
>&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); } &&
22286 { ac_try
='test -z "$ac_c_werror_flag"
22287 || test ! -s conftest.err'
22288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22289 (eval $ac_try) 2>&5
22291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 (exit $ac_status); }; } &&
22293 { ac_try
='test -s conftest.$ac_objext'
22294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22295 (eval $ac_try) 2>&5
22297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22298 (exit $ac_status); }; }; then
22299 ac_header_compiler
=yes
22301 echo "$as_me: failed program was:" >&5
22302 sed 's/^/| /' conftest.
$ac_ext >&5
22304 ac_header_compiler
=no
22306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22308 echo "${ECHO_T}$ac_header_compiler" >&6
22310 # Is the header present?
22311 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
22312 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
22313 cat >conftest.
$ac_ext <<_ACEOF
22316 cat confdefs.h
>>conftest.
$ac_ext
22317 cat >>conftest.
$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22319 #include <tclInt.h>
22321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22324 grep -v '^ *+' conftest.er1
>conftest.err
22326 cat conftest.err
>&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); } >/dev
/null
; then
22329 if test -s conftest.err
; then
22330 ac_cpp_err
=$ac_c_preproc_warn_flag
22331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22338 if test -z "$ac_cpp_err"; then
22339 ac_header_preproc
=yes
22341 echo "$as_me: failed program was:" >&5
22342 sed 's/^/| /' conftest.
$ac_ext >&5
22344 ac_header_preproc
=no
22346 rm -f conftest.err conftest.
$ac_ext
22347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22348 echo "${ECHO_T}$ac_header_preproc" >&6
22350 # So? What about this header?
22351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22353 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
22354 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22355 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
22356 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
22357 ac_header_preproc
=yes
22360 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
22361 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
22362 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
22363 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
22364 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
22365 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
22366 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
22367 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
22368 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
22369 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
22370 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
22371 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
22374 ## ------------------------------------------ ##
22375 ## Report this to the AC_PACKAGE_NAME lists. ##
22376 ## ------------------------------------------ ##
22379 sed "s/^/$as_me: WARNING: /" >&2
22382 echo "$as_me:$LINENO: checking for tclInt.h" >&5
22383 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
22384 if test "${ac_cv_header_tclInt_h+set}" = set; then
22385 echo $ECHO_N "(cached) $ECHO_C" >&6
22387 ac_cv_header_tclInt_h
=$ac_header_preproc
22389 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
22390 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
22393 if test $ac_cv_header_tclInt_h = yes; then
22394 ac_cv_c_tclh
=installed
22404 if test x
"${ac_cv_c_tclh}" = x
; then
22405 TCLHDIR
="# no Tcl private headers found"
22406 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
22407 echo "$as_me: error: Can't find Tcl private headers" >&2;}
22408 { (exit 1); exit 1; }; }
22410 if test x
"${ac_cv_c_tclh}" != x
; then
22412 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
22413 echo "$as_me:$LINENO: result: is installed" >&5
22414 echo "${ECHO_T}is installed" >&6
22417 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
22418 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
22419 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
22420 TCLHDIR
="-I${ac_cv_c_tclh}"
22428 # Ok, lets find the tk source trees so we can use the headers
22429 # If the directory (presumably symlink) named "tk" exists, use that one
22430 # in preference to any others. Same logic is used when choosing library
22431 # and again with Tcl. The search order is the best place to look first, then in
22432 # decreasing significance. The loop breaks if the trigger file is found.
22433 # Note the gross little conversion here of srcdir by cd'ing to the found
22434 # directory. This converts the path from a relative to an absolute, so
22435 # recursive cache variables for the path will work right. We check all
22436 # the possible paths in one loop rather than many seperate loops to speed
22438 # the alternative search directory is involked by --with-tkinclude
22441 echo "$as_me:$LINENO: checking for Tk private headers" >&5
22442 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
22444 # Check whether --with-tkinclude or --without-tkinclude was given.
22445 if test "${with_tkinclude+set}" = set; then
22446 withval
="$with_tkinclude"
22447 with_tkinclude
=${withval}
22449 if test "${ac_cv_c_tkh+set}" = set; then
22450 echo $ECHO_N "(cached) $ECHO_C" >&6
22453 # first check to see if --with-tkinclude was specified
22454 if test x
"${with_tkinclude}" != x
; then
22455 if test -f ${with_tkinclude}/tk.h
; then
22456 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
22457 elif test -f ${with_tkinclude}/generic
/tk.h
; then
22458 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
22460 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
22461 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
22462 { (exit 1); exit 1; }; }
22466 # next check if it came with Tk configuration file
22467 if test x
"${ac_cv_c_tkconfig}" = x
; then
22468 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
22469 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
22473 # next check in private source directory
22475 # since ls returns lowest version numbers first, reverse its output
22476 if test x
"${ac_cv_c_tkh}" = x
; then
22479 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
22480 ${srcdir}/..
/..
/tk \
22481 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
22482 ${srcdir}/..
/..
/..
/tk \
22483 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
22484 if test -f $i/generic
/tk.h
; then
22485 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
22490 # finally check in a few common install locations
22492 # since ls returns lowest version numbers first, reverse its output
22493 if test x
"${ac_cv_c_tkh}" = x
; then
22495 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
22496 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
22497 /usr
/local
/src
/tk \
22498 /usr
/local
/lib
/tk \
22499 ${prefix}/include
; do
22500 if test -f $i/generic
/tk.h
; then
22501 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
22506 # see if one is installed
22507 if test x
"${ac_cv_c_tkh}" = x
; then
22508 if test "${ac_cv_header_tk_h+set}" = set; then
22509 echo "$as_me:$LINENO: checking for tk.h" >&5
22510 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
22511 if test "${ac_cv_header_tk_h+set}" = set; then
22512 echo $ECHO_N "(cached) $ECHO_C" >&6
22514 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
22515 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
22517 # Is the header compilable?
22518 echo "$as_me:$LINENO: checking tk.h usability" >&5
22519 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
22520 cat >conftest.
$ac_ext <<_ACEOF
22523 cat confdefs.h
>>conftest.
$ac_ext
22524 cat >>conftest.
$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526 $ac_includes_default
22529 rm -f conftest.
$ac_objext
22530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22531 (eval $ac_compile) 2>conftest.er1
22533 grep -v '^ *+' conftest.er1
>conftest.err
22535 cat conftest.err
>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } &&
22538 { ac_try
='test -z "$ac_c_werror_flag"
22539 || test ! -s conftest.err'
22540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22541 (eval $ac_try) 2>&5
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); }; } &&
22545 { ac_try
='test -s conftest.$ac_objext'
22546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22547 (eval $ac_try) 2>&5
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); }; }; then
22551 ac_header_compiler
=yes
22553 echo "$as_me: failed program was:" >&5
22554 sed 's/^/| /' conftest.
$ac_ext >&5
22556 ac_header_compiler
=no
22558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22560 echo "${ECHO_T}$ac_header_compiler" >&6
22562 # Is the header present?
22563 echo "$as_me:$LINENO: checking tk.h presence" >&5
22564 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
22565 cat >conftest.
$ac_ext <<_ACEOF
22568 cat confdefs.h
>>conftest.
$ac_ext
22569 cat >>conftest.
$ac_ext <<_ACEOF
22570 /* end confdefs.h. */
22573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22574 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22576 grep -v '^ *+' conftest.er1
>conftest.err
22578 cat conftest.err
>&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } >/dev
/null
; then
22581 if test -s conftest.err
; then
22582 ac_cpp_err
=$ac_c_preproc_warn_flag
22583 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22590 if test -z "$ac_cpp_err"; then
22591 ac_header_preproc
=yes
22593 echo "$as_me: failed program was:" >&5
22594 sed 's/^/| /' conftest.
$ac_ext >&5
22596 ac_header_preproc
=no
22598 rm -f conftest.err conftest.
$ac_ext
22599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22600 echo "${ECHO_T}$ac_header_preproc" >&6
22602 # So? What about this header?
22603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22605 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
22606 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22607 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
22608 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
22609 ac_header_preproc
=yes
22612 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
22613 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
22614 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
22615 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
22616 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
22617 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
22618 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
22619 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
22620 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
22621 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
22622 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
22623 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
22626 ## ------------------------------------------ ##
22627 ## Report this to the AC_PACKAGE_NAME lists. ##
22628 ## ------------------------------------------ ##
22631 sed "s/^/$as_me: WARNING: /" >&2
22634 echo "$as_me:$LINENO: checking for tk.h" >&5
22635 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
22636 if test "${ac_cv_header_tk_h+set}" = set; then
22637 echo $ECHO_N "(cached) $ECHO_C" >&6
22639 ac_cv_header_tk_h
=$ac_header_preproc
22641 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
22642 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
22645 if test $ac_cv_header_tk_h = yes; then
22646 ac_cv_c_tkh
=installed
22656 if test x
"${ac_cv_c_tkh}" != x
; then
22658 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
22659 echo "$as_me:$LINENO: result: is installed" >&5
22660 echo "${ECHO_T}is installed" >&6
22663 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
22664 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
22665 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
22666 TKHDIR
="-I${ac_cv_c_tkh}"
22669 TKHDIR
="# no Tk directory found"
22670 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
22671 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
22678 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
22679 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
22680 if test x
"${ac_cv_c_itclh}" = x
; then
22681 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
22682 if test -f $i/generic
/itcl.h
; then
22683 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
22688 if test x
"${ac_cv_c_itclh}" = x
; then
22689 ITCLHDIR
="# no Itcl private headers found"
22690 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
22691 echo "$as_me: error: Can't find Itcl private headers" >&2;}
22692 { (exit 1); exit 1; }; }
22694 if test x
"${ac_cv_c_itclh}" != x
; then
22695 ITCLHDIR
="-I${ac_cv_c_itclh}"
22697 # should always be here
22698 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
22703 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
22704 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
22705 if test x
"${ac_cv_c_itkh}" = x
; then
22706 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
22707 if test -f $i/generic
/itk.h
; then
22708 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
22713 if test x
"${ac_cv_c_itkh}" = x
; then
22714 ITKHDIR
="# no Itk private headers found"
22715 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
22716 echo "$as_me: error: Can't find Itk private headers" >&2;}
22717 { (exit 1); exit 1; }; }
22719 if test x
"${ac_cv_c_itkh}" != x
; then
22720 ITKHDIR
="-I${ac_cv_c_itkh}"
22722 # should always be here
22723 # ITKLIB="../itcl/itk/unix/libitk.a"
22729 # now look for Tk library stuff
22731 tkdir
="../tk/${configdir}/"
22733 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
22735 # now look for Itcl library stuff
22739 # Ok, lets find the itcl configuration
22740 # First, look for one uninstalled.
22741 # the alternative search directory is invoked by --with-itclconfig
22744 if test x
"${no_itcl}" = x
; then
22745 # we reset no_itcl in case something fails here
22748 # Check whether --with-itclconfig or --without-itclconfig was given.
22749 if test "${with_itclconfig+set}" = set; then
22750 withval
="$with_itclconfig"
22751 with_itclconfig
=${withval}
22753 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
22754 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
22755 if test "${ac_cv_c_itclconfig+set}" = set; then
22756 echo $ECHO_N "(cached) $ECHO_C" >&6
22760 # First check to see if --with-itclconfig was specified.
22761 if test x
"${with_itclconfig}" != x
; then
22762 if test -f "${with_itclconfig}/itclConfig.sh" ; then
22763 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
22765 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
22766 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
22767 { (exit 1); exit 1; }; }
22771 # then check for a private Itcl library
22772 if test x
"${ac_cv_c_itclconfig}" = x
; then
22775 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
22777 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
22779 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
22780 if test -f "$i/itclConfig.sh" ; then
22781 ac_cv_c_itclconfig
=`(cd $i; pwd)`
22786 # check in a few common install locations
22787 if test x
"${ac_cv_c_itclconfig}" = x
; then
22788 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22789 if test -f "$i/itclConfig.sh" ; then
22790 ac_cv_c_itclconfig
=`(cd $i; pwd)`
22795 # check in a few other private locations
22796 if test x
"${ac_cv_c_itclconfig}" = x
; then
22798 ${srcdir}/..
/itcl
/itcl \
22799 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
22800 if test -f "$i/itclConfig.sh" ; then
22801 ac_cv_c_itclconfig
=`(cd $i; pwd)`
22809 if test x
"${ac_cv_c_itclconfig}" = x
; then
22810 ITCLCONFIG
="# no Itcl configs found"
22811 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
22812 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
22815 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
22816 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
22817 echo "${ECHO_T}found $ITCLCONFIG" >&6
22821 if test -z "${no_itcl}"; then
22823 if test -f "$ITCLCONFIG" ; then
22838 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
22839 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
22843 # now look for Itk library stuff
22846 # Ok, lets find the itk configuration
22847 # First, look for one uninstalled.
22848 # the alternative search directory is invoked by --with-itkconfig
22851 if test x
"${no_itk}" = x
; then
22852 # we reset no_itk in case something fails here
22855 # Check whether --with-itkconfig or --without-itkconfig was given.
22856 if test "${with_itkconfig+set}" = set; then
22857 withval
="$with_itkconfig"
22858 with_itkconfig
=${withval}
22860 echo "$as_me:$LINENO: checking for Itk configuration" >&5
22861 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
22862 if test "${ac_cv_c_itkconfig+set}" = set; then
22863 echo $ECHO_N "(cached) $ECHO_C" >&6
22867 # First check to see if --with-itkconfig was specified.
22868 if test x
"${with_itkconfig}" != x
; then
22869 if test -f "${with_itkconfig}/itkConfig.sh" ; then
22870 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
22872 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
22873 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
22874 { (exit 1); exit 1; }; }
22878 # then check for a private Itk library
22879 if test x
"${ac_cv_c_itkconfig}" = x
; then
22882 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
22884 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
22886 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
22887 if test -f "$i/itkConfig.sh" ; then
22888 ac_cv_c_itkconfig
=`(cd $i; pwd)`
22893 # check in a few common install locations
22894 if test x
"${ac_cv_c_itkconfig}" = x
; then
22895 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22896 if test -f "$i/itkConfig.sh" ; then
22897 ac_cv_c_itkconfig
=`(cd $i; pwd)`
22902 # check in a few other private locations
22903 if test x
"${ac_cv_c_itkconfig}" = x
; then
22905 ${srcdir}/..
/itcl
/itk \
22906 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
22907 if test -f "$i/itkConfig.sh" ; then
22908 ac_cv_c_itkconfig
=`(cd $i; pwd)`
22916 if test x
"${ac_cv_c_itkconfig}" = x
; then
22917 ITKCONFIG
="# no Itk configs found"
22918 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
22919 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
22922 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
22923 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
22924 echo "${ECHO_T}found $ITKCONFIG" >&6
22929 if test -z "${no_itcl}"; then
22931 if test -f "$ITKCONFIG" ; then
22946 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
22947 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
22950 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
22952 # Include some libraries that Tcl and Tk want.
22953 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
22954 # Yes, the ordering seems wrong here. But it isn't.
22955 # TK_LIBS is the list of libraries that need to be linked
22956 # after Tcl/Tk. Note that this isn't put into LIBS. If it
22957 # were in LIBS then any link tests after this point would
22958 # try to include things like `$(LIBGUI)', which wouldn't work.
22959 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
22961 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
22962 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
22963 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
22964 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
22965 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
22966 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
22967 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
22969 if test x
$gdb_cv_os_cygwin = xyes
; then
22970 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
22971 WIN32LDAPP
="-Wl,--subsystem,console"
22972 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
22979 subdirs
="$subdirs gdbtk"
22996 echo "$as_me:$LINENO: checking for X" >&5
22997 echo $ECHO_N "checking for X... $ECHO_C" >&6
23000 # Check whether --with-x or --without-x was given.
23001 if test "${with_x+set}" = set; then
23005 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23006 if test "x$with_x" = xno
; then
23007 # The user explicitly disabled X.
23010 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23011 # Both variables are already set.
23014 if test "${ac_cv_have_x+set}" = set; then
23015 echo $ECHO_N "(cached) $ECHO_C" >&6
23017 # One or both of the vars are not set, and there is no cached value.
23018 ac_x_includes
=no ac_x_libraries
=no
23019 rm -fr conftest.dir
23020 if mkdir conftest.dir
; then
23022 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23023 cat >Imakefile
<<'_ACEOF'
23025 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23027 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23028 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23029 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23030 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23031 for ac_extension
in a so sl
; do
23032 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23033 test -f $ac_im_libdir/libX11.
$ac_extension; then
23034 ac_im_usrlibdir
=$ac_im_libdir; break
23037 # Screen out bogus values from the imake configuration. They are
23038 # bogus both because they are the default anyway, and because
23039 # using them would break gcc on systems where it needs fixed includes.
23040 case $ac_im_incroot in
23042 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23044 case $ac_im_usrlibdir in
23045 /usr
/lib |
/lib
) ;;
23046 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23050 rm -fr conftest.dir
23053 # Standard set of common directories for X headers.
23054 # Check X11 before X11Rn because it is often a symlink to the current release.
23066 /usr/local/X11/include
23067 /usr/local/X11R6/include
23068 /usr/local/X11R5/include
23069 /usr/local/X11R4/include
23071 /usr/local/include/X11
23072 /usr/local/include/X11R6
23073 /usr/local/include/X11R5
23074 /usr/local/include/X11R4
23078 /usr/XFree86/include/X11
23082 /usr/unsupported/include
23083 /usr/athena/include
23084 /usr/local/x11r5/include
23085 /usr/lpp/Xamples/include
23087 /usr/openwin/include
23088 /usr/openwin/share/include'
23090 if test "$ac_x_includes" = no
; then
23091 # Guess where to find include files, by looking for Intrinsic.h.
23092 # First, try using that file with no special directory specified.
23093 cat >conftest.
$ac_ext <<_ACEOF
23096 cat confdefs.h
>>conftest.
$ac_ext
23097 cat >>conftest.
$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23099 #include <X11/Intrinsic.h>
23101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23104 grep -v '^ *+' conftest.er1
>conftest.err
23106 cat conftest.err
>&5
23107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23108 (exit $ac_status); } >/dev
/null
; then
23109 if test -s conftest.err
; then
23110 ac_cpp_err
=$ac_c_preproc_warn_flag
23111 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23118 if test -z "$ac_cpp_err"; then
23119 # We can compile using X headers with no special include directory.
23122 echo "$as_me: failed program was:" >&5
23123 sed 's/^/| /' conftest.
$ac_ext >&5
23125 for ac_dir
in $ac_x_header_dirs; do
23126 if test -r "$ac_dir/X11/Intrinsic.h"; then
23127 ac_x_includes
=$ac_dir
23132 rm -f conftest.err conftest.
$ac_ext
23133 fi # $ac_x_includes = no
23135 if test "$ac_x_libraries" = no
; then
23136 # Check for the libraries.
23137 # See if we find them without any special options.
23138 # Don't add to $LIBS permanently.
23141 cat >conftest.
$ac_ext <<_ACEOF
23144 cat confdefs.h
>>conftest.
$ac_ext
23145 cat >>conftest.
$ac_ext <<_ACEOF
23146 /* end confdefs.h. */
23147 #include <X11/Intrinsic.h>
23156 rm -f conftest.
$ac_objext conftest
$ac_exeext
23157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23158 (eval $ac_link) 2>conftest.er1
23160 grep -v '^ *+' conftest.er1
>conftest.err
23162 cat conftest.err
>&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } &&
23165 { ac_try
='test -z "$ac_c_werror_flag"
23166 || test ! -s conftest.err'
23167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23168 (eval $ac_try) 2>&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); }; } &&
23172 { ac_try
='test -s conftest$ac_exeext'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; }; then
23179 # We can link X programs with no special library path.
23182 echo "$as_me: failed program was:" >&5
23183 sed 's/^/| /' conftest.
$ac_ext >&5
23186 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23188 # Don't even attempt the hair of trying to link an X program!
23189 for ac_extension
in a so sl
; do
23190 if test -r $ac_dir/libXt.
$ac_extension; then
23191 ac_x_libraries
=$ac_dir
23197 rm -f conftest.err conftest.
$ac_objext \
23198 conftest
$ac_exeext conftest.
$ac_ext
23199 fi # $ac_x_libraries = no
23201 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
23202 # Didn't find X anywhere. Cache the known absence of X.
23203 ac_cv_have_x
="have_x=no"
23205 # Record where we found X for the cache.
23206 ac_cv_have_x
="have_x=yes \
23207 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23212 eval "$ac_cv_have_x"
23215 if test "$have_x" != yes; then
23216 echo "$as_me:$LINENO: result: $have_x" >&5
23217 echo "${ECHO_T}$have_x" >&6
23220 # If each of the values was on the command line, it overrides each guess.
23221 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23222 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23223 # Update the cache value to reflect the command line values.
23224 ac_cv_have_x
="have_x=yes \
23225 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23226 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23227 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23231 # Check whether we should enable the TUI, but only do so if we really
23233 if test x
"$enable_tui" = xyes
; then
23234 if test -d $srcdir/tui
; then
23235 if test "$ac_cv_search_waddstr" != no
; then
23236 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
23237 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
23238 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
23239 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
23240 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
23241 CONFIG_ALL
="${CONFIG_ALL} all-tui"
23242 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
23243 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
23244 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
23246 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
23247 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
23252 # Unlike the sim directory, whether a simulator is linked is controlled by
23253 # presence of a SIM= and a SIM_OBS= definition in the target '.mt' file.
23254 # This code just checks for a few cases where we'd like to ignore those
23255 # definitions, even when they're present in the '.mt' file. These cases
23256 # are when --disable-sim is specified, or if the simulator directory is
23257 # not part of the source tree.
23259 # Check whether --enable-sim or --disable-sim was given.
23260 if test "${enable_sim+set}" = set; then
23261 enableval
="$enable_sim"
23262 echo "enable_sim = $enable_sim";
23263 echo "enableval = ${enableval}";
23264 case "${enableval}" in
23265 yes) ignore_sim
=false
;;
23266 no
) ignore_sim
=true
;;
23267 *) ignore_sim
=false
;;
23273 if test ! -d "${srcdir}/../sim"; then
23277 if test "${ignore_sim}" = "true"; then
23279 IGNORE_SIM_OBS
="SIM_OBS="
23284 cat >>confdefs.h
<<\_ACEOF
23303 # List of host floatformats.
23305 cat >>confdefs.h
<<_ACEOF
23306 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
23310 cat >>confdefs.h
<<_ACEOF
23311 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
23315 cat >>confdefs.h
<<_ACEOF
23316 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
23320 # target_subdir is used by the testsuite to find the target libraries.
23322 if test "${host}" != "${target}"; then
23323 target_subdir
="${target_alias}/"
23328 if test "${gdb_native}" = "yes"; then
23329 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
23330 if test ! -f ${host_makefile_frag}; then
23331 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
23332 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
23333 { (exit 1); exit 1; }; }
23335 frags
="$frags $host_makefile_frag"
23337 host_makefile_frag
=/dev
/null
23340 target_makefile_frag
=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
23341 if test ! -f ${target_makefile_frag}; then
23342 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support target ${target}\"" >&5
23343 echo "$as_me: error: \"*** Gdb does not support target ${target}\"" >&2;}
23344 { (exit 1); exit 1; }; }
23346 frags
="$frags $target_makefile_frag"
23353 s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
23354 ' ${host_makefile_frag}`
23356 targetfile
=`sed -n '
23357 s/^[ ]*DEPRECATED_TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
23358 ' ${target_makefile_frag}`
23360 if test "${gdb_native}" = "yes"; then
23361 # We pick this up from the host configuration file (.mh) because we
23362 # do not have a native configuration Makefile fragment.
23363 nativefile
=`sed -n '
23364 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
23365 ' ${host_makefile_frag}`
23369 if test x
"${gdb_osabi}" != x
; then
23371 cat >>confdefs.h
<<_ACEOF
23372 #define GDB_OSABI_DEFAULT $gdb_osabi
23377 # Enable multi-ice-gdb-server.
23378 # Check whether --enable-multi-ice or --disable-multi-ice was given.
23379 if test "${enable_multi_ice+set}" = set; then
23380 enableval
="$enable_multi_ice"
23384 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
23385 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
23386 { (exit 1); exit 1; }; } ;;
23389 if test "x$enable_multi_ice" = xyes
; then
23392 subdirs
="$subdirs multi-ice"
23396 # We only build gdbserver automatically in a native configuration.
23397 if test "$gdb_native" = "yes"; then
23398 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
23399 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
23400 if test "x$build_gdbserver" = xyes
; then
23401 echo "$as_me:$LINENO: result: yes" >&5
23402 echo "${ECHO_T}yes" >&6
23405 subdirs
="$subdirs gdbserver"
23408 echo "$as_me:$LINENO: result: no" >&5
23409 echo "${ECHO_T}no" >&6
23413 # If hostfile (XM_FILE) and/or targetfile (DEPRECATED_TM_FILE) and/or
23414 # nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
23415 # to an empty version.
23422 if test "${hostfile}" != ""; then
23424 case "${hostfile}" in
23425 xm-
*.h
) GDB_XM_FILE
="config/${gdb_host_cpu}/${hostfile}" ;;
23426 * ) GDB_XM_FILE
="${hostfile}"
23428 files
="${files} ${GDB_XM_FILE}"
23429 links
="${links} xm.h"
23431 cat >>confdefs.h
<<_ACEOF
23432 #define GDB_XM_FILE "${GDB_XM_FILE}"
23440 if test "${targetfile}" != ""; then
23442 case "${targetfile}" in
23443 tm-
*.h
) GDB_TM_FILE
="config/${gdb_target_cpu}/${targetfile}" ;;
23444 * ) GDB_TM_FILE
="${targetfile}"
23446 files
="${files} ${GDB_TM_FILE}"
23447 links
="${links} tm.h"
23449 cat >>confdefs.h
<<_ACEOF
23450 #define GDB_TM_FILE "${GDB_TM_FILE}"
23458 if test "${nativefile}" != ""; then
23460 case "${nativefile}" in
23461 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
23462 * ) GDB_NM_FILE
="${nativefile}"
23464 files
="${files} ${GDB_NM_FILE}"
23465 links
="${links} nm.h"
23467 cat >>confdefs.h
<<_ACEOF
23468 #define GDB_NM_FILE "${GDB_NM_FILE}"
23474 ac_sources
="$files"
23476 while test -n "$ac_sources"; do
23477 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
23478 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
23479 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
23481 ac_config_links
="$ac_config_links $ac_config_links_1"
23488 cat >>confdefs.h
<<\_ACEOF
23489 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
23496 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
23497 if test "${with_libiconv_prefix+set}" = set; then
23498 withval
="$with_libiconv_prefix"
23500 for dir
in `echo "$withval" | tr : ' '`; do
23501 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
23502 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
23507 echo "$as_me:$LINENO: checking for iconv" >&5
23508 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
23509 if test "${am_cv_func_iconv+set}" = set; then
23510 echo $ECHO_N "(cached) $ECHO_C" >&6
23513 am_cv_func_iconv
="no, consider installing GNU libiconv"
23515 cat >conftest.
$ac_ext <<_ACEOF
23518 cat confdefs.h
>>conftest.
$ac_ext
23519 cat >>conftest.
$ac_ext <<_ACEOF
23520 /* end confdefs.h. */
23521 #include <stdlib.h>
23526 iconv_t cd = iconv_open("","");
23527 iconv(cd,NULL,NULL,NULL,NULL);
23533 rm -f conftest.
$ac_objext conftest
$ac_exeext
23534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23535 (eval $ac_link) 2>conftest.er1
23537 grep -v '^ *+' conftest.er1
>conftest.err
23539 cat conftest.err
>&5
23540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); } &&
23542 { ac_try
='test -z "$ac_c_werror_flag"
23543 || test ! -s conftest.err'
23544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23545 (eval $ac_try) 2>&5
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); }; } &&
23549 { ac_try
='test -s conftest$ac_exeext'
23550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23551 (eval $ac_try) 2>&5
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); }; }; then
23555 am_cv_func_iconv
=yes
23557 echo "$as_me: failed program was:" >&5
23558 sed 's/^/| /' conftest.
$ac_ext >&5
23561 rm -f conftest.err conftest.
$ac_objext \
23562 conftest
$ac_exeext conftest.
$ac_ext
23563 if test "$am_cv_func_iconv" != yes; then
23564 am_save_LIBS
="$LIBS"
23565 LIBS
="$LIBS -liconv"
23566 cat >conftest.
$ac_ext <<_ACEOF
23569 cat confdefs.h
>>conftest.
$ac_ext
23570 cat >>conftest.
$ac_ext <<_ACEOF
23571 /* end confdefs.h. */
23572 #include <stdlib.h>
23577 iconv_t cd = iconv_open("","");
23578 iconv(cd,NULL,NULL,NULL,NULL);
23584 rm -f conftest.
$ac_objext conftest
$ac_exeext
23585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23586 (eval $ac_link) 2>conftest.er1
23588 grep -v '^ *+' conftest.er1
>conftest.err
23590 cat conftest.err
>&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); } &&
23593 { ac_try
='test -z "$ac_c_werror_flag"
23594 || test ! -s conftest.err'
23595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596 (eval $ac_try) 2>&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; } &&
23600 { ac_try
='test -s conftest$ac_exeext'
23601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23602 (eval $ac_try) 2>&5
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); }; }; then
23606 am_cv_lib_iconv
=yes
23607 am_cv_func_iconv
=yes
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.
$ac_ext >&5
23613 rm -f conftest.err conftest.
$ac_objext \
23614 conftest
$ac_exeext conftest.
$ac_ext
23615 LIBS
="$am_save_LIBS"
23619 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
23620 echo "${ECHO_T}$am_cv_func_iconv" >&6
23621 if test "$am_cv_func_iconv" = yes; then
23623 cat >>confdefs.h
<<\_ACEOF
23624 #define HAVE_ICONV 1
23627 echo "$as_me:$LINENO: checking for iconv declaration" >&5
23628 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
23629 if test "${am_cv_proto_iconv+set}" = set; then
23630 echo $ECHO_N "(cached) $ECHO_C" >&6
23633 cat >conftest.
$ac_ext <<_ACEOF
23636 cat confdefs.h
>>conftest.
$ac_ext
23637 cat >>conftest.
$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23640 #include <stdlib.h>
23646 #if defined(__STDC__) || defined(__cplusplus)
23647 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
23660 rm -f conftest.
$ac_objext
23661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23662 (eval $ac_compile) 2>conftest.er1
23664 grep -v '^ *+' conftest.er1
>conftest.err
23666 cat conftest.err
>&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); } &&
23669 { ac_try
='test -z "$ac_c_werror_flag"
23670 || test ! -s conftest.err'
23671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23672 (eval $ac_try) 2>&5
23674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675 (exit $ac_status); }; } &&
23676 { ac_try
='test -s conftest.$ac_objext'
23677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23678 (eval $ac_try) 2>&5
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); }; }; then
23682 am_cv_proto_iconv_arg1
=""
23684 echo "$as_me: failed program was:" >&5
23685 sed 's/^/| /' conftest.
$ac_ext >&5
23687 am_cv_proto_iconv_arg1
="const"
23689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23690 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);"
23693 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
23694 echo "$as_me:$LINENO: result: ${ac_t:-
23695 }$am_cv_proto_iconv" >&5
23696 echo "${ECHO_T}${ac_t:-
23697 }$am_cv_proto_iconv" >&6
23699 cat >>confdefs.h
<<_ACEOF
23700 #define ICONV_CONST $am_cv_proto_iconv_arg1
23705 if test "$am_cv_lib_iconv" = yes; then
23711 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in"
23712 ac_config_commands
="$ac_config_commands default"
23713 cat >confcache
<<\_ACEOF
23714 # This file is a shell script that caches the results of configure
23715 # tests run on this system so they can be shared between configure
23716 # scripts and configure runs, see configure's option --config-cache.
23717 # It is not useful on other systems. If it contains results you don't
23718 # want to keep, you may remove or edit it.
23720 # config.status only pays attention to the cache file if you give it
23721 # the --recheck option to rerun configure.
23723 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23724 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23725 # following values.
23729 # The following way of writing the cache mishandles newlines in values,
23730 # but we know of no workaround that is simple, portable, and efficient.
23731 # So, don't put newlines in cache variables' values.
23732 # Ultrix sh set writes to stderr and can't be redirected directly,
23733 # and sets the high bit in the cache file unless we assign to the vars.
23736 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23738 # `set' does not quote correctly, so add quotes (double-quote
23739 # substitution turns \\\\ into \\, and sed turns \\ into \).
23742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23745 # `set' quotes correctly as required by POSIX, so do not add quotes.
23747 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23756 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23758 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23759 if test -w $cache_file; then
23760 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23761 cat confcache
>$cache_file
23763 echo "not updating unwritable cache $cache_file"
23768 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23769 # Let make expand exec_prefix.
23770 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23772 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23773 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23774 # trailing colons and then remove the whole line if VPATH becomes empty
23775 # (actually we leave an empty line to preserve line numbers).
23776 if test "x$srcdir" = x.
; then
23777 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23778 s/:*\$(srcdir):*/:/;
23779 s/:*\${srcdir}:*/:/;
23781 s/^\([^=]*=[ ]*\):*/\1/;
23787 DEFS
=-DHAVE_CONFIG_H
23791 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23792 # 1. Remove the extension, and $U if already installed.
23793 ac_i
=`echo "$ac_i" |
23794 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23796 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
23797 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
23799 LIBOBJS
=$ac_libobjs
23801 LTLIBOBJS
=$ac_ltlibobjs
23804 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23805 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23806 Usually this means the macro was only invoked conditionally." >&5
23807 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23808 Usually this means the macro was only invoked conditionally." >&2;}
23809 { (exit 1); exit 1; }; }
23812 : ${CONFIG_STATUS=./config.status}
23813 ac_clean_files_save
=$ac_clean_files
23814 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23815 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23816 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23817 cat >$CONFIG_STATUS <<_ACEOF
23819 # Generated by $as_me.
23820 # Run this file to recreate the current configuration.
23821 # Compiler output produced by configure, useful for debugging
23822 # configure, is in config.log if it exists.
23825 ac_cs_recheck=false
23827 SHELL=\${CONFIG_SHELL-$SHELL}
23830 cat >>$CONFIG_STATUS <<\_ACEOF
23831 ## --------------------- ##
23832 ## M4sh Initialization. ##
23833 ## --------------------- ##
23835 # Be Bourne compatible
23836 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23839 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23840 # is contrary to our usage. Disable this feature.
23841 alias -g '${1+"$@"}'='"$@"'
23842 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
23845 DUALCASE
=1; export DUALCASE
# for MKS sh
23847 # Support unset when possible.
23848 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23855 # Work around bugs in pre-3.0 UWIN ksh.
23856 $as_unset ENV MAIL MAILPATH
23863 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23864 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23865 LC_TELEPHONE LC_TIME
23867 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23868 eval $as_var=C
; export $as_var
23874 # Required to use basename.
23875 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23881 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
23882 as_basename
=basename
23888 # Name of the executable.
23889 as_me
=`$as_basename "$0" ||
23890 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23891 X"$0" : 'X\(//\)$' \| \
23892 X"$0" : 'X\(/\)$' \| \
23893 . : '\(.\)' 2>/dev/null ||
23895 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23896 /^X\/\(\/\/\)$/{ s//\1/; q; }
23897 /^X\/\(\/\).*/{ s//\1/; q; }
23901 # PATH needs CR, and LINENO needs CR and PATH.
23902 # Avoid depending upon Character Ranges.
23903 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23904 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23905 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23906 as_cr_digits
='0123456789'
23907 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23909 # The user is always right.
23910 if test "${PATH_SEPARATOR+set}" != set; then
23911 echo "#! /bin/sh" >conf$$.sh
23912 echo "exit 0" >>conf$$.sh
23914 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23923 as_lineno_1
=$LINENO
23924 as_lineno_2
=$LINENO
23925 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
23926 test "x$as_lineno_1" != "x$as_lineno_2" &&
23927 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
23928 # Find who we are. Look in the path if we contain no path at all
23931 *[\\/]* ) as_myself
=$0 ;;
23932 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23933 for as_dir
in $PATH
23936 test -z "$as_dir" && as_dir
=.
23937 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23942 # We did not find ourselves, most probably we were run as `sh COMMAND'
23943 # in which case we are not to be found in the path.
23944 if test "x$as_myself" = x
; then
23947 if test ! -f "$as_myself"; then
23948 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23949 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23950 { (exit 1); exit 1; }; }
23952 case $CONFIG_SHELL in
23954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23955 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
23958 test -z "$as_dir" && as_dir
=.
23959 for as_base
in sh bash ksh sh5
; do
23962 if ("$as_dir/$as_base" -c '
23963 as_lineno_1=$LINENO
23964 as_lineno_2=$LINENO
23965 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23966 test "x$as_lineno_1" != "x$as_lineno_2" &&
23967 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
23968 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
23969 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
23970 CONFIG_SHELL
=$as_dir/$as_base
23971 export CONFIG_SHELL
23972 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23980 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23981 # uniformly replaced by the line number. The first 'sed' inserts a
23982 # line-number line before each line; the second 'sed' does the real
23983 # work. The second script uses 'N' to pair each line-number line
23984 # with the numbered line, and appends trailing '-' during
23985 # substitution so that $LINENO is not a special case at line end.
23986 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23987 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23988 sed '=' <$as_myself |
23993 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23996 s,^['$as_cr_digits']*\n,,
23997 ' >$as_me.lineno
&&
23998 chmod +x
$as_me.lineno ||
23999 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24000 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24001 { (exit 1); exit 1; }; }
24003 # Don't try to exec as it changes $[0], causing all sort of problems
24004 # (the dirname of $[0] is not the place where we might find the
24005 # original and so on. Autoconf is especially sensible to this).
24007 # Exit status is that of the last command.
24012 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24013 *c
*,-n*) ECHO_N
= ECHO_C
='
24015 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
24016 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
24019 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24025 rm -f conf$$ conf$$.exe conf$$.
file
24027 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24028 # We could just check for DJGPP; but this test a) works b) is more generic
24029 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24030 if test -f conf$$.exe
; then
24031 # Don't use ln at all; we don't have any links
24036 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24041 rm -f conf$$ conf$$.exe conf$$.
file
24043 if mkdir
-p .
2>/dev
/null
; then
24046 test -d .
/-p && rmdir .
/-p
24050 as_executable_p
="test -f"
24052 # Sed expression to map a string onto a valid CPP name.
24053 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24055 # Sed expression to map a string onto a valid variable name.
24056 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24060 # We need space, tab and new line, in precisely that order.
24070 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24071 # report actual input values of CONFIG_FILES etc. instead of their
24072 # values after options handling. Logging --version etc. is OK.
24076 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24077 ## Running $as_me. ##
24082 This file was extended by $as_me, which was
24083 generated by GNU Autoconf 2.59. Invocation command line was
24085 CONFIG_FILES = $CONFIG_FILES
24086 CONFIG_HEADERS = $CONFIG_HEADERS
24087 CONFIG_LINKS = $CONFIG_LINKS
24088 CONFIG_COMMANDS = $CONFIG_COMMANDS
24092 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24096 # Files that config.status was made for.
24097 if test -n "$ac_config_files"; then
24098 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24101 if test -n "$ac_config_headers"; then
24102 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24105 if test -n "$ac_config_links"; then
24106 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24109 if test -n "$ac_config_commands"; then
24110 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24113 cat >>$CONFIG_STATUS <<\_ACEOF
24116 \`$as_me' instantiates files from templates according to the
24117 current configuration.
24119 Usage: $0 [OPTIONS] [FILE]...
24121 -h, --help print this help, then exit
24122 -V, --version print version number, then exit
24123 -q, --quiet do not print progress messages
24124 -d, --debug don't remove temporary files
24125 --recheck update $as_me by reconfiguring in the same conditions
24126 --file=FILE[:TEMPLATE]
24127 instantiate the configuration file FILE
24128 --header=FILE[:TEMPLATE]
24129 instantiate the configuration header FILE
24131 Configuration files:
24134 Configuration headers:
24137 Configuration links:
24140 Configuration commands:
24143 Report bugs to <bug-autoconf@gnu.org>."
24146 cat >>$CONFIG_STATUS <<_ACEOF
24149 configured by $0, generated by GNU Autoconf 2.59,
24150 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24152 Copyright (C) 2003 Free Software Foundation, Inc.
24153 This config.status script is free software; the Free Software Foundation
24154 gives unlimited permission to copy, distribute and modify it."
24159 cat >>$CONFIG_STATUS <<\_ACEOF
24160 # If no file are specified by the user, then we need to provide default
24161 # value. By we need to know if files were specified by the user.
24167 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
24168 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
24176 *) # This is not an option, so the user has probably given explicit
24179 ac_need_defaults
=false
;;
24183 # Handling of the options.
24185 cat >>$CONFIG_STATUS <<\_ACEOF
24186 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24188 --version |
--vers* |
-V )
24189 echo "$ac_cs_version"; exit 0 ;;
24191 # Conflict between --help and --header
24192 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24193 Try \`$0 --help' for more information." >&5
24194 echo "$as_me: error: ambiguous option: $1
24195 Try \`$0 --help' for more information." >&2;}
24196 { (exit 1); exit 1; }; };;
24197 --help |
--hel |
-h )
24198 echo "$ac_cs_usage"; exit 0 ;;
24199 --debug |
--d* |
-d )
24201 --file |
--fil |
--fi |
--f )
24203 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24204 ac_need_defaults
=false
;;
24205 --header |
--heade |
--head |
--hea )
24207 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24208 ac_need_defaults
=false
;;
24209 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24210 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24213 # This is an error.
24214 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24215 Try \`$0 --help' for more information." >&5
24216 echo "$as_me: error: unrecognized option: $1
24217 Try \`$0 --help' for more information." >&2;}
24218 { (exit 1); exit 1; }; } ;;
24220 *) ac_config_targets
="$ac_config_targets $1" ;;
24226 ac_configure_extra_args
=
24228 if $ac_cs_silent; then
24230 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24234 cat >>$CONFIG_STATUS <<_ACEOF
24235 if \$ac_cs_recheck; then
24236 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24237 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24242 cat >>$CONFIG_STATUS <<_ACEOF
24244 # INIT-COMMANDS section.
24250 acx_cv_header_stdint="$acx_cv_header_stdint"
24251 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24252 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24253 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24254 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24255 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24256 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24257 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24258 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24259 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24260 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24261 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24262 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24263 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24266 gdb_host_cpu=$gdb_host_cpu
24267 gdb_target_cpu=$gdb_target_cpu
24268 nativefile=$nativefile
24275 cat >>$CONFIG_STATUS <<\_ACEOF
24276 for ac_config_target
in $ac_config_targets
24278 case "$ac_config_target" in
24279 # Handling of arguments.
24280 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24281 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
24282 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
24283 "gdb_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gdb_stdint.h" ;;
24284 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
24285 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
24286 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24287 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24288 { (exit 1); exit 1; }; };;
24292 # If the user did not use the arguments to specify the items to instantiate,
24293 # then the envvar interface is used. Set only those that are not.
24294 # We use the long form for the default assignment because of an extremely
24295 # bizarre bug on SunOS 4.1.3.
24296 if $ac_need_defaults; then
24297 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24298 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24299 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
24300 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24303 # Have a temporary directory for convenience. Make it in the build tree
24304 # simply because there is no reason to put it here, and in addition,
24305 # creating and moving files from /tmp can sometimes cause problems.
24306 # Create a temporary directory, and hook for its removal unless debugging.
24309 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24310 trap '{ (exit 1); exit 1; }' 1 2 13 15
24313 # Create a (secure) tmp directory for tmp files.
24316 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24317 test -n "$tmp" && test -d "$tmp"
24320 tmp
=.
/confstat$$
-$RANDOM
24321 (umask 077 && mkdir
$tmp)
24324 echo "$me: cannot create a temporary directory in ." >&2
24325 { (exit 1); exit 1; }
24330 cat >>$CONFIG_STATUS <<_ACEOF
24333 # CONFIG_FILES section.
24336 # No need to generate the scripts if there are no CONFIG_FILES.
24337 # This happens for instance when ./config.status config.h
24338 if test -n "\$CONFIG_FILES"; then
24339 # Protect against being on the right side of a sed subst in config.status.
24340 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24341 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24342 s,@SHELL@,$SHELL,;t t
24343 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24344 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24345 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24346 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24347 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24348 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24349 s,@exec_prefix@,$exec_prefix,;t t
24350 s,@prefix@,$prefix,;t t
24351 s,@program_transform_name@,$program_transform_name,;t t
24352 s,@bindir@,$bindir,;t t
24353 s,@sbindir@,$sbindir,;t t
24354 s,@libexecdir@,$libexecdir,;t t
24355 s,@datadir@,$datadir,;t t
24356 s,@sysconfdir@,$sysconfdir,;t t
24357 s,@sharedstatedir@,$sharedstatedir,;t t
24358 s,@localstatedir@,$localstatedir,;t t
24359 s,@libdir@,$libdir,;t t
24360 s,@includedir@,$includedir,;t t
24361 s,@oldincludedir@,$oldincludedir,;t t
24362 s,@infodir@,$infodir,;t t
24363 s,@mandir@,$mandir,;t t
24364 s,@build_alias@,$build_alias,;t t
24365 s,@host_alias@,$host_alias,;t t
24366 s,@target_alias@,$target_alias,;t t
24367 s,@DEFS@,$DEFS,;t t
24368 s,@ECHO_C@,$ECHO_C,;t t
24369 s,@ECHO_N@,$ECHO_N,;t t
24370 s,@ECHO_T@,$ECHO_T,;t t
24371 s,@LIBS@,$LIBS,;t t
24372 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24373 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24374 s,@MAINT@,$MAINT,;t t
24376 s,@CFLAGS@,$CFLAGS,;t t
24377 s,@LDFLAGS@,$LDFLAGS,;t t
24378 s,@CPPFLAGS@,$CPPFLAGS,;t t
24379 s,@ac_ct_CC@,$ac_ct_CC,;t t
24380 s,@EXEEXT@,$EXEEXT,;t t
24381 s,@OBJEXT@,$OBJEXT,;t t
24383 s,@EGREP@,$EGREP,;t t
24384 s,@build@,$build,;t t
24385 s,@build_cpu@,$build_cpu,;t t
24386 s,@build_vendor@,$build_vendor,;t t
24387 s,@build_os@,$build_os,;t t
24388 s,@host@,$host,;t t
24389 s,@host_cpu@,$host_cpu,;t t
24390 s,@host_vendor@,$host_vendor,;t t
24391 s,@host_os@,$host_os,;t t
24392 s,@target@,$target,;t t
24393 s,@target_cpu@,$target_cpu,;t t
24394 s,@target_vendor@,$target_vendor,;t t
24395 s,@target_os@,$target_os,;t t
24396 s,@USE_NLS@,$USE_NLS,;t t
24397 s,@LIBINTL@,$LIBINTL,;t t
24398 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
24399 s,@INCINTL@,$INCINTL,;t t
24400 s,@XGETTEXT@,$XGETTEXT,;t t
24401 s,@GMSGFMT@,$GMSGFMT,;t t
24402 s,@POSUB@,$POSUB,;t t
24403 s,@CATALOGS@,$CATALOGS,;t t
24404 s,@DATADIRNAME@,$DATADIRNAME,;t t
24405 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
24406 s,@GENCAT@,$GENCAT,;t t
24407 s,@CATOBJEXT@,$CATOBJEXT,;t t
24408 s,@localedir@,$localedir,;t t
24409 s,@PACKAGE@,$PACKAGE,;t t
24410 s,@subdirs@,$subdirs,;t t
24412 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24413 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24414 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24415 s,@LN_S@,$LN_S,;t t
24416 s,@RANLIB@,$RANLIB,;t t
24417 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24418 s,@YACC@,$YACC,;t t
24420 s,@ac_ct_AR@,$ac_ct_AR,;t t
24421 s,@DLLTOOL@,$DLLTOOL,;t t
24422 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
24423 s,@WINDRES@,$WINDRES,;t t
24424 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
24426 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
24427 s,@READLINE@,$READLINE,;t t
24428 s,@READLINE_DEPS@,$READLINE_DEPS,;t t
24429 s,@READLINE_CFLAGS@,$READLINE_CFLAGS,;t t
24430 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
24431 s,@LIBEXPAT@,$LIBEXPAT,;t t
24432 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
24433 s,@ALLOCA@,$ALLOCA,;t t
24434 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
24435 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
24436 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
24437 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
24438 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
24439 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
24440 s,@WIN32LIBS@,$WIN32LIBS,;t t
24441 s,@LIBGUI@,$LIBGUI,;t t
24442 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
24443 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
24444 s,@TCL_VERSION@,$TCL_VERSION,;t t
24445 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
24446 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
24447 s,@TCL_CC@,$TCL_CC,;t t
24448 s,@TCL_DEFS@,$TCL_DEFS,;t t
24449 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
24450 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
24451 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
24452 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
24453 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
24454 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
24455 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
24456 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
24457 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
24458 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
24459 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
24460 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
24461 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
24462 s,@TK_VERSION@,$TK_VERSION,;t t
24463 s,@TK_DEFS@,$TK_DEFS,;t t
24464 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
24465 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
24466 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
24467 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
24468 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
24469 s,@TCLHDIR@,$TCLHDIR,;t t
24470 s,@TKHDIR@,$TKHDIR,;t t
24471 s,@ITCLHDIR@,$ITCLHDIR,;t t
24472 s,@ITKHDIR@,$ITKHDIR,;t t
24473 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
24474 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
24475 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
24476 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
24477 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
24478 s,@ITK_VERSION@,$ITK_VERSION,;t t
24479 s,@ITK_DEFS@,$ITK_DEFS,;t t
24480 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
24481 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
24482 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
24483 s,@X_CFLAGS@,$X_CFLAGS,;t t
24484 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
24485 s,@X_LIBS@,$X_LIBS,;t t
24486 s,@TCL_DEPS@,$TCL_DEPS,;t t
24487 s,@TK_DEPS@,$TK_DEPS,;t t
24488 s,@ITCLLIB@,$ITCLLIB,;t t
24489 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
24490 s,@ITKLIB@,$ITKLIB,;t t
24491 s,@ITK_DEPS@,$ITK_DEPS,;t t
24492 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
24493 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
24494 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
24495 s,@IGNORE_SIM@,$IGNORE_SIM,;t t
24496 s,@IGNORE_SIM_OBS@,$IGNORE_SIM_OBS,;t t
24497 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
24498 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
24499 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
24500 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
24501 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
24502 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
24503 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
24504 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
24505 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
24506 s,@target_subdir@,$target_subdir,;t t
24507 s,@frags@,$frags,;t t
24508 s,@xm_h@,$xm_h,;t t
24509 s,@tm_h@,$tm_h,;t t
24510 s,@nm_h@,$nm_h,;t t
24511 s,@LIBICONV@,$LIBICONV,;t t
24512 s,@LIBOBJS@,$LIBOBJS,;t t
24513 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24514 /@host_makefile_frag@/r $host_makefile_frag
24515 s,@host_makefile_frag@,,;t t
24516 /@target_makefile_frag@/r $target_makefile_frag
24517 s,@target_makefile_frag@,,;t t
24522 cat >>$CONFIG_STATUS <<\_ACEOF
24523 # Split the substitutions into bite-sized pieces for seds with
24524 # small command number limits, like on Digital OSF/1 and HP-UX.
24525 ac_max_sed_lines
=48
24526 ac_sed_frag
=1 # Number of current file.
24527 ac_beg
=1 # First line for current file.
24528 ac_end
=$ac_max_sed_lines # Line after last line for current file.
24531 while $ac_more_lines; do
24532 if test $ac_beg -gt 1; then
24533 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24535 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24537 if test ! -s $tmp/subs.frag
; then
24538 ac_more_lines
=false
24540 # The purpose of the label and of the branching condition is to
24541 # speed up the sed processing (if there are no `@' at all, there
24542 # is no need to browse any of the substitutions).
24543 # These are the two extra sed commands mentioned above.
24545 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
24546 if test -z "$ac_sed_cmds"; then
24547 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
24549 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24551 ac_sed_frag
=`expr $ac_sed_frag + 1`
24553 ac_end
=`expr $ac_end + $ac_max_sed_lines`
24556 if test -z "$ac_sed_cmds"; then
24559 fi # test -n "$CONFIG_FILES"
24562 cat >>$CONFIG_STATUS <<\_ACEOF
24563 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
24564 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24566 - |
*:- |
*:-:* ) # input from stdin
24568 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24569 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24570 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24571 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24572 * ) ac_file_in
=$ac_file.
in ;;
24575 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24576 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24577 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24578 X"$ac_file" : 'X\(//\)[^/]' \| \
24579 X"$ac_file" : 'X\(//\)$' \| \
24580 X"$ac_file" : 'X\(/\)' \| \
24581 . : '\(.\)' 2>/dev/null ||
24583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24584 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24585 /^X\(\/\/\)$/{ s//\1/; q; }
24586 /^X\(\/\).*/{ s//\1/; q; }
24588 { if $as_mkdir_p; then
24593 while test ! -d "$as_dir"; do
24594 as_dirs
="$as_dir $as_dirs"
24595 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24596 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24597 X"$as_dir" : 'X\(//\)[^/]' \| \
24598 X"$as_dir" : 'X\(//\)$' \| \
24599 X"$as_dir" : 'X\(/\)' \| \
24600 . : '\(.\)' 2>/dev/null ||
24602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24603 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24604 /^X\(\/\/\)$/{ s//\1/; q; }
24605 /^X\(\/\).*/{ s//\1/; q; }
24608 test ! -n "$as_dirs" || mkdir
$as_dirs
24609 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24610 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24611 { (exit 1); exit 1; }; }; }
24615 if test "$ac_dir" != .
; then
24616 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24617 # A "../" for each directory in $ac_dir_suffix.
24618 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24620 ac_dir_suffix
= ac_top_builddir
=
24624 .
) # No --srcdir option. We are building in place.
24626 if test -z "$ac_top_builddir"; then
24629 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24631 [\\/]* | ?
:[\\/]* ) # Absolute path.
24632 ac_srcdir
=$srcdir$ac_dir_suffix;
24633 ac_top_srcdir
=$srcdir ;;
24634 *) # Relative path.
24635 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24636 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24639 # Do not use `cd foo && pwd` to compute absolute paths, because
24640 # the directories may not exist.
24642 .
) ac_abs_builddir
="$ac_dir";;
24645 .
) ac_abs_builddir
=`pwd`;;
24646 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24647 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24650 case $ac_abs_builddir in
24651 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24653 case ${ac_top_builddir}.
in
24654 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24655 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24656 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24659 case $ac_abs_builddir in
24660 .
) ac_abs_srcdir
=$ac_srcdir;;
24663 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24664 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24665 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24668 case $ac_abs_builddir in
24669 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24671 case $ac_top_srcdir in
24672 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24673 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24674 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24680 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24681 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
24684 if test x
"$ac_file" != x-
; then
24685 { echo "$as_me:$LINENO: creating $ac_file" >&5
24686 echo "$as_me: creating $ac_file" >&6;}
24689 # Let's still pretend it is `configure' which instantiates (i.e., don't
24690 # use $as_me), people would be surprised to read:
24691 # /* config.h. Generated by config.status. */
24692 if test x
"$ac_file" = x-
; then
24695 configure_input
="$ac_file. "
24697 configure_input
=$configure_input"Generated from `echo $ac_file_in |
24698 sed 's,.*/,,'` by configure."
24700 # First look for the input files in the build tree, otherwise in the
24702 ac_file_inputs
=`IFS=:
24703 for f in $ac_file_in; do
24705 -) echo $tmp/stdin ;;
24707 # Absolute (can't be DOS-style, as IFS=:)
24708 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24709 echo "$as_me: error: cannot find input file: $f" >&2;}
24710 { (exit 1); exit 1; }; }
24713 if test -f "$f"; then
24716 elif test -f "$srcdir/$f"; then
24721 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24722 echo "$as_me: error: cannot find input file: $f" >&2;}
24723 { (exit 1); exit 1; }; }
24726 done` ||
{ (exit 1); exit 1; }
24728 cat >>$CONFIG_STATUS <<_ACEOF
24732 cat >>$CONFIG_STATUS <<\_ACEOF
24734 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24735 s
,@configure_input@
,$configure_input,;t t
24736 s
,@srcdir@
,$ac_srcdir,;t t
24737 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
24738 s
,@top_srcdir@
,$ac_top_srcdir,;t t
24739 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
24740 s
,@builddir@
,$ac_builddir,;t t
24741 s
,@abs_builddir@
,$ac_abs_builddir,;t t
24742 s
,@top_builddir@
,$ac_top_builddir,;t t
24743 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
24744 s
,@INSTALL@
,$ac_INSTALL,;t t
24745 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24747 if test x"$ac_file" != x-; then
24748 mv $tmp/out $ac_file
24756 cat >>$CONFIG_STATUS <<\_ACEOF
24759 # CONFIG_HEADER section.
24762 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
24763 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24765 # ac_d sets the value in "#define NAME VALUE" lines.
24766 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24767 ac_dB
='[ ].*$,\1#\2'
24770 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24771 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24772 ac_uB
='$,\1#\2define\3'
24776 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
24777 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24779 - |
*:- |
*:-:* ) # input from stdin
24781 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24782 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24783 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24784 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24785 * ) ac_file_in
=$ac_file.
in ;;
24788 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
24789 echo "$as_me: creating $ac_file" >&6;}
24791 # First look for the input files in the build tree, otherwise in the
24793 ac_file_inputs
=`IFS=:
24794 for f in $ac_file_in; do
24796 -) echo $tmp/stdin ;;
24798 # Absolute (can't be DOS-style, as IFS=:)
24799 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24800 echo "$as_me: error: cannot find input file: $f" >&2;}
24801 { (exit 1); exit 1; }; }
24802 # Do quote $f, to prevent DOS paths from being IFS'd.
24805 if test -f "$f"; then
24808 elif test -f "$srcdir/$f"; then
24813 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24814 echo "$as_me: error: cannot find input file: $f" >&2;}
24815 { (exit 1); exit 1; }; }
24818 done` ||
{ (exit 1); exit 1; }
24819 # Remove the trailing spaces.
24820 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24824 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24825 # `conftest.undefs', that substitutes the proper values into
24826 # config.h.in to produce config.h. The first handles `#define'
24827 # templates, and the second `#undef' templates.
24828 # And first: Protect against being on the right side of a sed subst in
24829 # config.status. Protect against being in an unquoted here document
24830 # in config.status.
24831 rm -f conftest.defines conftest.undefs
24832 # Using a here document instead of a string reduces the quoting nightmare.
24833 # Putting comments in sed scripts is not portable.
24835 # `end' is used to avoid that the second main sed command (meant for
24836 # 0-ary CPP macros) applies to n-ary macro definitions.
24837 # See the Autoconf documentation for `clear'.
24838 cat >confdef2sed.
sed <<\_ACEOF
24843 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24845 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24848 # If some macros were called several times there might be several times
24849 # the same #defines, which is useless. Nevertheless, we may not want to
24850 # sort them, since we want the *last* AC-DEFINE to be honored.
24851 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24852 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24853 rm -f confdef2sed.sed
24855 # This sed command replaces #undef with comments. This is necessary, for
24856 # example, in the case of _POSIX_SOURCE, which is predefined and required
24857 # on some systems where configure will not decide to define it.
24858 cat >>conftest.undefs <<\_ACEOF
24859 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24862 # Break up conftest.defines because some shells have a limit on the size
24863 # of here documents, and old seds have small limits too (100 cmds).
24864 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24865 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24866 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24867 echo ' :' >>$CONFIG_STATUS
24868 rm -f conftest.tail
24869 while grep . conftest.defines >/dev/null
24871 # Write a limited-size here document to $tmp/defines.sed.
24872 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24873 # Speed up: don't consider the non `#define' lines.
24874 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24875 # Work around the forget-to-reset-the-flag bug.
24876 echo 't clr' >>$CONFIG_STATUS
24877 echo ': clr' >>$CONFIG_STATUS
24878 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
24880 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24882 mv $tmp/out $tmp/in
24884 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
24885 rm -f conftest.defines
24886 mv conftest.
tail conftest.defines
24888 rm -f conftest.defines
24889 echo ' fi # grep' >>$CONFIG_STATUS
24890 echo >>$CONFIG_STATUS
24892 # Break up conftest.undefs because some shells have a limit on the size
24893 # of here documents, and old seds have small limits too (100 cmds).
24894 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24895 rm -f conftest.
tail
24896 while grep . conftest.undefs
>/dev
/null
24898 # Write a limited-size here document to $tmp/undefs.sed.
24899 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24900 # Speed up: don't consider the non
`#undef'
24901 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24902 # Work around the forget-to-reset-the-flag bug.
24903 echo 't clr' >>$CONFIG_STATUS
24904 echo ': clr' >>$CONFIG_STATUS
24905 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24907 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24909 mv $tmp/out $tmp/in
24911 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24912 rm -f conftest.undefs
24913 mv conftest.tail conftest.undefs
24915 rm -f conftest.undefs
24917 cat >>$CONFIG_STATUS <<\_ACEOF
24918 # Let's still pretend it is `configure
' which instantiates (i.e., don't
24919 # use $as_me), people would be surprised to read:
24920 # /* config.h. Generated by config.status. */
24921 if test x
"$ac_file" = x-
; then
24922 echo "/* Generated by configure. */" >$tmp/config.h
24924 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24926 cat $tmp/in >>$tmp/config.h
24928 if test x
"$ac_file" != x-
; then
24929 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
24930 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24931 echo "$as_me: $ac_file is unchanged" >&6;}
24933 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24934 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24935 X"$ac_file" : 'X\(//\)[^/]' \| \
24936 X"$ac_file" : 'X\(//\)$' \| \
24937 X"$ac_file" : 'X\(/\)' \| \
24938 . : '\(.\)' 2>/dev/null ||
24940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24941 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24942 /^X\(\/\/\)$/{ s//\1/; q; }
24943 /^X\(\/\).*/{ s//\1/; q; }
24945 { if $as_mkdir_p; then
24950 while test ! -d "$as_dir"; do
24951 as_dirs
="$as_dir $as_dirs"
24952 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24953 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24954 X"$as_dir" : 'X\(//\)[^/]' \| \
24955 X"$as_dir" : 'X\(//\)$' \| \
24956 X"$as_dir" : 'X\(/\)' \| \
24957 . : '\(.\)' 2>/dev/null ||
24959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24960 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24961 /^X\(\/\/\)$/{ s//\1/; q; }
24962 /^X\(\/\).*/{ s//\1/; q; }
24965 test ! -n "$as_dirs" || mkdir
$as_dirs
24966 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24967 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24968 { (exit 1); exit 1; }; }; }
24971 mv $tmp/config.h
$ac_file
24975 rm -f $tmp/config.h
24979 cat >>$CONFIG_STATUS <<\_ACEOF
24982 # CONFIG_LINKS section.
24985 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
24986 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
24987 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24989 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
24990 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
24992 if test ! -r $srcdir/$ac_source; then
24993 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
24994 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
24995 { (exit 1); exit 1; }; }
24999 # Make relative symlinks.
25000 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
25001 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25002 X"$ac_dest" : 'X\(//\)[^/]' \| \
25003 X"$ac_dest" : 'X\(//\)$' \| \
25004 X"$ac_dest" : 'X\(/\)' \| \
25005 . : '\(.\)' 2>/dev/null ||
25007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25008 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25009 /^X\(\/\/\)$/{ s//\1/; q; }
25010 /^X\(\/\).*/{ s//\1/; q; }
25012 { if $as_mkdir_p; then
25013 mkdir
-p "$ac_dest_dir"
25015 as_dir
="$ac_dest_dir"
25017 while test ! -d "$as_dir"; do
25018 as_dirs
="$as_dir $as_dirs"
25019 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25020 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25021 X"$as_dir" : 'X\(//\)[^/]' \| \
25022 X"$as_dir" : 'X\(//\)$' \| \
25023 X"$as_dir" : 'X\(/\)' \| \
25024 . : '\(.\)' 2>/dev/null ||
25026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25028 /^X\(\/\/\)$/{ s//\1/; q; }
25029 /^X\(\/\).*/{ s//\1/; q; }
25032 test ! -n "$as_dirs" || mkdir
$as_dirs
25033 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
25034 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
25035 { (exit 1); exit 1; }; }; }
25039 if test "$ac_dest_dir" != .
; then
25040 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
25041 # A "../" for each directory in $ac_dir_suffix.
25042 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25044 ac_dir_suffix
= ac_top_builddir
=
25048 .
) # No --srcdir option. We are building in place.
25050 if test -z "$ac_top_builddir"; then
25053 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25055 [\\/]* | ?
:[\\/]* ) # Absolute path.
25056 ac_srcdir
=$srcdir$ac_dir_suffix;
25057 ac_top_srcdir
=$srcdir ;;
25058 *) # Relative path.
25059 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25060 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25063 # Do not use `cd foo && pwd` to compute absolute paths, because
25064 # the directories may not exist.
25066 .
) ac_abs_builddir
="$ac_dest_dir";;
25068 case "$ac_dest_dir" in
25069 .
) ac_abs_builddir
=`pwd`;;
25070 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
25071 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
25074 case $ac_abs_builddir in
25075 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25077 case ${ac_top_builddir}.
in
25078 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25079 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25080 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25083 case $ac_abs_builddir in
25084 .
) ac_abs_srcdir
=$ac_srcdir;;
25087 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25088 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25089 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25092 case $ac_abs_builddir in
25093 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25095 case $ac_top_srcdir in
25096 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25097 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25098 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25104 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
25105 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
25108 # Try a symlink, then a hard link, then a copy.
25109 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
25110 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
25111 cp -p $srcdir/$ac_source $ac_dest ||
25112 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
25113 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
25114 { (exit 1); exit 1; }; }
25117 cat >>$CONFIG_STATUS <<\_ACEOF
25120 # CONFIG_COMMANDS section.
25122 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
25123 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
25124 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25125 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
25126 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25127 X"$ac_dest" : 'X\(//\)[^/]' \| \
25128 X"$ac_dest" : 'X\(//\)$' \| \
25129 X"$ac_dest" : 'X\(/\)' \| \
25130 . : '\(.\)' 2>/dev/null ||
25132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25134 /^X\(\/\/\)$/{ s//\1/; q; }
25135 /^X\(\/\).*/{ s//\1/; q; }
25137 { if $as_mkdir_p; then
25142 while test ! -d "$as_dir"; do
25143 as_dirs
="$as_dir $as_dirs"
25144 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25145 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25146 X"$as_dir" : 'X\(//\)[^/]' \| \
25147 X"$as_dir" : 'X\(//\)$' \| \
25148 X"$as_dir" : 'X\(/\)' \| \
25149 . : '\(.\)' 2>/dev/null ||
25151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25152 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25153 /^X\(\/\/\)$/{ s//\1/; q; }
25154 /^X\(\/\).*/{ s//\1/; q; }
25157 test ! -n "$as_dirs" || mkdir
$as_dirs
25158 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25159 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25160 { (exit 1); exit 1; }; }; }
25164 if test "$ac_dir" != .
; then
25165 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25166 # A "../" for each directory in $ac_dir_suffix.
25167 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25169 ac_dir_suffix
= ac_top_builddir
=
25173 .
) # No --srcdir option. We are building in place.
25175 if test -z "$ac_top_builddir"; then
25178 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25180 [\\/]* | ?
:[\\/]* ) # Absolute path.
25181 ac_srcdir
=$srcdir$ac_dir_suffix;
25182 ac_top_srcdir
=$srcdir ;;
25183 *) # Relative path.
25184 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25185 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25188 # Do not use `cd foo && pwd` to compute absolute paths, because
25189 # the directories may not exist.
25191 .
) ac_abs_builddir
="$ac_dir";;
25194 .
) ac_abs_builddir
=`pwd`;;
25195 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25196 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25199 case $ac_abs_builddir in
25200 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25202 case ${ac_top_builddir}.
in
25203 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25204 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25205 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25208 case $ac_abs_builddir in
25209 .
) ac_abs_srcdir
=$ac_srcdir;;
25212 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25213 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25214 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25217 case $ac_abs_builddir in
25218 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25220 case $ac_top_srcdir in
25221 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25222 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25223 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25228 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25229 echo "$as_me: executing $ac_dest commands" >&6;}
25232 if test "$GCC" = yes; then
25233 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25235 echo "/* generated for $CC */" > tmp-stdint.h
25238 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25240 #ifndef GCC_GENERATED_STDINT_H
25241 #define GCC_GENERATED_STDINT_H 1
25243 #include <sys/types.h>
25246 if test "$acx_cv_header_stdint" != stdint.h
; then
25247 echo "#include <stddef.h>" >> tmp-stdint.h
25249 if test "$acx_cv_header_stdint" != stddef.h
; then
25250 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25253 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25254 /* glibc uses these symbols as guards to prevent redefinitions. */
25255 #ifdef __int8_t_defined
25260 #ifdef __uint32_t_defined
25266 # ----------------- done header, emit basic int types -------------
25267 if test "$acx_cv_header_stdint" = stddef.h
; then
25268 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25272 #ifndef __uint8_t_defined
25273 #define __uint8_t_defined
25274 typedef unsigned $acx_cv_type_int8_t uint8_t;
25280 #ifndef __uint16_t_defined
25281 #define __uint16_t_defined
25282 typedef unsigned $acx_cv_type_int16_t uint16_t;
25288 #ifndef __uint32_t_defined
25289 #define __uint32_t_defined
25290 typedef unsigned $acx_cv_type_int32_t uint32_t;
25296 #ifndef __int8_t_defined
25297 #define __int8_t_defined
25298 typedef $acx_cv_type_int8_t int8_t;
25304 #ifndef __int16_t_defined
25305 #define __int16_t_defined
25306 typedef $acx_cv_type_int16_t int16_t;
25312 #ifndef __int32_t_defined
25313 #define __int32_t_defined
25314 typedef $acx_cv_type_int32_t int32_t;
25318 elif test "$ac_cv_type_u_int32_t" = yes; then
25319 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25321 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25334 #ifndef __uint8_t_defined
25335 #define __uint8_t_defined
25336 typedef u_int8_t uint8_t;
25342 #ifndef __uint16_t_defined
25343 #define __uint16_t_defined
25344 typedef u_int16_t uint16_t;
25350 #ifndef __uint32_t_defined
25351 #define __uint32_t_defined
25352 typedef u_int32_t uint32_t;
25357 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25359 /* Some systems have guard macros to prevent redefinitions, define them. */
25381 # ------------- done basic int types, emit int64_t types ------------
25382 if test "$ac_cv_type_uint64_t" = yes; then
25383 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25385 /* system headers have good uint64_t and int64_t */
25393 elif test "$ac_cv_type_u_int64_t" = yes; then
25394 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25396 /* system headers have an u_int64_t (and int64_t) */
25402 #ifndef __uint64_t_defined
25403 #define __uint64_t_defined
25404 typedef u_int64_t uint64_t;
25408 elif test -n "$acx_cv_type_int64_t"; then
25409 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25411 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25414 typedef $acx_cv_type_int64_t int64_t;
25418 #ifndef __uint64_t_defined
25419 #define __uint64_t_defined
25420 typedef unsigned $acx_cv_type_int64_t uint64_t;
25425 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25427 /* some common heuristics for int64_t, using compiler-specific tests */
25428 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25431 #ifndef __int64_t_defined
25432 typedef long long int64_t;
25437 typedef unsigned long long uint64_t;
25440 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25441 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25442 does not implement __extension__. But that compiler doesn't define
25444 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25445 # define __extension__
25450 __extension__ typedef long long int64_t;
25454 __extension__ typedef unsigned long long uint64_t;
25457 #elif !defined __STRICT_ANSI__
25458 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25462 typedef __int64 int64_t;
25466 typedef unsigned __int64 uint64_t;
25468 # endif /* compiler */
25470 #endif /* ANSI version */
25474 # ------------- done int64_t types, emit intptr types ------------
25475 if test "$ac_cv_type_uintptr_t" != yes; then
25476 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25478 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25479 #ifndef __uintptr_t_defined
25480 typedef u$acx_cv_type_intptr_t uintptr_t;
25482 #ifndef __intptr_t_defined
25483 typedef $acx_cv_type_intptr_t intptr_t;
25488 # ------------- done intptr types, emit int_least types ------------
25489 if test "$ac_cv_type_int_least32_t" != yes; then
25490 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25492 /* Define int_least types */
25493 typedef int8_t int_least8_t;
25494 typedef int16_t int_least16_t;
25495 typedef int32_t int_least32_t;
25497 typedef int64_t int_least64_t;
25500 typedef uint8_t uint_least8_t;
25501 typedef uint16_t uint_least16_t;
25502 typedef uint32_t uint_least32_t;
25504 typedef uint64_t uint_least64_t;
25509 # ------------- done intptr types, emit int_fast types ------------
25510 if test "$ac_cv_type_int_fast32_t" != yes; then
25511 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25513 /* Define int_fast types. short is often slow */
25514 typedef int8_t int_fast8_t;
25515 typedef int int_fast16_t;
25516 typedef int32_t int_fast32_t;
25518 typedef int64_t int_fast64_t;
25521 typedef uint8_t uint_fast8_t;
25522 typedef unsigned int uint_fast16_t;
25523 typedef uint32_t uint_fast32_t;
25525 typedef uint64_t uint_fast64_t;
25530 if test "$ac_cv_type_uintmax_t" != yes; then
25531 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25533 /* Define intmax based on what we found */
25535 typedef int64_t intmax_t;
25537 typedef long intmax_t;
25540 typedef uint64_t uintmax_t;
25542 typedef unsigned long uintmax_t;
25547 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25549 #endif /* GCC_GENERATED_STDINT_H */
25552 if test -r gdb_stdint.h
&& cmp -s tmp-stdint.h gdb_stdint.h
; then
25555 mv -f tmp-stdint.h gdb_stdint.h
25561 sed -e '/^DEPRECATED_TM_FILE[ ]*=/s,^DEPRECATED_TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
25562 /^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
25563 /^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
25564 mv -f Makefile.tmp Makefile
25567 case x
$CONFIG_HEADERS in
25568 xconfig.h
:config.
in)
25576 cat >>$CONFIG_STATUS <<\_ACEOF
25578 { (exit 0); exit 0; }
25580 chmod +x
$CONFIG_STATUS
25581 ac_clean_files
=$ac_clean_files_save
25584 # configure is writing to config.log, and then calls config.status.
25585 # config.status does its own redirection, appending to config.log.
25586 # Unfortunately, on DOS this fails, as config.log is still kept open
25587 # by configure, so config.status won't be able to write to it; its
25588 # output is simply discarded. So we exec the FD to /dev/null,
25589 # effectively closing config.log, so it can be properly (re)opened and
25590 # appended to by config.status. When coming back to configure, we
25591 # need to make the FD available again.
25592 if test "$no_create" != yes; then
25594 ac_config_status_args
=
25595 test "$silent" = yes &&
25596 ac_config_status_args
="$ac_config_status_args --quiet"
25598 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25600 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25601 # would make configure fail if this is the last instruction.
25602 $ac_cs_success ||
{ (exit 1); exit 1; }
25606 # CONFIG_SUBDIRS section.
25608 if test "$no_recursion" != yes; then
25610 # Remove --cache-file and --srcdir arguments so they do not pile up.
25611 ac_sub_configure_args
=
25613 for ac_arg
in $ac_configure_args; do
25614 if test -n "$ac_prev"; then
25619 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
25620 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
25621 ac_prev
=cache_file
;;
25622 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
25623 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
25626 --config-cache |
-C)
25628 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
25630 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
25632 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
25634 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
25636 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
25640 # Always prepend --prefix to ensure using the same prefix
25641 # in subdir configurations.
25642 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
25645 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
25647 # Do not complain, so a configure script can configure whichever
25648 # parts of a large source tree are present.
25649 test -d $srcdir/$ac_dir ||
continue
25651 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
25652 echo "$as_me: configuring in $ac_dir" >&6;}
25653 { if $as_mkdir_p; then
25658 while test ! -d "$as_dir"; do
25659 as_dirs
="$as_dir $as_dirs"
25660 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25662 X"$as_dir" : 'X\(//\)[^/]' \| \
25663 X"$as_dir" : 'X\(//\)$' \| \
25664 X"$as_dir" : 'X\(/\)' \| \
25665 . : '\(.\)' 2>/dev/null ||
25667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25669 /^X\(\/\/\)$/{ s//\1/; q; }
25670 /^X\(\/\).*/{ s//\1/; q; }
25673 test ! -n "$as_dirs" || mkdir
$as_dirs
25674 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25675 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25676 { (exit 1); exit 1; }; }; }
25680 if test "$ac_dir" != .
; then
25681 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25682 # A "../" for each directory in $ac_dir_suffix.
25683 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25685 ac_dir_suffix
= ac_top_builddir
=
25689 .
) # No --srcdir option. We are building in place.
25691 if test -z "$ac_top_builddir"; then
25694 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25696 [\\/]* | ?
:[\\/]* ) # Absolute path.
25697 ac_srcdir
=$srcdir$ac_dir_suffix;
25698 ac_top_srcdir
=$srcdir ;;
25699 *) # Relative path.
25700 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25701 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25704 # Do not use `cd foo && pwd` to compute absolute paths, because
25705 # the directories may not exist.
25707 .
) ac_abs_builddir
="$ac_dir";;
25710 .
) ac_abs_builddir
=`pwd`;;
25711 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25712 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25715 case $ac_abs_builddir in
25716 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25718 case ${ac_top_builddir}.
in
25719 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25720 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25721 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25724 case $ac_abs_builddir in
25725 .
) ac_abs_srcdir
=$ac_srcdir;;
25728 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25729 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25730 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25733 case $ac_abs_builddir in
25734 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25736 case $ac_top_srcdir in
25737 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25738 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25739 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25746 # Check for guested configure; otherwise get Cygnus style configure.
25747 if test -f $ac_srcdir/configure.gnu
; then
25748 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
25749 elif test -f $ac_srcdir/configure
; then
25750 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
25751 elif test -f $ac_srcdir/configure.
in; then
25752 ac_sub_configure
=$ac_configure
25754 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
25755 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
25759 # The recursion is here.
25760 if test -n "$ac_sub_configure"; then
25761 # Make the cache file name correct relative to the subdirectory.
25762 case $cache_file in
25763 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
25764 *) # Relative path.
25765 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
25768 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
25769 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
25770 # The eval makes quoting arguments work.
25771 eval $ac_sub_configure $ac_sub_configure_args \
25772 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
25773 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
25774 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
25775 { (exit 1); exit 1; }; }