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 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 --enable-werror treat compile warnings as errors
869 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
870 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
871 --enable-sim Link gdb with simulator
872 --enable-multi-ice build the multi-ice-gdb-server
875 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
876 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
877 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
878 --with-libunwind Use libunwind frame unwinding support
879 --without-included-regex don
't use included regex; this is the default
880 on systems with version 2 of the GNU C library
881 (use with caution on other system)
882 --with-sysroot=DIR Search for usr/lib et al within DIR.
883 --with-tclconfig=DIR Directory containing tcl configuration (tclConfig.sh)
884 --with-tkconfig=DIR Directory containing tk configuration (tkConfig.sh)
885 --with-tclinclude=DIR Directory where tcl private headers are
886 --with-tkinclude=DIR Directory where tk private headers are
887 --with-itclconfig Directory containing itcl configuration (itclConfig.sh)
888 --with-itkconfig Directory containing itk configuration (itkConfig.sh)
889 --with-x use the X Window System
890 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
892 Some influential environment variables:
893 CC C compiler command
894 CFLAGS C compiler flags
895 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
896 nonstandard directory <lib dir>
897 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
898 headers in a nonstandard directory <include dir>
901 Use these variables to override the choices made by `configure' or to
help
902 it to
find libraries and programs with nonstandard names
/locations.
907 if test "$ac_init_help" = "recursive"; then
908 # If there are subdirs, report their specific --help.
910 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
911 test -d $ac_dir ||
continue
914 if test "$ac_dir" != .
; then
915 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
916 # A "../" for each directory in $ac_dir_suffix.
917 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
919 ac_dir_suffix
= ac_top_builddir
=
923 .
) # No --srcdir option. We are building in place.
925 if test -z "$ac_top_builddir"; then
928 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
930 [\\/]* | ?
:[\\/]* ) # Absolute path.
931 ac_srcdir
=$srcdir$ac_dir_suffix;
932 ac_top_srcdir
=$srcdir ;;
934 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
935 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
938 # Do not use `cd foo && pwd` to compute absolute paths, because
939 # the directories may not exist.
941 .
) ac_abs_builddir
="$ac_dir";;
944 .
) ac_abs_builddir
=`pwd`;;
945 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
946 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
949 case $ac_abs_builddir in
950 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
952 case ${ac_top_builddir}.
in
953 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
954 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
955 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
958 case $ac_abs_builddir in
959 .
) ac_abs_srcdir
=$ac_srcdir;;
962 .
) ac_abs_srcdir
=$ac_abs_builddir;;
963 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
964 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
967 case $ac_abs_builddir in
968 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
970 case $ac_top_srcdir in
971 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
972 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
973 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
978 # Check for guested configure; otherwise get Cygnus style configure.
979 if test -f $ac_srcdir/configure.gnu
; then
981 $SHELL $ac_srcdir/configure.gnu
--help=recursive
982 elif test -f $ac_srcdir/configure
; then
984 $SHELL $ac_srcdir/configure
--help=recursive
985 elif test -f $ac_srcdir/configure.ac ||
986 test -f $ac_srcdir/configure.
in; then
990 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
996 test -n "$ac_init_help" && exit 0
997 if $ac_init_version; then
1000 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1001 This configure
script is free software
; the Free Software Foundation
1002 gives unlimited permission to copy
, distribute and modify it.
1008 This file contains any messages produced by compilers while
1009 running configure, to aid debugging if configure makes a mistake.
1011 It was created by $as_me, which was
1012 generated by GNU Autoconf 2.59. Invocation command line was
1023 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1024 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1025 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1026 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1027 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1029 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1030 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1032 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1033 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1034 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1035 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1036 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1037 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1038 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1046 test -z "$as_dir" && as_dir
=.
1047 echo "PATH: $as_dir"
1062 # Keep a trace of the command line.
1063 # Strip out --no-create and --no-recursion so they do not pile up.
1064 # Strip out --silent because we don't want to record it for future runs.
1065 # Also quote any args containing shell meta-characters.
1066 # Make two passes to allow for proper duplicate-argument suppression.
1071 ac_must_keep_next
=false
1077 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1078 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1079 |
-silent |
--silent |
--silen |
--sile |
--sil)
1081 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1082 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1085 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1087 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1088 if test $ac_must_keep_next = true
; then
1089 ac_must_keep_next
=false
# Got value, back to normal.
1092 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1093 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1094 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1095 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1096 case "$ac_configure_args0 " in
1097 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1100 -* ) ac_must_keep_next
=true
;;
1103 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1104 # Get rid of the leading space.
1110 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1111 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1113 # When interrupted or exit'd, cleanup temporary files, and complete
1114 # config.log. We remove comments because anyway the quotes in there
1115 # would cause problems or look ugly.
1116 # WARNING: Be sure not to use single quotes in there, as some shells,
1117 # such as our DU 5.0 friend, will then `close' the trap.
1118 trap 'exit_status=$?
1119 # Save into config.log some information that might help in debugging.
1124 ## ---------------- ##
1125 ## Cache variables. ##
1126 ## ---------------- ##
1129 # The following way of writing the cache mishandles newlines in values,
1132 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1135 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1140 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1147 ## ----------------- ##
1148 ## Output variables. ##
1149 ## ----------------- ##
1152 for ac_var in $ac_subst_vars
1154 eval ac_val=$`echo $ac_var`
1155 echo "$ac_var='"'"'$ac_val'"'"'"
1159 if test -n "$ac_subst_files"; then
1166 for ac_var in $ac_subst_files
1168 eval ac_val=$`echo $ac_var`
1169 echo "$ac_var='"'"'$ac_val'"'"'"
1174 if test -s confdefs.h; then
1181 sed "/^$/d" confdefs.h | sort
1184 test "$ac_signal" != 0 &&
1185 echo "$as_me: caught signal $ac_signal"
1186 echo "$as_me: exit $exit_status"
1188 rm -f core *.core &&
1189 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1192 for ac_signal
in 1 2 13 15; do
1193 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1197 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1198 rm -rf conftest
* confdefs.h
1199 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1202 # Predefined preprocessor variables.
1204 cat >>confdefs.h
<<_ACEOF
1205 #define PACKAGE_NAME "$PACKAGE_NAME"
1209 cat >>confdefs.h
<<_ACEOF
1210 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1214 cat >>confdefs.h
<<_ACEOF
1215 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1219 cat >>confdefs.h
<<_ACEOF
1220 #define PACKAGE_STRING "$PACKAGE_STRING"
1224 cat >>confdefs.h
<<_ACEOF
1225 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1229 # Let the site file select an alternate cache file if it wants to.
1230 # Prefer explicitly selected file to automatically selected ones.
1231 if test -z "$CONFIG_SITE"; then
1232 if test "x$prefix" != xNONE
; then
1233 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1235 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1238 for ac_site_file
in $CONFIG_SITE; do
1239 if test -r "$ac_site_file"; then
1240 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1241 echo "$as_me: loading site script $ac_site_file" >&6;}
1242 sed 's/^/| /' "$ac_site_file" >&5
1247 if test -r "$cache_file"; then
1248 # Some versions of bash will fail to source /dev/null (special
1249 # files actually), so we avoid doing that.
1250 if test -f "$cache_file"; then
1251 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1252 echo "$as_me: loading cache $cache_file" >&6;}
1254 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1255 *) . .
/$cache_file;;
1259 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1260 echo "$as_me: creating cache $cache_file" >&6;}
1264 # Check that the precious variables saved in the cache have kept the same
1266 ac_cache_corrupted
=false
1267 for ac_var
in `(set) 2>&1 |
1268 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1269 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1270 eval ac_new_set
=\
$ac_env_${ac_var}_set
1271 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1272 eval ac_new_val
="\$ac_env_${ac_var}_value"
1273 case $ac_old_set,$ac_new_set in
1275 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1276 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1277 ac_cache_corrupted
=: ;;
1279 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1280 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1281 ac_cache_corrupted
=: ;;
1284 if test "x$ac_old_val" != "x$ac_new_val"; then
1285 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1286 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1287 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1288 echo "$as_me: former value: $ac_old_val" >&2;}
1289 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1290 echo "$as_me: current value: $ac_new_val" >&2;}
1291 ac_cache_corrupted
=:
1294 # Pass precious variables to config.status.
1295 if test "$ac_new_set" = set; then
1297 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1298 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1299 *) ac_arg
=$ac_var=$ac_new_val ;;
1301 case " $ac_configure_args " in
1302 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1303 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1307 if $ac_cache_corrupted; then
1308 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1309 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1310 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1311 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1312 { (exit 1); exit 1; }; }
1316 ac_cpp
='$CPP $CPPFLAGS'
1317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1339 ac_config_headers
="$ac_config_headers config.h:config.in"
1341 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1342 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1343 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1344 if test "${enable_maintainer_mode+set}" = set; then
1345 enableval
="$enable_maintainer_mode"
1346 USE_MAINTAINER_MODE
=$enableval
1348 USE_MAINTAINER_MODE
=no
1350 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1351 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1354 if test $USE_MAINTAINER_MODE = yes; then
1355 MAINTAINER_MODE_TRUE
=
1356 MAINTAINER_MODE_FALSE
='#'
1358 MAINTAINER_MODE_TRUE
='#'
1359 MAINTAINER_MODE_FALSE
=
1362 MAINT
=$MAINTAINER_MODE_TRUE
1367 ac_cpp
='$CPP $CPPFLAGS'
1368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1371 if test -n "$ac_tool_prefix"; then
1372 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1373 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1374 echo "$as_me:$LINENO: checking for $ac_word" >&5
1375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1376 if test "${ac_cv_prog_CC+set}" = set; then
1377 echo $ECHO_N "(cached) $ECHO_C" >&6
1379 if test -n "$CC"; then
1380 ac_cv_prog_CC
="$CC" # Let the user override the test.
1382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1386 test -z "$as_dir" && as_dir
=.
1387 for ac_exec_ext
in '' $ac_executable_extensions; do
1388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1389 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1399 if test -n "$CC"; then
1400 echo "$as_me:$LINENO: result: $CC" >&5
1401 echo "${ECHO_T}$CC" >&6
1403 echo "$as_me:$LINENO: result: no" >&5
1404 echo "${ECHO_T}no" >&6
1408 if test -z "$ac_cv_prog_CC"; then
1410 # Extract the first word of "gcc", so it can be a program name with args.
1411 set dummy gcc
; ac_word
=$2
1412 echo "$as_me:$LINENO: checking for $ac_word" >&5
1413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1414 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1415 echo $ECHO_N "(cached) $ECHO_C" >&6
1417 if test -n "$ac_ct_CC"; then
1418 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1424 test -z "$as_dir" && as_dir
=.
1425 for ac_exec_ext
in '' $ac_executable_extensions; do
1426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1427 ac_cv_prog_ac_ct_CC
="gcc"
1428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1436 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1437 if test -n "$ac_ct_CC"; then
1438 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1439 echo "${ECHO_T}$ac_ct_CC" >&6
1441 echo "$as_me:$LINENO: result: no" >&5
1442 echo "${ECHO_T}no" >&6
1450 if test -z "$CC"; then
1451 if test -n "$ac_tool_prefix"; then
1452 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1453 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1454 echo "$as_me:$LINENO: checking for $ac_word" >&5
1455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1456 if test "${ac_cv_prog_CC+set}" = set; then
1457 echo $ECHO_N "(cached) $ECHO_C" >&6
1459 if test -n "$CC"; then
1460 ac_cv_prog_CC
="$CC" # Let the user override the test.
1462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1466 test -z "$as_dir" && as_dir
=.
1467 for ac_exec_ext
in '' $ac_executable_extensions; do
1468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1469 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1479 if test -n "$CC"; then
1480 echo "$as_me:$LINENO: result: $CC" >&5
1481 echo "${ECHO_T}$CC" >&6
1483 echo "$as_me:$LINENO: result: no" >&5
1484 echo "${ECHO_T}no" >&6
1488 if test -z "$ac_cv_prog_CC"; then
1490 # Extract the first word of "cc", so it can be a program name with args.
1491 set dummy cc
; ac_word
=$2
1492 echo "$as_me:$LINENO: checking for $ac_word" >&5
1493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1494 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1495 echo $ECHO_N "(cached) $ECHO_C" >&6
1497 if test -n "$ac_ct_CC"; then
1498 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1504 test -z "$as_dir" && as_dir
=.
1505 for ac_exec_ext
in '' $ac_executable_extensions; do
1506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1507 ac_cv_prog_ac_ct_CC
="cc"
1508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1516 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1517 if test -n "$ac_ct_CC"; then
1518 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1519 echo "${ECHO_T}$ac_ct_CC" >&6
1521 echo "$as_me:$LINENO: result: no" >&5
1522 echo "${ECHO_T}no" >&6
1531 if test -z "$CC"; then
1532 # Extract the first word of "cc", so it can be a program name with args.
1533 set dummy cc
; ac_word
=$2
1534 echo "$as_me:$LINENO: checking for $ac_word" >&5
1535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1536 if test "${ac_cv_prog_CC+set}" = set; then
1537 echo $ECHO_N "(cached) $ECHO_C" >&6
1539 if test -n "$CC"; then
1540 ac_cv_prog_CC
="$CC" # Let the user override the test.
1543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1547 test -z "$as_dir" && as_dir
=.
1548 for ac_exec_ext
in '' $ac_executable_extensions; do
1549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1550 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1551 ac_prog_rejected
=yes
1555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1561 if test $ac_prog_rejected = yes; then
1562 # We found a bogon in the path, so make sure we never use it.
1563 set dummy
$ac_cv_prog_CC
1565 if test $# != 0; then
1566 # We chose a different compiler from the bogus one.
1567 # However, it has the same basename, so the bogon will be chosen
1568 # first if we set CC to just the basename; use the full file name.
1570 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1576 if test -n "$CC"; then
1577 echo "$as_me:$LINENO: result: $CC" >&5
1578 echo "${ECHO_T}$CC" >&6
1580 echo "$as_me:$LINENO: result: no" >&5
1581 echo "${ECHO_T}no" >&6
1585 if test -z "$CC"; then
1586 if test -n "$ac_tool_prefix"; then
1589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1590 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1591 echo "$as_me:$LINENO: checking for $ac_word" >&5
1592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1593 if test "${ac_cv_prog_CC+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 if test -n "$CC"; then
1597 ac_cv_prog_CC
="$CC" # Let the user override the test.
1599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1603 test -z "$as_dir" && as_dir
=.
1604 for ac_exec_ext
in '' $ac_executable_extensions; do
1605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1606 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1616 if test -n "$CC"; then
1617 echo "$as_me:$LINENO: result: $CC" >&5
1618 echo "${ECHO_T}$CC" >&6
1620 echo "$as_me:$LINENO: result: no" >&5
1621 echo "${ECHO_T}no" >&6
1624 test -n "$CC" && break
1627 if test -z "$CC"; then
1631 # Extract the first word of "$ac_prog", so it can be a program name with args.
1632 set dummy
$ac_prog; ac_word
=$2
1633 echo "$as_me:$LINENO: checking for $ac_word" >&5
1634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1635 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 if test -n "$ac_ct_CC"; then
1639 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1645 test -z "$as_dir" && as_dir
=.
1646 for ac_exec_ext
in '' $ac_executable_extensions; do
1647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1648 ac_cv_prog_ac_ct_CC
="$ac_prog"
1649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1657 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1658 if test -n "$ac_ct_CC"; then
1659 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1660 echo "${ECHO_T}$ac_ct_CC" >&6
1662 echo "$as_me:$LINENO: result: no" >&5
1663 echo "${ECHO_T}no" >&6
1666 test -n "$ac_ct_CC" && break
1675 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1676 See \`config.log' for more details." >&5
1677 echo "$as_me: error: no acceptable C compiler found in \$PATH
1678 See \`config.log' for more details." >&2;}
1679 { (exit 1); exit 1; }; }
1681 # Provide some information about the compiler.
1682 echo "$as_me:$LINENO:" \
1683 "checking for C compiler version" >&5
1684 ac_compiler
=`set X $ac_compile; echo $2`
1685 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1686 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1689 (exit $ac_status); }
1690 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1691 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1694 (exit $ac_status); }
1695 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1696 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1699 (exit $ac_status); }
1701 cat >conftest.
$ac_ext <<_ACEOF
1704 cat confdefs.h
>>conftest.
$ac_ext
1705 cat >>conftest.
$ac_ext <<_ACEOF
1706 /* end confdefs.h. */
1716 ac_clean_files_save
=$ac_clean_files
1717 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1718 # Try to create an executable without -o first, disregard a.out.
1719 # It will help us diagnose broken compilers, and finding out an intuition
1721 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1722 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1723 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1724 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1725 (eval $ac_link_default) 2>&5
1727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1728 (exit $ac_status); }; then
1729 # Find the output, starting from the most likely. This scheme is
1730 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1733 # Be careful to initialize this variable, since it used to be cached.
1734 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1736 # b.out is created by i960 compilers.
1737 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1739 test -f "$ac_file" ||
continue
1741 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1744 # This is the source file.
1747 # We found the default executable, but exeext='' is most
1751 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1752 # FIXME: I believe we export ac_cv_exeext for Libtool,
1753 # but it would be cool to find out if it's true. Does anybody
1754 # maintain Libtool? --akim.
1762 echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.
$ac_ext >&5
1765 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1766 See \`config.log' for more details." >&5
1767 echo "$as_me: error: C compiler cannot create executables
1768 See \`config.log' for more details." >&2;}
1769 { (exit 77); exit 77; }; }
1772 ac_exeext
=$ac_cv_exeext
1773 echo "$as_me:$LINENO: result: $ac_file" >&5
1774 echo "${ECHO_T}$ac_file" >&6
1776 # Check the compiler produces executables we can run. If not, either
1777 # the compiler is broken, or we cross compile.
1778 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1779 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1780 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1781 # If not cross compiling, check that we can run a simple program.
1782 if test "$cross_compiling" != yes; then
1783 if { ac_try
='./$ac_file'
1784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1788 (exit $ac_status); }; }; then
1791 if test "$cross_compiling" = maybe
; then
1794 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1795 If you meant to cross compile, use \`--host'.
1796 See \`config.log' for more details." >&5
1797 echo "$as_me: error: cannot run C compiled programs.
1798 If you meant to cross compile, use \`--host'.
1799 See \`config.log' for more details." >&2;}
1800 { (exit 1); exit 1; }; }
1804 echo "$as_me:$LINENO: result: yes" >&5
1805 echo "${ECHO_T}yes" >&6
1807 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1808 ac_clean_files
=$ac_clean_files_save
1809 # Check the compiler produces executables we can run. If not, either
1810 # the compiler is broken, or we cross compile.
1811 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1812 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1813 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1814 echo "${ECHO_T}$cross_compiling" >&6
1816 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1817 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1819 (eval $ac_link) 2>&5
1821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1822 (exit $ac_status); }; then
1823 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1824 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1825 # work properly (i.e., refer to `conftest.exe'), while it won't with
1827 for ac_file
in conftest.exe conftest conftest.
*; do
1828 test -f "$ac_file" ||
continue
1830 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1831 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1838 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1839 See \`config.log' for more details." >&5
1840 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1841 See \`config.log' for more details." >&2;}
1842 { (exit 1); exit 1; }; }
1845 rm -f conftest
$ac_cv_exeext
1846 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1847 echo "${ECHO_T}$ac_cv_exeext" >&6
1849 rm -f conftest.
$ac_ext
1850 EXEEXT
=$ac_cv_exeext
1852 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1853 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1854 if test "${ac_cv_objext+set}" = set; then
1855 echo $ECHO_N "(cached) $ECHO_C" >&6
1857 cat >conftest.
$ac_ext <<_ACEOF
1860 cat confdefs.h
>>conftest.
$ac_ext
1861 cat >>conftest.
$ac_ext <<_ACEOF
1862 /* end confdefs.h. */
1872 rm -f conftest.o conftest.obj
1873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1874 (eval $ac_compile) 2>&5
1876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1877 (exit $ac_status); }; then
1878 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1880 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1881 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1886 echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.
$ac_ext >&5
1889 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1890 See \`config.log' for more details." >&5
1891 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1892 See \`config.log' for more details." >&2;}
1893 { (exit 1); exit 1; }; }
1896 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1898 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1899 echo "${ECHO_T}$ac_cv_objext" >&6
1900 OBJEXT
=$ac_cv_objext
1902 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1903 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1904 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1905 echo $ECHO_N "(cached) $ECHO_C" >&6
1907 cat >conftest.
$ac_ext <<_ACEOF
1910 cat confdefs.h
>>conftest.
$ac_ext
1911 cat >>conftest.
$ac_ext <<_ACEOF
1912 /* end confdefs.h. */
1925 rm -f conftest.
$ac_objext
1926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1927 (eval $ac_compile) 2>conftest.er1
1929 grep -v '^ *+' conftest.er1
>conftest.err
1931 cat conftest.err
>&5
1932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1933 (exit $ac_status); } &&
1934 { ac_try
='test -z "$ac_c_werror_flag"
1935 || test ! -s conftest.err'
1936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 (exit $ac_status); }; } &&
1941 { ac_try
='test -s conftest.$ac_objext'
1942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; }; then
1949 echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.
$ac_ext >&5
1954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1955 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1958 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1959 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1960 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1961 ac_test_CFLAGS
=${CFLAGS+set}
1962 ac_save_CFLAGS
=$CFLAGS
1964 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1965 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1966 if test "${ac_cv_prog_cc_g+set}" = set; then
1967 echo $ECHO_N "(cached) $ECHO_C" >&6
1969 cat >conftest.
$ac_ext <<_ACEOF
1972 cat confdefs.h
>>conftest.
$ac_ext
1973 cat >>conftest.
$ac_ext <<_ACEOF
1974 /* end confdefs.h. */
1984 rm -f conftest.
$ac_objext
1985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1986 (eval $ac_compile) 2>conftest.er1
1988 grep -v '^ *+' conftest.er1
>conftest.err
1990 cat conftest.err
>&5
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); } &&
1993 { ac_try
='test -z "$ac_c_werror_flag"
1994 || test ! -s conftest.err'
1995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); }; } &&
2000 { ac_try
='test -s conftest.$ac_objext'
2001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 (exit $ac_status); }; }; then
2008 echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.
$ac_ext >&5
2013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2015 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2016 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2017 if test "$ac_test_CFLAGS" = set; then
2018 CFLAGS
=$ac_save_CFLAGS
2019 elif test $ac_cv_prog_cc_g = yes; then
2020 if test "$GCC" = yes; then
2026 if test "$GCC" = yes; then
2032 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2033 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2034 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2035 echo $ECHO_N "(cached) $ECHO_C" >&6
2037 ac_cv_prog_cc_stdc
=no
2039 cat >conftest.
$ac_ext <<_ACEOF
2042 cat confdefs.h
>>conftest.
$ac_ext
2043 cat >>conftest.
$ac_ext <<_ACEOF
2044 /* end confdefs.h. */
2047 #include <sys/types.h>
2048 #include <sys/stat.h>
2049 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2050 struct buf { int x; };
2051 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2052 static char *e (p, i)
2058 static char *f (char * (*g) (char **, int), char **p, ...)
2063 s = g (p, va_arg (v,int));
2068 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2069 function prototypes and stuff, but not '\xHH' hex character constants.
2070 These don't provoke an error unfortunately, instead are silently treated
2071 as 'x'. The following induces an error, until -std1 is added to get
2072 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2073 array size at least. It's necessary to write '\x00'==0 to get something
2074 that's true only with -std1. */
2075 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2077 int test (int i, double x);
2078 struct s1 {int (*f) (int a);};
2079 struct s2 {int (*f) (double a);};
2080 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2086 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2091 # Don't try gcc -ansi; that turns off useful extensions and
2092 # breaks some systems' header files.
2093 # AIX -qlanglvl=ansi
2094 # Ultrix and OSF/1 -std1
2095 # HP-UX 10.20 and later -Ae
2096 # HP-UX older versions -Aa -D_HPUX_SOURCE
2097 # SVR4 -Xc -D__EXTENSIONS__
2098 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2100 CC
="$ac_save_CC $ac_arg"
2101 rm -f conftest.
$ac_objext
2102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2103 (eval $ac_compile) 2>conftest.er1
2105 grep -v '^ *+' conftest.er1
>conftest.err
2107 cat conftest.err
>&5
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109 (exit $ac_status); } &&
2110 { ac_try
='test -z "$ac_c_werror_flag"
2111 || test ! -s conftest.err'
2112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }; } &&
2117 { ac_try
='test -s conftest.$ac_objext'
2118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); }; }; then
2123 ac_cv_prog_cc_stdc
=$ac_arg
2126 echo "$as_me: failed program was:" >&5
2127 sed 's/^/| /' conftest.
$ac_ext >&5
2130 rm -f conftest.err conftest.
$ac_objext
2132 rm -f conftest.
$ac_ext conftest.
$ac_objext
2137 case "x$ac_cv_prog_cc_stdc" in
2139 echo "$as_me:$LINENO: result: none needed" >&5
2140 echo "${ECHO_T}none needed" >&6 ;;
2142 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2143 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2144 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2147 # Some people use a C++ compiler to compile C. Since we use `exit',
2148 # in C++ we need to declare it. In case someone uses the same compiler
2149 # for both compiling C and C++ we need to have the C++ compiler decide
2150 # the declaration of exit, since it's the most demanding environment.
2151 cat >conftest.
$ac_ext <<_ACEOF
2156 rm -f conftest.
$ac_objext
2157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2158 (eval $ac_compile) 2>conftest.er1
2160 grep -v '^ *+' conftest.er1
>conftest.err
2162 cat conftest.err
>&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); } &&
2165 { ac_try
='test -z "$ac_c_werror_flag"
2166 || test ! -s conftest.err'
2167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); }; } &&
2172 { ac_try
='test -s conftest.$ac_objext'
2173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }; }; then
2178 for ac_declaration
in \
2180 'extern "C" void std::exit (int) throw (); using std::exit;' \
2181 'extern "C" void std::exit (int); using std::exit;' \
2182 'extern "C" void exit (int) throw ();' \
2183 'extern "C" void exit (int);' \
2186 cat >conftest.
$ac_ext <<_ACEOF
2189 cat confdefs.h
>>conftest.
$ac_ext
2190 cat >>conftest.
$ac_ext <<_ACEOF
2191 /* end confdefs.h. */
2202 rm -f conftest.
$ac_objext
2203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2204 (eval $ac_compile) 2>conftest.er1
2206 grep -v '^ *+' conftest.er1
>conftest.err
2208 cat conftest.err
>&5
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210 (exit $ac_status); } &&
2211 { ac_try
='test -z "$ac_c_werror_flag"
2212 || test ! -s conftest.err'
2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; } &&
2218 { ac_try
='test -s conftest.$ac_objext'
2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; }; then
2226 echo "$as_me: failed program was:" >&5
2227 sed 's/^/| /' conftest.
$ac_ext >&5
2231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2232 cat >conftest.
$ac_ext <<_ACEOF
2235 cat confdefs.h
>>conftest.
$ac_ext
2236 cat >>conftest.
$ac_ext <<_ACEOF
2237 /* end confdefs.h. */
2247 rm -f conftest.
$ac_objext
2248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2249 (eval $ac_compile) 2>conftest.er1
2251 grep -v '^ *+' conftest.er1
>conftest.err
2253 cat conftest.err
>&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); } &&
2256 { ac_try
='test -z "$ac_c_werror_flag"
2257 || test ! -s conftest.err'
2258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); }; } &&
2263 { ac_try
='test -s conftest.$ac_objext'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; }; then
2271 echo "$as_me: failed program was:" >&5
2272 sed 's/^/| /' conftest.
$ac_ext >&5
2275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2278 if test -n "$ac_declaration"; then
2279 echo '#ifdef __cplusplus' >>confdefs.h
2280 echo $ac_declaration >>confdefs.h
2281 echo '#endif' >>confdefs.h
2285 echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.
$ac_ext >&5
2289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2291 ac_cpp
='$CPP $CPPFLAGS'
2292 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2293 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2294 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2297 cat >>confdefs.h
<<\_ACEOF
2298 #define _GNU_SOURCE 1
2304 ac_cpp
='$CPP $CPPFLAGS'
2305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2308 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2309 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2310 # On Suns, sometimes $CPP names a directory.
2311 if test -n "$CPP" && test -d "$CPP"; then
2314 if test -z "$CPP"; then
2315 if test "${ac_cv_prog_CPP+set}" = set; then
2316 echo $ECHO_N "(cached) $ECHO_C" >&6
2318 # Double quotes because CPP needs to be expanded
2319 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2322 for ac_c_preproc_warn_flag
in '' yes
2324 # Use a header file that comes with gcc, so configuring glibc
2325 # with a fresh cross-compiler works.
2326 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2327 # <limits.h> exists even on freestanding compilers.
2328 # On the NeXT, cc -E runs the code through the compiler's parser,
2329 # not just through cpp. "Syntax error" is here to catch this case.
2330 cat >conftest.
$ac_ext <<_ACEOF
2333 cat confdefs.h
>>conftest.
$ac_ext
2334 cat >>conftest.
$ac_ext <<_ACEOF
2335 /* end confdefs.h. */
2337 # include <limits.h>
2339 # include <assert.h>
2343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2344 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2346 grep -v '^ *+' conftest.er1
>conftest.err
2348 cat conftest.err
>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } >/dev
/null
; then
2351 if test -s conftest.err
; then
2352 ac_cpp_err
=$ac_c_preproc_warn_flag
2353 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2360 if test -z "$ac_cpp_err"; then
2363 echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.
$ac_ext >&5
2366 # Broken: fails on valid input.
2369 rm -f conftest.err conftest.
$ac_ext
2371 # OK, works on sane cases. Now check whether non-existent headers
2372 # can be detected and how.
2373 cat >conftest.
$ac_ext <<_ACEOF
2376 cat confdefs.h
>>conftest.
$ac_ext
2377 cat >>conftest.
$ac_ext <<_ACEOF
2378 /* end confdefs.h. */
2379 #include <ac_nonexistent.h>
2381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2382 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2384 grep -v '^ *+' conftest.er1
>conftest.err
2386 cat conftest.err
>&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); } >/dev
/null
; then
2389 if test -s conftest.err
; then
2390 ac_cpp_err
=$ac_c_preproc_warn_flag
2391 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2398 if test -z "$ac_cpp_err"; then
2399 # Broken: success on invalid input.
2402 echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.
$ac_ext >&5
2405 # Passes both tests.
2409 rm -f conftest.err conftest.
$ac_ext
2412 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2413 rm -f conftest.err conftest.
$ac_ext
2414 if $ac_preproc_ok; then
2426 echo "$as_me:$LINENO: result: $CPP" >&5
2427 echo "${ECHO_T}$CPP" >&6
2429 for ac_c_preproc_warn_flag
in '' yes
2431 # Use a header file that comes with gcc, so configuring glibc
2432 # with a fresh cross-compiler works.
2433 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2434 # <limits.h> exists even on freestanding compilers.
2435 # On the NeXT, cc -E runs the code through the compiler's parser,
2436 # not just through cpp. "Syntax error" is here to catch this case.
2437 cat >conftest.
$ac_ext <<_ACEOF
2440 cat confdefs.h
>>conftest.
$ac_ext
2441 cat >>conftest.
$ac_ext <<_ACEOF
2442 /* end confdefs.h. */
2444 # include <limits.h>
2446 # include <assert.h>
2450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2453 grep -v '^ *+' conftest.er1
>conftest.err
2455 cat conftest.err
>&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); } >/dev
/null
; then
2458 if test -s conftest.err
; then
2459 ac_cpp_err
=$ac_c_preproc_warn_flag
2460 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2467 if test -z "$ac_cpp_err"; then
2470 echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.
$ac_ext >&5
2473 # Broken: fails on valid input.
2476 rm -f conftest.err conftest.
$ac_ext
2478 # OK, works on sane cases. Now check whether non-existent headers
2479 # can be detected and how.
2480 cat >conftest.
$ac_ext <<_ACEOF
2483 cat confdefs.h
>>conftest.
$ac_ext
2484 cat >>conftest.
$ac_ext <<_ACEOF
2485 /* end confdefs.h. */
2486 #include <ac_nonexistent.h>
2488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2489 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2491 grep -v '^ *+' conftest.er1
>conftest.err
2493 cat conftest.err
>&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); } >/dev
/null
; then
2496 if test -s conftest.err
; then
2497 ac_cpp_err
=$ac_c_preproc_warn_flag
2498 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2505 if test -z "$ac_cpp_err"; then
2506 # Broken: success on invalid input.
2509 echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.
$ac_ext >&5
2512 # Passes both tests.
2516 rm -f conftest.err conftest.
$ac_ext
2519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2520 rm -f conftest.err conftest.
$ac_ext
2521 if $ac_preproc_ok; then
2524 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2525 See \`config.log' for more details." >&5
2526 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2527 See \`config.log' for more details." >&2;}
2528 { (exit 1); exit 1; }; }
2532 ac_cpp
='$CPP $CPPFLAGS'
2533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2538 echo "$as_me:$LINENO: checking for egrep" >&5
2539 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2540 if test "${ac_cv_prog_egrep+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2544 then ac_cv_prog_egrep
='grep -E'
2545 else ac_cv_prog_egrep
='egrep'
2548 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2549 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2550 EGREP
=$ac_cv_prog_egrep
2554 echo "$as_me:$LINENO: checking for AIX" >&5
2555 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2556 cat >conftest.
$ac_ext <<_ACEOF
2559 cat confdefs.h
>>conftest.
$ac_ext
2560 cat >>conftest.
$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2568 $EGREP "yes" >/dev
/null
2>&1; then
2569 echo "$as_me:$LINENO: result: yes" >&5
2570 echo "${ECHO_T}yes" >&6
2571 cat >>confdefs.h
<<\_ACEOF
2572 #define _ALL_SOURCE 1
2576 echo "$as_me:$LINENO: result: no" >&5
2577 echo "${ECHO_T}no" >&6
2582 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2583 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2584 if test "${ac_cv_search_strerror+set}" = set; then
2585 echo $ECHO_N "(cached) $ECHO_C" >&6
2587 ac_func_search_save_LIBS
=$LIBS
2588 ac_cv_search_strerror
=no
2589 cat >conftest.
$ac_ext <<_ACEOF
2592 cat confdefs.h
>>conftest.
$ac_ext
2593 cat >>conftest.
$ac_ext <<_ACEOF
2594 /* end confdefs.h. */
2596 /* Override any gcc2 internal prototype to avoid an error. */
2600 /* We use char because int might match the return type of a gcc2
2601 builtin and then its argument prototype would still apply. */
2611 rm -f conftest.
$ac_objext conftest
$ac_exeext
2612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2613 (eval $ac_link) 2>conftest.er1
2615 grep -v '^ *+' conftest.er1
>conftest.err
2617 cat conftest.err
>&5
2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619 (exit $ac_status); } &&
2620 { ac_try
='test -z "$ac_c_werror_flag"
2621 || test ! -s conftest.err'
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; } &&
2627 { ac_try
='test -s conftest$ac_exeext'
2628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); }; }; then
2633 ac_cv_search_strerror
="none required"
2635 echo "$as_me: failed program was:" >&5
2636 sed 's/^/| /' conftest.
$ac_ext >&5
2639 rm -f conftest.err conftest.
$ac_objext \
2640 conftest
$ac_exeext conftest.
$ac_ext
2641 if test "$ac_cv_search_strerror" = no
; then
2642 for ac_lib
in cposix
; do
2643 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2644 cat >conftest.
$ac_ext <<_ACEOF
2647 cat confdefs.h
>>conftest.
$ac_ext
2648 cat >>conftest.
$ac_ext <<_ACEOF
2649 /* end confdefs.h. */
2651 /* Override any gcc2 internal prototype to avoid an error. */
2655 /* We use char because int might match the return type of a gcc2
2656 builtin and then its argument prototype would still apply. */
2666 rm -f conftest.
$ac_objext conftest
$ac_exeext
2667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2668 (eval $ac_link) 2>conftest.er1
2670 grep -v '^ *+' conftest.er1
>conftest.err
2672 cat conftest.err
>&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); } &&
2675 { ac_try
='test -z "$ac_c_werror_flag"
2676 || test ! -s conftest.err'
2677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; } &&
2682 { ac_try
='test -s conftest$ac_exeext'
2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; }; then
2688 ac_cv_search_strerror
="-l$ac_lib"
2691 echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.
$ac_ext >&5
2695 rm -f conftest.err conftest.
$ac_objext \
2696 conftest
$ac_exeext conftest.
$ac_ext
2699 LIBS
=$ac_func_search_save_LIBS
2701 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2702 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2703 if test "$ac_cv_search_strerror" != no
; then
2704 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2711 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2712 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2713 if test "${am_cv_prog_cc_stdc+set}" = set; then
2714 echo $ECHO_N "(cached) $ECHO_C" >&6
2716 am_cv_prog_cc_stdc
=no
2718 # Don't try gcc -ansi; that turns off useful extensions and
2719 # breaks some systems' header files.
2720 # AIX -qlanglvl=ansi
2721 # Ultrix and OSF/1 -std1
2722 # HP-UX 10.20 and later -Ae
2723 # HP-UX older versions -Aa -D_HPUX_SOURCE
2724 # SVR4 -Xc -D__EXTENSIONS__
2725 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2727 CC
="$ac_save_CC $ac_arg"
2728 cat >conftest.
$ac_ext <<_ACEOF
2731 cat confdefs.h
>>conftest.
$ac_ext
2732 cat >>conftest.
$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2736 #include <sys/types.h>
2737 #include <sys/stat.h>
2738 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2739 struct buf { int x; };
2740 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2741 static char *e (p, i)
2747 static char *f (char * (*g) (char **, int), char **p, ...)
2752 s = g (p, va_arg (v,int));
2756 int test (int i, double x);
2757 struct s1 {int (*f) (int a);};
2758 struct s2 {int (*f) (double a);};
2759 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2767 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2773 rm -f conftest.
$ac_objext
2774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2775 (eval $ac_compile) 2>conftest.er1
2777 grep -v '^ *+' conftest.er1
>conftest.err
2779 cat conftest.err
>&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); } &&
2782 { ac_try
='test -z "$ac_c_werror_flag"
2783 || test ! -s conftest.err'
2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; } &&
2789 { ac_try
='test -s conftest.$ac_objext'
2790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; }; then
2795 am_cv_prog_cc_stdc
="$ac_arg"; break
2797 echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.
$ac_ext >&5
2801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2807 if test -z "$am_cv_prog_cc_stdc"; then
2808 echo "$as_me:$LINENO: result: none needed" >&5
2809 echo "${ECHO_T}none needed" >&6
2811 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2812 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2814 case "x$am_cv_prog_cc_stdc" in
2816 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2821 for ac_dir
in `cd $srcdir;pwd`/..
$srcdir/`cd $srcdir;pwd`/..
; do
2822 if test -f $ac_dir/install-sh
; then
2824 ac_install_sh
="$ac_aux_dir/install-sh -c"
2826 elif test -f $ac_dir/install.sh
; then
2828 ac_install_sh
="$ac_aux_dir/install.sh -c"
2830 elif test -f $ac_dir/shtool
; then
2832 ac_install_sh
="$ac_aux_dir/shtool install -c"
2836 if test -z "$ac_aux_dir"; then
2837 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&5
2838 echo "$as_me: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&2;}
2839 { (exit 1); exit 1; }; }
2841 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2842 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2843 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2845 # Make sure we can run config.sub.
2846 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2847 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2848 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2849 { (exit 1); exit 1; }; }
2851 echo "$as_me:$LINENO: checking build system type" >&5
2852 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2853 if test "${ac_cv_build+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 ac_cv_build_alias
=$build_alias
2857 test -z "$ac_cv_build_alias" &&
2858 ac_cv_build_alias
=`$ac_config_guess`
2859 test -z "$ac_cv_build_alias" &&
2860 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2861 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2862 { (exit 1); exit 1; }; }
2863 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2864 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2865 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2866 { (exit 1); exit 1; }; }
2869 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2870 echo "${ECHO_T}$ac_cv_build" >&6
2872 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2873 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2874 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2877 echo "$as_me:$LINENO: checking host system type" >&5
2878 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2879 if test "${ac_cv_host+set}" = set; then
2880 echo $ECHO_N "(cached) $ECHO_C" >&6
2882 ac_cv_host_alias
=$host_alias
2883 test -z "$ac_cv_host_alias" &&
2884 ac_cv_host_alias
=$ac_cv_build_alias
2885 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2886 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2887 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2888 { (exit 1); exit 1; }; }
2891 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2892 echo "${ECHO_T}$ac_cv_host" >&6
2894 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2895 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2896 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2899 echo "$as_me:$LINENO: checking target system type" >&5
2900 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2901 if test "${ac_cv_target+set}" = set; then
2902 echo $ECHO_N "(cached) $ECHO_C" >&6
2904 ac_cv_target_alias
=$target_alias
2905 test "x$ac_cv_target_alias" = "x" &&
2906 ac_cv_target_alias
=$ac_cv_host_alias
2907 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2908 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2909 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2910 { (exit 1); exit 1; }; }
2913 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2914 echo "${ECHO_T}$ac_cv_target" >&6
2915 target
=$ac_cv_target
2916 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2917 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2918 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2921 # The aliases save the names the user supplied, while $host etc.
2922 # will get canonicalized.
2923 test -n "$target_alias" &&
2924 test "$program_prefix$program_suffix$program_transform_name" = \
2926 program_prefix
=${target_alias}-
2939 # If we haven't got the data from the intl directory,
2940 # assume NLS is disabled.
2948 if test -f ..
/intl
/config.intl
; then
2949 . ..
/intl
/config.intl
2951 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2952 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2953 if test x
"$USE_NLS" != xyes
; then
2954 echo "$as_me:$LINENO: result: no" >&5
2955 echo "${ECHO_T}no" >&6
2957 echo "$as_me:$LINENO: result: yes" >&5
2958 echo "${ECHO_T}yes" >&6
2960 cat >>confdefs.h
<<\_ACEOF
2961 #define ENABLE_NLS 1
2965 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2966 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2967 # Look for .po and .gmo files in the source directory.
2970 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2971 # If there aren't any .gmo files the shell will give us the
2972 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2974 case "$cat" in *\
**)
2977 # The quadruple backslash is collapsed to a double backslash
2978 # by the backticks, then collapsed again by the double quotes,
2979 # leaving us with one backslash in the sed expression (right
2980 # before the dot that mustn't act as a wildcard).
2981 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2982 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2983 # The user is allowed to set LINGUAS to a list of languages to
2984 # install catalogs for. If it's empty that means "all of them."
2985 if test "x$LINGUAS" = x
; then
2986 CATALOGS
="$CATALOGS $cat"
2987 XLINGUAS
="$XLINGUAS $lang"
2989 case "$LINGUAS" in *$lang*)
2990 CATALOGS
="$CATALOGS $cat"
2991 XLINGUAS
="$XLINGUAS $lang"
2997 echo "$as_me:$LINENO: result: $LINGUAS" >&5
2998 echo "${ECHO_T}$LINGUAS" >&6
3011 localedir
='${datadir}/locale'
3014 if test x
"$USE_NLS" = xyes
; then
3015 CONFIG_ALL
="$CONFIG_ALL all-po"
3016 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3017 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3018 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3023 cat >>confdefs.h
<<_ACEOF
3024 #define PACKAGE "$PACKAGE"
3029 debugdir
=${libdir}/debug
3032 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
3033 if test "${with_separate_debug_dir+set}" = set; then
3034 withval
="$with_separate_debug_dir"
3035 debugdir
="${withval}"
3039 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
3040 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3041 ac_define_dir
=`eval echo $debugdir`
3042 ac_define_dir
=`eval echo $ac_define_dir`
3044 cat >>confdefs.h
<<_ACEOF
3045 #define DEBUGDIR "$ac_define_dir"
3049 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
3053 subdirs
="$subdirs doc testsuite"
3056 # Provide defaults for some variables set by the per-host and per-target
3058 gdb_host_obs
=posix-hdep.o
3060 .
$srcdir/configure.
host
3062 .
$srcdir/configure.tgt
3064 # Fetch the default architecture and default target vector from BFD.
3065 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
3067 # We only want the first architecture, so strip off the others if
3068 # there is more than one.
3069 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
3071 if test "x$targ_archs" != x
; then
3073 cat >>confdefs.h
<<_ACEOF
3074 #define DEFAULT_BFD_ARCH $targ_archs
3078 if test "x$targ_defvec" != x
; then
3080 cat >>confdefs.h
<<_ACEOF
3081 #define DEFAULT_BFD_VEC $targ_defvec
3086 test "$program_prefix" != NONE
&&
3087 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3088 # Use a double $ so make ignores it.
3089 test "$program_suffix" != NONE
&&
3090 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3091 # Double any \ or $. echo might interpret backslashes.
3092 # By default was `s,x,x', remove it if useless.
3093 cat <<\_ACEOF
>conftest.
sed
3094 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3096 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3100 # The CLI cannot be disabled yet, but may be in the future.
3103 # Check whether --enable-gdbcli or --disable-gdbcli was given.
3104 if test "${enable_gdbcli+set}" = set; then
3105 enableval
="$enable_gdbcli"
3110 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
3111 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
3112 { (exit 1); exit 1; }; } ;;
3114 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
3115 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
3116 { (exit 1); exit 1; }; } ;;
3121 if test x
"$enable_gdbcli" = xyes
; then
3122 if test -d $srcdir/cli
; then
3123 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
3124 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
3125 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
3126 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
3131 # Check whether --enable-gdbmi or --disable-gdbmi was given.
3132 if test "${enable_gdbmi+set}" = set; then
3133 enableval
="$enable_gdbmi"
3138 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
3139 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
3140 { (exit 1); exit 1; }; } ;;
3145 if test x
"$enable_gdbmi" = xyes
; then
3146 if test -d $srcdir/mi
; then
3147 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
3148 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
3149 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
3150 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
3155 # Check whether --enable-tui or --disable-tui was given.
3156 if test "${enable_tui+set}" = set; then
3157 enableval
="$enable_tui"
3162 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
3163 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
3164 { (exit 1); exit 1; }; } ;;
3171 # Check whether --enable-gdbtk or --disable-gdbtk was given.
3172 if test "${enable_gdbtk+set}" = set; then
3173 enableval
="$enable_gdbtk"
3178 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
3179 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
3180 { (exit 1); exit 1; }; } ;;
3183 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
3189 # We unconditionally disable gdbtk tests on selected platforms.
3192 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
3193 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
3197 # Libunwind support.
3198 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3199 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3200 if test "${ac_cv_header_stdc+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 cat >conftest.
$ac_ext <<_ACEOF
3206 cat confdefs.h
>>conftest.
$ac_ext
3207 cat >>conftest.
$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3222 rm -f conftest.
$ac_objext
3223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3224 (eval $ac_compile) 2>conftest.er1
3226 grep -v '^ *+' conftest.er1
>conftest.err
3228 cat conftest.err
>&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); } &&
3231 { ac_try
='test -z "$ac_c_werror_flag"
3232 || test ! -s conftest.err'
3233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237 (exit $ac_status); }; } &&
3238 { ac_try
='test -s conftest.$ac_objext'
3239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); }; }; then
3244 ac_cv_header_stdc
=yes
3246 echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.
$ac_ext >&5
3249 ac_cv_header_stdc
=no
3251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3253 if test $ac_cv_header_stdc = yes; then
3254 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3255 cat >conftest.
$ac_ext <<_ACEOF
3258 cat confdefs.h
>>conftest.
$ac_ext
3259 cat >>conftest.
$ac_ext <<_ACEOF
3260 /* end confdefs.h. */
3264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3265 $EGREP "memchr" >/dev
/null
2>&1; then
3268 ac_cv_header_stdc
=no
3274 if test $ac_cv_header_stdc = yes; then
3275 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3276 cat >conftest.
$ac_ext <<_ACEOF
3279 cat confdefs.h
>>conftest.
$ac_ext
3280 cat >>conftest.
$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3286 $EGREP "free" >/dev
/null
2>&1; then
3289 ac_cv_header_stdc
=no
3295 if test $ac_cv_header_stdc = yes; then
3296 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3297 if test "$cross_compiling" = yes; then
3300 cat >conftest.
$ac_ext <<_ACEOF
3303 cat confdefs.h
>>conftest.
$ac_ext
3304 cat >>conftest.
$ac_ext <<_ACEOF
3305 /* end confdefs.h. */
3307 #if ((' ' & 0x0FF) == 0x020)
3308 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3309 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3311 # define ISLOWER(c) \
3312 (('a' <= (c) && (c) <= 'i') \
3313 || ('j' <= (c) && (c) <= 'r') \
3314 || ('s' <= (c) && (c) <= 'z'))
3315 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3318 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3323 for (i = 0; i < 256; i++)
3324 if (XOR (islower (i), ISLOWER (i))
3325 || toupper (i) != TOUPPER (i))
3330 rm -f conftest
$ac_exeext
3331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3332 (eval $ac_link) 2>&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); }; }; then
3343 echo "$as_me: program exited with status $ac_status" >&5
3344 echo "$as_me: failed program was:" >&5
3345 sed 's/^/| /' conftest.
$ac_ext >&5
3348 ac_cv_header_stdc
=no
3350 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3354 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3355 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3356 if test $ac_cv_header_stdc = yes; then
3358 cat >>confdefs.h
<<\_ACEOF
3359 #define STDC_HEADERS 1
3364 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3374 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3375 inttypes.h stdint.h unistd.h
3377 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3378 echo "$as_me:$LINENO: checking for $ac_header" >&5
3379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3383 cat >conftest.
$ac_ext <<_ACEOF
3386 cat confdefs.h
>>conftest.
$ac_ext
3387 cat >>conftest.
$ac_ext <<_ACEOF
3388 /* end confdefs.h. */
3389 $ac_includes_default
3391 #include <$ac_header>
3393 rm -f conftest.
$ac_objext
3394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3395 (eval $ac_compile) 2>conftest.er1
3397 grep -v '^ *+' conftest.er1
>conftest.err
3399 cat conftest.err
>&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); } &&
3402 { ac_try
='test -z "$ac_c_werror_flag"
3403 || test ! -s conftest.err'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try
='test -s conftest.$ac_objext'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3415 eval "$as_ac_Header=yes"
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.
$ac_ext >&5
3420 eval "$as_ac_Header=no"
3422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3427 cat >>confdefs.h
<<_ACEOF
3428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3437 # Check whether --with-libunwind or --without-libunwind was given.
3438 if test "${with_libunwind+set}" = set; then
3439 withval
="$with_libunwind"
3440 case "${withval}" in
3441 yes) enable_libunwind
=yes ;;
3442 no
) enable_libunwind
=no
;;
3443 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
3444 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
3445 { (exit 1); exit 1; }; } ;;
3450 for ac_header
in libunwind.h
3452 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3454 echo "$as_me:$LINENO: checking for $ac_header" >&5
3455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3462 # Is the header compilable?
3463 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3464 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3465 cat >conftest.
$ac_ext <<_ACEOF
3468 cat confdefs.h
>>conftest.
$ac_ext
3469 cat >>conftest.
$ac_ext <<_ACEOF
3470 /* end confdefs.h. */
3471 $ac_includes_default
3472 #include <$ac_header>
3474 rm -f conftest.
$ac_objext
3475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3476 (eval $ac_compile) 2>conftest.er1
3478 grep -v '^ *+' conftest.er1
>conftest.err
3480 cat conftest.err
>&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } &&
3483 { ac_try
='test -z "$ac_c_werror_flag"
3484 || test ! -s conftest.err'
3485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); }; } &&
3490 { ac_try
='test -s conftest.$ac_objext'
3491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); }; }; then
3496 ac_header_compiler
=yes
3498 echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.
$ac_ext >&5
3501 ac_header_compiler
=no
3503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3505 echo "${ECHO_T}$ac_header_compiler" >&6
3507 # Is the header present?
3508 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3509 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3510 cat >conftest.
$ac_ext <<_ACEOF
3513 cat confdefs.h
>>conftest.
$ac_ext
3514 cat >>conftest.
$ac_ext <<_ACEOF
3515 /* end confdefs.h. */
3516 #include <$ac_header>
3518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3519 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3521 grep -v '^ *+' conftest.er1
>conftest.err
3523 cat conftest.err
>&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } >/dev
/null
; then
3526 if test -s conftest.err
; then
3527 ac_cpp_err
=$ac_c_preproc_warn_flag
3528 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3535 if test -z "$ac_cpp_err"; then
3536 ac_header_preproc
=yes
3538 echo "$as_me: failed program was:" >&5
3539 sed 's/^/| /' conftest.
$ac_ext >&5
3541 ac_header_preproc
=no
3543 rm -f conftest.err conftest.
$ac_ext
3544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3545 echo "${ECHO_T}$ac_header_preproc" >&6
3547 # So? What about this header?
3548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3550 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3551 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3553 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3554 ac_header_preproc
=yes
3557 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3558 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3559 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3560 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3561 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3562 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3563 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3564 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3567 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3568 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3571 ## ------------------------------------------ ##
3572 ## Report this to the AC_PACKAGE_NAME lists. ##
3573 ## ------------------------------------------ ##
3576 sed "s/^/$as_me: WARNING: /" >&2
3579 echo "$as_me:$LINENO: checking for $ac_header" >&5
3580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3582 echo $ECHO_N "(cached) $ECHO_C" >&6
3584 eval "$as_ac_Header=\$ac_header_preproc"
3586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3591 cat >>confdefs.h
<<_ACEOF
3592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3600 for ac_header
in libunwind-ia64.h
3602 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3604 echo "$as_me:$LINENO: checking for $ac_header" >&5
3605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3612 # Is the header compilable?
3613 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3615 cat >conftest.
$ac_ext <<_ACEOF
3618 cat confdefs.h
>>conftest.
$ac_ext
3619 cat >>conftest.
$ac_ext <<_ACEOF
3620 /* end confdefs.h. */
3621 $ac_includes_default
3622 #include <$ac_header>
3624 rm -f conftest.
$ac_objext
3625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3626 (eval $ac_compile) 2>conftest.er1
3628 grep -v '^ *+' conftest.er1
>conftest.err
3630 cat conftest.err
>&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } &&
3633 { ac_try
='test -z "$ac_c_werror_flag"
3634 || test ! -s conftest.err'
3635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); }; } &&
3640 { ac_try
='test -s conftest.$ac_objext'
3641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); }; }; then
3646 ac_header_compiler
=yes
3648 echo "$as_me: failed program was:" >&5
3649 sed 's/^/| /' conftest.
$ac_ext >&5
3651 ac_header_compiler
=no
3653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3655 echo "${ECHO_T}$ac_header_compiler" >&6
3657 # Is the header present?
3658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3660 cat >conftest.
$ac_ext <<_ACEOF
3663 cat confdefs.h
>>conftest.
$ac_ext
3664 cat >>conftest.
$ac_ext <<_ACEOF
3665 /* end confdefs.h. */
3666 #include <$ac_header>
3668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3669 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3671 grep -v '^ *+' conftest.er1
>conftest.err
3673 cat conftest.err
>&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); } >/dev
/null
; then
3676 if test -s conftest.err
; then
3677 ac_cpp_err
=$ac_c_preproc_warn_flag
3678 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3685 if test -z "$ac_cpp_err"; then
3686 ac_header_preproc
=yes
3688 echo "$as_me: failed program was:" >&5
3689 sed 's/^/| /' conftest.
$ac_ext >&5
3691 ac_header_preproc
=no
3693 rm -f conftest.err conftest.
$ac_ext
3694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3695 echo "${ECHO_T}$ac_header_preproc" >&6
3697 # So? What about this header?
3698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3703 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3704 ac_header_preproc
=yes
3707 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3709 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3710 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3711 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3712 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3713 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3714 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3717 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3718 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3721 ## ------------------------------------------ ##
3722 ## Report this to the AC_PACKAGE_NAME lists. ##
3723 ## ------------------------------------------ ##
3726 sed "s/^/$as_me: WARNING: /" >&2
3729 echo "$as_me:$LINENO: checking for $ac_header" >&5
3730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3732 echo $ECHO_N "(cached) $ECHO_C" >&6
3734 eval "$as_ac_Header=\$ac_header_preproc"
3736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3741 cat >>confdefs.h
<<_ACEOF
3742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3749 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
3750 enable_libunwind
=yes;
3755 if test x
"$enable_libunwind" = xyes
; then
3757 for ac_header
in libunwind.h
3759 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3761 echo "$as_me:$LINENO: checking for $ac_header" >&5
3762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3764 echo $ECHO_N "(cached) $ECHO_C" >&6
3766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3769 # Is the header compilable?
3770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3772 cat >conftest.
$ac_ext <<_ACEOF
3775 cat confdefs.h
>>conftest.
$ac_ext
3776 cat >>conftest.
$ac_ext <<_ACEOF
3777 /* end confdefs.h. */
3778 $ac_includes_default
3779 #include <$ac_header>
3781 rm -f conftest.
$ac_objext
3782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3783 (eval $ac_compile) 2>conftest.er1
3785 grep -v '^ *+' conftest.er1
>conftest.err
3787 cat conftest.err
>&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); } &&
3790 { ac_try
='test -z "$ac_c_werror_flag"
3791 || test ! -s conftest.err'
3792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }; } &&
3797 { ac_try
='test -s conftest.$ac_objext'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; }; then
3803 ac_header_compiler
=yes
3805 echo "$as_me: failed program was:" >&5
3806 sed 's/^/| /' conftest.
$ac_ext >&5
3808 ac_header_compiler
=no
3810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3812 echo "${ECHO_T}$ac_header_compiler" >&6
3814 # Is the header present?
3815 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3817 cat >conftest.
$ac_ext <<_ACEOF
3820 cat confdefs.h
>>conftest.
$ac_ext
3821 cat >>conftest.
$ac_ext <<_ACEOF
3822 /* end confdefs.h. */
3823 #include <$ac_header>
3825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3826 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3828 grep -v '^ *+' conftest.er1
>conftest.err
3830 cat conftest.err
>&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } >/dev
/null
; then
3833 if test -s conftest.err
; then
3834 ac_cpp_err
=$ac_c_preproc_warn_flag
3835 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3842 if test -z "$ac_cpp_err"; then
3843 ac_header_preproc
=yes
3845 echo "$as_me: failed program was:" >&5
3846 sed 's/^/| /' conftest.
$ac_ext >&5
3848 ac_header_preproc
=no
3850 rm -f conftest.err conftest.
$ac_ext
3851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3852 echo "${ECHO_T}$ac_header_preproc" >&6
3854 # So? What about this header?
3855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3857 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3860 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3861 ac_header_preproc
=yes
3864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3868 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3869 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3870 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3871 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3874 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3875 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3878 ## ------------------------------------------ ##
3879 ## Report this to the AC_PACKAGE_NAME lists. ##
3880 ## ------------------------------------------ ##
3883 sed "s/^/$as_me: WARNING: /" >&2
3886 echo "$as_me:$LINENO: checking for $ac_header" >&5
3887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3889 echo $ECHO_N "(cached) $ECHO_C" >&6
3891 eval "$as_ac_Header=\$ac_header_preproc"
3893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3898 cat >>confdefs.h
<<_ACEOF
3899 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3907 for ac_header
in libunwind-ia64.h
3909 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3911 echo "$as_me:$LINENO: checking for $ac_header" >&5
3912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3914 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3919 # Is the header compilable?
3920 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3921 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3922 cat >conftest.
$ac_ext <<_ACEOF
3925 cat confdefs.h
>>conftest.
$ac_ext
3926 cat >>conftest.
$ac_ext <<_ACEOF
3927 /* end confdefs.h. */
3928 $ac_includes_default
3929 #include <$ac_header>
3931 rm -f conftest.
$ac_objext
3932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3933 (eval $ac_compile) 2>conftest.er1
3935 grep -v '^ *+' conftest.er1
>conftest.err
3937 cat conftest.err
>&5
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); } &&
3940 { ac_try
='test -z "$ac_c_werror_flag"
3941 || test ! -s conftest.err'
3942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); }; } &&
3947 { ac_try
='test -s conftest.$ac_objext'
3948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); }; }; then
3953 ac_header_compiler
=yes
3955 echo "$as_me: failed program was:" >&5
3956 sed 's/^/| /' conftest.
$ac_ext >&5
3958 ac_header_compiler
=no
3960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3962 echo "${ECHO_T}$ac_header_compiler" >&6
3964 # Is the header present?
3965 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3967 cat >conftest.
$ac_ext <<_ACEOF
3970 cat confdefs.h
>>conftest.
$ac_ext
3971 cat >>conftest.
$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3973 #include <$ac_header>
3975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3976 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3978 grep -v '^ *+' conftest.er1
>conftest.err
3980 cat conftest.err
>&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); } >/dev
/null
; then
3983 if test -s conftest.err
; then
3984 ac_cpp_err
=$ac_c_preproc_warn_flag
3985 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3992 if test -z "$ac_cpp_err"; then
3993 ac_header_preproc
=yes
3995 echo "$as_me: failed program was:" >&5
3996 sed 's/^/| /' conftest.
$ac_ext >&5
3998 ac_header_preproc
=no
4000 rm -f conftest.err conftest.
$ac_ext
4001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4002 echo "${ECHO_T}$ac_header_preproc" >&6
4004 # So? What about this header?
4005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4007 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4008 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4010 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4011 ac_header_preproc
=yes
4014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4016 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4017 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4018 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4019 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4020 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4021 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4024 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4025 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4028 ## ------------------------------------------ ##
4029 ## Report this to the AC_PACKAGE_NAME lists. ##
4030 ## ------------------------------------------ ##
4033 sed "s/^/$as_me: WARNING: /" >&2
4036 echo "$as_me:$LINENO: checking for $ac_header" >&5
4037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4039 echo $ECHO_N "(cached) $ECHO_C" >&6
4041 eval "$as_ac_Header=\$ac_header_preproc"
4043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4048 cat >>confdefs.h
<<_ACEOF
4049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4057 cat >>confdefs.h
<<\_ACEOF
4058 #define HAVE_LIBUNWIND 1
4061 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
4062 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
4063 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
4066 # Profiling support.
4067 # Check whether --enable-profiling or --disable-profiling was given.
4068 if test "${enable_profiling+set}" = set; then
4069 enableval
="$enable_profiling"
4074 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
4075 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
4076 { (exit 1); exit 1; }; } ;;
4084 for ac_func
in monstartup _mcleanup
4086 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4087 echo "$as_me:$LINENO: checking for $ac_func" >&5
4088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4089 if eval "test \"\${$as_ac_var+set}\" = set"; then
4090 echo $ECHO_N "(cached) $ECHO_C" >&6
4092 cat >conftest.
$ac_ext <<_ACEOF
4095 cat confdefs.h
>>conftest.
$ac_ext
4096 cat >>conftest.
$ac_ext <<_ACEOF
4097 /* end confdefs.h. */
4098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4100 #define $ac_func innocuous_$ac_func
4102 /* System header to define __stub macros and hopefully few prototypes,
4103 which can conflict with char $ac_func (); below.
4104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4105 <limits.h> exists even on freestanding compilers. */
4108 # include <limits.h>
4110 # include <assert.h>
4115 /* Override any gcc2 internal prototype to avoid an error. */
4120 /* We use char because int might match the return type of a gcc2
4121 builtin and then its argument prototype would still apply. */
4123 /* The GNU C library defines this for functions which it implements
4124 to always fail with ENOSYS. Some functions are actually named
4125 something starting with __ and the normal name is an alias. */
4126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4129 char (*f) () = $ac_func;
4138 return f != $ac_func;
4143 rm -f conftest.
$ac_objext conftest
$ac_exeext
4144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4145 (eval $ac_link) 2>conftest.er1
4147 grep -v '^ *+' conftest.er1
>conftest.err
4149 cat conftest.err
>&5
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); } &&
4152 { ac_try
='test -z "$ac_c_werror_flag"
4153 || test ! -s conftest.err'
4154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); }; } &&
4159 { ac_try
='test -s conftest$ac_exeext'
4160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }; }; then
4165 eval "$as_ac_var=yes"
4167 echo "$as_me: failed program was:" >&5
4168 sed 's/^/| /' conftest.
$ac_ext >&5
4170 eval "$as_ac_var=no"
4172 rm -f conftest.err conftest.
$ac_objext \
4173 conftest
$ac_exeext conftest.
$ac_ext
4175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4177 if test `eval echo '${'$as_ac_var'}'` = yes; then
4178 cat >>confdefs.h
<<_ACEOF
4179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4185 echo "$as_me:$LINENO: checking for _etext" >&5
4186 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
4187 if test "${ac_cv_var__etext+set}" = set; then
4188 echo $ECHO_N "(cached) $ECHO_C" >&6
4190 cat >conftest.
$ac_ext <<_ACEOF
4193 cat confdefs.h
>>conftest.
$ac_ext
4194 cat >>conftest.
$ac_ext <<_ACEOF
4195 /* end confdefs.h. */
4207 rm -f conftest.
$ac_objext conftest
$ac_exeext
4208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4209 (eval $ac_link) 2>conftest.er1
4211 grep -v '^ *+' conftest.er1
>conftest.err
4213 cat conftest.err
>&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } &&
4216 { ac_try
='test -z "$ac_c_werror_flag"
4217 || test ! -s conftest.err'
4218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); }; } &&
4223 { ac_try
='test -s conftest$ac_exeext'
4224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); }; }; then
4229 ac_cv_var__etext
=yes
4231 echo "$as_me: failed program was:" >&5
4232 sed 's/^/| /' conftest.
$ac_ext >&5
4236 rm -f conftest.err conftest.
$ac_objext \
4237 conftest
$ac_exeext conftest.
$ac_ext
4239 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
4240 echo "${ECHO_T}$ac_cv_var__etext" >&6
4241 if test $ac_cv_var__etext = yes; then
4243 cat >>confdefs.h
<<\_ACEOF
4244 #define HAVE__ETEXT 1
4248 if test "$enable_profiling" = yes ; then
4249 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
4250 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
4251 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
4252 { (exit 1); exit 1; }; }
4255 OLD_CFLAGS
="$CFLAGS"
4256 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
4258 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
4259 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
4260 if test "${ac_cv_cc_supports_pg+set}" = set; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 cat >conftest.
$ac_ext <<_ACEOF
4266 cat confdefs.h
>>conftest.
$ac_ext
4267 cat >>conftest.
$ac_ext <<_ACEOF
4268 /* end confdefs.h. */
4278 rm -f conftest.
$ac_objext
4279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4280 (eval $ac_compile) 2>conftest.er1
4282 grep -v '^ *+' conftest.er1
>conftest.err
4284 cat conftest.err
>&5
4285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4286 (exit $ac_status); } &&
4287 { ac_try
='test -z "$ac_c_werror_flag"
4288 || test ! -s conftest.err'
4289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 (exit $ac_status); }; } &&
4294 { ac_try
='test -s conftest.$ac_objext'
4295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); }; }; then
4300 ac_cv_cc_supports_pg
=yes
4302 echo "$as_me: failed program was:" >&5
4303 sed 's/^/| /' conftest.
$ac_ext >&5
4305 ac_cv_cc_supports_pg
=no
4307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4309 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
4310 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
4312 if test $ac_cv_cc_supports_pg = no
; then
4313 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
4314 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
4315 { (exit 1); exit 1; }; }
4318 CFLAGS
="$OLD_CFLAGS"
4321 # --------------------- #
4322 # Checks for programs. #
4323 # --------------------- #
4325 for ac_prog
in gawk mawk nawk
awk
4327 # Extract the first word of "$ac_prog", so it can be a program name with args.
4328 set dummy
$ac_prog; ac_word
=$2
4329 echo "$as_me:$LINENO: checking for $ac_word" >&5
4330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4331 if test "${ac_cv_prog_AWK+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 if test -n "$AWK"; then
4335 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4341 test -z "$as_dir" && as_dir
=.
4342 for ac_exec_ext
in '' $ac_executable_extensions; do
4343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4344 ac_cv_prog_AWK
="$ac_prog"
4345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 if test -n "$AWK"; then
4355 echo "$as_me:$LINENO: result: $AWK" >&5
4356 echo "${ECHO_T}$AWK" >&6
4358 echo "$as_me:$LINENO: result: no" >&5
4359 echo "${ECHO_T}no" >&6
4362 test -n "$AWK" && break
4365 # Find a good install program. We prefer a C program (faster),
4366 # so one script is as good as another. But avoid the broken or
4367 # incompatible versions:
4368 # SysV /etc/install, /usr/sbin/install
4369 # SunOS /usr/etc/install
4370 # IRIX /sbin/install
4372 # AmigaOS /C/install, which installs bootblocks on floppy discs
4373 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4376 # OS/2's system install, which has a completely different semantic
4377 # ./install, which can be erroneously created by make from ./install.sh.
4378 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4379 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4380 if test -z "$INSTALL"; then
4381 if test "${ac_cv_path_install+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4388 test -z "$as_dir" && as_dir
=.
4389 # Account for people who put trailing slashes in PATH elements.
4391 .
/ | .
// |
/cC
/* | \
4392 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4393 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4396 # OSF1 and SCO ODT 3.0 have their own names for install.
4397 # Don't use installbsd from OSF since it installs stuff as root
4399 for ac_prog
in ginstall scoinst
install; do
4400 for ac_exec_ext
in '' $ac_executable_extensions; do
4401 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4402 if test $ac_prog = install &&
4403 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4404 # AIX install. It has an incompatible calling convention.
4406 elif test $ac_prog = install &&
4407 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4408 # program-specific install script used by HP pwplus--don't use.
4411 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4423 if test "${ac_cv_path_install+set}" = set; then
4424 INSTALL
=$ac_cv_path_install
4426 # As a last resort, use the slow shell script. We don't cache a
4427 # path for INSTALL within a source directory, because that will
4428 # break other packages using the cache if that directory is
4429 # removed, or if the path is relative.
4430 INSTALL
=$ac_install_sh
4433 echo "$as_me:$LINENO: result: $INSTALL" >&5
4434 echo "${ECHO_T}$INSTALL" >&6
4436 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4437 # It thinks the first close brace ends the variable substitution.
4438 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4440 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4442 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4444 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4445 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4447 if test "$LN_S" = "ln -s"; then
4448 echo "$as_me:$LINENO: result: yes" >&5
4449 echo "${ECHO_T}yes" >&6
4451 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4452 echo "${ECHO_T}no, using $LN_S" >&6
4455 if test -n "$ac_tool_prefix"; then
4456 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4457 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4458 echo "$as_me:$LINENO: checking for $ac_word" >&5
4459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4460 if test "${ac_cv_prog_RANLIB+set}" = set; then
4461 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 if test -n "$RANLIB"; then
4464 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4470 test -z "$as_dir" && as_dir
=.
4471 for ac_exec_ext
in '' $ac_executable_extensions; do
4472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4473 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 RANLIB
=$ac_cv_prog_RANLIB
4483 if test -n "$RANLIB"; then
4484 echo "$as_me:$LINENO: result: $RANLIB" >&5
4485 echo "${ECHO_T}$RANLIB" >&6
4487 echo "$as_me:$LINENO: result: no" >&5
4488 echo "${ECHO_T}no" >&6
4492 if test -z "$ac_cv_prog_RANLIB"; then
4493 ac_ct_RANLIB
=$RANLIB
4494 # Extract the first word of "ranlib", so it can be a program name with args.
4495 set dummy ranlib
; ac_word
=$2
4496 echo "$as_me:$LINENO: checking for $ac_word" >&5
4497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4498 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4499 echo $ECHO_N "(cached) $ECHO_C" >&6
4501 if test -n "$ac_ct_RANLIB"; then
4502 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4508 test -z "$as_dir" && as_dir
=.
4509 for ac_exec_ext
in '' $ac_executable_extensions; do
4510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4511 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4518 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4521 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4522 if test -n "$ac_ct_RANLIB"; then
4523 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4524 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4526 echo "$as_me:$LINENO: result: no" >&5
4527 echo "${ECHO_T}no" >&6
4530 RANLIB
=$ac_ct_RANLIB
4532 RANLIB
="$ac_cv_prog_RANLIB"
4535 for ac_prog
in 'bison -y' byacc
4537 # Extract the first word of "$ac_prog", so it can be a program name with args.
4538 set dummy
$ac_prog; ac_word
=$2
4539 echo "$as_me:$LINENO: checking for $ac_word" >&5
4540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4541 if test "${ac_cv_prog_YACC+set}" = set; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4544 if test -n "$YACC"; then
4545 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4551 test -z "$as_dir" && as_dir
=.
4552 for ac_exec_ext
in '' $ac_executable_extensions; do
4553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4554 ac_cv_prog_YACC
="$ac_prog"
4555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 YACC
=$ac_cv_prog_YACC
4564 if test -n "$YACC"; then
4565 echo "$as_me:$LINENO: result: $YACC" >&5
4566 echo "${ECHO_T}$YACC" >&6
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4572 test -n "$YACC" && break
4574 test -n "$YACC" || YACC
="yacc"
4577 if test -n "$ac_tool_prefix"; then
4578 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4579 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4580 echo "$as_me:$LINENO: checking for $ac_word" >&5
4581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4582 if test "${ac_cv_prog_AR+set}" = set; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 if test -n "$AR"; then
4586 ac_cv_prog_AR
="$AR" # Let the user override the test.
4588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4592 test -z "$as_dir" && as_dir
=.
4593 for ac_exec_ext
in '' $ac_executable_extensions; do
4594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4595 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 if test -n "$AR"; then
4606 echo "$as_me:$LINENO: result: $AR" >&5
4607 echo "${ECHO_T}$AR" >&6
4609 echo "$as_me:$LINENO: result: no" >&5
4610 echo "${ECHO_T}no" >&6
4614 if test -z "$ac_cv_prog_AR"; then
4616 # Extract the first word of "ar", so it can be a program name with args.
4617 set dummy
ar; ac_word
=$2
4618 echo "$as_me:$LINENO: checking for $ac_word" >&5
4619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4620 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 if test -n "$ac_ct_AR"; then
4624 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4630 test -z "$as_dir" && as_dir
=.
4631 for ac_exec_ext
in '' $ac_executable_extensions; do
4632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4633 ac_cv_prog_ac_ct_AR
="ar"
4634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4643 if test -n "$ac_ct_AR"; then
4644 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4645 echo "${ECHO_T}$ac_ct_AR" >&6
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4656 if test -n "$ac_tool_prefix"; then
4657 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4658 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4659 echo "$as_me:$LINENO: checking for $ac_word" >&5
4660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4661 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4662 echo $ECHO_N "(cached) $ECHO_C" >&6
4664 if test -n "$DLLTOOL"; then
4665 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir
=.
4672 for ac_exec_ext
in '' $ac_executable_extensions; do
4673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 DLLTOOL
=$ac_cv_prog_DLLTOOL
4684 if test -n "$DLLTOOL"; then
4685 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4686 echo "${ECHO_T}$DLLTOOL" >&6
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4693 if test -z "$ac_cv_prog_DLLTOOL"; then
4694 ac_ct_DLLTOOL
=$DLLTOOL
4695 # Extract the first word of "dlltool", so it can be a program name with args.
4696 set dummy dlltool
; ac_word
=$2
4697 echo "$as_me:$LINENO: checking for $ac_word" >&5
4698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4699 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 if test -n "$ac_ct_DLLTOOL"; then
4703 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4709 test -z "$as_dir" && as_dir
=.
4710 for ac_exec_ext
in '' $ac_executable_extensions; do
4711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4712 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4722 if test -n "$ac_ct_DLLTOOL"; then
4723 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4724 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4726 echo "$as_me:$LINENO: result: no" >&5
4727 echo "${ECHO_T}no" >&6
4730 DLLTOOL
=$ac_ct_DLLTOOL
4732 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4735 if test -n "$ac_tool_prefix"; then
4736 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4737 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4738 echo "$as_me:$LINENO: checking for $ac_word" >&5
4739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4740 if test "${ac_cv_prog_WINDRES+set}" = set; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4743 if test -n "$WINDRES"; then
4744 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir
=.
4751 for ac_exec_ext
in '' $ac_executable_extensions; do
4752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4753 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 WINDRES
=$ac_cv_prog_WINDRES
4763 if test -n "$WINDRES"; then
4764 echo "$as_me:$LINENO: result: $WINDRES" >&5
4765 echo "${ECHO_T}$WINDRES" >&6
4767 echo "$as_me:$LINENO: result: no" >&5
4768 echo "${ECHO_T}no" >&6
4772 if test -z "$ac_cv_prog_WINDRES"; then
4773 ac_ct_WINDRES
=$WINDRES
4774 # Extract the first word of "windres", so it can be a program name with args.
4775 set dummy windres
; ac_word
=$2
4776 echo "$as_me:$LINENO: checking for $ac_word" >&5
4777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4778 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4779 echo $ECHO_N "(cached) $ECHO_C" >&6
4781 if test -n "$ac_ct_WINDRES"; then
4782 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4788 test -z "$as_dir" && as_dir
=.
4789 for ac_exec_ext
in '' $ac_executable_extensions; do
4790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4791 ac_cv_prog_ac_ct_WINDRES
="windres"
4792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4800 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4801 if test -n "$ac_ct_WINDRES"; then
4802 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4803 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4805 echo "$as_me:$LINENO: result: no" >&5
4806 echo "${ECHO_T}no" >&6
4809 WINDRES
=$ac_ct_WINDRES
4811 WINDRES
="$ac_cv_prog_WINDRES"
4815 # Needed for GNU/Hurd.
4816 if test -n "$ac_tool_prefix"; then
4817 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
4818 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
4819 echo "$as_me:$LINENO: checking for $ac_word" >&5
4820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4821 if test "${ac_cv_prog_MIG+set}" = set; then
4822 echo $ECHO_N "(cached) $ECHO_C" >&6
4824 if test -n "$MIG"; then
4825 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
4827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4831 test -z "$as_dir" && as_dir
=.
4832 for ac_exec_ext
in '' $ac_executable_extensions; do
4833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4834 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
4835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 if test -n "$MIG"; then
4845 echo "$as_me:$LINENO: result: $MIG" >&5
4846 echo "${ECHO_T}$MIG" >&6
4848 echo "$as_me:$LINENO: result: no" >&5
4849 echo "${ECHO_T}no" >&6
4853 if test -z "$ac_cv_prog_MIG"; then
4855 # Extract the first word of "mig", so it can be a program name with args.
4856 set dummy mig
; ac_word
=$2
4857 echo "$as_me:$LINENO: checking for $ac_word" >&5
4858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4859 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
4860 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 if test -n "$ac_ct_MIG"; then
4863 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
4865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4869 test -z "$as_dir" && as_dir
=.
4870 for ac_exec_ext
in '' $ac_executable_extensions; do
4871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4872 ac_cv_prog_ac_ct_MIG
="mig"
4873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4881 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
4882 if test -n "$ac_ct_MIG"; then
4883 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
4884 echo "${ECHO_T}$ac_ct_MIG" >&6
4886 echo "$as_me:$LINENO: result: no" >&5
4887 echo "${ECHO_T}no" >&6
4892 MIG
="$ac_cv_prog_MIG"
4896 # ---------------------- #
4897 # Checks for libraries. #
4898 # ---------------------- #
4900 # We might need to link with -lm; most simulators need it.
4902 echo "$as_me:$LINENO: checking for main in -lm" >&5
4903 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4904 if test "${ac_cv_lib_m_main+set}" = set; then
4905 echo $ECHO_N "(cached) $ECHO_C" >&6
4907 ac_check_lib_save_LIBS
=$LIBS
4909 cat >conftest.
$ac_ext <<_ACEOF
4912 cat confdefs.h
>>conftest.
$ac_ext
4913 cat >>conftest.
$ac_ext <<_ACEOF
4914 /* end confdefs.h. */
4925 rm -f conftest.
$ac_objext conftest
$ac_exeext
4926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4927 (eval $ac_link) 2>conftest.er1
4929 grep -v '^ *+' conftest.er1
>conftest.err
4931 cat conftest.err
>&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } &&
4934 { ac_try
='test -z "$ac_c_werror_flag"
4935 || test ! -s conftest.err'
4936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940 (exit $ac_status); }; } &&
4941 { ac_try
='test -s conftest$ac_exeext'
4942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); }; }; then
4947 ac_cv_lib_m_main
=yes
4949 echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.
$ac_ext >&5
4954 rm -f conftest.err conftest.
$ac_objext \
4955 conftest
$ac_exeext conftest.
$ac_ext
4956 LIBS
=$ac_check_lib_save_LIBS
4958 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4959 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4960 if test $ac_cv_lib_m_main = yes; then
4961 cat >>confdefs.h
<<_ACEOF
4970 # We need to link with -lw to get `wctype' on Solaris before Solaris
4971 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
4972 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
4973 # is known to have this problem). Therefore we avoid libw if we can.
4974 echo "$as_me:$LINENO: checking for wctype" >&5
4975 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
4976 if test "${ac_cv_func_wctype+set}" = set; then
4977 echo $ECHO_N "(cached) $ECHO_C" >&6
4979 cat >conftest.
$ac_ext <<_ACEOF
4982 cat confdefs.h
>>conftest.
$ac_ext
4983 cat >>conftest.
$ac_ext <<_ACEOF
4984 /* end confdefs.h. */
4985 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
4986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4987 #define wctype innocuous_wctype
4989 /* System header to define __stub macros and hopefully few prototypes,
4990 which can conflict with char wctype (); below.
4991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4992 <limits.h> exists even on freestanding compilers. */
4995 # include <limits.h>
4997 # include <assert.h>
5002 /* Override any gcc2 internal prototype to avoid an error. */
5007 /* We use char because int might match the return type of a gcc2
5008 builtin and then its argument prototype would still apply. */
5010 /* The GNU C library defines this for functions which it implements
5011 to always fail with ENOSYS. Some functions are actually named
5012 something starting with __ and the normal name is an alias. */
5013 #if defined (__stub_wctype) || defined (__stub___wctype)
5016 char (*f) () = wctype;
5030 rm -f conftest.
$ac_objext conftest
$ac_exeext
5031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5032 (eval $ac_link) 2>conftest.er1
5034 grep -v '^ *+' conftest.er1
>conftest.err
5036 cat conftest.err
>&5
5037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038 (exit $ac_status); } &&
5039 { ac_try
='test -z "$ac_c_werror_flag"
5040 || test ! -s conftest.err'
5041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; } &&
5046 { ac_try
='test -s conftest$ac_exeext'
5047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); }; }; then
5052 ac_cv_func_wctype
=yes
5054 echo "$as_me: failed program was:" >&5
5055 sed 's/^/| /' conftest.
$ac_ext >&5
5057 ac_cv_func_wctype
=no
5059 rm -f conftest.err conftest.
$ac_objext \
5060 conftest
$ac_exeext conftest.
$ac_ext
5062 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
5063 echo "${ECHO_T}$ac_cv_func_wctype" >&6
5064 if test $ac_cv_func_wctype = yes; then
5068 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
5069 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
5070 if test "${ac_cv_lib_w_wctype+set}" = set; then
5071 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 ac_check_lib_save_LIBS
=$LIBS
5075 cat >conftest.
$ac_ext <<_ACEOF
5078 cat confdefs.h
>>conftest.
$ac_ext
5079 cat >>conftest.
$ac_ext <<_ACEOF
5080 /* end confdefs.h. */
5082 /* Override any gcc2 internal prototype to avoid an error. */
5086 /* We use char because int might match the return type of a gcc2
5087 builtin and then its argument prototype would still apply. */
5097 rm -f conftest.
$ac_objext conftest
$ac_exeext
5098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5099 (eval $ac_link) 2>conftest.er1
5101 grep -v '^ *+' conftest.er1
>conftest.err
5103 cat conftest.err
>&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } &&
5106 { ac_try
='test -z "$ac_c_werror_flag"
5107 || test ! -s conftest.err'
5108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); }; } &&
5113 { ac_try
='test -s conftest$ac_exeext'
5114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; }; then
5119 ac_cv_lib_w_wctype
=yes
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.
$ac_ext >&5
5124 ac_cv_lib_w_wctype
=no
5126 rm -f conftest.err conftest.
$ac_objext \
5127 conftest
$ac_exeext conftest.
$ac_ext
5128 LIBS
=$ac_check_lib_save_LIBS
5130 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
5131 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
5132 if test $ac_cv_lib_w_wctype = yes; then
5133 cat >>confdefs.h
<<_ACEOF
5144 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
5145 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
5146 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
5147 if test "${ac_cv_search_gethostbyname+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 ac_func_search_save_LIBS
=$LIBS
5151 ac_cv_search_gethostbyname
=no
5152 cat >conftest.
$ac_ext <<_ACEOF
5155 cat confdefs.h
>>conftest.
$ac_ext
5156 cat >>conftest.
$ac_ext <<_ACEOF
5157 /* end confdefs.h. */
5159 /* Override any gcc2 internal prototype to avoid an error. */
5163 /* We use char because int might match the return type of a gcc2
5164 builtin and then its argument prototype would still apply. */
5165 char gethostbyname ();
5174 rm -f conftest.
$ac_objext conftest
$ac_exeext
5175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5176 (eval $ac_link) 2>conftest.er1
5178 grep -v '^ *+' conftest.er1
>conftest.err
5180 cat conftest.err
>&5
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); } &&
5183 { ac_try
='test -z "$ac_c_werror_flag"
5184 || test ! -s conftest.err'
5185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); }; } &&
5190 { ac_try
='test -s conftest$ac_exeext'
5191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); }; }; then
5196 ac_cv_search_gethostbyname
="none required"
5198 echo "$as_me: failed program was:" >&5
5199 sed 's/^/| /' conftest.
$ac_ext >&5
5202 rm -f conftest.err conftest.
$ac_objext \
5203 conftest
$ac_exeext conftest.
$ac_ext
5204 if test "$ac_cv_search_gethostbyname" = no
; then
5205 for ac_lib
in nsl
; do
5206 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5207 cat >conftest.
$ac_ext <<_ACEOF
5210 cat confdefs.h
>>conftest.
$ac_ext
5211 cat >>conftest.
$ac_ext <<_ACEOF
5212 /* end confdefs.h. */
5214 /* Override any gcc2 internal prototype to avoid an error. */
5218 /* We use char because int might match the return type of a gcc2
5219 builtin and then its argument prototype would still apply. */
5220 char gethostbyname ();
5229 rm -f conftest.
$ac_objext conftest
$ac_exeext
5230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5231 (eval $ac_link) 2>conftest.er1
5233 grep -v '^ *+' conftest.er1
>conftest.err
5235 cat conftest.err
>&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); } &&
5238 { ac_try
='test -z "$ac_c_werror_flag"
5239 || test ! -s conftest.err'
5240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); }; } &&
5245 { ac_try
='test -s conftest$ac_exeext'
5246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250 (exit $ac_status); }; }; then
5251 ac_cv_search_gethostbyname
="-l$ac_lib"
5254 echo "$as_me: failed program was:" >&5
5255 sed 's/^/| /' conftest.
$ac_ext >&5
5258 rm -f conftest.err conftest.
$ac_objext \
5259 conftest
$ac_exeext conftest.
$ac_ext
5262 LIBS
=$ac_func_search_save_LIBS
5264 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
5265 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
5266 if test "$ac_cv_search_gethostbyname" != no
; then
5267 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
5272 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
5273 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
5274 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
5275 if test "${ac_cv_search_socketpair+set}" = set; then
5276 echo $ECHO_N "(cached) $ECHO_C" >&6
5278 ac_func_search_save_LIBS
=$LIBS
5279 ac_cv_search_socketpair
=no
5280 cat >conftest.
$ac_ext <<_ACEOF
5283 cat confdefs.h
>>conftest.
$ac_ext
5284 cat >>conftest.
$ac_ext <<_ACEOF
5285 /* end confdefs.h. */
5287 /* Override any gcc2 internal prototype to avoid an error. */
5291 /* We use char because int might match the return type of a gcc2
5292 builtin and then its argument prototype would still apply. */
5302 rm -f conftest.
$ac_objext conftest
$ac_exeext
5303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5304 (eval $ac_link) 2>conftest.er1
5306 grep -v '^ *+' conftest.er1
>conftest.err
5308 cat conftest.err
>&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); } &&
5311 { ac_try
='test -z "$ac_c_werror_flag"
5312 || test ! -s conftest.err'
5313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); }; } &&
5318 { ac_try
='test -s conftest$ac_exeext'
5319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; }; then
5324 ac_cv_search_socketpair
="none required"
5326 echo "$as_me: failed program was:" >&5
5327 sed 's/^/| /' conftest.
$ac_ext >&5
5330 rm -f conftest.err conftest.
$ac_objext \
5331 conftest
$ac_exeext conftest.
$ac_ext
5332 if test "$ac_cv_search_socketpair" = no
; then
5333 for ac_lib
in socket
; do
5334 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5335 cat >conftest.
$ac_ext <<_ACEOF
5338 cat confdefs.h
>>conftest.
$ac_ext
5339 cat >>conftest.
$ac_ext <<_ACEOF
5340 /* end confdefs.h. */
5342 /* Override any gcc2 internal prototype to avoid an error. */
5346 /* We use char because int might match the return type of a gcc2
5347 builtin and then its argument prototype would still apply. */
5357 rm -f conftest.
$ac_objext conftest
$ac_exeext
5358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5359 (eval $ac_link) 2>conftest.er1
5361 grep -v '^ *+' conftest.er1
>conftest.err
5363 cat conftest.err
>&5
5364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); } &&
5366 { ac_try
='test -z "$ac_c_werror_flag"
5367 || test ! -s conftest.err'
5368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); }; } &&
5373 { ac_try
='test -s conftest$ac_exeext'
5374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); }; }; then
5379 ac_cv_search_socketpair
="-l$ac_lib"
5382 echo "$as_me: failed program was:" >&5
5383 sed 's/^/| /' conftest.
$ac_ext >&5
5386 rm -f conftest.err conftest.
$ac_objext \
5387 conftest
$ac_exeext conftest.
$ac_ext
5390 LIBS
=$ac_func_search_save_LIBS
5392 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
5393 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
5394 if test "$ac_cv_search_socketpair" != no
; then
5395 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
5400 # For the TUI, we need enhanced curses functionality.
5402 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
5403 # curses library because the latter might not provide all the
5404 # functionality we need. However, this leads to problems on systems
5405 # where the linker searches /usr/local/lib, but the compiler doesn't
5406 # search /usr/local/include, if ncurses is installed in /usr/local. A
5407 # default installation of ncurses on alpha*-dec-osf* will lead to such
5409 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
5410 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
5411 if test "${ac_cv_search_waddstr+set}" = set; then
5412 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 ac_func_search_save_LIBS
=$LIBS
5415 ac_cv_search_waddstr
=no
5416 cat >conftest.
$ac_ext <<_ACEOF
5419 cat confdefs.h
>>conftest.
$ac_ext
5420 cat >>conftest.
$ac_ext <<_ACEOF
5421 /* end confdefs.h. */
5423 /* Override any gcc2 internal prototype to avoid an error. */
5427 /* We use char because int might match the return type of a gcc2
5428 builtin and then its argument prototype would still apply. */
5438 rm -f conftest.
$ac_objext conftest
$ac_exeext
5439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5440 (eval $ac_link) 2>conftest.er1
5442 grep -v '^ *+' conftest.er1
>conftest.err
5444 cat conftest.err
>&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); } &&
5447 { ac_try
='test -z "$ac_c_werror_flag"
5448 || test ! -s conftest.err'
5449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); }; } &&
5454 { ac_try
='test -s conftest$ac_exeext'
5455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); }; }; then
5460 ac_cv_search_waddstr
="none required"
5462 echo "$as_me: failed program was:" >&5
5463 sed 's/^/| /' conftest.
$ac_ext >&5
5466 rm -f conftest.err conftest.
$ac_objext \
5467 conftest
$ac_exeext conftest.
$ac_ext
5468 if test "$ac_cv_search_waddstr" = no
; then
5469 for ac_lib
in ncurses cursesX curses
; do
5470 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5471 cat >conftest.
$ac_ext <<_ACEOF
5474 cat confdefs.h
>>conftest.
$ac_ext
5475 cat >>conftest.
$ac_ext <<_ACEOF
5476 /* end confdefs.h. */
5478 /* Override any gcc2 internal prototype to avoid an error. */
5482 /* We use char because int might match the return type of a gcc2
5483 builtin and then its argument prototype would still apply. */
5493 rm -f conftest.
$ac_objext conftest
$ac_exeext
5494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5495 (eval $ac_link) 2>conftest.er1
5497 grep -v '^ *+' conftest.er1
>conftest.err
5499 cat conftest.err
>&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); } &&
5502 { ac_try
='test -z "$ac_c_werror_flag"
5503 || test ! -s conftest.err'
5504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); }; } &&
5509 { ac_try
='test -s conftest$ac_exeext'
5510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; }; then
5515 ac_cv_search_waddstr
="-l$ac_lib"
5518 echo "$as_me: failed program was:" >&5
5519 sed 's/^/| /' conftest.
$ac_ext >&5
5522 rm -f conftest.err conftest.
$ac_objext \
5523 conftest
$ac_exeext conftest.
$ac_ext
5526 LIBS
=$ac_func_search_save_LIBS
5528 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
5529 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
5530 if test "$ac_cv_search_waddstr" != no
; then
5531 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
5536 # Since GDB uses Readline, we need termcap functionality. In many
5537 # cases this will be provided by the curses library, but some systems
5538 # have a seperate termcap library, or no curses library at all.
5542 if test -d $srcdir/libtermcap
; then
5543 LIBS
="../libtermcap/libtermcap.a $LIBS"
5544 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
5547 ac_cv_search_tgetent
="none required"
5550 ac_cv_search_tgetent
="none required"
5551 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
5555 # These are the libraries checked by Readline.
5556 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
5557 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
5558 if test "${ac_cv_search_tgetent+set}" = set; then
5559 echo $ECHO_N "(cached) $ECHO_C" >&6
5561 ac_func_search_save_LIBS
=$LIBS
5562 ac_cv_search_tgetent
=no
5563 cat >conftest.
$ac_ext <<_ACEOF
5566 cat confdefs.h
>>conftest.
$ac_ext
5567 cat >>conftest.
$ac_ext <<_ACEOF
5568 /* end confdefs.h. */
5570 /* Override any gcc2 internal prototype to avoid an error. */
5574 /* We use char because int might match the return type of a gcc2
5575 builtin and then its argument prototype would still apply. */
5585 rm -f conftest.
$ac_objext conftest
$ac_exeext
5586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5587 (eval $ac_link) 2>conftest.er1
5589 grep -v '^ *+' conftest.er1
>conftest.err
5591 cat conftest.err
>&5
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); } &&
5594 { ac_try
='test -z "$ac_c_werror_flag"
5595 || test ! -s conftest.err'
5596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; } &&
5601 { ac_try
='test -s conftest$ac_exeext'
5602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); }; }; then
5607 ac_cv_search_tgetent
="none required"
5609 echo "$as_me: failed program was:" >&5
5610 sed 's/^/| /' conftest.
$ac_ext >&5
5613 rm -f conftest.err conftest.
$ac_objext \
5614 conftest
$ac_exeext conftest.
$ac_ext
5615 if test "$ac_cv_search_tgetent" = no
; then
5616 for ac_lib
in termcap tinfo curses ncurses
; do
5617 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5618 cat >conftest.
$ac_ext <<_ACEOF
5621 cat confdefs.h
>>conftest.
$ac_ext
5622 cat >>conftest.
$ac_ext <<_ACEOF
5623 /* end confdefs.h. */
5625 /* Override any gcc2 internal prototype to avoid an error. */
5629 /* We use char because int might match the return type of a gcc2
5630 builtin and then its argument prototype would still apply. */
5640 rm -f conftest.
$ac_objext conftest
$ac_exeext
5641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5642 (eval $ac_link) 2>conftest.er1
5644 grep -v '^ *+' conftest.er1
>conftest.err
5646 cat conftest.err
>&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } &&
5649 { ac_try
='test -z "$ac_c_werror_flag"
5650 || test ! -s conftest.err'
5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }; } &&
5656 { ac_try
='test -s conftest$ac_exeext'
5657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); }; }; then
5662 ac_cv_search_tgetent
="-l$ac_lib"
5665 echo "$as_me: failed program was:" >&5
5666 sed 's/^/| /' conftest.
$ac_ext >&5
5669 rm -f conftest.err conftest.
$ac_objext \
5670 conftest
$ac_exeext conftest.
$ac_ext
5673 LIBS
=$ac_func_search_save_LIBS
5675 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
5676 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
5677 if test "$ac_cv_search_tgetent" != no
; then
5678 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
5683 if test "$ac_cv_search_tgetent" = no
; then
5684 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
5685 echo "$as_me: error: no termcap library found" >&2;}
5686 { (exit 1); exit 1; }; }
5689 # ------------------------- #
5690 # Checks for header files. #
5691 # ------------------------- #
5699 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5700 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5701 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5702 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
5703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 cat >conftest.
$ac_ext <<_ACEOF
5709 cat confdefs.h
>>conftest.
$ac_ext
5710 cat >>conftest.
$ac_ext <<_ACEOF
5711 /* end confdefs.h. */
5712 #include <sys/types.h>
5724 rm -f conftest.
$ac_objext
5725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5726 (eval $ac_compile) 2>conftest.er1
5728 grep -v '^ *+' conftest.er1
>conftest.err
5730 cat conftest.err
>&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); } &&
5733 { ac_try
='test -z "$ac_c_werror_flag"
5734 || test ! -s conftest.err'
5735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); }; } &&
5740 { ac_try
='test -s conftest.$ac_objext'
5741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); }; }; then
5746 eval "$as_ac_Header=yes"
5748 echo "$as_me: failed program was:" >&5
5749 sed 's/^/| /' conftest.
$ac_ext >&5
5751 eval "$as_ac_Header=no"
5753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5758 cat >>confdefs.h
<<_ACEOF
5759 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5762 ac_header_dirent
=$ac_hdr; break
5766 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5767 if test $ac_header_dirent = dirent.h
; then
5768 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5769 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5770 if test "${ac_cv_search_opendir+set}" = set; then
5771 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 ac_func_search_save_LIBS
=$LIBS
5774 ac_cv_search_opendir
=no
5775 cat >conftest.
$ac_ext <<_ACEOF
5778 cat confdefs.h
>>conftest.
$ac_ext
5779 cat >>conftest.
$ac_ext <<_ACEOF
5780 /* end confdefs.h. */
5782 /* Override any gcc2 internal prototype to avoid an error. */
5786 /* We use char because int might match the return type of a gcc2
5787 builtin and then its argument prototype would still apply. */
5797 rm -f conftest.
$ac_objext conftest
$ac_exeext
5798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5799 (eval $ac_link) 2>conftest.er1
5801 grep -v '^ *+' conftest.er1
>conftest.err
5803 cat conftest.err
>&5
5804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805 (exit $ac_status); } &&
5806 { ac_try
='test -z "$ac_c_werror_flag"
5807 || test ! -s conftest.err'
5808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); }; } &&
5813 { ac_try
='test -s conftest$ac_exeext'
5814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818 (exit $ac_status); }; }; then
5819 ac_cv_search_opendir
="none required"
5821 echo "$as_me: failed program was:" >&5
5822 sed 's/^/| /' conftest.
$ac_ext >&5
5825 rm -f conftest.err conftest.
$ac_objext \
5826 conftest
$ac_exeext conftest.
$ac_ext
5827 if test "$ac_cv_search_opendir" = no
; then
5828 for ac_lib
in dir
; do
5829 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5830 cat >conftest.
$ac_ext <<_ACEOF
5833 cat confdefs.h
>>conftest.
$ac_ext
5834 cat >>conftest.
$ac_ext <<_ACEOF
5835 /* end confdefs.h. */
5837 /* Override any gcc2 internal prototype to avoid an error. */
5841 /* We use char because int might match the return type of a gcc2
5842 builtin and then its argument prototype would still apply. */
5852 rm -f conftest.
$ac_objext conftest
$ac_exeext
5853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5854 (eval $ac_link) 2>conftest.er1
5856 grep -v '^ *+' conftest.er1
>conftest.err
5858 cat conftest.err
>&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); } &&
5861 { ac_try
='test -z "$ac_c_werror_flag"
5862 || test ! -s conftest.err'
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); }; } &&
5868 { ac_try
='test -s conftest$ac_exeext'
5869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); }; }; then
5874 ac_cv_search_opendir
="-l$ac_lib"
5877 echo "$as_me: failed program was:" >&5
5878 sed 's/^/| /' conftest.
$ac_ext >&5
5881 rm -f conftest.err conftest.
$ac_objext \
5882 conftest
$ac_exeext conftest.
$ac_ext
5885 LIBS
=$ac_func_search_save_LIBS
5887 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5888 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5889 if test "$ac_cv_search_opendir" != no
; then
5890 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
5895 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5896 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5897 if test "${ac_cv_search_opendir+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 ac_func_search_save_LIBS
=$LIBS
5901 ac_cv_search_opendir
=no
5902 cat >conftest.
$ac_ext <<_ACEOF
5905 cat confdefs.h
>>conftest.
$ac_ext
5906 cat >>conftest.
$ac_ext <<_ACEOF
5907 /* end confdefs.h. */
5909 /* Override any gcc2 internal prototype to avoid an error. */
5913 /* We use char because int might match the return type of a gcc2
5914 builtin and then its argument prototype would still apply. */
5924 rm -f conftest.
$ac_objext conftest
$ac_exeext
5925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5926 (eval $ac_link) 2>conftest.er1
5928 grep -v '^ *+' conftest.er1
>conftest.err
5930 cat conftest.err
>&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); } &&
5933 { ac_try
='test -z "$ac_c_werror_flag"
5934 || test ! -s conftest.err'
5935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); }; } &&
5940 { ac_try
='test -s conftest$ac_exeext'
5941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); }; }; then
5946 ac_cv_search_opendir
="none required"
5948 echo "$as_me: failed program was:" >&5
5949 sed 's/^/| /' conftest.
$ac_ext >&5
5952 rm -f conftest.err conftest.
$ac_objext \
5953 conftest
$ac_exeext conftest.
$ac_ext
5954 if test "$ac_cv_search_opendir" = no
; then
5956 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5957 cat >conftest.
$ac_ext <<_ACEOF
5960 cat confdefs.h
>>conftest.
$ac_ext
5961 cat >>conftest.
$ac_ext <<_ACEOF
5962 /* end confdefs.h. */
5964 /* Override any gcc2 internal prototype to avoid an error. */
5968 /* We use char because int might match the return type of a gcc2
5969 builtin and then its argument prototype would still apply. */
5979 rm -f conftest.
$ac_objext conftest
$ac_exeext
5980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5981 (eval $ac_link) 2>conftest.er1
5983 grep -v '^ *+' conftest.er1
>conftest.err
5985 cat conftest.err
>&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); } &&
5988 { ac_try
='test -z "$ac_c_werror_flag"
5989 || test ! -s conftest.err'
5990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); }; } &&
5995 { ac_try
='test -s conftest$ac_exeext'
5996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); }; }; then
6001 ac_cv_search_opendir
="-l$ac_lib"
6004 echo "$as_me: failed program was:" >&5
6005 sed 's/^/| /' conftest.
$ac_ext >&5
6008 rm -f conftest.err conftest.
$ac_objext \
6009 conftest
$ac_exeext conftest.
$ac_ext
6012 LIBS
=$ac_func_search_save_LIBS
6014 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6015 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6016 if test "$ac_cv_search_opendir" != no
; then
6017 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6023 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6024 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
6025 if test "${ac_cv_header_stat_broken+set}" = set; then
6026 echo $ECHO_N "(cached) $ECHO_C" >&6
6028 cat >conftest.
$ac_ext <<_ACEOF
6031 cat confdefs.h
>>conftest.
$ac_ext
6032 cat >>conftest.
$ac_ext <<_ACEOF
6033 /* end confdefs.h. */
6034 #include <sys/types.h>
6035 #include <sys/stat.h>
6037 #if defined(S_ISBLK) && defined(S_IFDIR)
6038 # if S_ISBLK (S_IFDIR)
6043 #if defined(S_ISBLK) && defined(S_IFCHR)
6044 # if S_ISBLK (S_IFCHR)
6049 #if defined(S_ISLNK) && defined(S_IFREG)
6050 # if S_ISLNK (S_IFREG)
6055 #if defined(S_ISSOCK) && defined(S_IFREG)
6056 # if S_ISSOCK (S_IFREG)
6062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6063 $EGREP "You lose" >/dev
/null
2>&1; then
6064 ac_cv_header_stat_broken
=yes
6066 ac_cv_header_stat_broken
=no
6071 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6072 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
6073 if test $ac_cv_header_stat_broken = yes; then
6075 cat >>confdefs.h
<<\_ACEOF
6076 #define STAT_MACROS_BROKEN 1
6081 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6082 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6083 if test "${ac_cv_header_stdc+set}" = set; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 cat >conftest.
$ac_ext <<_ACEOF
6089 cat confdefs.h
>>conftest.
$ac_ext
6090 cat >>conftest.
$ac_ext <<_ACEOF
6091 /* end confdefs.h. */
6105 rm -f conftest.
$ac_objext
6106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6107 (eval $ac_compile) 2>conftest.er1
6109 grep -v '^ *+' conftest.er1
>conftest.err
6111 cat conftest.err
>&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } &&
6114 { ac_try
='test -z "$ac_c_werror_flag"
6115 || test ! -s conftest.err'
6116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); }; } &&
6121 { ac_try
='test -s conftest.$ac_objext'
6122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; }; then
6127 ac_cv_header_stdc
=yes
6129 echo "$as_me: failed program was:" >&5
6130 sed 's/^/| /' conftest.
$ac_ext >&5
6132 ac_cv_header_stdc
=no
6134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6136 if test $ac_cv_header_stdc = yes; then
6137 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6138 cat >conftest.
$ac_ext <<_ACEOF
6141 cat confdefs.h
>>conftest.
$ac_ext
6142 cat >>conftest.
$ac_ext <<_ACEOF
6143 /* end confdefs.h. */
6147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6148 $EGREP "memchr" >/dev
/null
2>&1; then
6151 ac_cv_header_stdc
=no
6157 if test $ac_cv_header_stdc = yes; then
6158 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6159 cat >conftest.
$ac_ext <<_ACEOF
6162 cat confdefs.h
>>conftest.
$ac_ext
6163 cat >>conftest.
$ac_ext <<_ACEOF
6164 /* end confdefs.h. */
6168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6169 $EGREP "free" >/dev
/null
2>&1; then
6172 ac_cv_header_stdc
=no
6178 if test $ac_cv_header_stdc = yes; then
6179 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6180 if test "$cross_compiling" = yes; then
6183 cat >conftest.
$ac_ext <<_ACEOF
6186 cat confdefs.h
>>conftest.
$ac_ext
6187 cat >>conftest.
$ac_ext <<_ACEOF
6188 /* end confdefs.h. */
6190 #if ((' ' & 0x0FF) == 0x020)
6191 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6192 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6194 # define ISLOWER(c) \
6195 (('a' <= (c) && (c) <= 'i') \
6196 || ('j' <= (c) && (c) <= 'r') \
6197 || ('s' <= (c) && (c) <= 'z'))
6198 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6201 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6206 for (i = 0; i < 256; i++)
6207 if (XOR (islower (i), ISLOWER (i))
6208 || toupper (i) != TOUPPER (i))
6213 rm -f conftest
$ac_exeext
6214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6215 (eval $ac_link) 2>&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); }; }; then
6226 echo "$as_me: program exited with status $ac_status" >&5
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.
$ac_ext >&5
6231 ac_cv_header_stdc
=no
6233 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6237 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6238 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6239 if test $ac_cv_header_stdc = yes; then
6241 cat >>confdefs.h
<<\_ACEOF
6242 #define STDC_HEADERS 1
6248 for ac_header
in nlist.h
6250 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6252 echo "$as_me:$LINENO: checking for $ac_header" >&5
6253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6255 echo $ECHO_N "(cached) $ECHO_C" >&6
6257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6260 # Is the header compilable?
6261 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6262 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6263 cat >conftest.
$ac_ext <<_ACEOF
6266 cat confdefs.h
>>conftest.
$ac_ext
6267 cat >>conftest.
$ac_ext <<_ACEOF
6268 /* end confdefs.h. */
6269 $ac_includes_default
6270 #include <$ac_header>
6272 rm -f conftest.
$ac_objext
6273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6274 (eval $ac_compile) 2>conftest.er1
6276 grep -v '^ *+' conftest.er1
>conftest.err
6278 cat conftest.err
>&5
6279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280 (exit $ac_status); } &&
6281 { ac_try
='test -z "$ac_c_werror_flag"
6282 || test ! -s conftest.err'
6283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); }; } &&
6288 { ac_try
='test -s conftest.$ac_objext'
6289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); }; }; then
6294 ac_header_compiler
=yes
6296 echo "$as_me: failed program was:" >&5
6297 sed 's/^/| /' conftest.
$ac_ext >&5
6299 ac_header_compiler
=no
6301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6302 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6303 echo "${ECHO_T}$ac_header_compiler" >&6
6305 # Is the header present?
6306 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6307 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6308 cat >conftest.
$ac_ext <<_ACEOF
6311 cat confdefs.h
>>conftest.
$ac_ext
6312 cat >>conftest.
$ac_ext <<_ACEOF
6313 /* end confdefs.h. */
6314 #include <$ac_header>
6316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6317 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6319 grep -v '^ *+' conftest.er1
>conftest.err
6321 cat conftest.err
>&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); } >/dev
/null
; then
6324 if test -s conftest.err
; then
6325 ac_cpp_err
=$ac_c_preproc_warn_flag
6326 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6333 if test -z "$ac_cpp_err"; then
6334 ac_header_preproc
=yes
6336 echo "$as_me: failed program was:" >&5
6337 sed 's/^/| /' conftest.
$ac_ext >&5
6339 ac_header_preproc
=no
6341 rm -f conftest.err conftest.
$ac_ext
6342 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6343 echo "${ECHO_T}$ac_header_preproc" >&6
6345 # So? What about this header?
6346 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6348 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6349 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6351 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6352 ac_header_preproc
=yes
6355 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6356 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6357 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6358 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6359 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6360 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6361 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6362 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6364 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6365 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6366 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6369 ## ------------------------------------------ ##
6370 ## Report this to the AC_PACKAGE_NAME lists. ##
6371 ## ------------------------------------------ ##
6374 sed "s/^/$as_me: WARNING: /" >&2
6377 echo "$as_me:$LINENO: checking for $ac_header" >&5
6378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6382 eval "$as_ac_Header=\$ac_header_preproc"
6384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6389 cat >>confdefs.h
<<_ACEOF
6390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6398 for ac_header
in link.h
6400 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6401 echo "$as_me:$LINENO: checking for $ac_header" >&5
6402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6406 cat >conftest.
$ac_ext <<_ACEOF
6409 cat confdefs.h
>>conftest.
$ac_ext
6410 cat >>conftest.
$ac_ext <<_ACEOF
6411 /* end confdefs.h. */
6412 #if HAVE_SYS_TYPES_H
6413 # include <sys/types.h>
6420 #include <$ac_header>
6422 rm -f conftest.
$ac_objext
6423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6424 (eval $ac_compile) 2>conftest.er1
6426 grep -v '^ *+' conftest.er1
>conftest.err
6428 cat conftest.err
>&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } &&
6431 { ac_try
='test -z "$ac_c_werror_flag"
6432 || test ! -s conftest.err'
6433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); }; } &&
6438 { ac_try
='test -s conftest.$ac_objext'
6439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); }; }; then
6444 eval "$as_ac_Header=yes"
6446 echo "$as_me: failed program was:" >&5
6447 sed 's/^/| /' conftest.
$ac_ext >&5
6449 eval "$as_ac_Header=no"
6451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6456 cat >>confdefs.h
<<_ACEOF
6457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6465 for ac_header
in machine
/reg.h
6467 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6469 echo "$as_me:$LINENO: checking for $ac_header" >&5
6470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6472 echo $ECHO_N "(cached) $ECHO_C" >&6
6474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6477 # Is the header compilable?
6478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6480 cat >conftest.
$ac_ext <<_ACEOF
6483 cat confdefs.h
>>conftest.
$ac_ext
6484 cat >>conftest.
$ac_ext <<_ACEOF
6485 /* end confdefs.h. */
6486 $ac_includes_default
6487 #include <$ac_header>
6489 rm -f conftest.
$ac_objext
6490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6491 (eval $ac_compile) 2>conftest.er1
6493 grep -v '^ *+' conftest.er1
>conftest.err
6495 cat conftest.err
>&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); } &&
6498 { ac_try
='test -z "$ac_c_werror_flag"
6499 || test ! -s conftest.err'
6500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6504 (exit $ac_status); }; } &&
6505 { ac_try
='test -s conftest.$ac_objext'
6506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); }; }; then
6511 ac_header_compiler
=yes
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.
$ac_ext >&5
6516 ac_header_compiler
=no
6518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6520 echo "${ECHO_T}$ac_header_compiler" >&6
6522 # Is the header present?
6523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6525 cat >conftest.
$ac_ext <<_ACEOF
6528 cat confdefs.h
>>conftest.
$ac_ext
6529 cat >>conftest.
$ac_ext <<_ACEOF
6530 /* end confdefs.h. */
6531 #include <$ac_header>
6533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6536 grep -v '^ *+' conftest.er1
>conftest.err
6538 cat conftest.err
>&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); } >/dev
/null
; then
6541 if test -s conftest.err
; then
6542 ac_cpp_err
=$ac_c_preproc_warn_flag
6543 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6550 if test -z "$ac_cpp_err"; then
6551 ac_header_preproc
=yes
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.
$ac_ext >&5
6556 ac_header_preproc
=no
6558 rm -f conftest.err conftest.
$ac_ext
6559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6560 echo "${ECHO_T}$ac_header_preproc" >&6
6562 # So? What about this header?
6563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6569 ac_header_preproc
=yes
6572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6586 ## ------------------------------------------ ##
6587 ## Report this to the AC_PACKAGE_NAME lists. ##
6588 ## ------------------------------------------ ##
6591 sed "s/^/$as_me: WARNING: /" >&2
6594 echo "$as_me:$LINENO: checking for $ac_header" >&5
6595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6597 echo $ECHO_N "(cached) $ECHO_C" >&6
6599 eval "$as_ac_Header=\$ac_header_preproc"
6601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6606 cat >>confdefs.h
<<_ACEOF
6607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6616 for ac_header
in poll.h sys
/poll.h
6618 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6620 echo "$as_me:$LINENO: checking for $ac_header" >&5
6621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6628 # Is the header compilable?
6629 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6630 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6631 cat >conftest.
$ac_ext <<_ACEOF
6634 cat confdefs.h
>>conftest.
$ac_ext
6635 cat >>conftest.
$ac_ext <<_ACEOF
6636 /* end confdefs.h. */
6637 $ac_includes_default
6638 #include <$ac_header>
6640 rm -f conftest.
$ac_objext
6641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6642 (eval $ac_compile) 2>conftest.er1
6644 grep -v '^ *+' conftest.er1
>conftest.err
6646 cat conftest.err
>&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); } &&
6649 { ac_try
='test -z "$ac_c_werror_flag"
6650 || test ! -s conftest.err'
6651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); }; } &&
6656 { ac_try
='test -s conftest.$ac_objext'
6657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); }; }; then
6662 ac_header_compiler
=yes
6664 echo "$as_me: failed program was:" >&5
6665 sed 's/^/| /' conftest.
$ac_ext >&5
6667 ac_header_compiler
=no
6669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6670 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6671 echo "${ECHO_T}$ac_header_compiler" >&6
6673 # Is the header present?
6674 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6675 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6676 cat >conftest.
$ac_ext <<_ACEOF
6679 cat confdefs.h
>>conftest.
$ac_ext
6680 cat >>conftest.
$ac_ext <<_ACEOF
6681 /* end confdefs.h. */
6682 #include <$ac_header>
6684 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6685 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6687 grep -v '^ *+' conftest.er1
>conftest.err
6689 cat conftest.err
>&5
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); } >/dev
/null
; then
6692 if test -s conftest.err
; then
6693 ac_cpp_err
=$ac_c_preproc_warn_flag
6694 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6701 if test -z "$ac_cpp_err"; then
6702 ac_header_preproc
=yes
6704 echo "$as_me: failed program was:" >&5
6705 sed 's/^/| /' conftest.
$ac_ext >&5
6707 ac_header_preproc
=no
6709 rm -f conftest.err conftest.
$ac_ext
6710 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6711 echo "${ECHO_T}$ac_header_preproc" >&6
6713 # So? What about this header?
6714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6716 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6717 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6719 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6720 ac_header_preproc
=yes
6723 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6724 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6725 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6726 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6727 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6728 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6729 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6730 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6733 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6734 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6737 ## ------------------------------------------ ##
6738 ## Report this to the AC_PACKAGE_NAME lists. ##
6739 ## ------------------------------------------ ##
6742 sed "s/^/$as_me: WARNING: /" >&2
6745 echo "$as_me:$LINENO: checking for $ac_header" >&5
6746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6748 echo $ECHO_N "(cached) $ECHO_C" >&6
6750 eval "$as_ac_Header=\$ac_header_preproc"
6752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6757 cat >>confdefs.h
<<_ACEOF
6758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6768 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
6770 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6772 echo "$as_me:$LINENO: checking for $ac_header" >&5
6773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6775 echo $ECHO_N "(cached) $ECHO_C" >&6
6777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6780 # Is the header compilable?
6781 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6782 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6783 cat >conftest.
$ac_ext <<_ACEOF
6786 cat confdefs.h
>>conftest.
$ac_ext
6787 cat >>conftest.
$ac_ext <<_ACEOF
6788 /* end confdefs.h. */
6789 $ac_includes_default
6790 #include <$ac_header>
6792 rm -f conftest.
$ac_objext
6793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6794 (eval $ac_compile) 2>conftest.er1
6796 grep -v '^ *+' conftest.er1
>conftest.err
6798 cat conftest.err
>&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); } &&
6801 { ac_try
='test -z "$ac_c_werror_flag"
6802 || test ! -s conftest.err'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; } &&
6808 { ac_try
='test -s conftest.$ac_objext'
6809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); }; }; then
6814 ac_header_compiler
=yes
6816 echo "$as_me: failed program was:" >&5
6817 sed 's/^/| /' conftest.
$ac_ext >&5
6819 ac_header_compiler
=no
6821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6823 echo "${ECHO_T}$ac_header_compiler" >&6
6825 # Is the header present?
6826 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6827 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6828 cat >conftest.
$ac_ext <<_ACEOF
6831 cat confdefs.h
>>conftest.
$ac_ext
6832 cat >>conftest.
$ac_ext <<_ACEOF
6833 /* end confdefs.h. */
6834 #include <$ac_header>
6836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6837 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6839 grep -v '^ *+' conftest.er1
>conftest.err
6841 cat conftest.err
>&5
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); } >/dev
/null
; then
6844 if test -s conftest.err
; then
6845 ac_cpp_err
=$ac_c_preproc_warn_flag
6846 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6853 if test -z "$ac_cpp_err"; then
6854 ac_header_preproc
=yes
6856 echo "$as_me: failed program was:" >&5
6857 sed 's/^/| /' conftest.
$ac_ext >&5
6859 ac_header_preproc
=no
6861 rm -f conftest.err conftest.
$ac_ext
6862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6863 echo "${ECHO_T}$ac_header_preproc" >&6
6865 # So? What about this header?
6866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6868 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6869 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6871 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6872 ac_header_preproc
=yes
6875 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6876 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6877 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6878 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6879 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6880 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6881 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6882 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6884 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6885 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6886 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6889 ## ------------------------------------------ ##
6890 ## Report this to the AC_PACKAGE_NAME lists. ##
6891 ## ------------------------------------------ ##
6894 sed "s/^/$as_me: WARNING: /" >&2
6897 echo "$as_me:$LINENO: checking for $ac_header" >&5
6898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6900 echo $ECHO_N "(cached) $ECHO_C" >&6
6902 eval "$as_ac_Header=\$ac_header_preproc"
6904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6909 cat >>confdefs.h
<<_ACEOF
6910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6918 for ac_header
in stddef.h
6920 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6922 echo "$as_me:$LINENO: checking for $ac_header" >&5
6923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6925 echo $ECHO_N "(cached) $ECHO_C" >&6
6927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6930 # Is the header compilable?
6931 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6933 cat >conftest.
$ac_ext <<_ACEOF
6936 cat confdefs.h
>>conftest.
$ac_ext
6937 cat >>conftest.
$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6939 $ac_includes_default
6940 #include <$ac_header>
6942 rm -f conftest.
$ac_objext
6943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6944 (eval $ac_compile) 2>conftest.er1
6946 grep -v '^ *+' conftest.er1
>conftest.err
6948 cat conftest.err
>&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); } &&
6951 { ac_try
='test -z "$ac_c_werror_flag"
6952 || test ! -s conftest.err'
6953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); }; } &&
6958 { ac_try
='test -s conftest.$ac_objext'
6959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); }; }; then
6964 ac_header_compiler
=yes
6966 echo "$as_me: failed program was:" >&5
6967 sed 's/^/| /' conftest.
$ac_ext >&5
6969 ac_header_compiler
=no
6971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6972 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6973 echo "${ECHO_T}$ac_header_compiler" >&6
6975 # Is the header present?
6976 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6977 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6978 cat >conftest.
$ac_ext <<_ACEOF
6981 cat confdefs.h
>>conftest.
$ac_ext
6982 cat >>conftest.
$ac_ext <<_ACEOF
6983 /* end confdefs.h. */
6984 #include <$ac_header>
6986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6987 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6989 grep -v '^ *+' conftest.er1
>conftest.err
6991 cat conftest.err
>&5
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); } >/dev
/null
; then
6994 if test -s conftest.err
; then
6995 ac_cpp_err
=$ac_c_preproc_warn_flag
6996 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7003 if test -z "$ac_cpp_err"; then
7004 ac_header_preproc
=yes
7006 echo "$as_me: failed program was:" >&5
7007 sed 's/^/| /' conftest.
$ac_ext >&5
7009 ac_header_preproc
=no
7011 rm -f conftest.err conftest.
$ac_ext
7012 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7013 echo "${ECHO_T}$ac_header_preproc" >&6
7015 # So? What about this header?
7016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7018 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7019 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7021 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7022 ac_header_preproc
=yes
7025 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7027 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7028 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7029 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7030 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7032 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7035 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7036 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7039 ## ------------------------------------------ ##
7040 ## Report this to the AC_PACKAGE_NAME lists. ##
7041 ## ------------------------------------------ ##
7044 sed "s/^/$as_me: WARNING: /" >&2
7047 echo "$as_me:$LINENO: checking for $ac_header" >&5
7048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7050 echo $ECHO_N "(cached) $ECHO_C" >&6
7052 eval "$as_ac_Header=\$ac_header_preproc"
7054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7059 cat >>confdefs.h
<<_ACEOF
7060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7068 for ac_header
in stdlib.h
7070 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7072 echo "$as_me:$LINENO: checking for $ac_header" >&5
7073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7075 echo $ECHO_N "(cached) $ECHO_C" >&6
7077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7080 # Is the header compilable?
7081 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7082 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7083 cat >conftest.
$ac_ext <<_ACEOF
7086 cat confdefs.h
>>conftest.
$ac_ext
7087 cat >>conftest.
$ac_ext <<_ACEOF
7088 /* end confdefs.h. */
7089 $ac_includes_default
7090 #include <$ac_header>
7092 rm -f conftest.
$ac_objext
7093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7094 (eval $ac_compile) 2>conftest.er1
7096 grep -v '^ *+' conftest.er1
>conftest.err
7098 cat conftest.err
>&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); } &&
7101 { ac_try
='test -z "$ac_c_werror_flag"
7102 || test ! -s conftest.err'
7103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); }; } &&
7108 { ac_try
='test -s conftest.$ac_objext'
7109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); }; }; then
7114 ac_header_compiler
=yes
7116 echo "$as_me: failed program was:" >&5
7117 sed 's/^/| /' conftest.
$ac_ext >&5
7119 ac_header_compiler
=no
7121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7123 echo "${ECHO_T}$ac_header_compiler" >&6
7125 # Is the header present?
7126 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7127 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7128 cat >conftest.
$ac_ext <<_ACEOF
7131 cat confdefs.h
>>conftest.
$ac_ext
7132 cat >>conftest.
$ac_ext <<_ACEOF
7133 /* end confdefs.h. */
7134 #include <$ac_header>
7136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7137 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7139 grep -v '^ *+' conftest.er1
>conftest.err
7141 cat conftest.err
>&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); } >/dev
/null
; then
7144 if test -s conftest.err
; then
7145 ac_cpp_err
=$ac_c_preproc_warn_flag
7146 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7153 if test -z "$ac_cpp_err"; then
7154 ac_header_preproc
=yes
7156 echo "$as_me: failed program was:" >&5
7157 sed 's/^/| /' conftest.
$ac_ext >&5
7159 ac_header_preproc
=no
7161 rm -f conftest.err conftest.
$ac_ext
7162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7163 echo "${ECHO_T}$ac_header_preproc" >&6
7165 # So? What about this header?
7166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7168 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7169 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7171 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7172 ac_header_preproc
=yes
7175 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7176 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7177 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7178 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7179 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7180 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7181 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7182 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7185 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7186 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7189 ## ------------------------------------------ ##
7190 ## Report this to the AC_PACKAGE_NAME lists. ##
7191 ## ------------------------------------------ ##
7194 sed "s/^/$as_me: WARNING: /" >&2
7197 echo "$as_me:$LINENO: checking for $ac_header" >&5
7198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7200 echo $ECHO_N "(cached) $ECHO_C" >&6
7202 eval "$as_ac_Header=\$ac_header_preproc"
7204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7209 cat >>confdefs.h
<<_ACEOF
7210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7218 for ac_header
in stdint.h
7220 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7222 echo "$as_me:$LINENO: checking for $ac_header" >&5
7223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7225 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7230 # Is the header compilable?
7231 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7232 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7233 cat >conftest.
$ac_ext <<_ACEOF
7236 cat confdefs.h
>>conftest.
$ac_ext
7237 cat >>conftest.
$ac_ext <<_ACEOF
7238 /* end confdefs.h. */
7239 $ac_includes_default
7240 #include <$ac_header>
7242 rm -f conftest.
$ac_objext
7243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7244 (eval $ac_compile) 2>conftest.er1
7246 grep -v '^ *+' conftest.er1
>conftest.err
7248 cat conftest.err
>&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); } &&
7251 { ac_try
='test -z "$ac_c_werror_flag"
7252 || test ! -s conftest.err'
7253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); }; } &&
7258 { ac_try
='test -s conftest.$ac_objext'
7259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); }; }; then
7264 ac_header_compiler
=yes
7266 echo "$as_me: failed program was:" >&5
7267 sed 's/^/| /' conftest.
$ac_ext >&5
7269 ac_header_compiler
=no
7271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7272 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7273 echo "${ECHO_T}$ac_header_compiler" >&6
7275 # Is the header present?
7276 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7277 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7278 cat >conftest.
$ac_ext <<_ACEOF
7281 cat confdefs.h
>>conftest.
$ac_ext
7282 cat >>conftest.
$ac_ext <<_ACEOF
7283 /* end confdefs.h. */
7284 #include <$ac_header>
7286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7287 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7289 grep -v '^ *+' conftest.er1
>conftest.err
7291 cat conftest.err
>&5
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); } >/dev
/null
; then
7294 if test -s conftest.err
; then
7295 ac_cpp_err
=$ac_c_preproc_warn_flag
7296 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7303 if test -z "$ac_cpp_err"; then
7304 ac_header_preproc
=yes
7306 echo "$as_me: failed program was:" >&5
7307 sed 's/^/| /' conftest.
$ac_ext >&5
7309 ac_header_preproc
=no
7311 rm -f conftest.err conftest.
$ac_ext
7312 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7313 echo "${ECHO_T}$ac_header_preproc" >&6
7315 # So? What about this header?
7316 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7318 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7319 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7321 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7322 ac_header_preproc
=yes
7325 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7326 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7327 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7328 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7329 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7330 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7331 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7332 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7334 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7335 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7336 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7339 ## ------------------------------------------ ##
7340 ## Report this to the AC_PACKAGE_NAME lists. ##
7341 ## ------------------------------------------ ##
7344 sed "s/^/$as_me: WARNING: /" >&2
7347 echo "$as_me:$LINENO: checking for $ac_header" >&5
7348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7350 echo $ECHO_N "(cached) $ECHO_C" >&6
7352 eval "$as_ac_Header=\$ac_header_preproc"
7354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7358 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7359 cat >>confdefs.h
<<_ACEOF
7360 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7370 for ac_header
in string.h memory.h
strings.h
7372 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7374 echo "$as_me:$LINENO: checking for $ac_header" >&5
7375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7377 echo $ECHO_N "(cached) $ECHO_C" >&6
7379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7382 # Is the header compilable?
7383 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7385 cat >conftest.
$ac_ext <<_ACEOF
7388 cat confdefs.h
>>conftest.
$ac_ext
7389 cat >>conftest.
$ac_ext <<_ACEOF
7390 /* end confdefs.h. */
7391 $ac_includes_default
7392 #include <$ac_header>
7394 rm -f conftest.
$ac_objext
7395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7396 (eval $ac_compile) 2>conftest.er1
7398 grep -v '^ *+' conftest.er1
>conftest.err
7400 cat conftest.err
>&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); } &&
7403 { ac_try
='test -z "$ac_c_werror_flag"
7404 || test ! -s conftest.err'
7405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); }; } &&
7410 { ac_try
='test -s conftest.$ac_objext'
7411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); }; }; then
7416 ac_header_compiler
=yes
7418 echo "$as_me: failed program was:" >&5
7419 sed 's/^/| /' conftest.
$ac_ext >&5
7421 ac_header_compiler
=no
7423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7425 echo "${ECHO_T}$ac_header_compiler" >&6
7427 # Is the header present?
7428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7430 cat >conftest.
$ac_ext <<_ACEOF
7433 cat confdefs.h
>>conftest.
$ac_ext
7434 cat >>conftest.
$ac_ext <<_ACEOF
7435 /* end confdefs.h. */
7436 #include <$ac_header>
7438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7441 grep -v '^ *+' conftest.er1
>conftest.err
7443 cat conftest.err
>&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); } >/dev
/null
; then
7446 if test -s conftest.err
; then
7447 ac_cpp_err
=$ac_c_preproc_warn_flag
7448 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7455 if test -z "$ac_cpp_err"; then
7456 ac_header_preproc
=yes
7458 echo "$as_me: failed program was:" >&5
7459 sed 's/^/| /' conftest.
$ac_ext >&5
7461 ac_header_preproc
=no
7463 rm -f conftest.err conftest.
$ac_ext
7464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7465 echo "${ECHO_T}$ac_header_preproc" >&6
7467 # So? What about this header?
7468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7474 ac_header_preproc
=yes
7477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7491 ## ------------------------------------------ ##
7492 ## Report this to the AC_PACKAGE_NAME lists. ##
7493 ## ------------------------------------------ ##
7496 sed "s/^/$as_me: WARNING: /" >&2
7499 echo "$as_me:$LINENO: checking for $ac_header" >&5
7500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 eval "$as_ac_Header=\$ac_header_preproc"
7506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7511 cat >>confdefs.h
<<_ACEOF
7512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7520 for ac_header
in sys
/fault.h
7522 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7524 echo "$as_me:$LINENO: checking for $ac_header" >&5
7525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7527 echo $ECHO_N "(cached) $ECHO_C" >&6
7529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7532 # Is the header compilable?
7533 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7534 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7535 cat >conftest.
$ac_ext <<_ACEOF
7538 cat confdefs.h
>>conftest.
$ac_ext
7539 cat >>conftest.
$ac_ext <<_ACEOF
7540 /* end confdefs.h. */
7541 $ac_includes_default
7542 #include <$ac_header>
7544 rm -f conftest.
$ac_objext
7545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7546 (eval $ac_compile) 2>conftest.er1
7548 grep -v '^ *+' conftest.er1
>conftest.err
7550 cat conftest.err
>&5
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); } &&
7553 { ac_try
='test -z "$ac_c_werror_flag"
7554 || test ! -s conftest.err'
7555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559 (exit $ac_status); }; } &&
7560 { ac_try
='test -s conftest.$ac_objext'
7561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); }; }; then
7566 ac_header_compiler
=yes
7568 echo "$as_me: failed program was:" >&5
7569 sed 's/^/| /' conftest.
$ac_ext >&5
7571 ac_header_compiler
=no
7573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7574 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7575 echo "${ECHO_T}$ac_header_compiler" >&6
7577 # Is the header present?
7578 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7579 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7580 cat >conftest.
$ac_ext <<_ACEOF
7583 cat confdefs.h
>>conftest.
$ac_ext
7584 cat >>conftest.
$ac_ext <<_ACEOF
7585 /* end confdefs.h. */
7586 #include <$ac_header>
7588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7591 grep -v '^ *+' conftest.er1
>conftest.err
7593 cat conftest.err
>&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); } >/dev
/null
; then
7596 if test -s conftest.err
; then
7597 ac_cpp_err
=$ac_c_preproc_warn_flag
7598 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7605 if test -z "$ac_cpp_err"; then
7606 ac_header_preproc
=yes
7608 echo "$as_me: failed program was:" >&5
7609 sed 's/^/| /' conftest.
$ac_ext >&5
7611 ac_header_preproc
=no
7613 rm -f conftest.err conftest.
$ac_ext
7614 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7615 echo "${ECHO_T}$ac_header_preproc" >&6
7617 # So? What about this header?
7618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7620 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7621 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7623 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7624 ac_header_preproc
=yes
7627 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7628 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7629 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7630 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7631 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7632 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7633 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7634 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7637 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7638 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7641 ## ------------------------------------------ ##
7642 ## Report this to the AC_PACKAGE_NAME lists. ##
7643 ## ------------------------------------------ ##
7646 sed "s/^/$as_me: WARNING: /" >&2
7649 echo "$as_me:$LINENO: checking for $ac_header" >&5
7650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7652 echo $ECHO_N "(cached) $ECHO_C" >&6
7654 eval "$as_ac_Header=\$ac_header_preproc"
7656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7661 cat >>confdefs.h
<<_ACEOF
7662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7670 for ac_header
in sys
/file.h
7672 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7674 echo "$as_me:$LINENO: checking for $ac_header" >&5
7675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7677 echo $ECHO_N "(cached) $ECHO_C" >&6
7679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7682 # Is the header compilable?
7683 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7685 cat >conftest.
$ac_ext <<_ACEOF
7688 cat confdefs.h
>>conftest.
$ac_ext
7689 cat >>conftest.
$ac_ext <<_ACEOF
7690 /* end confdefs.h. */
7691 $ac_includes_default
7692 #include <$ac_header>
7694 rm -f conftest.
$ac_objext
7695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7696 (eval $ac_compile) 2>conftest.er1
7698 grep -v '^ *+' conftest.er1
>conftest.err
7700 cat conftest.err
>&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); } &&
7703 { ac_try
='test -z "$ac_c_werror_flag"
7704 || test ! -s conftest.err'
7705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709 (exit $ac_status); }; } &&
7710 { ac_try
='test -s conftest.$ac_objext'
7711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); }; }; then
7716 ac_header_compiler
=yes
7718 echo "$as_me: failed program was:" >&5
7719 sed 's/^/| /' conftest.
$ac_ext >&5
7721 ac_header_compiler
=no
7723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7725 echo "${ECHO_T}$ac_header_compiler" >&6
7727 # Is the header present?
7728 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7729 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7730 cat >conftest.
$ac_ext <<_ACEOF
7733 cat confdefs.h
>>conftest.
$ac_ext
7734 cat >>conftest.
$ac_ext <<_ACEOF
7735 /* end confdefs.h. */
7736 #include <$ac_header>
7738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7739 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7741 grep -v '^ *+' conftest.er1
>conftest.err
7743 cat conftest.err
>&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); } >/dev
/null
; then
7746 if test -s conftest.err
; then
7747 ac_cpp_err
=$ac_c_preproc_warn_flag
7748 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7755 if test -z "$ac_cpp_err"; then
7756 ac_header_preproc
=yes
7758 echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.
$ac_ext >&5
7761 ac_header_preproc
=no
7763 rm -f conftest.err conftest.
$ac_ext
7764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7765 echo "${ECHO_T}$ac_header_preproc" >&6
7767 # So? What about this header?
7768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7770 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7771 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7773 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7774 ac_header_preproc
=yes
7777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7781 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7782 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7783 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7784 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7787 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7788 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7791 ## ------------------------------------------ ##
7792 ## Report this to the AC_PACKAGE_NAME lists. ##
7793 ## ------------------------------------------ ##
7796 sed "s/^/$as_me: WARNING: /" >&2
7799 echo "$as_me:$LINENO: checking for $ac_header" >&5
7800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7802 echo $ECHO_N "(cached) $ECHO_C" >&6
7804 eval "$as_ac_Header=\$ac_header_preproc"
7806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7811 cat >>confdefs.h
<<_ACEOF
7812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7820 for ac_header
in sys
/filio.h
7822 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7824 echo "$as_me:$LINENO: checking for $ac_header" >&5
7825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7827 echo $ECHO_N "(cached) $ECHO_C" >&6
7829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7832 # Is the header compilable?
7833 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7834 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7835 cat >conftest.
$ac_ext <<_ACEOF
7838 cat confdefs.h
>>conftest.
$ac_ext
7839 cat >>conftest.
$ac_ext <<_ACEOF
7840 /* end confdefs.h. */
7841 $ac_includes_default
7842 #include <$ac_header>
7844 rm -f conftest.
$ac_objext
7845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7846 (eval $ac_compile) 2>conftest.er1
7848 grep -v '^ *+' conftest.er1
>conftest.err
7850 cat conftest.err
>&5
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); } &&
7853 { ac_try
='test -z "$ac_c_werror_flag"
7854 || test ! -s conftest.err'
7855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); }; } &&
7860 { ac_try
='test -s conftest.$ac_objext'
7861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }; }; then
7866 ac_header_compiler
=yes
7868 echo "$as_me: failed program was:" >&5
7869 sed 's/^/| /' conftest.
$ac_ext >&5
7871 ac_header_compiler
=no
7873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7875 echo "${ECHO_T}$ac_header_compiler" >&6
7877 # Is the header present?
7878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7880 cat >conftest.
$ac_ext <<_ACEOF
7883 cat confdefs.h
>>conftest.
$ac_ext
7884 cat >>conftest.
$ac_ext <<_ACEOF
7885 /* end confdefs.h. */
7886 #include <$ac_header>
7888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7889 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7891 grep -v '^ *+' conftest.er1
>conftest.err
7893 cat conftest.err
>&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); } >/dev
/null
; then
7896 if test -s conftest.err
; then
7897 ac_cpp_err
=$ac_c_preproc_warn_flag
7898 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7905 if test -z "$ac_cpp_err"; then
7906 ac_header_preproc
=yes
7908 echo "$as_me: failed program was:" >&5
7909 sed 's/^/| /' conftest.
$ac_ext >&5
7911 ac_header_preproc
=no
7913 rm -f conftest.err conftest.
$ac_ext
7914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7915 echo "${ECHO_T}$ac_header_preproc" >&6
7917 # So? What about this header?
7918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7923 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7924 ac_header_preproc
=yes
7927 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7928 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7929 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7930 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7931 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7932 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7933 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7934 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7937 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7938 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7941 ## ------------------------------------------ ##
7942 ## Report this to the AC_PACKAGE_NAME lists. ##
7943 ## ------------------------------------------ ##
7946 sed "s/^/$as_me: WARNING: /" >&2
7949 echo "$as_me:$LINENO: checking for $ac_header" >&5
7950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7952 echo $ECHO_N "(cached) $ECHO_C" >&6
7954 eval "$as_ac_Header=\$ac_header_preproc"
7956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7961 cat >>confdefs.h
<<_ACEOF
7962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7970 for ac_header
in sys
/ioctl.h
7972 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7974 echo "$as_me:$LINENO: checking for $ac_header" >&5
7975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7977 echo $ECHO_N "(cached) $ECHO_C" >&6
7979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7982 # Is the header compilable?
7983 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7984 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7985 cat >conftest.
$ac_ext <<_ACEOF
7988 cat confdefs.h
>>conftest.
$ac_ext
7989 cat >>conftest.
$ac_ext <<_ACEOF
7990 /* end confdefs.h. */
7991 $ac_includes_default
7992 #include <$ac_header>
7994 rm -f conftest.
$ac_objext
7995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7996 (eval $ac_compile) 2>conftest.er1
7998 grep -v '^ *+' conftest.er1
>conftest.err
8000 cat conftest.err
>&5
8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 (exit $ac_status); } &&
8003 { ac_try
='test -z "$ac_c_werror_flag"
8004 || test ! -s conftest.err'
8005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); }; } &&
8010 { ac_try
='test -s conftest.$ac_objext'
8011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }; }; then
8016 ac_header_compiler
=yes
8018 echo "$as_me: failed program was:" >&5
8019 sed 's/^/| /' conftest.
$ac_ext >&5
8021 ac_header_compiler
=no
8023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8025 echo "${ECHO_T}$ac_header_compiler" >&6
8027 # Is the header present?
8028 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8029 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8030 cat >conftest.
$ac_ext <<_ACEOF
8033 cat confdefs.h
>>conftest.
$ac_ext
8034 cat >>conftest.
$ac_ext <<_ACEOF
8035 /* end confdefs.h. */
8036 #include <$ac_header>
8038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8039 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8041 grep -v '^ *+' conftest.er1
>conftest.err
8043 cat conftest.err
>&5
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); } >/dev
/null
; then
8046 if test -s conftest.err
; then
8047 ac_cpp_err
=$ac_c_preproc_warn_flag
8048 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8055 if test -z "$ac_cpp_err"; then
8056 ac_header_preproc
=yes
8058 echo "$as_me: failed program was:" >&5
8059 sed 's/^/| /' conftest.
$ac_ext >&5
8061 ac_header_preproc
=no
8063 rm -f conftest.err conftest.
$ac_ext
8064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8065 echo "${ECHO_T}$ac_header_preproc" >&6
8067 # So? What about this header?
8068 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8070 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8071 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8073 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8074 ac_header_preproc
=yes
8077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8081 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8082 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8083 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8084 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8087 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8088 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8091 ## ------------------------------------------ ##
8092 ## Report this to the AC_PACKAGE_NAME lists. ##
8093 ## ------------------------------------------ ##
8096 sed "s/^/$as_me: WARNING: /" >&2
8099 echo "$as_me:$LINENO: checking for $ac_header" >&5
8100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8102 echo $ECHO_N "(cached) $ECHO_C" >&6
8104 eval "$as_ac_Header=\$ac_header_preproc"
8106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8111 cat >>confdefs.h
<<_ACEOF
8112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8120 for ac_header
in sys
/param.h
8122 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8124 echo "$as_me:$LINENO: checking for $ac_header" >&5
8125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8127 echo $ECHO_N "(cached) $ECHO_C" >&6
8129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8132 # Is the header compilable?
8133 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8134 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8135 cat >conftest.
$ac_ext <<_ACEOF
8138 cat confdefs.h
>>conftest.
$ac_ext
8139 cat >>conftest.
$ac_ext <<_ACEOF
8140 /* end confdefs.h. */
8141 $ac_includes_default
8142 #include <$ac_header>
8144 rm -f conftest.
$ac_objext
8145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8146 (eval $ac_compile) 2>conftest.er1
8148 grep -v '^ *+' conftest.er1
>conftest.err
8150 cat conftest.err
>&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } &&
8153 { ac_try
='test -z "$ac_c_werror_flag"
8154 || test ! -s conftest.err'
8155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); }; } &&
8160 { ac_try
='test -s conftest.$ac_objext'
8161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; }; then
8166 ac_header_compiler
=yes
8168 echo "$as_me: failed program was:" >&5
8169 sed 's/^/| /' conftest.
$ac_ext >&5
8171 ac_header_compiler
=no
8173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8174 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8175 echo "${ECHO_T}$ac_header_compiler" >&6
8177 # Is the header present?
8178 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8179 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8180 cat >conftest.
$ac_ext <<_ACEOF
8183 cat confdefs.h
>>conftest.
$ac_ext
8184 cat >>conftest.
$ac_ext <<_ACEOF
8185 /* end confdefs.h. */
8186 #include <$ac_header>
8188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8189 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8191 grep -v '^ *+' conftest.er1
>conftest.err
8193 cat conftest.err
>&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } >/dev
/null
; then
8196 if test -s conftest.err
; then
8197 ac_cpp_err
=$ac_c_preproc_warn_flag
8198 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8205 if test -z "$ac_cpp_err"; then
8206 ac_header_preproc
=yes
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.
$ac_ext >&5
8211 ac_header_preproc
=no
8213 rm -f conftest.err conftest.
$ac_ext
8214 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8215 echo "${ECHO_T}$ac_header_preproc" >&6
8217 # So? What about this header?
8218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8220 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8221 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8223 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8224 ac_header_preproc
=yes
8227 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8228 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8229 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8230 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8231 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8232 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8233 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8234 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8237 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8238 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8241 ## ------------------------------------------ ##
8242 ## Report this to the AC_PACKAGE_NAME lists. ##
8243 ## ------------------------------------------ ##
8246 sed "s/^/$as_me: WARNING: /" >&2
8249 echo "$as_me:$LINENO: checking for $ac_header" >&5
8250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8252 echo $ECHO_N "(cached) $ECHO_C" >&6
8254 eval "$as_ac_Header=\$ac_header_preproc"
8256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8261 cat >>confdefs.h
<<_ACEOF
8262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8270 for ac_header
in sys
/proc.h
8272 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8273 echo "$as_me:$LINENO: checking for $ac_header" >&5
8274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8276 echo $ECHO_N "(cached) $ECHO_C" >&6
8278 cat >conftest.
$ac_ext <<_ACEOF
8281 cat confdefs.h
>>conftest.
$ac_ext
8282 cat >>conftest.
$ac_ext <<_ACEOF
8283 /* end confdefs.h. */
8284 #if HAVE_SYS_PARAM_H
8285 # include <sys/param.h>
8289 #include <$ac_header>
8291 rm -f conftest.
$ac_objext
8292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8293 (eval $ac_compile) 2>conftest.er1
8295 grep -v '^ *+' conftest.er1
>conftest.err
8297 cat conftest.err
>&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); } &&
8300 { ac_try
='test -z "$ac_c_werror_flag"
8301 || test ! -s conftest.err'
8302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); }; } &&
8307 { ac_try
='test -s conftest.$ac_objext'
8308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); }; }; then
8313 eval "$as_ac_Header=yes"
8315 echo "$as_me: failed program was:" >&5
8316 sed 's/^/| /' conftest.
$ac_ext >&5
8318 eval "$as_ac_Header=no"
8320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8325 cat >>confdefs.h
<<_ACEOF
8326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8334 for ac_header
in sys
/procfs.h
8336 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8346 # Is the header compilable?
8347 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8348 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8349 cat >conftest.
$ac_ext <<_ACEOF
8352 cat confdefs.h
>>conftest.
$ac_ext
8353 cat >>conftest.
$ac_ext <<_ACEOF
8354 /* end confdefs.h. */
8355 $ac_includes_default
8356 #include <$ac_header>
8358 rm -f conftest.
$ac_objext
8359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8360 (eval $ac_compile) 2>conftest.er1
8362 grep -v '^ *+' conftest.er1
>conftest.err
8364 cat conftest.err
>&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); } &&
8367 { ac_try
='test -z "$ac_c_werror_flag"
8368 || test ! -s conftest.err'
8369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 (exit $ac_status); }; } &&
8374 { ac_try
='test -s conftest.$ac_objext'
8375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379 (exit $ac_status); }; }; then
8380 ac_header_compiler
=yes
8382 echo "$as_me: failed program was:" >&5
8383 sed 's/^/| /' conftest.
$ac_ext >&5
8385 ac_header_compiler
=no
8387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8389 echo "${ECHO_T}$ac_header_compiler" >&6
8391 # Is the header present?
8392 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8393 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8394 cat >conftest.
$ac_ext <<_ACEOF
8397 cat confdefs.h
>>conftest.
$ac_ext
8398 cat >>conftest.
$ac_ext <<_ACEOF
8399 /* end confdefs.h. */
8400 #include <$ac_header>
8402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8403 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8405 grep -v '^ *+' conftest.er1
>conftest.err
8407 cat conftest.err
>&5
8408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409 (exit $ac_status); } >/dev
/null
; then
8410 if test -s conftest.err
; then
8411 ac_cpp_err
=$ac_c_preproc_warn_flag
8412 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8419 if test -z "$ac_cpp_err"; then
8420 ac_header_preproc
=yes
8422 echo "$as_me: failed program was:" >&5
8423 sed 's/^/| /' conftest.
$ac_ext >&5
8425 ac_header_preproc
=no
8427 rm -f conftest.err conftest.
$ac_ext
8428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8429 echo "${ECHO_T}$ac_header_preproc" >&6
8431 # So? What about this header?
8432 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8437 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8438 ac_header_preproc
=yes
8441 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8442 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8443 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8444 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8445 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8446 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8447 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8448 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8452 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8455 ## ------------------------------------------ ##
8456 ## Report this to the AC_PACKAGE_NAME lists. ##
8457 ## ------------------------------------------ ##
8460 sed "s/^/$as_me: WARNING: /" >&2
8463 echo "$as_me:$LINENO: checking for $ac_header" >&5
8464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8466 echo $ECHO_N "(cached) $ECHO_C" >&6
8468 eval "$as_ac_Header=\$ac_header_preproc"
8470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8475 cat >>confdefs.h
<<_ACEOF
8476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8485 for ac_header
in sys
/ptrace.h ptrace.h
8487 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8489 echo "$as_me:$LINENO: checking for $ac_header" >&5
8490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8492 echo $ECHO_N "(cached) $ECHO_C" >&6
8494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8497 # Is the header compilable?
8498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8500 cat >conftest.
$ac_ext <<_ACEOF
8503 cat confdefs.h
>>conftest.
$ac_ext
8504 cat >>conftest.
$ac_ext <<_ACEOF
8505 /* end confdefs.h. */
8506 $ac_includes_default
8507 #include <$ac_header>
8509 rm -f conftest.
$ac_objext
8510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8511 (eval $ac_compile) 2>conftest.er1
8513 grep -v '^ *+' conftest.er1
>conftest.err
8515 cat conftest.err
>&5
8516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8517 (exit $ac_status); } &&
8518 { ac_try
='test -z "$ac_c_werror_flag"
8519 || test ! -s conftest.err'
8520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); }; } &&
8525 { ac_try
='test -s conftest.$ac_objext'
8526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); }; }; then
8531 ac_header_compiler
=yes
8533 echo "$as_me: failed program was:" >&5
8534 sed 's/^/| /' conftest.
$ac_ext >&5
8536 ac_header_compiler
=no
8538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8540 echo "${ECHO_T}$ac_header_compiler" >&6
8542 # Is the header present?
8543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8545 cat >conftest.
$ac_ext <<_ACEOF
8548 cat confdefs.h
>>conftest.
$ac_ext
8549 cat >>conftest.
$ac_ext <<_ACEOF
8550 /* end confdefs.h. */
8551 #include <$ac_header>
8553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8554 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8556 grep -v '^ *+' conftest.er1
>conftest.err
8558 cat conftest.err
>&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } >/dev
/null
; then
8561 if test -s conftest.err
; then
8562 ac_cpp_err
=$ac_c_preproc_warn_flag
8563 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8570 if test -z "$ac_cpp_err"; then
8571 ac_header_preproc
=yes
8573 echo "$as_me: failed program was:" >&5
8574 sed 's/^/| /' conftest.
$ac_ext >&5
8576 ac_header_preproc
=no
8578 rm -f conftest.err conftest.
$ac_ext
8579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8580 echo "${ECHO_T}$ac_header_preproc" >&6
8582 # So? What about this header?
8583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8589 ac_header_preproc
=yes
8592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8606 ## ------------------------------------------ ##
8607 ## Report this to the AC_PACKAGE_NAME lists. ##
8608 ## ------------------------------------------ ##
8611 sed "s/^/$as_me: WARNING: /" >&2
8614 echo "$as_me:$LINENO: checking for $ac_header" >&5
8615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8617 echo $ECHO_N "(cached) $ECHO_C" >&6
8619 eval "$as_ac_Header=\$ac_header_preproc"
8621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8626 cat >>confdefs.h
<<_ACEOF
8627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8636 for ac_header
in sys
/reg.h sys
/debugreg.h
8638 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8648 # Is the header compilable?
8649 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8651 cat >conftest.
$ac_ext <<_ACEOF
8654 cat confdefs.h
>>conftest.
$ac_ext
8655 cat >>conftest.
$ac_ext <<_ACEOF
8656 /* end confdefs.h. */
8657 $ac_includes_default
8658 #include <$ac_header>
8660 rm -f conftest.
$ac_objext
8661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8662 (eval $ac_compile) 2>conftest.er1
8664 grep -v '^ *+' conftest.er1
>conftest.err
8666 cat conftest.err
>&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } &&
8669 { ac_try
='test -z "$ac_c_werror_flag"
8670 || test ! -s conftest.err'
8671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); }; } &&
8676 { ac_try
='test -s conftest.$ac_objext'
8677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); }; }; then
8682 ac_header_compiler
=yes
8684 echo "$as_me: failed program was:" >&5
8685 sed 's/^/| /' conftest.
$ac_ext >&5
8687 ac_header_compiler
=no
8689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8690 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8691 echo "${ECHO_T}$ac_header_compiler" >&6
8693 # Is the header present?
8694 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8696 cat >conftest.
$ac_ext <<_ACEOF
8699 cat confdefs.h
>>conftest.
$ac_ext
8700 cat >>conftest.
$ac_ext <<_ACEOF
8701 /* end confdefs.h. */
8702 #include <$ac_header>
8704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8705 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8707 grep -v '^ *+' conftest.er1
>conftest.err
8709 cat conftest.err
>&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); } >/dev
/null
; then
8712 if test -s conftest.err
; then
8713 ac_cpp_err
=$ac_c_preproc_warn_flag
8714 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8721 if test -z "$ac_cpp_err"; then
8722 ac_header_preproc
=yes
8724 echo "$as_me: failed program was:" >&5
8725 sed 's/^/| /' conftest.
$ac_ext >&5
8727 ac_header_preproc
=no
8729 rm -f conftest.err conftest.
$ac_ext
8730 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8731 echo "${ECHO_T}$ac_header_preproc" >&6
8733 # So? What about this header?
8734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8736 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8737 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8739 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8740 ac_header_preproc
=yes
8743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8747 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8748 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8749 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8750 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8753 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8754 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8757 ## ------------------------------------------ ##
8758 ## Report this to the AC_PACKAGE_NAME lists. ##
8759 ## ------------------------------------------ ##
8762 sed "s/^/$as_me: WARNING: /" >&2
8765 echo "$as_me:$LINENO: checking for $ac_header" >&5
8766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8768 echo $ECHO_N "(cached) $ECHO_C" >&6
8770 eval "$as_ac_Header=\$ac_header_preproc"
8772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8777 cat >>confdefs.h
<<_ACEOF
8778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8786 for ac_header
in sys
/select.h
8788 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8798 # Is the header compilable?
8799 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8800 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8801 cat >conftest.
$ac_ext <<_ACEOF
8804 cat confdefs.h
>>conftest.
$ac_ext
8805 cat >>conftest.
$ac_ext <<_ACEOF
8806 /* end confdefs.h. */
8807 $ac_includes_default
8808 #include <$ac_header>
8810 rm -f conftest.
$ac_objext
8811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8812 (eval $ac_compile) 2>conftest.er1
8814 grep -v '^ *+' conftest.er1
>conftest.err
8816 cat conftest.err
>&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); } &&
8819 { ac_try
='test -z "$ac_c_werror_flag"
8820 || test ! -s conftest.err'
8821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); }; } &&
8826 { ac_try
='test -s conftest.$ac_objext'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; }; then
8832 ac_header_compiler
=yes
8834 echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.
$ac_ext >&5
8837 ac_header_compiler
=no
8839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8840 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8841 echo "${ECHO_T}$ac_header_compiler" >&6
8843 # Is the header present?
8844 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8845 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8846 cat >conftest.
$ac_ext <<_ACEOF
8849 cat confdefs.h
>>conftest.
$ac_ext
8850 cat >>conftest.
$ac_ext <<_ACEOF
8851 /* end confdefs.h. */
8852 #include <$ac_header>
8854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8855 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8857 grep -v '^ *+' conftest.er1
>conftest.err
8859 cat conftest.err
>&5
8860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861 (exit $ac_status); } >/dev
/null
; then
8862 if test -s conftest.err
; then
8863 ac_cpp_err
=$ac_c_preproc_warn_flag
8864 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8871 if test -z "$ac_cpp_err"; then
8872 ac_header_preproc
=yes
8874 echo "$as_me: failed program was:" >&5
8875 sed 's/^/| /' conftest.
$ac_ext >&5
8877 ac_header_preproc
=no
8879 rm -f conftest.err conftest.
$ac_ext
8880 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8881 echo "${ECHO_T}$ac_header_preproc" >&6
8883 # So? What about this header?
8884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8886 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8887 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8889 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8890 ac_header_preproc
=yes
8893 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8894 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8895 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8896 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8897 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8898 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8899 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8900 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8902 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8903 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8904 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8907 ## ------------------------------------------ ##
8908 ## Report this to the AC_PACKAGE_NAME lists. ##
8909 ## ------------------------------------------ ##
8912 sed "s/^/$as_me: WARNING: /" >&2
8915 echo "$as_me:$LINENO: checking for $ac_header" >&5
8916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8918 echo $ECHO_N "(cached) $ECHO_C" >&6
8920 eval "$as_ac_Header=\$ac_header_preproc"
8922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8927 cat >>confdefs.h
<<_ACEOF
8928 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8936 for ac_header
in sys
/syscall.h
8938 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8948 # Is the header compilable?
8949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8951 cat >conftest.
$ac_ext <<_ACEOF
8954 cat confdefs.h
>>conftest.
$ac_ext
8955 cat >>conftest.
$ac_ext <<_ACEOF
8956 /* end confdefs.h. */
8957 $ac_includes_default
8958 #include <$ac_header>
8960 rm -f conftest.
$ac_objext
8961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8962 (eval $ac_compile) 2>conftest.er1
8964 grep -v '^ *+' conftest.er1
>conftest.err
8966 cat conftest.err
>&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); } &&
8969 { ac_try
='test -z "$ac_c_werror_flag"
8970 || test ! -s conftest.err'
8971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); }; } &&
8976 { ac_try
='test -s conftest.$ac_objext'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; }; then
8982 ac_header_compiler
=yes
8984 echo "$as_me: failed program was:" >&5
8985 sed 's/^/| /' conftest.
$ac_ext >&5
8987 ac_header_compiler
=no
8989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8991 echo "${ECHO_T}$ac_header_compiler" >&6
8993 # Is the header present?
8994 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8996 cat >conftest.
$ac_ext <<_ACEOF
8999 cat confdefs.h
>>conftest.
$ac_ext
9000 cat >>conftest.
$ac_ext <<_ACEOF
9001 /* end confdefs.h. */
9002 #include <$ac_header>
9004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9007 grep -v '^ *+' conftest.er1
>conftest.err
9009 cat conftest.err
>&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); } >/dev
/null
; then
9012 if test -s conftest.err
; then
9013 ac_cpp_err
=$ac_c_preproc_warn_flag
9014 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9021 if test -z "$ac_cpp_err"; then
9022 ac_header_preproc
=yes
9024 echo "$as_me: failed program was:" >&5
9025 sed 's/^/| /' conftest.
$ac_ext >&5
9027 ac_header_preproc
=no
9029 rm -f conftest.err conftest.
$ac_ext
9030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9031 echo "${ECHO_T}$ac_header_preproc" >&6
9033 # So? What about this header?
9034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9039 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9040 ac_header_preproc
=yes
9043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9046 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9047 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9048 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9049 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9050 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9053 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9054 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9057 ## ------------------------------------------ ##
9058 ## Report this to the AC_PACKAGE_NAME lists. ##
9059 ## ------------------------------------------ ##
9062 sed "s/^/$as_me: WARNING: /" >&2
9065 echo "$as_me:$LINENO: checking for $ac_header" >&5
9066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9068 echo $ECHO_N "(cached) $ECHO_C" >&6
9070 eval "$as_ac_Header=\$ac_header_preproc"
9072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9077 cat >>confdefs.h
<<_ACEOF
9078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9086 for ac_header
in sys
/types.h
9088 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9098 # Is the header compilable?
9099 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9100 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9101 cat >conftest.
$ac_ext <<_ACEOF
9104 cat confdefs.h
>>conftest.
$ac_ext
9105 cat >>conftest.
$ac_ext <<_ACEOF
9106 /* end confdefs.h. */
9107 $ac_includes_default
9108 #include <$ac_header>
9110 rm -f conftest.
$ac_objext
9111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9112 (eval $ac_compile) 2>conftest.er1
9114 grep -v '^ *+' conftest.er1
>conftest.err
9116 cat conftest.err
>&5
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 (exit $ac_status); } &&
9119 { ac_try
='test -z "$ac_c_werror_flag"
9120 || test ! -s conftest.err'
9121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); }; } &&
9126 { ac_try
='test -s conftest.$ac_objext'
9127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); }; }; then
9132 ac_header_compiler
=yes
9134 echo "$as_me: failed program was:" >&5
9135 sed 's/^/| /' conftest.
$ac_ext >&5
9137 ac_header_compiler
=no
9139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9141 echo "${ECHO_T}$ac_header_compiler" >&6
9143 # Is the header present?
9144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9146 cat >conftest.
$ac_ext <<_ACEOF
9149 cat confdefs.h
>>conftest.
$ac_ext
9150 cat >>conftest.
$ac_ext <<_ACEOF
9151 /* end confdefs.h. */
9152 #include <$ac_header>
9154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9157 grep -v '^ *+' conftest.er1
>conftest.err
9159 cat conftest.err
>&5
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); } >/dev
/null
; then
9162 if test -s conftest.err
; then
9163 ac_cpp_err
=$ac_c_preproc_warn_flag
9164 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9171 if test -z "$ac_cpp_err"; then
9172 ac_header_preproc
=yes
9174 echo "$as_me: failed program was:" >&5
9175 sed 's/^/| /' conftest.
$ac_ext >&5
9177 ac_header_preproc
=no
9179 rm -f conftest.err conftest.
$ac_ext
9180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9181 echo "${ECHO_T}$ac_header_preproc" >&6
9183 # So? What about this header?
9184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9186 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9189 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9190 ac_header_preproc
=yes
9193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9197 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9198 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9199 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9200 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9203 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9204 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9207 ## ------------------------------------------ ##
9208 ## Report this to the AC_PACKAGE_NAME lists. ##
9209 ## ------------------------------------------ ##
9212 sed "s/^/$as_me: WARNING: /" >&2
9215 echo "$as_me:$LINENO: checking for $ac_header" >&5
9216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9218 echo $ECHO_N "(cached) $ECHO_C" >&6
9220 eval "$as_ac_Header=\$ac_header_preproc"
9222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9227 cat >>confdefs.h
<<_ACEOF
9228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9236 for ac_header
in sys
/user.h
9238 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9239 echo "$as_me:$LINENO: checking for $ac_header" >&5
9240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9242 echo $ECHO_N "(cached) $ECHO_C" >&6
9244 cat >conftest.
$ac_ext <<_ACEOF
9247 cat confdefs.h
>>conftest.
$ac_ext
9248 cat >>conftest.
$ac_ext <<_ACEOF
9249 /* end confdefs.h. */
9250 #if HAVE_SYS_PARAM_H
9251 # include <sys/param.h>
9255 #include <$ac_header>
9257 rm -f conftest.
$ac_objext
9258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9259 (eval $ac_compile) 2>conftest.er1
9261 grep -v '^ *+' conftest.er1
>conftest.err
9263 cat conftest.err
>&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); } &&
9266 { ac_try
='test -z "$ac_c_werror_flag"
9267 || test ! -s conftest.err'
9268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272 (exit $ac_status); }; } &&
9273 { ac_try
='test -s conftest.$ac_objext'
9274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); }; }; then
9279 eval "$as_ac_Header=yes"
9281 echo "$as_me: failed program was:" >&5
9282 sed 's/^/| /' conftest.
$ac_ext >&5
9284 eval "$as_ac_Header=no"
9286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9291 cat >>confdefs.h
<<_ACEOF
9292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9301 for ac_header
in sys
/wait.h
wait.h
9303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9305 echo "$as_me:$LINENO: checking for $ac_header" >&5
9306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9308 echo $ECHO_N "(cached) $ECHO_C" >&6
9310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9313 # Is the header compilable?
9314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9316 cat >conftest.
$ac_ext <<_ACEOF
9319 cat confdefs.h
>>conftest.
$ac_ext
9320 cat >>conftest.
$ac_ext <<_ACEOF
9321 /* end confdefs.h. */
9322 $ac_includes_default
9323 #include <$ac_header>
9325 rm -f conftest.
$ac_objext
9326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9327 (eval $ac_compile) 2>conftest.er1
9329 grep -v '^ *+' conftest.er1
>conftest.err
9331 cat conftest.err
>&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); } &&
9334 { ac_try
='test -z "$ac_c_werror_flag"
9335 || test ! -s conftest.err'
9336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); }; } &&
9341 { ac_try
='test -s conftest.$ac_objext'
9342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346 (exit $ac_status); }; }; then
9347 ac_header_compiler
=yes
9349 echo "$as_me: failed program was:" >&5
9350 sed 's/^/| /' conftest.
$ac_ext >&5
9352 ac_header_compiler
=no
9354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9356 echo "${ECHO_T}$ac_header_compiler" >&6
9358 # Is the header present?
9359 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9360 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9361 cat >conftest.
$ac_ext <<_ACEOF
9364 cat confdefs.h
>>conftest.
$ac_ext
9365 cat >>conftest.
$ac_ext <<_ACEOF
9366 /* end confdefs.h. */
9367 #include <$ac_header>
9369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9372 grep -v '^ *+' conftest.er1
>conftest.err
9374 cat conftest.err
>&5
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); } >/dev
/null
; then
9377 if test -s conftest.err
; then
9378 ac_cpp_err
=$ac_c_preproc_warn_flag
9379 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9386 if test -z "$ac_cpp_err"; then
9387 ac_header_preproc
=yes
9389 echo "$as_me: failed program was:" >&5
9390 sed 's/^/| /' conftest.
$ac_ext >&5
9392 ac_header_preproc
=no
9394 rm -f conftest.err conftest.
$ac_ext
9395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9396 echo "${ECHO_T}$ac_header_preproc" >&6
9398 # So? What about this header?
9399 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9401 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9402 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9404 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9405 ac_header_preproc
=yes
9408 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9410 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9411 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9412 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9413 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9414 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9415 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9418 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9419 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9422 ## ------------------------------------------ ##
9423 ## Report this to the AC_PACKAGE_NAME lists. ##
9424 ## ------------------------------------------ ##
9427 sed "s/^/$as_me: WARNING: /" >&2
9430 echo "$as_me:$LINENO: checking for $ac_header" >&5
9431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9433 echo $ECHO_N "(cached) $ECHO_C" >&6
9435 eval "$as_ac_Header=\$ac_header_preproc"
9437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9442 cat >>confdefs.h
<<_ACEOF
9443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9453 for ac_header
in termios.h termio.h sgtty.h
9455 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9457 echo "$as_me:$LINENO: checking for $ac_header" >&5
9458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9460 echo $ECHO_N "(cached) $ECHO_C" >&6
9462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9465 # Is the header compilable?
9466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9468 cat >conftest.
$ac_ext <<_ACEOF
9471 cat confdefs.h
>>conftest.
$ac_ext
9472 cat >>conftest.
$ac_ext <<_ACEOF
9473 /* end confdefs.h. */
9474 $ac_includes_default
9475 #include <$ac_header>
9477 rm -f conftest.
$ac_objext
9478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9479 (eval $ac_compile) 2>conftest.er1
9481 grep -v '^ *+' conftest.er1
>conftest.err
9483 cat conftest.err
>&5
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); } &&
9486 { ac_try
='test -z "$ac_c_werror_flag"
9487 || test ! -s conftest.err'
9488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 (exit $ac_status); }; } &&
9493 { ac_try
='test -s conftest.$ac_objext'
9494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); }; }; then
9499 ac_header_compiler
=yes
9501 echo "$as_me: failed program was:" >&5
9502 sed 's/^/| /' conftest.
$ac_ext >&5
9504 ac_header_compiler
=no
9506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9508 echo "${ECHO_T}$ac_header_compiler" >&6
9510 # Is the header present?
9511 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9512 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9513 cat >conftest.
$ac_ext <<_ACEOF
9516 cat confdefs.h
>>conftest.
$ac_ext
9517 cat >>conftest.
$ac_ext <<_ACEOF
9518 /* end confdefs.h. */
9519 #include <$ac_header>
9521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9522 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9524 grep -v '^ *+' conftest.er1
>conftest.err
9526 cat conftest.err
>&5
9527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } >/dev
/null
; then
9529 if test -s conftest.err
; then
9530 ac_cpp_err
=$ac_c_preproc_warn_flag
9531 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9538 if test -z "$ac_cpp_err"; then
9539 ac_header_preproc
=yes
9541 echo "$as_me: failed program was:" >&5
9542 sed 's/^/| /' conftest.
$ac_ext >&5
9544 ac_header_preproc
=no
9546 rm -f conftest.err conftest.
$ac_ext
9547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9548 echo "${ECHO_T}$ac_header_preproc" >&6
9550 # So? What about this header?
9551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9553 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9554 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9556 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9557 ac_header_preproc
=yes
9560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9564 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9565 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9566 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9567 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9569 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9570 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9571 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9574 ## ------------------------------------------ ##
9575 ## Report this to the AC_PACKAGE_NAME lists. ##
9576 ## ------------------------------------------ ##
9579 sed "s/^/$as_me: WARNING: /" >&2
9582 echo "$as_me:$LINENO: checking for $ac_header" >&5
9583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9585 echo $ECHO_N "(cached) $ECHO_C" >&6
9587 eval "$as_ac_Header=\$ac_header_preproc"
9589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9594 cat >>confdefs.h
<<_ACEOF
9595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9603 for ac_header
in unistd.h
9605 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9607 echo "$as_me:$LINENO: checking for $ac_header" >&5
9608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9610 echo $ECHO_N "(cached) $ECHO_C" >&6
9612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9615 # Is the header compilable?
9616 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9618 cat >conftest.
$ac_ext <<_ACEOF
9621 cat confdefs.h
>>conftest.
$ac_ext
9622 cat >>conftest.
$ac_ext <<_ACEOF
9623 /* end confdefs.h. */
9624 $ac_includes_default
9625 #include <$ac_header>
9627 rm -f conftest.
$ac_objext
9628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9629 (eval $ac_compile) 2>conftest.er1
9631 grep -v '^ *+' conftest.er1
>conftest.err
9633 cat conftest.err
>&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); } &&
9636 { ac_try
='test -z "$ac_c_werror_flag"
9637 || test ! -s conftest.err'
9638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9642 (exit $ac_status); }; } &&
9643 { ac_try
='test -s conftest.$ac_objext'
9644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); }; }; then
9649 ac_header_compiler
=yes
9651 echo "$as_me: failed program was:" >&5
9652 sed 's/^/| /' conftest.
$ac_ext >&5
9654 ac_header_compiler
=no
9656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9658 echo "${ECHO_T}$ac_header_compiler" >&6
9660 # Is the header present?
9661 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9662 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9663 cat >conftest.
$ac_ext <<_ACEOF
9666 cat confdefs.h
>>conftest.
$ac_ext
9667 cat >>conftest.
$ac_ext <<_ACEOF
9668 /* end confdefs.h. */
9669 #include <$ac_header>
9671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9674 grep -v '^ *+' conftest.er1
>conftest.err
9676 cat conftest.err
>&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); } >/dev
/null
; then
9679 if test -s conftest.err
; then
9680 ac_cpp_err
=$ac_c_preproc_warn_flag
9681 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9688 if test -z "$ac_cpp_err"; then
9689 ac_header_preproc
=yes
9691 echo "$as_me: failed program was:" >&5
9692 sed 's/^/| /' conftest.
$ac_ext >&5
9694 ac_header_preproc
=no
9696 rm -f conftest.err conftest.
$ac_ext
9697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9698 echo "${ECHO_T}$ac_header_preproc" >&6
9700 # So? What about this header?
9701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9703 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9704 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9706 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9707 ac_header_preproc
=yes
9710 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9711 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9712 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9713 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9714 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9715 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9716 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9717 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9720 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9721 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9724 ## ------------------------------------------ ##
9725 ## Report this to the AC_PACKAGE_NAME lists. ##
9726 ## ------------------------------------------ ##
9729 sed "s/^/$as_me: WARNING: /" >&2
9732 echo "$as_me:$LINENO: checking for $ac_header" >&5
9733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9735 echo $ECHO_N "(cached) $ECHO_C" >&6
9737 eval "$as_ac_Header=\$ac_header_preproc"
9739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9744 cat >>confdefs.h
<<_ACEOF
9745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9753 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
9754 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
9755 # think that we don't have <curses.h> if we're using GCC.
9758 if test "$GCC" = yes; then
9760 cat >>confdefs.h
<<\_ACEOF
9761 #define _MSE_INT_H 1
9770 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
9772 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9774 echo "$as_me:$LINENO: checking for $ac_header" >&5
9775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9777 echo $ECHO_N "(cached) $ECHO_C" >&6
9779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9782 # Is the header compilable?
9783 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9784 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9785 cat >conftest.
$ac_ext <<_ACEOF
9788 cat confdefs.h
>>conftest.
$ac_ext
9789 cat >>conftest.
$ac_ext <<_ACEOF
9790 /* end confdefs.h. */
9791 $ac_includes_default
9792 #include <$ac_header>
9794 rm -f conftest.
$ac_objext
9795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9796 (eval $ac_compile) 2>conftest.er1
9798 grep -v '^ *+' conftest.er1
>conftest.err
9800 cat conftest.err
>&5
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); } &&
9803 { ac_try
='test -z "$ac_c_werror_flag"
9804 || test ! -s conftest.err'
9805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); }; } &&
9810 { ac_try
='test -s conftest.$ac_objext'
9811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 (exit $ac_status); }; }; then
9816 ac_header_compiler
=yes
9818 echo "$as_me: failed program was:" >&5
9819 sed 's/^/| /' conftest.
$ac_ext >&5
9821 ac_header_compiler
=no
9823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9825 echo "${ECHO_T}$ac_header_compiler" >&6
9827 # Is the header present?
9828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9830 cat >conftest.
$ac_ext <<_ACEOF
9833 cat confdefs.h
>>conftest.
$ac_ext
9834 cat >>conftest.
$ac_ext <<_ACEOF
9835 /* end confdefs.h. */
9836 #include <$ac_header>
9838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9841 grep -v '^ *+' conftest.er1
>conftest.err
9843 cat conftest.err
>&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } >/dev
/null
; then
9846 if test -s conftest.err
; then
9847 ac_cpp_err
=$ac_c_preproc_warn_flag
9848 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9855 if test -z "$ac_cpp_err"; then
9856 ac_header_preproc
=yes
9858 echo "$as_me: failed program was:" >&5
9859 sed 's/^/| /' conftest.
$ac_ext >&5
9861 ac_header_preproc
=no
9863 rm -f conftest.err conftest.
$ac_ext
9864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9865 echo "${ECHO_T}$ac_header_preproc" >&6
9867 # So? What about this header?
9868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9874 ac_header_preproc
=yes
9877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9891 ## ------------------------------------------ ##
9892 ## Report this to the AC_PACKAGE_NAME lists. ##
9893 ## ------------------------------------------ ##
9896 sed "s/^/$as_me: WARNING: /" >&2
9899 echo "$as_me:$LINENO: checking for $ac_header" >&5
9900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9904 eval "$as_ac_Header=\$ac_header_preproc"
9906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9911 cat >>confdefs.h
<<_ACEOF
9912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9920 for ac_header
in ncurses
/term.h
9922 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9924 echo "$as_me:$LINENO: checking for $ac_header" >&5
9925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9927 echo $ECHO_N "(cached) $ECHO_C" >&6
9929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9932 # Is the header compilable?
9933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9935 cat >conftest.
$ac_ext <<_ACEOF
9938 cat confdefs.h
>>conftest.
$ac_ext
9939 cat >>conftest.
$ac_ext <<_ACEOF
9940 /* end confdefs.h. */
9941 $ac_includes_default
9942 #include <$ac_header>
9944 rm -f conftest.
$ac_objext
9945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9946 (eval $ac_compile) 2>conftest.er1
9948 grep -v '^ *+' conftest.er1
>conftest.err
9950 cat conftest.err
>&5
9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 (exit $ac_status); } &&
9953 { ac_try
='test -z "$ac_c_werror_flag"
9954 || test ! -s conftest.err'
9955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); }; } &&
9960 { ac_try
='test -s conftest.$ac_objext'
9961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); }; }; then
9966 ac_header_compiler
=yes
9968 echo "$as_me: failed program was:" >&5
9969 sed 's/^/| /' conftest.
$ac_ext >&5
9971 ac_header_compiler
=no
9973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9975 echo "${ECHO_T}$ac_header_compiler" >&6
9977 # Is the header present?
9978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9980 cat >conftest.
$ac_ext <<_ACEOF
9983 cat confdefs.h
>>conftest.
$ac_ext
9984 cat >>conftest.
$ac_ext <<_ACEOF
9985 /* end confdefs.h. */
9986 #include <$ac_header>
9988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9991 grep -v '^ *+' conftest.er1
>conftest.err
9993 cat conftest.err
>&5
9994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 (exit $ac_status); } >/dev
/null
; then
9996 if test -s conftest.err
; then
9997 ac_cpp_err
=$ac_c_preproc_warn_flag
9998 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10005 if test -z "$ac_cpp_err"; then
10006 ac_header_preproc
=yes
10008 echo "$as_me: failed program was:" >&5
10009 sed 's/^/| /' conftest.
$ac_ext >&5
10011 ac_header_preproc
=no
10013 rm -f conftest.err conftest.
$ac_ext
10014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10015 echo "${ECHO_T}$ac_header_preproc" >&6
10017 # So? What about this header?
10018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10024 ac_header_preproc
=yes
10027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10031 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10033 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10034 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10037 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10041 ## ------------------------------------------ ##
10042 ## Report this to the AC_PACKAGE_NAME lists. ##
10043 ## ------------------------------------------ ##
10046 sed "s/^/$as_me: WARNING: /" >&2
10049 echo "$as_me:$LINENO: checking for $ac_header" >&5
10050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10052 echo $ECHO_N "(cached) $ECHO_C" >&6
10054 eval "$as_ac_Header=\$ac_header_preproc"
10056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10061 cat >>confdefs.h
<<_ACEOF
10062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10070 for ac_header
in term.h
10072 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10073 echo "$as_me:$LINENO: checking for $ac_header" >&5
10074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10076 echo $ECHO_N "(cached) $ECHO_C" >&6
10078 cat >conftest.
$ac_ext <<_ACEOF
10081 cat confdefs.h
>>conftest.
$ac_ext
10082 cat >>conftest.
$ac_ext <<_ACEOF
10083 /* end confdefs.h. */
10085 # include <curses.h>
10089 #include <$ac_header>
10091 rm -f conftest.
$ac_objext
10092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10093 (eval $ac_compile) 2>conftest.er1
10095 grep -v '^ *+' conftest.er1
>conftest.err
10097 cat conftest.err
>&5
10098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10099 (exit $ac_status); } &&
10100 { ac_try
='test -z "$ac_c_werror_flag"
10101 || test ! -s conftest.err'
10102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10103 (eval $ac_try) 2>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); }; } &&
10107 { ac_try
='test -s conftest.$ac_objext'
10108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109 (eval $ac_try) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; }; then
10113 eval "$as_ac_Header=yes"
10115 echo "$as_me: failed program was:" >&5
10116 sed 's/^/| /' conftest.
$ac_ext >&5
10118 eval "$as_ac_Header=no"
10120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10125 cat >>confdefs.h
<<_ACEOF
10126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10134 # FIXME: kettenis/20030102: In most cases we include these
10135 # unconditionally, so what's the point in checking these?
10138 for ac_header
in ctype.h
time.h
10140 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10142 echo "$as_me:$LINENO: checking for $ac_header" >&5
10143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10145 echo $ECHO_N "(cached) $ECHO_C" >&6
10147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10150 # Is the header compilable?
10151 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10153 cat >conftest.
$ac_ext <<_ACEOF
10156 cat confdefs.h
>>conftest.
$ac_ext
10157 cat >>conftest.
$ac_ext <<_ACEOF
10158 /* end confdefs.h. */
10159 $ac_includes_default
10160 #include <$ac_header>
10162 rm -f conftest.
$ac_objext
10163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10164 (eval $ac_compile) 2>conftest.er1
10166 grep -v '^ *+' conftest.er1
>conftest.err
10168 cat conftest.err
>&5
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); } &&
10171 { ac_try
='test -z "$ac_c_werror_flag"
10172 || test ! -s conftest.err'
10173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10174 (eval $ac_try) 2>&5
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); }; } &&
10178 { ac_try
='test -s conftest.$ac_objext'
10179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10180 (eval $ac_try) 2>&5
10182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183 (exit $ac_status); }; }; then
10184 ac_header_compiler
=yes
10186 echo "$as_me: failed program was:" >&5
10187 sed 's/^/| /' conftest.
$ac_ext >&5
10189 ac_header_compiler
=no
10191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10193 echo "${ECHO_T}$ac_header_compiler" >&6
10195 # Is the header present?
10196 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10197 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10198 cat >conftest.
$ac_ext <<_ACEOF
10201 cat confdefs.h
>>conftest.
$ac_ext
10202 cat >>conftest.
$ac_ext <<_ACEOF
10203 /* end confdefs.h. */
10204 #include <$ac_header>
10206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10207 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10209 grep -v '^ *+' conftest.er1
>conftest.err
10211 cat conftest.err
>&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } >/dev
/null
; then
10214 if test -s conftest.err
; then
10215 ac_cpp_err
=$ac_c_preproc_warn_flag
10216 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10223 if test -z "$ac_cpp_err"; then
10224 ac_header_preproc
=yes
10226 echo "$as_me: failed program was:" >&5
10227 sed 's/^/| /' conftest.
$ac_ext >&5
10229 ac_header_preproc
=no
10231 rm -f conftest.err conftest.
$ac_ext
10232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10233 echo "${ECHO_T}$ac_header_preproc" >&6
10235 # So? What about this header?
10236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10241 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10242 ac_header_preproc
=yes
10245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10249 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10250 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10251 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10252 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10255 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10256 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10259 ## ------------------------------------------ ##
10260 ## Report this to the AC_PACKAGE_NAME lists. ##
10261 ## ------------------------------------------ ##
10264 sed "s/^/$as_me: WARNING: /" >&2
10267 echo "$as_me:$LINENO: checking for $ac_header" >&5
10268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10270 echo $ECHO_N "(cached) $ECHO_C" >&6
10272 eval "$as_ac_Header=\$ac_header_preproc"
10274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10279 cat >>confdefs.h
<<_ACEOF
10280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10288 # Create a header we can use portably to get the standard integer types.
10291 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
10293 acx_cv_header_stdint
=stddef.h
10294 acx_cv_header_stdint_kind
="(already complete)"
10295 for i
in stdint.h
$inttype_headers; do
10296 unset ac_cv_type_uintptr_t
10297 unset ac_cv_type_uintmax_t
10298 unset ac_cv_type_int_least32_t
10299 unset ac_cv_type_int_fast32_t
10300 unset ac_cv_type_uint64_t
10301 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
10302 echo "$as_me:$LINENO: checking for uintmax_t" >&5
10303 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
10304 if test "${ac_cv_type_uintmax_t+set}" = set; then
10305 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 cat >conftest.
$ac_ext <<_ACEOF
10310 cat confdefs.h
>>conftest.
$ac_ext
10311 cat >>conftest.
$ac_ext <<_ACEOF
10312 /* end confdefs.h. */
10313 #include <sys/types.h>
10319 if ((uintmax_t *) 0)
10321 if (sizeof (uintmax_t))
10327 rm -f conftest.
$ac_objext
10328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10329 (eval $ac_compile) 2>conftest.er1
10331 grep -v '^ *+' conftest.er1
>conftest.err
10333 cat conftest.err
>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } &&
10336 { ac_try
='test -z "$ac_c_werror_flag"
10337 || test ! -s conftest.err'
10338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10339 (eval $ac_try) 2>&5
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); }; } &&
10343 { ac_try
='test -s conftest.$ac_objext'
10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345 (eval $ac_try) 2>&5
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); }; }; then
10349 ac_cv_type_uintmax_t
=yes
10351 echo "$as_me: failed program was:" >&5
10352 sed 's/^/| /' conftest.
$ac_ext >&5
10354 ac_cv_type_uintmax_t
=no
10356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10358 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
10359 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
10360 if test $ac_cv_type_uintmax_t = yes; then
10361 acx_cv_header_stdint
=$i
10366 echo "$as_me:$LINENO: checking for uintptr_t" >&5
10367 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
10368 if test "${ac_cv_type_uintptr_t+set}" = set; then
10369 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 cat >conftest.
$ac_ext <<_ACEOF
10374 cat confdefs.h
>>conftest.
$ac_ext
10375 cat >>conftest.
$ac_ext <<_ACEOF
10376 /* end confdefs.h. */
10377 #include <sys/types.h>
10383 if ((uintptr_t *) 0)
10385 if (sizeof (uintptr_t))
10391 rm -f conftest.
$ac_objext
10392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10393 (eval $ac_compile) 2>conftest.er1
10395 grep -v '^ *+' conftest.er1
>conftest.err
10397 cat conftest.err
>&5
10398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399 (exit $ac_status); } &&
10400 { ac_try
='test -z "$ac_c_werror_flag"
10401 || test ! -s conftest.err'
10402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10403 (eval $ac_try) 2>&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); }; } &&
10407 { ac_try
='test -s conftest.$ac_objext'
10408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10409 (eval $ac_try) 2>&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); }; }; then
10413 ac_cv_type_uintptr_t
=yes
10415 echo "$as_me: failed program was:" >&5
10416 sed 's/^/| /' conftest.
$ac_ext >&5
10418 ac_cv_type_uintptr_t
=no
10420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10422 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
10423 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
10424 if test $ac_cv_type_uintptr_t = yes; then
10427 acx_cv_header_stdint_kind
="(mostly complete)"
10430 echo "$as_me:$LINENO: checking for int_least32_t" >&5
10431 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
10432 if test "${ac_cv_type_int_least32_t+set}" = set; then
10433 echo $ECHO_N "(cached) $ECHO_C" >&6
10435 cat >conftest.
$ac_ext <<_ACEOF
10438 cat confdefs.h
>>conftest.
$ac_ext
10439 cat >>conftest.
$ac_ext <<_ACEOF
10440 /* end confdefs.h. */
10441 #include <sys/types.h>
10447 if ((int_least32_t *) 0)
10449 if (sizeof (int_least32_t))
10455 rm -f conftest.
$ac_objext
10456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10457 (eval $ac_compile) 2>conftest.er1
10459 grep -v '^ *+' conftest.er1
>conftest.err
10461 cat conftest.err
>&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); } &&
10464 { ac_try
='test -z "$ac_c_werror_flag"
10465 || test ! -s conftest.err'
10466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10467 (eval $ac_try) 2>&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); }; } &&
10471 { ac_try
='test -s conftest.$ac_objext'
10472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10473 (eval $ac_try) 2>&5
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); }; }; then
10477 ac_cv_type_int_least32_t
=yes
10479 echo "$as_me: failed program was:" >&5
10480 sed 's/^/| /' conftest.
$ac_ext >&5
10482 ac_cv_type_int_least32_t
=no
10484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10486 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
10487 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
10488 if test $ac_cv_type_int_least32_t = yes; then
10491 acx_cv_header_stdint_kind
="(mostly complete)"
10494 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
10495 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
10496 if test "${ac_cv_type_int_fast32_t+set}" = set; then
10497 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 cat >conftest.
$ac_ext <<_ACEOF
10502 cat confdefs.h
>>conftest.
$ac_ext
10503 cat >>conftest.
$ac_ext <<_ACEOF
10504 /* end confdefs.h. */
10505 #include <sys/types.h>
10511 if ((int_fast32_t *) 0)
10513 if (sizeof (int_fast32_t))
10519 rm -f conftest.
$ac_objext
10520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10521 (eval $ac_compile) 2>conftest.er1
10523 grep -v '^ *+' conftest.er1
>conftest.err
10525 cat conftest.err
>&5
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); } &&
10528 { ac_try
='test -z "$ac_c_werror_flag"
10529 || test ! -s conftest.err'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; } &&
10535 { ac_try
='test -s conftest.$ac_objext'
10536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10537 (eval $ac_try) 2>&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); }; }; then
10541 ac_cv_type_int_fast32_t
=yes
10543 echo "$as_me: failed program was:" >&5
10544 sed 's/^/| /' conftest.
$ac_ext >&5
10546 ac_cv_type_int_fast32_t
=no
10548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10550 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
10551 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
10552 if test $ac_cv_type_int_fast32_t = yes; then
10555 acx_cv_header_stdint_kind
="(mostly complete)"
10558 echo "$as_me:$LINENO: checking for uint64_t" >&5
10559 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
10560 if test "${ac_cv_type_uint64_t+set}" = set; then
10561 echo $ECHO_N "(cached) $ECHO_C" >&6
10563 cat >conftest.
$ac_ext <<_ACEOF
10566 cat confdefs.h
>>conftest.
$ac_ext
10567 cat >>conftest.
$ac_ext <<_ACEOF
10568 /* end confdefs.h. */
10569 #include <sys/types.h>
10575 if ((uint64_t *) 0)
10577 if (sizeof (uint64_t))
10583 rm -f conftest.
$ac_objext
10584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10585 (eval $ac_compile) 2>conftest.er1
10587 grep -v '^ *+' conftest.er1
>conftest.err
10589 cat conftest.err
>&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); } &&
10592 { ac_try
='test -z "$ac_c_werror_flag"
10593 || test ! -s conftest.err'
10594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10595 (eval $ac_try) 2>&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; } &&
10599 { ac_try
='test -s conftest.$ac_objext'
10600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10601 (eval $ac_try) 2>&5
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); }; }; then
10605 ac_cv_type_uint64_t
=yes
10607 echo "$as_me: failed program was:" >&5
10608 sed 's/^/| /' conftest.
$ac_ext >&5
10610 ac_cv_type_uint64_t
=no
10612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10614 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
10615 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
10616 if test $ac_cv_type_uint64_t = yes; then
10619 acx_cv_header_stdint_kind
="(lacks uint64_t)"
10624 if test "$acx_cv_header_stdint" = stddef.h
; then
10625 acx_cv_header_stdint_kind
="(lacks uintptr_t)"
10626 for i
in stdint.h
$inttype_headers; do
10627 unset ac_cv_type_uint32_t
10628 unset ac_cv_type_uint64_t
10629 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
10630 echo "$as_me:$LINENO: checking for uint32_t" >&5
10631 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
10632 if test "${ac_cv_type_uint32_t+set}" = set; then
10633 echo $ECHO_N "(cached) $ECHO_C" >&6
10635 cat >conftest.
$ac_ext <<_ACEOF
10638 cat confdefs.h
>>conftest.
$ac_ext
10639 cat >>conftest.
$ac_ext <<_ACEOF
10640 /* end confdefs.h. */
10641 #include <sys/types.h>
10647 if ((uint32_t *) 0)
10649 if (sizeof (uint32_t))
10655 rm -f conftest.
$ac_objext
10656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10657 (eval $ac_compile) 2>conftest.er1
10659 grep -v '^ *+' conftest.er1
>conftest.err
10661 cat conftest.err
>&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } &&
10664 { ac_try
='test -z "$ac_c_werror_flag"
10665 || test ! -s conftest.err'
10666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10667 (eval $ac_try) 2>&5
10669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670 (exit $ac_status); }; } &&
10671 { ac_try
='test -s conftest.$ac_objext'
10672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10673 (eval $ac_try) 2>&5
10675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676 (exit $ac_status); }; }; then
10677 ac_cv_type_uint32_t
=yes
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.
$ac_ext >&5
10682 ac_cv_type_uint32_t
=no
10684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10686 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
10687 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
10688 if test $ac_cv_type_uint32_t = yes; then
10689 acx_cv_header_stdint
=$i
10694 echo "$as_me:$LINENO: checking for uint64_t" >&5
10695 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
10696 if test "${ac_cv_type_uint64_t+set}" = set; then
10697 echo $ECHO_N "(cached) $ECHO_C" >&6
10699 cat >conftest.
$ac_ext <<_ACEOF
10702 cat confdefs.h
>>conftest.
$ac_ext
10703 cat >>conftest.
$ac_ext <<_ACEOF
10704 /* end confdefs.h. */
10705 #include <sys/types.h>
10711 if ((uint64_t *) 0)
10713 if (sizeof (uint64_t))
10719 rm -f conftest.
$ac_objext
10720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10721 (eval $ac_compile) 2>conftest.er1
10723 grep -v '^ *+' conftest.er1
>conftest.err
10725 cat conftest.err
>&5
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); } &&
10728 { ac_try
='test -z "$ac_c_werror_flag"
10729 || test ! -s conftest.err'
10730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10731 (eval $ac_try) 2>&5
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); }; } &&
10735 { ac_try
='test -s conftest.$ac_objext'
10736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10737 (eval $ac_try) 2>&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); }; }; then
10741 ac_cv_type_uint64_t
=yes
10743 echo "$as_me: failed program was:" >&5
10744 sed 's/^/| /' conftest.
$ac_ext >&5
10746 ac_cv_type_uint64_t
=no
10748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10750 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
10751 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
10752 if test $ac_cv_type_uint64_t = yes; then
10755 acx_cv_header_stdint_kind
="(lacks uintptr_t and uint64_t)"
10761 if test "$acx_cv_header_stdint" = stddef.h
; then
10762 acx_cv_header_stdint_kind
="(u_intXX_t style)"
10763 for i
in sys
/types.h
$inttype_headers; do
10764 unset ac_cv_type_u_int32_t
10765 unset ac_cv_type_u_int64_t
10766 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
10767 echo "$as_me:$LINENO: checking for u_int32_t" >&5
10768 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
10769 if test "${ac_cv_type_u_int32_t+set}" = set; then
10770 echo $ECHO_N "(cached) $ECHO_C" >&6
10772 cat >conftest.
$ac_ext <<_ACEOF
10775 cat confdefs.h
>>conftest.
$ac_ext
10776 cat >>conftest.
$ac_ext <<_ACEOF
10777 /* end confdefs.h. */
10778 #include <sys/types.h>
10784 if ((u_int32_t *) 0)
10786 if (sizeof (u_int32_t))
10792 rm -f conftest.
$ac_objext
10793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10794 (eval $ac_compile) 2>conftest.er1
10796 grep -v '^ *+' conftest.er1
>conftest.err
10798 cat conftest.err
>&5
10799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 (exit $ac_status); } &&
10801 { ac_try
='test -z "$ac_c_werror_flag"
10802 || test ! -s conftest.err'
10803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10804 (eval $ac_try) 2>&5
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); }; } &&
10808 { ac_try
='test -s conftest.$ac_objext'
10809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10810 (eval $ac_try) 2>&5
10812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813 (exit $ac_status); }; }; then
10814 ac_cv_type_u_int32_t
=yes
10816 echo "$as_me: failed program was:" >&5
10817 sed 's/^/| /' conftest.
$ac_ext >&5
10819 ac_cv_type_u_int32_t
=no
10821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10823 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
10824 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
10825 if test $ac_cv_type_u_int32_t = yes; then
10826 acx_cv_header_stdint
=$i
10831 echo "$as_me:$LINENO: checking for u_int64_t" >&5
10832 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
10833 if test "${ac_cv_type_u_int64_t+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10836 cat >conftest.
$ac_ext <<_ACEOF
10839 cat confdefs.h
>>conftest.
$ac_ext
10840 cat >>conftest.
$ac_ext <<_ACEOF
10841 /* end confdefs.h. */
10842 #include <sys/types.h>
10848 if ((u_int64_t *) 0)
10850 if (sizeof (u_int64_t))
10856 rm -f conftest.
$ac_objext
10857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10858 (eval $ac_compile) 2>conftest.er1
10860 grep -v '^ *+' conftest.er1
>conftest.err
10862 cat conftest.err
>&5
10863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10864 (exit $ac_status); } &&
10865 { ac_try
='test -z "$ac_c_werror_flag"
10866 || test ! -s conftest.err'
10867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10868 (eval $ac_try) 2>&5
10870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871 (exit $ac_status); }; } &&
10872 { ac_try
='test -s conftest.$ac_objext'
10873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10874 (eval $ac_try) 2>&5
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); }; }; then
10878 ac_cv_type_u_int64_t
=yes
10880 echo "$as_me: failed program was:" >&5
10881 sed 's/^/| /' conftest.
$ac_ext >&5
10883 ac_cv_type_u_int64_t
=no
10885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10887 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
10888 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
10889 if test $ac_cv_type_u_int64_t = yes; then
10892 acx_cv_header_stdint_kind
="(u_intXX_t style, lacks u_int64_t)"
10898 if test "$acx_cv_header_stdint" = stddef.h
; then
10899 acx_cv_header_stdint_kind
="(using manual detection)"
10902 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
10903 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
10904 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
10905 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
10906 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
10908 # ----------------- Summarize what we found so far
10910 echo "$as_me:$LINENO: checking what to include in gdb_stdint.h" >&5
10911 echo $ECHO_N "checking what to include in gdb_stdint.h... $ECHO_C" >&6
10913 case `$as_basename gdb_stdint.h ||
10914 $as_expr X/gdb_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
10915 Xgdb_stdint.h : 'X\(//\)$' \| \
10916 Xgdb_stdint.h : 'X\(/\)$' \| \
10917 . : '\(.\)' 2>/dev/null ||
10918 echo X/gdb_stdint.h |
10919 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10920 /^X\/\(\/\/\)$/{ s//\1/; q; }
10921 /^X\/\(\/\).*/{ s//\1/; q; }
10923 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
10924 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
10925 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
10926 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
10930 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
10931 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
10933 # ----------------- done included file, check C basic types --------
10935 # Lacking an uintptr_t? Test size of void *
10936 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
10937 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
10938 echo $ECHO_N "checking for void *... $ECHO_C" >&6
10939 if test "${ac_cv_type_void_p+set}" = set; then
10940 echo $ECHO_N "(cached) $ECHO_C" >&6
10942 cat >conftest.
$ac_ext <<_ACEOF
10945 cat confdefs.h
>>conftest.
$ac_ext
10946 cat >>conftest.
$ac_ext <<_ACEOF
10947 /* end confdefs.h. */
10948 $ac_includes_default
10954 if (sizeof (void *))
10960 rm -f conftest.
$ac_objext
10961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10962 (eval $ac_compile) 2>conftest.er1
10964 grep -v '^ *+' conftest.er1
>conftest.err
10966 cat conftest.err
>&5
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); } &&
10969 { ac_try
='test -z "$ac_c_werror_flag"
10970 || test ! -s conftest.err'
10971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10972 (eval $ac_try) 2>&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }; } &&
10976 { ac_try
='test -s conftest.$ac_objext'
10977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10978 (eval $ac_try) 2>&5
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); }; }; then
10982 ac_cv_type_void_p
=yes
10984 echo "$as_me: failed program was:" >&5
10985 sed 's/^/| /' conftest.
$ac_ext >&5
10987 ac_cv_type_void_p
=no
10989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10991 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
10992 echo "${ECHO_T}$ac_cv_type_void_p" >&6
10994 echo "$as_me:$LINENO: checking size of void *" >&5
10995 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
10996 if test "${ac_cv_sizeof_void_p+set}" = set; then
10997 echo $ECHO_N "(cached) $ECHO_C" >&6
10999 if test "$ac_cv_type_void_p" = yes; then
11000 # The cast to unsigned long works around a bug in the HP C Compiler
11001 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11002 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11003 # This bug is HP SR number 8606223364.
11004 if test "$cross_compiling" = yes; then
11005 # Depending upon the size, compute the lo and hi bounds.
11006 cat >conftest.
$ac_ext <<_ACEOF
11009 cat confdefs.h
>>conftest.
$ac_ext
11010 cat >>conftest.
$ac_ext <<_ACEOF
11011 /* end confdefs.h. */
11012 $ac_includes_default
11016 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
11023 rm -f conftest.
$ac_objext
11024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11025 (eval $ac_compile) 2>conftest.er1
11027 grep -v '^ *+' conftest.er1
>conftest.err
11029 cat conftest.err
>&5
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); } &&
11032 { ac_try
='test -z "$ac_c_werror_flag"
11033 || test ! -s conftest.err'
11034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11035 (eval $ac_try) 2>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; } &&
11039 { ac_try
='test -s conftest.$ac_objext'
11040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11041 (eval $ac_try) 2>&5
11043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); }; }; then
11047 cat >conftest.
$ac_ext <<_ACEOF
11050 cat confdefs.h
>>conftest.
$ac_ext
11051 cat >>conftest.
$ac_ext <<_ACEOF
11052 /* end confdefs.h. */
11053 $ac_includes_default
11057 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
11064 rm -f conftest.
$ac_objext
11065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11066 (eval $ac_compile) 2>conftest.er1
11068 grep -v '^ *+' conftest.er1
>conftest.err
11070 cat conftest.err
>&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); } &&
11073 { ac_try
='test -z "$ac_c_werror_flag"
11074 || test ! -s conftest.err'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; } &&
11080 { ac_try
='test -s conftest.$ac_objext'
11081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11082 (eval $ac_try) 2>&5
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); }; }; then
11086 ac_hi
=$ac_mid; break
11088 echo "$as_me: failed program was:" >&5
11089 sed 's/^/| /' conftest.
$ac_ext >&5
11091 ac_lo
=`expr $ac_mid + 1`
11092 if test $ac_lo -le $ac_mid; then
11096 ac_mid
=`expr 2 '*' $ac_mid + 1`
11098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11101 echo "$as_me: failed program was:" >&5
11102 sed 's/^/| /' conftest.
$ac_ext >&5
11104 cat >conftest.
$ac_ext <<_ACEOF
11107 cat confdefs.h
>>conftest.
$ac_ext
11108 cat >>conftest.
$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11110 $ac_includes_default
11114 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
11121 rm -f conftest.
$ac_objext
11122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11123 (eval $ac_compile) 2>conftest.er1
11125 grep -v '^ *+' conftest.er1
>conftest.err
11127 cat conftest.err
>&5
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); } &&
11130 { ac_try
='test -z "$ac_c_werror_flag"
11131 || test ! -s conftest.err'
11132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11133 (eval $ac_try) 2>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); }; } &&
11137 { ac_try
='test -s conftest.$ac_objext'
11138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11139 (eval $ac_try) 2>&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); }; }; then
11145 cat >conftest.
$ac_ext <<_ACEOF
11148 cat confdefs.h
>>conftest.
$ac_ext
11149 cat >>conftest.
$ac_ext <<_ACEOF
11150 /* end confdefs.h. */
11151 $ac_includes_default
11155 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
11162 rm -f conftest.
$ac_objext
11163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11164 (eval $ac_compile) 2>conftest.er1
11166 grep -v '^ *+' conftest.er1
>conftest.err
11168 cat conftest.err
>&5
11169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); } &&
11171 { ac_try
='test -z "$ac_c_werror_flag"
11172 || test ! -s conftest.err'
11173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11174 (eval $ac_try) 2>&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); }; } &&
11178 { ac_try
='test -s conftest.$ac_objext'
11179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11180 (eval $ac_try) 2>&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); }; }; then
11184 ac_lo
=$ac_mid; break
11186 echo "$as_me: failed program was:" >&5
11187 sed 's/^/| /' conftest.
$ac_ext >&5
11189 ac_hi
=`expr '(' $ac_mid ')' - 1`
11190 if test $ac_mid -le $ac_hi; then
11194 ac_mid
=`expr 2 '*' $ac_mid`
11196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11199 echo "$as_me: failed program was:" >&5
11200 sed 's/^/| /' conftest.
$ac_ext >&5
11204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11207 # Binary search between lo and hi bounds.
11208 while test "x$ac_lo" != "x$ac_hi"; do
11209 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11210 cat >conftest.
$ac_ext <<_ACEOF
11213 cat confdefs.h
>>conftest.
$ac_ext
11214 cat >>conftest.
$ac_ext <<_ACEOF
11215 /* end confdefs.h. */
11216 $ac_includes_default
11220 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
11227 rm -f conftest.
$ac_objext
11228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11229 (eval $ac_compile) 2>conftest.er1
11231 grep -v '^ *+' conftest.er1
>conftest.err
11233 cat conftest.err
>&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); } &&
11236 { ac_try
='test -z "$ac_c_werror_flag"
11237 || test ! -s conftest.err'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; } &&
11243 { ac_try
='test -s conftest.$ac_objext'
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245 (eval $ac_try) 2>&5
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); }; }; then
11251 echo "$as_me: failed program was:" >&5
11252 sed 's/^/| /' conftest.
$ac_ext >&5
11254 ac_lo
=`expr '(' $ac_mid ')' + 1`
11256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11259 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
11260 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
11261 See \`config.log' for more details." >&5
11262 echo "$as_me: error: cannot compute sizeof (void *), 77
11263 See \`config.log' for more details." >&2;}
11264 { (exit 1); exit 1; }; } ;;
11267 if test "$cross_compiling" = yes; then
11268 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11269 See \`config.log' for more details." >&5
11270 echo "$as_me: error: cannot run test program while cross compiling
11271 See \`config.log' for more details." >&2;}
11272 { (exit 1); exit 1; }; }
11274 cat >conftest.
$ac_ext <<_ACEOF
11277 cat confdefs.h
>>conftest.
$ac_ext
11278 cat >>conftest.
$ac_ext <<_ACEOF
11279 /* end confdefs.h. */
11280 $ac_includes_default
11281 long longval () { return (long) (sizeof (void *)); }
11282 unsigned long ulongval () { return (long) (sizeof (void *)); }
11284 #include <stdlib.h>
11289 FILE *f = fopen ("conftest.val", "w");
11292 if (((long) (sizeof (void *))) < 0)
11294 long i = longval ();
11295 if (i != ((long) (sizeof (void *))))
11297 fprintf (f, "%ld\n", i);
11301 unsigned long i = ulongval ();
11302 if (i != ((long) (sizeof (void *))))
11304 fprintf (f, "%lu\n", i);
11306 exit (ferror (f) || fclose (f) != 0);
11312 rm -f conftest
$ac_exeext
11313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11314 (eval $ac_link) 2>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11319 (eval $ac_try) 2>&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; }; then
11323 ac_cv_sizeof_void_p
=`cat conftest.val`
11325 echo "$as_me: program exited with status $ac_status" >&5
11326 echo "$as_me: failed program was:" >&5
11327 sed 's/^/| /' conftest.
$ac_ext >&5
11329 ( exit $ac_status )
11330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
11331 See \`config.log' for more details." >&5
11332 echo "$as_me: error: cannot compute sizeof (void *), 77
11333 See \`config.log' for more details." >&2;}
11334 { (exit 1); exit 1; }; }
11336 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11341 ac_cv_sizeof_void_p
=0
11344 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
11345 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
11346 cat >>confdefs.h
<<_ACEOF
11347 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
11353 # Lacking an uint64_t? Test size of long
11354 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
11355 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
11356 echo $ECHO_N "checking for long... $ECHO_C" >&6
11357 if test "${ac_cv_type_long+set}" = set; then
11358 echo $ECHO_N "(cached) $ECHO_C" >&6
11360 cat >conftest.
$ac_ext <<_ACEOF
11363 cat confdefs.h
>>conftest.
$ac_ext
11364 cat >>conftest.
$ac_ext <<_ACEOF
11365 /* end confdefs.h. */
11366 $ac_includes_default
11378 rm -f conftest.
$ac_objext
11379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11380 (eval $ac_compile) 2>conftest.er1
11382 grep -v '^ *+' conftest.er1
>conftest.err
11384 cat conftest.err
>&5
11385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11386 (exit $ac_status); } &&
11387 { ac_try
='test -z "$ac_c_werror_flag"
11388 || test ! -s conftest.err'
11389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390 (eval $ac_try) 2>&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }; } &&
11394 { ac_try
='test -s conftest.$ac_objext'
11395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11396 (eval $ac_try) 2>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); }; }; then
11400 ac_cv_type_long
=yes
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.
$ac_ext >&5
11407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11409 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
11410 echo "${ECHO_T}$ac_cv_type_long" >&6
11412 echo "$as_me:$LINENO: checking size of long" >&5
11413 echo $ECHO_N "checking size of long... $ECHO_C" >&6
11414 if test "${ac_cv_sizeof_long+set}" = set; then
11415 echo $ECHO_N "(cached) $ECHO_C" >&6
11417 if test "$ac_cv_type_long" = yes; then
11418 # The cast to unsigned long works around a bug in the HP C Compiler
11419 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11420 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11421 # This bug is HP SR number 8606223364.
11422 if test "$cross_compiling" = yes; then
11423 # Depending upon the size, compute the lo and hi bounds.
11424 cat >conftest.
$ac_ext <<_ACEOF
11427 cat confdefs.h
>>conftest.
$ac_ext
11428 cat >>conftest.
$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11430 $ac_includes_default
11434 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
11441 rm -f conftest.
$ac_objext
11442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11443 (eval $ac_compile) 2>conftest.er1
11445 grep -v '^ *+' conftest.er1
>conftest.err
11447 cat conftest.err
>&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } &&
11450 { ac_try
='test -z "$ac_c_werror_flag"
11451 || test ! -s conftest.err'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; } &&
11457 { ac_try
='test -s conftest.$ac_objext'
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; }; then
11465 cat >conftest.
$ac_ext <<_ACEOF
11468 cat confdefs.h
>>conftest.
$ac_ext
11469 cat >>conftest.
$ac_ext <<_ACEOF
11470 /* end confdefs.h. */
11471 $ac_includes_default
11475 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
11482 rm -f conftest.
$ac_objext
11483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11484 (eval $ac_compile) 2>conftest.er1
11486 grep -v '^ *+' conftest.er1
>conftest.err
11488 cat conftest.err
>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); } &&
11491 { ac_try
='test -z "$ac_c_werror_flag"
11492 || test ! -s conftest.err'
11493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11494 (eval $ac_try) 2>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); }; } &&
11498 { ac_try
='test -s conftest.$ac_objext'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; }; then
11504 ac_hi
=$ac_mid; break
11506 echo "$as_me: failed program was:" >&5
11507 sed 's/^/| /' conftest.
$ac_ext >&5
11509 ac_lo
=`expr $ac_mid + 1`
11510 if test $ac_lo -le $ac_mid; then
11514 ac_mid
=`expr 2 '*' $ac_mid + 1`
11516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11519 echo "$as_me: failed program was:" >&5
11520 sed 's/^/| /' conftest.
$ac_ext >&5
11522 cat >conftest.
$ac_ext <<_ACEOF
11525 cat confdefs.h
>>conftest.
$ac_ext
11526 cat >>conftest.
$ac_ext <<_ACEOF
11527 /* end confdefs.h. */
11528 $ac_includes_default
11532 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
11539 rm -f conftest.
$ac_objext
11540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11541 (eval $ac_compile) 2>conftest.er1
11543 grep -v '^ *+' conftest.er1
>conftest.err
11545 cat conftest.err
>&5
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); } &&
11548 { ac_try
='test -z "$ac_c_werror_flag"
11549 || test ! -s conftest.err'
11550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11551 (eval $ac_try) 2>&5
11553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11554 (exit $ac_status); }; } &&
11555 { ac_try
='test -s conftest.$ac_objext'
11556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11557 (eval $ac_try) 2>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; }; then
11563 cat >conftest.
$ac_ext <<_ACEOF
11566 cat confdefs.h
>>conftest.
$ac_ext
11567 cat >>conftest.
$ac_ext <<_ACEOF
11568 /* end confdefs.h. */
11569 $ac_includes_default
11573 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
11580 rm -f conftest.
$ac_objext
11581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11582 (eval $ac_compile) 2>conftest.er1
11584 grep -v '^ *+' conftest.er1
>conftest.err
11586 cat conftest.err
>&5
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); } &&
11589 { ac_try
='test -z "$ac_c_werror_flag"
11590 || test ! -s conftest.err'
11591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11592 (eval $ac_try) 2>&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); }; } &&
11596 { ac_try
='test -s conftest.$ac_objext'
11597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11598 (eval $ac_try) 2>&5
11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601 (exit $ac_status); }; }; then
11602 ac_lo
=$ac_mid; break
11604 echo "$as_me: failed program was:" >&5
11605 sed 's/^/| /' conftest.
$ac_ext >&5
11607 ac_hi
=`expr '(' $ac_mid ')' - 1`
11608 if test $ac_mid -le $ac_hi; then
11612 ac_mid
=`expr 2 '*' $ac_mid`
11614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11617 echo "$as_me: failed program was:" >&5
11618 sed 's/^/| /' conftest.
$ac_ext >&5
11622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11625 # Binary search between lo and hi bounds.
11626 while test "x$ac_lo" != "x$ac_hi"; do
11627 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11628 cat >conftest.
$ac_ext <<_ACEOF
11631 cat confdefs.h
>>conftest.
$ac_ext
11632 cat >>conftest.
$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11634 $ac_includes_default
11638 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
11645 rm -f conftest.
$ac_objext
11646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11647 (eval $ac_compile) 2>conftest.er1
11649 grep -v '^ *+' conftest.er1
>conftest.err
11651 cat conftest.err
>&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); } &&
11654 { ac_try
='test -z "$ac_c_werror_flag"
11655 || test ! -s conftest.err'
11656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11657 (eval $ac_try) 2>&5
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); }; } &&
11661 { ac_try
='test -s conftest.$ac_objext'
11662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11663 (eval $ac_try) 2>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); }; }; then
11669 echo "$as_me: failed program was:" >&5
11670 sed 's/^/| /' conftest.
$ac_ext >&5
11672 ac_lo
=`expr '(' $ac_mid ')' + 1`
11674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11677 ?
*) ac_cv_sizeof_long
=$ac_lo;;
11678 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
11679 See \`config.log' for more details." >&5
11680 echo "$as_me: error: cannot compute sizeof (long), 77
11681 See \`config.log' for more details." >&2;}
11682 { (exit 1); exit 1; }; } ;;
11685 if test "$cross_compiling" = yes; then
11686 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11687 See \`config.log' for more details." >&5
11688 echo "$as_me: error: cannot run test program while cross compiling
11689 See \`config.log' for more details." >&2;}
11690 { (exit 1); exit 1; }; }
11692 cat >conftest.
$ac_ext <<_ACEOF
11695 cat confdefs.h
>>conftest.
$ac_ext
11696 cat >>conftest.
$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11698 $ac_includes_default
11699 long longval () { return (long) (sizeof (long)); }
11700 unsigned long ulongval () { return (long) (sizeof (long)); }
11702 #include <stdlib.h>
11707 FILE *f = fopen ("conftest.val", "w");
11710 if (((long) (sizeof (long))) < 0)
11712 long i = longval ();
11713 if (i != ((long) (sizeof (long))))
11715 fprintf (f, "%ld\n", i);
11719 unsigned long i = ulongval ();
11720 if (i != ((long) (sizeof (long))))
11722 fprintf (f, "%lu\n", i);
11724 exit (ferror (f) || fclose (f) != 0);
11730 rm -f conftest
$ac_exeext
11731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11732 (eval $ac_link) 2>&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11737 (eval $ac_try) 2>&5
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); }; }; then
11741 ac_cv_sizeof_long
=`cat conftest.val`
11743 echo "$as_me: program exited with status $ac_status" >&5
11744 echo "$as_me: failed program was:" >&5
11745 sed 's/^/| /' conftest.
$ac_ext >&5
11747 ( exit $ac_status )
11748 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
11749 See \`config.log' for more details." >&5
11750 echo "$as_me: error: cannot compute sizeof (long), 77
11751 See \`config.log' for more details." >&2;}
11752 { (exit 1); exit 1; }; }
11754 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11759 ac_cv_sizeof_long
=0
11762 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
11763 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
11764 cat >>confdefs.h
<<_ACEOF
11765 #define SIZEOF_LONG $ac_cv_sizeof_long
11771 if test $acx_cv_header_stdint = stddef.h
; then
11772 # Lacking a good header? Test size of everything and deduce all types.
11773 echo "$as_me:$LINENO: checking for int" >&5
11774 echo $ECHO_N "checking for int... $ECHO_C" >&6
11775 if test "${ac_cv_type_int+set}" = set; then
11776 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 cat >conftest.
$ac_ext <<_ACEOF
11781 cat confdefs.h
>>conftest.
$ac_ext
11782 cat >>conftest.
$ac_ext <<_ACEOF
11783 /* end confdefs.h. */
11784 $ac_includes_default
11796 rm -f conftest.
$ac_objext
11797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11798 (eval $ac_compile) 2>conftest.er1
11800 grep -v '^ *+' conftest.er1
>conftest.err
11802 cat conftest.err
>&5
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); } &&
11805 { ac_try
='test -z "$ac_c_werror_flag"
11806 || test ! -s conftest.err'
11807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11808 (eval $ac_try) 2>&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); }; } &&
11812 { ac_try
='test -s conftest.$ac_objext'
11813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814 (eval $ac_try) 2>&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); }; }; then
11820 echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.
$ac_ext >&5
11825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11827 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
11828 echo "${ECHO_T}$ac_cv_type_int" >&6
11830 echo "$as_me:$LINENO: checking size of int" >&5
11831 echo $ECHO_N "checking size of int... $ECHO_C" >&6
11832 if test "${ac_cv_sizeof_int+set}" = set; then
11833 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 if test "$ac_cv_type_int" = yes; then
11836 # The cast to unsigned long works around a bug in the HP C Compiler
11837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11839 # This bug is HP SR number 8606223364.
11840 if test "$cross_compiling" = yes; then
11841 # Depending upon the size, compute the lo and hi bounds.
11842 cat >conftest.
$ac_ext <<_ACEOF
11845 cat confdefs.h
>>conftest.
$ac_ext
11846 cat >>conftest.
$ac_ext <<_ACEOF
11847 /* end confdefs.h. */
11848 $ac_includes_default
11852 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
11859 rm -f conftest.
$ac_objext
11860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11861 (eval $ac_compile) 2>conftest.er1
11863 grep -v '^ *+' conftest.er1
>conftest.err
11865 cat conftest.err
>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } &&
11868 { ac_try
='test -z "$ac_c_werror_flag"
11869 || test ! -s conftest.err'
11870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11871 (eval $ac_try) 2>&5
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); }; } &&
11875 { ac_try
='test -s conftest.$ac_objext'
11876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11877 (eval $ac_try) 2>&5
11879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); }; }; then
11883 cat >conftest.
$ac_ext <<_ACEOF
11886 cat confdefs.h
>>conftest.
$ac_ext
11887 cat >>conftest.
$ac_ext <<_ACEOF
11888 /* end confdefs.h. */
11889 $ac_includes_default
11893 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
11900 rm -f conftest.
$ac_objext
11901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11902 (eval $ac_compile) 2>conftest.er1
11904 grep -v '^ *+' conftest.er1
>conftest.err
11906 cat conftest.err
>&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } &&
11909 { ac_try
='test -z "$ac_c_werror_flag"
11910 || test ! -s conftest.err'
11911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912 (eval $ac_try) 2>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); }; } &&
11916 { ac_try
='test -s conftest.$ac_objext'
11917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 (eval $ac_try) 2>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); }; }; then
11922 ac_hi
=$ac_mid; break
11924 echo "$as_me: failed program was:" >&5
11925 sed 's/^/| /' conftest.
$ac_ext >&5
11927 ac_lo
=`expr $ac_mid + 1`
11928 if test $ac_lo -le $ac_mid; then
11932 ac_mid
=`expr 2 '*' $ac_mid + 1`
11934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11937 echo "$as_me: failed program was:" >&5
11938 sed 's/^/| /' conftest.
$ac_ext >&5
11940 cat >conftest.
$ac_ext <<_ACEOF
11943 cat confdefs.h
>>conftest.
$ac_ext
11944 cat >>conftest.
$ac_ext <<_ACEOF
11945 /* end confdefs.h. */
11946 $ac_includes_default
11950 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
11957 rm -f conftest.
$ac_objext
11958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11959 (eval $ac_compile) 2>conftest.er1
11961 grep -v '^ *+' conftest.er1
>conftest.err
11963 cat conftest.err
>&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); } &&
11966 { ac_try
='test -z "$ac_c_werror_flag"
11967 || test ! -s conftest.err'
11968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11969 (eval $ac_try) 2>&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); }; } &&
11973 { ac_try
='test -s conftest.$ac_objext'
11974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11975 (eval $ac_try) 2>&5
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); }; }; then
11981 cat >conftest.
$ac_ext <<_ACEOF
11984 cat confdefs.h
>>conftest.
$ac_ext
11985 cat >>conftest.
$ac_ext <<_ACEOF
11986 /* end confdefs.h. */
11987 $ac_includes_default
11991 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
11998 rm -f conftest.
$ac_objext
11999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12000 (eval $ac_compile) 2>conftest.er1
12002 grep -v '^ *+' conftest.er1
>conftest.err
12004 cat conftest.err
>&5
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); } &&
12007 { ac_try
='test -z "$ac_c_werror_flag"
12008 || test ! -s conftest.err'
12009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12010 (eval $ac_try) 2>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; } &&
12014 { ac_try
='test -s conftest.$ac_objext'
12015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12016 (eval $ac_try) 2>&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; }; then
12020 ac_lo
=$ac_mid; break
12022 echo "$as_me: failed program was:" >&5
12023 sed 's/^/| /' conftest.
$ac_ext >&5
12025 ac_hi
=`expr '(' $ac_mid ')' - 1`
12026 if test $ac_mid -le $ac_hi; then
12030 ac_mid
=`expr 2 '*' $ac_mid`
12032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12035 echo "$as_me: failed program was:" >&5
12036 sed 's/^/| /' conftest.
$ac_ext >&5
12040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12043 # Binary search between lo and hi bounds.
12044 while test "x$ac_lo" != "x$ac_hi"; do
12045 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12046 cat >conftest.
$ac_ext <<_ACEOF
12049 cat confdefs.h
>>conftest.
$ac_ext
12050 cat >>conftest.
$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12052 $ac_includes_default
12056 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
12063 rm -f conftest.
$ac_objext
12064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12065 (eval $ac_compile) 2>conftest.er1
12067 grep -v '^ *+' conftest.er1
>conftest.err
12069 cat conftest.err
>&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); } &&
12072 { ac_try
='test -z "$ac_c_werror_flag"
12073 || test ! -s conftest.err'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; } &&
12079 { ac_try
='test -s conftest.$ac_objext'
12080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12081 (eval $ac_try) 2>&5
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); }; }; then
12087 echo "$as_me: failed program was:" >&5
12088 sed 's/^/| /' conftest.
$ac_ext >&5
12090 ac_lo
=`expr '(' $ac_mid ')' + 1`
12092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12095 ?
*) ac_cv_sizeof_int
=$ac_lo;;
12096 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
12097 See \`config.log' for more details." >&5
12098 echo "$as_me: error: cannot compute sizeof (int), 77
12099 See \`config.log' for more details." >&2;}
12100 { (exit 1); exit 1; }; } ;;
12103 if test "$cross_compiling" = yes; then
12104 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12105 See \`config.log' for more details." >&5
12106 echo "$as_me: error: cannot run test program while cross compiling
12107 See \`config.log' for more details." >&2;}
12108 { (exit 1); exit 1; }; }
12110 cat >conftest.
$ac_ext <<_ACEOF
12113 cat confdefs.h
>>conftest.
$ac_ext
12114 cat >>conftest.
$ac_ext <<_ACEOF
12115 /* end confdefs.h. */
12116 $ac_includes_default
12117 long longval () { return (long) (sizeof (int)); }
12118 unsigned long ulongval () { return (long) (sizeof (int)); }
12120 #include <stdlib.h>
12125 FILE *f = fopen ("conftest.val", "w");
12128 if (((long) (sizeof (int))) < 0)
12130 long i = longval ();
12131 if (i != ((long) (sizeof (int))))
12133 fprintf (f, "%ld\n", i);
12137 unsigned long i = ulongval ();
12138 if (i != ((long) (sizeof (int))))
12140 fprintf (f, "%lu\n", i);
12142 exit (ferror (f) || fclose (f) != 0);
12148 rm -f conftest
$ac_exeext
12149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12150 (eval $ac_link) 2>&5
12152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12155 (eval $ac_try) 2>&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); }; }; then
12159 ac_cv_sizeof_int
=`cat conftest.val`
12161 echo "$as_me: program exited with status $ac_status" >&5
12162 echo "$as_me: failed program was:" >&5
12163 sed 's/^/| /' conftest.
$ac_ext >&5
12165 ( exit $ac_status )
12166 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
12167 See \`config.log' for more details." >&5
12168 echo "$as_me: error: cannot compute sizeof (int), 77
12169 See \`config.log' for more details." >&2;}
12170 { (exit 1); exit 1; }; }
12172 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12180 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
12181 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
12182 cat >>confdefs.h
<<_ACEOF
12183 #define SIZEOF_INT $ac_cv_sizeof_int
12187 echo "$as_me:$LINENO: checking for short" >&5
12188 echo $ECHO_N "checking for short... $ECHO_C" >&6
12189 if test "${ac_cv_type_short+set}" = set; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 cat >conftest.
$ac_ext <<_ACEOF
12195 cat confdefs.h
>>conftest.
$ac_ext
12196 cat >>conftest.
$ac_ext <<_ACEOF
12197 /* end confdefs.h. */
12198 $ac_includes_default
12204 if (sizeof (short))
12210 rm -f conftest.
$ac_objext
12211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12212 (eval $ac_compile) 2>conftest.er1
12214 grep -v '^ *+' conftest.er1
>conftest.err
12216 cat conftest.err
>&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); } &&
12219 { ac_try
='test -z "$ac_c_werror_flag"
12220 || test ! -s conftest.err'
12221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12222 (eval $ac_try) 2>&5
12224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225 (exit $ac_status); }; } &&
12226 { ac_try
='test -s conftest.$ac_objext'
12227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12228 (eval $ac_try) 2>&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); }; }; then
12232 ac_cv_type_short
=yes
12234 echo "$as_me: failed program was:" >&5
12235 sed 's/^/| /' conftest.
$ac_ext >&5
12237 ac_cv_type_short
=no
12239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12241 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
12242 echo "${ECHO_T}$ac_cv_type_short" >&6
12244 echo "$as_me:$LINENO: checking size of short" >&5
12245 echo $ECHO_N "checking size of short... $ECHO_C" >&6
12246 if test "${ac_cv_sizeof_short+set}" = set; then
12247 echo $ECHO_N "(cached) $ECHO_C" >&6
12249 if test "$ac_cv_type_short" = yes; then
12250 # The cast to unsigned long works around a bug in the HP C Compiler
12251 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12252 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12253 # This bug is HP SR number 8606223364.
12254 if test "$cross_compiling" = yes; then
12255 # Depending upon the size, compute the lo and hi bounds.
12256 cat >conftest.
$ac_ext <<_ACEOF
12259 cat confdefs.h
>>conftest.
$ac_ext
12260 cat >>conftest.
$ac_ext <<_ACEOF
12261 /* end confdefs.h. */
12262 $ac_includes_default
12266 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
12273 rm -f conftest.
$ac_objext
12274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12275 (eval $ac_compile) 2>conftest.er1
12277 grep -v '^ *+' conftest.er1
>conftest.err
12279 cat conftest.err
>&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); } &&
12282 { ac_try
='test -z "$ac_c_werror_flag"
12283 || test ! -s conftest.err'
12284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12285 (eval $ac_try) 2>&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); }; } &&
12289 { ac_try
='test -s conftest.$ac_objext'
12290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12291 (eval $ac_try) 2>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); }; }; then
12297 cat >conftest.
$ac_ext <<_ACEOF
12300 cat confdefs.h
>>conftest.
$ac_ext
12301 cat >>conftest.
$ac_ext <<_ACEOF
12302 /* end confdefs.h. */
12303 $ac_includes_default
12307 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
12314 rm -f conftest.
$ac_objext
12315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12316 (eval $ac_compile) 2>conftest.er1
12318 grep -v '^ *+' conftest.er1
>conftest.err
12320 cat conftest.err
>&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); } &&
12323 { ac_try
='test -z "$ac_c_werror_flag"
12324 || test ! -s conftest.err'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; } &&
12330 { ac_try
='test -s conftest.$ac_objext'
12331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12332 (eval $ac_try) 2>&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); }; }; then
12336 ac_hi
=$ac_mid; break
12338 echo "$as_me: failed program was:" >&5
12339 sed 's/^/| /' conftest.
$ac_ext >&5
12341 ac_lo
=`expr $ac_mid + 1`
12342 if test $ac_lo -le $ac_mid; then
12346 ac_mid
=`expr 2 '*' $ac_mid + 1`
12348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12351 echo "$as_me: failed program was:" >&5
12352 sed 's/^/| /' conftest.
$ac_ext >&5
12354 cat >conftest.
$ac_ext <<_ACEOF
12357 cat confdefs.h
>>conftest.
$ac_ext
12358 cat >>conftest.
$ac_ext <<_ACEOF
12359 /* end confdefs.h. */
12360 $ac_includes_default
12364 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
12371 rm -f conftest.
$ac_objext
12372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12373 (eval $ac_compile) 2>conftest.er1
12375 grep -v '^ *+' conftest.er1
>conftest.err
12377 cat conftest.err
>&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); } &&
12380 { ac_try
='test -z "$ac_c_werror_flag"
12381 || test ! -s conftest.err'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; } &&
12387 { ac_try
='test -s conftest.$ac_objext'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; }; then
12395 cat >conftest.
$ac_ext <<_ACEOF
12398 cat confdefs.h
>>conftest.
$ac_ext
12399 cat >>conftest.
$ac_ext <<_ACEOF
12400 /* end confdefs.h. */
12401 $ac_includes_default
12405 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
12412 rm -f conftest.
$ac_objext
12413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12414 (eval $ac_compile) 2>conftest.er1
12416 grep -v '^ *+' conftest.er1
>conftest.err
12418 cat conftest.err
>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); } &&
12421 { ac_try
='test -z "$ac_c_werror_flag"
12422 || test ! -s conftest.err'
12423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12424 (eval $ac_try) 2>&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); }; } &&
12428 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
12434 ac_lo
=$ac_mid; break
12436 echo "$as_me: failed program was:" >&5
12437 sed 's/^/| /' conftest.
$ac_ext >&5
12439 ac_hi
=`expr '(' $ac_mid ')' - 1`
12440 if test $ac_mid -le $ac_hi; then
12444 ac_mid
=`expr 2 '*' $ac_mid`
12446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12449 echo "$as_me: failed program was:" >&5
12450 sed 's/^/| /' conftest.
$ac_ext >&5
12454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12457 # Binary search between lo and hi bounds.
12458 while test "x$ac_lo" != "x$ac_hi"; do
12459 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12460 cat >conftest.
$ac_ext <<_ACEOF
12463 cat confdefs.h
>>conftest.
$ac_ext
12464 cat >>conftest.
$ac_ext <<_ACEOF
12465 /* end confdefs.h. */
12466 $ac_includes_default
12470 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
12477 rm -f conftest.
$ac_objext
12478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12479 (eval $ac_compile) 2>conftest.er1
12481 grep -v '^ *+' conftest.er1
>conftest.err
12483 cat conftest.err
>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); } &&
12486 { ac_try
='test -z "$ac_c_werror_flag"
12487 || test ! -s conftest.err'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; } &&
12493 { ac_try
='test -s conftest.$ac_objext'
12494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12495 (eval $ac_try) 2>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }; }; then
12501 echo "$as_me: failed program was:" >&5
12502 sed 's/^/| /' conftest.
$ac_ext >&5
12504 ac_lo
=`expr '(' $ac_mid ')' + 1`
12506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12509 ?
*) ac_cv_sizeof_short
=$ac_lo;;
12510 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
12511 See \`config.log' for more details." >&5
12512 echo "$as_me: error: cannot compute sizeof (short), 77
12513 See \`config.log' for more details." >&2;}
12514 { (exit 1); exit 1; }; } ;;
12517 if test "$cross_compiling" = yes; then
12518 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12519 See \`config.log' for more details." >&5
12520 echo "$as_me: error: cannot run test program while cross compiling
12521 See \`config.log' for more details." >&2;}
12522 { (exit 1); exit 1; }; }
12524 cat >conftest.
$ac_ext <<_ACEOF
12527 cat confdefs.h
>>conftest.
$ac_ext
12528 cat >>conftest.
$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12530 $ac_includes_default
12531 long longval () { return (long) (sizeof (short)); }
12532 unsigned long ulongval () { return (long) (sizeof (short)); }
12534 #include <stdlib.h>
12539 FILE *f = fopen ("conftest.val", "w");
12542 if (((long) (sizeof (short))) < 0)
12544 long i = longval ();
12545 if (i != ((long) (sizeof (short))))
12547 fprintf (f, "%ld\n", i);
12551 unsigned long i = ulongval ();
12552 if (i != ((long) (sizeof (short))))
12554 fprintf (f, "%lu\n", i);
12556 exit (ferror (f) || fclose (f) != 0);
12562 rm -f conftest
$ac_exeext
12563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12564 (eval $ac_link) 2>&5
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569 (eval $ac_try) 2>&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); }; }; then
12573 ac_cv_sizeof_short
=`cat conftest.val`
12575 echo "$as_me: program exited with status $ac_status" >&5
12576 echo "$as_me: failed program was:" >&5
12577 sed 's/^/| /' conftest.
$ac_ext >&5
12579 ( exit $ac_status )
12580 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
12581 See \`config.log' for more details." >&5
12582 echo "$as_me: error: cannot compute sizeof (short), 77
12583 See \`config.log' for more details." >&2;}
12584 { (exit 1); exit 1; }; }
12586 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12591 ac_cv_sizeof_short
=0
12594 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
12595 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
12596 cat >>confdefs.h
<<_ACEOF
12597 #define SIZEOF_SHORT $ac_cv_sizeof_short
12601 echo "$as_me:$LINENO: checking for char" >&5
12602 echo $ECHO_N "checking for char... $ECHO_C" >&6
12603 if test "${ac_cv_type_char+set}" = set; then
12604 echo $ECHO_N "(cached) $ECHO_C" >&6
12606 cat >conftest.
$ac_ext <<_ACEOF
12609 cat confdefs.h
>>conftest.
$ac_ext
12610 cat >>conftest.
$ac_ext <<_ACEOF
12611 /* end confdefs.h. */
12612 $ac_includes_default
12624 rm -f conftest.
$ac_objext
12625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12626 (eval $ac_compile) 2>conftest.er1
12628 grep -v '^ *+' conftest.er1
>conftest.err
12630 cat conftest.err
>&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); } &&
12633 { ac_try
='test -z "$ac_c_werror_flag"
12634 || test ! -s conftest.err'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; } &&
12640 { ac_try
='test -s conftest.$ac_objext'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; }; then
12646 ac_cv_type_char
=yes
12648 echo "$as_me: failed program was:" >&5
12649 sed 's/^/| /' conftest.
$ac_ext >&5
12653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12655 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
12656 echo "${ECHO_T}$ac_cv_type_char" >&6
12658 echo "$as_me:$LINENO: checking size of char" >&5
12659 echo $ECHO_N "checking size of char... $ECHO_C" >&6
12660 if test "${ac_cv_sizeof_char+set}" = set; then
12661 echo $ECHO_N "(cached) $ECHO_C" >&6
12663 if test "$ac_cv_type_char" = yes; then
12664 # The cast to unsigned long works around a bug in the HP C Compiler
12665 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12666 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12667 # This bug is HP SR number 8606223364.
12668 if test "$cross_compiling" = yes; then
12669 # Depending upon the size, compute the lo and hi bounds.
12670 cat >conftest.
$ac_ext <<_ACEOF
12673 cat confdefs.h
>>conftest.
$ac_ext
12674 cat >>conftest.
$ac_ext <<_ACEOF
12675 /* end confdefs.h. */
12676 $ac_includes_default
12680 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
12687 rm -f conftest.
$ac_objext
12688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12689 (eval $ac_compile) 2>conftest.er1
12691 grep -v '^ *+' conftest.er1
>conftest.err
12693 cat conftest.err
>&5
12694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695 (exit $ac_status); } &&
12696 { ac_try
='test -z "$ac_c_werror_flag"
12697 || test ! -s conftest.err'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; } &&
12703 { ac_try
='test -s conftest.$ac_objext'
12704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12705 (eval $ac_try) 2>&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); }; }; then
12711 cat >conftest.
$ac_ext <<_ACEOF
12714 cat confdefs.h
>>conftest.
$ac_ext
12715 cat >>conftest.
$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12717 $ac_includes_default
12721 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
12728 rm -f conftest.
$ac_objext
12729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12730 (eval $ac_compile) 2>conftest.er1
12732 grep -v '^ *+' conftest.er1
>conftest.err
12734 cat conftest.err
>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } &&
12737 { ac_try
='test -z "$ac_c_werror_flag"
12738 || test ! -s conftest.err'
12739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12740 (eval $ac_try) 2>&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); }; } &&
12744 { ac_try
='test -s conftest.$ac_objext'
12745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12746 (eval $ac_try) 2>&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); }; }; then
12750 ac_hi
=$ac_mid; break
12752 echo "$as_me: failed program was:" >&5
12753 sed 's/^/| /' conftest.
$ac_ext >&5
12755 ac_lo
=`expr $ac_mid + 1`
12756 if test $ac_lo -le $ac_mid; then
12760 ac_mid
=`expr 2 '*' $ac_mid + 1`
12762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.
$ac_ext >&5
12768 cat >conftest.
$ac_ext <<_ACEOF
12771 cat confdefs.h
>>conftest.
$ac_ext
12772 cat >>conftest.
$ac_ext <<_ACEOF
12773 /* end confdefs.h. */
12774 $ac_includes_default
12778 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
12785 rm -f conftest.
$ac_objext
12786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12787 (eval $ac_compile) 2>conftest.er1
12789 grep -v '^ *+' conftest.er1
>conftest.err
12791 cat conftest.err
>&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); } &&
12794 { ac_try
='test -z "$ac_c_werror_flag"
12795 || test ! -s conftest.err'
12796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12797 (eval $ac_try) 2>&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); }; } &&
12801 { ac_try
='test -s conftest.$ac_objext'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; }; then
12809 cat >conftest.
$ac_ext <<_ACEOF
12812 cat confdefs.h
>>conftest.
$ac_ext
12813 cat >>conftest.
$ac_ext <<_ACEOF
12814 /* end confdefs.h. */
12815 $ac_includes_default
12819 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
12826 rm -f conftest.
$ac_objext
12827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12828 (eval $ac_compile) 2>conftest.er1
12830 grep -v '^ *+' conftest.er1
>conftest.err
12832 cat conftest.err
>&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); } &&
12835 { ac_try
='test -z "$ac_c_werror_flag"
12836 || test ! -s conftest.err'
12837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12838 (eval $ac_try) 2>&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); }; } &&
12842 { ac_try
='test -s conftest.$ac_objext'
12843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12844 (eval $ac_try) 2>&5
12846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 (exit $ac_status); }; }; then
12848 ac_lo
=$ac_mid; break
12850 echo "$as_me: failed program was:" >&5
12851 sed 's/^/| /' conftest.
$ac_ext >&5
12853 ac_hi
=`expr '(' $ac_mid ')' - 1`
12854 if test $ac_mid -le $ac_hi; then
12858 ac_mid
=`expr 2 '*' $ac_mid`
12860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.
$ac_ext >&5
12868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12871 # Binary search between lo and hi bounds.
12872 while test "x$ac_lo" != "x$ac_hi"; do
12873 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12874 cat >conftest.
$ac_ext <<_ACEOF
12877 cat confdefs.h
>>conftest.
$ac_ext
12878 cat >>conftest.
$ac_ext <<_ACEOF
12879 /* end confdefs.h. */
12880 $ac_includes_default
12884 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
12891 rm -f conftest.
$ac_objext
12892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12893 (eval $ac_compile) 2>conftest.er1
12895 grep -v '^ *+' conftest.er1
>conftest.err
12897 cat conftest.err
>&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } &&
12900 { ac_try
='test -z "$ac_c_werror_flag"
12901 || test ! -s conftest.err'
12902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12903 (eval $ac_try) 2>&5
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); }; } &&
12907 { ac_try
='test -s conftest.$ac_objext'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; }; then
12915 echo "$as_me: failed program was:" >&5
12916 sed 's/^/| /' conftest.
$ac_ext >&5
12918 ac_lo
=`expr '(' $ac_mid ')' + 1`
12920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12923 ?
*) ac_cv_sizeof_char
=$ac_lo;;
12924 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
12925 See \`config.log' for more details." >&5
12926 echo "$as_me: error: cannot compute sizeof (char), 77
12927 See \`config.log' for more details." >&2;}
12928 { (exit 1); exit 1; }; } ;;
12931 if test "$cross_compiling" = yes; then
12932 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12933 See \`config.log' for more details." >&5
12934 echo "$as_me: error: cannot run test program while cross compiling
12935 See \`config.log' for more details." >&2;}
12936 { (exit 1); exit 1; }; }
12938 cat >conftest.
$ac_ext <<_ACEOF
12941 cat confdefs.h
>>conftest.
$ac_ext
12942 cat >>conftest.
$ac_ext <<_ACEOF
12943 /* end confdefs.h. */
12944 $ac_includes_default
12945 long longval () { return (long) (sizeof (char)); }
12946 unsigned long ulongval () { return (long) (sizeof (char)); }
12948 #include <stdlib.h>
12953 FILE *f = fopen ("conftest.val", "w");
12956 if (((long) (sizeof (char))) < 0)
12958 long i = longval ();
12959 if (i != ((long) (sizeof (char))))
12961 fprintf (f, "%ld\n", i);
12965 unsigned long i = ulongval ();
12966 if (i != ((long) (sizeof (char))))
12968 fprintf (f, "%lu\n", i);
12970 exit (ferror (f) || fclose (f) != 0);
12976 rm -f conftest
$ac_exeext
12977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12978 (eval $ac_link) 2>&5
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12983 (eval $ac_try) 2>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); }; }; then
12987 ac_cv_sizeof_char
=`cat conftest.val`
12989 echo "$as_me: program exited with status $ac_status" >&5
12990 echo "$as_me: failed program was:" >&5
12991 sed 's/^/| /' conftest.
$ac_ext >&5
12993 ( exit $ac_status )
12994 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
12995 See \`config.log' for more details." >&5
12996 echo "$as_me: error: cannot compute sizeof (char), 77
12997 See \`config.log' for more details." >&2;}
12998 { (exit 1); exit 1; }; }
13000 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13005 ac_cv_sizeof_char
=0
13008 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13009 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13010 cat >>confdefs.h
<<_ACEOF
13011 #define SIZEOF_CHAR $ac_cv_sizeof_char
13016 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
13017 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
13018 case "$ac_cv_sizeof_char" in
13019 1) acx_cv_type_int8_t
=char
;;
13020 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
13021 echo "$as_me: error: no 8-bit type" >&2;}
13022 { (exit please report a bug
); exit please report a bug
; }; }
13024 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
13025 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
13027 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
13028 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
13029 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
13030 2:*) acx_cv_type_int16_t
=int
;;
13031 *:2) acx_cv_type_int16_t
=short
;;
13032 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
13033 echo "$as_me: error: no 16-bit type" >&2;}
13034 { (exit please report a bug
); exit please report a bug
; }; }
13036 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
13037 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
13039 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
13040 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
13041 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
13042 4:*) acx_cv_type_int32_t
=int
;;
13043 *:4) acx_cv_type_int32_t
=long
;;
13044 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
13045 echo "$as_me: error: no 32-bit type" >&2;}
13046 { (exit please report a bug
); exit please report a bug
; }; }
13048 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
13049 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
13052 # These tests are here to make the output prettier
13054 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
13055 case "$ac_cv_sizeof_long" in
13056 8) acx_cv_type_int64_t
=long
;;
13058 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
13059 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
13060 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
13061 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
13064 # Now we can use the above types
13066 if test "$ac_cv_type_uintptr_t" != yes; then
13067 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
13068 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
13069 case $ac_cv_sizeof_void_p in
13070 2) acx_cv_type_intptr_t
=int16_t
;;
13071 4) acx_cv_type_intptr_t
=int32_t
;;
13072 8) acx_cv_type_intptr_t
=int64_t
;;
13073 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
13074 echo "$as_me: error: no equivalent for intptr_t" >&2;}
13075 { (exit please report a bug
); exit please report a bug
; }; }
13077 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
13078 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
13081 # ----------------- done all checks, emit header -------------
13082 ac_config_commands
="$ac_config_commands gdb_stdint.h"
13087 # ------------------------- #
13088 # Checks for declarations. #
13089 # ------------------------- #
13091 echo "$as_me:$LINENO: checking whether free is declared" >&5
13092 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
13093 if test "${ac_cv_have_decl_free+set}" = set; then
13094 echo $ECHO_N "(cached) $ECHO_C" >&6
13096 cat >conftest.
$ac_ext <<_ACEOF
13099 cat confdefs.h
>>conftest.
$ac_ext
13100 cat >>conftest.
$ac_ext <<_ACEOF
13101 /* end confdefs.h. */
13102 $ac_includes_default
13107 char *p = (char *) free;
13114 rm -f conftest.
$ac_objext
13115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13116 (eval $ac_compile) 2>conftest.er1
13118 grep -v '^ *+' conftest.er1
>conftest.err
13120 cat conftest.err
>&5
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); } &&
13123 { ac_try
='test -z "$ac_c_werror_flag"
13124 || test ! -s conftest.err'
13125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13126 (eval $ac_try) 2>&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); }; } &&
13130 { ac_try
='test -s conftest.$ac_objext'
13131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13132 (eval $ac_try) 2>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); }; }; then
13136 ac_cv_have_decl_free
=yes
13138 echo "$as_me: failed program was:" >&5
13139 sed 's/^/| /' conftest.
$ac_ext >&5
13141 ac_cv_have_decl_free
=no
13143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13145 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
13146 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
13147 if test $ac_cv_have_decl_free = yes; then
13149 cat >>confdefs.h
<<_ACEOF
13150 #define HAVE_DECL_FREE 1
13155 cat >>confdefs.h
<<_ACEOF
13156 #define HAVE_DECL_FREE 0
13161 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
13162 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
13163 if test "${ac_cv_have_decl_malloc+set}" = set; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 cat >conftest.
$ac_ext <<_ACEOF
13169 cat confdefs.h
>>conftest.
$ac_ext
13170 cat >>conftest.
$ac_ext <<_ACEOF
13171 /* end confdefs.h. */
13172 $ac_includes_default
13177 char *p = (char *) malloc;
13184 rm -f conftest.
$ac_objext
13185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13186 (eval $ac_compile) 2>conftest.er1
13188 grep -v '^ *+' conftest.er1
>conftest.err
13190 cat conftest.err
>&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } &&
13193 { ac_try
='test -z "$ac_c_werror_flag"
13194 || test ! -s conftest.err'
13195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13196 (eval $ac_try) 2>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); }; } &&
13200 { ac_try
='test -s conftest.$ac_objext'
13201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13202 (eval $ac_try) 2>&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); }; }; then
13206 ac_cv_have_decl_malloc
=yes
13208 echo "$as_me: failed program was:" >&5
13209 sed 's/^/| /' conftest.
$ac_ext >&5
13211 ac_cv_have_decl_malloc
=no
13213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13215 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
13216 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
13217 if test $ac_cv_have_decl_malloc = yes; then
13219 cat >>confdefs.h
<<_ACEOF
13220 #define HAVE_DECL_MALLOC 1
13225 cat >>confdefs.h
<<_ACEOF
13226 #define HAVE_DECL_MALLOC 0
13231 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
13232 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
13233 if test "${ac_cv_have_decl_realloc+set}" = set; then
13234 echo $ECHO_N "(cached) $ECHO_C" >&6
13236 cat >conftest.
$ac_ext <<_ACEOF
13239 cat confdefs.h
>>conftest.
$ac_ext
13240 cat >>conftest.
$ac_ext <<_ACEOF
13241 /* end confdefs.h. */
13242 $ac_includes_default
13247 char *p = (char *) realloc;
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
13276 ac_cv_have_decl_realloc
=yes
13278 echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.
$ac_ext >&5
13281 ac_cv_have_decl_realloc
=no
13283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13285 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
13286 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
13287 if test $ac_cv_have_decl_realloc = yes; then
13289 cat >>confdefs.h
<<_ACEOF
13290 #define HAVE_DECL_REALLOC 1
13295 cat >>confdefs.h
<<_ACEOF
13296 #define HAVE_DECL_REALLOC 0
13303 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
13304 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
13305 if test "${ac_cv_have_decl_strerror+set}" = set; then
13306 echo $ECHO_N "(cached) $ECHO_C" >&6
13308 cat >conftest.
$ac_ext <<_ACEOF
13311 cat confdefs.h
>>conftest.
$ac_ext
13312 cat >>conftest.
$ac_ext <<_ACEOF
13313 /* end confdefs.h. */
13314 $ac_includes_default
13319 char *p = (char *) strerror;
13326 rm -f conftest.
$ac_objext
13327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13328 (eval $ac_compile) 2>conftest.er1
13330 grep -v '^ *+' conftest.er1
>conftest.err
13332 cat conftest.err
>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); } &&
13335 { ac_try
='test -z "$ac_c_werror_flag"
13336 || test ! -s conftest.err'
13337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13338 (eval $ac_try) 2>&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); }; } &&
13342 { ac_try
='test -s conftest.$ac_objext'
13343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13344 (eval $ac_try) 2>&5
13346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347 (exit $ac_status); }; }; then
13348 ac_cv_have_decl_strerror
=yes
13350 echo "$as_me: failed program was:" >&5
13351 sed 's/^/| /' conftest.
$ac_ext >&5
13353 ac_cv_have_decl_strerror
=no
13355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13357 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
13358 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
13359 if test $ac_cv_have_decl_strerror = yes; then
13361 cat >>confdefs.h
<<_ACEOF
13362 #define HAVE_DECL_STRERROR 1
13367 cat >>confdefs.h
<<_ACEOF
13368 #define HAVE_DECL_STRERROR 0
13373 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
13374 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
13375 if test "${ac_cv_have_decl_strstr+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13378 cat >conftest.
$ac_ext <<_ACEOF
13381 cat confdefs.h
>>conftest.
$ac_ext
13382 cat >>conftest.
$ac_ext <<_ACEOF
13383 /* end confdefs.h. */
13384 $ac_includes_default
13389 char *p = (char *) strstr;
13396 rm -f conftest.
$ac_objext
13397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13398 (eval $ac_compile) 2>conftest.er1
13400 grep -v '^ *+' conftest.er1
>conftest.err
13402 cat conftest.err
>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } &&
13405 { ac_try
='test -z "$ac_c_werror_flag"
13406 || test ! -s conftest.err'
13407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13408 (eval $ac_try) 2>&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); }; } &&
13412 { ac_try
='test -s conftest.$ac_objext'
13413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13414 (eval $ac_try) 2>&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); }; }; then
13418 ac_cv_have_decl_strstr
=yes
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.
$ac_ext >&5
13423 ac_cv_have_decl_strstr
=no
13425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13427 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
13428 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
13429 if test $ac_cv_have_decl_strstr = yes; then
13431 cat >>confdefs.h
<<_ACEOF
13432 #define HAVE_DECL_STRSTR 1
13437 cat >>confdefs.h
<<_ACEOF
13438 #define HAVE_DECL_STRSTR 0
13445 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
13446 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
13447 if test "${ac_cv_have_decl_getopt+set}" = set; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 cat >conftest.
$ac_ext <<_ACEOF
13453 cat confdefs.h
>>conftest.
$ac_ext
13454 cat >>conftest.
$ac_ext <<_ACEOF
13455 /* end confdefs.h. */
13456 $ac_includes_default
13461 char *p = (char *) getopt;
13468 rm -f conftest.
$ac_objext
13469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13470 (eval $ac_compile) 2>conftest.er1
13472 grep -v '^ *+' conftest.er1
>conftest.err
13474 cat conftest.err
>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); } &&
13477 { ac_try
='test -z "$ac_c_werror_flag"
13478 || test ! -s conftest.err'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; } &&
13484 { ac_try
='test -s conftest.$ac_objext'
13485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13486 (eval $ac_try) 2>&5
13488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); }; }; then
13490 ac_cv_have_decl_getopt
=yes
13492 echo "$as_me: failed program was:" >&5
13493 sed 's/^/| /' conftest.
$ac_ext >&5
13495 ac_cv_have_decl_getopt
=no
13497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13499 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
13500 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
13501 if test $ac_cv_have_decl_getopt = yes; then
13503 cat >>confdefs.h
<<_ACEOF
13504 #define HAVE_DECL_GETOPT 1
13509 cat >>confdefs.h
<<_ACEOF
13510 #define HAVE_DECL_GETOPT 0
13515 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
13516 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
13517 if test "${ac_cv_have_decl_snprintf+set}" = set; then
13518 echo $ECHO_N "(cached) $ECHO_C" >&6
13520 cat >conftest.
$ac_ext <<_ACEOF
13523 cat confdefs.h
>>conftest.
$ac_ext
13524 cat >>conftest.
$ac_ext <<_ACEOF
13525 /* end confdefs.h. */
13526 $ac_includes_default
13531 char *p = (char *) snprintf;
13538 rm -f conftest.
$ac_objext
13539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13540 (eval $ac_compile) 2>conftest.er1
13542 grep -v '^ *+' conftest.er1
>conftest.err
13544 cat conftest.err
>&5
13545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13546 (exit $ac_status); } &&
13547 { ac_try
='test -z "$ac_c_werror_flag"
13548 || test ! -s conftest.err'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; } &&
13554 { ac_try
='test -s conftest.$ac_objext'
13555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13556 (eval $ac_try) 2>&5
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); }; }; then
13560 ac_cv_have_decl_snprintf
=yes
13562 echo "$as_me: failed program was:" >&5
13563 sed 's/^/| /' conftest.
$ac_ext >&5
13565 ac_cv_have_decl_snprintf
=no
13567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13569 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
13570 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
13571 if test $ac_cv_have_decl_snprintf = yes; then
13573 cat >>confdefs.h
<<_ACEOF
13574 #define HAVE_DECL_SNPRINTF 1
13579 cat >>confdefs.h
<<_ACEOF
13580 #define HAVE_DECL_SNPRINTF 0
13585 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
13586 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
13587 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 cat >conftest.
$ac_ext <<_ACEOF
13593 cat confdefs.h
>>conftest.
$ac_ext
13594 cat >>conftest.
$ac_ext <<_ACEOF
13595 /* end confdefs.h. */
13596 $ac_includes_default
13601 char *p = (char *) vsnprintf;
13608 rm -f conftest.
$ac_objext
13609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13610 (eval $ac_compile) 2>conftest.er1
13612 grep -v '^ *+' conftest.er1
>conftest.err
13614 cat conftest.err
>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } &&
13617 { ac_try
='test -z "$ac_c_werror_flag"
13618 || test ! -s conftest.err'
13619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13620 (eval $ac_try) 2>&5
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; } &&
13624 { ac_try
='test -s conftest.$ac_objext'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; }; then
13630 ac_cv_have_decl_vsnprintf
=yes
13632 echo "$as_me: failed program was:" >&5
13633 sed 's/^/| /' conftest.
$ac_ext >&5
13635 ac_cv_have_decl_vsnprintf
=no
13637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13639 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
13640 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
13641 if test $ac_cv_have_decl_vsnprintf = yes; then
13643 cat >>confdefs.h
<<_ACEOF
13644 #define HAVE_DECL_VSNPRINTF 1
13649 cat >>confdefs.h
<<_ACEOF
13650 #define HAVE_DECL_VSNPRINTF 0
13658 # ----------------------- #
13659 # Checks for structures. #
13660 # ----------------------- #
13662 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
13663 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
13664 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
13665 echo $ECHO_N "(cached) $ECHO_C" >&6
13667 cat >conftest.
$ac_ext <<_ACEOF
13670 cat confdefs.h
>>conftest.
$ac_ext
13671 cat >>conftest.
$ac_ext <<_ACEOF
13672 /* end confdefs.h. */
13673 $ac_includes_default
13677 static struct stat ac_aggr;
13678 if (ac_aggr.st_blocks)
13684 rm -f conftest.
$ac_objext
13685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13686 (eval $ac_compile) 2>conftest.er1
13688 grep -v '^ *+' conftest.er1
>conftest.err
13690 cat conftest.err
>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); } &&
13693 { ac_try
='test -z "$ac_c_werror_flag"
13694 || test ! -s conftest.err'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; } &&
13700 { ac_try
='test -s conftest.$ac_objext'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; }; then
13706 ac_cv_member_struct_stat_st_blocks
=yes
13708 echo "$as_me: failed program was:" >&5
13709 sed 's/^/| /' conftest.
$ac_ext >&5
13711 cat >conftest.
$ac_ext <<_ACEOF
13714 cat confdefs.h
>>conftest.
$ac_ext
13715 cat >>conftest.
$ac_ext <<_ACEOF
13716 /* end confdefs.h. */
13717 $ac_includes_default
13721 static struct stat ac_aggr;
13722 if (sizeof ac_aggr.st_blocks)
13728 rm -f conftest.
$ac_objext
13729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13730 (eval $ac_compile) 2>conftest.er1
13732 grep -v '^ *+' conftest.er1
>conftest.err
13734 cat conftest.err
>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); } &&
13737 { ac_try
='test -z "$ac_c_werror_flag"
13738 || test ! -s conftest.err'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; } &&
13744 { ac_try
='test -s conftest.$ac_objext'
13745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13746 (eval $ac_try) 2>&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); }; }; then
13750 ac_cv_member_struct_stat_st_blocks
=yes
13752 echo "$as_me: failed program was:" >&5
13753 sed 's/^/| /' conftest.
$ac_ext >&5
13755 ac_cv_member_struct_stat_st_blocks
=no
13757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13761 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
13762 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
13763 if test $ac_cv_member_struct_stat_st_blocks = yes; then
13765 cat >>confdefs.h
<<_ACEOF
13766 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13772 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
13773 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
13774 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
13775 echo $ECHO_N "(cached) $ECHO_C" >&6
13777 cat >conftest.
$ac_ext <<_ACEOF
13780 cat confdefs.h
>>conftest.
$ac_ext
13781 cat >>conftest.
$ac_ext <<_ACEOF
13782 /* end confdefs.h. */
13783 $ac_includes_default
13787 static struct stat ac_aggr;
13788 if (ac_aggr.st_blksize)
13794 rm -f conftest.
$ac_objext
13795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13796 (eval $ac_compile) 2>conftest.er1
13798 grep -v '^ *+' conftest.er1
>conftest.err
13800 cat conftest.err
>&5
13801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802 (exit $ac_status); } &&
13803 { ac_try
='test -z "$ac_c_werror_flag"
13804 || test ! -s conftest.err'
13805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13806 (eval $ac_try) 2>&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; } &&
13810 { ac_try
='test -s conftest.$ac_objext'
13811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13812 (eval $ac_try) 2>&5
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); }; }; then
13816 ac_cv_member_struct_stat_st_blksize
=yes
13818 echo "$as_me: failed program was:" >&5
13819 sed 's/^/| /' conftest.
$ac_ext >&5
13821 cat >conftest.
$ac_ext <<_ACEOF
13824 cat confdefs.h
>>conftest.
$ac_ext
13825 cat >>conftest.
$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13827 $ac_includes_default
13831 static struct stat ac_aggr;
13832 if (sizeof ac_aggr.st_blksize)
13838 rm -f conftest.
$ac_objext
13839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13840 (eval $ac_compile) 2>conftest.er1
13842 grep -v '^ *+' conftest.er1
>conftest.err
13844 cat conftest.err
>&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); } &&
13847 { ac_try
='test -z "$ac_c_werror_flag"
13848 || test ! -s conftest.err'
13849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13850 (eval $ac_try) 2>&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); }; } &&
13854 { ac_try
='test -s conftest.$ac_objext'
13855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13856 (eval $ac_try) 2>&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; }; then
13860 ac_cv_member_struct_stat_st_blksize
=yes
13862 echo "$as_me: failed program was:" >&5
13863 sed 's/^/| /' conftest.
$ac_ext >&5
13865 ac_cv_member_struct_stat_st_blksize
=no
13867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13871 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
13872 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
13873 if test $ac_cv_member_struct_stat_st_blksize = yes; then
13875 cat >>confdefs.h
<<_ACEOF
13876 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
13883 # ------------------ #
13884 # Checks for types. #
13885 # ------------------ #
13887 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13888 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
13889 if test "${ac_cv_type_signal+set}" = set; then
13890 echo $ECHO_N "(cached) $ECHO_C" >&6
13892 cat >conftest.
$ac_ext <<_ACEOF
13895 cat confdefs.h
>>conftest.
$ac_ext
13896 cat >>conftest.
$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13898 #include <sys/types.h>
13899 #include <signal.h>
13904 extern "C" void (*signal (int, void (*)(int)))(int);
13906 void (*signal ()) ();
13917 rm -f conftest.
$ac_objext
13918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13919 (eval $ac_compile) 2>conftest.er1
13921 grep -v '^ *+' conftest.er1
>conftest.err
13923 cat conftest.err
>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } &&
13926 { ac_try
='test -z "$ac_c_werror_flag"
13927 || test ! -s conftest.err'
13928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13929 (eval $ac_try) 2>&5
13931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932 (exit $ac_status); }; } &&
13933 { ac_try
='test -s conftest.$ac_objext'
13934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13935 (eval $ac_try) 2>&5
13937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938 (exit $ac_status); }; }; then
13939 ac_cv_type_signal
=void
13941 echo "$as_me: failed program was:" >&5
13942 sed 's/^/| /' conftest.
$ac_ext >&5
13944 ac_cv_type_signal
=int
13946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13948 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13949 echo "${ECHO_T}$ac_cv_type_signal" >&6
13951 cat >>confdefs.h
<<_ACEOF
13952 #define RETSIGTYPE $ac_cv_type_signal
13956 echo "$as_me:$LINENO: checking for socklen_t" >&5
13957 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
13958 if test "${ac_cv_type_socklen_t+set}" = set; then
13959 echo $ECHO_N "(cached) $ECHO_C" >&6
13961 cat >conftest.
$ac_ext <<_ACEOF
13964 cat confdefs.h
>>conftest.
$ac_ext
13965 cat >>conftest.
$ac_ext <<_ACEOF
13966 /* end confdefs.h. */
13967 #include <sys/types.h>
13968 #include <sys/socket.h>
13974 if ((socklen_t *) 0)
13976 if (sizeof (socklen_t))
13982 rm -f conftest.
$ac_objext
13983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13984 (eval $ac_compile) 2>conftest.er1
13986 grep -v '^ *+' conftest.er1
>conftest.err
13988 cat conftest.err
>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); } &&
13991 { ac_try
='test -z "$ac_c_werror_flag"
13992 || test ! -s conftest.err'
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); }; } &&
13998 { ac_try
='test -s conftest.$ac_objext'
13999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14000 (eval $ac_try) 2>&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); }; }; then
14004 ac_cv_type_socklen_t
=yes
14006 echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.
$ac_ext >&5
14009 ac_cv_type_socklen_t
=no
14011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14013 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
14014 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
14015 if test $ac_cv_type_socklen_t = yes; then
14017 cat >>confdefs.h
<<_ACEOF
14018 #define HAVE_SOCKLEN_T 1
14024 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14025 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14026 if test "${ac_cv_type_uintptr_t+set}" = set; then
14027 echo $ECHO_N "(cached) $ECHO_C" >&6
14029 cat >conftest.
$ac_ext <<_ACEOF
14032 cat confdefs.h
>>conftest.
$ac_ext
14033 cat >>conftest.
$ac_ext <<_ACEOF
14034 /* end confdefs.h. */
14035 #include <stdint.h>
14040 if ((uintptr_t *) 0)
14042 if (sizeof (uintptr_t))
14048 rm -f conftest.
$ac_objext
14049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14050 (eval $ac_compile) 2>conftest.er1
14052 grep -v '^ *+' conftest.er1
>conftest.err
14054 cat conftest.err
>&5
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); } &&
14057 { ac_try
='test -z "$ac_c_werror_flag"
14058 || test ! -s conftest.err'
14059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14060 (eval $ac_try) 2>&5
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); }; } &&
14064 { ac_try
='test -s conftest.$ac_objext'
14065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14066 (eval $ac_try) 2>&5
14068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); }; }; then
14070 ac_cv_type_uintptr_t
=yes
14072 echo "$as_me: failed program was:" >&5
14073 sed 's/^/| /' conftest.
$ac_ext >&5
14075 ac_cv_type_uintptr_t
=no
14077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14079 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14080 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14081 if test $ac_cv_type_uintptr_t = yes; then
14083 cat >>confdefs.h
<<_ACEOF
14084 #define HAVE_UINTPTR_T 1
14091 # ------------------------------------- #
14092 # Checks for compiler characteristics. #
14093 # ------------------------------------- #
14095 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14096 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14097 if test "${ac_cv_c_const+set}" = set; then
14098 echo $ECHO_N "(cached) $ECHO_C" >&6
14100 cat >conftest.
$ac_ext <<_ACEOF
14103 cat confdefs.h
>>conftest.
$ac_ext
14104 cat >>conftest.
$ac_ext <<_ACEOF
14105 /* end confdefs.h. */
14110 /* FIXME: Include the comments suggested by Paul. */
14111 #ifndef __cplusplus
14112 /* Ultrix mips cc rejects this. */
14113 typedef int charset[2];
14115 /* SunOS 4.1.1 cc rejects this. */
14116 char const *const *ccp;
14118 /* NEC SVR4.0.2 mips cc rejects this. */
14119 struct point {int x, y;};
14120 static struct point const zero = {0,0};
14121 /* AIX XL C 1.02.0.0 rejects this.
14122 It does not let you subtract one const X* pointer from another in
14123 an arm of an if-expression whose if-part is not a constant
14125 const char *g = "string";
14126 ccp = &g + (g ? g-g : 0);
14127 /* HPUX 7.0 cc rejects these. */
14130 ccp = (char const *const *) p;
14131 { /* SCO 3.2v4 cc rejects this. */
14133 char const *s = 0 ? (char *) 0 : (char const *) 0;
14137 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14138 int x[] = {25, 17};
14139 const int *foo = &x[0];
14142 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14143 typedef const int *iptr;
14147 { /* AIX XL C 1.02.0.0 rejects this saying
14148 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14149 struct s { int j; const int *ap[3]; };
14150 struct s *b; b->j = 5;
14152 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14153 const int foo = 10;
14161 rm -f conftest.
$ac_objext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14163 (eval $ac_compile) 2>conftest.er1
14165 grep -v '^ *+' conftest.er1
>conftest.err
14167 cat conftest.err
>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); } &&
14170 { ac_try
='test -z "$ac_c_werror_flag"
14171 || test ! -s conftest.err'
14172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; } &&
14177 { ac_try
='test -s conftest.$ac_objext'
14178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179 (eval $ac_try) 2>&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); }; }; then
14185 echo "$as_me: failed program was:" >&5
14186 sed 's/^/| /' conftest.
$ac_ext >&5
14190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14192 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14193 echo "${ECHO_T}$ac_cv_c_const" >&6
14194 if test $ac_cv_c_const = no
; then
14196 cat >>confdefs.h
<<\_ACEOF
14202 echo "$as_me:$LINENO: checking for inline" >&5
14203 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14204 if test "${ac_cv_c_inline+set}" = set; then
14205 echo $ECHO_N "(cached) $ECHO_C" >&6
14208 for ac_kw
in inline __inline__ __inline
; do
14209 cat >conftest.
$ac_ext <<_ACEOF
14212 cat confdefs.h
>>conftest.
$ac_ext
14213 cat >>conftest.
$ac_ext <<_ACEOF
14214 /* end confdefs.h. */
14215 #ifndef __cplusplus
14217 static $ac_kw foo_t static_foo () {return 0; }
14218 $ac_kw foo_t foo () {return 0; }
14222 rm -f conftest.
$ac_objext
14223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14224 (eval $ac_compile) 2>conftest.er1
14226 grep -v '^ *+' conftest.er1
>conftest.err
14228 cat conftest.err
>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } &&
14231 { ac_try
='test -z "$ac_c_werror_flag"
14232 || test ! -s conftest.err'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; } &&
14238 { ac_try
='test -s conftest.$ac_objext'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; }; then
14244 ac_cv_c_inline
=$ac_kw; break
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.
$ac_ext >&5
14250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14254 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14255 echo "${ECHO_T}$ac_cv_c_inline" >&6
14258 case $ac_cv_c_inline in
14261 case $ac_cv_c_inline in
14263 *) ac_val
=$ac_cv_c_inline;;
14265 cat >>confdefs.h
<<_ACEOF
14266 #ifndef __cplusplus
14267 #define inline $ac_val
14274 # ------------------------------ #
14275 # Checks for library functions. #
14276 # ------------------------------ #
14278 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14279 # for constant arguments. Useless!
14280 echo "$as_me:$LINENO: checking for working alloca.h" >&5
14281 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
14282 if test "${ac_cv_working_alloca_h+set}" = set; then
14283 echo $ECHO_N "(cached) $ECHO_C" >&6
14285 cat >conftest.
$ac_ext <<_ACEOF
14288 cat confdefs.h
>>conftest.
$ac_ext
14289 cat >>conftest.
$ac_ext <<_ACEOF
14290 /* end confdefs.h. */
14291 #include <alloca.h>
14295 char *p = (char *) alloca (2 * sizeof (int));
14300 rm -f conftest.
$ac_objext conftest
$ac_exeext
14301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14302 (eval $ac_link) 2>conftest.er1
14304 grep -v '^ *+' conftest.er1
>conftest.err
14306 cat conftest.err
>&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); } &&
14309 { ac_try
='test -z "$ac_c_werror_flag"
14310 || test ! -s conftest.err'
14311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312 (eval $ac_try) 2>&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }; } &&
14316 { ac_try
='test -s conftest$ac_exeext'
14317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14318 (eval $ac_try) 2>&5
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); }; }; then
14322 ac_cv_working_alloca_h
=yes
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.
$ac_ext >&5
14327 ac_cv_working_alloca_h
=no
14329 rm -f conftest.err conftest.
$ac_objext \
14330 conftest
$ac_exeext conftest.
$ac_ext
14332 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
14333 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
14334 if test $ac_cv_working_alloca_h = yes; then
14336 cat >>confdefs.h
<<\_ACEOF
14337 #define HAVE_ALLOCA_H 1
14342 echo "$as_me:$LINENO: checking for alloca" >&5
14343 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
14344 if test "${ac_cv_func_alloca_works+set}" = set; then
14345 echo $ECHO_N "(cached) $ECHO_C" >&6
14347 cat >conftest.
$ac_ext <<_ACEOF
14350 cat confdefs.h
>>conftest.
$ac_ext
14351 cat >>conftest.
$ac_ext <<_ACEOF
14352 /* end confdefs.h. */
14354 # define alloca __builtin_alloca
14357 # include <malloc.h>
14358 # define alloca _alloca
14361 # include <alloca.h>
14366 # ifndef alloca /* predefined by HP cc +Olibcalls */
14377 char *p = (char *) alloca (1);
14382 rm -f conftest.
$ac_objext conftest
$ac_exeext
14383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14384 (eval $ac_link) 2>conftest.er1
14386 grep -v '^ *+' conftest.er1
>conftest.err
14388 cat conftest.err
>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } &&
14391 { ac_try
='test -z "$ac_c_werror_flag"
14392 || test ! -s conftest.err'
14393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14394 (eval $ac_try) 2>&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); }; } &&
14398 { ac_try
='test -s conftest$ac_exeext'
14399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14400 (eval $ac_try) 2>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); }; }; then
14404 ac_cv_func_alloca_works
=yes
14406 echo "$as_me: failed program was:" >&5
14407 sed 's/^/| /' conftest.
$ac_ext >&5
14409 ac_cv_func_alloca_works
=no
14411 rm -f conftest.err conftest.
$ac_objext \
14412 conftest
$ac_exeext conftest.
$ac_ext
14414 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
14415 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
14417 if test $ac_cv_func_alloca_works = yes; then
14419 cat >>confdefs.h
<<\_ACEOF
14420 #define HAVE_ALLOCA 1
14424 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14425 # that cause trouble. Some versions do not even contain alloca or
14426 # contain a buggy version. If you still want to use their alloca,
14427 # use ar to extract alloca.o from them instead of compiling alloca.c.
14429 ALLOCA
=alloca.
$ac_objext
14431 cat >>confdefs.h
<<\_ACEOF
14436 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
14437 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
14438 if test "${ac_cv_os_cray+set}" = set; then
14439 echo $ECHO_N "(cached) $ECHO_C" >&6
14441 cat >conftest.
$ac_ext <<_ACEOF
14444 cat confdefs.h
>>conftest.
$ac_ext
14445 cat >>conftest.
$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14447 #if defined(CRAY) && ! defined(CRAY2)
14454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14455 $EGREP "webecray" >/dev
/null
2>&1; then
14463 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
14464 echo "${ECHO_T}$ac_cv_os_cray" >&6
14465 if test $ac_cv_os_cray = yes; then
14466 for ac_func
in _getb67 GETB67 getb67
; do
14467 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14468 echo "$as_me:$LINENO: checking for $ac_func" >&5
14469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14470 if eval "test \"\${$as_ac_var+set}\" = set"; then
14471 echo $ECHO_N "(cached) $ECHO_C" >&6
14473 cat >conftest.
$ac_ext <<_ACEOF
14476 cat confdefs.h
>>conftest.
$ac_ext
14477 cat >>conftest.
$ac_ext <<_ACEOF
14478 /* end confdefs.h. */
14479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14481 #define $ac_func innocuous_$ac_func
14483 /* System header to define __stub macros and hopefully few prototypes,
14484 which can conflict with char $ac_func (); below.
14485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14486 <limits.h> exists even on freestanding compilers. */
14489 # include <limits.h>
14491 # include <assert.h>
14496 /* Override any gcc2 internal prototype to avoid an error. */
14501 /* We use char because int might match the return type of a gcc2
14502 builtin and then its argument prototype would still apply. */
14504 /* The GNU C library defines this for functions which it implements
14505 to always fail with ENOSYS. Some functions are actually named
14506 something starting with __ and the normal name is an alias. */
14507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14510 char (*f) () = $ac_func;
14519 return f != $ac_func;
14524 rm -f conftest.
$ac_objext conftest
$ac_exeext
14525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14526 (eval $ac_link) 2>conftest.er1
14528 grep -v '^ *+' conftest.er1
>conftest.err
14530 cat conftest.err
>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); } &&
14533 { ac_try
='test -z "$ac_c_werror_flag"
14534 || test ! -s conftest.err'
14535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14536 (eval $ac_try) 2>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; } &&
14540 { ac_try
='test -s conftest$ac_exeext'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; }; then
14546 eval "$as_ac_var=yes"
14548 echo "$as_me: failed program was:" >&5
14549 sed 's/^/| /' conftest.
$ac_ext >&5
14551 eval "$as_ac_var=no"
14553 rm -f conftest.err conftest.
$ac_objext \
14554 conftest
$ac_exeext conftest.
$ac_ext
14556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14558 if test `eval echo '${'$as_ac_var'}'` = yes; then
14560 cat >>confdefs.h
<<_ACEOF
14561 #define CRAY_STACKSEG_END $ac_func
14570 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
14571 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
14572 if test "${ac_cv_c_stack_direction+set}" = set; then
14573 echo $ECHO_N "(cached) $ECHO_C" >&6
14575 if test "$cross_compiling" = yes; then
14576 ac_cv_c_stack_direction
=0
14578 cat >conftest.
$ac_ext <<_ACEOF
14581 cat confdefs.h
>>conftest.
$ac_ext
14582 cat >>conftest.
$ac_ext <<_ACEOF
14583 /* end confdefs.h. */
14585 find_stack_direction ()
14587 static char *addr = 0;
14592 return find_stack_direction ();
14595 return (&dummy > addr) ? 1 : -1;
14601 exit (find_stack_direction () < 0);
14604 rm -f conftest
$ac_exeext
14605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14606 (eval $ac_link) 2>&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14611 (eval $ac_try) 2>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); }; }; then
14615 ac_cv_c_stack_direction
=1
14617 echo "$as_me: program exited with status $ac_status" >&5
14618 echo "$as_me: failed program was:" >&5
14619 sed 's/^/| /' conftest.
$ac_ext >&5
14621 ( exit $ac_status )
14622 ac_cv_c_stack_direction
=-1
14624 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14627 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
14628 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
14630 cat >>confdefs.h
<<_ACEOF
14631 #define STACK_DIRECTION $ac_cv_c_stack_direction
14639 for ac_header
in stdlib.h unistd.h
14641 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14643 echo "$as_me:$LINENO: checking for $ac_header" >&5
14644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14646 echo $ECHO_N "(cached) $ECHO_C" >&6
14648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14651 # Is the header compilable?
14652 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14653 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14654 cat >conftest.
$ac_ext <<_ACEOF
14657 cat confdefs.h
>>conftest.
$ac_ext
14658 cat >>conftest.
$ac_ext <<_ACEOF
14659 /* end confdefs.h. */
14660 $ac_includes_default
14661 #include <$ac_header>
14663 rm -f conftest.
$ac_objext
14664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14665 (eval $ac_compile) 2>conftest.er1
14667 grep -v '^ *+' conftest.er1
>conftest.err
14669 cat conftest.err
>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } &&
14672 { ac_try
='test -z "$ac_c_werror_flag"
14673 || test ! -s conftest.err'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; } &&
14679 { ac_try
='test -s conftest.$ac_objext'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; }; then
14685 ac_header_compiler
=yes
14687 echo "$as_me: failed program was:" >&5
14688 sed 's/^/| /' conftest.
$ac_ext >&5
14690 ac_header_compiler
=no
14692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14694 echo "${ECHO_T}$ac_header_compiler" >&6
14696 # Is the header present?
14697 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14698 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14699 cat >conftest.
$ac_ext <<_ACEOF
14702 cat confdefs.h
>>conftest.
$ac_ext
14703 cat >>conftest.
$ac_ext <<_ACEOF
14704 /* end confdefs.h. */
14705 #include <$ac_header>
14707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14708 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14710 grep -v '^ *+' conftest.er1
>conftest.err
14712 cat conftest.err
>&5
14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); } >/dev
/null
; then
14715 if test -s conftest.err
; then
14716 ac_cpp_err
=$ac_c_preproc_warn_flag
14717 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14724 if test -z "$ac_cpp_err"; then
14725 ac_header_preproc
=yes
14727 echo "$as_me: failed program was:" >&5
14728 sed 's/^/| /' conftest.
$ac_ext >&5
14730 ac_header_preproc
=no
14732 rm -f conftest.err conftest.
$ac_ext
14733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14734 echo "${ECHO_T}$ac_header_preproc" >&6
14736 # So? What about this header?
14737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14739 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14740 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14742 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14743 ac_header_preproc
=yes
14746 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14747 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14748 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14749 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14750 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14751 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14752 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14753 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14756 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14757 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14760 ## ------------------------------------------ ##
14761 ## Report this to the AC_PACKAGE_NAME lists. ##
14762 ## ------------------------------------------ ##
14765 sed "s/^/$as_me: WARNING: /" >&2
14768 echo "$as_me:$LINENO: checking for $ac_header" >&5
14769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14773 eval "$as_ac_Header=\$ac_header_preproc"
14775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14780 cat >>confdefs.h
<<_ACEOF
14781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14789 for ac_func
in getpagesize
14791 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14792 echo "$as_me:$LINENO: checking for $ac_func" >&5
14793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14794 if eval "test \"\${$as_ac_var+set}\" = set"; then
14795 echo $ECHO_N "(cached) $ECHO_C" >&6
14797 cat >conftest.
$ac_ext <<_ACEOF
14800 cat confdefs.h
>>conftest.
$ac_ext
14801 cat >>conftest.
$ac_ext <<_ACEOF
14802 /* end confdefs.h. */
14803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14805 #define $ac_func innocuous_$ac_func
14807 /* System header to define __stub macros and hopefully few prototypes,
14808 which can conflict with char $ac_func (); below.
14809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14810 <limits.h> exists even on freestanding compilers. */
14813 # include <limits.h>
14815 # include <assert.h>
14820 /* Override any gcc2 internal prototype to avoid an error. */
14825 /* We use char because int might match the return type of a gcc2
14826 builtin and then its argument prototype would still apply. */
14828 /* The GNU C library defines this for functions which it implements
14829 to always fail with ENOSYS. Some functions are actually named
14830 something starting with __ and the normal name is an alias. */
14831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14834 char (*f) () = $ac_func;
14843 return f != $ac_func;
14848 rm -f conftest.
$ac_objext conftest
$ac_exeext
14849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14850 (eval $ac_link) 2>conftest.er1
14852 grep -v '^ *+' conftest.er1
>conftest.err
14854 cat conftest.err
>&5
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); } &&
14857 { ac_try
='test -z "$ac_c_werror_flag"
14858 || test ! -s conftest.err'
14859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14860 (eval $ac_try) 2>&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); }; } &&
14864 { ac_try
='test -s conftest$ac_exeext'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; }; then
14870 eval "$as_ac_var=yes"
14872 echo "$as_me: failed program was:" >&5
14873 sed 's/^/| /' conftest.
$ac_ext >&5
14875 eval "$as_ac_var=no"
14877 rm -f conftest.err conftest.
$ac_objext \
14878 conftest
$ac_exeext conftest.
$ac_ext
14880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14882 if test `eval echo '${'$as_ac_var'}'` = yes; then
14883 cat >>confdefs.h
<<_ACEOF
14884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14890 echo "$as_me:$LINENO: checking for working mmap" >&5
14891 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14892 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14893 echo $ECHO_N "(cached) $ECHO_C" >&6
14895 if test "$cross_compiling" = yes; then
14896 ac_cv_func_mmap_fixed_mapped
=no
14898 cat >conftest.
$ac_ext <<_ACEOF
14901 cat confdefs.h
>>conftest.
$ac_ext
14902 cat >>conftest.
$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 $ac_includes_default
14905 /* malloc might have been renamed as rpl_malloc. */
14908 /* Thanks to Mike Haertel and Jim Avera for this test.
14909 Here is a matrix of mmap possibilities:
14910 mmap private not fixed
14911 mmap private fixed at somewhere currently unmapped
14912 mmap private fixed at somewhere already mapped
14913 mmap shared not fixed
14914 mmap shared fixed at somewhere currently unmapped
14915 mmap shared fixed at somewhere already mapped
14916 For private mappings, we should verify that changes cannot be read()
14917 back from the file, nor mmap's back from the file at a different
14918 address. (There have been systems where private was not correctly
14919 implemented like the infamous i386 svr4.0, and systems where the
14920 VM page cache was not coherent with the file system buffer cache
14921 like early versions of FreeBSD and possibly contemporary NetBSD.)
14922 For shared mappings, we should conversely verify that changes get
14923 propagated back to all the places they're supposed to be.
14925 Grep wants private fixed already mapped.
14926 The main things grep needs to know about mmap are:
14927 * does it exist and is it safe to write into the mmap'd area
14928 * how to use it (BSD variants) */
14931 #include <sys/mman.h>
14933 #if !STDC_HEADERS && !HAVE_STDLIB_H
14937 /* This mess was copied from the GNU getpagesize.h. */
14938 #if !HAVE_GETPAGESIZE
14939 /* Assume that all systems that can run configure have sys/param.h. */
14940 # if !HAVE_SYS_PARAM_H
14941 # define HAVE_SYS_PARAM_H 1
14944 # ifdef _SC_PAGESIZE
14945 # define getpagesize() sysconf(_SC_PAGESIZE)
14946 # else /* no _SC_PAGESIZE */
14947 # if HAVE_SYS_PARAM_H
14948 # include <sys/param.h>
14949 # ifdef EXEC_PAGESIZE
14950 # define getpagesize() EXEC_PAGESIZE
14951 # else /* no EXEC_PAGESIZE */
14953 # define getpagesize() NBPG * CLSIZE
14956 # endif /* no CLSIZE */
14957 # else /* no NBPG */
14959 # define getpagesize() NBPC
14960 # else /* no NBPC */
14962 # define getpagesize() PAGESIZE
14963 # endif /* PAGESIZE */
14964 # endif /* no NBPC */
14965 # endif /* no NBPG */
14966 # endif /* no EXEC_PAGESIZE */
14967 # else /* no HAVE_SYS_PARAM_H */
14968 # define getpagesize() 8192 /* punt totally */
14969 # endif /* no HAVE_SYS_PARAM_H */
14970 # endif /* no _SC_PAGESIZE */
14972 #endif /* no HAVE_GETPAGESIZE */
14977 char *data, *data2, *data3;
14981 pagesize = getpagesize ();
14983 /* First, make a file with some known garbage in it. */
14984 data = (char *) malloc (pagesize);
14987 for (i = 0; i < pagesize; ++i)
14988 *(data + i) = rand ();
14990 fd = creat ("conftest.mmap", 0600);
14993 if (write (fd, data, pagesize) != pagesize)
14997 /* Next, try to mmap the file at a fixed address which already has
14998 something else allocated at it. If we can, also make sure that
14999 we see the same garbage. */
15000 fd = open ("conftest.mmap", O_RDWR);
15003 data2 = (char *) malloc (2 * pagesize);
15006 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
15007 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
15008 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15010 for (i = 0; i < pagesize; ++i)
15011 if (*(data + i) != *(data2 + i))
15014 /* Finally, make sure that changes to the mapped area do not
15015 percolate back to the file as seen by read(). (This is a bug on
15016 some variants of i386 svr4.0.) */
15017 for (i = 0; i < pagesize; ++i)
15018 *(data2 + i) = *(data2 + i) + 1;
15019 data3 = (char *) malloc (pagesize);
15022 if (read (fd, data3, pagesize) != pagesize)
15024 for (i = 0; i < pagesize; ++i)
15025 if (*(data + i) != *(data3 + i))
15031 rm -f conftest
$ac_exeext
15032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15033 (eval $ac_link) 2>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15038 (eval $ac_try) 2>&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); }; }; then
15042 ac_cv_func_mmap_fixed_mapped
=yes
15044 echo "$as_me: program exited with status $ac_status" >&5
15045 echo "$as_me: failed program was:" >&5
15046 sed 's/^/| /' conftest.
$ac_ext >&5
15048 ( exit $ac_status )
15049 ac_cv_func_mmap_fixed_mapped
=no
15051 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15054 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
15055 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
15056 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15058 cat >>confdefs.h
<<\_ACEOF
15059 #define HAVE_MMAP 1
15063 rm -f conftest.mmap
15065 echo "$as_me:$LINENO: checking for pid_t" >&5
15066 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
15067 if test "${ac_cv_type_pid_t+set}" = set; then
15068 echo $ECHO_N "(cached) $ECHO_C" >&6
15070 cat >conftest.
$ac_ext <<_ACEOF
15073 cat confdefs.h
>>conftest.
$ac_ext
15074 cat >>conftest.
$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15076 $ac_includes_default
15082 if (sizeof (pid_t))
15088 rm -f conftest.
$ac_objext
15089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15090 (eval $ac_compile) 2>conftest.er1
15092 grep -v '^ *+' conftest.er1
>conftest.err
15094 cat conftest.err
>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); } &&
15097 { ac_try
='test -z "$ac_c_werror_flag"
15098 || test ! -s conftest.err'
15099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15100 (eval $ac_try) 2>&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; } &&
15104 { ac_try
='test -s conftest.$ac_objext'
15105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15106 (eval $ac_try) 2>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; }; then
15110 ac_cv_type_pid_t
=yes
15112 echo "$as_me: failed program was:" >&5
15113 sed 's/^/| /' conftest.
$ac_ext >&5
15115 ac_cv_type_pid_t
=no
15117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15119 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
15120 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
15121 if test $ac_cv_type_pid_t = yes; then
15125 cat >>confdefs.h
<<_ACEOF
15133 for ac_header
in unistd.h vfork.h
15135 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15137 echo "$as_me:$LINENO: checking for $ac_header" >&5
15138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15145 # Is the header compilable?
15146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15148 cat >conftest.
$ac_ext <<_ACEOF
15151 cat confdefs.h
>>conftest.
$ac_ext
15152 cat >>conftest.
$ac_ext <<_ACEOF
15153 /* end confdefs.h. */
15154 $ac_includes_default
15155 #include <$ac_header>
15157 rm -f conftest.
$ac_objext
15158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15159 (eval $ac_compile) 2>conftest.er1
15161 grep -v '^ *+' conftest.er1
>conftest.err
15163 cat conftest.err
>&5
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); } &&
15166 { ac_try
='test -z "$ac_c_werror_flag"
15167 || test ! -s conftest.err'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; } &&
15173 { ac_try
='test -s conftest.$ac_objext'
15174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15175 (eval $ac_try) 2>&5
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); }; }; then
15179 ac_header_compiler
=yes
15181 echo "$as_me: failed program was:" >&5
15182 sed 's/^/| /' conftest.
$ac_ext >&5
15184 ac_header_compiler
=no
15186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15188 echo "${ECHO_T}$ac_header_compiler" >&6
15190 # Is the header present?
15191 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15193 cat >conftest.
$ac_ext <<_ACEOF
15196 cat confdefs.h
>>conftest.
$ac_ext
15197 cat >>conftest.
$ac_ext <<_ACEOF
15198 /* end confdefs.h. */
15199 #include <$ac_header>
15201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15204 grep -v '^ *+' conftest.er1
>conftest.err
15206 cat conftest.err
>&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } >/dev
/null
; then
15209 if test -s conftest.err
; then
15210 ac_cpp_err
=$ac_c_preproc_warn_flag
15211 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15218 if test -z "$ac_cpp_err"; then
15219 ac_header_preproc
=yes
15221 echo "$as_me: failed program was:" >&5
15222 sed 's/^/| /' conftest.
$ac_ext >&5
15224 ac_header_preproc
=no
15226 rm -f conftest.err conftest.
$ac_ext
15227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15228 echo "${ECHO_T}$ac_header_preproc" >&6
15230 # So? What about this header?
15231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15237 ac_header_preproc
=yes
15240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15254 ## ------------------------------------------ ##
15255 ## Report this to the AC_PACKAGE_NAME lists. ##
15256 ## ------------------------------------------ ##
15259 sed "s/^/$as_me: WARNING: /" >&2
15262 echo "$as_me:$LINENO: checking for $ac_header" >&5
15263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15265 echo $ECHO_N "(cached) $ECHO_C" >&6
15267 eval "$as_ac_Header=\$ac_header_preproc"
15269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15274 cat >>confdefs.h
<<_ACEOF
15275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15284 for ac_func
in fork vfork
15286 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15287 echo "$as_me:$LINENO: checking for $ac_func" >&5
15288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15289 if eval "test \"\${$as_ac_var+set}\" = set"; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15292 cat >conftest.
$ac_ext <<_ACEOF
15295 cat confdefs.h
>>conftest.
$ac_ext
15296 cat >>conftest.
$ac_ext <<_ACEOF
15297 /* end confdefs.h. */
15298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15300 #define $ac_func innocuous_$ac_func
15302 /* System header to define __stub macros and hopefully few prototypes,
15303 which can conflict with char $ac_func (); below.
15304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15305 <limits.h> exists even on freestanding compilers. */
15308 # include <limits.h>
15310 # include <assert.h>
15315 /* Override any gcc2 internal prototype to avoid an error. */
15320 /* We use char because int might match the return type of a gcc2
15321 builtin and then its argument prototype would still apply. */
15323 /* The GNU C library defines this for functions which it implements
15324 to always fail with ENOSYS. Some functions are actually named
15325 something starting with __ and the normal name is an alias. */
15326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15329 char (*f) () = $ac_func;
15338 return f != $ac_func;
15343 rm -f conftest.
$ac_objext conftest
$ac_exeext
15344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15345 (eval $ac_link) 2>conftest.er1
15347 grep -v '^ *+' conftest.er1
>conftest.err
15349 cat conftest.err
>&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } &&
15352 { ac_try
='test -z "$ac_c_werror_flag"
15353 || test ! -s conftest.err'
15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 (eval $ac_try) 2>&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); }; } &&
15359 { ac_try
='test -s conftest$ac_exeext'
15360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361 (eval $ac_try) 2>&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); }; }; then
15365 eval "$as_ac_var=yes"
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.
$ac_ext >&5
15370 eval "$as_ac_var=no"
15372 rm -f conftest.err conftest.
$ac_objext \
15373 conftest
$ac_exeext conftest.
$ac_ext
15375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15377 if test `eval echo '${'$as_ac_var'}'` = yes; then
15378 cat >>confdefs.h
<<_ACEOF
15379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15385 if test "x$ac_cv_func_fork" = xyes
; then
15386 echo "$as_me:$LINENO: checking for working fork" >&5
15387 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
15388 if test "${ac_cv_func_fork_works+set}" = set; then
15389 echo $ECHO_N "(cached) $ECHO_C" >&6
15391 if test "$cross_compiling" = yes; then
15392 ac_cv_func_fork_works
=cross
15394 cat >conftest.
$ac_ext <<_ACEOF
15395 /* By Ruediger Kuhlmann. */
15396 #include <sys/types.h>
15398 # include <unistd.h>
15400 /* Some systems only have a dummy stub for fork() */
15408 rm -f conftest
$ac_exeext
15409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15410 (eval $ac_link) 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15415 (eval $ac_try) 2>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }; }; then
15419 ac_cv_func_fork_works
=yes
15421 echo "$as_me: program exited with status $ac_status" >&5
15422 echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.
$ac_ext >&5
15425 ( exit $ac_status )
15426 ac_cv_func_fork_works
=no
15428 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15431 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
15432 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
15435 ac_cv_func_fork_works
=$ac_cv_func_fork
15437 if test "x$ac_cv_func_fork_works" = xcross
; then
15439 *-*-amigaos* |
*-*-msdosdjgpp*)
15440 # Override, as these systems have only a dummy fork() stub
15441 ac_cv_func_fork_works
=no
15444 ac_cv_func_fork_works
=yes
15447 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
15448 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
15450 ac_cv_func_vfork_works
=$ac_cv_func_vfork
15451 if test "x$ac_cv_func_vfork" = xyes
; then
15452 echo "$as_me:$LINENO: checking for working vfork" >&5
15453 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
15454 if test "${ac_cv_func_vfork_works+set}" = set; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15457 if test "$cross_compiling" = yes; then
15458 ac_cv_func_vfork_works
=cross
15460 cat >conftest.
$ac_ext <<_ACEOF
15463 cat confdefs.h
>>conftest.
$ac_ext
15464 cat >>conftest.
$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15466 /* Thanks to Paul Eggert for this test. */
15468 #include <stdlib.h>
15469 #include <sys/types.h>
15470 #include <sys/stat.h>
15471 #include <sys/wait.h>
15473 # include <unistd.h>
15476 # include <vfork.h>
15478 /* On some sparc systems, changes by the child to local and incoming
15479 argument registers are propagated back to the parent. The compiler
15480 is told about this with #include <vfork.h>, but some compilers
15481 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
15482 static variable whose address is put into a register that is
15483 clobbered by the vfork. */
15486 sparc_address_test (int arg)
15488 sparc_address_test (arg) int arg;
15491 static pid_t child;
15509 pid_t parent = getpid ();
15512 sparc_address_test (0);
15517 /* Here is another test for sparc vfork register problems. This
15518 test uses lots of local variables, at least as many local
15519 variables as main has allocated so far including compiler
15520 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
15521 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
15522 reuse the register of parent for one of the local variables,
15523 since it will think that parent can't possibly be used any more
15524 in this routine. Assigning to the local variable will thus
15525 munge parent in the parent process. */
15527 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
15528 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
15529 /* Convince the compiler that p..p7 are live; otherwise, it might
15530 use the same hardware register for all 8 local variables. */
15531 if (p != p1 || p != p2 || p != p3 || p != p4
15532 || p != p5 || p != p6 || p != p7)
15535 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
15536 from child file descriptors. If the child closes a descriptor
15537 before it execs or exits, this munges the parent's descriptor
15538 as well. Test for this by closing stdout in the child. */
15539 _exit(close(fileno(stdout)) != 0);
15544 while (wait(&status) != child)
15547 /* Was there some problem with vforking? */
15550 /* Did the child fail? (This shouldn't happen.) */
15553 /* Did the vfork/compiler bug occur? */
15554 || parent != getpid()
15556 /* Did the file descriptor bug occur? */
15557 || fstat(fileno(stdout), &st) != 0
15562 rm -f conftest
$ac_exeext
15563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15564 (eval $ac_link) 2>&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; }; then
15573 ac_cv_func_vfork_works
=yes
15575 echo "$as_me: program exited with status $ac_status" >&5
15576 echo "$as_me: failed program was:" >&5
15577 sed 's/^/| /' conftest.
$ac_ext >&5
15579 ( exit $ac_status )
15580 ac_cv_func_vfork_works
=no
15582 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15585 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
15586 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
15589 if test "x$ac_cv_func_fork_works" = xcross
; then
15590 ac_cv_func_vfork_works
=$ac_cv_func_vfork
15591 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
15592 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
15595 if test "x$ac_cv_func_vfork_works" = xyes
; then
15597 cat >>confdefs.h
<<\_ACEOF
15598 #define HAVE_WORKING_VFORK 1
15603 cat >>confdefs.h
<<\_ACEOF
15608 if test "x$ac_cv_func_fork_works" = xyes
; then
15610 cat >>confdefs.h
<<\_ACEOF
15611 #define HAVE_WORKING_FORK 1
15618 for ac_func
in canonicalize_file_name realpath
15620 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15621 echo "$as_me:$LINENO: checking for $ac_func" >&5
15622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15623 if eval "test \"\${$as_ac_var+set}\" = set"; then
15624 echo $ECHO_N "(cached) $ECHO_C" >&6
15626 cat >conftest.
$ac_ext <<_ACEOF
15629 cat confdefs.h
>>conftest.
$ac_ext
15630 cat >>conftest.
$ac_ext <<_ACEOF
15631 /* end confdefs.h. */
15632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15634 #define $ac_func innocuous_$ac_func
15636 /* System header to define __stub macros and hopefully few prototypes,
15637 which can conflict with char $ac_func (); below.
15638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15639 <limits.h> exists even on freestanding compilers. */
15642 # include <limits.h>
15644 # include <assert.h>
15649 /* Override any gcc2 internal prototype to avoid an error. */
15654 /* We use char because int might match the return type of a gcc2
15655 builtin and then its argument prototype would still apply. */
15657 /* The GNU C library defines this for functions which it implements
15658 to always fail with ENOSYS. Some functions are actually named
15659 something starting with __ and the normal name is an alias. */
15660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15663 char (*f) () = $ac_func;
15672 return f != $ac_func;
15677 rm -f conftest.
$ac_objext conftest
$ac_exeext
15678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15679 (eval $ac_link) 2>conftest.er1
15681 grep -v '^ *+' conftest.er1
>conftest.err
15683 cat conftest.err
>&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } &&
15686 { ac_try
='test -z "$ac_c_werror_flag"
15687 || test ! -s conftest.err'
15688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15689 (eval $ac_try) 2>&5
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); }; } &&
15693 { ac_try
='test -s conftest$ac_exeext'
15694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15695 (eval $ac_try) 2>&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); }; }; then
15699 eval "$as_ac_var=yes"
15701 echo "$as_me: failed program was:" >&5
15702 sed 's/^/| /' conftest.
$ac_ext >&5
15704 eval "$as_ac_var=no"
15706 rm -f conftest.err conftest.
$ac_objext \
15707 conftest
$ac_exeext conftest.
$ac_ext
15709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15711 if test `eval echo '${'$as_ac_var'}'` = yes; then
15712 cat >>confdefs.h
<<_ACEOF
15713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15721 for ac_func
in getuid getgid
15723 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15724 echo "$as_me:$LINENO: checking for $ac_func" >&5
15725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15726 if eval "test \"\${$as_ac_var+set}\" = set"; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15729 cat >conftest.
$ac_ext <<_ACEOF
15732 cat confdefs.h
>>conftest.
$ac_ext
15733 cat >>conftest.
$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15737 #define $ac_func innocuous_$ac_func
15739 /* System header to define __stub macros and hopefully few prototypes,
15740 which can conflict with char $ac_func (); below.
15741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15742 <limits.h> exists even on freestanding compilers. */
15745 # include <limits.h>
15747 # include <assert.h>
15752 /* Override any gcc2 internal prototype to avoid an error. */
15757 /* We use char because int might match the return type of a gcc2
15758 builtin and then its argument prototype would still apply. */
15760 /* The GNU C library defines this for functions which it implements
15761 to always fail with ENOSYS. Some functions are actually named
15762 something starting with __ and the normal name is an alias. */
15763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15766 char (*f) () = $ac_func;
15775 return f != $ac_func;
15780 rm -f conftest.
$ac_objext conftest
$ac_exeext
15781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15782 (eval $ac_link) 2>conftest.er1
15784 grep -v '^ *+' conftest.er1
>conftest.err
15786 cat conftest.err
>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); } &&
15789 { ac_try
='test -z "$ac_c_werror_flag"
15790 || test ! -s conftest.err'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; } &&
15796 { ac_try
='test -s conftest$ac_exeext'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; }; then
15802 eval "$as_ac_var=yes"
15804 echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.
$ac_ext >&5
15807 eval "$as_ac_var=no"
15809 rm -f conftest.err conftest.
$ac_objext \
15810 conftest
$ac_exeext conftest.
$ac_ext
15812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15814 if test `eval echo '${'$as_ac_var'}'` = yes; then
15815 cat >>confdefs.h
<<_ACEOF
15816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15823 for ac_func
in poll
15825 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15826 echo "$as_me:$LINENO: checking for $ac_func" >&5
15827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15828 if eval "test \"\${$as_ac_var+set}\" = set"; then
15829 echo $ECHO_N "(cached) $ECHO_C" >&6
15831 cat >conftest.
$ac_ext <<_ACEOF
15834 cat confdefs.h
>>conftest.
$ac_ext
15835 cat >>conftest.
$ac_ext <<_ACEOF
15836 /* end confdefs.h. */
15837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15839 #define $ac_func innocuous_$ac_func
15841 /* System header to define __stub macros and hopefully few prototypes,
15842 which can conflict with char $ac_func (); below.
15843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15844 <limits.h> exists even on freestanding compilers. */
15847 # include <limits.h>
15849 # include <assert.h>
15854 /* Override any gcc2 internal prototype to avoid an error. */
15859 /* We use char because int might match the return type of a gcc2
15860 builtin and then its argument prototype would still apply. */
15862 /* The GNU C library defines this for functions which it implements
15863 to always fail with ENOSYS. Some functions are actually named
15864 something starting with __ and the normal name is an alias. */
15865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15868 char (*f) () = $ac_func;
15877 return f != $ac_func;
15882 rm -f conftest.
$ac_objext conftest
$ac_exeext
15883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15884 (eval $ac_link) 2>conftest.er1
15886 grep -v '^ *+' conftest.er1
>conftest.err
15888 cat conftest.err
>&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); } &&
15891 { ac_try
='test -z "$ac_c_werror_flag"
15892 || test ! -s conftest.err'
15893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15894 (eval $ac_try) 2>&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); }; } &&
15898 { ac_try
='test -s conftest$ac_exeext'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; }; then
15904 eval "$as_ac_var=yes"
15906 echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.
$ac_ext >&5
15909 eval "$as_ac_var=no"
15911 rm -f conftest.err conftest.
$ac_objext \
15912 conftest
$ac_exeext conftest.
$ac_ext
15914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15916 if test `eval echo '${'$as_ac_var'}'` = yes; then
15917 cat >>confdefs.h
<<_ACEOF
15918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15925 for ac_func
in pread64
15927 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15928 echo "$as_me:$LINENO: checking for $ac_func" >&5
15929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15930 if eval "test \"\${$as_ac_var+set}\" = set"; then
15931 echo $ECHO_N "(cached) $ECHO_C" >&6
15933 cat >conftest.
$ac_ext <<_ACEOF
15936 cat confdefs.h
>>conftest.
$ac_ext
15937 cat >>conftest.
$ac_ext <<_ACEOF
15938 /* end confdefs.h. */
15939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15941 #define $ac_func innocuous_$ac_func
15943 /* System header to define __stub macros and hopefully few prototypes,
15944 which can conflict with char $ac_func (); below.
15945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15946 <limits.h> exists even on freestanding compilers. */
15949 # include <limits.h>
15951 # include <assert.h>
15956 /* Override any gcc2 internal prototype to avoid an error. */
15961 /* We use char because int might match the return type of a gcc2
15962 builtin and then its argument prototype would still apply. */
15964 /* The GNU C library defines this for functions which it implements
15965 to always fail with ENOSYS. Some functions are actually named
15966 something starting with __ and the normal name is an alias. */
15967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15970 char (*f) () = $ac_func;
15979 return f != $ac_func;
15984 rm -f conftest.
$ac_objext conftest
$ac_exeext
15985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15986 (eval $ac_link) 2>conftest.er1
15988 grep -v '^ *+' conftest.er1
>conftest.err
15990 cat conftest.err
>&5
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); } &&
15993 { ac_try
='test -z "$ac_c_werror_flag"
15994 || test ! -s conftest.err'
15995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996 (eval $ac_try) 2>&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }; } &&
16000 { ac_try
='test -s conftest$ac_exeext'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; }; then
16006 eval "$as_ac_var=yes"
16008 echo "$as_me: failed program was:" >&5
16009 sed 's/^/| /' conftest.
$ac_ext >&5
16011 eval "$as_ac_var=no"
16013 rm -f conftest.err conftest.
$ac_objext \
16014 conftest
$ac_exeext conftest.
$ac_ext
16016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16018 if test `eval echo '${'$as_ac_var'}'` = yes; then
16019 cat >>confdefs.h
<<_ACEOF
16020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16027 for ac_func
in sbrk
16029 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16030 echo "$as_me:$LINENO: checking for $ac_func" >&5
16031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16032 if eval "test \"\${$as_ac_var+set}\" = set"; then
16033 echo $ECHO_N "(cached) $ECHO_C" >&6
16035 cat >conftest.
$ac_ext <<_ACEOF
16038 cat confdefs.h
>>conftest.
$ac_ext
16039 cat >>conftest.
$ac_ext <<_ACEOF
16040 /* end confdefs.h. */
16041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16043 #define $ac_func innocuous_$ac_func
16045 /* System header to define __stub macros and hopefully few prototypes,
16046 which can conflict with char $ac_func (); below.
16047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16048 <limits.h> exists even on freestanding compilers. */
16051 # include <limits.h>
16053 # include <assert.h>
16058 /* Override any gcc2 internal prototype to avoid an error. */
16063 /* We use char because int might match the return type of a gcc2
16064 builtin and then its argument prototype would still apply. */
16066 /* The GNU C library defines this for functions which it implements
16067 to always fail with ENOSYS. Some functions are actually named
16068 something starting with __ and the normal name is an alias. */
16069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16072 char (*f) () = $ac_func;
16081 return f != $ac_func;
16086 rm -f conftest.
$ac_objext conftest
$ac_exeext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16088 (eval $ac_link) 2>conftest.er1
16090 grep -v '^ *+' conftest.er1
>conftest.err
16092 cat conftest.err
>&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try
='test -z "$ac_c_werror_flag"
16096 || test ! -s conftest.err'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; } &&
16102 { ac_try
='test -s conftest$ac_exeext'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; }; then
16108 eval "$as_ac_var=yes"
16110 echo "$as_me: failed program was:" >&5
16111 sed 's/^/| /' conftest.
$ac_ext >&5
16113 eval "$as_ac_var=no"
16115 rm -f conftest.err conftest.
$ac_objext \
16116 conftest
$ac_exeext conftest.
$ac_ext
16118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16120 if test `eval echo '${'$as_ac_var'}'` = yes; then
16121 cat >>confdefs.h
<<_ACEOF
16122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16130 for ac_func
in setpgid setpgrp
16132 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16133 echo "$as_me:$LINENO: checking for $ac_func" >&5
16134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16135 if eval "test \"\${$as_ac_var+set}\" = set"; then
16136 echo $ECHO_N "(cached) $ECHO_C" >&6
16138 cat >conftest.
$ac_ext <<_ACEOF
16141 cat confdefs.h
>>conftest.
$ac_ext
16142 cat >>conftest.
$ac_ext <<_ACEOF
16143 /* end confdefs.h. */
16144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16146 #define $ac_func innocuous_$ac_func
16148 /* System header to define __stub macros and hopefully few prototypes,
16149 which can conflict with char $ac_func (); below.
16150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16151 <limits.h> exists even on freestanding compilers. */
16154 # include <limits.h>
16156 # include <assert.h>
16161 /* Override any gcc2 internal prototype to avoid an error. */
16166 /* We use char because int might match the return type of a gcc2
16167 builtin and then its argument prototype would still apply. */
16169 /* The GNU C library defines this for functions which it implements
16170 to always fail with ENOSYS. Some functions are actually named
16171 something starting with __ and the normal name is an alias. */
16172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16175 char (*f) () = $ac_func;
16184 return f != $ac_func;
16189 rm -f conftest.
$ac_objext conftest
$ac_exeext
16190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16191 (eval $ac_link) 2>conftest.er1
16193 grep -v '^ *+' conftest.er1
>conftest.err
16195 cat conftest.err
>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } &&
16198 { ac_try
='test -z "$ac_c_werror_flag"
16199 || test ! -s conftest.err'
16200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16201 (eval $ac_try) 2>&5
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); }; } &&
16205 { ac_try
='test -s conftest$ac_exeext'
16206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16207 (eval $ac_try) 2>&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); }; }; then
16211 eval "$as_ac_var=yes"
16213 echo "$as_me: failed program was:" >&5
16214 sed 's/^/| /' conftest.
$ac_ext >&5
16216 eval "$as_ac_var=no"
16218 rm -f conftest.err conftest.
$ac_objext \
16219 conftest
$ac_exeext conftest.
$ac_ext
16221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16223 if test `eval echo '${'$as_ac_var'}'` = yes; then
16224 cat >>confdefs.h
<<_ACEOF
16225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16234 for ac_func
in sigaction sigprocmask sigsetmask
16236 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16237 echo "$as_me:$LINENO: checking for $ac_func" >&5
16238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16239 if eval "test \"\${$as_ac_var+set}\" = set"; then
16240 echo $ECHO_N "(cached) $ECHO_C" >&6
16242 cat >conftest.
$ac_ext <<_ACEOF
16245 cat confdefs.h
>>conftest.
$ac_ext
16246 cat >>conftest.
$ac_ext <<_ACEOF
16247 /* end confdefs.h. */
16248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16250 #define $ac_func innocuous_$ac_func
16252 /* System header to define __stub macros and hopefully few prototypes,
16253 which can conflict with char $ac_func (); below.
16254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16255 <limits.h> exists even on freestanding compilers. */
16258 # include <limits.h>
16260 # include <assert.h>
16265 /* Override any gcc2 internal prototype to avoid an error. */
16270 /* We use char because int might match the return type of a gcc2
16271 builtin and then its argument prototype would still apply. */
16273 /* The GNU C library defines this for functions which it implements
16274 to always fail with ENOSYS. Some functions are actually named
16275 something starting with __ and the normal name is an alias. */
16276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16279 char (*f) () = $ac_func;
16288 return f != $ac_func;
16293 rm -f conftest.
$ac_objext conftest
$ac_exeext
16294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16295 (eval $ac_link) 2>conftest.er1
16297 grep -v '^ *+' conftest.er1
>conftest.err
16299 cat conftest.err
>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); } &&
16302 { ac_try
='test -z "$ac_c_werror_flag"
16303 || test ! -s conftest.err'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; } &&
16309 { ac_try
='test -s conftest$ac_exeext'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; }; then
16315 eval "$as_ac_var=yes"
16317 echo "$as_me: failed program was:" >&5
16318 sed 's/^/| /' conftest.
$ac_ext >&5
16320 eval "$as_ac_var=no"
16322 rm -f conftest.err conftest.
$ac_objext \
16323 conftest
$ac_exeext conftest.
$ac_ext
16325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16327 if test `eval echo '${'$as_ac_var'}'` = yes; then
16328 cat >>confdefs.h
<<_ACEOF
16329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16336 for ac_func
in socketpair
16338 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16339 echo "$as_me:$LINENO: checking for $ac_func" >&5
16340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16341 if eval "test \"\${$as_ac_var+set}\" = set"; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 cat >conftest.
$ac_ext <<_ACEOF
16347 cat confdefs.h
>>conftest.
$ac_ext
16348 cat >>conftest.
$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16352 #define $ac_func innocuous_$ac_func
16354 /* System header to define __stub macros and hopefully few prototypes,
16355 which can conflict with char $ac_func (); below.
16356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16357 <limits.h> exists even on freestanding compilers. */
16360 # include <limits.h>
16362 # include <assert.h>
16367 /* Override any gcc2 internal prototype to avoid an error. */
16372 /* We use char because int might match the return type of a gcc2
16373 builtin and then its argument prototype would still apply. */
16375 /* The GNU C library defines this for functions which it implements
16376 to always fail with ENOSYS. Some functions are actually named
16377 something starting with __ and the normal name is an alias. */
16378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16381 char (*f) () = $ac_func;
16390 return f != $ac_func;
16395 rm -f conftest.
$ac_objext conftest
$ac_exeext
16396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16397 (eval $ac_link) 2>conftest.er1
16399 grep -v '^ *+' conftest.er1
>conftest.err
16401 cat conftest.err
>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); } &&
16404 { ac_try
='test -z "$ac_c_werror_flag"
16405 || test ! -s conftest.err'
16406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407 (eval $ac_try) 2>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; } &&
16411 { ac_try
='test -s conftest$ac_exeext'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; }; then
16417 eval "$as_ac_var=yes"
16419 echo "$as_me: failed program was:" >&5
16420 sed 's/^/| /' conftest.
$ac_ext >&5
16422 eval "$as_ac_var=no"
16424 rm -f conftest.err conftest.
$ac_objext \
16425 conftest
$ac_exeext conftest.
$ac_ext
16427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16429 if test `eval echo '${'$as_ac_var'}'` = yes; then
16430 cat >>confdefs.h
<<_ACEOF
16431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16438 for ac_func
in syscall
16440 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16441 echo "$as_me:$LINENO: checking for $ac_func" >&5
16442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16443 if eval "test \"\${$as_ac_var+set}\" = set"; then
16444 echo $ECHO_N "(cached) $ECHO_C" >&6
16446 cat >conftest.
$ac_ext <<_ACEOF
16449 cat confdefs.h
>>conftest.
$ac_ext
16450 cat >>conftest.
$ac_ext <<_ACEOF
16451 /* end confdefs.h. */
16452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16454 #define $ac_func innocuous_$ac_func
16456 /* System header to define __stub macros and hopefully few prototypes,
16457 which can conflict with char $ac_func (); below.
16458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16459 <limits.h> exists even on freestanding compilers. */
16462 # include <limits.h>
16464 # include <assert.h>
16469 /* Override any gcc2 internal prototype to avoid an error. */
16474 /* We use char because int might match the return type of a gcc2
16475 builtin and then its argument prototype would still apply. */
16477 /* The GNU C library defines this for functions which it implements
16478 to always fail with ENOSYS. Some functions are actually named
16479 something starting with __ and the normal name is an alias. */
16480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16483 char (*f) () = $ac_func;
16492 return f != $ac_func;
16497 rm -f conftest.
$ac_objext conftest
$ac_exeext
16498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16499 (eval $ac_link) 2>conftest.er1
16501 grep -v '^ *+' conftest.er1
>conftest.err
16503 cat conftest.err
>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); } &&
16506 { ac_try
='test -z "$ac_c_werror_flag"
16507 || test ! -s conftest.err'
16508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509 (eval $ac_try) 2>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); }; } &&
16513 { ac_try
='test -s conftest$ac_exeext'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; }; then
16519 eval "$as_ac_var=yes"
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.
$ac_ext >&5
16524 eval "$as_ac_var=no"
16526 rm -f conftest.err conftest.
$ac_objext \
16527 conftest
$ac_exeext conftest.
$ac_ext
16529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16531 if test `eval echo '${'$as_ac_var'}'` = yes; then
16532 cat >>confdefs.h
<<_ACEOF
16533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16540 for ac_func
in ttrace
16542 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16543 echo "$as_me:$LINENO: checking for $ac_func" >&5
16544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16545 if eval "test \"\${$as_ac_var+set}\" = set"; then
16546 echo $ECHO_N "(cached) $ECHO_C" >&6
16548 cat >conftest.
$ac_ext <<_ACEOF
16551 cat confdefs.h
>>conftest.
$ac_ext
16552 cat >>conftest.
$ac_ext <<_ACEOF
16553 /* end confdefs.h. */
16554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16556 #define $ac_func innocuous_$ac_func
16558 /* System header to define __stub macros and hopefully few prototypes,
16559 which can conflict with char $ac_func (); below.
16560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16561 <limits.h> exists even on freestanding compilers. */
16564 # include <limits.h>
16566 # include <assert.h>
16571 /* Override any gcc2 internal prototype to avoid an error. */
16576 /* We use char because int might match the return type of a gcc2
16577 builtin and then its argument prototype would still apply. */
16579 /* The GNU C library defines this for functions which it implements
16580 to always fail with ENOSYS. Some functions are actually named
16581 something starting with __ and the normal name is an alias. */
16582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16585 char (*f) () = $ac_func;
16594 return f != $ac_func;
16599 rm -f conftest.
$ac_objext conftest
$ac_exeext
16600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16601 (eval $ac_link) 2>conftest.er1
16603 grep -v '^ *+' conftest.er1
>conftest.err
16605 cat conftest.err
>&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); } &&
16608 { ac_try
='test -z "$ac_c_werror_flag"
16609 || test ! -s conftest.err'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; } &&
16615 { ac_try
='test -s conftest$ac_exeext'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; }; then
16621 eval "$as_ac_var=yes"
16623 echo "$as_me: failed program was:" >&5
16624 sed 's/^/| /' conftest.
$ac_ext >&5
16626 eval "$as_ac_var=no"
16628 rm -f conftest.err conftest.
$ac_objext \
16629 conftest
$ac_exeext conftest.
$ac_ext
16631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16633 if test `eval echo '${'$as_ac_var'}'` = yes; then
16634 cat >>confdefs.h
<<_ACEOF
16635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16642 for ac_func
in wborder
16644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16645 echo "$as_me:$LINENO: checking for $ac_func" >&5
16646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16647 if eval "test \"\${$as_ac_var+set}\" = set"; then
16648 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 cat >conftest.
$ac_ext <<_ACEOF
16653 cat confdefs.h
>>conftest.
$ac_ext
16654 cat >>conftest.
$ac_ext <<_ACEOF
16655 /* end confdefs.h. */
16656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16658 #define $ac_func innocuous_$ac_func
16660 /* System header to define __stub macros and hopefully few prototypes,
16661 which can conflict with char $ac_func (); below.
16662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16663 <limits.h> exists even on freestanding compilers. */
16666 # include <limits.h>
16668 # include <assert.h>
16673 /* Override any gcc2 internal prototype to avoid an error. */
16678 /* We use char because int might match the return type of a gcc2
16679 builtin and then its argument prototype would still apply. */
16681 /* The GNU C library defines this for functions which it implements
16682 to always fail with ENOSYS. Some functions are actually named
16683 something starting with __ and the normal name is an alias. */
16684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16687 char (*f) () = $ac_func;
16696 return f != $ac_func;
16701 rm -f conftest.
$ac_objext conftest
$ac_exeext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16703 (eval $ac_link) 2>conftest.er1
16705 grep -v '^ *+' conftest.er1
>conftest.err
16707 cat conftest.err
>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try
='test -z "$ac_c_werror_flag"
16711 || test ! -s conftest.err'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; } &&
16717 { ac_try
='test -s conftest$ac_exeext'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16723 eval "$as_ac_var=yes"
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.
$ac_ext >&5
16728 eval "$as_ac_var=no"
16730 rm -f conftest.err conftest.
$ac_objext \
16731 conftest
$ac_exeext conftest.
$ac_ext
16733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16735 if test `eval echo '${'$as_ac_var'}'` = yes; then
16736 cat >>confdefs.h
<<_ACEOF
16737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16744 # Check the return and argument types of ptrace. No canned test for
16745 # this, so roll our own.
16746 gdb_ptrace_headers
='
16747 #if HAVE_SYS_TYPES_H
16748 # include <sys/types.h>
16750 #if HAVE_SYS_PTRACE_H
16751 # include <sys/ptrace.h>
16754 # include <unistd.h>
16757 # There is no point in checking if we don't have a prototype.
16758 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
16759 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
16760 if test "${ac_cv_have_decl_ptrace+set}" = set; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 cat >conftest.
$ac_ext <<_ACEOF
16766 cat confdefs.h
>>conftest.
$ac_ext
16767 cat >>conftest.
$ac_ext <<_ACEOF
16768 /* end confdefs.h. */
16769 $gdb_ptrace_headers
16775 char *p = (char *) ptrace;
16782 rm -f conftest.
$ac_objext
16783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16784 (eval $ac_compile) 2>conftest.er1
16786 grep -v '^ *+' conftest.er1
>conftest.err
16788 cat conftest.err
>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } &&
16791 { ac_try
='test -z "$ac_c_werror_flag"
16792 || test ! -s conftest.err'
16793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16794 (eval $ac_try) 2>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; } &&
16798 { ac_try
='test -s conftest.$ac_objext'
16799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16800 (eval $ac_try) 2>&5
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); }; }; then
16804 ac_cv_have_decl_ptrace
=yes
16806 echo "$as_me: failed program was:" >&5
16807 sed 's/^/| /' conftest.
$ac_ext >&5
16809 ac_cv_have_decl_ptrace
=no
16811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16813 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
16814 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
16815 if test $ac_cv_have_decl_ptrace = yes; then
16817 cat >>confdefs.h
<<_ACEOF
16818 #define HAVE_DECL_PTRACE 1
16823 cat >>confdefs.h
<<_ACEOF
16824 #define HAVE_DECL_PTRACE 0
16828 : ${gdb_cv_func_ptrace_ret='int'}
16829 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
16834 # Check return type.
16835 echo "$as_me:$LINENO: checking return type of ptrace" >&5
16836 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
16837 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 cat >conftest.
$ac_ext <<_ACEOF
16843 cat confdefs.h
>>conftest.
$ac_ext
16844 cat >>conftest.
$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 $gdb_ptrace_headers
16850 extern int ptrace ();
16855 rm -f conftest.
$ac_objext
16856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16857 (eval $ac_compile) 2>conftest.er1
16859 grep -v '^ *+' conftest.er1
>conftest.err
16861 cat conftest.err
>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); } &&
16864 { ac_try
='test -z "$ac_c_werror_flag"
16865 || test ! -s conftest.err'
16866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16867 (eval $ac_try) 2>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); }; } &&
16871 { ac_try
='test -s conftest.$ac_objext'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; }; then
16877 gdb_cv_func_ptrace_ret
='int'
16879 echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.
$ac_ext >&5
16882 gdb_cv_func_ptrace_ret
='long'
16884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16886 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
16887 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
16889 cat >>confdefs.h
<<_ACEOF
16890 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
16893 # Check argument types.
16894 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
16895 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
16896 if test "${gdb_cv_func_ptrace_args+set}" = set; then
16897 echo $ECHO_N "(cached) $ECHO_C" >&6
16900 for gdb_arg1
in 'int' 'long'; do
16901 for gdb_arg2
in 'pid_t' 'int' 'long'; do
16902 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long'; do
16903 for gdb_arg4
in 'int' 'long'; do
16904 cat >conftest.
$ac_ext <<_ACEOF
16907 cat confdefs.h
>>conftest.
$ac_ext
16908 cat >>conftest.
$ac_ext <<_ACEOF
16909 /* end confdefs.h. */
16910 $gdb_ptrace_headers
16915 extern $gdb_cv_func_ptrace_ret
16916 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
16922 rm -f conftest.
$ac_objext
16923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16924 (eval $ac_compile) 2>conftest.er1
16926 grep -v '^ *+' conftest.er1
>conftest.err
16928 cat conftest.err
>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); } &&
16931 { ac_try
='test -z "$ac_c_werror_flag"
16932 || test ! -s conftest.err'
16933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16934 (eval $ac_try) 2>&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); }; } &&
16938 { ac_try
='test -s conftest.$ac_objext'
16939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16940 (eval $ac_try) 2>&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); }; }; then
16944 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
16947 echo "$as_me: failed program was:" >&5
16948 sed 's/^/| /' conftest.
$ac_ext >&5
16951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16952 for gdb_arg5
in 'int *' 'int' 'long'; do
16953 cat >conftest.
$ac_ext <<_ACEOF
16956 cat confdefs.h
>>conftest.
$ac_ext
16957 cat >>conftest.
$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16959 $gdb_ptrace_headers
16964 extern $gdb_cv_func_ptrace_ret
16965 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
16971 rm -f conftest.
$ac_objext
16972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16973 (eval $ac_compile) 2>conftest.er1
16975 grep -v '^ *+' conftest.er1
>conftest.err
16977 cat conftest.err
>&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } &&
16980 { ac_try
='test -z "$ac_c_werror_flag"
16981 || test ! -s conftest.err'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; } &&
16987 { ac_try
='test -s conftest.$ac_objext'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; }; then
16994 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.
$ac_ext >&5
17001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17007 # Provide a safe default value.
17008 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
17011 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
17012 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
17013 ac_save_IFS
=$IFS; IFS
=','
17014 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
17018 cat >>confdefs.h
<<_ACEOF
17019 #define PTRACE_TYPE_ARG3 $3
17022 if test -n "$5"; then
17024 cat >>confdefs.h
<<_ACEOF
17025 #define PTRACE_TYPE_ARG5 $5
17030 if test "$cross_compiling" = no
; then
17031 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
17032 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
17033 if test "${ac_cv_func_setpgrp_void+set}" = set; then
17034 echo $ECHO_N "(cached) $ECHO_C" >&6
17036 if test "$cross_compiling" = yes; then
17037 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
17038 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
17039 { (exit 1); exit 1; }; }
17041 cat >conftest.
$ac_ext <<_ACEOF
17044 cat confdefs.h
>>conftest.
$ac_ext
17045 cat >>conftest.
$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17048 # include <unistd.h>
17054 /* If this system has a BSD-style setpgrp which takes arguments,
17055 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
17056 exit successfully. */
17057 exit (setpgrp (1,1) == -1 ? 0 : 1);
17062 rm -f conftest
$ac_exeext
17063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17064 (eval $ac_link) 2>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17069 (eval $ac_try) 2>&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); }; }; then
17073 ac_cv_func_setpgrp_void
=no
17075 echo "$as_me: program exited with status $ac_status" >&5
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.
$ac_ext >&5
17079 ( exit $ac_status )
17080 ac_cv_func_setpgrp_void
=yes
17082 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17085 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
17086 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
17087 if test $ac_cv_func_setpgrp_void = yes; then
17089 cat >>confdefs.h
<<\_ACEOF
17090 #define SETPGRP_VOID 1
17096 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
17097 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
17098 if test "${ac_cv_func_setpgrp_void+set}" = set; then
17099 echo $ECHO_N "(cached) $ECHO_C" >&6
17101 cat >conftest.
$ac_ext <<_ACEOF
17104 cat confdefs.h
>>conftest.
$ac_ext
17105 cat >>conftest.
$ac_ext <<_ACEOF
17106 /* end confdefs.h. */
17108 #include <unistd.h>
17114 if (setpgrp(1,1) == -1)
17123 rm -f conftest.
$ac_objext
17124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17125 (eval $ac_compile) 2>conftest.er1
17127 grep -v '^ *+' conftest.er1
>conftest.err
17129 cat conftest.err
>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } &&
17132 { ac_try
='test -z "$ac_c_werror_flag"
17133 || test ! -s conftest.err'
17134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17135 (eval $ac_try) 2>&5
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); }; } &&
17139 { ac_try
='test -s conftest.$ac_objext'
17140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17141 (eval $ac_try) 2>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); }; }; then
17145 ac_cv_func_setpgrp_void
=no
17147 echo "$as_me: failed program was:" >&5
17148 sed 's/^/| /' conftest.
$ac_ext >&5
17150 ac_cv_func_setpgrp_void
=yes
17152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17154 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
17155 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
17156 if test $ac_cv_func_setpgrp_void = yes; then
17157 cat >>confdefs.h
<<\_ACEOF
17158 #define SETPGRP_VOID 1
17164 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
17165 # since sigsetjmp might only be defined as a macro.
17166 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
17167 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
17168 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
17169 echo $ECHO_N "(cached) $ECHO_C" >&6
17171 cat >conftest.
$ac_ext <<_ACEOF
17174 cat confdefs.h
>>conftest.
$ac_ext
17175 cat >>conftest.
$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17178 #include <setjmp.h>
17183 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
17188 rm -f conftest.
$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190 (eval $ac_compile) 2>conftest.er1
17192 grep -v '^ *+' conftest.er1
>conftest.err
17194 cat conftest.err
>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } &&
17197 { ac_try
='test -z "$ac_c_werror_flag"
17198 || test ! -s conftest.err'
17199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17200 (eval $ac_try) 2>&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); }; } &&
17204 { ac_try
='test -s conftest.$ac_objext'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; }; then
17210 gdb_cv_func_sigsetjmp
=yes
17212 echo "$as_me: failed program was:" >&5
17213 sed 's/^/| /' conftest.
$ac_ext >&5
17215 gdb_cv_func_sigsetjmp
=no
17217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17219 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
17220 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
17221 if test $gdb_cv_func_sigsetjmp = yes; then
17223 cat >>confdefs.h
<<\_ACEOF
17224 #define HAVE_SIGSETJMP 1
17229 # Assume we'll default to using the included libiberty regex.
17230 gdb_use_included_regex
=yes
17232 # However, if the system regex is GNU regex, then default to *not*
17233 # using the included regex.
17234 echo "$as_me:$LINENO: checking for GNU regex" >&5
17235 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
17236 if test "${gdb_cv_have_gnu_regex+set}" = set; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 cat >conftest.
$ac_ext <<_ACEOF
17242 cat confdefs.h
>>conftest.
$ac_ext
17243 cat >>conftest.
$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17245 #include <gnu-versions.h>
17249 #define REGEX_INTERFACE_VERSION 1
17250 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
17251 # error "Version mismatch"
17257 rm -f conftest.
$ac_objext
17258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17259 (eval $ac_compile) 2>conftest.er1
17261 grep -v '^ *+' conftest.er1
>conftest.err
17263 cat conftest.err
>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); } &&
17266 { ac_try
='test -z "$ac_c_werror_flag"
17267 || test ! -s conftest.err'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; } &&
17273 { ac_try
='test -s conftest.$ac_objext'
17274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17275 (eval $ac_try) 2>&5
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); }; }; then
17279 gdb_cv_have_gnu_regex
=yes
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.
$ac_ext >&5
17284 gdb_cv_have_gnu_regex
=no
17286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17288 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
17289 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
17290 if test $gdb_cv_have_gnu_regex = yes; then
17291 gdb_use_included_regex
=no
17295 # Check whether --with-included-regex or --without-included-regex was given.
17296 if test "${with_included_regex+set}" = set; then
17297 withval
="$with_included_regex"
17298 gdb_with_regex
=$withval
17300 gdb_with_regex
=$gdb_use_included_regex
17302 if test "$gdb_with_regex" = yes; then
17304 cat >>confdefs.h
<<\_ACEOF
17305 #define USE_INCLUDED_REGEX 1
17310 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
17311 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
17312 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
17313 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
17314 echo $ECHO_N "(cached) $ECHO_C" >&6
17316 cat >conftest.
$ac_ext <<_ACEOF
17319 cat confdefs.h
>>conftest.
$ac_ext
17320 cat >>conftest.
$ac_ext <<_ACEOF
17321 /* end confdefs.h. */
17322 #include <sys/param.h>
17323 #include <sys/proc.h>
17329 static struct thread ac_aggr;
17330 if (ac_aggr.td_pcb)
17336 rm -f conftest.
$ac_objext
17337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17338 (eval $ac_compile) 2>conftest.er1
17340 grep -v '^ *+' conftest.er1
>conftest.err
17342 cat conftest.err
>&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } &&
17345 { ac_try
='test -z "$ac_c_werror_flag"
17346 || test ! -s conftest.err'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; } &&
17352 { ac_try
='test -s conftest.$ac_objext'
17353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17354 (eval $ac_try) 2>&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); }; }; then
17358 ac_cv_member_struct_thread_td_pcb
=yes
17360 echo "$as_me: failed program was:" >&5
17361 sed 's/^/| /' conftest.
$ac_ext >&5
17363 cat >conftest.
$ac_ext <<_ACEOF
17366 cat confdefs.h
>>conftest.
$ac_ext
17367 cat >>conftest.
$ac_ext <<_ACEOF
17368 /* end confdefs.h. */
17369 #include <sys/param.h>
17370 #include <sys/proc.h>
17376 static struct thread ac_aggr;
17377 if (sizeof ac_aggr.td_pcb)
17383 rm -f conftest.
$ac_objext
17384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17385 (eval $ac_compile) 2>conftest.er1
17387 grep -v '^ *+' conftest.er1
>conftest.err
17389 cat conftest.err
>&5
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); } &&
17392 { ac_try
='test -z "$ac_c_werror_flag"
17393 || test ! -s conftest.err'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; } &&
17399 { ac_try
='test -s conftest.$ac_objext'
17400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17401 (eval $ac_try) 2>&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); }; }; then
17405 ac_cv_member_struct_thread_td_pcb
=yes
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.
$ac_ext >&5
17410 ac_cv_member_struct_thread_td_pcb
=no
17412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17416 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
17417 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
17418 if test $ac_cv_member_struct_thread_td_pcb = yes; then
17420 cat >>confdefs.h
<<_ACEOF
17421 #define HAVE_STRUCT_THREAD_TD_PCB 1
17428 # See if <sys/lwp.h> defines `struct lwp`.
17429 echo "$as_me:$LINENO: checking for struct lwp" >&5
17430 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
17431 if test "${gdb_cv_struct_lwp+set}" = set; then
17432 echo $ECHO_N "(cached) $ECHO_C" >&6
17434 cat >conftest.
$ac_ext <<_ACEOF
17437 cat confdefs.h
>>conftest.
$ac_ext
17438 cat >>conftest.
$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17440 #include <sys/param.h>
17441 #include <sys/lwp.h>
17450 rm -f conftest.
$ac_objext
17451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17452 (eval $ac_compile) 2>conftest.er1
17454 grep -v '^ *+' conftest.er1
>conftest.err
17456 cat conftest.err
>&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } &&
17459 { ac_try
='test -z "$ac_c_werror_flag"
17460 || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try
='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17472 gdb_cv_struct_lwp
=yes
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.
$ac_ext >&5
17477 gdb_cv_struct_lwp
=no
17479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17481 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
17482 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
17483 if test $gdb_cv_struct_lwp = yes; then
17485 cat >>confdefs.h
<<\_ACEOF
17486 #define HAVE_STRUCT_LWP 1
17491 # See if <machine/reg.h> degines `struct reg'.
17492 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
17493 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
17494 if test "${gdb_cv_struct_reg+set}" = set; then
17495 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 cat >conftest.
$ac_ext <<_ACEOF
17500 cat confdefs.h
>>conftest.
$ac_ext
17501 cat >>conftest.
$ac_ext <<_ACEOF
17502 /* end confdefs.h. */
17503 #include <sys/types.h>
17504 #include <machine/reg.h>
17513 rm -f conftest.
$ac_objext
17514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17515 (eval $ac_compile) 2>conftest.er1
17517 grep -v '^ *+' conftest.er1
>conftest.err
17519 cat conftest.err
>&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); } &&
17522 { ac_try
='test -z "$ac_c_werror_flag"
17523 || test ! -s conftest.err'
17524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17525 (eval $ac_try) 2>&5
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); }; } &&
17529 { ac_try
='test -s conftest.$ac_objext'
17530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531 (eval $ac_try) 2>&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 gdb_cv_struct_reg
=yes
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.
$ac_ext >&5
17540 gdb_cv_struct_reg
=no
17542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17544 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
17545 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
17546 if test $gdb_cv_struct_reg = yes; then
17548 cat >>confdefs.h
<<\_ACEOF
17549 #define HAVE_STRUCT_REG 1
17554 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
17555 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
17556 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
17557 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
17558 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
17559 echo $ECHO_N "(cached) $ECHO_C" >&6
17561 cat >conftest.
$ac_ext <<_ACEOF
17564 cat confdefs.h
>>conftest.
$ac_ext
17565 cat >>conftest.
$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17567 #include <machine/reg.h>
17572 static struct reg ac_aggr;
17579 rm -f conftest.
$ac_objext
17580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17581 (eval $ac_compile) 2>conftest.er1
17583 grep -v '^ *+' conftest.er1
>conftest.err
17585 cat conftest.err
>&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); } &&
17588 { ac_try
='test -z "$ac_c_werror_flag"
17589 || test ! -s conftest.err'
17590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17591 (eval $ac_try) 2>&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); }; } &&
17595 { ac_try
='test -s conftest.$ac_objext'
17596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597 (eval $ac_try) 2>&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); }; }; then
17601 ac_cv_member_struct_reg_r_fs
=yes
17603 echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.
$ac_ext >&5
17606 cat >conftest.
$ac_ext <<_ACEOF
17609 cat confdefs.h
>>conftest.
$ac_ext
17610 cat >>conftest.
$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17612 #include <machine/reg.h>
17617 static struct reg ac_aggr;
17618 if (sizeof ac_aggr.r_fs)
17624 rm -f conftest.
$ac_objext
17625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17626 (eval $ac_compile) 2>conftest.er1
17628 grep -v '^ *+' conftest.er1
>conftest.err
17630 cat conftest.err
>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } &&
17633 { ac_try
='test -z "$ac_c_werror_flag"
17634 || test ! -s conftest.err'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; } &&
17640 { ac_try
='test -s conftest.$ac_objext'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; }; then
17646 ac_cv_member_struct_reg_r_fs
=yes
17648 echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.
$ac_ext >&5
17651 ac_cv_member_struct_reg_r_fs
=no
17653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17657 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
17658 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
17659 if test $ac_cv_member_struct_reg_r_fs = yes; then
17661 cat >>confdefs.h
<<_ACEOF
17662 #define HAVE_STRUCT_REG_R_FS 1
17667 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
17668 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
17669 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 cat >conftest.
$ac_ext <<_ACEOF
17675 cat confdefs.h
>>conftest.
$ac_ext
17676 cat >>conftest.
$ac_ext <<_ACEOF
17677 /* end confdefs.h. */
17678 #include <machine/reg.h>
17683 static struct reg ac_aggr;
17690 rm -f conftest.
$ac_objext
17691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17692 (eval $ac_compile) 2>conftest.er1
17694 grep -v '^ *+' conftest.er1
>conftest.err
17696 cat conftest.err
>&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } &&
17699 { ac_try
='test -z "$ac_c_werror_flag"
17700 || test ! -s conftest.err'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; } &&
17706 { ac_try
='test -s conftest.$ac_objext'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; }; then
17712 ac_cv_member_struct_reg_r_gs
=yes
17714 echo "$as_me: failed program was:" >&5
17715 sed 's/^/| /' conftest.
$ac_ext >&5
17717 cat >conftest.
$ac_ext <<_ACEOF
17720 cat confdefs.h
>>conftest.
$ac_ext
17721 cat >>conftest.
$ac_ext <<_ACEOF
17722 /* end confdefs.h. */
17723 #include <machine/reg.h>
17728 static struct reg ac_aggr;
17729 if (sizeof ac_aggr.r_gs)
17735 rm -f conftest.
$ac_objext
17736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17737 (eval $ac_compile) 2>conftest.er1
17739 grep -v '^ *+' conftest.er1
>conftest.err
17741 cat conftest.err
>&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); } &&
17744 { ac_try
='test -z "$ac_c_werror_flag"
17745 || test ! -s conftest.err'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; } &&
17751 { ac_try
='test -s conftest.$ac_objext'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 ac_cv_member_struct_reg_r_gs
=yes
17759 echo "$as_me: failed program was:" >&5
17760 sed 's/^/| /' conftest.
$ac_ext >&5
17762 ac_cv_member_struct_reg_r_gs
=no
17764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17768 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
17769 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
17770 if test $ac_cv_member_struct_reg_r_gs = yes; then
17772 cat >>confdefs.h
<<_ACEOF
17773 #define HAVE_STRUCT_REG_R_GS 1
17780 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
17781 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
17782 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
17783 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
17784 echo $ECHO_N "(cached) $ECHO_C" >&6
17786 cat >conftest.
$ac_ext <<_ACEOF
17789 cat confdefs.h
>>conftest.
$ac_ext
17790 cat >>conftest.
$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 #include <sys/ptrace.h>
17801 rm -f conftest.
$ac_objext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>conftest.er1
17805 grep -v '^ *+' conftest.er1
>conftest.err
17807 cat conftest.err
>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } &&
17810 { ac_try
='test -z "$ac_c_werror_flag"
17811 || test ! -s conftest.err'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; } &&
17817 { ac_try
='test -s conftest.$ac_objext'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; }; then
17823 gdb_cv_have_ptrace_getregs
=yes
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.
$ac_ext >&5
17828 gdb_cv_have_ptrace_getregs
=no
17830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17833 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
17834 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
17835 if test $gdb_cv_have_ptrace_getregs = yes; then
17837 cat >>confdefs.h
<<\_ACEOF
17838 #define HAVE_PTRACE_GETREGS 1
17843 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
17844 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
17845 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
17846 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
17847 echo $ECHO_N "(cached) $ECHO_C" >&6
17849 cat >conftest.
$ac_ext <<_ACEOF
17852 cat confdefs.h
>>conftest.
$ac_ext
17853 cat >>conftest.
$ac_ext <<_ACEOF
17854 /* end confdefs.h. */
17855 #include <sys/ptrace.h>
17864 rm -f conftest.
$ac_objext
17865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17866 (eval $ac_compile) 2>conftest.er1
17868 grep -v '^ *+' conftest.er1
>conftest.err
17870 cat conftest.err
>&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); } &&
17873 { ac_try
='test -z "$ac_c_werror_flag"
17874 || test ! -s conftest.err'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; } &&
17880 { ac_try
='test -s conftest.$ac_objext'
17881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882 (eval $ac_try) 2>&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); }; }; then
17886 gdb_cv_have_ptrace_getfpxregs
=yes
17888 echo "$as_me: failed program was:" >&5
17889 sed 's/^/| /' conftest.
$ac_ext >&5
17891 gdb_cv_have_ptrace_getfpxregs
=no
17893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17896 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
17897 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
17898 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
17900 cat >>confdefs.h
<<\_ACEOF
17901 #define HAVE_PTRACE_GETFPXREGS 1
17906 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
17907 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
17908 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
17909 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
17910 echo $ECHO_N "(cached) $ECHO_C" >&6
17912 cat >conftest.
$ac_ext <<_ACEOF
17915 cat confdefs.h
>>conftest.
$ac_ext
17916 cat >>conftest.
$ac_ext <<_ACEOF
17917 /* end confdefs.h. */
17918 #include <sys/types.h>
17919 #include <sys/ptrace.h>
17928 rm -f conftest.
$ac_objext
17929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17930 (eval $ac_compile) 2>conftest.er1
17932 grep -v '^ *+' conftest.er1
>conftest.err
17934 cat conftest.err
>&5
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); } &&
17937 { ac_try
='test -z "$ac_c_werror_flag"
17938 || test ! -s conftest.err'
17939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17940 (eval $ac_try) 2>&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); }; } &&
17944 { ac_try
='test -s conftest.$ac_objext'
17945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17946 (eval $ac_try) 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; }; then
17950 gdb_cv_have_pt_getdbregs
=yes
17952 echo "$as_me: failed program was:" >&5
17953 sed 's/^/| /' conftest.
$ac_ext >&5
17955 gdb_cv_have_pt_getdbregs
=no
17957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17960 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
17961 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
17962 if test $gdb_cv_have_pt_getdbregs = yes; then
17964 cat >>confdefs.h
<<\_ACEOF
17965 #define HAVE_PT_GETDBREGS 1
17970 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
17971 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
17972 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
17973 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17976 cat >conftest.
$ac_ext <<_ACEOF
17979 cat confdefs.h
>>conftest.
$ac_ext
17980 cat >>conftest.
$ac_ext <<_ACEOF
17981 /* end confdefs.h. */
17982 #include <sys/types.h>
17983 #include <sys/ptrace.h>
17992 rm -f conftest.
$ac_objext
17993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17994 (eval $ac_compile) 2>conftest.er1
17996 grep -v '^ *+' conftest.er1
>conftest.err
17998 cat conftest.err
>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } &&
18001 { ac_try
='test -z "$ac_c_werror_flag"
18002 || test ! -s conftest.err'
18003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004 (eval $ac_try) 2>&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; } &&
18008 { ac_try
='test -s conftest.$ac_objext'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; }; then
18014 gdb_cv_have_pt_getxmmregs
=yes
18016 echo "$as_me: failed program was:" >&5
18017 sed 's/^/| /' conftest.
$ac_ext >&5
18019 gdb_cv_have_pt_getxmmregs
=no
18021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18024 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
18025 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
18026 if test $gdb_cv_have_pt_getxmmregs = yes; then
18028 cat >>confdefs.h
<<\_ACEOF
18029 #define HAVE_PT_GETXMMREGS 1
18034 # If we are configured native on GNU/Linux, work around problems with
18036 # Also detect which type of /proc is in use, such as for Unixware or Solaris.
18038 if test "${target}" = "${host}"; then
18040 i
[3456]86-*-linux*)
18042 cat >>confdefs.h
<<\_ACEOF
18043 #define START_INFERIOR_TRAPS_EXPECTED 2
18047 cat >>confdefs.h
<<\_ACEOF
18048 #define sys_quotactl 1
18052 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
18054 cat >>confdefs.h
<<\_ACEOF
18055 #define NEW_PROC_API 1
18059 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9])
18061 cat >>confdefs.h
<<\_ACEOF
18062 #define NEW_PROC_API 1
18067 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
18069 cat >>confdefs.h
<<\_ACEOF
18070 #define _KMEMUSER 1
18077 if test "$ac_cv_header_sys_procfs_h" = yes; then
18078 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
18079 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
18080 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
18081 echo $ECHO_N "(cached) $ECHO_C" >&6
18083 cat >conftest.
$ac_ext <<_ACEOF
18086 cat confdefs.h
>>conftest.
$ac_ext
18087 cat >>conftest.
$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18091 #include <sys/procfs.h>
18100 rm -f conftest.
$ac_objext
18101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18102 (eval $ac_compile) 2>conftest.er1
18104 grep -v '^ *+' conftest.er1
>conftest.err
18106 cat conftest.err
>&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } &&
18109 { ac_try
='test -z "$ac_c_werror_flag"
18110 || test ! -s conftest.err'
18111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18112 (eval $ac_try) 2>&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); }; } &&
18116 { ac_try
='test -s conftest.$ac_objext'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; }; then
18122 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
18124 echo "$as_me: failed program was:" >&5
18125 sed 's/^/| /' conftest.
$ac_ext >&5
18127 bfd_cv_have_sys_procfs_type_pstatus_t
=no
18130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18133 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
18135 cat >>confdefs.h
<<\_ACEOF
18136 #define HAVE_PSTATUS_T 1
18140 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
18141 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
18143 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
18144 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
18145 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
18146 echo $ECHO_N "(cached) $ECHO_C" >&6
18148 cat >conftest.
$ac_ext <<_ACEOF
18151 cat confdefs.h
>>conftest.
$ac_ext
18152 cat >>conftest.
$ac_ext <<_ACEOF
18153 /* end confdefs.h. */
18156 #include <sys/procfs.h>
18165 rm -f conftest.
$ac_objext
18166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18167 (eval $ac_compile) 2>conftest.er1
18169 grep -v '^ *+' conftest.er1
>conftest.err
18171 cat conftest.err
>&5
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); } &&
18174 { ac_try
='test -z "$ac_c_werror_flag"
18175 || test ! -s conftest.err'
18176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18177 (eval $ac_try) 2>&5
18179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180 (exit $ac_status); }; } &&
18181 { ac_try
='test -s conftest.$ac_objext'
18182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18183 (eval $ac_try) 2>&5
18185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186 (exit $ac_status); }; }; then
18187 bfd_cv_have_sys_procfs_type_prrun_t
=yes
18189 echo "$as_me: failed program was:" >&5
18190 sed 's/^/| /' conftest.
$ac_ext >&5
18192 bfd_cv_have_sys_procfs_type_prrun_t
=no
18195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18198 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
18200 cat >>confdefs.h
<<\_ACEOF
18201 #define HAVE_PRRUN_T 1
18205 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
18206 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
18208 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
18209 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
18210 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18213 cat >conftest.
$ac_ext <<_ACEOF
18216 cat confdefs.h
>>conftest.
$ac_ext
18217 cat >>conftest.
$ac_ext <<_ACEOF
18218 /* end confdefs.h. */
18221 #include <sys/procfs.h>
18230 rm -f conftest.
$ac_objext
18231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18232 (eval $ac_compile) 2>conftest.er1
18234 grep -v '^ *+' conftest.er1
>conftest.err
18236 cat conftest.err
>&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } &&
18239 { ac_try
='test -z "$ac_c_werror_flag"
18240 || test ! -s conftest.err'
18241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18242 (eval $ac_try) 2>&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); }; } &&
18246 { ac_try
='test -s conftest.$ac_objext'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; }; then
18252 bfd_cv_have_sys_procfs_type_gregset_t
=yes
18254 echo "$as_me: failed program was:" >&5
18255 sed 's/^/| /' conftest.
$ac_ext >&5
18257 bfd_cv_have_sys_procfs_type_gregset_t
=no
18260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18263 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
18265 cat >>confdefs.h
<<\_ACEOF
18266 #define HAVE_GREGSET_T 1
18270 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
18271 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
18273 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
18274 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
18275 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
18276 echo $ECHO_N "(cached) $ECHO_C" >&6
18278 cat >conftest.
$ac_ext <<_ACEOF
18281 cat confdefs.h
>>conftest.
$ac_ext
18282 cat >>conftest.
$ac_ext <<_ACEOF
18283 /* end confdefs.h. */
18286 #include <sys/procfs.h>
18295 rm -f conftest.
$ac_objext
18296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18297 (eval $ac_compile) 2>conftest.er1
18299 grep -v '^ *+' conftest.er1
>conftest.err
18301 cat conftest.err
>&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); } &&
18304 { ac_try
='test -z "$ac_c_werror_flag"
18305 || test ! -s conftest.err'
18306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18307 (eval $ac_try) 2>&5
18309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310 (exit $ac_status); }; } &&
18311 { ac_try
='test -s conftest.$ac_objext'
18312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18313 (eval $ac_try) 2>&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); }; }; then
18317 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
18319 echo "$as_me: failed program was:" >&5
18320 sed 's/^/| /' conftest.
$ac_ext >&5
18322 bfd_cv_have_sys_procfs_type_fpregset_t
=no
18325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18328 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
18330 cat >>confdefs.h
<<\_ACEOF
18331 #define HAVE_FPREGSET_T 1
18335 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
18336 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
18338 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
18339 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
18340 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6
18343 cat >conftest.
$ac_ext <<_ACEOF
18346 cat confdefs.h
>>conftest.
$ac_ext
18347 cat >>conftest.
$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18351 #include <sys/procfs.h>
18360 rm -f conftest.
$ac_objext
18361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18362 (eval $ac_compile) 2>conftest.er1
18364 grep -v '^ *+' conftest.er1
>conftest.err
18366 cat conftest.err
>&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } &&
18369 { ac_try
='test -z "$ac_c_werror_flag"
18370 || test ! -s conftest.err'
18371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18372 (eval $ac_try) 2>&5
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); }; } &&
18376 { ac_try
='test -s conftest.$ac_objext'
18377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18378 (eval $ac_try) 2>&5
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); }; }; then
18382 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
18384 echo "$as_me: failed program was:" >&5
18385 sed 's/^/| /' conftest.
$ac_ext >&5
18387 bfd_cv_have_sys_procfs_type_prgregset_t
=no
18390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18393 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
18395 cat >>confdefs.h
<<\_ACEOF
18396 #define HAVE_PRGREGSET_T 1
18400 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
18401 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
18403 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
18404 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
18405 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
18406 echo $ECHO_N "(cached) $ECHO_C" >&6
18408 cat >conftest.
$ac_ext <<_ACEOF
18411 cat confdefs.h
>>conftest.
$ac_ext
18412 cat >>conftest.
$ac_ext <<_ACEOF
18413 /* end confdefs.h. */
18416 #include <sys/procfs.h>
18425 rm -f conftest.
$ac_objext
18426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18427 (eval $ac_compile) 2>conftest.er1
18429 grep -v '^ *+' conftest.er1
>conftest.err
18431 cat conftest.err
>&5
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); } &&
18434 { ac_try
='test -z "$ac_c_werror_flag"
18435 || test ! -s conftest.err'
18436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 (eval $ac_try) 2>&5
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; } &&
18441 { ac_try
='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18447 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.
$ac_ext >&5
18452 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
18455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18458 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
18460 cat >>confdefs.h
<<\_ACEOF
18461 #define HAVE_PRFPREGSET_T 1
18465 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
18466 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
18468 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
18469 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
18470 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
18471 echo $ECHO_N "(cached) $ECHO_C" >&6
18473 cat >conftest.
$ac_ext <<_ACEOF
18476 cat confdefs.h
>>conftest.
$ac_ext
18477 cat >>conftest.
$ac_ext <<_ACEOF
18478 /* end confdefs.h. */
18481 #include <sys/procfs.h>
18490 rm -f conftest.
$ac_objext
18491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18492 (eval $ac_compile) 2>conftest.er1
18494 grep -v '^ *+' conftest.er1
>conftest.err
18496 cat conftest.err
>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } &&
18499 { ac_try
='test -z "$ac_c_werror_flag"
18500 || test ! -s conftest.err'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; } &&
18506 { ac_try
='test -s conftest.$ac_objext'
18507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18508 (eval $ac_try) 2>&5
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); }; }; then
18512 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
18514 echo "$as_me: failed program was:" >&5
18515 sed 's/^/| /' conftest.
$ac_ext >&5
18517 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
18520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18523 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
18525 cat >>confdefs.h
<<\_ACEOF
18526 #define HAVE_PRGREGSET32_T 1
18530 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
18531 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
18533 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
18534 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
18535 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18538 cat >conftest.
$ac_ext <<_ACEOF
18541 cat confdefs.h
>>conftest.
$ac_ext
18542 cat >>conftest.
$ac_ext <<_ACEOF
18543 /* end confdefs.h. */
18546 #include <sys/procfs.h>
18550 prfpregset32_t avar
18555 rm -f conftest.
$ac_objext
18556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18557 (eval $ac_compile) 2>conftest.er1
18559 grep -v '^ *+' conftest.er1
>conftest.err
18561 cat conftest.err
>&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); } &&
18564 { ac_try
='test -z "$ac_c_werror_flag"
18565 || test ! -s conftest.err'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; } &&
18571 { ac_try
='test -s conftest.$ac_objext'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18577 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.
$ac_ext >&5
18582 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
18585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18588 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
18590 cat >>confdefs.h
<<\_ACEOF
18591 #define HAVE_PRFPREGSET32_T 1
18595 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
18596 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
18598 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
18599 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
18600 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
18601 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 cat >conftest.
$ac_ext <<_ACEOF
18606 cat confdefs.h
>>conftest.
$ac_ext
18607 cat >>conftest.
$ac_ext <<_ACEOF
18608 /* end confdefs.h. */
18611 #include <sys/procfs.h>
18620 rm -f conftest.
$ac_objext
18621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18622 (eval $ac_compile) 2>conftest.er1
18624 grep -v '^ *+' conftest.er1
>conftest.err
18626 cat conftest.err
>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } &&
18629 { ac_try
='test -z "$ac_c_werror_flag"
18630 || test ! -s conftest.err'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; } &&
18636 { ac_try
='test -s conftest.$ac_objext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.
$ac_ext >&5
18647 bfd_cv_have_sys_procfs_type_lwpid_t
=no
18650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18653 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
18655 cat >>confdefs.h
<<\_ACEOF
18656 #define HAVE_LWPID_T 1
18660 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
18661 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
18663 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
18664 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
18665 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
18666 echo $ECHO_N "(cached) $ECHO_C" >&6
18668 cat >conftest.
$ac_ext <<_ACEOF
18671 cat confdefs.h
>>conftest.
$ac_ext
18672 cat >>conftest.
$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18676 #include <sys/procfs.h>
18685 rm -f conftest.
$ac_objext
18686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18687 (eval $ac_compile) 2>conftest.er1
18689 grep -v '^ *+' conftest.er1
>conftest.err
18691 cat conftest.err
>&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } &&
18694 { ac_try
='test -z "$ac_c_werror_flag"
18695 || test ! -s conftest.err'
18696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697 (eval $ac_try) 2>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); }; } &&
18701 { ac_try
='test -s conftest.$ac_objext'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; }; then
18707 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
18709 echo "$as_me: failed program was:" >&5
18710 sed 's/^/| /' conftest.
$ac_ext >&5
18712 bfd_cv_have_sys_procfs_type_psaddr_t
=no
18715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18718 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
18720 cat >>confdefs.h
<<\_ACEOF
18721 #define HAVE_PSADDR_T 1
18725 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
18726 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
18728 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
18729 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
18730 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
18731 echo $ECHO_N "(cached) $ECHO_C" >&6
18733 cat >conftest.
$ac_ext <<_ACEOF
18736 cat confdefs.h
>>conftest.
$ac_ext
18737 cat >>conftest.
$ac_ext <<_ACEOF
18738 /* end confdefs.h. */
18741 #include <sys/procfs.h>
18750 rm -f conftest.
$ac_objext
18751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18752 (eval $ac_compile) 2>conftest.er1
18754 grep -v '^ *+' conftest.er1
>conftest.err
18756 cat conftest.err
>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); } &&
18759 { ac_try
='test -z "$ac_c_werror_flag"
18760 || test ! -s conftest.err'
18761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762 (eval $ac_try) 2>&5
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); }; } &&
18766 { ac_try
='test -s conftest.$ac_objext'
18767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18768 (eval $ac_try) 2>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); }; }; then
18772 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
18774 echo "$as_me: failed program was:" >&5
18775 sed 's/^/| /' conftest.
$ac_ext >&5
18777 bfd_cv_have_sys_procfs_type_prsysent_t
=no
18780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18783 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
18785 cat >>confdefs.h
<<\_ACEOF
18786 #define HAVE_PRSYSENT_T 1
18790 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
18791 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
18793 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
18794 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
18795 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
18796 echo $ECHO_N "(cached) $ECHO_C" >&6
18798 cat >conftest.
$ac_ext <<_ACEOF
18801 cat confdefs.h
>>conftest.
$ac_ext
18802 cat >>conftest.
$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18806 #include <sys/procfs.h>
18815 rm -f conftest.
$ac_objext
18816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18817 (eval $ac_compile) 2>conftest.er1
18819 grep -v '^ *+' conftest.er1
>conftest.err
18821 cat conftest.err
>&5
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); } &&
18824 { ac_try
='test -z "$ac_c_werror_flag"
18825 || test ! -s conftest.err'
18826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18827 (eval $ac_try) 2>&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); }; } &&
18831 { ac_try
='test -s conftest.$ac_objext'
18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833 (eval $ac_try) 2>&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); }; }; then
18837 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
18839 echo "$as_me: failed program was:" >&5
18840 sed 's/^/| /' conftest.
$ac_ext >&5
18842 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
18845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18848 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
18850 cat >>confdefs.h
<<\_ACEOF
18851 #define HAVE_PR_SIGSET_T 1
18855 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
18856 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
18858 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
18859 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
18860 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
18861 echo $ECHO_N "(cached) $ECHO_C" >&6
18863 cat >conftest.
$ac_ext <<_ACEOF
18866 cat confdefs.h
>>conftest.
$ac_ext
18867 cat >>conftest.
$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18871 #include <sys/procfs.h>
18875 pr_sigaction64_t avar
18880 rm -f conftest.
$ac_objext
18881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18882 (eval $ac_compile) 2>conftest.er1
18884 grep -v '^ *+' conftest.er1
>conftest.err
18886 cat conftest.err
>&5
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); } &&
18889 { ac_try
='test -z "$ac_c_werror_flag"
18890 || test ! -s conftest.err'
18891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18892 (eval $ac_try) 2>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); }; } &&
18896 { ac_try
='test -s conftest.$ac_objext'
18897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898 (eval $ac_try) 2>&5
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); }; }; then
18902 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
18904 echo "$as_me: failed program was:" >&5
18905 sed 's/^/| /' conftest.
$ac_ext >&5
18907 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
18910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18913 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
18915 cat >>confdefs.h
<<\_ACEOF
18916 #define HAVE_PR_SIGACTION64_T 1
18920 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
18921 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
18923 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
18924 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
18925 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18928 cat >conftest.
$ac_ext <<_ACEOF
18931 cat confdefs.h
>>conftest.
$ac_ext
18932 cat >>conftest.
$ac_ext <<_ACEOF
18933 /* end confdefs.h. */
18936 #include <sys/procfs.h>
18940 pr_siginfo64_t avar
18945 rm -f conftest.
$ac_objext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18947 (eval $ac_compile) 2>conftest.er1
18949 grep -v '^ *+' conftest.er1
>conftest.err
18951 cat conftest.err
>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try
='test -z "$ac_c_werror_flag"
18955 || test ! -s conftest.err'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; } &&
18961 { ac_try
='test -s conftest.$ac_objext'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.
$ac_ext >&5
18972 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
18975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18978 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
18980 cat >>confdefs.h
<<\_ACEOF
18981 #define HAVE_PR_SIGINFO64_T 1
18985 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
18986 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
18992 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
18993 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
18994 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
18995 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
18996 echo $ECHO_N "(cached) $ECHO_C" >&6
18998 if test "$cross_compiling" = yes; then
18999 gdb_cv_prfpregset_t_broken
=yes
19001 cat >conftest.
$ac_ext <<_ACEOF
19004 cat confdefs.h
>>conftest.
$ac_ext
19005 cat >>conftest.
$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 #include <sys/procfs.h>
19010 if (sizeof (prfpregset_t) == sizeof (void *))
19015 rm -f conftest
$ac_exeext
19016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19017 (eval $ac_link) 2>&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 (eval $ac_try) 2>&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; }; then
19026 gdb_cv_prfpregset_t_broken
=no
19028 echo "$as_me: program exited with status $ac_status" >&5
19029 echo "$as_me: failed program was:" >&5
19030 sed 's/^/| /' conftest.
$ac_ext >&5
19032 ( exit $ac_status )
19033 gdb_cv_prfpregset_t_broken
=yes
19035 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19039 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
19040 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
19041 if test $gdb_cv_prfpregset_t_broken = yes; then
19043 cat >>confdefs.h
<<\_ACEOF
19044 #define PRFPREGSET_T_BROKEN 1
19051 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
19052 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
19053 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
19054 echo $ECHO_N "(cached) $ECHO_C" >&6
19056 cat >conftest.
$ac_ext <<_ACEOF
19059 cat confdefs.h
>>conftest.
$ac_ext
19060 cat >>conftest.
$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19062 #include <unistd.h>
19063 #include <sys/types.h>
19064 #include <sys/procfs.h>
19071 dummy = ioctl(0, PIOCSET, &dummy);
19077 rm -f conftest.
$ac_objext
19078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19079 (eval $ac_compile) 2>conftest.er1
19081 grep -v '^ *+' conftest.er1
>conftest.err
19083 cat conftest.err
>&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); } &&
19086 { ac_try
='test -z "$ac_c_werror_flag"
19087 || test ! -s conftest.err'
19088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089 (eval $ac_try) 2>&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }; } &&
19093 { ac_try
='test -s conftest.$ac_objext'
19094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19095 (eval $ac_try) 2>&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); }; }; then
19099 gdb_cv_have_procfs_piocset
=yes
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.
$ac_ext >&5
19104 gdb_cv_have_procfs_piocset
=no
19106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19109 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
19110 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
19111 if test $gdb_cv_have_procfs_piocset = yes; then
19113 cat >>confdefs.h
<<\_ACEOF
19114 #define HAVE_PROCFS_PIOCSET 1
19120 if test ${host} = ${target} ; then
19122 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
19123 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
19124 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
19125 echo $ECHO_N "(cached) $ECHO_C" >&6
19127 cat >conftest.
$ac_ext <<_ACEOF
19130 cat confdefs.h
>>conftest.
$ac_ext
19131 cat >>conftest.
$ac_ext <<_ACEOF
19132 /* end confdefs.h. */
19137 struct link_map lm; (void) lm.l_addr;
19142 rm -f conftest.
$ac_objext
19143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19144 (eval $ac_compile) 2>conftest.er1
19146 grep -v '^ *+' conftest.er1
>conftest.err
19148 cat conftest.err
>&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); } &&
19151 { ac_try
='test -z "$ac_c_werror_flag"
19152 || test ! -s conftest.err'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; } &&
19158 { ac_try
='test -s conftest.$ac_objext'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; }; then
19164 gdb_cv_have_struct_link_map_with_l_members
=yes
19166 echo "$as_me: failed program was:" >&5
19167 sed 's/^/| /' conftest.
$ac_ext >&5
19169 gdb_cv_have_struct_link_map_with_l_members
=no
19171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19174 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
19175 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
19176 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
19178 cat >>confdefs.h
<<\_ACEOF
19179 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
19185 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
19186 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
19187 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
19188 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 cat >conftest.
$ac_ext <<_ACEOF
19193 cat confdefs.h
>>conftest.
$ac_ext
19194 cat >>conftest.
$ac_ext <<_ACEOF
19195 /* end confdefs.h. */
19196 #include <sys/types.h>
19201 struct link_map lm; (void) lm.lm_addr;
19206 rm -f conftest.
$ac_objext
19207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19208 (eval $ac_compile) 2>conftest.er1
19210 grep -v '^ *+' conftest.er1
>conftest.err
19212 cat conftest.err
>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); } &&
19215 { ac_try
='test -z "$ac_c_werror_flag"
19216 || test ! -s conftest.err'
19217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19218 (eval $ac_try) 2>&5
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); }; } &&
19222 { ac_try
='test -s conftest.$ac_objext'
19223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19224 (eval $ac_try) 2>&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); }; }; then
19228 gdb_cv_have_struct_link_map_with_lm_members
=yes
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.
$ac_ext >&5
19233 gdb_cv_have_struct_link_map_with_lm_members
=no
19235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19238 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
19239 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
19240 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
19242 cat >>confdefs.h
<<\_ACEOF
19243 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
19249 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
19250 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
19251 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
19252 echo $ECHO_N "(cached) $ECHO_C" >&6
19254 cat >conftest.
$ac_ext <<_ACEOF
19257 cat confdefs.h
>>conftest.
$ac_ext
19258 cat >>conftest.
$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19260 #include <sys/types.h>
19261 #ifdef HAVE_NLIST_H
19268 struct so_map lm; (void) lm.som_addr;
19273 rm -f conftest.
$ac_objext
19274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19275 (eval $ac_compile) 2>conftest.er1
19277 grep -v '^ *+' conftest.er1
>conftest.err
19279 cat conftest.err
>&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); } &&
19282 { ac_try
='test -z "$ac_c_werror_flag"
19283 || test ! -s conftest.err'
19284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285 (eval $ac_try) 2>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); }; } &&
19289 { ac_try
='test -s conftest.$ac_objext'
19290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19291 (eval $ac_try) 2>&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); }; }; then
19295 gdb_cv_have_struct_so_map_with_som_members
=yes
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.
$ac_ext >&5
19300 gdb_cv_have_struct_so_map_with_som_members
=no
19302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19305 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
19306 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
19307 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
19309 cat >>confdefs.h
<<\_ACEOF
19310 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
19316 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
19317 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
19318 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
19319 echo $ECHO_N "(cached) $ECHO_C" >&6
19321 cat >conftest.
$ac_ext <<_ACEOF
19324 cat confdefs.h
>>conftest.
$ac_ext
19325 cat >>conftest.
$ac_ext <<_ACEOF
19326 /* end confdefs.h. */
19328 #include <sys/link.h>
19332 struct link_map32 l;
19337 rm -f conftest.
$ac_objext
19338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19339 (eval $ac_compile) 2>conftest.er1
19341 grep -v '^ *+' conftest.er1
>conftest.err
19343 cat conftest.err
>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } &&
19346 { ac_try
='test -z "$ac_c_werror_flag"
19347 || test ! -s conftest.err'
19348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349 (eval $ac_try) 2>&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); }; } &&
19353 { ac_try
='test -s conftest.$ac_objext'
19354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19355 (eval $ac_try) 2>&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); }; }; then
19359 gdb_cv_have_struct_link_map32
=yes
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.
$ac_ext >&5
19364 gdb_cv_have_struct_link_map32
=no
19366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19369 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
19370 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
19371 if test $gdb_cv_have_struct_link_map32 = yes; then
19373 cat >>confdefs.h
<<\_ACEOF
19374 #define HAVE_STRUCT_LINK_MAP32 1
19378 cat >>confdefs.h
<<\_ACEOF
19379 #define _SYSCALL32 1
19385 # Check if the compiler supports the `long long' type.
19387 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
19388 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
19389 if test "${gdb_cv_c_long_long+set}" = set; then
19390 echo $ECHO_N "(cached) $ECHO_C" >&6
19392 cat >conftest.
$ac_ext <<_ACEOF
19395 cat confdefs.h
>>conftest.
$ac_ext
19396 cat >>conftest.
$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 extern long long foo;
19402 switch (foo & 2) { case 0: return 1; }
19407 rm -f conftest.
$ac_objext
19408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19409 (eval $ac_compile) 2>conftest.er1
19411 grep -v '^ *+' conftest.er1
>conftest.err
19413 cat conftest.err
>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); } &&
19416 { ac_try
='test -z "$ac_c_werror_flag"
19417 || test ! -s conftest.err'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; } &&
19423 { ac_try
='test -s conftest.$ac_objext'
19424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19425 (eval $ac_try) 2>&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); }; }; then
19429 gdb_cv_c_long_long
=yes
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.
$ac_ext >&5
19434 gdb_cv_c_long_long
=no
19436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19438 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
19439 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
19440 if test $gdb_cv_c_long_long = yes; then
19442 cat >>confdefs.h
<<\_ACEOF
19443 #define CC_HAS_LONG_LONG 1
19448 # Check if the compiler and runtime support printing long longs.
19450 echo "$as_me:$LINENO: checking for long long support in printf" >&5
19451 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
19452 if test "${gdb_cv_printf_has_long_long+set}" = set; then
19453 echo $ECHO_N "(cached) $ECHO_C" >&6
19455 if test "$cross_compiling" = yes; then
19456 gdb_cv_printf_has_long_long
=no
19458 cat >conftest.
$ac_ext <<_ACEOF
19461 cat confdefs.h
>>conftest.
$ac_ext
19462 cat >>conftest.
$ac_ext <<_ACEOF
19463 /* end confdefs.h. */
19464 $ac_includes_default
19470 l = (l << 16) + 0x0123;
19471 l = (l << 16) + 0x4567;
19472 l = (l << 16) + 0x89ab;
19473 l = (l << 16) + 0xcdef;
19474 sprintf (buf, "0x%016llx", l);
19475 return (strcmp ("0x0123456789abcdef", buf));
19480 rm -f conftest
$ac_exeext
19481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19482 (eval $ac_link) 2>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19487 (eval $ac_try) 2>&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); }; }; then
19491 gdb_cv_printf_has_long_long
=yes
19493 echo "$as_me: program exited with status $ac_status" >&5
19494 echo "$as_me: failed program was:" >&5
19495 sed 's/^/| /' conftest.
$ac_ext >&5
19497 ( exit $ac_status )
19498 gdb_cv_printf_has_long_long
=no
19500 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19503 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
19504 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
19505 if test $gdb_cv_printf_has_long_long = yes; then
19507 cat >>confdefs.h
<<\_ACEOF
19508 #define PRINTF_HAS_LONG_LONG 1
19513 # Check if the compiler supports the `long double' type. We can't use
19514 # AC_C_LONG_DOUBLE because that one does additional checks on the
19515 # constants defined in <float.h> that fail on some systems,
19516 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
19518 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
19519 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
19520 if test "${gdb_cv_c_long_double+set}" = set; then
19521 echo $ECHO_N "(cached) $ECHO_C" >&6
19523 cat >conftest.
$ac_ext <<_ACEOF
19526 cat confdefs.h
>>conftest.
$ac_ext
19527 cat >>conftest.
$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19531 rm -f conftest.
$ac_objext
19532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19533 (eval $ac_compile) 2>conftest.er1
19535 grep -v '^ *+' conftest.er1
>conftest.err
19537 cat conftest.err
>&5
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); } &&
19540 { ac_try
='test -z "$ac_c_werror_flag"
19541 || test ! -s conftest.err'
19542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19543 (eval $ac_try) 2>&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); }; } &&
19547 { ac_try
='test -s conftest.$ac_objext'
19548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19549 (eval $ac_try) 2>&5
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); }; }; then
19553 gdb_cv_c_long_double
=yes
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.
$ac_ext >&5
19558 gdb_cv_c_long_double
=no
19560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19562 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
19563 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
19564 if test $gdb_cv_c_long_double = yes; then
19566 cat >>confdefs.h
<<\_ACEOF
19567 #define HAVE_LONG_DOUBLE 1
19572 # Check if the compiler and runtime support printing long doubles.
19574 echo "$as_me:$LINENO: checking for long double support in printf" >&5
19575 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
19576 if test "${gdb_cv_printf_has_long_double+set}" = set; then
19577 echo $ECHO_N "(cached) $ECHO_C" >&6
19579 if test "$cross_compiling" = yes; then
19580 gdb_cv_printf_has_long_double
=no
19582 cat >conftest.
$ac_ext <<_ACEOF
19585 cat confdefs.h
>>conftest.
$ac_ext
19586 cat >>conftest.
$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19588 $ac_includes_default
19593 long double f = 3.141592653;
19594 sprintf (buf, "%Lg", f);
19595 return (strncmp ("3.14159", buf, 7));
19600 rm -f conftest
$ac_exeext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19602 (eval $ac_link) 2>&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; }; then
19611 gdb_cv_printf_has_long_double
=yes
19613 echo "$as_me: program exited with status $ac_status" >&5
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.
$ac_ext >&5
19617 ( exit $ac_status )
19618 gdb_cv_printf_has_long_double
=no
19620 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19623 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
19624 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
19625 if test $gdb_cv_printf_has_long_double = yes; then
19627 cat >>confdefs.h
<<\_ACEOF
19628 #define PRINTF_HAS_LONG_DOUBLE 1
19633 # Check if the compiler and runtime support scanning long doubles.
19635 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
19636 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
19637 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
19638 echo $ECHO_N "(cached) $ECHO_C" >&6
19640 if test "$cross_compiling" = yes; then
19641 gdb_cv_scanf_has_long_double
=no
19643 cat >conftest.
$ac_ext <<_ACEOF
19646 cat confdefs.h
>>conftest.
$ac_ext
19647 cat >>conftest.
$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19653 char *buf = "3.141592653";
19655 sscanf (buf, "%Lg", &f);
19656 return !(f > 3.14159 && f < 3.14160);
19661 rm -f conftest
$ac_exeext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19663 (eval $ac_link) 2>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19668 (eval $ac_try) 2>&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); }; }; then
19672 gdb_cv_scanf_has_long_double
=yes
19674 echo "$as_me: program exited with status $ac_status" >&5
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.
$ac_ext >&5
19678 ( exit $ac_status )
19679 gdb_cv_scanf_has_long_double
=no
19681 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19684 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
19685 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
19686 if test $gdb_cv_scanf_has_long_double = yes; then
19688 cat >>confdefs.h
<<\_ACEOF
19689 #define SCANF_HAS_LONG_DOUBLE 1
19696 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
19697 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
19698 if test "${gdb_cv_bigtoc+set}" = set; then
19699 echo $ECHO_N "(cached) $ECHO_C" >&6
19702 SAVE_LDFLAGS
=$LDFLAGS
19705 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
19706 *) gdb_cv_bigtoc
=-bbigtoc ;;
19709 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
19710 cat >conftest.
$ac_ext <<_ACEOF
19713 cat confdefs.h
>>conftest.
$ac_ext
19714 cat >>conftest.
$ac_ext <<_ACEOF
19715 /* end confdefs.h. */
19725 rm -f conftest.
$ac_objext conftest
$ac_exeext
19726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19727 (eval $ac_link) 2>conftest.er1
19729 grep -v '^ *+' conftest.er1
>conftest.err
19731 cat conftest.err
>&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } &&
19734 { ac_try
='test -z "$ac_c_werror_flag"
19735 || test ! -s conftest.err'
19736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19737 (eval $ac_try) 2>&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); }; } &&
19741 { ac_try
='test -s conftest$ac_exeext'
19742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743 (eval $ac_try) 2>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; }; then
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.
$ac_ext >&5
19754 rm -f conftest.err conftest.
$ac_objext \
19755 conftest
$ac_exeext conftest.
$ac_ext
19756 LDFLAGS
="${SAVE_LDFLAGS}"
19759 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
19760 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
19761 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
19767 if test ${build} = ${host} -a ${host} = ${target} ; then
19770 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
19771 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
19772 if test -f /usr
/include
/dce
/cma_config.h
; then
19773 if test "$GCC" = "yes" ; then
19774 echo "$as_me:$LINENO: result: yes" >&5
19775 echo "${ECHO_T}yes" >&6
19777 cat >>confdefs.h
<<\_ACEOF
19778 #define HAVE_HPUX_THREAD_SUPPORT 1
19781 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
19782 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
19784 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
19785 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
19788 echo "$as_me:$LINENO: result: no" >&5
19789 echo "${ECHO_T}no" >&6
19793 # See if thread_db library is around for Solaris thread debugging.
19794 # Note that we must explicitly test for version 1 of the library
19795 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
19797 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
19798 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
19799 if test -f /usr
/lib
/libthread_db.so
.1 ; then
19800 echo "$as_me:$LINENO: result: yes" >&5
19801 echo "${ECHO_T}yes" >&6
19803 cat >>confdefs.h
<<\_ACEOF
19804 #define HAVE_THREAD_DB_LIB 1
19807 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
19808 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
19810 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19811 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19812 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19813 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 ac_check_lib_save_LIBS
=$LIBS
19817 cat >conftest.
$ac_ext <<_ACEOF
19820 cat confdefs.h
>>conftest.
$ac_ext
19821 cat >>conftest.
$ac_ext <<_ACEOF
19822 /* end confdefs.h. */
19824 /* Override any gcc2 internal prototype to avoid an error. */
19828 /* We use char because int might match the return type of a gcc2
19829 builtin and then its argument prototype would still apply. */
19839 rm -f conftest.
$ac_objext conftest
$ac_exeext
19840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19841 (eval $ac_link) 2>conftest.er1
19843 grep -v '^ *+' conftest.er1
>conftest.err
19845 cat conftest.err
>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } &&
19848 { ac_try
='test -z "$ac_c_werror_flag"
19849 || test ! -s conftest.err'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; } &&
19855 { ac_try
='test -s conftest$ac_exeext'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; }; then
19861 ac_cv_lib_dl_dlopen
=yes
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.
$ac_ext >&5
19866 ac_cv_lib_dl_dlopen
=no
19868 rm -f conftest.err conftest.
$ac_objext \
19869 conftest
$ac_exeext conftest.
$ac_ext
19870 LIBS
=$ac_check_lib_save_LIBS
19872 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19873 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19874 if test $ac_cv_lib_dl_dlopen = yes; then
19875 cat >>confdefs.h
<<_ACEOF
19876 #define HAVE_LIBDL 1
19883 if test "$GCC" = "yes" ; then
19884 # The GNU linker requires the -export-dynamic option to make
19885 # all symbols visible in the dynamic symbol table.
19886 hold_ldflags
=$LDFLAGS
19887 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
19888 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
19889 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
19890 cat >conftest.
$ac_ext <<_ACEOF
19893 cat confdefs.h
>>conftest.
$ac_ext
19894 cat >>conftest.
$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19905 rm -f conftest.
$ac_objext conftest
$ac_exeext
19906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19907 (eval $ac_link) 2>conftest.er1
19909 grep -v '^ *+' conftest.er1
>conftest.err
19911 cat conftest.err
>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } &&
19914 { ac_try
='test -z "$ac_c_werror_flag"
19915 || test ! -s conftest.err'
19916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19917 (eval $ac_try) 2>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); }; } &&
19921 { ac_try
='test -s conftest$ac_exeext'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; }; then
19929 echo "$as_me: failed program was:" >&5
19930 sed 's/^/| /' conftest.
$ac_ext >&5
19934 rm -f conftest.err conftest.
$ac_objext \
19935 conftest
$ac_exeext conftest.
$ac_ext
19936 LDFLAGS
=$hold_ldflags
19937 echo "$as_me:$LINENO: result: $found" >&5
19938 echo "${ECHO_T}$found" >&6
19939 if test $found = yes; then
19940 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
19943 # Sun randomly tweaked the prototypes in <proc_service.h>
19945 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
19946 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
19947 if test "${gdb_cv_proc_service_is_old+set}" = set; then
19948 echo $ECHO_N "(cached) $ECHO_C" >&6
19951 cat >conftest.
$ac_ext <<_ACEOF
19954 cat confdefs.h
>>conftest.
$ac_ext
19955 cat >>conftest.
$ac_ext <<_ACEOF
19956 /* end confdefs.h. */
19958 #include <proc_service.h>
19959 ps_err_e ps_pdwrite
19960 (struct ps_prochandle*, psaddr_t, const void*, size_t);
19970 rm -f conftest.
$ac_objext
19971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19972 (eval $ac_compile) 2>conftest.er1
19974 grep -v '^ *+' conftest.er1
>conftest.err
19976 cat conftest.err
>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } &&
19979 { ac_try
='test -z "$ac_c_werror_flag"
19980 || test ! -s conftest.err'
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); }; } &&
19986 { ac_try
='test -s conftest.$ac_objext'
19987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19988 (eval $ac_try) 2>&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; }; then
19992 gdb_cv_proc_service_is_old
=no
19994 echo "$as_me: failed program was:" >&5
19995 sed 's/^/| /' conftest.
$ac_ext >&5
19997 gdb_cv_proc_service_is_old
=yes
19999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20003 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
20004 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
20005 if test $gdb_cv_proc_service_is_old = yes; then
20007 cat >>confdefs.h
<<\_ACEOF
20008 #define PROC_SERVICE_IS_OLD 1
20013 echo "$as_me:$LINENO: result: no" >&5
20014 echo "${ECHO_T}no" >&6
20018 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
20019 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
20020 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
20021 echo $ECHO_N "(cached) $ECHO_C" >&6
20023 cat >conftest.
$ac_ext <<_ACEOF
20026 cat confdefs.h
>>conftest.
$ac_ext
20027 cat >>conftest.
$ac_ext <<_ACEOF
20028 /* end confdefs.h. */
20029 #include <sys/pthdebug.h>
20033 #ifndef PTHDB_VERSION_3
20040 rm -f conftest.
$ac_objext
20041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20042 (eval $ac_compile) 2>conftest.er1
20044 grep -v '^ *+' conftest.er1
>conftest.err
20046 cat conftest.err
>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } &&
20049 { ac_try
='test -z "$ac_c_werror_flag"
20050 || test ! -s conftest.err'
20051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20052 (eval $ac_try) 2>&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); }; } &&
20056 { ac_try
='test -s conftest.$ac_objext'
20057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20058 (eval $ac_try) 2>&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); }; }; then
20062 gdb_cv_have_aix_thread_debug
=yes
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.
$ac_ext >&5
20067 gdb_cv_have_aix_thread_debug
=no
20069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20072 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
20073 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
20074 if test $gdb_cv_have_aix_thread_debug = yes; then
20075 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
20076 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
20077 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
20084 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
20085 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
20086 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
20087 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
20088 echo $ECHO_N "(cached) $ECHO_C" >&6
20090 cat >conftest.
$ac_ext <<_ACEOF
20093 cat confdefs.h
>>conftest.
$ac_ext
20094 cat >>conftest.
$ac_ext <<_ACEOF
20095 /* end confdefs.h. */
20096 #include <thread_db.h>
20100 int i = TD_NOTALLOC;
20105 rm -f conftest.
$ac_objext
20106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20107 (eval $ac_compile) 2>conftest.er1
20109 grep -v '^ *+' conftest.er1
>conftest.err
20111 cat conftest.err
>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } &&
20114 { ac_try
='test -z "$ac_c_werror_flag"
20115 || test ! -s conftest.err'
20116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20117 (eval $ac_try) 2>&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); }; } &&
20121 { ac_try
='test -s conftest.$ac_objext'
20122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20123 (eval $ac_try) 2>&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); }; }; then
20127 gdb_cv_thread_db_h_has_td_notalloc
=yes
20129 echo "$as_me: failed program was:" >&5
20130 sed 's/^/| /' conftest.
$ac_ext >&5
20132 gdb_cv_thread_db_h_has_td_notalloc
=no
20135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20138 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
20139 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
20141 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
20143 cat >>confdefs.h
<<\_ACEOF
20144 #define THREAD_DB_HAS_TD_NOTALLOC 1
20149 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
20150 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
20151 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
20152 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
20153 echo $ECHO_N "(cached) $ECHO_C" >&6
20155 cat >conftest.
$ac_ext <<_ACEOF
20158 cat confdefs.h
>>conftest.
$ac_ext
20159 cat >>conftest.
$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20161 #include <sys/syscall.h>
20165 int i = __NR_tkill;
20170 rm -f conftest.
$ac_objext
20171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20172 (eval $ac_compile) 2>conftest.er1
20174 grep -v '^ *+' conftest.er1
>conftest.err
20176 cat conftest.err
>&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); } &&
20179 { ac_try
='test -z "$ac_c_werror_flag"
20180 || test ! -s conftest.err'
20181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20182 (eval $ac_try) 2>&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); }; } &&
20186 { ac_try
='test -s conftest.$ac_objext'
20187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20188 (eval $ac_try) 2>&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); }; }; then
20192 gdb_cv_sys_syscall_h_has_tkill
=yes
20194 echo "$as_me: failed program was:" >&5
20195 sed 's/^/| /' conftest.
$ac_ext >&5
20197 gdb_cv_sys_syscall_h_has_tkill
=no
20200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20203 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
20204 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
20206 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
20208 cat >>confdefs.h
<<\_ACEOF
20209 #define HAVE_TKILL_SYSCALL 1
20216 # Check whether --with-sysroot or --without-sysroot was given.
20217 if test "${with_sysroot+set}" = set; then
20218 withval
="$with_sysroot"
20220 case ${with_sysroot} in
20221 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
20222 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
20225 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
20227 if test "x$exec_prefix" = xNONE
; then
20228 if test "x$prefix" = xNONE
; then
20229 test_prefix
=/usr
/local
20231 test_prefix
=$prefix
20234 test_prefix
=$exec_prefix
20236 case ${TARGET_SYSTEM_ROOT} in
20237 "${test_prefix}"|
"${test_prefix}/"*|\
20238 '${exec_prefix}'|
'${exec_prefix}/'*)
20239 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
20240 TARGET_SYSTEM_ROOT_DEFINE
="$t"
20246 TARGET_SYSTEM_ROOT
=
20247 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
20253 # Check whether --enable-werror or --disable-werror was given.
20254 if test "${enable_werror+set}" = set; then
20255 enableval
="$enable_werror"
20256 case "${enableval}" in
20257 yes | y
) ERROR_ON_WARNING
="yes" ;;
20258 no | n
) ERROR_ON_WARNING
="no" ;;
20259 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
20260 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
20261 { (exit 1); exit 1; }; } ;;
20265 # Enable -Werror by default when using gcc
20266 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
20267 ERROR_ON_WARNING
=yes
20271 if test "${ERROR_ON_WARNING}" = yes ; then
20272 WERROR_CFLAGS
="-Werror"
20275 # NOTE: Don't add -Wall or -Wunused, they both include
20276 # -Wunused-parameter which reports bogus warnings.
20277 # NOTE: If you add to this list, remember to update
20278 # gdb/doc/gdbint.texinfo.
20279 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
20280 -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral \
20281 -Wunused-label -Wunused-function -Wno-pointer-sign"
20283 # GCC supports -Wuninitialized only with -O or -On, n != 0.
20284 if test x
${CFLAGS+set} = xset
; then
20285 case "${CFLAGS}" in
20288 build_warnings
="${build_warnings} -Wuninitialized"
20292 build_warnings
="${build_warnings} -Wuninitialized"
20295 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
20296 # -Wunused-function -Wunused-variable -Wunused-value
20297 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
20298 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
20299 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
20300 # -Woverloaded-virtual -Winline -Werror"
20301 # Check whether --enable-build-warnings or --disable-build-warnings was given.
20302 if test "${enable_build_warnings+set}" = set; then
20303 enableval
="$enable_build_warnings"
20304 case "${enableval}" in
20306 no
) build_warnings
="-w";;
20307 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20308 build_warnings
="${build_warnings} ${t}";;
20309 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20310 build_warnings
="${t} ${build_warnings}";;
20311 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
20313 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
20314 echo "Setting compiler warning flags = $build_warnings" 6>&1
20316 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
20317 if test "${enable_gdb_build_warnings+set}" = set; then
20318 enableval
="$enable_gdb_build_warnings"
20319 case "${enableval}" in
20321 no
) build_warnings
="-w";;
20322 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20323 build_warnings
="${build_warnings} ${t}";;
20324 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20325 build_warnings
="${t} ${build_warnings}";;
20326 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
20328 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
20329 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
20332 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
20334 echo "$as_me:$LINENO: checking compiler warning flags" >&5
20335 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
20336 # Separate out the -Werror flag as some files just cannot be
20337 # compiled with it enabled.
20338 for w
in ${build_warnings}; do
20340 -Werr*) WERROR_CFLAGS
=-Werror ;;
20341 *) # Check that GCC accepts it
20342 saved_CFLAGS
="$CFLAGS"
20343 CFLAGS
="$CFLAGS $w"
20344 cat >conftest.
$ac_ext <<_ACEOF
20347 cat confdefs.h
>>conftest.
$ac_ext
20348 cat >>conftest.
$ac_ext <<_ACEOF
20349 /* end confdefs.h. */
20359 rm -f conftest.
$ac_objext
20360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20361 (eval $ac_compile) 2>conftest.er1
20363 grep -v '^ *+' conftest.er1
>conftest.err
20365 cat conftest.err
>&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); } &&
20368 { ac_try
='test -z "$ac_c_werror_flag"
20369 || test ! -s conftest.err'
20370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20371 (eval $ac_try) 2>&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); }; } &&
20375 { ac_try
='test -s conftest.$ac_objext'
20376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20377 (eval $ac_try) 2>&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; }; then
20381 WARN_CFLAGS
="${WARN_CFLAGS} $w"
20383 echo "$as_me: failed program was:" >&5
20384 sed 's/^/| /' conftest.
$ac_ext >&5
20387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20388 CFLAGS
="$saved_CFLAGS"
20391 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
20392 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
20397 # In the Cygwin environment, we need some additional flags.
20398 echo "$as_me:$LINENO: checking for cygwin" >&5
20399 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
20400 if test "${gdb_cv_os_cygwin+set}" = set; then
20401 echo $ECHO_N "(cached) $ECHO_C" >&6
20403 cat >conftest.
$ac_ext <<_ACEOF
20406 cat confdefs.h
>>conftest.
$ac_ext
20407 cat >>conftest.
$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20410 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
20414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20415 $EGREP "lose" >/dev
/null
2>&1; then
20416 gdb_cv_os_cygwin
=yes
20418 gdb_cv_os_cygwin
=no
20423 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
20424 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
20427 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
20429 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
20430 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
20431 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
20435 # libreadline needs libuser32.a in a cygwin environment
20437 if test x
$gdb_cv_os_cygwin = xyes
; then
20438 WIN32LIBS
="-luser32"
20439 case "${target}" in
20440 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
20445 # The ser-tcp.c module requires sockets.
20449 cat >>confdefs.h
<<\_ACEOF
20450 #define USE_WIN32API 1
20453 WIN32LIBS
="$WIN32LIBS -lws2_32"
20458 # Add any host-specific objects to GDB.
20459 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
20461 LIBGUI
="../libgui/src/libgui.a"
20462 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
20480 if test "${enable_gdbtk}" = "yes"; then
20482 # Gdbtk must have an absolute path to srcdir in order to run
20483 # properly when not installed.
20486 GDBTK_SRC_DIR
=`pwd`
20491 # Ok, lets find the tcl configuration
20492 # First, look for one uninstalled.
20493 # the alternative search directory is invoked by --with-tclconfig
20496 if test x
"${no_tcl}" = x
; then
20497 # we reset no_tcl in case something fails here
20500 # Check whether --with-tclconfig or --without-tclconfig was given.
20501 if test "${with_tclconfig+set}" = set; then
20502 withval
="$with_tclconfig"
20503 with_tclconfig
=${withval}
20505 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
20506 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
20507 if test "${ac_cv_c_tclconfig+set}" = set; then
20508 echo $ECHO_N "(cached) $ECHO_C" >&6
20512 # First check to see if --with-tclconfig was specified.
20513 if test x
"${with_tclconfig}" != x
; then
20514 if test -f "${with_tclconfig}/tclConfig.sh" ; then
20515 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
20517 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
20518 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
20519 { (exit 1); exit 1; }; }
20523 # then check for a private Tcl installation
20524 if test x
"${ac_cv_c_tclconfig}" = x
; then
20527 `ls -dr ../tcl[7-9]* 2>/dev/null` \
20529 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
20531 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
20532 if test -f "$i/${configdir}/tclConfig.sh" ; then
20533 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
20538 # check in a few common install locations
20539 if test x
"${ac_cv_c_tclconfig}" = x
; then
20540 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
20541 if test -f "$i/tclConfig.sh" ; then
20542 ac_cv_c_tclconfig
=`(cd $i; pwd)`
20547 # check in a few other private locations
20548 if test x
"${ac_cv_c_tclconfig}" = x
; then
20551 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
20552 if test -f "$i/${configdir}/tclConfig.sh" ; then
20553 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
20561 if test x
"${ac_cv_c_tclconfig}" = x
; then
20562 TCLCONFIG
="# no Tcl configs found"
20563 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
20564 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
20567 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
20568 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
20569 echo "${ECHO_T}found $TCLCONFIG" >&6
20573 if test -z "${no_tcl}"; then
20604 # Ok, lets find the tk configuration
20605 # First, look for one uninstalled.
20606 # the alternative search directory is invoked by --with-tkconfig
20609 if test x
"${no_tk}" = x
; then
20610 # we reset no_tk in case something fails here
20613 # Check whether --with-tkconfig or --without-tkconfig was given.
20614 if test "${with_tkconfig+set}" = set; then
20615 withval
="$with_tkconfig"
20616 with_tkconfig
=${withval}
20618 echo "$as_me:$LINENO: checking for Tk configuration" >&5
20619 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
20620 if test "${ac_cv_c_tkconfig+set}" = set; then
20621 echo $ECHO_N "(cached) $ECHO_C" >&6
20625 # First check to see if --with-tkconfig was specified.
20626 if test x
"${with_tkconfig}" != x
; then
20627 if test -f "${with_tkconfig}/tkConfig.sh" ; then
20628 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
20630 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
20631 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
20632 { (exit 1); exit 1; }; }
20636 # then check for a private Tk library
20637 if test x
"${ac_cv_c_tkconfig}" = x
; then
20640 `ls -dr ../tk[4-9]* 2>/dev/null` \
20642 `ls -dr ../../tk[4-9]* 2>/dev/null` \
20644 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
20645 if test -f "$i/${configdir}/tkConfig.sh" ; then
20646 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
20651 # check in a few common install locations
20652 if test x
"${ac_cv_c_tkconfig}" = x
; then
20653 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
20654 if test -f "$i/tkConfig.sh" ; then
20655 ac_cv_c_tkconfig
=`(cd $i; pwd)`
20660 # check in a few other private locations
20661 if test x
"${ac_cv_c_tkconfig}" = x
; then
20664 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
20665 if test -f "$i/${configdir}/tkConfig.sh" ; then
20666 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
20674 if test x
"${ac_cv_c_tkconfig}" = x
; then
20675 TKCONFIG
="# no Tk configs found"
20676 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
20677 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
20680 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
20681 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
20682 echo "${ECHO_T}found $TKCONFIG" >&6
20688 # now look for Tcl library stuff
20690 tcldir
="../tcl/${configdir}/"
20692 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
20694 # If $no_tk is nonempty, then we can't do Tk, and there is no
20695 # point to doing Tcl.
20696 if test -z "${no_tk}"; then
20698 if test -f "$TKCONFIG" ; then
20716 # Ok, lets find the tcl source trees so we can use the headers
20717 # Warning: transition of version 9 to 10 will break this algorithm
20718 # because 10 sorts before 9. We also look for just tcl. We have to
20719 # be careful that we don't match stuff like tclX by accident.
20720 # the alternative search directory is involked by --with-tclinclude
20724 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
20725 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
20727 # Check whether --with-tclinclude or --without-tclinclude was given.
20728 if test "${with_tclinclude+set}" = set; then
20729 withval
="$with_tclinclude"
20730 with_tclinclude
=${withval}
20732 if test "${ac_cv_c_tclh+set}" = set; then
20733 echo $ECHO_N "(cached) $ECHO_C" >&6
20736 # first check to see if --with-tclinclude was specified
20737 if test x
"${with_tclinclude}" != x
; then
20738 if test -f ${with_tclinclude}/tclInt.h
; then
20739 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
20740 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
20741 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
20743 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
20744 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
20745 { (exit 1); exit 1; }; }
20749 # next check if it came with Tcl configuration file
20750 if test x
"${ac_cv_c_tclconfig}" = x
; then
20751 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
20752 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
20756 # next check in private source directory
20758 # since ls returns lowest version numbers first, reverse its output
20759 if test x
"${ac_cv_c_tclh}" = x
; then
20762 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
20763 ${srcdir}/..
/..
/tcl \
20764 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
20765 ${srcdir}/..
/..
/..
/tcl \
20766 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
20767 if test -f $i/generic
/tclInt.h
; then
20768 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
20773 # finally check in a few common install locations
20775 # since ls returns lowest version numbers first, reverse its output
20776 if test x
"${ac_cv_c_tclh}" = x
; then
20778 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
20779 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
20780 /usr
/local
/src
/tcl \
20781 /usr
/local
/lib
/tcl \
20782 ${prefix}/include
; do
20783 if test -f $i/generic
/tclInt.h
; then
20784 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
20789 # see if one is installed
20790 if test x
"${ac_cv_c_tclh}" = x
; then
20791 if test "${ac_cv_header_tclInt_h+set}" = set; then
20792 echo "$as_me:$LINENO: checking for tclInt.h" >&5
20793 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
20794 if test "${ac_cv_header_tclInt_h+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
20798 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
20800 # Is the header compilable?
20801 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
20802 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
20803 cat >conftest.
$ac_ext <<_ACEOF
20806 cat confdefs.h
>>conftest.
$ac_ext
20807 cat >>conftest.
$ac_ext <<_ACEOF
20808 /* end confdefs.h. */
20809 $ac_includes_default
20810 #include <tclInt.h>
20812 rm -f conftest.
$ac_objext
20813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20814 (eval $ac_compile) 2>conftest.er1
20816 grep -v '^ *+' conftest.er1
>conftest.err
20818 cat conftest.err
>&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } &&
20821 { ac_try
='test -z "$ac_c_werror_flag"
20822 || test ! -s conftest.err'
20823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20824 (eval $ac_try) 2>&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); }; } &&
20828 { ac_try
='test -s conftest.$ac_objext'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); }; }; then
20834 ac_header_compiler
=yes
20836 echo "$as_me: failed program was:" >&5
20837 sed 's/^/| /' conftest.
$ac_ext >&5
20839 ac_header_compiler
=no
20841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20842 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20843 echo "${ECHO_T}$ac_header_compiler" >&6
20845 # Is the header present?
20846 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
20847 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
20848 cat >conftest.
$ac_ext <<_ACEOF
20851 cat confdefs.h
>>conftest.
$ac_ext
20852 cat >>conftest.
$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20854 #include <tclInt.h>
20856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20857 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20859 grep -v '^ *+' conftest.er1
>conftest.err
20861 cat conftest.err
>&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); } >/dev
/null
; then
20864 if test -s conftest.err
; then
20865 ac_cpp_err
=$ac_c_preproc_warn_flag
20866 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20873 if test -z "$ac_cpp_err"; then
20874 ac_header_preproc
=yes
20876 echo "$as_me: failed program was:" >&5
20877 sed 's/^/| /' conftest.
$ac_ext >&5
20879 ac_header_preproc
=no
20881 rm -f conftest.err conftest.
$ac_ext
20882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20883 echo "${ECHO_T}$ac_header_preproc" >&6
20885 # So? What about this header?
20886 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20888 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
20889 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20890 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
20891 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
20892 ac_header_preproc
=yes
20895 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
20896 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
20897 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
20898 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
20899 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
20900 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
20901 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
20902 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
20903 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
20904 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
20905 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
20906 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
20909 ## ------------------------------------------ ##
20910 ## Report this to the AC_PACKAGE_NAME lists. ##
20911 ## ------------------------------------------ ##
20914 sed "s/^/$as_me: WARNING: /" >&2
20917 echo "$as_me:$LINENO: checking for tclInt.h" >&5
20918 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
20919 if test "${ac_cv_header_tclInt_h+set}" = set; then
20920 echo $ECHO_N "(cached) $ECHO_C" >&6
20922 ac_cv_header_tclInt_h
=$ac_header_preproc
20924 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
20925 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
20928 if test $ac_cv_header_tclInt_h = yes; then
20929 ac_cv_c_tclh
=installed
20939 if test x
"${ac_cv_c_tclh}" = x
; then
20940 TCLHDIR
="# no Tcl private headers found"
20941 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
20942 echo "$as_me: error: Can't find Tcl private headers" >&2;}
20943 { (exit 1); exit 1; }; }
20945 if test x
"${ac_cv_c_tclh}" != x
; then
20947 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
20948 echo "$as_me:$LINENO: result: is installed" >&5
20949 echo "${ECHO_T}is installed" >&6
20952 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
20953 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
20954 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
20955 TCLHDIR
="-I${ac_cv_c_tclh}"
20963 # Ok, lets find the tk source trees so we can use the headers
20964 # If the directory (presumably symlink) named "tk" exists, use that one
20965 # in preference to any others. Same logic is used when choosing library
20966 # and again with Tcl. The search order is the best place to look first, then in
20967 # decreasing significance. The loop breaks if the trigger file is found.
20968 # Note the gross little conversion here of srcdir by cd'ing to the found
20969 # directory. This converts the path from a relative to an absolute, so
20970 # recursive cache variables for the path will work right. We check all
20971 # the possible paths in one loop rather than many seperate loops to speed
20973 # the alternative search directory is involked by --with-tkinclude
20976 echo "$as_me:$LINENO: checking for Tk private headers" >&5
20977 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
20979 # Check whether --with-tkinclude or --without-tkinclude was given.
20980 if test "${with_tkinclude+set}" = set; then
20981 withval
="$with_tkinclude"
20982 with_tkinclude
=${withval}
20984 if test "${ac_cv_c_tkh+set}" = set; then
20985 echo $ECHO_N "(cached) $ECHO_C" >&6
20988 # first check to see if --with-tkinclude was specified
20989 if test x
"${with_tkinclude}" != x
; then
20990 if test -f ${with_tkinclude}/tk.h
; then
20991 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
20992 elif test -f ${with_tkinclude}/generic
/tk.h
; then
20993 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
20995 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
20996 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
20997 { (exit 1); exit 1; }; }
21001 # next check if it came with Tk configuration file
21002 if test x
"${ac_cv_c_tkconfig}" = x
; then
21003 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
21004 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
21008 # next check in private source directory
21010 # since ls returns lowest version numbers first, reverse its output
21011 if test x
"${ac_cv_c_tkh}" = x
; then
21014 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
21015 ${srcdir}/..
/..
/tk \
21016 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
21017 ${srcdir}/..
/..
/..
/tk \
21018 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
21019 if test -f $i/generic
/tk.h
; then
21020 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
21025 # finally check in a few common install locations
21027 # since ls returns lowest version numbers first, reverse its output
21028 if test x
"${ac_cv_c_tkh}" = x
; then
21030 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
21031 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
21032 /usr
/local
/src
/tk \
21033 /usr
/local
/lib
/tk \
21034 ${prefix}/include
; do
21035 if test -f $i/generic
/tk.h
; then
21036 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
21041 # see if one is installed
21042 if test x
"${ac_cv_c_tkh}" = x
; then
21043 if test "${ac_cv_header_tk_h+set}" = set; then
21044 echo "$as_me:$LINENO: checking for tk.h" >&5
21045 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
21046 if test "${ac_cv_header_tk_h+set}" = set; then
21047 echo $ECHO_N "(cached) $ECHO_C" >&6
21049 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
21050 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
21052 # Is the header compilable?
21053 echo "$as_me:$LINENO: checking tk.h usability" >&5
21054 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
21055 cat >conftest.
$ac_ext <<_ACEOF
21058 cat confdefs.h
>>conftest.
$ac_ext
21059 cat >>conftest.
$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 $ac_includes_default
21064 rm -f conftest.
$ac_objext
21065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21066 (eval $ac_compile) 2>conftest.er1
21068 grep -v '^ *+' conftest.er1
>conftest.err
21070 cat conftest.err
>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } &&
21073 { ac_try
='test -z "$ac_c_werror_flag"
21074 || test ! -s conftest.err'
21075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21076 (eval $ac_try) 2>&5
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); }; } &&
21080 { ac_try
='test -s conftest.$ac_objext'
21081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21082 (eval $ac_try) 2>&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); }; }; then
21086 ac_header_compiler
=yes
21088 echo "$as_me: failed program was:" >&5
21089 sed 's/^/| /' conftest.
$ac_ext >&5
21091 ac_header_compiler
=no
21093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21095 echo "${ECHO_T}$ac_header_compiler" >&6
21097 # Is the header present?
21098 echo "$as_me:$LINENO: checking tk.h presence" >&5
21099 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
21100 cat >conftest.
$ac_ext <<_ACEOF
21103 cat confdefs.h
>>conftest.
$ac_ext
21104 cat >>conftest.
$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21109 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21111 grep -v '^ *+' conftest.er1
>conftest.err
21113 cat conftest.err
>&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); } >/dev
/null
; then
21116 if test -s conftest.err
; then
21117 ac_cpp_err
=$ac_c_preproc_warn_flag
21118 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21125 if test -z "$ac_cpp_err"; then
21126 ac_header_preproc
=yes
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.
$ac_ext >&5
21131 ac_header_preproc
=no
21133 rm -f conftest.err conftest.
$ac_ext
21134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21135 echo "${ECHO_T}$ac_header_preproc" >&6
21137 # So? What about this header?
21138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21140 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
21141 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21142 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
21143 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
21144 ac_header_preproc
=yes
21147 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
21148 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
21149 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
21150 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
21151 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
21152 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
21153 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
21154 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
21155 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
21156 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
21157 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
21158 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
21161 ## ------------------------------------------ ##
21162 ## Report this to the AC_PACKAGE_NAME lists. ##
21163 ## ------------------------------------------ ##
21166 sed "s/^/$as_me: WARNING: /" >&2
21169 echo "$as_me:$LINENO: checking for tk.h" >&5
21170 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
21171 if test "${ac_cv_header_tk_h+set}" = set; then
21172 echo $ECHO_N "(cached) $ECHO_C" >&6
21174 ac_cv_header_tk_h
=$ac_header_preproc
21176 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
21177 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
21180 if test $ac_cv_header_tk_h = yes; then
21181 ac_cv_c_tkh
=installed
21191 if test x
"${ac_cv_c_tkh}" != x
; then
21193 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
21194 echo "$as_me:$LINENO: result: is installed" >&5
21195 echo "${ECHO_T}is installed" >&6
21198 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
21199 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
21200 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
21201 TKHDIR
="-I${ac_cv_c_tkh}"
21204 TKHDIR
="# no Tk directory found"
21205 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
21206 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
21213 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
21214 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
21215 if test x
"${ac_cv_c_itclh}" = x
; then
21216 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
21217 if test -f $i/generic
/itcl.h
; then
21218 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
21223 if test x
"${ac_cv_c_itclh}" = x
; then
21224 ITCLHDIR
="# no Itcl private headers found"
21225 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
21226 echo "$as_me: error: Can't find Itcl private headers" >&2;}
21227 { (exit 1); exit 1; }; }
21229 if test x
"${ac_cv_c_itclh}" != x
; then
21230 ITCLHDIR
="-I${ac_cv_c_itclh}"
21232 # should always be here
21233 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
21238 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
21239 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
21240 if test x
"${ac_cv_c_itkh}" = x
; then
21241 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
21242 if test -f $i/generic
/itk.h
; then
21243 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
21248 if test x
"${ac_cv_c_itkh}" = x
; then
21249 ITKHDIR
="# no Itk private headers found"
21250 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
21251 echo "$as_me: error: Can't find Itk private headers" >&2;}
21252 { (exit 1); exit 1; }; }
21254 if test x
"${ac_cv_c_itkh}" != x
; then
21255 ITKHDIR
="-I${ac_cv_c_itkh}"
21257 # should always be here
21258 # ITKLIB="../itcl/itk/unix/libitk.a"
21264 # now look for Tk library stuff
21266 tkdir
="../tk/${configdir}/"
21268 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
21270 # now look for Itcl library stuff
21274 # Ok, lets find the itcl configuration
21275 # First, look for one uninstalled.
21276 # the alternative search directory is invoked by --with-itclconfig
21279 if test x
"${no_itcl}" = x
; then
21280 # we reset no_itcl in case something fails here
21283 # Check whether --with-itclconfig or --without-itclconfig was given.
21284 if test "${with_itclconfig+set}" = set; then
21285 withval
="$with_itclconfig"
21286 with_itclconfig
=${withval}
21288 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
21289 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
21290 if test "${ac_cv_c_itclconfig+set}" = set; then
21291 echo $ECHO_N "(cached) $ECHO_C" >&6
21295 # First check to see if --with-itclconfig was specified.
21296 if test x
"${with_itclconfig}" != x
; then
21297 if test -f "${with_itclconfig}/itclConfig.sh" ; then
21298 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
21300 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
21301 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
21302 { (exit 1); exit 1; }; }
21306 # then check for a private Itcl library
21307 if test x
"${ac_cv_c_itclconfig}" = x
; then
21310 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
21312 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
21314 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
21315 if test -f "$i/itclConfig.sh" ; then
21316 ac_cv_c_itclconfig
=`(cd $i; pwd)`
21321 # check in a few common install locations
21322 if test x
"${ac_cv_c_itclconfig}" = x
; then
21323 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
21324 if test -f "$i/itclConfig.sh" ; then
21325 ac_cv_c_itclconfig
=`(cd $i; pwd)`
21330 # check in a few other private locations
21331 if test x
"${ac_cv_c_itclconfig}" = x
; then
21333 ${srcdir}/..
/itcl
/itcl \
21334 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
21335 if test -f "$i/itclConfig.sh" ; then
21336 ac_cv_c_itclconfig
=`(cd $i; pwd)`
21344 if test x
"${ac_cv_c_itclconfig}" = x
; then
21345 ITCLCONFIG
="# no Itcl configs found"
21346 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
21347 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
21350 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
21351 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
21352 echo "${ECHO_T}found $ITCLCONFIG" >&6
21356 if test -z "${no_itcl}"; then
21358 if test -f "$ITCLCONFIG" ; then
21373 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
21374 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
21378 # now look for Itk library stuff
21381 # Ok, lets find the itk configuration
21382 # First, look for one uninstalled.
21383 # the alternative search directory is invoked by --with-itkconfig
21386 if test x
"${no_itk}" = x
; then
21387 # we reset no_itk in case something fails here
21390 # Check whether --with-itkconfig or --without-itkconfig was given.
21391 if test "${with_itkconfig+set}" = set; then
21392 withval
="$with_itkconfig"
21393 with_itkconfig
=${withval}
21395 echo "$as_me:$LINENO: checking for Itk configuration" >&5
21396 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
21397 if test "${ac_cv_c_itkconfig+set}" = set; then
21398 echo $ECHO_N "(cached) $ECHO_C" >&6
21402 # First check to see if --with-itkconfig was specified.
21403 if test x
"${with_itkconfig}" != x
; then
21404 if test -f "${with_itkconfig}/itkConfig.sh" ; then
21405 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
21407 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
21408 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
21409 { (exit 1); exit 1; }; }
21413 # then check for a private Itk library
21414 if test x
"${ac_cv_c_itkconfig}" = x
; then
21417 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
21419 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
21421 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
21422 if test -f "$i/itkConfig.sh" ; then
21423 ac_cv_c_itkconfig
=`(cd $i; pwd)`
21428 # check in a few common install locations
21429 if test x
"${ac_cv_c_itkconfig}" = x
; then
21430 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
21431 if test -f "$i/itkConfig.sh" ; then
21432 ac_cv_c_itkconfig
=`(cd $i; pwd)`
21437 # check in a few other private locations
21438 if test x
"${ac_cv_c_itkconfig}" = x
; then
21440 ${srcdir}/..
/itcl
/itk \
21441 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
21442 if test -f "$i/itkConfig.sh" ; then
21443 ac_cv_c_itkconfig
=`(cd $i; pwd)`
21451 if test x
"${ac_cv_c_itkconfig}" = x
; then
21452 ITKCONFIG
="# no Itk configs found"
21453 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
21454 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
21457 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
21458 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
21459 echo "${ECHO_T}found $ITKCONFIG" >&6
21464 if test -z "${no_itcl}"; then
21466 if test -f "$ITKCONFIG" ; then
21481 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
21482 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
21485 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
21487 # Include some libraries that Tcl and Tk want.
21488 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
21489 # Yes, the ordering seems wrong here. But it isn't.
21490 # TK_LIBS is the list of libraries that need to be linked
21491 # after Tcl/Tk. Note that this isn't put into LIBS. If it
21492 # were in LIBS then any link tests after this point would
21493 # try to include things like `$(LIBGUI)', which wouldn't work.
21494 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
21496 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
21497 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
21498 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
21499 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
21500 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
21501 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
21502 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
21504 if test x
$gdb_cv_os_cygwin = xyes
; then
21505 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
21506 WIN32LDAPP
="-Wl,--subsystem,console"
21507 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
21514 subdirs
="$subdirs gdbtk"
21531 echo "$as_me:$LINENO: checking for X" >&5
21532 echo $ECHO_N "checking for X... $ECHO_C" >&6
21535 # Check whether --with-x or --without-x was given.
21536 if test "${with_x+set}" = set; then
21540 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21541 if test "x$with_x" = xno
; then
21542 # The user explicitly disabled X.
21545 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21546 # Both variables are already set.
21549 if test "${ac_cv_have_x+set}" = set; then
21550 echo $ECHO_N "(cached) $ECHO_C" >&6
21552 # One or both of the vars are not set, and there is no cached value.
21553 ac_x_includes
=no ac_x_libraries
=no
21554 rm -fr conftest.dir
21555 if mkdir conftest.dir
; then
21557 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21558 cat >Imakefile
<<'_ACEOF'
21560 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21562 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21563 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21564 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21565 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21566 for ac_extension
in a so sl
; do
21567 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21568 test -f $ac_im_libdir/libX11.
$ac_extension; then
21569 ac_im_usrlibdir
=$ac_im_libdir; break
21572 # Screen out bogus values from the imake configuration. They are
21573 # bogus both because they are the default anyway, and because
21574 # using them would break gcc on systems where it needs fixed includes.
21575 case $ac_im_incroot in
21577 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21579 case $ac_im_usrlibdir in
21580 /usr
/lib |
/lib
) ;;
21581 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21585 rm -fr conftest.dir
21588 # Standard set of common directories for X headers.
21589 # Check X11 before X11Rn because it is often a symlink to the current release.
21601 /usr/local/X11/include
21602 /usr/local/X11R6/include
21603 /usr/local/X11R5/include
21604 /usr/local/X11R4/include
21606 /usr/local/include/X11
21607 /usr/local/include/X11R6
21608 /usr/local/include/X11R5
21609 /usr/local/include/X11R4
21613 /usr/XFree86/include/X11
21617 /usr/unsupported/include
21618 /usr/athena/include
21619 /usr/local/x11r5/include
21620 /usr/lpp/Xamples/include
21622 /usr/openwin/include
21623 /usr/openwin/share/include'
21625 if test "$ac_x_includes" = no
; then
21626 # Guess where to find include files, by looking for Intrinsic.h.
21627 # First, try using that file with no special directory specified.
21628 cat >conftest.
$ac_ext <<_ACEOF
21631 cat confdefs.h
>>conftest.
$ac_ext
21632 cat >>conftest.
$ac_ext <<_ACEOF
21633 /* end confdefs.h. */
21634 #include <X11/Intrinsic.h>
21636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21639 grep -v '^ *+' conftest.er1
>conftest.err
21641 cat conftest.err
>&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } >/dev
/null
; then
21644 if test -s conftest.err
; then
21645 ac_cpp_err
=$ac_c_preproc_warn_flag
21646 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21653 if test -z "$ac_cpp_err"; then
21654 # We can compile using X headers with no special include directory.
21657 echo "$as_me: failed program was:" >&5
21658 sed 's/^/| /' conftest.
$ac_ext >&5
21660 for ac_dir
in $ac_x_header_dirs; do
21661 if test -r "$ac_dir/X11/Intrinsic.h"; then
21662 ac_x_includes
=$ac_dir
21667 rm -f conftest.err conftest.
$ac_ext
21668 fi # $ac_x_includes = no
21670 if test "$ac_x_libraries" = no
; then
21671 # Check for the libraries.
21672 # See if we find them without any special options.
21673 # Don't add to $LIBS permanently.
21676 cat >conftest.
$ac_ext <<_ACEOF
21679 cat confdefs.h
>>conftest.
$ac_ext
21680 cat >>conftest.
$ac_ext <<_ACEOF
21681 /* end confdefs.h. */
21682 #include <X11/Intrinsic.h>
21691 rm -f conftest.
$ac_objext conftest
$ac_exeext
21692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21693 (eval $ac_link) 2>conftest.er1
21695 grep -v '^ *+' conftest.er1
>conftest.err
21697 cat conftest.err
>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); } &&
21700 { ac_try
='test -z "$ac_c_werror_flag"
21701 || test ! -s conftest.err'
21702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21703 (eval $ac_try) 2>&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); }; } &&
21707 { ac_try
='test -s conftest$ac_exeext'
21708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709 (eval $ac_try) 2>&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; }; then
21714 # We can link X programs with no special library path.
21717 echo "$as_me: failed program was:" >&5
21718 sed 's/^/| /' conftest.
$ac_ext >&5
21721 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21723 # Don't even attempt the hair of trying to link an X program!
21724 for ac_extension
in a so sl
; do
21725 if test -r $ac_dir/libXt.
$ac_extension; then
21726 ac_x_libraries
=$ac_dir
21732 rm -f conftest.err conftest.
$ac_objext \
21733 conftest
$ac_exeext conftest.
$ac_ext
21734 fi # $ac_x_libraries = no
21736 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
21737 # Didn't find X anywhere. Cache the known absence of X.
21738 ac_cv_have_x
="have_x=no"
21740 # Record where we found X for the cache.
21741 ac_cv_have_x
="have_x=yes \
21742 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21747 eval "$ac_cv_have_x"
21750 if test "$have_x" != yes; then
21751 echo "$as_me:$LINENO: result: $have_x" >&5
21752 echo "${ECHO_T}$have_x" >&6
21755 # If each of the values was on the command line, it overrides each guess.
21756 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21757 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21758 # Update the cache value to reflect the command line values.
21759 ac_cv_have_x
="have_x=yes \
21760 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21761 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21762 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21766 # Check whether we should enable the TUI, but only do so if we really
21768 if test x
"$enable_tui" = xyes
; then
21769 if test -d $srcdir/tui
; then
21770 if test "$ac_cv_search_waddstr" != no
; then
21771 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
21772 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
21773 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
21774 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
21775 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
21776 CONFIG_ALL
="${CONFIG_ALL} all-tui"
21777 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
21778 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
21779 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
21781 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
21782 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
21787 # Unlike the sim directory, whether a simulator is linked is controlled by
21788 # presence of a SIM= and a SIM_OBS= definition in the target '.mt' file.
21789 # This code just checks for a few cases where we'd like to ignore those
21790 # definitions, even when they're present in the '.mt' file. These cases
21791 # are when --disable-sim is specified, or if the simulator directory is
21792 # not part of the source tree.
21794 # Check whether --enable-sim or --disable-sim was given.
21795 if test "${enable_sim+set}" = set; then
21796 enableval
="$enable_sim"
21797 echo "enable_sim = $enable_sim";
21798 echo "enableval = ${enableval}";
21799 case "${enableval}" in
21800 yes) ignore_sim
=false
;;
21801 no
) ignore_sim
=true
;;
21802 *) ignore_sim
=false
;;
21808 if test ! -d "${srcdir}/../sim"; then
21812 if test "${ignore_sim}" = "true"; then
21814 IGNORE_SIM_OBS
="SIM_OBS="
21819 cat >>confdefs.h
<<\_ACEOF
21838 # List of host floatformats.
21840 cat >>confdefs.h
<<_ACEOF
21841 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
21845 cat >>confdefs.h
<<_ACEOF
21846 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
21850 cat >>confdefs.h
<<_ACEOF
21851 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
21855 # target_subdir is used by the testsuite to find the target libraries.
21857 if test "${host}" != "${target}"; then
21858 target_subdir
="${target_alias}/"
21863 if test "${target}" = "${host}"; then
21864 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
21865 if test ! -f ${host_makefile_frag}; then
21866 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
21867 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
21868 { (exit 1); exit 1; }; }
21870 frags
="$frags $host_makefile_frag"
21872 host_makefile_frag
=/dev
/null
21875 target_makefile_frag
=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
21876 if test ! -f ${target_makefile_frag}; then
21877 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support target ${target}\"" >&5
21878 echo "$as_me: error: \"*** Gdb does not support target ${target}\"" >&2;}
21879 { (exit 1); exit 1; }; }
21881 frags
="$frags $target_makefile_frag"
21888 s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21889 ' ${host_makefile_frag}`
21891 targetfile
=`sed -n '
21892 s/DEPRECATED_TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21893 ' ${target_makefile_frag}`
21895 if test "${target}" = "${host}"; then
21896 # We pick this up from the host configuration file (.mh) because we
21897 # do not have a native configuration Makefile fragment.
21898 nativefile
=`sed -n '
21899 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21900 ' ${host_makefile_frag}`
21904 if test x
"${gdb_osabi}" != x
; then
21906 cat >>confdefs.h
<<_ACEOF
21907 #define GDB_OSABI_DEFAULT $gdb_osabi
21912 # Enable multi-ice-gdb-server.
21913 # Check whether --enable-multi-ice or --disable-multi-ice was given.
21914 if test "${enable_multi_ice+set}" = set; then
21915 enableval
="$enable_multi_ice"
21919 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
21920 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
21921 { (exit 1); exit 1; }; } ;;
21924 if test "x$enable_multi_ice" = xyes
; then
21927 subdirs
="$subdirs multi-ice"
21931 # We only build gdbserver automatically if host and target are the same.
21932 if test "x$target" = "x$host"; then
21933 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
21934 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
21935 if test "x$build_gdbserver" = xyes
; then
21936 echo "$as_me:$LINENO: result: yes" >&5
21937 echo "${ECHO_T}yes" >&6
21940 subdirs
="$subdirs gdbserver"
21943 echo "$as_me:$LINENO: result: no" >&5
21944 echo "${ECHO_T}no" >&6
21948 # If hostfile (XM_FILE) and/or targetfile (DEPRECATED_TM_FILE) and/or
21949 # nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
21950 # to an empty version.
21957 if test "${hostfile}" != ""; then
21959 case "${hostfile}" in
21960 xm-
*.h
) GDB_XM_FILE
="config/${gdb_host_cpu}/${hostfile}" ;;
21961 * ) GDB_XM_FILE
="${hostfile}"
21963 files
="${files} ${GDB_XM_FILE}"
21964 links
="${links} xm.h"
21966 cat >>confdefs.h
<<_ACEOF
21967 #define GDB_XM_FILE "${GDB_XM_FILE}"
21975 if test "${targetfile}" != ""; then
21977 case "${targetfile}" in
21978 tm-
*.h
) GDB_TM_FILE
="config/${gdb_target_cpu}/${targetfile}" ;;
21979 * ) GDB_TM_FILE
="${targetfile}"
21981 files
="${files} ${GDB_TM_FILE}"
21982 links
="${links} tm.h"
21984 cat >>confdefs.h
<<_ACEOF
21985 #define GDB_TM_FILE "${GDB_TM_FILE}"
21993 if test "${nativefile}" != ""; then
21995 case "${nativefile}" in
21996 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
21997 * ) GDB_NM_FILE
="${nativefile}"
21999 files
="${files} ${GDB_NM_FILE}"
22000 links
="${links} nm.h"
22002 cat >>confdefs.h
<<_ACEOF
22003 #define GDB_NM_FILE "${GDB_NM_FILE}"
22009 ac_sources
="$files"
22011 while test -n "$ac_sources"; do
22012 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
22013 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
22014 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
22016 ac_config_links
="$ac_config_links $ac_config_links_1"
22023 cat >>confdefs.h
<<\_ACEOF
22024 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
22031 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
22032 if test "${with_libiconv_prefix+set}" = set; then
22033 withval
="$with_libiconv_prefix"
22035 for dir
in `echo "$withval" | tr : ' '`; do
22036 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
22037 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
22042 echo "$as_me:$LINENO: checking for iconv" >&5
22043 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
22044 if test "${am_cv_func_iconv+set}" = set; then
22045 echo $ECHO_N "(cached) $ECHO_C" >&6
22048 am_cv_func_iconv
="no, consider installing GNU libiconv"
22050 cat >conftest.
$ac_ext <<_ACEOF
22053 cat confdefs.h
>>conftest.
$ac_ext
22054 cat >>conftest.
$ac_ext <<_ACEOF
22055 /* end confdefs.h. */
22056 #include <stdlib.h>
22061 iconv_t cd = iconv_open("","");
22062 iconv(cd,NULL,NULL,NULL,NULL);
22068 rm -f conftest.
$ac_objext conftest
$ac_exeext
22069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22070 (eval $ac_link) 2>conftest.er1
22072 grep -v '^ *+' conftest.er1
>conftest.err
22074 cat conftest.err
>&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } &&
22077 { ac_try
='test -z "$ac_c_werror_flag"
22078 || test ! -s conftest.err'
22079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22080 (eval $ac_try) 2>&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); }; } &&
22084 { ac_try
='test -s conftest$ac_exeext'
22085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22086 (eval $ac_try) 2>&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); }; }; then
22090 am_cv_func_iconv
=yes
22092 echo "$as_me: failed program was:" >&5
22093 sed 's/^/| /' conftest.
$ac_ext >&5
22096 rm -f conftest.err conftest.
$ac_objext \
22097 conftest
$ac_exeext conftest.
$ac_ext
22098 if test "$am_cv_func_iconv" != yes; then
22099 am_save_LIBS
="$LIBS"
22100 LIBS
="$LIBS -liconv"
22101 cat >conftest.
$ac_ext <<_ACEOF
22104 cat confdefs.h
>>conftest.
$ac_ext
22105 cat >>conftest.
$ac_ext <<_ACEOF
22106 /* end confdefs.h. */
22107 #include <stdlib.h>
22112 iconv_t cd = iconv_open("","");
22113 iconv(cd,NULL,NULL,NULL,NULL);
22119 rm -f conftest.
$ac_objext conftest
$ac_exeext
22120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22121 (eval $ac_link) 2>conftest.er1
22123 grep -v '^ *+' conftest.er1
>conftest.err
22125 cat conftest.err
>&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); } &&
22128 { ac_try
='test -z "$ac_c_werror_flag"
22129 || test ! -s conftest.err'
22130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22131 (eval $ac_try) 2>&5
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); }; } &&
22135 { ac_try
='test -s conftest$ac_exeext'
22136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22137 (eval $ac_try) 2>&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); }; }; then
22141 am_cv_lib_iconv
=yes
22142 am_cv_func_iconv
=yes
22144 echo "$as_me: failed program was:" >&5
22145 sed 's/^/| /' conftest.
$ac_ext >&5
22148 rm -f conftest.err conftest.
$ac_objext \
22149 conftest
$ac_exeext conftest.
$ac_ext
22150 LIBS
="$am_save_LIBS"
22154 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22155 echo "${ECHO_T}$am_cv_func_iconv" >&6
22156 if test "$am_cv_func_iconv" = yes; then
22158 cat >>confdefs.h
<<\_ACEOF
22159 #define HAVE_ICONV 1
22162 echo "$as_me:$LINENO: checking for iconv declaration" >&5
22163 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
22164 if test "${am_cv_proto_iconv+set}" = set; then
22165 echo $ECHO_N "(cached) $ECHO_C" >&6
22168 cat >conftest.
$ac_ext <<_ACEOF
22171 cat confdefs.h
>>conftest.
$ac_ext
22172 cat >>conftest.
$ac_ext <<_ACEOF
22173 /* end confdefs.h. */
22175 #include <stdlib.h>
22181 #if defined(__STDC__) || defined(__cplusplus)
22182 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22195 rm -f conftest.
$ac_objext
22196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22197 (eval $ac_compile) 2>conftest.er1
22199 grep -v '^ *+' conftest.er1
>conftest.err
22201 cat conftest.err
>&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); } &&
22204 { ac_try
='test -z "$ac_c_werror_flag"
22205 || test ! -s conftest.err'
22206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22207 (eval $ac_try) 2>&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); }; } &&
22211 { ac_try
='test -s conftest.$ac_objext'
22212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22213 (eval $ac_try) 2>&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); }; }; then
22217 am_cv_proto_iconv_arg1
=""
22219 echo "$as_me: failed program was:" >&5
22220 sed 's/^/| /' conftest.
$ac_ext >&5
22222 am_cv_proto_iconv_arg1
="const"
22224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22225 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);"
22228 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22229 echo "$as_me:$LINENO: result: ${ac_t:-
22230 }$am_cv_proto_iconv" >&5
22231 echo "${ECHO_T}${ac_t:-
22232 }$am_cv_proto_iconv" >&6
22234 cat >>confdefs.h
<<_ACEOF
22235 #define ICONV_CONST $am_cv_proto_iconv_arg1
22240 if test "$am_cv_lib_iconv" = yes; then
22246 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in"
22247 ac_config_commands
="$ac_config_commands default"
22248 cat >confcache
<<\_ACEOF
22249 # This file is a shell script that caches the results of configure
22250 # tests run on this system so they can be shared between configure
22251 # scripts and configure runs, see configure's option --config-cache.
22252 # It is not useful on other systems. If it contains results you don't
22253 # want to keep, you may remove or edit it.
22255 # config.status only pays attention to the cache file if you give it
22256 # the --recheck option to rerun configure.
22258 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22259 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22260 # following values.
22264 # The following way of writing the cache mishandles newlines in values,
22265 # but we know of no workaround that is simple, portable, and efficient.
22266 # So, don't put newlines in cache variables' values.
22267 # Ultrix sh set writes to stderr and can't be redirected directly,
22268 # and sets the high bit in the cache file unless we assign to the vars.
22271 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22273 # `set' does not quote correctly, so add quotes (double-quote
22274 # substitution turns \\\\ into \\, and sed turns \\ into \).
22277 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22280 # `set' quotes correctly as required by POSIX, so do not add quotes.
22282 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22289 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22291 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22293 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22294 if test -w $cache_file; then
22295 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22296 cat confcache
>$cache_file
22298 echo "not updating unwritable cache $cache_file"
22303 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22304 # Let make expand exec_prefix.
22305 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22307 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22308 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22309 # trailing colons and then remove the whole line if VPATH becomes empty
22310 # (actually we leave an empty line to preserve line numbers).
22311 if test "x$srcdir" = x.
; then
22312 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22313 s/:*\$(srcdir):*/:/;
22314 s/:*\${srcdir}:*/:/;
22316 s/^\([^=]*=[ ]*\):*/\1/;
22322 DEFS
=-DHAVE_CONFIG_H
22326 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22327 # 1. Remove the extension, and $U if already installed.
22328 ac_i
=`echo "$ac_i" |
22329 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22331 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22332 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22334 LIBOBJS
=$ac_libobjs
22336 LTLIBOBJS
=$ac_ltlibobjs
22339 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22340 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22341 Usually this means the macro was only invoked conditionally." >&5
22342 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22343 Usually this means the macro was only invoked conditionally." >&2;}
22344 { (exit 1); exit 1; }; }
22347 : ${CONFIG_STATUS=./config.status}
22348 ac_clean_files_save
=$ac_clean_files
22349 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22350 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22351 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22352 cat >$CONFIG_STATUS <<_ACEOF
22354 # Generated by $as_me.
22355 # Run this file to recreate the current configuration.
22356 # Compiler output produced by configure, useful for debugging
22357 # configure, is in config.log if it exists.
22360 ac_cs_recheck=false
22362 SHELL=\${CONFIG_SHELL-$SHELL}
22365 cat >>$CONFIG_STATUS <<\_ACEOF
22366 ## --------------------- ##
22367 ## M4sh Initialization. ##
22368 ## --------------------- ##
22370 # Be Bourne compatible
22371 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22374 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22375 # is contrary to our usage. Disable this feature.
22376 alias -g '${1+"$@"}'='"$@"'
22377 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22380 DUALCASE
=1; export DUALCASE
# for MKS sh
22382 # Support unset when possible.
22383 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22390 # Work around bugs in pre-3.0 UWIN ksh.
22391 $as_unset ENV MAIL MAILPATH
22398 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22399 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22400 LC_TELEPHONE LC_TIME
22402 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22403 eval $as_var=C
; export $as_var
22409 # Required to use basename.
22410 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22416 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22417 as_basename
=basename
22423 # Name of the executable.
22424 as_me
=`$as_basename "$0" ||
22425 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22426 X"$0" : 'X\(//\)$' \| \
22427 X"$0" : 'X\(/\)$' \| \
22428 . : '\(.\)' 2>/dev/null ||
22430 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22431 /^X\/\(\/\/\)$/{ s//\1/; q; }
22432 /^X\/\(\/\).*/{ s//\1/; q; }
22436 # PATH needs CR, and LINENO needs CR and PATH.
22437 # Avoid depending upon Character Ranges.
22438 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22439 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22440 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22441 as_cr_digits
='0123456789'
22442 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22444 # The user is always right.
22445 if test "${PATH_SEPARATOR+set}" != set; then
22446 echo "#! /bin/sh" >conf$$.sh
22447 echo "exit 0" >>conf$$.sh
22449 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22458 as_lineno_1
=$LINENO
22459 as_lineno_2
=$LINENO
22460 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22461 test "x$as_lineno_1" != "x$as_lineno_2" &&
22462 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22463 # Find who we are. Look in the path if we contain no path at all
22466 *[\\/]* ) as_myself
=$0 ;;
22467 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22468 for as_dir
in $PATH
22471 test -z "$as_dir" && as_dir
=.
22472 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22477 # We did not find ourselves, most probably we were run as `sh COMMAND'
22478 # in which case we are not to be found in the path.
22479 if test "x$as_myself" = x
; then
22482 if test ! -f "$as_myself"; then
22483 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22484 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22485 { (exit 1); exit 1; }; }
22487 case $CONFIG_SHELL in
22489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22490 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22493 test -z "$as_dir" && as_dir
=.
22494 for as_base
in sh bash ksh sh5
; do
22497 if ("$as_dir/$as_base" -c '
22498 as_lineno_1=$LINENO
22499 as_lineno_2=$LINENO
22500 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22501 test "x$as_lineno_1" != "x$as_lineno_2" &&
22502 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22503 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22504 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22505 CONFIG_SHELL
=$as_dir/$as_base
22506 export CONFIG_SHELL
22507 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22515 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22516 # uniformly replaced by the line number. The first 'sed' inserts a
22517 # line-number line before each line; the second 'sed' does the real
22518 # work. The second script uses 'N' to pair each line-number line
22519 # with the numbered line, and appends trailing '-' during
22520 # substitution so that $LINENO is not a special case at line end.
22521 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22522 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22523 sed '=' <$as_myself |
22528 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22531 s,^['$as_cr_digits']*\n,,
22532 ' >$as_me.lineno
&&
22533 chmod +x
$as_me.lineno ||
22534 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22535 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22536 { (exit 1); exit 1; }; }
22538 # Don't try to exec as it changes $[0], causing all sort of problems
22539 # (the dirname of $[0] is not the place where we might find the
22540 # original and so on. Autoconf is especially sensible to this).
22542 # Exit status is that of the last command.
22547 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22548 *c
*,-n*) ECHO_N
= ECHO_C
='
22550 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22551 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22554 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22560 rm -f conf$$ conf$$.exe conf$$.
file
22562 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22563 # We could just check for DJGPP; but this test a) works b) is more generic
22564 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22565 if test -f conf$$.exe
; then
22566 # Don't use ln at all; we don't have any links
22571 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22576 rm -f conf$$ conf$$.exe conf$$.
file
22578 if mkdir
-p .
2>/dev
/null
; then
22581 test -d .
/-p && rmdir .
/-p
22585 as_executable_p
="test -f"
22587 # Sed expression to map a string onto a valid CPP name.
22588 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22590 # Sed expression to map a string onto a valid variable name.
22591 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22595 # We need space, tab and new line, in precisely that order.
22605 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22606 # report actual input values of CONFIG_FILES etc. instead of their
22607 # values after options handling. Logging --version etc. is OK.
22611 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22612 ## Running $as_me. ##
22617 This file was extended by $as_me, which was
22618 generated by GNU Autoconf 2.59. Invocation command line was
22620 CONFIG_FILES = $CONFIG_FILES
22621 CONFIG_HEADERS = $CONFIG_HEADERS
22622 CONFIG_LINKS = $CONFIG_LINKS
22623 CONFIG_COMMANDS = $CONFIG_COMMANDS
22627 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22631 # Files that config.status was made for.
22632 if test -n "$ac_config_files"; then
22633 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22636 if test -n "$ac_config_headers"; then
22637 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22640 if test -n "$ac_config_links"; then
22641 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22644 if test -n "$ac_config_commands"; then
22645 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22648 cat >>$CONFIG_STATUS <<\_ACEOF
22651 \`$as_me' instantiates files from templates according to the
22652 current configuration.
22654 Usage: $0 [OPTIONS] [FILE]...
22656 -h, --help print this help, then exit
22657 -V, --version print version number, then exit
22658 -q, --quiet do not print progress messages
22659 -d, --debug don't remove temporary files
22660 --recheck update $as_me by reconfiguring in the same conditions
22661 --file=FILE[:TEMPLATE]
22662 instantiate the configuration file FILE
22663 --header=FILE[:TEMPLATE]
22664 instantiate the configuration header FILE
22666 Configuration files:
22669 Configuration headers:
22672 Configuration links:
22675 Configuration commands:
22678 Report bugs to <bug-autoconf@gnu.org>."
22681 cat >>$CONFIG_STATUS <<_ACEOF
22684 configured by $0, generated by GNU Autoconf 2.59,
22685 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22687 Copyright (C) 2003 Free Software Foundation, Inc.
22688 This config.status script is free software; the Free Software Foundation
22689 gives unlimited permission to copy, distribute and modify it."
22694 cat >>$CONFIG_STATUS <<\_ACEOF
22695 # If no file are specified by the user, then we need to provide default
22696 # value. By we need to know if files were specified by the user.
22702 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22703 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22711 *) # This is not an option, so the user has probably given explicit
22714 ac_need_defaults
=false
;;
22718 # Handling of the options.
22720 cat >>$CONFIG_STATUS <<\_ACEOF
22721 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22723 --version |
--vers* |
-V )
22724 echo "$ac_cs_version"; exit 0 ;;
22726 # Conflict between --help and --header
22727 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22728 Try \`$0 --help' for more information." >&5
22729 echo "$as_me: error: ambiguous option: $1
22730 Try \`$0 --help' for more information." >&2;}
22731 { (exit 1); exit 1; }; };;
22732 --help |
--hel |
-h )
22733 echo "$ac_cs_usage"; exit 0 ;;
22734 --debug |
--d* |
-d )
22736 --file |
--fil |
--fi |
--f )
22738 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22739 ac_need_defaults
=false
;;
22740 --header |
--heade |
--head |
--hea )
22742 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22743 ac_need_defaults
=false
;;
22744 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22745 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22748 # This is an error.
22749 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22750 Try \`$0 --help' for more information." >&5
22751 echo "$as_me: error: unrecognized option: $1
22752 Try \`$0 --help' for more information." >&2;}
22753 { (exit 1); exit 1; }; } ;;
22755 *) ac_config_targets
="$ac_config_targets $1" ;;
22761 ac_configure_extra_args
=
22763 if $ac_cs_silent; then
22765 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22769 cat >>$CONFIG_STATUS <<_ACEOF
22770 if \$ac_cs_recheck; then
22771 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22772 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22777 cat >>$CONFIG_STATUS <<_ACEOF
22779 # INIT-COMMANDS section.
22785 acx_cv_header_stdint="$acx_cv_header_stdint"
22786 acx_cv_type_int8_t="$acx_cv_type_int8_t"
22787 acx_cv_type_int16_t="$acx_cv_type_int16_t"
22788 acx_cv_type_int32_t="$acx_cv_type_int32_t"
22789 acx_cv_type_int64_t="$acx_cv_type_int64_t"
22790 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
22791 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
22792 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
22793 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
22794 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
22795 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
22796 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
22797 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
22798 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
22801 gdb_host_cpu=$gdb_host_cpu
22802 gdb_target_cpu=$gdb_target_cpu
22803 nativefile=$nativefile
22810 cat >>$CONFIG_STATUS <<\_ACEOF
22811 for ac_config_target
in $ac_config_targets
22813 case "$ac_config_target" in
22814 # Handling of arguments.
22815 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22816 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
22817 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
22818 "gdb_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gdb_stdint.h" ;;
22819 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
22820 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
22821 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22822 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22823 { (exit 1); exit 1; }; };;
22827 # If the user did not use the arguments to specify the items to instantiate,
22828 # then the envvar interface is used. Set only those that are not.
22829 # We use the long form for the default assignment because of an extremely
22830 # bizarre bug on SunOS 4.1.3.
22831 if $ac_need_defaults; then
22832 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22833 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22834 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
22835 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22838 # Have a temporary directory for convenience. Make it in the build tree
22839 # simply because there is no reason to put it here, and in addition,
22840 # creating and moving files from /tmp can sometimes cause problems.
22841 # Create a temporary directory, and hook for its removal unless debugging.
22844 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22845 trap '{ (exit 1); exit 1; }' 1 2 13 15
22848 # Create a (secure) tmp directory for tmp files.
22851 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22852 test -n "$tmp" && test -d "$tmp"
22855 tmp
=.
/confstat$$
-$RANDOM
22856 (umask 077 && mkdir
$tmp)
22859 echo "$me: cannot create a temporary directory in ." >&2
22860 { (exit 1); exit 1; }
22865 cat >>$CONFIG_STATUS <<_ACEOF
22868 # CONFIG_FILES section.
22871 # No need to generate the scripts if there are no CONFIG_FILES.
22872 # This happens for instance when ./config.status config.h
22873 if test -n "\$CONFIG_FILES"; then
22874 # Protect against being on the right side of a sed subst in config.status.
22875 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22876 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22877 s,@SHELL@,$SHELL,;t t
22878 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22879 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22880 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22881 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22882 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22883 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22884 s,@exec_prefix@,$exec_prefix,;t t
22885 s,@prefix@,$prefix,;t t
22886 s,@program_transform_name@,$program_transform_name,;t t
22887 s,@bindir@,$bindir,;t t
22888 s,@sbindir@,$sbindir,;t t
22889 s,@libexecdir@,$libexecdir,;t t
22890 s,@datadir@,$datadir,;t t
22891 s,@sysconfdir@,$sysconfdir,;t t
22892 s,@sharedstatedir@,$sharedstatedir,;t t
22893 s,@localstatedir@,$localstatedir,;t t
22894 s,@libdir@,$libdir,;t t
22895 s,@includedir@,$includedir,;t t
22896 s,@oldincludedir@,$oldincludedir,;t t
22897 s,@infodir@,$infodir,;t t
22898 s,@mandir@,$mandir,;t t
22899 s,@build_alias@,$build_alias,;t t
22900 s,@host_alias@,$host_alias,;t t
22901 s,@target_alias@,$target_alias,;t t
22902 s,@DEFS@,$DEFS,;t t
22903 s,@ECHO_C@,$ECHO_C,;t t
22904 s,@ECHO_N@,$ECHO_N,;t t
22905 s,@ECHO_T@,$ECHO_T,;t t
22906 s,@LIBS@,$LIBS,;t t
22907 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22908 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22909 s,@MAINT@,$MAINT,;t t
22911 s,@CFLAGS@,$CFLAGS,;t t
22912 s,@LDFLAGS@,$LDFLAGS,;t t
22913 s,@CPPFLAGS@,$CPPFLAGS,;t t
22914 s,@ac_ct_CC@,$ac_ct_CC,;t t
22915 s,@EXEEXT@,$EXEEXT,;t t
22916 s,@OBJEXT@,$OBJEXT,;t t
22918 s,@EGREP@,$EGREP,;t t
22919 s,@build@,$build,;t t
22920 s,@build_cpu@,$build_cpu,;t t
22921 s,@build_vendor@,$build_vendor,;t t
22922 s,@build_os@,$build_os,;t t
22923 s,@host@,$host,;t t
22924 s,@host_cpu@,$host_cpu,;t t
22925 s,@host_vendor@,$host_vendor,;t t
22926 s,@host_os@,$host_os,;t t
22927 s,@target@,$target,;t t
22928 s,@target_cpu@,$target_cpu,;t t
22929 s,@target_vendor@,$target_vendor,;t t
22930 s,@target_os@,$target_os,;t t
22931 s,@USE_NLS@,$USE_NLS,;t t
22932 s,@LIBINTL@,$LIBINTL,;t t
22933 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
22934 s,@INCINTL@,$INCINTL,;t t
22935 s,@XGETTEXT@,$XGETTEXT,;t t
22936 s,@GMSGFMT@,$GMSGFMT,;t t
22937 s,@POSUB@,$POSUB,;t t
22938 s,@CATALOGS@,$CATALOGS,;t t
22939 s,@DATADIRNAME@,$DATADIRNAME,;t t
22940 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
22941 s,@GENCAT@,$GENCAT,;t t
22942 s,@CATOBJEXT@,$CATOBJEXT,;t t
22943 s,@localedir@,$localedir,;t t
22944 s,@PACKAGE@,$PACKAGE,;t t
22945 s,@subdirs@,$subdirs,;t t
22947 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22948 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22949 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22950 s,@LN_S@,$LN_S,;t t
22951 s,@RANLIB@,$RANLIB,;t t
22952 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22953 s,@YACC@,$YACC,;t t
22955 s,@ac_ct_AR@,$ac_ct_AR,;t t
22956 s,@DLLTOOL@,$DLLTOOL,;t t
22957 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
22958 s,@WINDRES@,$WINDRES,;t t
22959 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
22961 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
22962 s,@ALLOCA@,$ALLOCA,;t t
22963 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
22964 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
22965 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
22966 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
22967 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
22968 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
22969 s,@WIN32LIBS@,$WIN32LIBS,;t t
22970 s,@LIBGUI@,$LIBGUI,;t t
22971 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
22972 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
22973 s,@TCL_VERSION@,$TCL_VERSION,;t t
22974 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
22975 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
22976 s,@TCL_CC@,$TCL_CC,;t t
22977 s,@TCL_DEFS@,$TCL_DEFS,;t t
22978 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
22979 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
22980 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
22981 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
22982 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
22983 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
22984 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
22985 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
22986 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
22987 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
22988 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
22989 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
22990 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
22991 s,@TK_VERSION@,$TK_VERSION,;t t
22992 s,@TK_DEFS@,$TK_DEFS,;t t
22993 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
22994 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
22995 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
22996 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
22997 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
22998 s,@TCLHDIR@,$TCLHDIR,;t t
22999 s,@TKHDIR@,$TKHDIR,;t t
23000 s,@ITCLHDIR@,$ITCLHDIR,;t t
23001 s,@ITKHDIR@,$ITKHDIR,;t t
23002 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
23003 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
23004 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
23005 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
23006 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
23007 s,@ITK_VERSION@,$ITK_VERSION,;t t
23008 s,@ITK_DEFS@,$ITK_DEFS,;t t
23009 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
23010 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
23011 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
23012 s,@X_CFLAGS@,$X_CFLAGS,;t t
23013 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
23014 s,@X_LIBS@,$X_LIBS,;t t
23015 s,@TCL_DEPS@,$TCL_DEPS,;t t
23016 s,@TK_DEPS@,$TK_DEPS,;t t
23017 s,@ITCLLIB@,$ITCLLIB,;t t
23018 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
23019 s,@ITKLIB@,$ITKLIB,;t t
23020 s,@ITK_DEPS@,$ITK_DEPS,;t t
23021 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
23022 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
23023 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
23024 s,@IGNORE_SIM@,$IGNORE_SIM,;t t
23025 s,@IGNORE_SIM_OBS@,$IGNORE_SIM_OBS,;t t
23026 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
23027 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
23028 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
23029 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
23030 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
23031 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
23032 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
23033 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
23034 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
23035 s,@target_subdir@,$target_subdir,;t t
23036 s,@frags@,$frags,;t t
23037 s,@xm_h@,$xm_h,;t t
23038 s,@tm_h@,$tm_h,;t t
23039 s,@nm_h@,$nm_h,;t t
23040 s,@LIBICONV@,$LIBICONV,;t t
23041 s,@LIBOBJS@,$LIBOBJS,;t t
23042 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23043 /@host_makefile_frag@/r $host_makefile_frag
23044 s,@host_makefile_frag@,,;t t
23045 /@target_makefile_frag@/r $target_makefile_frag
23046 s,@target_makefile_frag@,,;t t
23051 cat >>$CONFIG_STATUS <<\_ACEOF
23052 # Split the substitutions into bite-sized pieces for seds with
23053 # small command number limits, like on Digital OSF/1 and HP-UX.
23054 ac_max_sed_lines
=48
23055 ac_sed_frag
=1 # Number of current file.
23056 ac_beg
=1 # First line for current file.
23057 ac_end
=$ac_max_sed_lines # Line after last line for current file.
23060 while $ac_more_lines; do
23061 if test $ac_beg -gt 1; then
23062 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23064 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23066 if test ! -s $tmp/subs.frag
; then
23067 ac_more_lines
=false
23069 # The purpose of the label and of the branching condition is to
23070 # speed up the sed processing (if there are no `@' at all, there
23071 # is no need to browse any of the substitutions).
23072 # These are the two extra sed commands mentioned above.
23074 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
23075 if test -z "$ac_sed_cmds"; then
23076 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
23078 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23080 ac_sed_frag
=`expr $ac_sed_frag + 1`
23082 ac_end
=`expr $ac_end + $ac_max_sed_lines`
23085 if test -z "$ac_sed_cmds"; then
23088 fi # test -n "$CONFIG_FILES"
23091 cat >>$CONFIG_STATUS <<\_ACEOF
23092 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
23093 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23095 - |
*:- |
*:-:* ) # input from stdin
23097 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23098 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23099 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23100 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23101 * ) ac_file_in
=$ac_file.
in ;;
23104 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23105 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23106 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23107 X"$ac_file" : 'X\(//\)[^/]' \| \
23108 X"$ac_file" : 'X\(//\)$' \| \
23109 X"$ac_file" : 'X\(/\)' \| \
23110 . : '\(.\)' 2>/dev/null ||
23112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23114 /^X\(\/\/\)$/{ s//\1/; q; }
23115 /^X\(\/\).*/{ s//\1/; q; }
23117 { if $as_mkdir_p; then
23122 while test ! -d "$as_dir"; do
23123 as_dirs
="$as_dir $as_dirs"
23124 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23125 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23126 X"$as_dir" : 'X\(//\)[^/]' \| \
23127 X"$as_dir" : 'X\(//\)$' \| \
23128 X"$as_dir" : 'X\(/\)' \| \
23129 . : '\(.\)' 2>/dev/null ||
23131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23132 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23133 /^X\(\/\/\)$/{ s//\1/; q; }
23134 /^X\(\/\).*/{ s//\1/; q; }
23137 test ! -n "$as_dirs" || mkdir
$as_dirs
23138 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23139 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23140 { (exit 1); exit 1; }; }; }
23144 if test "$ac_dir" != .
; then
23145 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23146 # A "../" for each directory in $ac_dir_suffix.
23147 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23149 ac_dir_suffix
= ac_top_builddir
=
23153 .
) # No --srcdir option. We are building in place.
23155 if test -z "$ac_top_builddir"; then
23158 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23160 [\\/]* | ?
:[\\/]* ) # Absolute path.
23161 ac_srcdir
=$srcdir$ac_dir_suffix;
23162 ac_top_srcdir
=$srcdir ;;
23163 *) # Relative path.
23164 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23165 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23168 # Do not use `cd foo && pwd` to compute absolute paths, because
23169 # the directories may not exist.
23171 .
) ac_abs_builddir
="$ac_dir";;
23174 .
) ac_abs_builddir
=`pwd`;;
23175 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23176 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23179 case $ac_abs_builddir in
23180 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23182 case ${ac_top_builddir}.
in
23183 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23184 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23185 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23188 case $ac_abs_builddir in
23189 .
) ac_abs_srcdir
=$ac_srcdir;;
23192 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23193 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23194 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23197 case $ac_abs_builddir in
23198 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23200 case $ac_top_srcdir in
23201 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23202 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23203 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23209 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23210 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
23213 if test x
"$ac_file" != x-
; then
23214 { echo "$as_me:$LINENO: creating $ac_file" >&5
23215 echo "$as_me: creating $ac_file" >&6;}
23218 # Let's still pretend it is `configure' which instantiates (i.e., don't
23219 # use $as_me), people would be surprised to read:
23220 # /* config.h. Generated by config.status. */
23221 if test x
"$ac_file" = x-
; then
23224 configure_input
="$ac_file. "
23226 configure_input
=$configure_input"Generated from `echo $ac_file_in |
23227 sed 's,.*/,,'` by configure."
23229 # First look for the input files in the build tree, otherwise in the
23231 ac_file_inputs
=`IFS=:
23232 for f in $ac_file_in; do
23234 -) echo $tmp/stdin ;;
23236 # Absolute (can't be DOS-style, as IFS=:)
23237 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23238 echo "$as_me: error: cannot find input file: $f" >&2;}
23239 { (exit 1); exit 1; }; }
23242 if test -f "$f"; then
23245 elif test -f "$srcdir/$f"; then
23250 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23251 echo "$as_me: error: cannot find input file: $f" >&2;}
23252 { (exit 1); exit 1; }; }
23255 done` ||
{ (exit 1); exit 1; }
23257 cat >>$CONFIG_STATUS <<_ACEOF
23261 cat >>$CONFIG_STATUS <<\_ACEOF
23263 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23264 s
,@configure_input@
,$configure_input,;t t
23265 s
,@srcdir@
,$ac_srcdir,;t t
23266 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23267 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23268 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23269 s
,@builddir@
,$ac_builddir,;t t
23270 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23271 s
,@top_builddir@
,$ac_top_builddir,;t t
23272 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23273 s
,@INSTALL@
,$ac_INSTALL,;t t
23274 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23276 if test x"$ac_file" != x-; then
23277 mv $tmp/out $ac_file
23285 cat >>$CONFIG_STATUS <<\_ACEOF
23288 # CONFIG_HEADER section.
23291 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
23292 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23294 # ac_d sets the value in "#define NAME VALUE" lines.
23295 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23296 ac_dB
='[ ].*$,\1#\2'
23299 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23300 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23301 ac_uB
='$,\1#\2define\3'
23305 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
23306 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23308 - |
*:- |
*:-:* ) # input from stdin
23310 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23311 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23312 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23313 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23314 * ) ac_file_in
=$ac_file.
in ;;
23317 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
23318 echo "$as_me: creating $ac_file" >&6;}
23320 # First look for the input files in the build tree, otherwise in the
23322 ac_file_inputs
=`IFS=:
23323 for f in $ac_file_in; do
23325 -) echo $tmp/stdin ;;
23327 # Absolute (can't be DOS-style, as IFS=:)
23328 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23329 echo "$as_me: error: cannot find input file: $f" >&2;}
23330 { (exit 1); exit 1; }; }
23331 # Do quote $f, to prevent DOS paths from being IFS'd.
23334 if test -f "$f"; then
23337 elif test -f "$srcdir/$f"; then
23342 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23343 echo "$as_me: error: cannot find input file: $f" >&2;}
23344 { (exit 1); exit 1; }; }
23347 done` ||
{ (exit 1); exit 1; }
23348 # Remove the trailing spaces.
23349 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23353 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23354 # `conftest.undefs', that substitutes the proper values into
23355 # config.h.in to produce config.h. The first handles `#define'
23356 # templates, and the second `#undef' templates.
23357 # And first: Protect against being on the right side of a sed subst in
23358 # config.status. Protect against being in an unquoted here document
23359 # in config.status.
23360 rm -f conftest.defines conftest.undefs
23361 # Using a here document instead of a string reduces the quoting nightmare.
23362 # Putting comments in sed scripts is not portable.
23364 # `end' is used to avoid that the second main sed command (meant for
23365 # 0-ary CPP macros) applies to n-ary macro definitions.
23366 # See the Autoconf documentation for `clear'.
23367 cat >confdef2sed.
sed <<\_ACEOF
23372 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23374 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23377 # If some macros were called several times there might be several times
23378 # the same #defines, which is useless. Nevertheless, we may not want to
23379 # sort them, since we want the *last* AC-DEFINE to be honored.
23380 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23381 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23382 rm -f confdef2sed.sed
23384 # This sed command replaces #undef with comments. This is necessary, for
23385 # example, in the case of _POSIX_SOURCE, which is predefined and required
23386 # on some systems where configure will not decide to define it.
23387 cat >>conftest.undefs <<\_ACEOF
23388 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23391 # Break up conftest.defines because some shells have a limit on the size
23392 # of here documents, and old seds have small limits too (100 cmds).
23393 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23394 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23395 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23396 echo ' :' >>$CONFIG_STATUS
23397 rm -f conftest.tail
23398 while grep . conftest.defines >/dev/null
23400 # Write a limited-size here document to $tmp/defines.sed.
23401 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23402 # Speed up: don't consider the non `#define' lines.
23403 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23404 # Work around the forget-to-reset-the-flag bug.
23405 echo 't clr' >>$CONFIG_STATUS
23406 echo ': clr' >>$CONFIG_STATUS
23407 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23409 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23411 mv $tmp/out $tmp/in
23413 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23414 rm -f conftest.defines
23415 mv conftest.
tail conftest.defines
23417 rm -f conftest.defines
23418 echo ' fi # grep' >>$CONFIG_STATUS
23419 echo >>$CONFIG_STATUS
23421 # Break up conftest.undefs because some shells have a limit on the size
23422 # of here documents, and old seds have small limits too (100 cmds).
23423 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23424 rm -f conftest.
tail
23425 while grep . conftest.undefs
>/dev
/null
23427 # Write a limited-size here document to $tmp/undefs.sed.
23428 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23429 # Speed up: don't consider the non
`#undef'
23430 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23431 # Work around the forget-to-reset-the-flag bug.
23432 echo 't clr' >>$CONFIG_STATUS
23433 echo ': clr' >>$CONFIG_STATUS
23434 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23436 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23438 mv $tmp/out $tmp/in
23440 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23441 rm -f conftest.undefs
23442 mv conftest.tail conftest.undefs
23444 rm -f conftest.undefs
23446 cat >>$CONFIG_STATUS <<\_ACEOF
23447 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23448 # use $as_me), people would be surprised to read:
23449 # /* config.h. Generated by config.status. */
23450 if test x
"$ac_file" = x-
; then
23451 echo "/* Generated by configure. */" >$tmp/config.h
23453 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23455 cat $tmp/in >>$tmp/config.h
23457 if test x
"$ac_file" != x-
; then
23458 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23459 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23460 echo "$as_me: $ac_file is unchanged" >&6;}
23462 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23463 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23464 X"$ac_file" : 'X\(//\)[^/]' \| \
23465 X"$ac_file" : 'X\(//\)$' \| \
23466 X"$ac_file" : 'X\(/\)' \| \
23467 . : '\(.\)' 2>/dev/null ||
23469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23470 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23471 /^X\(\/\/\)$/{ s//\1/; q; }
23472 /^X\(\/\).*/{ s//\1/; q; }
23474 { if $as_mkdir_p; then
23479 while test ! -d "$as_dir"; do
23480 as_dirs
="$as_dir $as_dirs"
23481 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23482 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23483 X"$as_dir" : 'X\(//\)[^/]' \| \
23484 X"$as_dir" : 'X\(//\)$' \| \
23485 X"$as_dir" : 'X\(/\)' \| \
23486 . : '\(.\)' 2>/dev/null ||
23488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23489 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23490 /^X\(\/\/\)$/{ s//\1/; q; }
23491 /^X\(\/\).*/{ s//\1/; q; }
23494 test ! -n "$as_dirs" || mkdir
$as_dirs
23495 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23496 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23497 { (exit 1); exit 1; }; }; }
23500 mv $tmp/config.h
$ac_file
23504 rm -f $tmp/config.h
23508 cat >>$CONFIG_STATUS <<\_ACEOF
23511 # CONFIG_LINKS section.
23514 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
23515 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23516 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23518 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
23519 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
23521 if test ! -r $srcdir/$ac_source; then
23522 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
23523 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
23524 { (exit 1); exit 1; }; }
23528 # Make relative symlinks.
23529 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23530 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23531 X"$ac_dest" : 'X\(//\)[^/]' \| \
23532 X"$ac_dest" : 'X\(//\)$' \| \
23533 X"$ac_dest" : 'X\(/\)' \| \
23534 . : '\(.\)' 2>/dev/null ||
23536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23537 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23538 /^X\(\/\/\)$/{ s//\1/; q; }
23539 /^X\(\/\).*/{ s//\1/; q; }
23541 { if $as_mkdir_p; then
23542 mkdir
-p "$ac_dest_dir"
23544 as_dir
="$ac_dest_dir"
23546 while test ! -d "$as_dir"; do
23547 as_dirs
="$as_dir $as_dirs"
23548 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23550 X"$as_dir" : 'X\(//\)[^/]' \| \
23551 X"$as_dir" : 'X\(//\)$' \| \
23552 X"$as_dir" : 'X\(/\)' \| \
23553 . : '\(.\)' 2>/dev/null ||
23555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23556 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23557 /^X\(\/\/\)$/{ s//\1/; q; }
23558 /^X\(\/\).*/{ s//\1/; q; }
23561 test ! -n "$as_dirs" || mkdir
$as_dirs
23562 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
23563 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
23564 { (exit 1); exit 1; }; }; }
23568 if test "$ac_dest_dir" != .
; then
23569 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
23570 # A "../" for each directory in $ac_dir_suffix.
23571 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23573 ac_dir_suffix
= ac_top_builddir
=
23577 .
) # No --srcdir option. We are building in place.
23579 if test -z "$ac_top_builddir"; then
23582 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23584 [\\/]* | ?
:[\\/]* ) # Absolute path.
23585 ac_srcdir
=$srcdir$ac_dir_suffix;
23586 ac_top_srcdir
=$srcdir ;;
23587 *) # Relative path.
23588 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23589 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23592 # Do not use `cd foo && pwd` to compute absolute paths, because
23593 # the directories may not exist.
23595 .
) ac_abs_builddir
="$ac_dest_dir";;
23597 case "$ac_dest_dir" in
23598 .
) ac_abs_builddir
=`pwd`;;
23599 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
23600 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
23603 case $ac_abs_builddir in
23604 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23606 case ${ac_top_builddir}.
in
23607 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23608 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23609 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23612 case $ac_abs_builddir in
23613 .
) ac_abs_srcdir
=$ac_srcdir;;
23616 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23617 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23618 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23621 case $ac_abs_builddir in
23622 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23624 case $ac_top_srcdir in
23625 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23626 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23627 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23633 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
23634 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
23637 # Try a symlink, then a hard link, then a copy.
23638 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
23639 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
23640 cp -p $srcdir/$ac_source $ac_dest ||
23641 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
23642 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
23643 { (exit 1); exit 1; }; }
23646 cat >>$CONFIG_STATUS <<\_ACEOF
23649 # CONFIG_COMMANDS section.
23651 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23652 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23653 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23654 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23655 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23656 X"$ac_dest" : 'X\(//\)[^/]' \| \
23657 X"$ac_dest" : 'X\(//\)$' \| \
23658 X"$ac_dest" : 'X\(/\)' \| \
23659 . : '\(.\)' 2>/dev/null ||
23661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23663 /^X\(\/\/\)$/{ s//\1/; q; }
23664 /^X\(\/\).*/{ s//\1/; q; }
23666 { if $as_mkdir_p; then
23671 while test ! -d "$as_dir"; do
23672 as_dirs
="$as_dir $as_dirs"
23673 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23674 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23675 X"$as_dir" : 'X\(//\)[^/]' \| \
23676 X"$as_dir" : 'X\(//\)$' \| \
23677 X"$as_dir" : 'X\(/\)' \| \
23678 . : '\(.\)' 2>/dev/null ||
23680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23682 /^X\(\/\/\)$/{ s//\1/; q; }
23683 /^X\(\/\).*/{ s//\1/; q; }
23686 test ! -n "$as_dirs" || mkdir
$as_dirs
23687 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23688 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23689 { (exit 1); exit 1; }; }; }
23693 if test "$ac_dir" != .
; then
23694 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23695 # A "../" for each directory in $ac_dir_suffix.
23696 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23698 ac_dir_suffix
= ac_top_builddir
=
23702 .
) # No --srcdir option. We are building in place.
23704 if test -z "$ac_top_builddir"; then
23707 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23709 [\\/]* | ?
:[\\/]* ) # Absolute path.
23710 ac_srcdir
=$srcdir$ac_dir_suffix;
23711 ac_top_srcdir
=$srcdir ;;
23712 *) # Relative path.
23713 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23714 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23717 # Do not use `cd foo && pwd` to compute absolute paths, because
23718 # the directories may not exist.
23720 .
) ac_abs_builddir
="$ac_dir";;
23723 .
) ac_abs_builddir
=`pwd`;;
23724 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23725 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23728 case $ac_abs_builddir in
23729 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23731 case ${ac_top_builddir}.
in
23732 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23733 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23734 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23737 case $ac_abs_builddir in
23738 .
) ac_abs_srcdir
=$ac_srcdir;;
23741 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23742 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23743 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23746 case $ac_abs_builddir in
23747 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23749 case $ac_top_srcdir in
23750 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23751 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23752 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23757 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23758 echo "$as_me: executing $ac_dest commands" >&6;}
23761 if test "$GCC" = yes; then
23762 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
23764 echo "/* generated for $CC */" > tmp-stdint.h
23767 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23769 #ifndef GCC_GENERATED_STDINT_H
23770 #define GCC_GENERATED_STDINT_H 1
23772 #include <sys/types.h>
23775 if test "$acx_cv_header_stdint" != stdint.h
; then
23776 echo "#include <stddef.h>" >> tmp-stdint.h
23778 if test "$acx_cv_header_stdint" != stddef.h
; then
23779 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
23782 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23783 /* glibc uses these symbols as guards to prevent redefinitions. */
23784 #ifdef __int8_t_defined
23789 #ifdef __uint32_t_defined
23795 # ----------------- done header, emit basic int types -------------
23796 if test "$acx_cv_header_stdint" = stddef.h
; then
23797 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23801 typedef unsigned $acx_cv_type_int8_t uint8_t;
23806 typedef unsigned $acx_cv_type_int16_t uint16_t;
23811 typedef unsigned $acx_cv_type_int32_t uint32_t;
23816 typedef $acx_cv_type_int8_t int8_t;
23821 typedef $acx_cv_type_int16_t int16_t;
23826 typedef $acx_cv_type_int32_t int32_t;
23829 elif test "$ac_cv_type_u_int32_t" = yes; then
23830 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23832 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
23845 typedef u_int8_t uint8_t;
23850 typedef u_int16_t uint16_t;
23855 typedef u_int32_t uint32_t;
23859 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23861 /* Some systems have guard macros to prevent redefinitions, define them. */
23883 # ------------- done basic int types, emit int64_t types ------------
23884 if test "$ac_cv_type_uint64_t" = yes; then
23885 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23887 /* system headers have good uint64_t and int64_t */
23895 elif test "$ac_cv_type_u_int64_t" = yes; then
23896 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23898 /* system headers have an u_int64_t (and int64_t) */
23904 typedef u_int64_t uint64_t;
23907 elif test -n "$acx_cv_type_int64_t"; then
23908 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23910 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
23913 typedef $acx_cv_type_int64_t int64_t;
23917 typedef unsigned $acx_cv_type_int64_t uint64_t;
23921 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23923 /* some common heuristics for int64_t, using compiler-specific tests */
23924 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
23927 typedef long long int64_t;
23931 typedef unsigned long long uint64_t;
23934 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
23935 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
23936 does not implement __extension__. But that compiler doesn't define
23938 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
23939 # define __extension__
23944 __extension__ typedef long long int64_t;
23948 __extension__ typedef unsigned long long uint64_t;
23951 #elif !defined __STRICT_ANSI__
23952 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
23956 typedef __int64 int64_t;
23960 typedef unsigned __int64 uint64_t;
23962 # endif /* compiler */
23964 #endif /* ANSI version */
23968 # ------------- done int64_t types, emit intptr types ------------
23969 if test "$ac_cv_type_uintptr_t" != yes; then
23970 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23972 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
23973 typedef u$acx_cv_type_intptr_t uintptr_t;
23974 typedef $acx_cv_type_intptr_t intptr_t;
23978 # ------------- done intptr types, emit int_least types ------------
23979 if test "$ac_cv_type_int_least32_t" != yes; then
23980 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23982 /* Define int_least types */
23983 typedef int8_t int_least8_t;
23984 typedef int16_t int_least16_t;
23985 typedef int32_t int_least32_t;
23987 typedef int64_t int_least64_t;
23990 typedef uint8_t uint_least8_t;
23991 typedef uint16_t uint_least16_t;
23992 typedef uint32_t uint_least32_t;
23994 typedef uint64_t uint_least64_t;
23999 # ------------- done intptr types, emit int_fast types ------------
24000 if test "$ac_cv_type_int_fast32_t" != yes; then
24001 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24003 /* Define int_fast types. short is often slow */
24004 typedef int8_t int_fast8_t;
24005 typedef int int_fast16_t;
24006 typedef int32_t int_fast32_t;
24008 typedef int64_t int_fast64_t;
24011 typedef uint8_t uint_fast8_t;
24012 typedef unsigned int uint_fast16_t;
24013 typedef uint32_t uint_fast32_t;
24015 typedef uint64_t uint_fast64_t;
24020 if test "$ac_cv_type_uintmax_t" != yes; then
24021 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24023 /* Define intmax based on what we found */
24025 typedef int64_t intmax_t;
24027 typedef long intmax_t;
24030 typedef uint64_t uintmax_t;
24032 typedef unsigned long uintmax_t;
24037 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24039 #endif /* GCC_GENERATED_STDINT_H */
24042 if test -r gdb_stdint.h
&& cmp -s tmp-stdint.h gdb_stdint.h
; then
24045 mv -f tmp-stdint.h gdb_stdint.h
24051 sed -e '/^DEPRECATED_TM_FILE[ ]*=/s,^DEPRECATED_TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
24052 /^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
24053 /^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
24054 mv -f Makefile.tmp Makefile
24057 case x
$CONFIG_HEADERS in
24058 xconfig.h
:config.
in)
24066 cat >>$CONFIG_STATUS <<\_ACEOF
24068 { (exit 0); exit 0; }
24070 chmod +x
$CONFIG_STATUS
24071 ac_clean_files
=$ac_clean_files_save
24074 # configure is writing to config.log, and then calls config.status.
24075 # config.status does its own redirection, appending to config.log.
24076 # Unfortunately, on DOS this fails, as config.log is still kept open
24077 # by configure, so config.status won't be able to write to it; its
24078 # output is simply discarded. So we exec the FD to /dev/null,
24079 # effectively closing config.log, so it can be properly (re)opened and
24080 # appended to by config.status. When coming back to configure, we
24081 # need to make the FD available again.
24082 if test "$no_create" != yes; then
24084 ac_config_status_args
=
24085 test "$silent" = yes &&
24086 ac_config_status_args
="$ac_config_status_args --quiet"
24088 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24090 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24091 # would make configure fail if this is the last instruction.
24092 $ac_cs_success ||
{ (exit 1); exit 1; }
24096 # CONFIG_SUBDIRS section.
24098 if test "$no_recursion" != yes; then
24100 # Remove --cache-file and --srcdir arguments so they do not pile up.
24101 ac_sub_configure_args
=
24103 for ac_arg
in $ac_configure_args; do
24104 if test -n "$ac_prev"; then
24109 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
24110 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
24111 ac_prev
=cache_file
;;
24112 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
24113 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
24116 --config-cache |
-C)
24118 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
24120 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
24122 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
24124 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
24126 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
24130 # Always prepend --prefix to ensure using the same prefix
24131 # in subdir configurations.
24132 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
24135 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
24137 # Do not complain, so a configure script can configure whichever
24138 # parts of a large source tree are present.
24139 test -d $srcdir/$ac_dir ||
continue
24141 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24142 echo "$as_me: configuring in $ac_dir" >&6;}
24143 { if $as_mkdir_p; then
24148 while test ! -d "$as_dir"; do
24149 as_dirs
="$as_dir $as_dirs"
24150 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24152 X"$as_dir" : 'X\(//\)[^/]' \| \
24153 X"$as_dir" : 'X\(//\)$' \| \
24154 X"$as_dir" : 'X\(/\)' \| \
24155 . : '\(.\)' 2>/dev/null ||
24157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24159 /^X\(\/\/\)$/{ s//\1/; q; }
24160 /^X\(\/\).*/{ s//\1/; q; }
24163 test ! -n "$as_dirs" || mkdir
$as_dirs
24164 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24165 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24166 { (exit 1); exit 1; }; }; }
24170 if test "$ac_dir" != .
; then
24171 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24172 # A "../" for each directory in $ac_dir_suffix.
24173 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24175 ac_dir_suffix
= ac_top_builddir
=
24179 .
) # No --srcdir option. We are building in place.
24181 if test -z "$ac_top_builddir"; then
24184 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24186 [\\/]* | ?
:[\\/]* ) # Absolute path.
24187 ac_srcdir
=$srcdir$ac_dir_suffix;
24188 ac_top_srcdir
=$srcdir ;;
24189 *) # Relative path.
24190 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24191 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24194 # Do not use `cd foo && pwd` to compute absolute paths, because
24195 # the directories may not exist.
24197 .
) ac_abs_builddir
="$ac_dir";;
24200 .
) ac_abs_builddir
=`pwd`;;
24201 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24202 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24205 case $ac_abs_builddir in
24206 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24208 case ${ac_top_builddir}.
in
24209 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24210 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24211 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24214 case $ac_abs_builddir in
24215 .
) ac_abs_srcdir
=$ac_srcdir;;
24218 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24219 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24220 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24223 case $ac_abs_builddir in
24224 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24226 case $ac_top_srcdir in
24227 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24228 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24229 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24236 # Check for guested configure; otherwise get Cygnus style configure.
24237 if test -f $ac_srcdir/configure.gnu
; then
24238 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
24239 elif test -f $ac_srcdir/configure
; then
24240 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
24241 elif test -f $ac_srcdir/configure.
in; then
24242 ac_sub_configure
=$ac_configure
24244 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24245 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24249 # The recursion is here.
24250 if test -n "$ac_sub_configure"; then
24251 # Make the cache file name correct relative to the subdirectory.
24252 case $cache_file in
24253 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
24254 *) # Relative path.
24255 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
24258 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24259 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24260 # The eval makes quoting arguments work.
24261 eval $ac_sub_configure $ac_sub_configure_args \
24262 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24263 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24264 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24265 { (exit 1); exit 1; }; }