2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="main.c"
275 ac_subdirs_all
="$ac_subdirs_all doc testsuite"
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subdirs_all
="$ac_subdirs_all gdbtk"
314 ac_subdirs_all
="$ac_subdirs_all multi-ice"
315 ac_subdirs_all
="$ac_subdirs_all gdbserver"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT localedir PACKAGE subdirs AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB YACC AR ac_ct_AR DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES MIG ac_ct_MIG READLINE READLINE_DEPS READLINE_CFLAGS HAVE_LIBEXPAT LIBEXPAT LTLIBEXPAT ALLOCA CONFIG_LDFLAGS TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS WERROR_CFLAGS SER_HARDWIRE WIN32LIBS LIBGUI GUI_CFLAGS_X WIN32LDAPP TCL_VERSION TCL_MAJOR_VERSION TCL_MINOR_VERSION TCL_CC TCL_DEFS TCL_SHLIB_CFLAGS TCL_SHLIB_LD TCL_SHLIB_LD_LIBS TCL_SHLIB_SUFFIX TCL_DL_LIBS TCL_LD_FLAGS TCL_LD_SEARCH_FLAGS TCL_CC_SEARCH_FLAGS TCL_COMPAT_OBJS TCL_RANLIB TCL_BUILD_LIB_SPEC TCL_LIB_SPEC TCL_LIB_VERSIONS_OK TK_VERSION TK_DEFS TK_BUILD_INCLUDES TK_XINCLUDES TK_XLIBSW TK_BUILD_LIB_SPEC TK_LIB_SPEC TCLHDIR TKHDIR ITCLHDIR ITKHDIR ITCL_VERSION ITCL_DEFS ITCL_BUILD_INCLUDES ITCL_BUILD_LIB_SPEC ITCL_LIB_SPEC ITK_VERSION ITK_DEFS ITK_BUILD_INCLUDES ITK_BUILD_LIB_SPEC ITK_LIB_SPEC X_CFLAGS X_LDFLAGS X_LIBS TCL_DEPS TK_DEPS ITCLLIB ITCL_DEPS ITKLIB ITK_DEPS GDBTKLIBS GDBTK_CFLAGS GDBTK_SRC_DIR IGNORE_SIM IGNORE_SIM_OBS ENABLE_CFLAGS PROFILE_CFLAGS CONFIG_OBS CONFIG_DEPS CONFIG_SRCS CONFIG_ALL CONFIG_CLEAN CONFIG_INSTALL CONFIG_UNINSTALL target_subdir frags xm_h tm_h nm_h LIBICONV LIBOBJS LTLIBOBJS'
317 ac_subst_files
='host_makefile_frag target_makefile_frag'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
375 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
378 -build |
--build |
--buil |
--bui |
--bu)
379 ac_prev
=build_alias
;;
380 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
384 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
385 ac_prev
=cache_file
;;
386 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
387 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
395 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* |
--disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* |
--enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
422 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
423 |
--exec |
--exe |
--ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
426 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
427 |
--exec=* |
--exe=* |
--ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas |
--gas |
--ga |
--g)
431 # Obsolete; use --with-gas.
434 -help |
--help |
--hel |
--he |
-h)
436 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
439 ac_init_help
=short
;;
441 -host |
--host |
--hos |
--ho)
442 ac_prev
=host_alias
;;
443 -host=* |
--host=* |
--hos=* |
--ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir |
--includedir |
--includedi |
--included |
--include \
447 |
--includ |
--inclu |
--incl |
--inc)
448 ac_prev
=includedir
;;
449 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
450 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
455 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir |
--libdir |
--libdi |
--libd)
460 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
463 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
464 |
--libexe |
--libex |
--libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
467 |
--libexe=* |
--libex=* |
--libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
471 |
--localstate |
--localstat |
--localsta |
--localst \
472 |
--locals |
--local |
--loca |
--loc |
--lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
475 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
476 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
481 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
485 # Obsolete; use --without-fp.
488 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
489 |
--no-cr |
--no-c |
-n)
492 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
493 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
496 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
497 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
498 |
--oldin |
--oldi |
--old |
--ol |
--o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
501 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
502 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
507 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
510 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
511 |
--program-pre |
--program-pr |
--program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
514 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
518 |
--program-suf |
--program-su |
--program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
521 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name |
--program-transform-name \
525 |
--program-transform-nam |
--program-transform-na \
526 |
--program-transform-n |
--program-transform- \
527 |
--program-transform |
--program-transfor \
528 |
--program-transfo |
--program-transf \
529 |
--program-trans |
--program-tran \
530 |
--progr-tra |
--program-tr |
--program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* |
--program-transform-name=* \
533 |
--program-transform-nam=* |
--program-transform-na=* \
534 |
--program-transform-n=* |
--program-transform-=* \
535 |
--program-transform=* |
--program-transfor=* \
536 |
--program-transfo=* |
--program-transf=* \
537 |
--program-trans=* |
--program-tran=* \
538 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
542 |
-silent |
--silent |
--silen |
--sile |
--sil)
545 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
547 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
552 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
553 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
557 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
558 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site |
--site |
--sit)
564 -site=* |
--site=* |
--sit=*)
567 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
569 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
572 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
573 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
576 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
580 ac_prev
=target_alias
;;
581 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
582 target_alias
=$ac_optarg ;;
584 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
587 -version |
--version |
--versio |
--versi |
--vers |
-V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* |
--without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
617 |
--x-incl |
--x-inc |
--x-in |
--x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
620 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
624 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
627 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
779 # Report the --help message.
781 if test "$ac_init_help" = "long"; then
782 # Omit some internal or obsolete options to make the list less imposing.
783 # This message is too long to be a string in the A/UX 3.1 sh.
785 \`configure' configures this package to adapt to many kinds of systems.
787 Usage: $0 [OPTION]... [VAR=VALUE]...
789 To assign environment variables (e.g., CC, CFLAGS...), specify them as
790 VAR=VALUE. See below for descriptions of some of the useful variables.
792 Defaults for the options are specified in brackets.
795 -h, --help display this help and exit
796 --help=short display options specific to this package
797 --help=recursive display the short help of all the included packages
798 -V, --version display version information and exit
799 -q, --quiet, --silent do not print \`checking...' messages
800 --cache-file=FILE cache test results in FILE [disabled]
801 -C, --config-cache alias for \`--cache-file=config.cache'
802 -n, --no-create do not create output files
803 --srcdir=DIR find the sources in DIR [configure dir or \`..']
808 Installation directories:
809 --prefix=PREFIX install architecture-independent files in PREFIX
811 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
814 By default, \`make install' will install all the files in
815 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
816 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
817 for instance \`--prefix=\$HOME'.
819 For better control, use the options below.
821 Fine tuning of the installation directories:
822 --bindir=DIR user executables [EPREFIX/bin]
823 --sbindir=DIR system admin executables [EPREFIX/sbin]
824 --libexecdir=DIR program executables [EPREFIX/libexec]
825 --datadir=DIR read-only architecture-independent data [PREFIX/share]
826 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
827 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
828 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
829 --libdir=DIR object code libraries [EPREFIX/lib]
830 --includedir=DIR C header files [PREFIX/include]
831 --oldincludedir=DIR C header files for non-gcc [/usr/include]
832 --infodir=DIR info documentation [PREFIX/info]
833 --mandir=DIR man documentation [PREFIX/man]
839 --program-prefix=PREFIX prepend PREFIX to installed program names
840 --program-suffix=SUFFIX append SUFFIX to installed program names
841 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
844 --x-includes=DIR X include files are
in DIR
845 --x-libraries=DIR X library files are
in DIR
848 --build=BUILD configure
for building on BUILD
[guessed
]
849 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
850 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
854 if test -n "$ac_init_help"; then
859 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
860 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
861 --enable-maintainer-mode enable make rules and dependencies not useful
862 (and sometimes confusing
) to the casual installer
863 --disable-gdbcli disable command-line interface
(CLI
)
864 --disable-gdbmi disable machine-interface
(MI
)
865 --enable-tui enable full-screen terminal user interface
(TUI
)
866 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
867 --enable-profiling enable profiling of GDB
868 --disable-rpath do not hardcode runtime library paths
869 --enable-werror treat compile warnings as errors
870 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
871 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
872 --enable-sim Link gdb with simulator
873 --enable-multi-ice build the multi-ice-gdb-server
876 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
877 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
878 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
879 --with-libunwind Use libunwind frame unwinding support
880 --with-system-readline use installed readline library
881 --with-expat include expat support
(auto
/yes
/no
)
882 --with-gnu-ld assume the C compiler uses GNU ld default
=no
883 --with-libexpat-prefix[=DIR
] search
for libexpat
in DIR
/include and DIR
/lib
884 --without-libexpat-prefix don
't search for libexpat in includedir and libdir
885 --without-included-regex don't use included regex
; this is the default
886 on systems with version
2 of the GNU C library
887 (use with caution on other system
)
888 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
889 --with-tclconfig=DIR Directory containing tcl configuration
(tclConfig.sh
)
890 --with-tkconfig=DIR Directory containing tk configuration
(tkConfig.sh
)
891 --with-tclinclude=DIR Directory where tcl private headers are
892 --with-tkinclude=DIR Directory where tk private headers are
893 --with-itclconfig Directory containing itcl configuration
(itclConfig.sh
)
894 --with-itkconfig Directory containing itk configuration
(itkConfig.sh
)
895 --with-x use the X Window System
896 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
898 Some influential environment variables
:
899 CC C compiler
command
900 CFLAGS C compiler flags
901 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
902 nonstandard directory
<lib dir
>
903 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
904 headers
in a nonstandard directory
<include dir
>
907 Use these variables to override the choices made by
`configure' or to help
908 it to find libraries and programs with nonstandard names/locations.
913 if test "$ac_init_help" = "recursive"; then
914 # If there are subdirs, report their specific --help.
916 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
917 test -d $ac_dir || continue
920 if test "$ac_dir" != .; then
921 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
922 # A "../" for each directory in $ac_dir_suffix.
923 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
925 ac_dir_suffix= ac_top_builddir=
929 .) # No --srcdir option. We are building in place.
931 if test -z "$ac_top_builddir"; then
934 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
936 [\\/]* | ?:[\\/]* ) # Absolute path.
937 ac_srcdir=$srcdir$ac_dir_suffix;
938 ac_top_srcdir=$srcdir ;;
940 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
941 ac_top_srcdir=$ac_top_builddir$srcdir ;;
944 # Do not use `cd foo
&& pwd` to compute absolute paths, because
945 # the directories may not exist.
947 .) ac_abs_builddir="$ac_dir";;
950 .) ac_abs_builddir=`pwd`;;
951 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
952 *) ac_abs_builddir=`pwd`/"$ac_dir";;
955 case $ac_abs_builddir in
956 .) ac_abs_top_builddir=${ac_top_builddir}.;;
958 case ${ac_top_builddir}. in
959 .) ac_abs_top_builddir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
961 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
964 case $ac_abs_builddir in
965 .) ac_abs_srcdir=$ac_srcdir;;
968 .) ac_abs_srcdir=$ac_abs_builddir;;
969 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
970 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
973 case $ac_abs_builddir in
974 .) ac_abs_top_srcdir=$ac_top_srcdir;;
976 case $ac_top_srcdir in
977 .) ac_abs_top_srcdir=$ac_abs_builddir;;
978 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
979 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
984 # Check for guested configure; otherwise get Cygnus style configure.
985 if test -f $ac_srcdir/configure.gnu; then
987 $SHELL $ac_srcdir/configure.gnu --help=recursive
988 elif test -f $ac_srcdir/configure; then
990 $SHELL $ac_srcdir/configure --help=recursive
991 elif test -f $ac_srcdir/configure.ac ||
992 test -f $ac_srcdir/configure.in; then
996 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1002 test -n "$ac_init_help" && exit 0
1003 if $ac_init_version; then
1006 Copyright (C) 2003 Free Software Foundation, Inc.
1007 This configure script is free software; the Free Software Foundation
1008 gives unlimited permission to copy, distribute and modify it.
1014 This file contains any messages produced by compilers while
1015 running configure, to aid debugging if configure makes a mistake.
1017 It was created by $as_me, which was
1018 generated by GNU Autoconf 2.59. Invocation command line was
1029 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1030 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1031 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1032 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1033 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1035 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1036 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1038 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1039 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1040 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1041 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1042 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1043 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1044 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1052 test -z "$as_dir" && as_dir=.
1053 echo "PATH: $as_dir"
1068 # Keep a trace of the command line.
1069 # Strip out --no-create and --no-recursion so they do not pile up.
1070 # Strip out --silent because we don't want to record it for future runs.
1071 # Also quote any args containing shell meta-characters.
1072 # Make two passes to allow for proper duplicate-argument suppression.
1077 ac_must_keep_next=false
1083 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085 | -silent | --silent | --silen | --sile | --sil)
1087 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1088 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1091 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1093 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1094 if test $ac_must_keep_next = true; then
1095 ac_must_keep_next=false # Got value, back to normal.
1098 *=* | --config-cache | -C | -disable-* | --disable-* \
1099 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1100 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1101 | -with-* | --with-* | -without-* | --without-* | --x)
1102 case "$ac_configure_args0 " in
1103 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1106 -* ) ac_must_keep_next=true ;;
1109 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1110 # Get rid of the leading space.
1116 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1117 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1119 # When interrupted or exit'd, cleanup temporary files, and complete
1120 # config.log. We remove comments because anyway the quotes in there
1121 # would cause problems or look ugly.
1122 # WARNING: Be sure not to use single quotes in there, as some shells,
1123 # such as our DU 5.0 friend, will then `close
' the trap.
1124 trap 'exit_status
=$?
1125 # Save into config.log some information that might help in debugging.
1130 ## ---------------- ##
1131 ## Cache variables. ##
1132 ## ---------------- ##
1135 # The following way of writing the cache mishandles newlines in values,
1138 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1141 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1142 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1146 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1153 ## ----------------- ##
1154 ## Output variables. ##
1155 ## ----------------- ##
1158 for ac_var
in $ac_subst_vars
1160 eval ac_val
=$
`echo $ac_var`
1161 echo "$ac_var='"'"'$ac_val'"'"'"
1165 if test -n "$ac_subst_files"; then
1172 for ac_var
in $ac_subst_files
1174 eval ac_val
=$
`echo $ac_var`
1175 echo "$ac_var='"'"'$ac_val'"'"'"
1180 if test -s confdefs.h
; then
1187 sed "/^$/d" confdefs.h |
sort
1190 test "$ac_signal" != 0 &&
1191 echo "$as_me: caught signal $ac_signal"
1192 echo "$as_me: exit $exit_status"
1194 rm -f core
*.core
&&
1195 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1198 for ac_signal in 1 2 13 15; do
1199 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1203 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1204 rm -rf conftest* confdefs.h
1205 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1208 # Predefined preprocessor variables.
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_NAME "$PACKAGE_NAME"
1215 cat >>confdefs.h <<_ACEOF
1216 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1220 cat >>confdefs.h <<_ACEOF
1221 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_STRING "$PACKAGE_STRING"
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1235 # Let the site file select an alternate cache file if it wants to.
1236 # Prefer explicitly selected file to automatically selected ones.
1237 if test -z "$CONFIG_SITE"; then
1238 if test "x$prefix" != xNONE; then
1239 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1241 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1244 for ac_site_file in $CONFIG_SITE; do
1245 if test -r "$ac_site_file"; then
1246 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1247 echo "$as_me: loading site script $ac_site_file" >&6;}
1248 sed 's
/^
/|
/' "$ac_site_file" >&5
1253 if test -r "$cache_file"; then
1254 # Some versions of bash will fail to source /dev/null (special
1255 # files actually), so we avoid doing that.
1256 if test -f "$cache_file"; then
1257 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1258 echo "$as_me: loading cache $cache_file" >&6;}
1260 [\\/]* | ?:[\\/]* ) . $cache_file;;
1261 *) . ./$cache_file;;
1265 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1266 echo "$as_me: creating cache $cache_file" >&6;}
1270 # Check that the precious variables saved in the cache have kept the same
1272 ac_cache_corrupted=false
1273 for ac_var in `(set) 2>&1 |
1274 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1275 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1276 eval ac_new_set=\$ac_env_${ac_var}_set
1277 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1278 eval ac_new_val="\$ac_env_${ac_var}_value"
1279 case $ac_old_set,$ac_new_set in
1281 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1282 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1283 ac_cache_corrupted=: ;;
1285 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1286 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1287 ac_cache_corrupted=: ;;
1290 if test "x$ac_old_val" != "x$ac_new_val"; then
1291 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1292 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1293 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1294 echo "$as_me: former value: $ac_old_val" >&2;}
1295 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1296 echo "$as_me: current value: $ac_new_val" >&2;}
1297 ac_cache_corrupted=:
1300 # Pass precious variables to config.status.
1301 if test "$ac_new_set" = set; then
1303 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1304 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1305 *) ac_arg=$ac_var=$ac_new_val ;;
1307 case " $ac_configure_args " in
1308 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1309 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1313 if $ac_cache_corrupted; then
1314 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1315 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1316 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1317 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1318 { (exit 1); exit 1; }; }
1322 ac_cpp='$CPP $CPPFLAGS'
1323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1324 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1345 ac_config_headers="$ac_config_headers config.h:config.in"
1347 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1348 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1349 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1350 if test "${enable_maintainer_mode+set}" = set; then
1351 enableval="$enable_maintainer_mode"
1352 USE_MAINTAINER_MODE=$enableval
1354 USE_MAINTAINER_MODE=no
1356 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1357 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1360 if test $USE_MAINTAINER_MODE = yes; then
1361 MAINTAINER_MODE_TRUE=
1362 MAINTAINER_MODE_FALSE='#'
1364 MAINTAINER_MODE_TRUE
='#'
1365 MAINTAINER_MODE_FALSE
=
1368 MAINT
=$MAINTAINER_MODE_TRUE
1373 ac_cpp
='$CPP $CPPFLAGS'
1374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1377 if test -n "$ac_tool_prefix"; then
1378 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1379 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1380 echo "$as_me:$LINENO: checking for $ac_word" >&5
1381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1382 if test "${ac_cv_prog_CC+set}" = set; then
1383 echo $ECHO_N "(cached) $ECHO_C" >&6
1385 if test -n "$CC"; then
1386 ac_cv_prog_CC
="$CC" # Let the user override the test.
1388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1392 test -z "$as_dir" && as_dir
=.
1393 for ac_exec_ext
in '' $ac_executable_extensions; do
1394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1395 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1405 if test -n "$CC"; then
1406 echo "$as_me:$LINENO: result: $CC" >&5
1407 echo "${ECHO_T}$CC" >&6
1409 echo "$as_me:$LINENO: result: no" >&5
1410 echo "${ECHO_T}no" >&6
1414 if test -z "$ac_cv_prog_CC"; then
1416 # Extract the first word of "gcc", so it can be a program name with args.
1417 set dummy gcc
; ac_word
=$2
1418 echo "$as_me:$LINENO: checking for $ac_word" >&5
1419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1421 echo $ECHO_N "(cached) $ECHO_C" >&6
1423 if test -n "$ac_ct_CC"; then
1424 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1430 test -z "$as_dir" && as_dir
=.
1431 for ac_exec_ext
in '' $ac_executable_extensions; do
1432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1433 ac_cv_prog_ac_ct_CC
="gcc"
1434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1442 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1443 if test -n "$ac_ct_CC"; then
1444 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1445 echo "${ECHO_T}$ac_ct_CC" >&6
1447 echo "$as_me:$LINENO: result: no" >&5
1448 echo "${ECHO_T}no" >&6
1456 if test -z "$CC"; then
1457 if test -n "$ac_tool_prefix"; then
1458 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1459 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1460 echo "$as_me:$LINENO: checking for $ac_word" >&5
1461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1462 if test "${ac_cv_prog_CC+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 if test -n "$CC"; then
1466 ac_cv_prog_CC
="$CC" # Let the user override the test.
1468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1472 test -z "$as_dir" && as_dir
=.
1473 for ac_exec_ext
in '' $ac_executable_extensions; do
1474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1475 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1485 if test -n "$CC"; then
1486 echo "$as_me:$LINENO: result: $CC" >&5
1487 echo "${ECHO_T}$CC" >&6
1489 echo "$as_me:$LINENO: result: no" >&5
1490 echo "${ECHO_T}no" >&6
1494 if test -z "$ac_cv_prog_CC"; then
1496 # Extract the first word of "cc", so it can be a program name with args.
1497 set dummy cc
; ac_word
=$2
1498 echo "$as_me:$LINENO: checking for $ac_word" >&5
1499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1500 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1501 echo $ECHO_N "(cached) $ECHO_C" >&6
1503 if test -n "$ac_ct_CC"; then
1504 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1510 test -z "$as_dir" && as_dir
=.
1511 for ac_exec_ext
in '' $ac_executable_extensions; do
1512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1513 ac_cv_prog_ac_ct_CC
="cc"
1514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1522 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1523 if test -n "$ac_ct_CC"; then
1524 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1525 echo "${ECHO_T}$ac_ct_CC" >&6
1527 echo "$as_me:$LINENO: result: no" >&5
1528 echo "${ECHO_T}no" >&6
1537 if test -z "$CC"; then
1538 # Extract the first word of "cc", so it can be a program name with args.
1539 set dummy cc
; ac_word
=$2
1540 echo "$as_me:$LINENO: checking for $ac_word" >&5
1541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1542 if test "${ac_cv_prog_CC+set}" = set; then
1543 echo $ECHO_N "(cached) $ECHO_C" >&6
1545 if test -n "$CC"; then
1546 ac_cv_prog_CC
="$CC" # Let the user override the test.
1549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1553 test -z "$as_dir" && as_dir
=.
1554 for ac_exec_ext
in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1557 ac_prog_rejected
=yes
1561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1567 if test $ac_prog_rejected = yes; then
1568 # We found a bogon in the path, so make sure we never use it.
1569 set dummy
$ac_cv_prog_CC
1571 if test $# != 0; then
1572 # We chose a different compiler from the bogus one.
1573 # However, it has the same basename, so the bogon will be chosen
1574 # first if we set CC to just the basename; use the full file name.
1576 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1582 if test -n "$CC"; then
1583 echo "$as_me:$LINENO: result: $CC" >&5
1584 echo "${ECHO_T}$CC" >&6
1586 echo "$as_me:$LINENO: result: no" >&5
1587 echo "${ECHO_T}no" >&6
1591 if test -z "$CC"; then
1592 if test -n "$ac_tool_prefix"; then
1595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1596 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1597 echo "$as_me:$LINENO: checking for $ac_word" >&5
1598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1599 if test "${ac_cv_prog_CC+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 if test -n "$CC"; then
1603 ac_cv_prog_CC
="$CC" # Let the user override the test.
1605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1609 test -z "$as_dir" && as_dir
=.
1610 for ac_exec_ext
in '' $ac_executable_extensions; do
1611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1612 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1622 if test -n "$CC"; then
1623 echo "$as_me:$LINENO: result: $CC" >&5
1624 echo "${ECHO_T}$CC" >&6
1626 echo "$as_me:$LINENO: result: no" >&5
1627 echo "${ECHO_T}no" >&6
1630 test -n "$CC" && break
1633 if test -z "$CC"; then
1637 # Extract the first word of "$ac_prog", so it can be a program name with args.
1638 set dummy
$ac_prog; ac_word
=$2
1639 echo "$as_me:$LINENO: checking for $ac_word" >&5
1640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1644 if test -n "$ac_ct_CC"; then
1645 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1651 test -z "$as_dir" && as_dir
=.
1652 for ac_exec_ext
in '' $ac_executable_extensions; do
1653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1654 ac_cv_prog_ac_ct_CC
="$ac_prog"
1655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1664 if test -n "$ac_ct_CC"; then
1665 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1666 echo "${ECHO_T}$ac_ct_CC" >&6
1668 echo "$as_me:$LINENO: result: no" >&5
1669 echo "${ECHO_T}no" >&6
1672 test -n "$ac_ct_CC" && break
1681 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1682 See \`config.log' for more details." >&5
1683 echo "$as_me: error: no acceptable C compiler found in \$PATH
1684 See \`config.log' for more details." >&2;}
1685 { (exit 1); exit 1; }; }
1687 # Provide some information about the compiler.
1688 echo "$as_me:$LINENO:" \
1689 "checking for C compiler version" >&5
1690 ac_compiler
=`set X $ac_compile; echo $2`
1691 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1692 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1695 (exit $ac_status); }
1696 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1697 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1700 (exit $ac_status); }
1701 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1702 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1705 (exit $ac_status); }
1707 cat >conftest.
$ac_ext <<_ACEOF
1710 cat confdefs.h
>>conftest.
$ac_ext
1711 cat >>conftest.
$ac_ext <<_ACEOF
1712 /* end confdefs.h. */
1722 ac_clean_files_save
=$ac_clean_files
1723 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1724 # Try to create an executable without -o first, disregard a.out.
1725 # It will help us diagnose broken compilers, and finding out an intuition
1727 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1728 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1729 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1730 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1731 (eval $ac_link_default) 2>&5
1733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1734 (exit $ac_status); }; then
1735 # Find the output, starting from the most likely. This scheme is
1736 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1739 # Be careful to initialize this variable, since it used to be cached.
1740 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1742 # b.out is created by i960 compilers.
1743 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1745 test -f "$ac_file" ||
continue
1747 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1750 # This is the source file.
1753 # We found the default executable, but exeext='' is most
1757 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1758 # FIXME: I believe we export ac_cv_exeext for Libtool,
1759 # but it would be cool to find out if it's true. Does anybody
1760 # maintain Libtool? --akim.
1768 echo "$as_me: failed program was:" >&5
1769 sed 's/^/| /' conftest.
$ac_ext >&5
1771 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1772 See \`config.log' for more details." >&5
1773 echo "$as_me: error: C compiler cannot create executables
1774 See \`config.log' for more details." >&2;}
1775 { (exit 77); exit 77; }; }
1778 ac_exeext
=$ac_cv_exeext
1779 echo "$as_me:$LINENO: result: $ac_file" >&5
1780 echo "${ECHO_T}$ac_file" >&6
1782 # Check the compiler produces executables we can run. If not, either
1783 # the compiler is broken, or we cross compile.
1784 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1785 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1786 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1787 # If not cross compiling, check that we can run a simple program.
1788 if test "$cross_compiling" != yes; then
1789 if { ac_try
='./$ac_file'
1790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1794 (exit $ac_status); }; }; then
1797 if test "$cross_compiling" = maybe
; then
1800 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1801 If you meant to cross compile, use \`--host'.
1802 See \`config.log' for more details." >&5
1803 echo "$as_me: error: cannot run C compiled programs.
1804 If you meant to cross compile, use \`--host'.
1805 See \`config.log' for more details." >&2;}
1806 { (exit 1); exit 1; }; }
1810 echo "$as_me:$LINENO: result: yes" >&5
1811 echo "${ECHO_T}yes" >&6
1813 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1814 ac_clean_files
=$ac_clean_files_save
1815 # Check the compiler produces executables we can run. If not, either
1816 # the compiler is broken, or we cross compile.
1817 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1818 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1819 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1820 echo "${ECHO_T}$cross_compiling" >&6
1822 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1823 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1825 (eval $ac_link) 2>&5
1827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1828 (exit $ac_status); }; then
1829 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1830 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1831 # work properly (i.e., refer to `conftest.exe'), while it won't with
1833 for ac_file
in conftest.exe conftest conftest.
*; do
1834 test -f "$ac_file" ||
continue
1836 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1837 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1844 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1845 See \`config.log' for more details." >&5
1846 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1847 See \`config.log' for more details." >&2;}
1848 { (exit 1); exit 1; }; }
1851 rm -f conftest
$ac_cv_exeext
1852 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1853 echo "${ECHO_T}$ac_cv_exeext" >&6
1855 rm -f conftest.
$ac_ext
1856 EXEEXT
=$ac_cv_exeext
1858 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1859 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1860 if test "${ac_cv_objext+set}" = set; then
1861 echo $ECHO_N "(cached) $ECHO_C" >&6
1863 cat >conftest.
$ac_ext <<_ACEOF
1866 cat confdefs.h
>>conftest.
$ac_ext
1867 cat >>conftest.
$ac_ext <<_ACEOF
1868 /* end confdefs.h. */
1878 rm -f conftest.o conftest.obj
1879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1880 (eval $ac_compile) 2>&5
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); }; then
1884 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1886 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1887 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1892 echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.
$ac_ext >&5
1895 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1896 See \`config.log' for more details." >&5
1897 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1898 See \`config.log' for more details." >&2;}
1899 { (exit 1); exit 1; }; }
1902 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1904 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1905 echo "${ECHO_T}$ac_cv_objext" >&6
1906 OBJEXT
=$ac_cv_objext
1908 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1909 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1910 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1911 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 cat >conftest.
$ac_ext <<_ACEOF
1916 cat confdefs.h
>>conftest.
$ac_ext
1917 cat >>conftest.
$ac_ext <<_ACEOF
1918 /* end confdefs.h. */
1931 rm -f conftest.
$ac_objext
1932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1933 (eval $ac_compile) 2>conftest.er1
1935 grep -v '^ *+' conftest.er1
>conftest.err
1937 cat conftest.err
>&5
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939 (exit $ac_status); } &&
1940 { ac_try
='test -z "$ac_c_werror_flag"
1941 || test ! -s conftest.err'
1942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; } &&
1947 { ac_try
='test -s conftest.$ac_objext'
1948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952 (exit $ac_status); }; }; then
1955 echo "$as_me: failed program was:" >&5
1956 sed 's/^/| /' conftest.
$ac_ext >&5
1960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1961 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1964 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1965 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1966 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1967 ac_test_CFLAGS
=${CFLAGS+set}
1968 ac_save_CFLAGS
=$CFLAGS
1970 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1971 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1972 if test "${ac_cv_prog_cc_g+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 cat >conftest.
$ac_ext <<_ACEOF
1978 cat confdefs.h
>>conftest.
$ac_ext
1979 cat >>conftest.
$ac_ext <<_ACEOF
1980 /* end confdefs.h. */
1990 rm -f conftest.
$ac_objext
1991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1992 (eval $ac_compile) 2>conftest.er1
1994 grep -v '^ *+' conftest.er1
>conftest.err
1996 cat conftest.err
>&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); } &&
1999 { ac_try
='test -z "$ac_c_werror_flag"
2000 || test ! -s conftest.err'
2001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 (exit $ac_status); }; } &&
2006 { ac_try
='test -s conftest.$ac_objext'
2007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }; }; then
2014 echo "$as_me: failed program was:" >&5
2015 sed 's/^/| /' conftest.
$ac_ext >&5
2019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2021 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2022 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2023 if test "$ac_test_CFLAGS" = set; then
2024 CFLAGS
=$ac_save_CFLAGS
2025 elif test $ac_cv_prog_cc_g = yes; then
2026 if test "$GCC" = yes; then
2032 if test "$GCC" = yes; then
2038 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2039 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2040 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2041 echo $ECHO_N "(cached) $ECHO_C" >&6
2043 ac_cv_prog_cc_stdc
=no
2045 cat >conftest.
$ac_ext <<_ACEOF
2048 cat confdefs.h
>>conftest.
$ac_ext
2049 cat >>conftest.
$ac_ext <<_ACEOF
2050 /* end confdefs.h. */
2053 #include <sys/types.h>
2054 #include <sys/stat.h>
2055 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2056 struct buf { int x; };
2057 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2058 static char *e (p, i)
2064 static char *f (char * (*g) (char **, int), char **p, ...)
2069 s = g (p, va_arg (v,int));
2074 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2075 function prototypes and stuff, but not '\xHH' hex character constants.
2076 These don't provoke an error unfortunately, instead are silently treated
2077 as 'x'. The following induces an error, until -std1 is added to get
2078 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2079 array size at least. It's necessary to write '\x00'==0 to get something
2080 that's true only with -std1. */
2081 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2083 int test (int i, double x);
2084 struct s1 {int (*f) (int a);};
2085 struct s2 {int (*f) (double a);};
2086 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2092 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2097 # Don't try gcc -ansi; that turns off useful extensions and
2098 # breaks some systems' header files.
2099 # AIX -qlanglvl=ansi
2100 # Ultrix and OSF/1 -std1
2101 # HP-UX 10.20 and later -Ae
2102 # HP-UX older versions -Aa -D_HPUX_SOURCE
2103 # SVR4 -Xc -D__EXTENSIONS__
2104 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2106 CC
="$ac_save_CC $ac_arg"
2107 rm -f conftest.
$ac_objext
2108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2109 (eval $ac_compile) 2>conftest.er1
2111 grep -v '^ *+' conftest.er1
>conftest.err
2113 cat conftest.err
>&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); } &&
2116 { ac_try
='test -z "$ac_c_werror_flag"
2117 || test ! -s conftest.err'
2118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); }; } &&
2123 { ac_try
='test -s conftest.$ac_objext'
2124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }; }; then
2129 ac_cv_prog_cc_stdc
=$ac_arg
2132 echo "$as_me: failed program was:" >&5
2133 sed 's/^/| /' conftest.
$ac_ext >&5
2136 rm -f conftest.err conftest.
$ac_objext
2138 rm -f conftest.
$ac_ext conftest.
$ac_objext
2143 case "x$ac_cv_prog_cc_stdc" in
2145 echo "$as_me:$LINENO: result: none needed" >&5
2146 echo "${ECHO_T}none needed" >&6 ;;
2148 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2149 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2150 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2153 # Some people use a C++ compiler to compile C. Since we use `exit',
2154 # in C++ we need to declare it. In case someone uses the same compiler
2155 # for both compiling C and C++ we need to have the C++ compiler decide
2156 # the declaration of exit, since it's the most demanding environment.
2157 cat >conftest.
$ac_ext <<_ACEOF
2162 rm -f conftest.
$ac_objext
2163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2164 (eval $ac_compile) 2>conftest.er1
2166 grep -v '^ *+' conftest.er1
>conftest.err
2168 cat conftest.err
>&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); } &&
2171 { ac_try
='test -z "$ac_c_werror_flag"
2172 || test ! -s conftest.err'
2173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }; } &&
2178 { ac_try
='test -s conftest.$ac_objext'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; }; then
2184 for ac_declaration
in \
2186 'extern "C" void std::exit (int) throw (); using std::exit;' \
2187 'extern "C" void std::exit (int); using std::exit;' \
2188 'extern "C" void exit (int) throw ();' \
2189 'extern "C" void exit (int);' \
2192 cat >conftest.
$ac_ext <<_ACEOF
2195 cat confdefs.h
>>conftest.
$ac_ext
2196 cat >>conftest.
$ac_ext <<_ACEOF
2197 /* end confdefs.h. */
2208 rm -f conftest.
$ac_objext
2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2210 (eval $ac_compile) 2>conftest.er1
2212 grep -v '^ *+' conftest.er1
>conftest.err
2214 cat conftest.err
>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); } &&
2217 { ac_try
='test -z "$ac_c_werror_flag"
2218 || test ! -s conftest.err'
2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; } &&
2224 { ac_try
='test -s conftest.$ac_objext'
2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); }; }; then
2232 echo "$as_me: failed program was:" >&5
2233 sed 's/^/| /' conftest.
$ac_ext >&5
2237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2238 cat >conftest.
$ac_ext <<_ACEOF
2241 cat confdefs.h
>>conftest.
$ac_ext
2242 cat >>conftest.
$ac_ext <<_ACEOF
2243 /* end confdefs.h. */
2253 rm -f conftest.
$ac_objext
2254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2255 (eval $ac_compile) 2>conftest.er1
2257 grep -v '^ *+' conftest.er1
>conftest.err
2259 cat conftest.err
>&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); } &&
2262 { ac_try
='test -z "$ac_c_werror_flag"
2263 || test ! -s conftest.err'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; } &&
2269 { ac_try
='test -s conftest.$ac_objext'
2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; }; then
2277 echo "$as_me: failed program was:" >&5
2278 sed 's/^/| /' conftest.
$ac_ext >&5
2281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2284 if test -n "$ac_declaration"; then
2285 echo '#ifdef __cplusplus' >>confdefs.h
2286 echo $ac_declaration >>confdefs.h
2287 echo '#endif' >>confdefs.h
2291 echo "$as_me: failed program was:" >&5
2292 sed 's/^/| /' conftest.
$ac_ext >&5
2295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2297 ac_cpp
='$CPP $CPPFLAGS'
2298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2303 cat >>confdefs.h
<<\_ACEOF
2304 #define _GNU_SOURCE 1
2310 ac_cpp
='$CPP $CPPFLAGS'
2311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2314 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2315 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2316 # On Suns, sometimes $CPP names a directory.
2317 if test -n "$CPP" && test -d "$CPP"; then
2320 if test -z "$CPP"; then
2321 if test "${ac_cv_prog_CPP+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 # Double quotes because CPP needs to be expanded
2325 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2328 for ac_c_preproc_warn_flag
in '' yes
2330 # Use a header file that comes with gcc, so configuring glibc
2331 # with a fresh cross-compiler works.
2332 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2333 # <limits.h> exists even on freestanding compilers.
2334 # On the NeXT, cc -E runs the code through the compiler's parser,
2335 # not just through cpp. "Syntax error" is here to catch this case.
2336 cat >conftest.
$ac_ext <<_ACEOF
2339 cat confdefs.h
>>conftest.
$ac_ext
2340 cat >>conftest.
$ac_ext <<_ACEOF
2341 /* end confdefs.h. */
2343 # include <limits.h>
2345 # include <assert.h>
2349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2350 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2352 grep -v '^ *+' conftest.er1
>conftest.err
2354 cat conftest.err
>&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); } >/dev
/null
; then
2357 if test -s conftest.err
; then
2358 ac_cpp_err
=$ac_c_preproc_warn_flag
2359 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2366 if test -z "$ac_cpp_err"; then
2369 echo "$as_me: failed program was:" >&5
2370 sed 's/^/| /' conftest.
$ac_ext >&5
2372 # Broken: fails on valid input.
2375 rm -f conftest.err conftest.
$ac_ext
2377 # OK, works on sane cases. Now check whether non-existent headers
2378 # can be detected and how.
2379 cat >conftest.
$ac_ext <<_ACEOF
2382 cat confdefs.h
>>conftest.
$ac_ext
2383 cat >>conftest.
$ac_ext <<_ACEOF
2384 /* end confdefs.h. */
2385 #include <ac_nonexistent.h>
2387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2388 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1
>conftest.err
2392 cat conftest.err
>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } >/dev
/null
; then
2395 if test -s conftest.err
; then
2396 ac_cpp_err
=$ac_c_preproc_warn_flag
2397 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2404 if test -z "$ac_cpp_err"; then
2405 # Broken: success on invalid input.
2408 echo "$as_me: failed program was:" >&5
2409 sed 's/^/| /' conftest.
$ac_ext >&5
2411 # Passes both tests.
2415 rm -f conftest.err conftest.
$ac_ext
2418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2419 rm -f conftest.err conftest.
$ac_ext
2420 if $ac_preproc_ok; then
2432 echo "$as_me:$LINENO: result: $CPP" >&5
2433 echo "${ECHO_T}$CPP" >&6
2435 for ac_c_preproc_warn_flag
in '' yes
2437 # Use a header file that comes with gcc, so configuring glibc
2438 # with a fresh cross-compiler works.
2439 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2440 # <limits.h> exists even on freestanding compilers.
2441 # On the NeXT, cc -E runs the code through the compiler's parser,
2442 # not just through cpp. "Syntax error" is here to catch this case.
2443 cat >conftest.
$ac_ext <<_ACEOF
2446 cat confdefs.h
>>conftest.
$ac_ext
2447 cat >>conftest.
$ac_ext <<_ACEOF
2448 /* end confdefs.h. */
2450 # include <limits.h>
2452 # include <assert.h>
2456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2457 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2459 grep -v '^ *+' conftest.er1
>conftest.err
2461 cat conftest.err
>&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); } >/dev
/null
; then
2464 if test -s conftest.err
; then
2465 ac_cpp_err
=$ac_c_preproc_warn_flag
2466 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2473 if test -z "$ac_cpp_err"; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.
$ac_ext >&5
2479 # Broken: fails on valid input.
2482 rm -f conftest.err conftest.
$ac_ext
2484 # OK, works on sane cases. Now check whether non-existent headers
2485 # can be detected and how.
2486 cat >conftest.
$ac_ext <<_ACEOF
2489 cat confdefs.h
>>conftest.
$ac_ext
2490 cat >>conftest.
$ac_ext <<_ACEOF
2491 /* end confdefs.h. */
2492 #include <ac_nonexistent.h>
2494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2495 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2497 grep -v '^ *+' conftest.er1
>conftest.err
2499 cat conftest.err
>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); } >/dev
/null
; then
2502 if test -s conftest.err
; then
2503 ac_cpp_err
=$ac_c_preproc_warn_flag
2504 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2511 if test -z "$ac_cpp_err"; then
2512 # Broken: success on invalid input.
2515 echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.
$ac_ext >&5
2518 # Passes both tests.
2522 rm -f conftest.err conftest.
$ac_ext
2525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2526 rm -f conftest.err conftest.
$ac_ext
2527 if $ac_preproc_ok; then
2530 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2531 See \`config.log' for more details." >&5
2532 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2533 See \`config.log' for more details." >&2;}
2534 { (exit 1); exit 1; }; }
2538 ac_cpp
='$CPP $CPPFLAGS'
2539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2544 echo "$as_me:$LINENO: checking for egrep" >&5
2545 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2546 if test "${ac_cv_prog_egrep+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2550 then ac_cv_prog_egrep
='grep -E'
2551 else ac_cv_prog_egrep
='egrep'
2554 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2555 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2556 EGREP
=$ac_cv_prog_egrep
2560 echo "$as_me:$LINENO: checking for AIX" >&5
2561 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2562 cat >conftest.
$ac_ext <<_ACEOF
2565 cat confdefs.h
>>conftest.
$ac_ext
2566 cat >>conftest.
$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2574 $EGREP "yes" >/dev
/null
2>&1; then
2575 echo "$as_me:$LINENO: result: yes" >&5
2576 echo "${ECHO_T}yes" >&6
2577 cat >>confdefs.h
<<\_ACEOF
2578 #define _ALL_SOURCE 1
2582 echo "$as_me:$LINENO: result: no" >&5
2583 echo "${ECHO_T}no" >&6
2588 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2589 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2590 if test "${ac_cv_search_strerror+set}" = set; then
2591 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 ac_func_search_save_LIBS
=$LIBS
2594 ac_cv_search_strerror
=no
2595 cat >conftest.
$ac_ext <<_ACEOF
2598 cat confdefs.h
>>conftest.
$ac_ext
2599 cat >>conftest.
$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2602 /* Override any gcc2 internal prototype to avoid an error. */
2606 /* We use char because int might match the return type of a gcc2
2607 builtin and then its argument prototype would still apply. */
2617 rm -f conftest.
$ac_objext conftest
$ac_exeext
2618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2619 (eval $ac_link) 2>conftest.er1
2621 grep -v '^ *+' conftest.er1
>conftest.err
2623 cat conftest.err
>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); } &&
2626 { ac_try
='test -z "$ac_c_werror_flag"
2627 || test ! -s conftest.err'
2628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); }; } &&
2633 { ac_try
='test -s conftest$ac_exeext'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2639 ac_cv_search_strerror
="none required"
2641 echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.
$ac_ext >&5
2645 rm -f conftest.err conftest.
$ac_objext \
2646 conftest
$ac_exeext conftest.
$ac_ext
2647 if test "$ac_cv_search_strerror" = no
; then
2648 for ac_lib
in cposix
; do
2649 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2650 cat >conftest.
$ac_ext <<_ACEOF
2653 cat confdefs.h
>>conftest.
$ac_ext
2654 cat >>conftest.
$ac_ext <<_ACEOF
2655 /* end confdefs.h. */
2657 /* Override any gcc2 internal prototype to avoid an error. */
2661 /* We use char because int might match the return type of a gcc2
2662 builtin and then its argument prototype would still apply. */
2672 rm -f conftest.
$ac_objext conftest
$ac_exeext
2673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2674 (eval $ac_link) 2>conftest.er1
2676 grep -v '^ *+' conftest.er1
>conftest.err
2678 cat conftest.err
>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); } &&
2681 { ac_try
='test -z "$ac_c_werror_flag"
2682 || test ! -s conftest.err'
2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; } &&
2688 { ac_try
='test -s conftest$ac_exeext'
2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2694 ac_cv_search_strerror
="-l$ac_lib"
2697 echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.
$ac_ext >&5
2701 rm -f conftest.err conftest.
$ac_objext \
2702 conftest
$ac_exeext conftest.
$ac_ext
2705 LIBS
=$ac_func_search_save_LIBS
2707 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2708 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2709 if test "$ac_cv_search_strerror" != no
; then
2710 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2717 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2718 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2719 if test "${am_cv_prog_cc_stdc+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 am_cv_prog_cc_stdc
=no
2724 # Don't try gcc -ansi; that turns off useful extensions and
2725 # breaks some systems' header files.
2726 # AIX -qlanglvl=ansi
2727 # Ultrix and OSF/1 -std1
2728 # HP-UX 10.20 and later -Ae
2729 # HP-UX older versions -Aa -D_HPUX_SOURCE
2730 # SVR4 -Xc -D__EXTENSIONS__
2731 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2733 CC
="$ac_save_CC $ac_arg"
2734 cat >conftest.
$ac_ext <<_ACEOF
2737 cat confdefs.h
>>conftest.
$ac_ext
2738 cat >>conftest.
$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2742 #include <sys/types.h>
2743 #include <sys/stat.h>
2744 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2745 struct buf { int x; };
2746 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2747 static char *e (p, i)
2753 static char *f (char * (*g) (char **, int), char **p, ...)
2758 s = g (p, va_arg (v,int));
2762 int test (int i, double x);
2763 struct s1 {int (*f) (int a);};
2764 struct s2 {int (*f) (double a);};
2765 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2773 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2779 rm -f conftest.
$ac_objext
2780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2781 (eval $ac_compile) 2>conftest.er1
2783 grep -v '^ *+' conftest.er1
>conftest.err
2785 cat conftest.err
>&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); } &&
2788 { ac_try
='test -z "$ac_c_werror_flag"
2789 || test ! -s conftest.err'
2790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; } &&
2795 { ac_try
='test -s conftest.$ac_objext'
2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; }; then
2801 am_cv_prog_cc_stdc
="$ac_arg"; break
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.
$ac_ext >&5
2807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2813 if test -z "$am_cv_prog_cc_stdc"; then
2814 echo "$as_me:$LINENO: result: none needed" >&5
2815 echo "${ECHO_T}none needed" >&6
2817 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2818 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2820 case "x$am_cv_prog_cc_stdc" in
2822 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2827 for ac_dir
in `cd $srcdir;pwd`/..
$srcdir/`cd $srcdir;pwd`/..
; do
2828 if test -f $ac_dir/install-sh
; then
2830 ac_install_sh
="$ac_aux_dir/install-sh -c"
2832 elif test -f $ac_dir/install.sh
; then
2834 ac_install_sh
="$ac_aux_dir/install.sh -c"
2836 elif test -f $ac_dir/shtool
; then
2838 ac_install_sh
="$ac_aux_dir/shtool install -c"
2842 if test -z "$ac_aux_dir"; then
2843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&5
2844 echo "$as_me: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&2;}
2845 { (exit 1); exit 1; }; }
2847 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2848 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2849 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2851 # Make sure we can run config.sub.
2852 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2853 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2854 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2855 { (exit 1); exit 1; }; }
2857 echo "$as_me:$LINENO: checking build system type" >&5
2858 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2859 if test "${ac_cv_build+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 ac_cv_build_alias
=$build_alias
2863 test -z "$ac_cv_build_alias" &&
2864 ac_cv_build_alias
=`$ac_config_guess`
2865 test -z "$ac_cv_build_alias" &&
2866 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2867 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2868 { (exit 1); exit 1; }; }
2869 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2870 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2871 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2872 { (exit 1); exit 1; }; }
2875 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2876 echo "${ECHO_T}$ac_cv_build" >&6
2878 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2879 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2880 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2883 echo "$as_me:$LINENO: checking host system type" >&5
2884 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2885 if test "${ac_cv_host+set}" = set; then
2886 echo $ECHO_N "(cached) $ECHO_C" >&6
2888 ac_cv_host_alias
=$host_alias
2889 test -z "$ac_cv_host_alias" &&
2890 ac_cv_host_alias
=$ac_cv_build_alias
2891 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2892 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2893 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2894 { (exit 1); exit 1; }; }
2897 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2898 echo "${ECHO_T}$ac_cv_host" >&6
2900 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2901 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2902 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2905 echo "$as_me:$LINENO: checking target system type" >&5
2906 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2907 if test "${ac_cv_target+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 ac_cv_target_alias
=$target_alias
2911 test "x$ac_cv_target_alias" = "x" &&
2912 ac_cv_target_alias
=$ac_cv_host_alias
2913 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2914 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2915 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2916 { (exit 1); exit 1; }; }
2919 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2920 echo "${ECHO_T}$ac_cv_target" >&6
2921 target
=$ac_cv_target
2922 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2923 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2924 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2927 # The aliases save the names the user supplied, while $host etc.
2928 # will get canonicalized.
2929 test -n "$target_alias" &&
2930 test "$program_prefix$program_suffix$program_transform_name" = \
2932 program_prefix
=${target_alias}-
2945 # If we haven't got the data from the intl directory,
2946 # assume NLS is disabled.
2955 if test -f ..
/intl
/config.intl
; then
2956 . ..
/intl
/config.intl
2958 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2959 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2960 if test x
"$USE_NLS" != xyes
; then
2961 echo "$as_me:$LINENO: result: no" >&5
2962 echo "${ECHO_T}no" >&6
2964 echo "$as_me:$LINENO: result: yes" >&5
2965 echo "${ECHO_T}yes" >&6
2967 cat >>confdefs.h
<<\_ACEOF
2968 #define ENABLE_NLS 1
2972 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2973 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2974 # Look for .po and .gmo files in the source directory.
2977 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2978 # If there aren't any .gmo files the shell will give us the
2979 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2981 case "$cat" in *\
**)
2984 # The quadruple backslash is collapsed to a double backslash
2985 # by the backticks, then collapsed again by the double quotes,
2986 # leaving us with one backslash in the sed expression (right
2987 # before the dot that mustn't act as a wildcard).
2988 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2989 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2990 # The user is allowed to set LINGUAS to a list of languages to
2991 # install catalogs for. If it's empty that means "all of them."
2992 if test "x$LINGUAS" = x
; then
2993 CATALOGS
="$CATALOGS $cat"
2994 XLINGUAS
="$XLINGUAS $lang"
2996 case "$LINGUAS" in *$lang*)
2997 CATALOGS
="$CATALOGS $cat"
2998 XLINGUAS
="$XLINGUAS $lang"
3004 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3005 echo "${ECHO_T}$LINGUAS" >&6
3018 localedir
='${datadir}/locale'
3021 if test x
"$USE_NLS" = xyes
; then
3022 CONFIG_ALL
="$CONFIG_ALL all-po"
3023 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3024 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3025 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3030 cat >>confdefs.h
<<_ACEOF
3031 #define PACKAGE "$PACKAGE"
3036 debugdir
=${libdir}/debug
3039 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
3040 if test "${with_separate_debug_dir+set}" = set; then
3041 withval
="$with_separate_debug_dir"
3042 debugdir
="${withval}"
3046 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
3047 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3048 ac_define_dir
=`eval echo $debugdir`
3049 ac_define_dir
=`eval echo $ac_define_dir`
3051 cat >>confdefs.h
<<_ACEOF
3052 #define DEBUGDIR "$ac_define_dir"
3056 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
3058 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
3059 if test "x$prefix" = xNONE
; then
3060 test_prefix
=/usr
/local
3065 test_prefix
=$exec_prefix
3068 "${test_prefix}"|
"${test_prefix}/"*|\
3069 '${exec_prefix}'|
'${exec_prefix}/'*)
3071 cat >>confdefs.h
<<\_ACEOF
3072 #define DEBUGDIR_RELOCATABLE 1
3080 subdirs
="$subdirs doc testsuite"
3083 # Provide defaults for some variables set by the per-host and per-target
3085 gdb_host_obs
=posix-hdep.o
3087 if test "${target}" = "${host}"; then
3093 .
$srcdir/configure.
host
3095 .
$srcdir/configure.tgt
3097 # Fetch the default architecture and default target vector from BFD.
3098 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
3100 # We only want the first architecture, so strip off the others if
3101 # there is more than one.
3102 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
3104 if test "x$targ_archs" != x
; then
3106 cat >>confdefs.h
<<_ACEOF
3107 #define DEFAULT_BFD_ARCH $targ_archs
3111 if test "x$targ_defvec" != x
; then
3113 cat >>confdefs.h
<<_ACEOF
3114 #define DEFAULT_BFD_VEC $targ_defvec
3119 test "$program_prefix" != NONE
&&
3120 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3121 # Use a double $ so make ignores it.
3122 test "$program_suffix" != NONE
&&
3123 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3124 # Double any \ or $. echo might interpret backslashes.
3125 # By default was `s,x,x', remove it if useless.
3126 cat <<\_ACEOF
>conftest.
sed
3127 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3129 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3133 # The CLI cannot be disabled yet, but may be in the future.
3136 # Check whether --enable-gdbcli or --disable-gdbcli was given.
3137 if test "${enable_gdbcli+set}" = set; then
3138 enableval
="$enable_gdbcli"
3143 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
3144 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
3145 { (exit 1); exit 1; }; } ;;
3147 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
3148 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
3149 { (exit 1); exit 1; }; } ;;
3154 if test x
"$enable_gdbcli" = xyes
; then
3155 if test -d $srcdir/cli
; then
3156 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
3157 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
3158 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
3159 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
3164 # Check whether --enable-gdbmi or --disable-gdbmi was given.
3165 if test "${enable_gdbmi+set}" = set; then
3166 enableval
="$enable_gdbmi"
3171 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
3172 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
3173 { (exit 1); exit 1; }; } ;;
3178 if test x
"$enable_gdbmi" = xyes
; then
3179 if test -d $srcdir/mi
; then
3180 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
3181 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
3182 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
3183 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
3188 # Check whether --enable-tui or --disable-tui was given.
3189 if test "${enable_tui+set}" = set; then
3190 enableval
="$enable_tui"
3195 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
3196 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
3197 { (exit 1); exit 1; }; } ;;
3204 # Check whether --enable-gdbtk or --disable-gdbtk was given.
3205 if test "${enable_gdbtk+set}" = set; then
3206 enableval
="$enable_gdbtk"
3211 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
3212 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
3213 { (exit 1); exit 1; }; } ;;
3216 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
3222 # We unconditionally disable gdbtk tests on selected platforms.
3225 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
3226 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
3230 # Libunwind support.
3231 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3232 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3233 if test "${ac_cv_header_stdc+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3236 cat >conftest.
$ac_ext <<_ACEOF
3239 cat confdefs.h
>>conftest.
$ac_ext
3240 cat >>conftest.
$ac_ext <<_ACEOF
3241 /* end confdefs.h. */
3255 rm -f conftest.
$ac_objext
3256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3257 (eval $ac_compile) 2>conftest.er1
3259 grep -v '^ *+' conftest.er1
>conftest.err
3261 cat conftest.err
>&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); } &&
3264 { ac_try
='test -z "$ac_c_werror_flag"
3265 || test ! -s conftest.err'
3266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }; } &&
3271 { ac_try
='test -s conftest.$ac_objext'
3272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276 (exit $ac_status); }; }; then
3277 ac_cv_header_stdc
=yes
3279 echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.
$ac_ext >&5
3282 ac_cv_header_stdc
=no
3284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3286 if test $ac_cv_header_stdc = yes; then
3287 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3288 cat >conftest.
$ac_ext <<_ACEOF
3291 cat confdefs.h
>>conftest.
$ac_ext
3292 cat >>conftest.
$ac_ext <<_ACEOF
3293 /* end confdefs.h. */
3297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3298 $EGREP "memchr" >/dev
/null
2>&1; then
3301 ac_cv_header_stdc
=no
3307 if test $ac_cv_header_stdc = yes; then
3308 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3309 cat >conftest.
$ac_ext <<_ACEOF
3312 cat confdefs.h
>>conftest.
$ac_ext
3313 cat >>conftest.
$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3319 $EGREP "free" >/dev
/null
2>&1; then
3322 ac_cv_header_stdc
=no
3328 if test $ac_cv_header_stdc = yes; then
3329 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3330 if test "$cross_compiling" = yes; then
3333 cat >conftest.
$ac_ext <<_ACEOF
3336 cat confdefs.h
>>conftest.
$ac_ext
3337 cat >>conftest.
$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3340 #if ((' ' & 0x0FF) == 0x020)
3341 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3342 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3344 # define ISLOWER(c) \
3345 (('a' <= (c) && (c) <= 'i') \
3346 || ('j' <= (c) && (c) <= 'r') \
3347 || ('s' <= (c) && (c) <= 'z'))
3348 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3351 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3356 for (i = 0; i < 256; i++)
3357 if (XOR (islower (i), ISLOWER (i))
3358 || toupper (i) != TOUPPER (i))
3363 rm -f conftest
$ac_exeext
3364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3365 (eval $ac_link) 2>&5
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3376 echo "$as_me: program exited with status $ac_status" >&5
3377 echo "$as_me: failed program was:" >&5
3378 sed 's/^/| /' conftest.
$ac_ext >&5
3381 ac_cv_header_stdc
=no
3383 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3387 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3388 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3389 if test $ac_cv_header_stdc = yes; then
3391 cat >>confdefs.h
<<\_ACEOF
3392 #define STDC_HEADERS 1
3397 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3407 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3408 inttypes.h stdint.h unistd.h
3410 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3411 echo "$as_me:$LINENO: checking for $ac_header" >&5
3412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 cat >conftest.
$ac_ext <<_ACEOF
3419 cat confdefs.h
>>conftest.
$ac_ext
3420 cat >>conftest.
$ac_ext <<_ACEOF
3421 /* end confdefs.h. */
3422 $ac_includes_default
3424 #include <$ac_header>
3426 rm -f conftest.
$ac_objext
3427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3428 (eval $ac_compile) 2>conftest.er1
3430 grep -v '^ *+' conftest.er1
>conftest.err
3432 cat conftest.err
>&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } &&
3435 { ac_try
='test -z "$ac_c_werror_flag"
3436 || test ! -s conftest.err'
3437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); }; } &&
3442 { ac_try
='test -s conftest.$ac_objext'
3443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); }; }; then
3448 eval "$as_ac_Header=yes"
3450 echo "$as_me: failed program was:" >&5
3451 sed 's/^/| /' conftest.
$ac_ext >&5
3453 eval "$as_ac_Header=no"
3455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3460 cat >>confdefs.h
<<_ACEOF
3461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3470 # Check whether --with-libunwind or --without-libunwind was given.
3471 if test "${with_libunwind+set}" = set; then
3472 withval
="$with_libunwind"
3473 case "${withval}" in
3474 yes) enable_libunwind
=yes ;;
3475 no
) enable_libunwind
=no
;;
3476 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
3477 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
3478 { (exit 1); exit 1; }; } ;;
3483 for ac_header
in libunwind.h
3485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3487 echo "$as_me:$LINENO: checking for $ac_header" >&5
3488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3495 # Is the header compilable?
3496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3498 cat >conftest.
$ac_ext <<_ACEOF
3501 cat confdefs.h
>>conftest.
$ac_ext
3502 cat >>conftest.
$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3504 $ac_includes_default
3505 #include <$ac_header>
3507 rm -f conftest.
$ac_objext
3508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3509 (eval $ac_compile) 2>conftest.er1
3511 grep -v '^ *+' conftest.er1
>conftest.err
3513 cat conftest.err
>&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); } &&
3516 { ac_try
='test -z "$ac_c_werror_flag"
3517 || test ! -s conftest.err'
3518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); }; } &&
3523 { ac_try
='test -s conftest.$ac_objext'
3524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); }; }; then
3529 ac_header_compiler
=yes
3531 echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.
$ac_ext >&5
3534 ac_header_compiler
=no
3536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3538 echo "${ECHO_T}$ac_header_compiler" >&6
3540 # Is the header present?
3541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3543 cat >conftest.
$ac_ext <<_ACEOF
3546 cat confdefs.h
>>conftest.
$ac_ext
3547 cat >>conftest.
$ac_ext <<_ACEOF
3548 /* end confdefs.h. */
3549 #include <$ac_header>
3551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3552 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3554 grep -v '^ *+' conftest.er1
>conftest.err
3556 cat conftest.err
>&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } >/dev
/null
; then
3559 if test -s conftest.err
; then
3560 ac_cpp_err
=$ac_c_preproc_warn_flag
3561 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3568 if test -z "$ac_cpp_err"; then
3569 ac_header_preproc
=yes
3571 echo "$as_me: failed program was:" >&5
3572 sed 's/^/| /' conftest.
$ac_ext >&5
3574 ac_header_preproc
=no
3576 rm -f conftest.err conftest.
$ac_ext
3577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3578 echo "${ECHO_T}$ac_header_preproc" >&6
3580 # So? What about this header?
3581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3586 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3587 ac_header_preproc
=yes
3590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3594 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3595 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3596 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3597 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3599 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3600 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3601 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3604 ## ------------------------------------------ ##
3605 ## Report this to the AC_PACKAGE_NAME lists. ##
3606 ## ------------------------------------------ ##
3609 sed "s/^/$as_me: WARNING: /" >&2
3612 echo "$as_me:$LINENO: checking for $ac_header" >&5
3613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 eval "$as_ac_Header=\$ac_header_preproc"
3619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3624 cat >>confdefs.h
<<_ACEOF
3625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3633 for ac_header
in libunwind-ia64.h
3635 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3637 echo "$as_me:$LINENO: checking for $ac_header" >&5
3638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3645 # Is the header compilable?
3646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3648 cat >conftest.
$ac_ext <<_ACEOF
3651 cat confdefs.h
>>conftest.
$ac_ext
3652 cat >>conftest.
$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3654 $ac_includes_default
3655 #include <$ac_header>
3657 rm -f conftest.
$ac_objext
3658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3659 (eval $ac_compile) 2>conftest.er1
3661 grep -v '^ *+' conftest.er1
>conftest.err
3663 cat conftest.err
>&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } &&
3666 { ac_try
='test -z "$ac_c_werror_flag"
3667 || test ! -s conftest.err'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; } &&
3673 { ac_try
='test -s conftest.$ac_objext'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; }; then
3679 ac_header_compiler
=yes
3681 echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.
$ac_ext >&5
3684 ac_header_compiler
=no
3686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3688 echo "${ECHO_T}$ac_header_compiler" >&6
3690 # Is the header present?
3691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3693 cat >conftest.
$ac_ext <<_ACEOF
3696 cat confdefs.h
>>conftest.
$ac_ext
3697 cat >>conftest.
$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3699 #include <$ac_header>
3701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3702 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3704 grep -v '^ *+' conftest.er1
>conftest.err
3706 cat conftest.err
>&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); } >/dev
/null
; then
3709 if test -s conftest.err
; then
3710 ac_cpp_err
=$ac_c_preproc_warn_flag
3711 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3718 if test -z "$ac_cpp_err"; then
3719 ac_header_preproc
=yes
3721 echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.
$ac_ext >&5
3724 ac_header_preproc
=no
3726 rm -f conftest.err conftest.
$ac_ext
3727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3728 echo "${ECHO_T}$ac_header_preproc" >&6
3730 # So? What about this header?
3731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3736 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3737 ac_header_preproc
=yes
3740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3745 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3747 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3751 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3754 ## ------------------------------------------ ##
3755 ## Report this to the AC_PACKAGE_NAME lists. ##
3756 ## ------------------------------------------ ##
3759 sed "s/^/$as_me: WARNING: /" >&2
3762 echo "$as_me:$LINENO: checking for $ac_header" >&5
3763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 eval "$as_ac_Header=\$ac_header_preproc"
3769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3774 cat >>confdefs.h
<<_ACEOF
3775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3782 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
3783 enable_libunwind
=yes;
3788 if test x
"$enable_libunwind" = xyes
; then
3790 for ac_header
in libunwind.h
3792 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3794 echo "$as_me:$LINENO: checking for $ac_header" >&5
3795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3797 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3802 # Is the header compilable?
3803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3805 cat >conftest.
$ac_ext <<_ACEOF
3808 cat confdefs.h
>>conftest.
$ac_ext
3809 cat >>conftest.
$ac_ext <<_ACEOF
3810 /* end confdefs.h. */
3811 $ac_includes_default
3812 #include <$ac_header>
3814 rm -f conftest.
$ac_objext
3815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3816 (eval $ac_compile) 2>conftest.er1
3818 grep -v '^ *+' conftest.er1
>conftest.err
3820 cat conftest.err
>&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } &&
3823 { ac_try
='test -z "$ac_c_werror_flag"
3824 || test ! -s conftest.err'
3825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); }; } &&
3830 { ac_try
='test -s conftest.$ac_objext'
3831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); }; }; then
3836 ac_header_compiler
=yes
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.
$ac_ext >&5
3841 ac_header_compiler
=no
3843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3845 echo "${ECHO_T}$ac_header_compiler" >&6
3847 # Is the header present?
3848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3850 cat >conftest.
$ac_ext <<_ACEOF
3853 cat confdefs.h
>>conftest.
$ac_ext
3854 cat >>conftest.
$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3856 #include <$ac_header>
3858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3861 grep -v '^ *+' conftest.er1
>conftest.err
3863 cat conftest.err
>&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); } >/dev
/null
; then
3866 if test -s conftest.err
; then
3867 ac_cpp_err
=$ac_c_preproc_warn_flag
3868 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3875 if test -z "$ac_cpp_err"; then
3876 ac_header_preproc
=yes
3878 echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.
$ac_ext >&5
3881 ac_header_preproc
=no
3883 rm -f conftest.err conftest.
$ac_ext
3884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3885 echo "${ECHO_T}$ac_header_preproc" >&6
3887 # So? What about this header?
3888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3893 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3894 ac_header_preproc
=yes
3897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3901 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3902 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3903 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3904 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3907 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3908 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3911 ## ------------------------------------------ ##
3912 ## Report this to the AC_PACKAGE_NAME lists. ##
3913 ## ------------------------------------------ ##
3916 sed "s/^/$as_me: WARNING: /" >&2
3919 echo "$as_me:$LINENO: checking for $ac_header" >&5
3920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 eval "$as_ac_Header=\$ac_header_preproc"
3926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3931 cat >>confdefs.h
<<_ACEOF
3932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3940 for ac_header
in libunwind-ia64.h
3942 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3944 echo "$as_me:$LINENO: checking for $ac_header" >&5
3945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3952 # Is the header compilable?
3953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3955 cat >conftest.
$ac_ext <<_ACEOF
3958 cat confdefs.h
>>conftest.
$ac_ext
3959 cat >>conftest.
$ac_ext <<_ACEOF
3960 /* end confdefs.h. */
3961 $ac_includes_default
3962 #include <$ac_header>
3964 rm -f conftest.
$ac_objext
3965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3966 (eval $ac_compile) 2>conftest.er1
3968 grep -v '^ *+' conftest.er1
>conftest.err
3970 cat conftest.err
>&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } &&
3973 { ac_try
='test -z "$ac_c_werror_flag"
3974 || test ! -s conftest.err'
3975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); }; } &&
3980 { ac_try
='test -s conftest.$ac_objext'
3981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }; }; then
3986 ac_header_compiler
=yes
3988 echo "$as_me: failed program was:" >&5
3989 sed 's/^/| /' conftest.
$ac_ext >&5
3991 ac_header_compiler
=no
3993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3995 echo "${ECHO_T}$ac_header_compiler" >&6
3997 # Is the header present?
3998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4000 cat >conftest.
$ac_ext <<_ACEOF
4003 cat confdefs.h
>>conftest.
$ac_ext
4004 cat >>conftest.
$ac_ext <<_ACEOF
4005 /* end confdefs.h. */
4006 #include <$ac_header>
4008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4011 grep -v '^ *+' conftest.er1
>conftest.err
4013 cat conftest.err
>&5
4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); } >/dev
/null
; then
4016 if test -s conftest.err
; then
4017 ac_cpp_err
=$ac_c_preproc_warn_flag
4018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4025 if test -z "$ac_cpp_err"; then
4026 ac_header_preproc
=yes
4028 echo "$as_me: failed program was:" >&5
4029 sed 's/^/| /' conftest.
$ac_ext >&5
4031 ac_header_preproc
=no
4033 rm -f conftest.err conftest.
$ac_ext
4034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4035 echo "${ECHO_T}$ac_header_preproc" >&6
4037 # So? What about this header?
4038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4044 ac_header_preproc
=yes
4047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4061 ## ------------------------------------------ ##
4062 ## Report this to the AC_PACKAGE_NAME lists. ##
4063 ## ------------------------------------------ ##
4066 sed "s/^/$as_me: WARNING: /" >&2
4069 echo "$as_me:$LINENO: checking for $ac_header" >&5
4070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 eval "$as_ac_Header=\$ac_header_preproc"
4076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4081 cat >>confdefs.h
<<_ACEOF
4082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4090 cat >>confdefs.h
<<\_ACEOF
4091 #define HAVE_LIBUNWIND 1
4094 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
4095 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
4096 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
4099 # Profiling support.
4100 # Check whether --enable-profiling or --disable-profiling was given.
4101 if test "${enable_profiling+set}" = set; then
4102 enableval
="$enable_profiling"
4107 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
4108 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
4109 { (exit 1); exit 1; }; } ;;
4117 for ac_func
in monstartup _mcleanup
4119 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4120 echo "$as_me:$LINENO: checking for $ac_func" >&5
4121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4122 if eval "test \"\${$as_ac_var+set}\" = set"; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 cat >conftest.
$ac_ext <<_ACEOF
4128 cat confdefs.h
>>conftest.
$ac_ext
4129 cat >>conftest.
$ac_ext <<_ACEOF
4130 /* end confdefs.h. */
4131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4133 #define $ac_func innocuous_$ac_func
4135 /* System header to define __stub macros and hopefully few prototypes,
4136 which can conflict with char $ac_func (); below.
4137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4138 <limits.h> exists even on freestanding compilers. */
4141 # include <limits.h>
4143 # include <assert.h>
4148 /* Override any gcc2 internal prototype to avoid an error. */
4153 /* We use char because int might match the return type of a gcc2
4154 builtin and then its argument prototype would still apply. */
4156 /* The GNU C library defines this for functions which it implements
4157 to always fail with ENOSYS. Some functions are actually named
4158 something starting with __ and the normal name is an alias. */
4159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4162 char (*f) () = $ac_func;
4171 return f != $ac_func;
4176 rm -f conftest.
$ac_objext conftest
$ac_exeext
4177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4178 (eval $ac_link) 2>conftest.er1
4180 grep -v '^ *+' conftest.er1
>conftest.err
4182 cat conftest.err
>&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); } &&
4185 { ac_try
='test -z "$ac_c_werror_flag"
4186 || test ! -s conftest.err'
4187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); }; } &&
4192 { ac_try
='test -s conftest$ac_exeext'
4193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); }; }; then
4198 eval "$as_ac_var=yes"
4200 echo "$as_me: failed program was:" >&5
4201 sed 's/^/| /' conftest.
$ac_ext >&5
4203 eval "$as_ac_var=no"
4205 rm -f conftest.err conftest.
$ac_objext \
4206 conftest
$ac_exeext conftest.
$ac_ext
4208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4210 if test `eval echo '${'$as_ac_var'}'` = yes; then
4211 cat >>confdefs.h
<<_ACEOF
4212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4218 echo "$as_me:$LINENO: checking for _etext" >&5
4219 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
4220 if test "${ac_cv_var__etext+set}" = set; then
4221 echo $ECHO_N "(cached) $ECHO_C" >&6
4223 cat >conftest.
$ac_ext <<_ACEOF
4226 cat confdefs.h
>>conftest.
$ac_ext
4227 cat >>conftest.
$ac_ext <<_ACEOF
4228 /* end confdefs.h. */
4240 rm -f conftest.
$ac_objext conftest
$ac_exeext
4241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4242 (eval $ac_link) 2>conftest.er1
4244 grep -v '^ *+' conftest.er1
>conftest.err
4246 cat conftest.err
>&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); } &&
4249 { ac_try
='test -z "$ac_c_werror_flag"
4250 || test ! -s conftest.err'
4251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); }; } &&
4256 { ac_try
='test -s conftest$ac_exeext'
4257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); }; }; then
4262 ac_cv_var__etext
=yes
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.
$ac_ext >&5
4269 rm -f conftest.err conftest.
$ac_objext \
4270 conftest
$ac_exeext conftest.
$ac_ext
4272 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
4273 echo "${ECHO_T}$ac_cv_var__etext" >&6
4274 if test $ac_cv_var__etext = yes; then
4276 cat >>confdefs.h
<<\_ACEOF
4277 #define HAVE__ETEXT 1
4281 echo "$as_me:$LINENO: checking for etext" >&5
4282 echo $ECHO_N "checking for etext... $ECHO_C" >&6
4283 if test "${ac_cv_var_etext+set}" = set; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6
4286 cat >conftest.
$ac_ext <<_ACEOF
4289 cat confdefs.h
>>conftest.
$ac_ext
4290 cat >>conftest.
$ac_ext <<_ACEOF
4291 /* end confdefs.h. */
4303 rm -f conftest.
$ac_objext conftest
$ac_exeext
4304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4305 (eval $ac_link) 2>conftest.er1
4307 grep -v '^ *+' conftest.er1
>conftest.err
4309 cat conftest.err
>&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); } &&
4312 { ac_try
='test -z "$ac_c_werror_flag"
4313 || test ! -s conftest.err'
4314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; } &&
4319 { ac_try
='test -s conftest$ac_exeext'
4320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; }; then
4327 echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.
$ac_ext >&5
4332 rm -f conftest.err conftest.
$ac_objext \
4333 conftest
$ac_exeext conftest.
$ac_ext
4335 echo "$as_me:$LINENO: result: $ac_cv_var_etext" >&5
4336 echo "${ECHO_T}$ac_cv_var_etext" >&6
4337 if test $ac_cv_var_etext = yes; then
4339 cat >>confdefs.h
<<\_ACEOF
4340 #define HAVE_ETEXT 1
4344 if test "$enable_profiling" = yes ; then
4345 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
4346 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
4347 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
4348 { (exit 1); exit 1; }; }
4351 OLD_CFLAGS
="$CFLAGS"
4352 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
4354 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
4355 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
4356 if test "${ac_cv_cc_supports_pg+set}" = set; then
4357 echo $ECHO_N "(cached) $ECHO_C" >&6
4359 cat >conftest.
$ac_ext <<_ACEOF
4362 cat confdefs.h
>>conftest.
$ac_ext
4363 cat >>conftest.
$ac_ext <<_ACEOF
4364 /* end confdefs.h. */
4374 rm -f conftest.
$ac_objext
4375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4376 (eval $ac_compile) 2>conftest.er1
4378 grep -v '^ *+' conftest.er1
>conftest.err
4380 cat conftest.err
>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); } &&
4383 { ac_try
='test -z "$ac_c_werror_flag"
4384 || test ! -s conftest.err'
4385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }; } &&
4390 { ac_try
='test -s conftest.$ac_objext'
4391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); }; }; then
4396 ac_cv_cc_supports_pg
=yes
4398 echo "$as_me: failed program was:" >&5
4399 sed 's/^/| /' conftest.
$ac_ext >&5
4401 ac_cv_cc_supports_pg
=no
4403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4405 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
4406 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
4408 if test $ac_cv_cc_supports_pg = no
; then
4409 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
4410 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
4411 { (exit 1); exit 1; }; }
4414 CFLAGS
="$OLD_CFLAGS"
4417 # --------------------- #
4418 # Checks for programs. #
4419 # --------------------- #
4421 for ac_prog
in gawk mawk nawk
awk
4423 # Extract the first word of "$ac_prog", so it can be a program name with args.
4424 set dummy
$ac_prog; ac_word
=$2
4425 echo "$as_me:$LINENO: checking for $ac_word" >&5
4426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4427 if test "${ac_cv_prog_AWK+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 if test -n "$AWK"; then
4431 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir
=.
4438 for ac_exec_ext
in '' $ac_executable_extensions; do
4439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_AWK
="$ac_prog"
4441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 if test -n "$AWK"; then
4451 echo "$as_me:$LINENO: result: $AWK" >&5
4452 echo "${ECHO_T}$AWK" >&6
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4458 test -n "$AWK" && break
4461 # Find a good install program. We prefer a C program (faster),
4462 # so one script is as good as another. But avoid the broken or
4463 # incompatible versions:
4464 # SysV /etc/install, /usr/sbin/install
4465 # SunOS /usr/etc/install
4466 # IRIX /sbin/install
4468 # AmigaOS /C/install, which installs bootblocks on floppy discs
4469 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4470 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4471 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4472 # OS/2's system install, which has a completely different semantic
4473 # ./install, which can be erroneously created by make from ./install.sh.
4474 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4475 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4476 if test -z "$INSTALL"; then
4477 if test "${ac_cv_path_install+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir
=.
4485 # Account for people who put trailing slashes in PATH elements.
4487 .
/ | .
// |
/cC
/* | \
4488 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4489 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4492 # OSF1 and SCO ODT 3.0 have their own names for install.
4493 # Don't use installbsd from OSF since it installs stuff as root
4495 for ac_prog
in ginstall scoinst
install; do
4496 for ac_exec_ext
in '' $ac_executable_extensions; do
4497 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4498 if test $ac_prog = install &&
4499 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4500 # AIX install. It has an incompatible calling convention.
4502 elif test $ac_prog = install &&
4503 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4504 # program-specific install script used by HP pwplus--don't use.
4507 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4519 if test "${ac_cv_path_install+set}" = set; then
4520 INSTALL
=$ac_cv_path_install
4522 # As a last resort, use the slow shell script. We don't cache a
4523 # path for INSTALL within a source directory, because that will
4524 # break other packages using the cache if that directory is
4525 # removed, or if the path is relative.
4526 INSTALL
=$ac_install_sh
4529 echo "$as_me:$LINENO: result: $INSTALL" >&5
4530 echo "${ECHO_T}$INSTALL" >&6
4532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4533 # It thinks the first close brace ends the variable substitution.
4534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4538 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4540 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4541 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4543 if test "$LN_S" = "ln -s"; then
4544 echo "$as_me:$LINENO: result: yes" >&5
4545 echo "${ECHO_T}yes" >&6
4547 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4548 echo "${ECHO_T}no, using $LN_S" >&6
4551 if test -n "$ac_tool_prefix"; then
4552 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4553 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4554 echo "$as_me:$LINENO: checking for $ac_word" >&5
4555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4556 if test "${ac_cv_prog_RANLIB+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 if test -n "$RANLIB"; then
4560 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4566 test -z "$as_dir" && as_dir
=.
4567 for ac_exec_ext
in '' $ac_executable_extensions; do
4568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4569 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4578 RANLIB
=$ac_cv_prog_RANLIB
4579 if test -n "$RANLIB"; then
4580 echo "$as_me:$LINENO: result: $RANLIB" >&5
4581 echo "${ECHO_T}$RANLIB" >&6
4583 echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4588 if test -z "$ac_cv_prog_RANLIB"; then
4589 ac_ct_RANLIB
=$RANLIB
4590 # Extract the first word of "ranlib", so it can be a program name with args.
4591 set dummy ranlib
; ac_word
=$2
4592 echo "$as_me:$LINENO: checking for $ac_word" >&5
4593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4594 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4595 echo $ECHO_N "(cached) $ECHO_C" >&6
4597 if test -n "$ac_ct_RANLIB"; then
4598 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir
=.
4605 for ac_exec_ext
in '' $ac_executable_extensions; do
4606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4614 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4617 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4618 if test -n "$ac_ct_RANLIB"; then
4619 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4620 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4626 RANLIB
=$ac_ct_RANLIB
4628 RANLIB
="$ac_cv_prog_RANLIB"
4631 for ac_prog
in 'bison -y' byacc
4633 # Extract the first word of "$ac_prog", so it can be a program name with args.
4634 set dummy
$ac_prog; ac_word
=$2
4635 echo "$as_me:$LINENO: checking for $ac_word" >&5
4636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4637 if test "${ac_cv_prog_YACC+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 if test -n "$YACC"; then
4641 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4647 test -z "$as_dir" && as_dir
=.
4648 for ac_exec_ext
in '' $ac_executable_extensions; do
4649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4650 ac_cv_prog_YACC
="$ac_prog"
4651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4659 YACC
=$ac_cv_prog_YACC
4660 if test -n "$YACC"; then
4661 echo "$as_me:$LINENO: result: $YACC" >&5
4662 echo "${ECHO_T}$YACC" >&6
4664 echo "$as_me:$LINENO: result: no" >&5
4665 echo "${ECHO_T}no" >&6
4668 test -n "$YACC" && break
4670 test -n "$YACC" || YACC
="yacc"
4673 if test -n "$ac_tool_prefix"; then
4674 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4675 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4676 echo "$as_me:$LINENO: checking for $ac_word" >&5
4677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4678 if test "${ac_cv_prog_AR+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 if test -n "$AR"; then
4682 ac_cv_prog_AR
="$AR" # Let the user override the test.
4684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4688 test -z "$as_dir" && as_dir
=.
4689 for ac_exec_ext
in '' $ac_executable_extensions; do
4690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4691 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 if test -n "$AR"; then
4702 echo "$as_me:$LINENO: result: $AR" >&5
4703 echo "${ECHO_T}$AR" >&6
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4710 if test -z "$ac_cv_prog_AR"; then
4712 # Extract the first word of "ar", so it can be a program name with args.
4713 set dummy
ar; ac_word
=$2
4714 echo "$as_me:$LINENO: checking for $ac_word" >&5
4715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4716 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4717 echo $ECHO_N "(cached) $ECHO_C" >&6
4719 if test -n "$ac_ct_AR"; then
4720 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4726 test -z "$as_dir" && as_dir
=.
4727 for ac_exec_ext
in '' $ac_executable_extensions; do
4728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_ac_ct_AR
="ar"
4730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4738 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4739 if test -n "$ac_ct_AR"; then
4740 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4741 echo "${ECHO_T}$ac_ct_AR" >&6
4743 echo "$as_me:$LINENO: result: no" >&5
4744 echo "${ECHO_T}no" >&6
4752 if test -n "$ac_tool_prefix"; then
4753 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4754 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4755 echo "$as_me:$LINENO: checking for $ac_word" >&5
4756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4757 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4758 echo $ECHO_N "(cached) $ECHO_C" >&6
4760 if test -n "$DLLTOOL"; then
4761 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4767 test -z "$as_dir" && as_dir
=.
4768 for ac_exec_ext
in '' $ac_executable_extensions; do
4769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4770 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4779 DLLTOOL
=$ac_cv_prog_DLLTOOL
4780 if test -n "$DLLTOOL"; then
4781 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4782 echo "${ECHO_T}$DLLTOOL" >&6
4784 echo "$as_me:$LINENO: result: no" >&5
4785 echo "${ECHO_T}no" >&6
4789 if test -z "$ac_cv_prog_DLLTOOL"; then
4790 ac_ct_DLLTOOL
=$DLLTOOL
4791 # Extract the first word of "dlltool", so it can be a program name with args.
4792 set dummy dlltool
; ac_word
=$2
4793 echo "$as_me:$LINENO: checking for $ac_word" >&5
4794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4795 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6
4798 if test -n "$ac_ct_DLLTOOL"; then
4799 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4805 test -z "$as_dir" && as_dir
=.
4806 for ac_exec_ext
in '' $ac_executable_extensions; do
4807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4808 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4817 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4818 if test -n "$ac_ct_DLLTOOL"; then
4819 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4820 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4822 echo "$as_me:$LINENO: result: no" >&5
4823 echo "${ECHO_T}no" >&6
4826 DLLTOOL
=$ac_ct_DLLTOOL
4828 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4831 if test -n "$ac_tool_prefix"; then
4832 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4833 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4834 echo "$as_me:$LINENO: checking for $ac_word" >&5
4835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4836 if test "${ac_cv_prog_WINDRES+set}" = set; then
4837 echo $ECHO_N "(cached) $ECHO_C" >&6
4839 if test -n "$WINDRES"; then
4840 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4846 test -z "$as_dir" && as_dir
=.
4847 for ac_exec_ext
in '' $ac_executable_extensions; do
4848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4849 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 WINDRES
=$ac_cv_prog_WINDRES
4859 if test -n "$WINDRES"; then
4860 echo "$as_me:$LINENO: result: $WINDRES" >&5
4861 echo "${ECHO_T}$WINDRES" >&6
4863 echo "$as_me:$LINENO: result: no" >&5
4864 echo "${ECHO_T}no" >&6
4868 if test -z "$ac_cv_prog_WINDRES"; then
4869 ac_ct_WINDRES
=$WINDRES
4870 # Extract the first word of "windres", so it can be a program name with args.
4871 set dummy windres
; ac_word
=$2
4872 echo "$as_me:$LINENO: checking for $ac_word" >&5
4873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4874 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4875 echo $ECHO_N "(cached) $ECHO_C" >&6
4877 if test -n "$ac_ct_WINDRES"; then
4878 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_ac_ct_WINDRES
="windres"
4888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4897 if test -n "$ac_ct_WINDRES"; then
4898 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4899 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4901 echo "$as_me:$LINENO: result: no" >&5
4902 echo "${ECHO_T}no" >&6
4905 WINDRES
=$ac_ct_WINDRES
4907 WINDRES
="$ac_cv_prog_WINDRES"
4911 # Needed for GNU/Hurd.
4912 if test -n "$ac_tool_prefix"; then
4913 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
4914 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
4915 echo "$as_me:$LINENO: checking for $ac_word" >&5
4916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4917 if test "${ac_cv_prog_MIG+set}" = set; then
4918 echo $ECHO_N "(cached) $ECHO_C" >&6
4920 if test -n "$MIG"; then
4921 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
4923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4927 test -z "$as_dir" && as_dir
=.
4928 for ac_exec_ext
in '' $ac_executable_extensions; do
4929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4930 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
4931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 if test -n "$MIG"; then
4941 echo "$as_me:$LINENO: result: $MIG" >&5
4942 echo "${ECHO_T}$MIG" >&6
4944 echo "$as_me:$LINENO: result: no" >&5
4945 echo "${ECHO_T}no" >&6
4949 if test -z "$ac_cv_prog_MIG"; then
4951 # Extract the first word of "mig", so it can be a program name with args.
4952 set dummy mig
; ac_word
=$2
4953 echo "$as_me:$LINENO: checking for $ac_word" >&5
4954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4955 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
4956 echo $ECHO_N "(cached) $ECHO_C" >&6
4958 if test -n "$ac_ct_MIG"; then
4959 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
4961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4965 test -z "$as_dir" && as_dir
=.
4966 for ac_exec_ext
in '' $ac_executable_extensions; do
4967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_ac_ct_MIG
="mig"
4969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
4978 if test -n "$ac_ct_MIG"; then
4979 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
4980 echo "${ECHO_T}$ac_ct_MIG" >&6
4982 echo "$as_me:$LINENO: result: no" >&5
4983 echo "${ECHO_T}no" >&6
4988 MIG
="$ac_cv_prog_MIG"
4992 # ---------------------- #
4993 # Checks for libraries. #
4994 # ---------------------- #
4996 # We might need to link with -lm; most simulators need it.
4998 echo "$as_me:$LINENO: checking for main in -lm" >&5
4999 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
5000 if test "${ac_cv_lib_m_main+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 ac_check_lib_save_LIBS
=$LIBS
5005 cat >conftest.
$ac_ext <<_ACEOF
5008 cat confdefs.h
>>conftest.
$ac_ext
5009 cat >>conftest.
$ac_ext <<_ACEOF
5010 /* end confdefs.h. */
5021 rm -f conftest.
$ac_objext conftest
$ac_exeext
5022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5023 (eval $ac_link) 2>conftest.er1
5025 grep -v '^ *+' conftest.er1
>conftest.err
5027 cat conftest.err
>&5
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); } &&
5030 { ac_try
='test -z "$ac_c_werror_flag"
5031 || test ! -s conftest.err'
5032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; } &&
5037 { ac_try
='test -s conftest$ac_exeext'
5038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); }; }; then
5043 ac_cv_lib_m_main
=yes
5045 echo "$as_me: failed program was:" >&5
5046 sed 's/^/| /' conftest.
$ac_ext >&5
5050 rm -f conftest.err conftest.
$ac_objext \
5051 conftest
$ac_exeext conftest.
$ac_ext
5052 LIBS
=$ac_check_lib_save_LIBS
5054 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
5055 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
5056 if test $ac_cv_lib_m_main = yes; then
5057 cat >>confdefs.h
<<_ACEOF
5066 # We need to link with -lw to get `wctype' on Solaris before Solaris
5067 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
5068 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
5069 # is known to have this problem). Therefore we avoid libw if we can.
5070 echo "$as_me:$LINENO: checking for wctype" >&5
5071 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
5072 if test "${ac_cv_func_wctype+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 cat >conftest.
$ac_ext <<_ACEOF
5078 cat confdefs.h
>>conftest.
$ac_ext
5079 cat >>conftest.
$ac_ext <<_ACEOF
5080 /* end confdefs.h. */
5081 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
5082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5083 #define wctype innocuous_wctype
5085 /* System header to define __stub macros and hopefully few prototypes,
5086 which can conflict with char wctype (); below.
5087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5088 <limits.h> exists even on freestanding compilers. */
5091 # include <limits.h>
5093 # include <assert.h>
5098 /* Override any gcc2 internal prototype to avoid an error. */
5103 /* We use char because int might match the return type of a gcc2
5104 builtin and then its argument prototype would still apply. */
5106 /* The GNU C library defines this for functions which it implements
5107 to always fail with ENOSYS. Some functions are actually named
5108 something starting with __ and the normal name is an alias. */
5109 #if defined (__stub_wctype) || defined (__stub___wctype)
5112 char (*f) () = wctype;
5126 rm -f conftest.
$ac_objext conftest
$ac_exeext
5127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5128 (eval $ac_link) 2>conftest.er1
5130 grep -v '^ *+' conftest.er1
>conftest.err
5132 cat conftest.err
>&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); } &&
5135 { ac_try
='test -z "$ac_c_werror_flag"
5136 || test ! -s conftest.err'
5137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); }; } &&
5142 { ac_try
='test -s conftest$ac_exeext'
5143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); }; }; then
5148 ac_cv_func_wctype
=yes
5150 echo "$as_me: failed program was:" >&5
5151 sed 's/^/| /' conftest.
$ac_ext >&5
5153 ac_cv_func_wctype
=no
5155 rm -f conftest.err conftest.
$ac_objext \
5156 conftest
$ac_exeext conftest.
$ac_ext
5158 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
5159 echo "${ECHO_T}$ac_cv_func_wctype" >&6
5160 if test $ac_cv_func_wctype = yes; then
5164 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
5165 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
5166 if test "${ac_cv_lib_w_wctype+set}" = set; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 ac_check_lib_save_LIBS
=$LIBS
5171 cat >conftest.
$ac_ext <<_ACEOF
5174 cat confdefs.h
>>conftest.
$ac_ext
5175 cat >>conftest.
$ac_ext <<_ACEOF
5176 /* end confdefs.h. */
5178 /* Override any gcc2 internal prototype to avoid an error. */
5182 /* We use char because int might match the return type of a gcc2
5183 builtin and then its argument prototype would still apply. */
5193 rm -f conftest.
$ac_objext conftest
$ac_exeext
5194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5195 (eval $ac_link) 2>conftest.er1
5197 grep -v '^ *+' conftest.er1
>conftest.err
5199 cat conftest.err
>&5
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 (exit $ac_status); } &&
5202 { ac_try
='test -z "$ac_c_werror_flag"
5203 || test ! -s conftest.err'
5204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); }; } &&
5209 { ac_try
='test -s conftest$ac_exeext'
5210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); }; }; then
5215 ac_cv_lib_w_wctype
=yes
5217 echo "$as_me: failed program was:" >&5
5218 sed 's/^/| /' conftest.
$ac_ext >&5
5220 ac_cv_lib_w_wctype
=no
5222 rm -f conftest.err conftest.
$ac_objext \
5223 conftest
$ac_exeext conftest.
$ac_ext
5224 LIBS
=$ac_check_lib_save_LIBS
5226 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
5227 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
5228 if test $ac_cv_lib_w_wctype = yes; then
5229 cat >>confdefs.h
<<_ACEOF
5240 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
5241 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
5242 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
5243 if test "${ac_cv_search_gethostbyname+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 ac_func_search_save_LIBS
=$LIBS
5247 ac_cv_search_gethostbyname
=no
5248 cat >conftest.
$ac_ext <<_ACEOF
5251 cat confdefs.h
>>conftest.
$ac_ext
5252 cat >>conftest.
$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5255 /* Override any gcc2 internal prototype to avoid an error. */
5259 /* We use char because int might match the return type of a gcc2
5260 builtin and then its argument prototype would still apply. */
5261 char gethostbyname ();
5270 rm -f conftest.
$ac_objext conftest
$ac_exeext
5271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5272 (eval $ac_link) 2>conftest.er1
5274 grep -v '^ *+' conftest.er1
>conftest.err
5276 cat conftest.err
>&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } &&
5279 { ac_try
='test -z "$ac_c_werror_flag"
5280 || test ! -s conftest.err'
5281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); }; } &&
5286 { ac_try
='test -s conftest$ac_exeext'
5287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); }; }; then
5292 ac_cv_search_gethostbyname
="none required"
5294 echo "$as_me: failed program was:" >&5
5295 sed 's/^/| /' conftest.
$ac_ext >&5
5298 rm -f conftest.err conftest.
$ac_objext \
5299 conftest
$ac_exeext conftest.
$ac_ext
5300 if test "$ac_cv_search_gethostbyname" = no
; then
5301 for ac_lib
in nsl
; do
5302 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5303 cat >conftest.
$ac_ext <<_ACEOF
5306 cat confdefs.h
>>conftest.
$ac_ext
5307 cat >>conftest.
$ac_ext <<_ACEOF
5308 /* end confdefs.h. */
5310 /* Override any gcc2 internal prototype to avoid an error. */
5314 /* We use char because int might match the return type of a gcc2
5315 builtin and then its argument prototype would still apply. */
5316 char gethostbyname ();
5325 rm -f conftest.
$ac_objext conftest
$ac_exeext
5326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5327 (eval $ac_link) 2>conftest.er1
5329 grep -v '^ *+' conftest.er1
>conftest.err
5331 cat conftest.err
>&5
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); } &&
5334 { ac_try
='test -z "$ac_c_werror_flag"
5335 || test ! -s conftest.err'
5336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); }; } &&
5341 { ac_try
='test -s conftest$ac_exeext'
5342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); }; }; then
5347 ac_cv_search_gethostbyname
="-l$ac_lib"
5350 echo "$as_me: failed program was:" >&5
5351 sed 's/^/| /' conftest.
$ac_ext >&5
5354 rm -f conftest.err conftest.
$ac_objext \
5355 conftest
$ac_exeext conftest.
$ac_ext
5358 LIBS
=$ac_func_search_save_LIBS
5360 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
5361 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
5362 if test "$ac_cv_search_gethostbyname" != no
; then
5363 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
5368 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
5369 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
5370 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
5371 if test "${ac_cv_search_socketpair+set}" = set; then
5372 echo $ECHO_N "(cached) $ECHO_C" >&6
5374 ac_func_search_save_LIBS
=$LIBS
5375 ac_cv_search_socketpair
=no
5376 cat >conftest.
$ac_ext <<_ACEOF
5379 cat confdefs.h
>>conftest.
$ac_ext
5380 cat >>conftest.
$ac_ext <<_ACEOF
5381 /* end confdefs.h. */
5383 /* Override any gcc2 internal prototype to avoid an error. */
5387 /* We use char because int might match the return type of a gcc2
5388 builtin and then its argument prototype would still apply. */
5398 rm -f conftest.
$ac_objext conftest
$ac_exeext
5399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5400 (eval $ac_link) 2>conftest.er1
5402 grep -v '^ *+' conftest.er1
>conftest.err
5404 cat conftest.err
>&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); } &&
5407 { ac_try
='test -z "$ac_c_werror_flag"
5408 || test ! -s conftest.err'
5409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 (exit $ac_status); }; } &&
5414 { ac_try
='test -s conftest$ac_exeext'
5415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); }; }; then
5420 ac_cv_search_socketpair
="none required"
5422 echo "$as_me: failed program was:" >&5
5423 sed 's/^/| /' conftest.
$ac_ext >&5
5426 rm -f conftest.err conftest.
$ac_objext \
5427 conftest
$ac_exeext conftest.
$ac_ext
5428 if test "$ac_cv_search_socketpair" = no
; then
5429 for ac_lib
in socket
; do
5430 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5431 cat >conftest.
$ac_ext <<_ACEOF
5434 cat confdefs.h
>>conftest.
$ac_ext
5435 cat >>conftest.
$ac_ext <<_ACEOF
5436 /* end confdefs.h. */
5438 /* Override any gcc2 internal prototype to avoid an error. */
5442 /* We use char because int might match the return type of a gcc2
5443 builtin and then its argument prototype would still apply. */
5453 rm -f conftest.
$ac_objext conftest
$ac_exeext
5454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5455 (eval $ac_link) 2>conftest.er1
5457 grep -v '^ *+' conftest.er1
>conftest.err
5459 cat conftest.err
>&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); } &&
5462 { ac_try
='test -z "$ac_c_werror_flag"
5463 || test ! -s conftest.err'
5464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); }; } &&
5469 { ac_try
='test -s conftest$ac_exeext'
5470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474 (exit $ac_status); }; }; then
5475 ac_cv_search_socketpair
="-l$ac_lib"
5478 echo "$as_me: failed program was:" >&5
5479 sed 's/^/| /' conftest.
$ac_ext >&5
5482 rm -f conftest.err conftest.
$ac_objext \
5483 conftest
$ac_exeext conftest.
$ac_ext
5486 LIBS
=$ac_func_search_save_LIBS
5488 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
5489 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
5490 if test "$ac_cv_search_socketpair" != no
; then
5491 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
5496 # For the TUI, we need enhanced curses functionality.
5498 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
5499 # curses library because the latter might not provide all the
5500 # functionality we need. However, this leads to problems on systems
5501 # where the linker searches /usr/local/lib, but the compiler doesn't
5502 # search /usr/local/include, if ncurses is installed in /usr/local. A
5503 # default installation of ncurses on alpha*-dec-osf* will lead to such
5505 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
5506 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
5507 if test "${ac_cv_search_waddstr+set}" = set; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 ac_func_search_save_LIBS
=$LIBS
5511 ac_cv_search_waddstr
=no
5512 cat >conftest.
$ac_ext <<_ACEOF
5515 cat confdefs.h
>>conftest.
$ac_ext
5516 cat >>conftest.
$ac_ext <<_ACEOF
5517 /* end confdefs.h. */
5519 /* Override any gcc2 internal prototype to avoid an error. */
5523 /* We use char because int might match the return type of a gcc2
5524 builtin and then its argument prototype would still apply. */
5534 rm -f conftest.
$ac_objext conftest
$ac_exeext
5535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5536 (eval $ac_link) 2>conftest.er1
5538 grep -v '^ *+' conftest.er1
>conftest.err
5540 cat conftest.err
>&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } &&
5543 { ac_try
='test -z "$ac_c_werror_flag"
5544 || test ! -s conftest.err'
5545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549 (exit $ac_status); }; } &&
5550 { ac_try
='test -s conftest$ac_exeext'
5551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); }; }; then
5556 ac_cv_search_waddstr
="none required"
5558 echo "$as_me: failed program was:" >&5
5559 sed 's/^/| /' conftest.
$ac_ext >&5
5562 rm -f conftest.err conftest.
$ac_objext \
5563 conftest
$ac_exeext conftest.
$ac_ext
5564 if test "$ac_cv_search_waddstr" = no
; then
5565 for ac_lib
in ncurses cursesX curses
; do
5566 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5567 cat >conftest.
$ac_ext <<_ACEOF
5570 cat confdefs.h
>>conftest.
$ac_ext
5571 cat >>conftest.
$ac_ext <<_ACEOF
5572 /* end confdefs.h. */
5574 /* Override any gcc2 internal prototype to avoid an error. */
5578 /* We use char because int might match the return type of a gcc2
5579 builtin and then its argument prototype would still apply. */
5589 rm -f conftest.
$ac_objext conftest
$ac_exeext
5590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5591 (eval $ac_link) 2>conftest.er1
5593 grep -v '^ *+' conftest.er1
>conftest.err
5595 cat conftest.err
>&5
5596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597 (exit $ac_status); } &&
5598 { ac_try
='test -z "$ac_c_werror_flag"
5599 || test ! -s conftest.err'
5600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); }; } &&
5605 { ac_try
='test -s conftest$ac_exeext'
5606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); }; }; then
5611 ac_cv_search_waddstr
="-l$ac_lib"
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.
$ac_ext >&5
5618 rm -f conftest.err conftest.
$ac_objext \
5619 conftest
$ac_exeext conftest.
$ac_ext
5622 LIBS
=$ac_func_search_save_LIBS
5624 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
5625 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
5626 if test "$ac_cv_search_waddstr" != no
; then
5627 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
5632 # Since GDB uses Readline, we need termcap functionality. In many
5633 # cases this will be provided by the curses library, but some systems
5634 # have a seperate termcap library, or no curses library at all.
5638 if test -d $srcdir/libtermcap
; then
5639 LIBS
="../libtermcap/libtermcap.a $LIBS"
5640 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
5643 ac_cv_search_tgetent
="none required"
5646 ac_cv_search_tgetent
="none required"
5647 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
5651 # These are the libraries checked by Readline.
5652 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
5653 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
5654 if test "${ac_cv_search_tgetent+set}" = set; then
5655 echo $ECHO_N "(cached) $ECHO_C" >&6
5657 ac_func_search_save_LIBS
=$LIBS
5658 ac_cv_search_tgetent
=no
5659 cat >conftest.
$ac_ext <<_ACEOF
5662 cat confdefs.h
>>conftest.
$ac_ext
5663 cat >>conftest.
$ac_ext <<_ACEOF
5664 /* end confdefs.h. */
5666 /* Override any gcc2 internal prototype to avoid an error. */
5670 /* We use char because int might match the return type of a gcc2
5671 builtin and then its argument prototype would still apply. */
5681 rm -f conftest.
$ac_objext conftest
$ac_exeext
5682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5683 (eval $ac_link) 2>conftest.er1
5685 grep -v '^ *+' conftest.er1
>conftest.err
5687 cat conftest.err
>&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); } &&
5690 { ac_try
='test -z "$ac_c_werror_flag"
5691 || test ! -s conftest.err'
5692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); }; } &&
5697 { ac_try
='test -s conftest$ac_exeext'
5698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702 (exit $ac_status); }; }; then
5703 ac_cv_search_tgetent
="none required"
5705 echo "$as_me: failed program was:" >&5
5706 sed 's/^/| /' conftest.
$ac_ext >&5
5709 rm -f conftest.err conftest.
$ac_objext \
5710 conftest
$ac_exeext conftest.
$ac_ext
5711 if test "$ac_cv_search_tgetent" = no
; then
5712 for ac_lib
in termcap tinfo curses ncurses
; do
5713 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5714 cat >conftest.
$ac_ext <<_ACEOF
5717 cat confdefs.h
>>conftest.
$ac_ext
5718 cat >>conftest.
$ac_ext <<_ACEOF
5719 /* end confdefs.h. */
5721 /* Override any gcc2 internal prototype to avoid an error. */
5725 /* We use char because int might match the return type of a gcc2
5726 builtin and then its argument prototype would still apply. */
5736 rm -f conftest.
$ac_objext conftest
$ac_exeext
5737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5738 (eval $ac_link) 2>conftest.er1
5740 grep -v '^ *+' conftest.er1
>conftest.err
5742 cat conftest.err
>&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); } &&
5745 { ac_try
='test -z "$ac_c_werror_flag"
5746 || test ! -s conftest.err'
5747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }; } &&
5752 { ac_try
='test -s conftest$ac_exeext'
5753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); }; }; then
5758 ac_cv_search_tgetent
="-l$ac_lib"
5761 echo "$as_me: failed program was:" >&5
5762 sed 's/^/| /' conftest.
$ac_ext >&5
5765 rm -f conftest.err conftest.
$ac_objext \
5766 conftest
$ac_exeext conftest.
$ac_ext
5769 LIBS
=$ac_func_search_save_LIBS
5771 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
5772 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
5773 if test "$ac_cv_search_tgetent" != no
; then
5774 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
5779 if test "$ac_cv_search_tgetent" = no
; then
5780 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
5781 echo "$as_me: error: no termcap library found" >&2;}
5782 { (exit 1); exit 1; }; }
5786 # Check whether --with-system-readline or --without-system-readline was given.
5787 if test "${with_system_readline+set}" = set; then
5788 withval
="$with_system_readline"
5792 if test "$with_system_readline" = yes; then
5797 READLINE
='$(READLINE_DIR)/libreadline.a'
5798 READLINE_DEPS
='$(READLINE)'
5799 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
5806 # Check whether --with-expat or --without-expat was given.
5807 if test "${with_expat+set}" = set; then
5808 withval
="$with_expat"
5813 echo "$as_me:$LINENO: checking whether to use expat" >&5
5814 echo $ECHO_N "checking whether to use expat... $ECHO_C" >&6
5815 echo "$as_me:$LINENO: result: $with_expat" >&5
5816 echo "${ECHO_T}$with_expat" >&6
5818 if test "${with_expat}" = no
; then
5819 { echo "$as_me:$LINENO: WARNING: expat support disabled; some features may be unavailable." >&5
5820 echo "$as_me: WARNING: expat support disabled; some features may be unavailable." >&2;}
5824 if test "X$prefix" = "XNONE"; then
5825 acl_final_prefix
="$ac_default_prefix"
5827 acl_final_prefix
="$prefix"
5829 if test "X$exec_prefix" = "XNONE"; then
5830 acl_final_exec_prefix
='${prefix}'
5832 acl_final_exec_prefix
="$exec_prefix"
5834 acl_save_prefix
="$prefix"
5835 prefix
="$acl_final_prefix"
5836 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5837 prefix
="$acl_save_prefix"
5840 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5841 if test "${with_gnu_ld+set}" = set; then
5842 withval
="$with_gnu_ld"
5843 test "$withval" = no || with_gnu_ld
=yes
5847 # Prepare PATH_SEPARATOR.
5848 # The user is always right.
5849 if test "${PATH_SEPARATOR+set}" != set; then
5850 echo "#! /bin/sh" >conf$$.sh
5851 echo "exit 0" >>conf$$.sh
5853 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5861 if test "$GCC" = yes; then
5862 # Check if gcc -print-prog-name=ld gives a path.
5863 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5864 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5867 # gcc leaves a trailing carriage return which upsets mingw
5868 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5870 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5873 # Accept absolute paths.
5874 [\\/]* |
[A-Za-z
]:[\\/]*)
5875 re_direlt
='/[^/][^/]*/\.\./'
5876 # Canonicalize the path of ld
5877 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5878 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5879 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5881 test -z "$LD" && LD
="$ac_prog"
5884 # If it fails, then pretend we aren't using GCC.
5888 # If it is relative, then search for the first ld in PATH.
5892 elif test "$with_gnu_ld" = yes; then
5893 echo "$as_me:$LINENO: checking for GNU ld" >&5
5894 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5896 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5897 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5899 if test "${acl_cv_path_LD+set}" = set; then
5900 echo $ECHO_N "(cached) $ECHO_C" >&6
5902 if test -z "$LD"; then
5903 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5904 for ac_dir
in $PATH; do
5905 test -z "$ac_dir" && ac_dir
=.
5906 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5907 acl_cv_path_LD
="$ac_dir/$ac_prog"
5908 # Check to see if the program is GNU ld. I'd rather use --version,
5909 # but apparently some GNU ld's only accept -v.
5910 # Break only if it was the GNU/non-GNU ld that we prefer.
5911 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5912 test "$with_gnu_ld" != no
&& break
5914 test "$with_gnu_ld" != yes && break
5920 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5924 LD
="$acl_cv_path_LD"
5925 if test -n "$LD"; then
5926 echo "$as_me:$LINENO: result: $LD" >&5
5927 echo "${ECHO_T}$LD" >&6
5929 echo "$as_me:$LINENO: result: no" >&5
5930 echo "${ECHO_T}no" >&6
5932 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5933 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5934 { (exit 1); exit 1; }; }
5935 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5936 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5937 if test "${acl_cv_prog_gnu_ld+set}" = set; then
5938 echo $ECHO_N "(cached) $ECHO_C" >&6
5940 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5941 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5942 acl_cv_prog_gnu_ld
=yes
5944 acl_cv_prog_gnu_ld
=no
5947 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
5948 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
5949 with_gnu_ld
=$acl_cv_prog_gnu_ld
5953 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
5954 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
5955 if test "${acl_cv_rpath+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5960 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5966 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
5967 echo "${ECHO_T}$acl_cv_rpath" >&6
5969 libext
="$acl_cv_libext"
5970 shlibext
="$acl_cv_shlibext"
5971 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5972 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5973 hardcode_direct
="$acl_cv_hardcode_direct"
5974 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5975 # Check whether --enable-rpath or --disable-rpath was given.
5976 if test "${enable_rpath+set}" = set; then
5977 enableval
="$enable_rpath"
5993 acl_save_prefix
="$prefix"
5994 prefix
="$acl_final_prefix"
5995 acl_save_exec_prefix
="$exec_prefix"
5996 exec_prefix
="$acl_final_exec_prefix"
5998 eval additional_includedir
=\"$includedir\"
5999 eval additional_libdir
=\"$libdir\"
6001 exec_prefix
="$acl_save_exec_prefix"
6002 prefix
="$acl_save_prefix"
6005 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
6006 if test "${with_libexpat_prefix+set}" = set; then
6007 withval
="$with_libexpat_prefix"
6009 if test "X$withval" = "Xno"; then
6012 if test "X$withval" = "X"; then
6014 acl_save_prefix
="$prefix"
6015 prefix
="$acl_final_prefix"
6016 acl_save_exec_prefix
="$exec_prefix"
6017 exec_prefix
="$acl_final_exec_prefix"
6019 eval additional_includedir
=\"$includedir\"
6020 eval additional_libdir
=\"$libdir\"
6022 exec_prefix
="$acl_save_exec_prefix"
6023 prefix
="$acl_save_prefix"
6026 additional_includedir
="$withval/include"
6027 additional_libdir
="$withval/lib"
6037 names_already_handled
=
6038 names_next_round
='expat '
6039 while test -n "$names_next_round"; do
6040 names_this_round
="$names_next_round"
6042 for name
in $names_this_round; do
6044 for n
in $names_already_handled; do
6045 if test "$n" = "$name"; then
6050 if test -z "$already_handled"; then
6051 names_already_handled
="$names_already_handled $name"
6052 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6053 eval value
=\"\
$HAVE_LIB$uppername\"
6054 if test -n "$value"; then
6055 if test "$value" = yes; then
6056 eval value
=\"\
$LIB$uppername\"
6057 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
6058 eval value
=\"\
$LTLIB$uppername\"
6059 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
6068 if test $use_additional = yes; then
6069 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6070 found_dir
="$additional_libdir"
6071 found_so
="$additional_libdir/lib$name.$shlibext"
6072 if test -f "$additional_libdir/lib$name.la"; then
6073 found_la
="$additional_libdir/lib$name.la"
6076 if test -f "$additional_libdir/lib$name.$libext"; then
6077 found_dir
="$additional_libdir"
6078 found_a
="$additional_libdir/lib$name.$libext"
6079 if test -f "$additional_libdir/lib$name.la"; then
6080 found_la
="$additional_libdir/lib$name.la"
6085 if test "X$found_dir" = "X"; then
6086 for x
in $LDFLAGS $LTLIBEXPAT; do
6088 acl_save_prefix
="$prefix"
6089 prefix
="$acl_final_prefix"
6090 acl_save_exec_prefix
="$exec_prefix"
6091 exec_prefix
="$acl_final_exec_prefix"
6093 exec_prefix
="$acl_save_exec_prefix"
6094 prefix
="$acl_save_prefix"
6098 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6099 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6101 found_so
="$dir/lib$name.$shlibext"
6102 if test -f "$dir/lib$name.la"; then
6103 found_la
="$dir/lib$name.la"
6106 if test -f "$dir/lib$name.$libext"; then
6108 found_a
="$dir/lib$name.$libext"
6109 if test -f "$dir/lib$name.la"; then
6110 found_la
="$dir/lib$name.la"
6116 if test "X$found_dir" != "X"; then
6121 if test "X$found_dir" != "X"; then
6122 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
6123 if test "X$found_so" != "X"; then
6124 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6125 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6128 for x
in $ltrpathdirs; do
6129 if test "X$x" = "X$found_dir"; then
6134 if test -z "$haveit"; then
6135 ltrpathdirs
="$ltrpathdirs $found_dir"
6137 if test "$hardcode_direct" = yes; then
6138 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6140 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6141 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6143 for x
in $rpathdirs; do
6144 if test "X$x" = "X$found_dir"; then
6149 if test -z "$haveit"; then
6150 rpathdirs
="$rpathdirs $found_dir"
6154 for x
in $LDFLAGS $LIBEXPAT; do
6156 acl_save_prefix
="$prefix"
6157 prefix
="$acl_final_prefix"
6158 acl_save_exec_prefix
="$exec_prefix"
6159 exec_prefix
="$acl_final_exec_prefix"
6161 exec_prefix
="$acl_save_exec_prefix"
6162 prefix
="$acl_save_prefix"
6164 if test "X$x" = "X-L$found_dir"; then
6169 if test -z "$haveit"; then
6170 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
6172 if test "$hardcode_minus_L" != no
; then
6173 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6175 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
6181 if test "X$found_a" != "X"; then
6182 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
6184 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
6187 additional_includedir
=
6188 case "$found_dir" in
6190 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6191 additional_includedir
="$basedir/include"
6194 if test "X$additional_includedir" != "X"; then
6195 if test "X$additional_includedir" != "X/usr/include"; then
6197 if test "X$additional_includedir" = "X/usr/local/include"; then
6198 if test -n "$GCC"; then
6200 linux
*) haveit
=yes;;
6204 if test -z "$haveit"; then
6205 for x
in $CPPFLAGS $INCEXPAT; do
6207 acl_save_prefix
="$prefix"
6208 prefix
="$acl_final_prefix"
6209 acl_save_exec_prefix
="$exec_prefix"
6210 exec_prefix
="$acl_final_exec_prefix"
6212 exec_prefix
="$acl_save_exec_prefix"
6213 prefix
="$acl_save_prefix"
6215 if test "X$x" = "X-I$additional_includedir"; then
6220 if test -z "$haveit"; then
6221 if test -d "$additional_includedir"; then
6222 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
6228 if test -n "$found_la"; then
6229 save_libdir
="$libdir"
6231 */* |
*\\*) .
"$found_la" ;;
6232 *) .
"./$found_la" ;;
6234 libdir
="$save_libdir"
6235 for dep
in $dependency_libs; do
6238 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6239 if test "X$additional_libdir" != "X/usr/lib"; then
6241 if test "X$additional_libdir" = "X/usr/local/lib"; then
6242 if test -n "$GCC"; then
6244 linux
*) haveit
=yes;;
6248 if test -z "$haveit"; then
6250 for x
in $LDFLAGS $LIBEXPAT; do
6252 acl_save_prefix
="$prefix"
6253 prefix
="$acl_final_prefix"
6254 acl_save_exec_prefix
="$exec_prefix"
6255 exec_prefix
="$acl_final_exec_prefix"
6257 exec_prefix
="$acl_save_exec_prefix"
6258 prefix
="$acl_save_prefix"
6260 if test "X$x" = "X-L$additional_libdir"; then
6265 if test -z "$haveit"; then
6266 if test -d "$additional_libdir"; then
6267 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
6271 for x
in $LDFLAGS $LTLIBEXPAT; do
6273 acl_save_prefix
="$prefix"
6274 prefix
="$acl_final_prefix"
6275 acl_save_exec_prefix
="$exec_prefix"
6276 exec_prefix
="$acl_final_exec_prefix"
6278 exec_prefix
="$acl_save_exec_prefix"
6279 prefix
="$acl_save_prefix"
6281 if test "X$x" = "X-L$additional_libdir"; then
6286 if test -z "$haveit"; then
6287 if test -d "$additional_libdir"; then
6288 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
6295 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6296 if test "$enable_rpath" != no
; then
6298 for x
in $rpathdirs; do
6299 if test "X$x" = "X$dir"; then
6304 if test -z "$haveit"; then
6305 rpathdirs
="$rpathdirs $dir"
6308 for x
in $ltrpathdirs; do
6309 if test "X$x" = "X$dir"; then
6314 if test -z "$haveit"; then
6315 ltrpathdirs
="$ltrpathdirs $dir"
6320 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6323 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6326 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
6327 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
6333 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
6334 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
6340 if test "X$rpathdirs" != "X"; then
6341 if test -n "$hardcode_libdir_separator"; then
6343 for found_dir
in $rpathdirs; do
6344 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6346 acl_save_libdir
="$libdir"
6348 eval flag
=\"$hardcode_libdir_flag_spec\"
6349 libdir
="$acl_save_libdir"
6350 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
6352 for found_dir
in $rpathdirs; do
6353 acl_save_libdir
="$libdir"
6355 eval flag
=\"$hardcode_libdir_flag_spec\"
6356 libdir
="$acl_save_libdir"
6357 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
6361 if test "X$ltrpathdirs" != "X"; then
6362 for found_dir
in $ltrpathdirs; do
6363 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
6368 ac_save_CPPFLAGS
="$CPPFLAGS"
6370 for element
in $INCEXPAT; do
6372 for x
in $CPPFLAGS; do
6374 acl_save_prefix
="$prefix"
6375 prefix
="$acl_final_prefix"
6376 acl_save_exec_prefix
="$exec_prefix"
6377 exec_prefix
="$acl_final_exec_prefix"
6379 exec_prefix
="$acl_save_exec_prefix"
6380 prefix
="$acl_save_prefix"
6382 if test "X$x" = "X$element"; then
6387 if test -z "$haveit"; then
6388 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6393 echo "$as_me:$LINENO: checking for libexpat" >&5
6394 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
6395 if test "${ac_cv_libexpat+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6399 ac_save_LIBS
="$LIBS"
6400 LIBS
="$LIBS $LIBEXPAT"
6401 cat >conftest.
$ac_ext <<_ACEOF
6404 cat confdefs.h
>>conftest.
$ac_ext
6405 cat >>conftest.
$ac_ext <<_ACEOF
6406 /* end confdefs.h. */
6411 XML_Parser p = XML_ParserCreate (0);
6416 rm -f conftest.
$ac_objext conftest
$ac_exeext
6417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6418 (eval $ac_link) 2>conftest.er1
6420 grep -v '^ *+' conftest.er1
>conftest.err
6422 cat conftest.err
>&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); } &&
6425 { ac_try
='test -z "$ac_c_werror_flag"
6426 || test ! -s conftest.err'
6427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); }; } &&
6432 { ac_try
='test -s conftest$ac_exeext'
6433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); }; }; then
6440 echo "$as_me: failed program was:" >&5
6441 sed 's/^/| /' conftest.
$ac_ext >&5
6445 rm -f conftest.err conftest.
$ac_objext \
6446 conftest
$ac_exeext conftest.
$ac_ext
6447 LIBS
="$ac_save_LIBS"
6450 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
6451 echo "${ECHO_T}$ac_cv_libexpat" >&6
6452 if test "$ac_cv_libexpat" = yes; then
6455 cat >>confdefs.h
<<\_ACEOF
6456 #define HAVE_LIBEXPAT 1
6459 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
6460 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
6461 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
6462 echo "${ECHO_T}$LIBEXPAT" >&6
6465 CPPFLAGS
="$ac_save_CPPFLAGS"
6475 if test "$HAVE_LIBEXPAT" != yes; then
6476 if test "$with_expat" = yes; then
6477 { { echo "$as_me:$LINENO: error: expat is missing or unusable" >&5
6478 echo "$as_me: error: expat is missing or unusable" >&2;}
6479 { (exit 1); exit 1; }; }
6481 { echo "$as_me:$LINENO: WARNING: expat is missing or unusable; some features may be unavailable." >&5
6482 echo "$as_me: WARNING: expat is missing or unusable; some features may be unavailable." >&2;}
6486 LIBS
="$LIBS $LIBEXPAT"
6488 for ac_func
in XML_StopParser
6490 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6491 echo "$as_me:$LINENO: checking for $ac_func" >&5
6492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6493 if eval "test \"\${$as_ac_var+set}\" = set"; then
6494 echo $ECHO_N "(cached) $ECHO_C" >&6
6496 cat >conftest.
$ac_ext <<_ACEOF
6499 cat confdefs.h
>>conftest.
$ac_ext
6500 cat >>conftest.
$ac_ext <<_ACEOF
6501 /* end confdefs.h. */
6502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6504 #define $ac_func innocuous_$ac_func
6506 /* System header to define __stub macros and hopefully few prototypes,
6507 which can conflict with char $ac_func (); below.
6508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6509 <limits.h> exists even on freestanding compilers. */
6512 # include <limits.h>
6514 # include <assert.h>
6519 /* Override any gcc2 internal prototype to avoid an error. */
6524 /* We use char because int might match the return type of a gcc2
6525 builtin and then its argument prototype would still apply. */
6527 /* The GNU C library defines this for functions which it implements
6528 to always fail with ENOSYS. Some functions are actually named
6529 something starting with __ and the normal name is an alias. */
6530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6533 char (*f) () = $ac_func;
6542 return f != $ac_func;
6547 rm -f conftest.
$ac_objext conftest
$ac_exeext
6548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6549 (eval $ac_link) 2>conftest.er1
6551 grep -v '^ *+' conftest.er1
>conftest.err
6553 cat conftest.err
>&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } &&
6556 { ac_try
='test -z "$ac_c_werror_flag"
6557 || test ! -s conftest.err'
6558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); }; } &&
6563 { ac_try
='test -s conftest$ac_exeext'
6564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); }; }; then
6569 eval "$as_ac_var=yes"
6571 echo "$as_me: failed program was:" >&5
6572 sed 's/^/| /' conftest.
$ac_ext >&5
6574 eval "$as_ac_var=no"
6576 rm -f conftest.err conftest.
$ac_objext \
6577 conftest
$ac_exeext conftest.
$ac_ext
6579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6581 if test `eval echo '${'$as_ac_var'}'` = yes; then
6582 cat >>confdefs.h
<<_ACEOF
6583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6593 # ------------------------- #
6594 # Checks for header files. #
6595 # ------------------------- #
6603 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6604 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6605 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6606 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6608 echo $ECHO_N "(cached) $ECHO_C" >&6
6610 cat >conftest.
$ac_ext <<_ACEOF
6613 cat confdefs.h
>>conftest.
$ac_ext
6614 cat >>conftest.
$ac_ext <<_ACEOF
6615 /* end confdefs.h. */
6616 #include <sys/types.h>
6628 rm -f conftest.
$ac_objext
6629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6630 (eval $ac_compile) 2>conftest.er1
6632 grep -v '^ *+' conftest.er1
>conftest.err
6634 cat conftest.err
>&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); } &&
6637 { ac_try
='test -z "$ac_c_werror_flag"
6638 || test ! -s conftest.err'
6639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643 (exit $ac_status); }; } &&
6644 { ac_try
='test -s conftest.$ac_objext'
6645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); }; }; then
6650 eval "$as_ac_Header=yes"
6652 echo "$as_me: failed program was:" >&5
6653 sed 's/^/| /' conftest.
$ac_ext >&5
6655 eval "$as_ac_Header=no"
6657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6662 cat >>confdefs.h
<<_ACEOF
6663 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6666 ac_header_dirent
=$ac_hdr; break
6670 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6671 if test $ac_header_dirent = dirent.h
; then
6672 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6673 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6674 if test "${ac_cv_search_opendir+set}" = set; then
6675 echo $ECHO_N "(cached) $ECHO_C" >&6
6677 ac_func_search_save_LIBS
=$LIBS
6678 ac_cv_search_opendir
=no
6679 cat >conftest.
$ac_ext <<_ACEOF
6682 cat confdefs.h
>>conftest.
$ac_ext
6683 cat >>conftest.
$ac_ext <<_ACEOF
6684 /* end confdefs.h. */
6686 /* Override any gcc2 internal prototype to avoid an error. */
6690 /* We use char because int might match the return type of a gcc2
6691 builtin and then its argument prototype would still apply. */
6701 rm -f conftest.
$ac_objext conftest
$ac_exeext
6702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6703 (eval $ac_link) 2>conftest.er1
6705 grep -v '^ *+' conftest.er1
>conftest.err
6707 cat conftest.err
>&5
6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6709 (exit $ac_status); } &&
6710 { ac_try
='test -z "$ac_c_werror_flag"
6711 || test ! -s conftest.err'
6712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); }; } &&
6717 { ac_try
='test -s conftest$ac_exeext'
6718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722 (exit $ac_status); }; }; then
6723 ac_cv_search_opendir
="none required"
6725 echo "$as_me: failed program was:" >&5
6726 sed 's/^/| /' conftest.
$ac_ext >&5
6729 rm -f conftest.err conftest.
$ac_objext \
6730 conftest
$ac_exeext conftest.
$ac_ext
6731 if test "$ac_cv_search_opendir" = no
; then
6732 for ac_lib
in dir
; do
6733 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6734 cat >conftest.
$ac_ext <<_ACEOF
6737 cat confdefs.h
>>conftest.
$ac_ext
6738 cat >>conftest.
$ac_ext <<_ACEOF
6739 /* end confdefs.h. */
6741 /* Override any gcc2 internal prototype to avoid an error. */
6745 /* We use char because int might match the return type of a gcc2
6746 builtin and then its argument prototype would still apply. */
6756 rm -f conftest.
$ac_objext conftest
$ac_exeext
6757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6758 (eval $ac_link) 2>conftest.er1
6760 grep -v '^ *+' conftest.er1
>conftest.err
6762 cat conftest.err
>&5
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); } &&
6765 { ac_try
='test -z "$ac_c_werror_flag"
6766 || test ! -s conftest.err'
6767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); }; } &&
6772 { ac_try
='test -s conftest$ac_exeext'
6773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); }; }; then
6778 ac_cv_search_opendir
="-l$ac_lib"
6781 echo "$as_me: failed program was:" >&5
6782 sed 's/^/| /' conftest.
$ac_ext >&5
6785 rm -f conftest.err conftest.
$ac_objext \
6786 conftest
$ac_exeext conftest.
$ac_ext
6789 LIBS
=$ac_func_search_save_LIBS
6791 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6792 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6793 if test "$ac_cv_search_opendir" != no
; then
6794 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6799 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6800 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6801 if test "${ac_cv_search_opendir+set}" = set; then
6802 echo $ECHO_N "(cached) $ECHO_C" >&6
6804 ac_func_search_save_LIBS
=$LIBS
6805 ac_cv_search_opendir
=no
6806 cat >conftest.
$ac_ext <<_ACEOF
6809 cat confdefs.h
>>conftest.
$ac_ext
6810 cat >>conftest.
$ac_ext <<_ACEOF
6811 /* end confdefs.h. */
6813 /* Override any gcc2 internal prototype to avoid an error. */
6817 /* We use char because int might match the return type of a gcc2
6818 builtin and then its argument prototype would still apply. */
6828 rm -f conftest.
$ac_objext conftest
$ac_exeext
6829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6830 (eval $ac_link) 2>conftest.er1
6832 grep -v '^ *+' conftest.er1
>conftest.err
6834 cat conftest.err
>&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); } &&
6837 { ac_try
='test -z "$ac_c_werror_flag"
6838 || test ! -s conftest.err'
6839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); }; } &&
6844 { ac_try
='test -s conftest$ac_exeext'
6845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); }; }; then
6850 ac_cv_search_opendir
="none required"
6852 echo "$as_me: failed program was:" >&5
6853 sed 's/^/| /' conftest.
$ac_ext >&5
6856 rm -f conftest.err conftest.
$ac_objext \
6857 conftest
$ac_exeext conftest.
$ac_ext
6858 if test "$ac_cv_search_opendir" = no
; then
6860 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6861 cat >conftest.
$ac_ext <<_ACEOF
6864 cat confdefs.h
>>conftest.
$ac_ext
6865 cat >>conftest.
$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6868 /* Override any gcc2 internal prototype to avoid an error. */
6872 /* We use char because int might match the return type of a gcc2
6873 builtin and then its argument prototype would still apply. */
6883 rm -f conftest.
$ac_objext conftest
$ac_exeext
6884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6885 (eval $ac_link) 2>conftest.er1
6887 grep -v '^ *+' conftest.er1
>conftest.err
6889 cat conftest.err
>&5
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); } &&
6892 { ac_try
='test -z "$ac_c_werror_flag"
6893 || test ! -s conftest.err'
6894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 (exit $ac_status); }; } &&
6899 { ac_try
='test -s conftest$ac_exeext'
6900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); }; }; then
6905 ac_cv_search_opendir
="-l$ac_lib"
6908 echo "$as_me: failed program was:" >&5
6909 sed 's/^/| /' conftest.
$ac_ext >&5
6912 rm -f conftest.err conftest.
$ac_objext \
6913 conftest
$ac_exeext conftest.
$ac_ext
6916 LIBS
=$ac_func_search_save_LIBS
6918 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6919 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6920 if test "$ac_cv_search_opendir" != no
; then
6921 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6927 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6928 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
6929 if test "${ac_cv_header_stat_broken+set}" = set; then
6930 echo $ECHO_N "(cached) $ECHO_C" >&6
6932 cat >conftest.
$ac_ext <<_ACEOF
6935 cat confdefs.h
>>conftest.
$ac_ext
6936 cat >>conftest.
$ac_ext <<_ACEOF
6937 /* end confdefs.h. */
6938 #include <sys/types.h>
6939 #include <sys/stat.h>
6941 #if defined(S_ISBLK) && defined(S_IFDIR)
6942 # if S_ISBLK (S_IFDIR)
6947 #if defined(S_ISBLK) && defined(S_IFCHR)
6948 # if S_ISBLK (S_IFCHR)
6953 #if defined(S_ISLNK) && defined(S_IFREG)
6954 # if S_ISLNK (S_IFREG)
6959 #if defined(S_ISSOCK) && defined(S_IFREG)
6960 # if S_ISSOCK (S_IFREG)
6966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6967 $EGREP "You lose" >/dev
/null
2>&1; then
6968 ac_cv_header_stat_broken
=yes
6970 ac_cv_header_stat_broken
=no
6975 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6976 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
6977 if test $ac_cv_header_stat_broken = yes; then
6979 cat >>confdefs.h
<<\_ACEOF
6980 #define STAT_MACROS_BROKEN 1
6985 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6986 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6987 if test "${ac_cv_header_stdc+set}" = set; then
6988 echo $ECHO_N "(cached) $ECHO_C" >&6
6990 cat >conftest.
$ac_ext <<_ACEOF
6993 cat confdefs.h
>>conftest.
$ac_ext
6994 cat >>conftest.
$ac_ext <<_ACEOF
6995 /* end confdefs.h. */
7009 rm -f conftest.
$ac_objext
7010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7011 (eval $ac_compile) 2>conftest.er1
7013 grep -v '^ *+' conftest.er1
>conftest.err
7015 cat conftest.err
>&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); } &&
7018 { ac_try
='test -z "$ac_c_werror_flag"
7019 || test ! -s conftest.err'
7020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); }; } &&
7025 { ac_try
='test -s conftest.$ac_objext'
7026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); }; }; then
7031 ac_cv_header_stdc
=yes
7033 echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.
$ac_ext >&5
7036 ac_cv_header_stdc
=no
7038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7040 if test $ac_cv_header_stdc = yes; then
7041 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7042 cat >conftest.
$ac_ext <<_ACEOF
7045 cat confdefs.h
>>conftest.
$ac_ext
7046 cat >>conftest.
$ac_ext <<_ACEOF
7047 /* end confdefs.h. */
7051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7052 $EGREP "memchr" >/dev
/null
2>&1; then
7055 ac_cv_header_stdc
=no
7061 if test $ac_cv_header_stdc = yes; then
7062 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7063 cat >conftest.
$ac_ext <<_ACEOF
7066 cat confdefs.h
>>conftest.
$ac_ext
7067 cat >>conftest.
$ac_ext <<_ACEOF
7068 /* end confdefs.h. */
7072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7073 $EGREP "free" >/dev
/null
2>&1; then
7076 ac_cv_header_stdc
=no
7082 if test $ac_cv_header_stdc = yes; then
7083 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7084 if test "$cross_compiling" = yes; then
7087 cat >conftest.
$ac_ext <<_ACEOF
7090 cat confdefs.h
>>conftest.
$ac_ext
7091 cat >>conftest.
$ac_ext <<_ACEOF
7092 /* end confdefs.h. */
7094 #if ((' ' & 0x0FF) == 0x020)
7095 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7096 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7098 # define ISLOWER(c) \
7099 (('a' <= (c) && (c) <= 'i') \
7100 || ('j' <= (c) && (c) <= 'r') \
7101 || ('s' <= (c) && (c) <= 'z'))
7102 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7105 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7110 for (i = 0; i < 256; i++)
7111 if (XOR (islower (i), ISLOWER (i))
7112 || toupper (i) != TOUPPER (i))
7117 rm -f conftest
$ac_exeext
7118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7119 (eval $ac_link) 2>&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); }; }; then
7130 echo "$as_me: program exited with status $ac_status" >&5
7131 echo "$as_me: failed program was:" >&5
7132 sed 's/^/| /' conftest.
$ac_ext >&5
7135 ac_cv_header_stdc
=no
7137 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7141 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7142 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7143 if test $ac_cv_header_stdc = yes; then
7145 cat >>confdefs.h
<<\_ACEOF
7146 #define STDC_HEADERS 1
7152 for ac_header
in nlist.h
7154 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7156 echo "$as_me:$LINENO: checking for $ac_header" >&5
7157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7164 # Is the header compilable?
7165 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7166 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7167 cat >conftest.
$ac_ext <<_ACEOF
7170 cat confdefs.h
>>conftest.
$ac_ext
7171 cat >>conftest.
$ac_ext <<_ACEOF
7172 /* end confdefs.h. */
7173 $ac_includes_default
7174 #include <$ac_header>
7176 rm -f conftest.
$ac_objext
7177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7178 (eval $ac_compile) 2>conftest.er1
7180 grep -v '^ *+' conftest.er1
>conftest.err
7182 cat conftest.err
>&5
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); } &&
7185 { ac_try
='test -z "$ac_c_werror_flag"
7186 || test ! -s conftest.err'
7187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191 (exit $ac_status); }; } &&
7192 { ac_try
='test -s conftest.$ac_objext'
7193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 (exit $ac_status); }; }; then
7198 ac_header_compiler
=yes
7200 echo "$as_me: failed program was:" >&5
7201 sed 's/^/| /' conftest.
$ac_ext >&5
7203 ac_header_compiler
=no
7205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7206 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7207 echo "${ECHO_T}$ac_header_compiler" >&6
7209 # Is the header present?
7210 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7212 cat >conftest.
$ac_ext <<_ACEOF
7215 cat confdefs.h
>>conftest.
$ac_ext
7216 cat >>conftest.
$ac_ext <<_ACEOF
7217 /* end confdefs.h. */
7218 #include <$ac_header>
7220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7221 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7223 grep -v '^ *+' conftest.er1
>conftest.err
7225 cat conftest.err
>&5
7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); } >/dev
/null
; then
7228 if test -s conftest.err
; then
7229 ac_cpp_err
=$ac_c_preproc_warn_flag
7230 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7237 if test -z "$ac_cpp_err"; then
7238 ac_header_preproc
=yes
7240 echo "$as_me: failed program was:" >&5
7241 sed 's/^/| /' conftest.
$ac_ext >&5
7243 ac_header_preproc
=no
7245 rm -f conftest.err conftest.
$ac_ext
7246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7247 echo "${ECHO_T}$ac_header_preproc" >&6
7249 # So? What about this header?
7250 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7252 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7253 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7255 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7256 ac_header_preproc
=yes
7259 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7260 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7261 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7262 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7263 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7264 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7265 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7266 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7267 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7268 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7269 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7270 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7273 ## ------------------------------------------ ##
7274 ## Report this to the AC_PACKAGE_NAME lists. ##
7275 ## ------------------------------------------ ##
7278 sed "s/^/$as_me: WARNING: /" >&2
7281 echo "$as_me:$LINENO: checking for $ac_header" >&5
7282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7284 echo $ECHO_N "(cached) $ECHO_C" >&6
7286 eval "$as_ac_Header=\$ac_header_preproc"
7288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7293 cat >>confdefs.h
<<_ACEOF
7294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7302 for ac_header
in link.h
7304 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7305 echo "$as_me:$LINENO: checking for $ac_header" >&5
7306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7308 echo $ECHO_N "(cached) $ECHO_C" >&6
7310 cat >conftest.
$ac_ext <<_ACEOF
7313 cat confdefs.h
>>conftest.
$ac_ext
7314 cat >>conftest.
$ac_ext <<_ACEOF
7315 /* end confdefs.h. */
7316 #if HAVE_SYS_TYPES_H
7317 # include <sys/types.h>
7324 #include <$ac_header>
7326 rm -f conftest.
$ac_objext
7327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7328 (eval $ac_compile) 2>conftest.er1
7330 grep -v '^ *+' conftest.er1
>conftest.err
7332 cat conftest.err
>&5
7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334 (exit $ac_status); } &&
7335 { ac_try
='test -z "$ac_c_werror_flag"
7336 || test ! -s conftest.err'
7337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); }; } &&
7342 { ac_try
='test -s conftest.$ac_objext'
7343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); }; }; then
7348 eval "$as_ac_Header=yes"
7350 echo "$as_me: failed program was:" >&5
7351 sed 's/^/| /' conftest.
$ac_ext >&5
7353 eval "$as_ac_Header=no"
7355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7360 cat >>confdefs.h
<<_ACEOF
7361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7369 for ac_header
in machine
/reg.h
7371 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7373 echo "$as_me:$LINENO: checking for $ac_header" >&5
7374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7376 echo $ECHO_N "(cached) $ECHO_C" >&6
7378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7381 # Is the header compilable?
7382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7384 cat >conftest.
$ac_ext <<_ACEOF
7387 cat confdefs.h
>>conftest.
$ac_ext
7388 cat >>conftest.
$ac_ext <<_ACEOF
7389 /* end confdefs.h. */
7390 $ac_includes_default
7391 #include <$ac_header>
7393 rm -f conftest.
$ac_objext
7394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7395 (eval $ac_compile) 2>conftest.er1
7397 grep -v '^ *+' conftest.er1
>conftest.err
7399 cat conftest.err
>&5
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); } &&
7402 { ac_try
='test -z "$ac_c_werror_flag"
7403 || test ! -s conftest.err'
7404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); }; } &&
7409 { ac_try
='test -s conftest.$ac_objext'
7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); }; }; then
7415 ac_header_compiler
=yes
7417 echo "$as_me: failed program was:" >&5
7418 sed 's/^/| /' conftest.
$ac_ext >&5
7420 ac_header_compiler
=no
7422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7424 echo "${ECHO_T}$ac_header_compiler" >&6
7426 # Is the header present?
7427 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7429 cat >conftest.
$ac_ext <<_ACEOF
7432 cat confdefs.h
>>conftest.
$ac_ext
7433 cat >>conftest.
$ac_ext <<_ACEOF
7434 /* end confdefs.h. */
7435 #include <$ac_header>
7437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7438 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7440 grep -v '^ *+' conftest.er1
>conftest.err
7442 cat conftest.err
>&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } >/dev
/null
; then
7445 if test -s conftest.err
; then
7446 ac_cpp_err
=$ac_c_preproc_warn_flag
7447 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7454 if test -z "$ac_cpp_err"; then
7455 ac_header_preproc
=yes
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.
$ac_ext >&5
7460 ac_header_preproc
=no
7462 rm -f conftest.err conftest.
$ac_ext
7463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7464 echo "${ECHO_T}$ac_header_preproc" >&6
7466 # So? What about this header?
7467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7473 ac_header_preproc
=yes
7476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7490 ## ------------------------------------------ ##
7491 ## Report this to the AC_PACKAGE_NAME lists. ##
7492 ## ------------------------------------------ ##
7495 sed "s/^/$as_me: WARNING: /" >&2
7498 echo "$as_me:$LINENO: checking for $ac_header" >&5
7499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7501 echo $ECHO_N "(cached) $ECHO_C" >&6
7503 eval "$as_ac_Header=\$ac_header_preproc"
7505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7510 cat >>confdefs.h
<<_ACEOF
7511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7520 for ac_header
in poll.h sys
/poll.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
7672 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
7674 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7676 echo "$as_me:$LINENO: checking for $ac_header" >&5
7677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7679 echo $ECHO_N "(cached) $ECHO_C" >&6
7681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7684 # Is the header compilable?
7685 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7686 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7687 cat >conftest.
$ac_ext <<_ACEOF
7690 cat confdefs.h
>>conftest.
$ac_ext
7691 cat >>conftest.
$ac_ext <<_ACEOF
7692 /* end confdefs.h. */
7693 $ac_includes_default
7694 #include <$ac_header>
7696 rm -f conftest.
$ac_objext
7697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7698 (eval $ac_compile) 2>conftest.er1
7700 grep -v '^ *+' conftest.er1
>conftest.err
7702 cat conftest.err
>&5
7703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 (exit $ac_status); } &&
7705 { ac_try
='test -z "$ac_c_werror_flag"
7706 || test ! -s conftest.err'
7707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711 (exit $ac_status); }; } &&
7712 { ac_try
='test -s conftest.$ac_objext'
7713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717 (exit $ac_status); }; }; then
7718 ac_header_compiler
=yes
7720 echo "$as_me: failed program was:" >&5
7721 sed 's/^/| /' conftest.
$ac_ext >&5
7723 ac_header_compiler
=no
7725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7727 echo "${ECHO_T}$ac_header_compiler" >&6
7729 # Is the header present?
7730 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7731 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7732 cat >conftest.
$ac_ext <<_ACEOF
7735 cat confdefs.h
>>conftest.
$ac_ext
7736 cat >>conftest.
$ac_ext <<_ACEOF
7737 /* end confdefs.h. */
7738 #include <$ac_header>
7740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7741 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7743 grep -v '^ *+' conftest.er1
>conftest.err
7745 cat conftest.err
>&5
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); } >/dev
/null
; then
7748 if test -s conftest.err
; then
7749 ac_cpp_err
=$ac_c_preproc_warn_flag
7750 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7757 if test -z "$ac_cpp_err"; then
7758 ac_header_preproc
=yes
7760 echo "$as_me: failed program was:" >&5
7761 sed 's/^/| /' conftest.
$ac_ext >&5
7763 ac_header_preproc
=no
7765 rm -f conftest.err conftest.
$ac_ext
7766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7767 echo "${ECHO_T}$ac_header_preproc" >&6
7769 # So? What about this header?
7770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7775 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7776 ac_header_preproc
=yes
7779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7783 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7784 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7785 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7786 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7788 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7789 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7790 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7793 ## ------------------------------------------ ##
7794 ## Report this to the AC_PACKAGE_NAME lists. ##
7795 ## ------------------------------------------ ##
7798 sed "s/^/$as_me: WARNING: /" >&2
7801 echo "$as_me:$LINENO: checking for $ac_header" >&5
7802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7804 echo $ECHO_N "(cached) $ECHO_C" >&6
7806 eval "$as_ac_Header=\$ac_header_preproc"
7808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7813 cat >>confdefs.h
<<_ACEOF
7814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7822 for ac_header
in signal.h
7824 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7826 echo "$as_me:$LINENO: checking for $ac_header" >&5
7827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7829 echo $ECHO_N "(cached) $ECHO_C" >&6
7831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7834 # Is the header compilable?
7835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7837 cat >conftest.
$ac_ext <<_ACEOF
7840 cat confdefs.h
>>conftest.
$ac_ext
7841 cat >>conftest.
$ac_ext <<_ACEOF
7842 /* end confdefs.h. */
7843 $ac_includes_default
7844 #include <$ac_header>
7846 rm -f conftest.
$ac_objext
7847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7848 (eval $ac_compile) 2>conftest.er1
7850 grep -v '^ *+' conftest.er1
>conftest.err
7852 cat conftest.err
>&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); } &&
7855 { ac_try
='test -z "$ac_c_werror_flag"
7856 || test ! -s conftest.err'
7857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7861 (exit $ac_status); }; } &&
7862 { ac_try
='test -s conftest.$ac_objext'
7863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); }; }; then
7868 ac_header_compiler
=yes
7870 echo "$as_me: failed program was:" >&5
7871 sed 's/^/| /' conftest.
$ac_ext >&5
7873 ac_header_compiler
=no
7875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7877 echo "${ECHO_T}$ac_header_compiler" >&6
7879 # Is the header present?
7880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7882 cat >conftest.
$ac_ext <<_ACEOF
7885 cat confdefs.h
>>conftest.
$ac_ext
7886 cat >>conftest.
$ac_ext <<_ACEOF
7887 /* end confdefs.h. */
7888 #include <$ac_header>
7890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7893 grep -v '^ *+' conftest.er1
>conftest.err
7895 cat conftest.err
>&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); } >/dev
/null
; then
7898 if test -s conftest.err
; then
7899 ac_cpp_err
=$ac_c_preproc_warn_flag
7900 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7907 if test -z "$ac_cpp_err"; then
7908 ac_header_preproc
=yes
7910 echo "$as_me: failed program was:" >&5
7911 sed 's/^/| /' conftest.
$ac_ext >&5
7913 ac_header_preproc
=no
7915 rm -f conftest.err conftest.
$ac_ext
7916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7917 echo "${ECHO_T}$ac_header_preproc" >&6
7919 # So? What about this header?
7920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7922 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7925 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7926 ac_header_preproc
=yes
7929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7933 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7934 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7935 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7936 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7939 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7940 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7943 ## ------------------------------------------ ##
7944 ## Report this to the AC_PACKAGE_NAME lists. ##
7945 ## ------------------------------------------ ##
7948 sed "s/^/$as_me: WARNING: /" >&2
7951 echo "$as_me:$LINENO: checking for $ac_header" >&5
7952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7954 echo $ECHO_N "(cached) $ECHO_C" >&6
7956 eval "$as_ac_Header=\$ac_header_preproc"
7958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7963 cat >>confdefs.h
<<_ACEOF
7964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7972 for ac_header
in stddef.h
7974 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7976 echo "$as_me:$LINENO: checking for $ac_header" >&5
7977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7979 echo $ECHO_N "(cached) $ECHO_C" >&6
7981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7984 # Is the header compilable?
7985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7987 cat >conftest.
$ac_ext <<_ACEOF
7990 cat confdefs.h
>>conftest.
$ac_ext
7991 cat >>conftest.
$ac_ext <<_ACEOF
7992 /* end confdefs.h. */
7993 $ac_includes_default
7994 #include <$ac_header>
7996 rm -f conftest.
$ac_objext
7997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7998 (eval $ac_compile) 2>conftest.er1
8000 grep -v '^ *+' conftest.er1
>conftest.err
8002 cat conftest.err
>&5
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 (exit $ac_status); } &&
8005 { ac_try
='test -z "$ac_c_werror_flag"
8006 || test ! -s conftest.err'
8007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); }; } &&
8012 { ac_try
='test -s conftest.$ac_objext'
8013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); }; }; then
8018 ac_header_compiler
=yes
8020 echo "$as_me: failed program was:" >&5
8021 sed 's/^/| /' conftest.
$ac_ext >&5
8023 ac_header_compiler
=no
8025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8027 echo "${ECHO_T}$ac_header_compiler" >&6
8029 # Is the header present?
8030 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8031 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8032 cat >conftest.
$ac_ext <<_ACEOF
8035 cat confdefs.h
>>conftest.
$ac_ext
8036 cat >>conftest.
$ac_ext <<_ACEOF
8037 /* end confdefs.h. */
8038 #include <$ac_header>
8040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8041 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8043 grep -v '^ *+' conftest.er1
>conftest.err
8045 cat conftest.err
>&5
8046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047 (exit $ac_status); } >/dev
/null
; then
8048 if test -s conftest.err
; then
8049 ac_cpp_err
=$ac_c_preproc_warn_flag
8050 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8057 if test -z "$ac_cpp_err"; then
8058 ac_header_preproc
=yes
8060 echo "$as_me: failed program was:" >&5
8061 sed 's/^/| /' conftest.
$ac_ext >&5
8063 ac_header_preproc
=no
8065 rm -f conftest.err conftest.
$ac_ext
8066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8067 echo "${ECHO_T}$ac_header_preproc" >&6
8069 # So? What about this header?
8070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8076 ac_header_preproc
=yes
8079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8093 ## ------------------------------------------ ##
8094 ## Report this to the AC_PACKAGE_NAME lists. ##
8095 ## ------------------------------------------ ##
8098 sed "s/^/$as_me: WARNING: /" >&2
8101 echo "$as_me:$LINENO: checking for $ac_header" >&5
8102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8104 echo $ECHO_N "(cached) $ECHO_C" >&6
8106 eval "$as_ac_Header=\$ac_header_preproc"
8108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8113 cat >>confdefs.h
<<_ACEOF
8114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8122 for ac_header
in stdlib.h
8124 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8126 echo "$as_me:$LINENO: checking for $ac_header" >&5
8127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8129 echo $ECHO_N "(cached) $ECHO_C" >&6
8131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8134 # Is the header compilable?
8135 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8136 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8137 cat >conftest.
$ac_ext <<_ACEOF
8140 cat confdefs.h
>>conftest.
$ac_ext
8141 cat >>conftest.
$ac_ext <<_ACEOF
8142 /* end confdefs.h. */
8143 $ac_includes_default
8144 #include <$ac_header>
8146 rm -f conftest.
$ac_objext
8147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8148 (eval $ac_compile) 2>conftest.er1
8150 grep -v '^ *+' conftest.er1
>conftest.err
8152 cat conftest.err
>&5
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); } &&
8155 { ac_try
='test -z "$ac_c_werror_flag"
8156 || test ! -s conftest.err'
8157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); }; } &&
8162 { ac_try
='test -s conftest.$ac_objext'
8163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167 (exit $ac_status); }; }; then
8168 ac_header_compiler
=yes
8170 echo "$as_me: failed program was:" >&5
8171 sed 's/^/| /' conftest.
$ac_ext >&5
8173 ac_header_compiler
=no
8175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8177 echo "${ECHO_T}$ac_header_compiler" >&6
8179 # Is the header present?
8180 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8181 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8182 cat >conftest.
$ac_ext <<_ACEOF
8185 cat confdefs.h
>>conftest.
$ac_ext
8186 cat >>conftest.
$ac_ext <<_ACEOF
8187 /* end confdefs.h. */
8188 #include <$ac_header>
8190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8191 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8193 grep -v '^ *+' conftest.er1
>conftest.err
8195 cat conftest.err
>&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); } >/dev
/null
; then
8198 if test -s conftest.err
; then
8199 ac_cpp_err
=$ac_c_preproc_warn_flag
8200 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8207 if test -z "$ac_cpp_err"; then
8208 ac_header_preproc
=yes
8210 echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.
$ac_ext >&5
8213 ac_header_preproc
=no
8215 rm -f conftest.err conftest.
$ac_ext
8216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8217 echo "${ECHO_T}$ac_header_preproc" >&6
8219 # So? What about this header?
8220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8222 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8223 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8225 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8226 ac_header_preproc
=yes
8229 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8230 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8231 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8232 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8233 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8234 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8235 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8236 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8238 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8239 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8240 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8243 ## ------------------------------------------ ##
8244 ## Report this to the AC_PACKAGE_NAME lists. ##
8245 ## ------------------------------------------ ##
8248 sed "s/^/$as_me: WARNING: /" >&2
8251 echo "$as_me:$LINENO: checking for $ac_header" >&5
8252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8254 echo $ECHO_N "(cached) $ECHO_C" >&6
8256 eval "$as_ac_Header=\$ac_header_preproc"
8258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8263 cat >>confdefs.h
<<_ACEOF
8264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8272 for ac_header
in stdint.h
8274 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8276 echo "$as_me:$LINENO: checking for $ac_header" >&5
8277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8279 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8284 # Is the header compilable?
8285 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8287 cat >conftest.
$ac_ext <<_ACEOF
8290 cat confdefs.h
>>conftest.
$ac_ext
8291 cat >>conftest.
$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8293 $ac_includes_default
8294 #include <$ac_header>
8296 rm -f conftest.
$ac_objext
8297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8298 (eval $ac_compile) 2>conftest.er1
8300 grep -v '^ *+' conftest.er1
>conftest.err
8302 cat conftest.err
>&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); } &&
8305 { ac_try
='test -z "$ac_c_werror_flag"
8306 || test ! -s conftest.err'
8307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 (exit $ac_status); }; } &&
8312 { ac_try
='test -s conftest.$ac_objext'
8313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); }; }; then
8318 ac_header_compiler
=yes
8320 echo "$as_me: failed program was:" >&5
8321 sed 's/^/| /' conftest.
$ac_ext >&5
8323 ac_header_compiler
=no
8325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8327 echo "${ECHO_T}$ac_header_compiler" >&6
8329 # Is the header present?
8330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8332 cat >conftest.
$ac_ext <<_ACEOF
8335 cat confdefs.h
>>conftest.
$ac_ext
8336 cat >>conftest.
$ac_ext <<_ACEOF
8337 /* end confdefs.h. */
8338 #include <$ac_header>
8340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8341 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8343 grep -v '^ *+' conftest.er1
>conftest.err
8345 cat conftest.err
>&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); } >/dev
/null
; then
8348 if test -s conftest.err
; then
8349 ac_cpp_err
=$ac_c_preproc_warn_flag
8350 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8357 if test -z "$ac_cpp_err"; then
8358 ac_header_preproc
=yes
8360 echo "$as_me: failed program was:" >&5
8361 sed 's/^/| /' conftest.
$ac_ext >&5
8363 ac_header_preproc
=no
8365 rm -f conftest.err conftest.
$ac_ext
8366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8367 echo "${ECHO_T}$ac_header_preproc" >&6
8369 # So? What about this header?
8370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8372 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8375 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8376 ac_header_preproc
=yes
8379 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8380 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8381 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8382 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8383 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8384 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8385 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8386 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8389 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8390 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8393 ## ------------------------------------------ ##
8394 ## Report this to the AC_PACKAGE_NAME lists. ##
8395 ## ------------------------------------------ ##
8398 sed "s/^/$as_me: WARNING: /" >&2
8401 echo "$as_me:$LINENO: checking for $ac_header" >&5
8402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8404 echo $ECHO_N "(cached) $ECHO_C" >&6
8406 eval "$as_ac_Header=\$ac_header_preproc"
8408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8413 cat >>confdefs.h
<<_ACEOF
8414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8424 for ac_header
in string.h memory.h
strings.h
8426 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8428 echo "$as_me:$LINENO: checking for $ac_header" >&5
8429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8431 echo $ECHO_N "(cached) $ECHO_C" >&6
8433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8436 # Is the header compilable?
8437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8439 cat >conftest.
$ac_ext <<_ACEOF
8442 cat confdefs.h
>>conftest.
$ac_ext
8443 cat >>conftest.
$ac_ext <<_ACEOF
8444 /* end confdefs.h. */
8445 $ac_includes_default
8446 #include <$ac_header>
8448 rm -f conftest.
$ac_objext
8449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8450 (eval $ac_compile) 2>conftest.er1
8452 grep -v '^ *+' conftest.er1
>conftest.err
8454 cat conftest.err
>&5
8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 (exit $ac_status); } &&
8457 { ac_try
='test -z "$ac_c_werror_flag"
8458 || test ! -s conftest.err'
8459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); }; } &&
8464 { ac_try
='test -s conftest.$ac_objext'
8465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); }; }; then
8470 ac_header_compiler
=yes
8472 echo "$as_me: failed program was:" >&5
8473 sed 's/^/| /' conftest.
$ac_ext >&5
8475 ac_header_compiler
=no
8477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8479 echo "${ECHO_T}$ac_header_compiler" >&6
8481 # Is the header present?
8482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8484 cat >conftest.
$ac_ext <<_ACEOF
8487 cat confdefs.h
>>conftest.
$ac_ext
8488 cat >>conftest.
$ac_ext <<_ACEOF
8489 /* end confdefs.h. */
8490 #include <$ac_header>
8492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8493 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8495 grep -v '^ *+' conftest.er1
>conftest.err
8497 cat conftest.err
>&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); } >/dev
/null
; then
8500 if test -s conftest.err
; then
8501 ac_cpp_err
=$ac_c_preproc_warn_flag
8502 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8509 if test -z "$ac_cpp_err"; then
8510 ac_header_preproc
=yes
8512 echo "$as_me: failed program was:" >&5
8513 sed 's/^/| /' conftest.
$ac_ext >&5
8515 ac_header_preproc
=no
8517 rm -f conftest.err conftest.
$ac_ext
8518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8519 echo "${ECHO_T}$ac_header_preproc" >&6
8521 # So? What about this header?
8522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8528 ac_header_preproc
=yes
8531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8545 ## ------------------------------------------ ##
8546 ## Report this to the AC_PACKAGE_NAME lists. ##
8547 ## ------------------------------------------ ##
8550 sed "s/^/$as_me: WARNING: /" >&2
8553 echo "$as_me:$LINENO: checking for $ac_header" >&5
8554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8556 echo $ECHO_N "(cached) $ECHO_C" >&6
8558 eval "$as_ac_Header=\$ac_header_preproc"
8560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8565 cat >>confdefs.h
<<_ACEOF
8566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8574 for ac_header
in sys
/fault.h
8576 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8578 echo "$as_me:$LINENO: checking for $ac_header" >&5
8579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8581 echo $ECHO_N "(cached) $ECHO_C" >&6
8583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8586 # Is the header compilable?
8587 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8588 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8589 cat >conftest.
$ac_ext <<_ACEOF
8592 cat confdefs.h
>>conftest.
$ac_ext
8593 cat >>conftest.
$ac_ext <<_ACEOF
8594 /* end confdefs.h. */
8595 $ac_includes_default
8596 #include <$ac_header>
8598 rm -f conftest.
$ac_objext
8599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8600 (eval $ac_compile) 2>conftest.er1
8602 grep -v '^ *+' conftest.er1
>conftest.err
8604 cat conftest.err
>&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); } &&
8607 { ac_try
='test -z "$ac_c_werror_flag"
8608 || test ! -s conftest.err'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; } &&
8614 { ac_try
='test -s conftest.$ac_objext'
8615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); }; }; then
8620 ac_header_compiler
=yes
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.
$ac_ext >&5
8625 ac_header_compiler
=no
8627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8629 echo "${ECHO_T}$ac_header_compiler" >&6
8631 # Is the header present?
8632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8634 cat >conftest.
$ac_ext <<_ACEOF
8637 cat confdefs.h
>>conftest.
$ac_ext
8638 cat >>conftest.
$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8640 #include <$ac_header>
8642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8643 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8645 grep -v '^ *+' conftest.er1
>conftest.err
8647 cat conftest.err
>&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } >/dev
/null
; then
8650 if test -s conftest.err
; then
8651 ac_cpp_err
=$ac_c_preproc_warn_flag
8652 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8659 if test -z "$ac_cpp_err"; then
8660 ac_header_preproc
=yes
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.
$ac_ext >&5
8665 ac_header_preproc
=no
8667 rm -f conftest.err conftest.
$ac_ext
8668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8669 echo "${ECHO_T}$ac_header_preproc" >&6
8671 # So? What about this header?
8672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8678 ac_header_preproc
=yes
8681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8695 ## ------------------------------------------ ##
8696 ## Report this to the AC_PACKAGE_NAME lists. ##
8697 ## ------------------------------------------ ##
8700 sed "s/^/$as_me: WARNING: /" >&2
8703 echo "$as_me:$LINENO: checking for $ac_header" >&5
8704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8706 echo $ECHO_N "(cached) $ECHO_C" >&6
8708 eval "$as_ac_Header=\$ac_header_preproc"
8710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8715 cat >>confdefs.h
<<_ACEOF
8716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8724 for ac_header
in sys
/file.h
8726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8728 echo "$as_me:$LINENO: checking for $ac_header" >&5
8729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8731 echo $ECHO_N "(cached) $ECHO_C" >&6
8733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8736 # Is the header compilable?
8737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8739 cat >conftest.
$ac_ext <<_ACEOF
8742 cat confdefs.h
>>conftest.
$ac_ext
8743 cat >>conftest.
$ac_ext <<_ACEOF
8744 /* end confdefs.h. */
8745 $ac_includes_default
8746 #include <$ac_header>
8748 rm -f conftest.
$ac_objext
8749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8750 (eval $ac_compile) 2>conftest.er1
8752 grep -v '^ *+' conftest.er1
>conftest.err
8754 cat conftest.err
>&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } &&
8757 { ac_try
='test -z "$ac_c_werror_flag"
8758 || test ! -s conftest.err'
8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; } &&
8764 { ac_try
='test -s conftest.$ac_objext'
8765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); }; }; then
8770 ac_header_compiler
=yes
8772 echo "$as_me: failed program was:" >&5
8773 sed 's/^/| /' conftest.
$ac_ext >&5
8775 ac_header_compiler
=no
8777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8779 echo "${ECHO_T}$ac_header_compiler" >&6
8781 # Is the header present?
8782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8784 cat >conftest.
$ac_ext <<_ACEOF
8787 cat confdefs.h
>>conftest.
$ac_ext
8788 cat >>conftest.
$ac_ext <<_ACEOF
8789 /* end confdefs.h. */
8790 #include <$ac_header>
8792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8795 grep -v '^ *+' conftest.er1
>conftest.err
8797 cat conftest.err
>&5
8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799 (exit $ac_status); } >/dev
/null
; then
8800 if test -s conftest.err
; then
8801 ac_cpp_err
=$ac_c_preproc_warn_flag
8802 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8809 if test -z "$ac_cpp_err"; then
8810 ac_header_preproc
=yes
8812 echo "$as_me: failed program was:" >&5
8813 sed 's/^/| /' conftest.
$ac_ext >&5
8815 ac_header_preproc
=no
8817 rm -f conftest.err conftest.
$ac_ext
8818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8819 echo "${ECHO_T}$ac_header_preproc" >&6
8821 # So? What about this header?
8822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8828 ac_header_preproc
=yes
8831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8845 ## ------------------------------------------ ##
8846 ## Report this to the AC_PACKAGE_NAME lists. ##
8847 ## ------------------------------------------ ##
8850 sed "s/^/$as_me: WARNING: /" >&2
8853 echo "$as_me:$LINENO: checking for $ac_header" >&5
8854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8856 echo $ECHO_N "(cached) $ECHO_C" >&6
8858 eval "$as_ac_Header=\$ac_header_preproc"
8860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8865 cat >>confdefs.h
<<_ACEOF
8866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8874 for ac_header
in sys
/filio.h
8876 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8878 echo "$as_me:$LINENO: checking for $ac_header" >&5
8879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8881 echo $ECHO_N "(cached) $ECHO_C" >&6
8883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8886 # Is the header compilable?
8887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8889 cat >conftest.
$ac_ext <<_ACEOF
8892 cat confdefs.h
>>conftest.
$ac_ext
8893 cat >>conftest.
$ac_ext <<_ACEOF
8894 /* end confdefs.h. */
8895 $ac_includes_default
8896 #include <$ac_header>
8898 rm -f conftest.
$ac_objext
8899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8900 (eval $ac_compile) 2>conftest.er1
8902 grep -v '^ *+' conftest.er1
>conftest.err
8904 cat conftest.err
>&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); } &&
8907 { ac_try
='test -z "$ac_c_werror_flag"
8908 || test ! -s conftest.err'
8909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); }; } &&
8914 { ac_try
='test -s conftest.$ac_objext'
8915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 (exit $ac_status); }; }; then
8920 ac_header_compiler
=yes
8922 echo "$as_me: failed program was:" >&5
8923 sed 's/^/| /' conftest.
$ac_ext >&5
8925 ac_header_compiler
=no
8927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8929 echo "${ECHO_T}$ac_header_compiler" >&6
8931 # Is the header present?
8932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8934 cat >conftest.
$ac_ext <<_ACEOF
8937 cat confdefs.h
>>conftest.
$ac_ext
8938 cat >>conftest.
$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8940 #include <$ac_header>
8942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8945 grep -v '^ *+' conftest.er1
>conftest.err
8947 cat conftest.err
>&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); } >/dev
/null
; then
8950 if test -s conftest.err
; then
8951 ac_cpp_err
=$ac_c_preproc_warn_flag
8952 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8959 if test -z "$ac_cpp_err"; then
8960 ac_header_preproc
=yes
8962 echo "$as_me: failed program was:" >&5
8963 sed 's/^/| /' conftest.
$ac_ext >&5
8965 ac_header_preproc
=no
8967 rm -f conftest.err conftest.
$ac_ext
8968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8969 echo "${ECHO_T}$ac_header_preproc" >&6
8971 # So? What about this header?
8972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8978 ac_header_preproc
=yes
8981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8995 ## ------------------------------------------ ##
8996 ## Report this to the AC_PACKAGE_NAME lists. ##
8997 ## ------------------------------------------ ##
9000 sed "s/^/$as_me: WARNING: /" >&2
9003 echo "$as_me:$LINENO: checking for $ac_header" >&5
9004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9006 echo $ECHO_N "(cached) $ECHO_C" >&6
9008 eval "$as_ac_Header=\$ac_header_preproc"
9010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9015 cat >>confdefs.h
<<_ACEOF
9016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9024 for ac_header
in sys
/ioctl.h
9026 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9028 echo "$as_me:$LINENO: checking for $ac_header" >&5
9029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9031 echo $ECHO_N "(cached) $ECHO_C" >&6
9033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9036 # Is the header compilable?
9037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9039 cat >conftest.
$ac_ext <<_ACEOF
9042 cat confdefs.h
>>conftest.
$ac_ext
9043 cat >>conftest.
$ac_ext <<_ACEOF
9044 /* end confdefs.h. */
9045 $ac_includes_default
9046 #include <$ac_header>
9048 rm -f conftest.
$ac_objext
9049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9050 (eval $ac_compile) 2>conftest.er1
9052 grep -v '^ *+' conftest.er1
>conftest.err
9054 cat conftest.err
>&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); } &&
9057 { ac_try
='test -z "$ac_c_werror_flag"
9058 || test ! -s conftest.err'
9059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); }; } &&
9064 { ac_try
='test -s conftest.$ac_objext'
9065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); }; }; then
9070 ac_header_compiler
=yes
9072 echo "$as_me: failed program was:" >&5
9073 sed 's/^/| /' conftest.
$ac_ext >&5
9075 ac_header_compiler
=no
9077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9078 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9079 echo "${ECHO_T}$ac_header_compiler" >&6
9081 # Is the header present?
9082 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9083 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9084 cat >conftest.
$ac_ext <<_ACEOF
9087 cat confdefs.h
>>conftest.
$ac_ext
9088 cat >>conftest.
$ac_ext <<_ACEOF
9089 /* end confdefs.h. */
9090 #include <$ac_header>
9092 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9093 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9095 grep -v '^ *+' conftest.er1
>conftest.err
9097 cat conftest.err
>&5
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); } >/dev
/null
; then
9100 if test -s conftest.err
; then
9101 ac_cpp_err
=$ac_c_preproc_warn_flag
9102 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9109 if test -z "$ac_cpp_err"; then
9110 ac_header_preproc
=yes
9112 echo "$as_me: failed program was:" >&5
9113 sed 's/^/| /' conftest.
$ac_ext >&5
9115 ac_header_preproc
=no
9117 rm -f conftest.err conftest.
$ac_ext
9118 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9119 echo "${ECHO_T}$ac_header_preproc" >&6
9121 # So? What about this header?
9122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9124 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9125 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9127 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9128 ac_header_preproc
=yes
9131 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9132 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9133 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9134 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9135 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9136 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9137 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9138 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9141 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9142 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9145 ## ------------------------------------------ ##
9146 ## Report this to the AC_PACKAGE_NAME lists. ##
9147 ## ------------------------------------------ ##
9150 sed "s/^/$as_me: WARNING: /" >&2
9153 echo "$as_me:$LINENO: checking for $ac_header" >&5
9154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9156 echo $ECHO_N "(cached) $ECHO_C" >&6
9158 eval "$as_ac_Header=\$ac_header_preproc"
9160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9165 cat >>confdefs.h
<<_ACEOF
9166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9174 for ac_header
in sys
/param.h
9176 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9178 echo "$as_me:$LINENO: checking for $ac_header" >&5
9179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9181 echo $ECHO_N "(cached) $ECHO_C" >&6
9183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9186 # Is the header compilable?
9187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9189 cat >conftest.
$ac_ext <<_ACEOF
9192 cat confdefs.h
>>conftest.
$ac_ext
9193 cat >>conftest.
$ac_ext <<_ACEOF
9194 /* end confdefs.h. */
9195 $ac_includes_default
9196 #include <$ac_header>
9198 rm -f conftest.
$ac_objext
9199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9200 (eval $ac_compile) 2>conftest.er1
9202 grep -v '^ *+' conftest.er1
>conftest.err
9204 cat conftest.err
>&5
9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206 (exit $ac_status); } &&
9207 { ac_try
='test -z "$ac_c_werror_flag"
9208 || test ! -s conftest.err'
9209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 (exit $ac_status); }; } &&
9214 { ac_try
='test -s conftest.$ac_objext'
9215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); }; }; then
9220 ac_header_compiler
=yes
9222 echo "$as_me: failed program was:" >&5
9223 sed 's/^/| /' conftest.
$ac_ext >&5
9225 ac_header_compiler
=no
9227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9229 echo "${ECHO_T}$ac_header_compiler" >&6
9231 # Is the header present?
9232 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9234 cat >conftest.
$ac_ext <<_ACEOF
9237 cat confdefs.h
>>conftest.
$ac_ext
9238 cat >>conftest.
$ac_ext <<_ACEOF
9239 /* end confdefs.h. */
9240 #include <$ac_header>
9242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9243 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9245 grep -v '^ *+' conftest.er1
>conftest.err
9247 cat conftest.err
>&5
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); } >/dev
/null
; then
9250 if test -s conftest.err
; then
9251 ac_cpp_err
=$ac_c_preproc_warn_flag
9252 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9259 if test -z "$ac_cpp_err"; then
9260 ac_header_preproc
=yes
9262 echo "$as_me: failed program was:" >&5
9263 sed 's/^/| /' conftest.
$ac_ext >&5
9265 ac_header_preproc
=no
9267 rm -f conftest.err conftest.
$ac_ext
9268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9269 echo "${ECHO_T}$ac_header_preproc" >&6
9271 # So? What about this header?
9272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9277 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9278 ac_header_preproc
=yes
9281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9285 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9286 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9287 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9288 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9291 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9292 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9295 ## ------------------------------------------ ##
9296 ## Report this to the AC_PACKAGE_NAME lists. ##
9297 ## ------------------------------------------ ##
9300 sed "s/^/$as_me: WARNING: /" >&2
9303 echo "$as_me:$LINENO: checking for $ac_header" >&5
9304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9306 echo $ECHO_N "(cached) $ECHO_C" >&6
9308 eval "$as_ac_Header=\$ac_header_preproc"
9310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9315 cat >>confdefs.h
<<_ACEOF
9316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9324 for ac_header
in sys
/resource.h
9326 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9328 echo "$as_me:$LINENO: checking for $ac_header" >&5
9329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9331 echo $ECHO_N "(cached) $ECHO_C" >&6
9333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9336 # Is the header compilable?
9337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9339 cat >conftest.
$ac_ext <<_ACEOF
9342 cat confdefs.h
>>conftest.
$ac_ext
9343 cat >>conftest.
$ac_ext <<_ACEOF
9344 /* end confdefs.h. */
9345 $ac_includes_default
9346 #include <$ac_header>
9348 rm -f conftest.
$ac_objext
9349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9350 (eval $ac_compile) 2>conftest.er1
9352 grep -v '^ *+' conftest.er1
>conftest.err
9354 cat conftest.err
>&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); } &&
9357 { ac_try
='test -z "$ac_c_werror_flag"
9358 || test ! -s conftest.err'
9359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363 (exit $ac_status); }; } &&
9364 { ac_try
='test -s conftest.$ac_objext'
9365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); }; }; then
9370 ac_header_compiler
=yes
9372 echo "$as_me: failed program was:" >&5
9373 sed 's/^/| /' conftest.
$ac_ext >&5
9375 ac_header_compiler
=no
9377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9379 echo "${ECHO_T}$ac_header_compiler" >&6
9381 # Is the header present?
9382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9384 cat >conftest.
$ac_ext <<_ACEOF
9387 cat confdefs.h
>>conftest.
$ac_ext
9388 cat >>conftest.
$ac_ext <<_ACEOF
9389 /* end confdefs.h. */
9390 #include <$ac_header>
9392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9393 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9395 grep -v '^ *+' conftest.er1
>conftest.err
9397 cat conftest.err
>&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); } >/dev
/null
; then
9400 if test -s conftest.err
; then
9401 ac_cpp_err
=$ac_c_preproc_warn_flag
9402 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9409 if test -z "$ac_cpp_err"; then
9410 ac_header_preproc
=yes
9412 echo "$as_me: failed program was:" >&5
9413 sed 's/^/| /' conftest.
$ac_ext >&5
9415 ac_header_preproc
=no
9417 rm -f conftest.err conftest.
$ac_ext
9418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9419 echo "${ECHO_T}$ac_header_preproc" >&6
9421 # So? What about this header?
9422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9428 ac_header_preproc
=yes
9431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9434 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9435 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9437 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9438 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9441 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9445 ## ------------------------------------------ ##
9446 ## Report this to the AC_PACKAGE_NAME lists. ##
9447 ## ------------------------------------------ ##
9450 sed "s/^/$as_me: WARNING: /" >&2
9453 echo "$as_me:$LINENO: checking for $ac_header" >&5
9454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9456 echo $ECHO_N "(cached) $ECHO_C" >&6
9458 eval "$as_ac_Header=\$ac_header_preproc"
9460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9465 cat >>confdefs.h
<<_ACEOF
9466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9474 for ac_header
in sys
/proc.h
9476 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9477 echo "$as_me:$LINENO: checking for $ac_header" >&5
9478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9480 echo $ECHO_N "(cached) $ECHO_C" >&6
9482 cat >conftest.
$ac_ext <<_ACEOF
9485 cat confdefs.h
>>conftest.
$ac_ext
9486 cat >>conftest.
$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9488 #if HAVE_SYS_PARAM_H
9489 # include <sys/param.h>
9493 #include <$ac_header>
9495 rm -f conftest.
$ac_objext
9496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9497 (eval $ac_compile) 2>conftest.er1
9499 grep -v '^ *+' conftest.er1
>conftest.err
9501 cat conftest.err
>&5
9502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 (exit $ac_status); } &&
9504 { ac_try
='test -z "$ac_c_werror_flag"
9505 || test ! -s conftest.err'
9506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); }; } &&
9511 { ac_try
='test -s conftest.$ac_objext'
9512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); }; }; then
9517 eval "$as_ac_Header=yes"
9519 echo "$as_me: failed program was:" >&5
9520 sed 's/^/| /' conftest.
$ac_ext >&5
9522 eval "$as_ac_Header=no"
9524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9529 cat >>confdefs.h
<<_ACEOF
9530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9538 for ac_header
in sys
/procfs.h
9540 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9542 echo "$as_me:$LINENO: checking for $ac_header" >&5
9543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9545 echo $ECHO_N "(cached) $ECHO_C" >&6
9547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9550 # Is the header compilable?
9551 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9553 cat >conftest.
$ac_ext <<_ACEOF
9556 cat confdefs.h
>>conftest.
$ac_ext
9557 cat >>conftest.
$ac_ext <<_ACEOF
9558 /* end confdefs.h. */
9559 $ac_includes_default
9560 #include <$ac_header>
9562 rm -f conftest.
$ac_objext
9563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9564 (eval $ac_compile) 2>conftest.er1
9566 grep -v '^ *+' conftest.er1
>conftest.err
9568 cat conftest.err
>&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); } &&
9571 { ac_try
='test -z "$ac_c_werror_flag"
9572 || test ! -s conftest.err'
9573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); }; } &&
9578 { ac_try
='test -s conftest.$ac_objext'
9579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); }; }; then
9584 ac_header_compiler
=yes
9586 echo "$as_me: failed program was:" >&5
9587 sed 's/^/| /' conftest.
$ac_ext >&5
9589 ac_header_compiler
=no
9591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9593 echo "${ECHO_T}$ac_header_compiler" >&6
9595 # Is the header present?
9596 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9598 cat >conftest.
$ac_ext <<_ACEOF
9601 cat confdefs.h
>>conftest.
$ac_ext
9602 cat >>conftest.
$ac_ext <<_ACEOF
9603 /* end confdefs.h. */
9604 #include <$ac_header>
9606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9607 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9609 grep -v '^ *+' conftest.er1
>conftest.err
9611 cat conftest.err
>&5
9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 (exit $ac_status); } >/dev
/null
; then
9614 if test -s conftest.err
; then
9615 ac_cpp_err
=$ac_c_preproc_warn_flag
9616 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9623 if test -z "$ac_cpp_err"; then
9624 ac_header_preproc
=yes
9626 echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.
$ac_ext >&5
9629 ac_header_preproc
=no
9631 rm -f conftest.err conftest.
$ac_ext
9632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9633 echo "${ECHO_T}$ac_header_preproc" >&6
9635 # So? What about this header?
9636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9638 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9639 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9641 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9642 ac_header_preproc
=yes
9645 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9646 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9647 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9648 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9649 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9650 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9651 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9652 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9654 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9655 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9656 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9659 ## ------------------------------------------ ##
9660 ## Report this to the AC_PACKAGE_NAME lists. ##
9661 ## ------------------------------------------ ##
9664 sed "s/^/$as_me: WARNING: /" >&2
9667 echo "$as_me:$LINENO: checking for $ac_header" >&5
9668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9670 echo $ECHO_N "(cached) $ECHO_C" >&6
9672 eval "$as_ac_Header=\$ac_header_preproc"
9674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9679 cat >>confdefs.h
<<_ACEOF
9680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9689 for ac_header
in sys
/ptrace.h ptrace.h
9691 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9693 echo "$as_me:$LINENO: checking for $ac_header" >&5
9694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9696 echo $ECHO_N "(cached) $ECHO_C" >&6
9698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9701 # Is the header compilable?
9702 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9703 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9704 cat >conftest.
$ac_ext <<_ACEOF
9707 cat confdefs.h
>>conftest.
$ac_ext
9708 cat >>conftest.
$ac_ext <<_ACEOF
9709 /* end confdefs.h. */
9710 $ac_includes_default
9711 #include <$ac_header>
9713 rm -f conftest.
$ac_objext
9714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9715 (eval $ac_compile) 2>conftest.er1
9717 grep -v '^ *+' conftest.er1
>conftest.err
9719 cat conftest.err
>&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); } &&
9722 { ac_try
='test -z "$ac_c_werror_flag"
9723 || test ! -s conftest.err'
9724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); }; } &&
9729 { ac_try
='test -s conftest.$ac_objext'
9730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734 (exit $ac_status); }; }; then
9735 ac_header_compiler
=yes
9737 echo "$as_me: failed program was:" >&5
9738 sed 's/^/| /' conftest.
$ac_ext >&5
9740 ac_header_compiler
=no
9742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9744 echo "${ECHO_T}$ac_header_compiler" >&6
9746 # Is the header present?
9747 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9749 cat >conftest.
$ac_ext <<_ACEOF
9752 cat confdefs.h
>>conftest.
$ac_ext
9753 cat >>conftest.
$ac_ext <<_ACEOF
9754 /* end confdefs.h. */
9755 #include <$ac_header>
9757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9758 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9760 grep -v '^ *+' conftest.er1
>conftest.err
9762 cat conftest.err
>&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); } >/dev
/null
; then
9765 if test -s conftest.err
; then
9766 ac_cpp_err
=$ac_c_preproc_warn_flag
9767 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9774 if test -z "$ac_cpp_err"; then
9775 ac_header_preproc
=yes
9777 echo "$as_me: failed program was:" >&5
9778 sed 's/^/| /' conftest.
$ac_ext >&5
9780 ac_header_preproc
=no
9782 rm -f conftest.err conftest.
$ac_ext
9783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9784 echo "${ECHO_T}$ac_header_preproc" >&6
9786 # So? What about this header?
9787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9793 ac_header_preproc
=yes
9796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9810 ## ------------------------------------------ ##
9811 ## Report this to the AC_PACKAGE_NAME lists. ##
9812 ## ------------------------------------------ ##
9815 sed "s/^/$as_me: WARNING: /" >&2
9818 echo "$as_me:$LINENO: checking for $ac_header" >&5
9819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9821 echo $ECHO_N "(cached) $ECHO_C" >&6
9823 eval "$as_ac_Header=\$ac_header_preproc"
9825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9830 cat >>confdefs.h
<<_ACEOF
9831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9840 for ac_header
in sys
/reg.h sys
/debugreg.h
9842 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9844 echo "$as_me:$LINENO: checking for $ac_header" >&5
9845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9847 echo $ECHO_N "(cached) $ECHO_C" >&6
9849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9852 # Is the header compilable?
9853 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9855 cat >conftest.
$ac_ext <<_ACEOF
9858 cat confdefs.h
>>conftest.
$ac_ext
9859 cat >>conftest.
$ac_ext <<_ACEOF
9860 /* end confdefs.h. */
9861 $ac_includes_default
9862 #include <$ac_header>
9864 rm -f conftest.
$ac_objext
9865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9866 (eval $ac_compile) 2>conftest.er1
9868 grep -v '^ *+' conftest.er1
>conftest.err
9870 cat conftest.err
>&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); } &&
9873 { ac_try
='test -z "$ac_c_werror_flag"
9874 || test ! -s conftest.err'
9875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); }; } &&
9880 { ac_try
='test -s conftest.$ac_objext'
9881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885 (exit $ac_status); }; }; then
9886 ac_header_compiler
=yes
9888 echo "$as_me: failed program was:" >&5
9889 sed 's/^/| /' conftest.
$ac_ext >&5
9891 ac_header_compiler
=no
9893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9895 echo "${ECHO_T}$ac_header_compiler" >&6
9897 # Is the header present?
9898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9900 cat >conftest.
$ac_ext <<_ACEOF
9903 cat confdefs.h
>>conftest.
$ac_ext
9904 cat >>conftest.
$ac_ext <<_ACEOF
9905 /* end confdefs.h. */
9906 #include <$ac_header>
9908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9909 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9911 grep -v '^ *+' conftest.er1
>conftest.err
9913 cat conftest.err
>&5
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); } >/dev
/null
; then
9916 if test -s conftest.err
; then
9917 ac_cpp_err
=$ac_c_preproc_warn_flag
9918 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9925 if test -z "$ac_cpp_err"; then
9926 ac_header_preproc
=yes
9928 echo "$as_me: failed program was:" >&5
9929 sed 's/^/| /' conftest.
$ac_ext >&5
9931 ac_header_preproc
=no
9933 rm -f conftest.err conftest.
$ac_ext
9934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9935 echo "${ECHO_T}$ac_header_preproc" >&6
9937 # So? What about this header?
9938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9944 ac_header_preproc
=yes
9947 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9949 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9950 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9951 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9953 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9954 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9957 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9961 ## ------------------------------------------ ##
9962 ## Report this to the AC_PACKAGE_NAME lists. ##
9963 ## ------------------------------------------ ##
9966 sed "s/^/$as_me: WARNING: /" >&2
9969 echo "$as_me:$LINENO: checking for $ac_header" >&5
9970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 eval "$as_ac_Header=\$ac_header_preproc"
9976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9981 cat >>confdefs.h
<<_ACEOF
9982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9990 for ac_header
in sys
/select.h
9992 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9994 echo "$as_me:$LINENO: checking for $ac_header" >&5
9995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9997 echo $ECHO_N "(cached) $ECHO_C" >&6
9999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10002 # Is the header compilable?
10003 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10005 cat >conftest.
$ac_ext <<_ACEOF
10008 cat confdefs.h
>>conftest.
$ac_ext
10009 cat >>conftest.
$ac_ext <<_ACEOF
10010 /* end confdefs.h. */
10011 $ac_includes_default
10012 #include <$ac_header>
10014 rm -f conftest.
$ac_objext
10015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10016 (eval $ac_compile) 2>conftest.er1
10018 grep -v '^ *+' conftest.er1
>conftest.err
10020 cat conftest.err
>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); } &&
10023 { ac_try
='test -z "$ac_c_werror_flag"
10024 || test ! -s conftest.err'
10025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); }; } &&
10030 { ac_try
='test -s conftest.$ac_objext'
10031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032 (eval $ac_try) 2>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); }; }; then
10036 ac_header_compiler
=yes
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.
$ac_ext >&5
10041 ac_header_compiler
=no
10043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10044 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10045 echo "${ECHO_T}$ac_header_compiler" >&6
10047 # Is the header present?
10048 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10049 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10050 cat >conftest.
$ac_ext <<_ACEOF
10053 cat confdefs.h
>>conftest.
$ac_ext
10054 cat >>conftest.
$ac_ext <<_ACEOF
10055 /* end confdefs.h. */
10056 #include <$ac_header>
10058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10059 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10061 grep -v '^ *+' conftest.er1
>conftest.err
10063 cat conftest.err
>&5
10064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065 (exit $ac_status); } >/dev
/null
; then
10066 if test -s conftest.err
; then
10067 ac_cpp_err
=$ac_c_preproc_warn_flag
10068 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10075 if test -z "$ac_cpp_err"; then
10076 ac_header_preproc
=yes
10078 echo "$as_me: failed program was:" >&5
10079 sed 's/^/| /' conftest.
$ac_ext >&5
10081 ac_header_preproc
=no
10083 rm -f conftest.err conftest.
$ac_ext
10084 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10085 echo "${ECHO_T}$ac_header_preproc" >&6
10087 # So? What about this header?
10088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10090 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10091 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10093 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10094 ac_header_preproc
=yes
10097 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10098 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10099 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10100 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10101 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10102 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10103 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10104 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10107 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10108 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10111 ## ------------------------------------------ ##
10112 ## Report this to the AC_PACKAGE_NAME lists. ##
10113 ## ------------------------------------------ ##
10116 sed "s/^/$as_me: WARNING: /" >&2
10119 echo "$as_me:$LINENO: checking for $ac_header" >&5
10120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10122 echo $ECHO_N "(cached) $ECHO_C" >&6
10124 eval "$as_ac_Header=\$ac_header_preproc"
10126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10131 cat >>confdefs.h
<<_ACEOF
10132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10140 for ac_header
in sys
/syscall.h
10142 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10144 echo "$as_me:$LINENO: checking for $ac_header" >&5
10145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10152 # Is the header compilable?
10153 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10154 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10155 cat >conftest.
$ac_ext <<_ACEOF
10158 cat confdefs.h
>>conftest.
$ac_ext
10159 cat >>conftest.
$ac_ext <<_ACEOF
10160 /* end confdefs.h. */
10161 $ac_includes_default
10162 #include <$ac_header>
10164 rm -f conftest.
$ac_objext
10165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10166 (eval $ac_compile) 2>conftest.er1
10168 grep -v '^ *+' conftest.er1
>conftest.err
10170 cat conftest.err
>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } &&
10173 { ac_try
='test -z "$ac_c_werror_flag"
10174 || test ! -s conftest.err'
10175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10176 (eval $ac_try) 2>&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); }; } &&
10180 { ac_try
='test -s conftest.$ac_objext'
10181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10182 (eval $ac_try) 2>&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); }; }; then
10186 ac_header_compiler
=yes
10188 echo "$as_me: failed program was:" >&5
10189 sed 's/^/| /' conftest.
$ac_ext >&5
10191 ac_header_compiler
=no
10193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10194 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10195 echo "${ECHO_T}$ac_header_compiler" >&6
10197 # Is the header present?
10198 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10200 cat >conftest.
$ac_ext <<_ACEOF
10203 cat confdefs.h
>>conftest.
$ac_ext
10204 cat >>conftest.
$ac_ext <<_ACEOF
10205 /* end confdefs.h. */
10206 #include <$ac_header>
10208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10209 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10211 grep -v '^ *+' conftest.er1
>conftest.err
10213 cat conftest.err
>&5
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); } >/dev
/null
; then
10216 if test -s conftest.err
; then
10217 ac_cpp_err
=$ac_c_preproc_warn_flag
10218 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10225 if test -z "$ac_cpp_err"; then
10226 ac_header_preproc
=yes
10228 echo "$as_me: failed program was:" >&5
10229 sed 's/^/| /' conftest.
$ac_ext >&5
10231 ac_header_preproc
=no
10233 rm -f conftest.err conftest.
$ac_ext
10234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10235 echo "${ECHO_T}$ac_header_preproc" >&6
10237 # So? What about this header?
10238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10240 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10241 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10243 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10244 ac_header_preproc
=yes
10247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10251 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10252 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10253 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10254 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10257 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10258 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10261 ## ------------------------------------------ ##
10262 ## Report this to the AC_PACKAGE_NAME lists. ##
10263 ## ------------------------------------------ ##
10266 sed "s/^/$as_me: WARNING: /" >&2
10269 echo "$as_me:$LINENO: checking for $ac_header" >&5
10270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10272 echo $ECHO_N "(cached) $ECHO_C" >&6
10274 eval "$as_ac_Header=\$ac_header_preproc"
10276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10281 cat >>confdefs.h
<<_ACEOF
10282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10290 for ac_header
in sys
/types.h
10292 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10294 echo "$as_me:$LINENO: checking for $ac_header" >&5
10295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10302 # Is the header compilable?
10303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10305 cat >conftest.
$ac_ext <<_ACEOF
10308 cat confdefs.h
>>conftest.
$ac_ext
10309 cat >>conftest.
$ac_ext <<_ACEOF
10310 /* end confdefs.h. */
10311 $ac_includes_default
10312 #include <$ac_header>
10314 rm -f conftest.
$ac_objext
10315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10316 (eval $ac_compile) 2>conftest.er1
10318 grep -v '^ *+' conftest.er1
>conftest.err
10320 cat conftest.err
>&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); } &&
10323 { ac_try
='test -z "$ac_c_werror_flag"
10324 || test ! -s conftest.err'
10325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326 (eval $ac_try) 2>&5
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }; } &&
10330 { ac_try
='test -s conftest.$ac_objext'
10331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10332 (eval $ac_try) 2>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); }; }; then
10336 ac_header_compiler
=yes
10338 echo "$as_me: failed program was:" >&5
10339 sed 's/^/| /' conftest.
$ac_ext >&5
10341 ac_header_compiler
=no
10343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10345 echo "${ECHO_T}$ac_header_compiler" >&6
10347 # Is the header present?
10348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10350 cat >conftest.
$ac_ext <<_ACEOF
10353 cat confdefs.h
>>conftest.
$ac_ext
10354 cat >>conftest.
$ac_ext <<_ACEOF
10355 /* end confdefs.h. */
10356 #include <$ac_header>
10358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10359 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10361 grep -v '^ *+' conftest.er1
>conftest.err
10363 cat conftest.err
>&5
10364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365 (exit $ac_status); } >/dev
/null
; then
10366 if test -s conftest.err
; then
10367 ac_cpp_err
=$ac_c_preproc_warn_flag
10368 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10375 if test -z "$ac_cpp_err"; then
10376 ac_header_preproc
=yes
10378 echo "$as_me: failed program was:" >&5
10379 sed 's/^/| /' conftest.
$ac_ext >&5
10381 ac_header_preproc
=no
10383 rm -f conftest.err conftest.
$ac_ext
10384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10385 echo "${ECHO_T}$ac_header_preproc" >&6
10387 # So? What about this header?
10388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10394 ac_header_preproc
=yes
10397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10411 ## ------------------------------------------ ##
10412 ## Report this to the AC_PACKAGE_NAME lists. ##
10413 ## ------------------------------------------ ##
10416 sed "s/^/$as_me: WARNING: /" >&2
10419 echo "$as_me:$LINENO: checking for $ac_header" >&5
10420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10422 echo $ECHO_N "(cached) $ECHO_C" >&6
10424 eval "$as_ac_Header=\$ac_header_preproc"
10426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10431 cat >>confdefs.h
<<_ACEOF
10432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10440 for ac_header
in sys
/user.h
10442 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10443 echo "$as_me:$LINENO: checking for $ac_header" >&5
10444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 cat >conftest.
$ac_ext <<_ACEOF
10451 cat confdefs.h
>>conftest.
$ac_ext
10452 cat >>conftest.
$ac_ext <<_ACEOF
10453 /* end confdefs.h. */
10454 #if HAVE_SYS_PARAM_H
10455 # include <sys/param.h>
10459 #include <$ac_header>
10461 rm -f conftest.
$ac_objext
10462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10463 (eval $ac_compile) 2>conftest.er1
10465 grep -v '^ *+' conftest.er1
>conftest.err
10467 cat conftest.err
>&5
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); } &&
10470 { ac_try
='test -z "$ac_c_werror_flag"
10471 || test ! -s conftest.err'
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); }; } &&
10477 { ac_try
='test -s conftest.$ac_objext'
10478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10479 (eval $ac_try) 2>&5
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); }; }; then
10483 eval "$as_ac_Header=yes"
10485 echo "$as_me: failed program was:" >&5
10486 sed 's/^/| /' conftest.
$ac_ext >&5
10488 eval "$as_ac_Header=no"
10490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10495 cat >>confdefs.h
<<_ACEOF
10496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10505 for ac_header
in sys
/wait.h
wait.h
10507 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10509 echo "$as_me:$LINENO: checking for $ac_header" >&5
10510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10517 # Is the header compilable?
10518 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10520 cat >conftest.
$ac_ext <<_ACEOF
10523 cat confdefs.h
>>conftest.
$ac_ext
10524 cat >>conftest.
$ac_ext <<_ACEOF
10525 /* end confdefs.h. */
10526 $ac_includes_default
10527 #include <$ac_header>
10529 rm -f conftest.
$ac_objext
10530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10531 (eval $ac_compile) 2>conftest.er1
10533 grep -v '^ *+' conftest.er1
>conftest.err
10535 cat conftest.err
>&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); } &&
10538 { ac_try
='test -z "$ac_c_werror_flag"
10539 || test ! -s conftest.err'
10540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10541 (eval $ac_try) 2>&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); }; } &&
10545 { ac_try
='test -s conftest.$ac_objext'
10546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10547 (eval $ac_try) 2>&5
10549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550 (exit $ac_status); }; }; then
10551 ac_header_compiler
=yes
10553 echo "$as_me: failed program was:" >&5
10554 sed 's/^/| /' conftest.
$ac_ext >&5
10556 ac_header_compiler
=no
10558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10560 echo "${ECHO_T}$ac_header_compiler" >&6
10562 # Is the header present?
10563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10565 cat >conftest.
$ac_ext <<_ACEOF
10568 cat confdefs.h
>>conftest.
$ac_ext
10569 cat >>conftest.
$ac_ext <<_ACEOF
10570 /* end confdefs.h. */
10571 #include <$ac_header>
10573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10574 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10576 grep -v '^ *+' conftest.er1
>conftest.err
10578 cat conftest.err
>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); } >/dev
/null
; then
10581 if test -s conftest.err
; then
10582 ac_cpp_err
=$ac_c_preproc_warn_flag
10583 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10590 if test -z "$ac_cpp_err"; then
10591 ac_header_preproc
=yes
10593 echo "$as_me: failed program was:" >&5
10594 sed 's/^/| /' conftest.
$ac_ext >&5
10596 ac_header_preproc
=no
10598 rm -f conftest.err conftest.
$ac_ext
10599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10600 echo "${ECHO_T}$ac_header_preproc" >&6
10602 # So? What about this header?
10603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10609 ac_header_preproc
=yes
10612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10626 ## ------------------------------------------ ##
10627 ## Report this to the AC_PACKAGE_NAME lists. ##
10628 ## ------------------------------------------ ##
10631 sed "s/^/$as_me: WARNING: /" >&2
10634 echo "$as_me:$LINENO: checking for $ac_header" >&5
10635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10637 echo $ECHO_N "(cached) $ECHO_C" >&6
10639 eval "$as_ac_Header=\$ac_header_preproc"
10641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10646 cat >>confdefs.h
<<_ACEOF
10647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10657 for ac_header
in termios.h termio.h sgtty.h
10659 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10661 echo "$as_me:$LINENO: checking for $ac_header" >&5
10662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10664 echo $ECHO_N "(cached) $ECHO_C" >&6
10666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10669 # Is the header compilable?
10670 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10671 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10672 cat >conftest.
$ac_ext <<_ACEOF
10675 cat confdefs.h
>>conftest.
$ac_ext
10676 cat >>conftest.
$ac_ext <<_ACEOF
10677 /* end confdefs.h. */
10678 $ac_includes_default
10679 #include <$ac_header>
10681 rm -f conftest.
$ac_objext
10682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10683 (eval $ac_compile) 2>conftest.er1
10685 grep -v '^ *+' conftest.er1
>conftest.err
10687 cat conftest.err
>&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); } &&
10690 { ac_try
='test -z "$ac_c_werror_flag"
10691 || test ! -s conftest.err'
10692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10693 (eval $ac_try) 2>&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); }; } &&
10697 { ac_try
='test -s conftest.$ac_objext'
10698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10699 (eval $ac_try) 2>&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); }; }; then
10703 ac_header_compiler
=yes
10705 echo "$as_me: failed program was:" >&5
10706 sed 's/^/| /' conftest.
$ac_ext >&5
10708 ac_header_compiler
=no
10710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10712 echo "${ECHO_T}$ac_header_compiler" >&6
10714 # Is the header present?
10715 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10716 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10717 cat >conftest.
$ac_ext <<_ACEOF
10720 cat confdefs.h
>>conftest.
$ac_ext
10721 cat >>conftest.
$ac_ext <<_ACEOF
10722 /* end confdefs.h. */
10723 #include <$ac_header>
10725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10726 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10728 grep -v '^ *+' conftest.er1
>conftest.err
10730 cat conftest.err
>&5
10731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10732 (exit $ac_status); } >/dev
/null
; then
10733 if test -s conftest.err
; then
10734 ac_cpp_err
=$ac_c_preproc_warn_flag
10735 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10742 if test -z "$ac_cpp_err"; then
10743 ac_header_preproc
=yes
10745 echo "$as_me: failed program was:" >&5
10746 sed 's/^/| /' conftest.
$ac_ext >&5
10748 ac_header_preproc
=no
10750 rm -f conftest.err conftest.
$ac_ext
10751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10752 echo "${ECHO_T}$ac_header_preproc" >&6
10754 # So? What about this header?
10755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10757 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10758 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10760 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10761 ac_header_preproc
=yes
10764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10767 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10768 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10769 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10770 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10771 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10774 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10775 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10778 ## ------------------------------------------ ##
10779 ## Report this to the AC_PACKAGE_NAME lists. ##
10780 ## ------------------------------------------ ##
10783 sed "s/^/$as_me: WARNING: /" >&2
10786 echo "$as_me:$LINENO: checking for $ac_header" >&5
10787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10789 echo $ECHO_N "(cached) $ECHO_C" >&6
10791 eval "$as_ac_Header=\$ac_header_preproc"
10793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10798 cat >>confdefs.h
<<_ACEOF
10799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10807 for ac_header
in unistd.h
10809 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10811 echo "$as_me:$LINENO: checking for $ac_header" >&5
10812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10819 # Is the header compilable?
10820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10822 cat >conftest.
$ac_ext <<_ACEOF
10825 cat confdefs.h
>>conftest.
$ac_ext
10826 cat >>conftest.
$ac_ext <<_ACEOF
10827 /* end confdefs.h. */
10828 $ac_includes_default
10829 #include <$ac_header>
10831 rm -f conftest.
$ac_objext
10832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10833 (eval $ac_compile) 2>conftest.er1
10835 grep -v '^ *+' conftest.er1
>conftest.err
10837 cat conftest.err
>&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); } &&
10840 { ac_try
='test -z "$ac_c_werror_flag"
10841 || test ! -s conftest.err'
10842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10843 (eval $ac_try) 2>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); }; } &&
10847 { ac_try
='test -s conftest.$ac_objext'
10848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10849 (eval $ac_try) 2>&5
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); }; }; then
10853 ac_header_compiler
=yes
10855 echo "$as_me: failed program was:" >&5
10856 sed 's/^/| /' conftest.
$ac_ext >&5
10858 ac_header_compiler
=no
10860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10862 echo "${ECHO_T}$ac_header_compiler" >&6
10864 # Is the header present?
10865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10867 cat >conftest.
$ac_ext <<_ACEOF
10870 cat confdefs.h
>>conftest.
$ac_ext
10871 cat >>conftest.
$ac_ext <<_ACEOF
10872 /* end confdefs.h. */
10873 #include <$ac_header>
10875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10876 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10878 grep -v '^ *+' conftest.er1
>conftest.err
10880 cat conftest.err
>&5
10881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882 (exit $ac_status); } >/dev
/null
; then
10883 if test -s conftest.err
; then
10884 ac_cpp_err
=$ac_c_preproc_warn_flag
10885 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10892 if test -z "$ac_cpp_err"; then
10893 ac_header_preproc
=yes
10895 echo "$as_me: failed program was:" >&5
10896 sed 's/^/| /' conftest.
$ac_ext >&5
10898 ac_header_preproc
=no
10900 rm -f conftest.err conftest.
$ac_ext
10901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10902 echo "${ECHO_T}$ac_header_preproc" >&6
10904 # So? What about this header?
10905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10907 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10911 ac_header_preproc
=yes
10914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10918 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10920 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10921 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10924 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10928 ## ------------------------------------------ ##
10929 ## Report this to the AC_PACKAGE_NAME lists. ##
10930 ## ------------------------------------------ ##
10933 sed "s/^/$as_me: WARNING: /" >&2
10936 echo "$as_me:$LINENO: checking for $ac_header" >&5
10937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10939 echo $ECHO_N "(cached) $ECHO_C" >&6
10941 eval "$as_ac_Header=\$ac_header_preproc"
10943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10948 cat >>confdefs.h
<<_ACEOF
10949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10957 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
10958 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
10959 # think that we don't have <curses.h> if we're using GCC.
10962 if test "$GCC" = yes; then
10964 cat >>confdefs.h
<<\_ACEOF
10965 #define _MSE_INT_H 1
10974 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
10976 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10978 echo "$as_me:$LINENO: checking for $ac_header" >&5
10979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10986 # Is the header compilable?
10987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10989 cat >conftest.
$ac_ext <<_ACEOF
10992 cat confdefs.h
>>conftest.
$ac_ext
10993 cat >>conftest.
$ac_ext <<_ACEOF
10994 /* end confdefs.h. */
10995 $ac_includes_default
10996 #include <$ac_header>
10998 rm -f conftest.
$ac_objext
10999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11000 (eval $ac_compile) 2>conftest.er1
11002 grep -v '^ *+' conftest.er1
>conftest.err
11004 cat conftest.err
>&5
11005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006 (exit $ac_status); } &&
11007 { ac_try
='test -z "$ac_c_werror_flag"
11008 || test ! -s conftest.err'
11009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11010 (eval $ac_try) 2>&5
11012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11013 (exit $ac_status); }; } &&
11014 { ac_try
='test -s conftest.$ac_objext'
11015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11016 (eval $ac_try) 2>&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); }; }; then
11020 ac_header_compiler
=yes
11022 echo "$as_me: failed program was:" >&5
11023 sed 's/^/| /' conftest.
$ac_ext >&5
11025 ac_header_compiler
=no
11027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11029 echo "${ECHO_T}$ac_header_compiler" >&6
11031 # Is the header present?
11032 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11033 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11034 cat >conftest.
$ac_ext <<_ACEOF
11037 cat confdefs.h
>>conftest.
$ac_ext
11038 cat >>conftest.
$ac_ext <<_ACEOF
11039 /* end confdefs.h. */
11040 #include <$ac_header>
11042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11043 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11045 grep -v '^ *+' conftest.er1
>conftest.err
11047 cat conftest.err
>&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } >/dev
/null
; then
11050 if test -s conftest.err
; then
11051 ac_cpp_err
=$ac_c_preproc_warn_flag
11052 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11059 if test -z "$ac_cpp_err"; then
11060 ac_header_preproc
=yes
11062 echo "$as_me: failed program was:" >&5
11063 sed 's/^/| /' conftest.
$ac_ext >&5
11065 ac_header_preproc
=no
11067 rm -f conftest.err conftest.
$ac_ext
11068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11069 echo "${ECHO_T}$ac_header_preproc" >&6
11071 # So? What about this header?
11072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11074 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11075 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11077 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11078 ac_header_preproc
=yes
11081 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11082 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11083 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11084 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11086 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11087 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11088 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11091 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11092 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11095 ## ------------------------------------------ ##
11096 ## Report this to the AC_PACKAGE_NAME lists. ##
11097 ## ------------------------------------------ ##
11100 sed "s/^/$as_me: WARNING: /" >&2
11103 echo "$as_me:$LINENO: checking for $ac_header" >&5
11104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11108 eval "$as_ac_Header=\$ac_header_preproc"
11110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11115 cat >>confdefs.h
<<_ACEOF
11116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11124 for ac_header
in ncurses
/term.h
11126 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11128 echo "$as_me:$LINENO: checking for $ac_header" >&5
11129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11131 echo $ECHO_N "(cached) $ECHO_C" >&6
11133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11136 # Is the header compilable?
11137 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11138 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11139 cat >conftest.
$ac_ext <<_ACEOF
11142 cat confdefs.h
>>conftest.
$ac_ext
11143 cat >>conftest.
$ac_ext <<_ACEOF
11144 /* end confdefs.h. */
11145 $ac_includes_default
11146 #include <$ac_header>
11148 rm -f conftest.
$ac_objext
11149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11150 (eval $ac_compile) 2>conftest.er1
11152 grep -v '^ *+' conftest.er1
>conftest.err
11154 cat conftest.err
>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); } &&
11157 { ac_try
='test -z "$ac_c_werror_flag"
11158 || test ! -s conftest.err'
11159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11160 (eval $ac_try) 2>&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); }; } &&
11164 { ac_try
='test -s conftest.$ac_objext'
11165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11166 (eval $ac_try) 2>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); }; }; then
11170 ac_header_compiler
=yes
11172 echo "$as_me: failed program was:" >&5
11173 sed 's/^/| /' conftest.
$ac_ext >&5
11175 ac_header_compiler
=no
11177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11179 echo "${ECHO_T}$ac_header_compiler" >&6
11181 # Is the header present?
11182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11184 cat >conftest.
$ac_ext <<_ACEOF
11187 cat confdefs.h
>>conftest.
$ac_ext
11188 cat >>conftest.
$ac_ext <<_ACEOF
11189 /* end confdefs.h. */
11190 #include <$ac_header>
11192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11195 grep -v '^ *+' conftest.er1
>conftest.err
11197 cat conftest.err
>&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); } >/dev
/null
; then
11200 if test -s conftest.err
; then
11201 ac_cpp_err
=$ac_c_preproc_warn_flag
11202 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11209 if test -z "$ac_cpp_err"; then
11210 ac_header_preproc
=yes
11212 echo "$as_me: failed program was:" >&5
11213 sed 's/^/| /' conftest.
$ac_ext >&5
11215 ac_header_preproc
=no
11217 rm -f conftest.err conftest.
$ac_ext
11218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11219 echo "${ECHO_T}$ac_header_preproc" >&6
11221 # So? What about this header?
11222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11228 ac_header_preproc
=yes
11231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11245 ## ------------------------------------------ ##
11246 ## Report this to the AC_PACKAGE_NAME lists. ##
11247 ## ------------------------------------------ ##
11250 sed "s/^/$as_me: WARNING: /" >&2
11253 echo "$as_me:$LINENO: checking for $ac_header" >&5
11254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11256 echo $ECHO_N "(cached) $ECHO_C" >&6
11258 eval "$as_ac_Header=\$ac_header_preproc"
11260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11265 cat >>confdefs.h
<<_ACEOF
11266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11274 for ac_header
in term.h
11276 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11277 echo "$as_me:$LINENO: checking for $ac_header" >&5
11278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11282 cat >conftest.
$ac_ext <<_ACEOF
11285 cat confdefs.h
>>conftest.
$ac_ext
11286 cat >>conftest.
$ac_ext <<_ACEOF
11287 /* end confdefs.h. */
11289 # include <curses.h>
11293 #include <$ac_header>
11295 rm -f conftest.
$ac_objext
11296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11297 (eval $ac_compile) 2>conftest.er1
11299 grep -v '^ *+' conftest.er1
>conftest.err
11301 cat conftest.err
>&5
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); } &&
11304 { ac_try
='test -z "$ac_c_werror_flag"
11305 || test ! -s conftest.err'
11306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11307 (eval $ac_try) 2>&5
11309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310 (exit $ac_status); }; } &&
11311 { ac_try
='test -s conftest.$ac_objext'
11312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313 (eval $ac_try) 2>&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); }; }; then
11317 eval "$as_ac_Header=yes"
11319 echo "$as_me: failed program was:" >&5
11320 sed 's/^/| /' conftest.
$ac_ext >&5
11322 eval "$as_ac_Header=no"
11324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11329 cat >>confdefs.h
<<_ACEOF
11330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11338 # FIXME: kettenis/20030102: In most cases we include these
11339 # unconditionally, so what's the point in checking these?
11342 for ac_header
in ctype.h
time.h
11344 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11346 echo "$as_me:$LINENO: checking for $ac_header" >&5
11347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11349 echo $ECHO_N "(cached) $ECHO_C" >&6
11351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11354 # Is the header compilable?
11355 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11356 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11357 cat >conftest.
$ac_ext <<_ACEOF
11360 cat confdefs.h
>>conftest.
$ac_ext
11361 cat >>conftest.
$ac_ext <<_ACEOF
11362 /* end confdefs.h. */
11363 $ac_includes_default
11364 #include <$ac_header>
11366 rm -f conftest.
$ac_objext
11367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11368 (eval $ac_compile) 2>conftest.er1
11370 grep -v '^ *+' conftest.er1
>conftest.err
11372 cat conftest.err
>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); } &&
11375 { ac_try
='test -z "$ac_c_werror_flag"
11376 || test ! -s conftest.err'
11377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11378 (eval $ac_try) 2>&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); }; } &&
11382 { ac_try
='test -s conftest.$ac_objext'
11383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11384 (eval $ac_try) 2>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); }; }; then
11388 ac_header_compiler
=yes
11390 echo "$as_me: failed program was:" >&5
11391 sed 's/^/| /' conftest.
$ac_ext >&5
11393 ac_header_compiler
=no
11395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11397 echo "${ECHO_T}$ac_header_compiler" >&6
11399 # Is the header present?
11400 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11402 cat >conftest.
$ac_ext <<_ACEOF
11405 cat confdefs.h
>>conftest.
$ac_ext
11406 cat >>conftest.
$ac_ext <<_ACEOF
11407 /* end confdefs.h. */
11408 #include <$ac_header>
11410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11411 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11413 grep -v '^ *+' conftest.er1
>conftest.err
11415 cat conftest.err
>&5
11416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417 (exit $ac_status); } >/dev
/null
; then
11418 if test -s conftest.err
; then
11419 ac_cpp_err
=$ac_c_preproc_warn_flag
11420 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11427 if test -z "$ac_cpp_err"; then
11428 ac_header_preproc
=yes
11430 echo "$as_me: failed program was:" >&5
11431 sed 's/^/| /' conftest.
$ac_ext >&5
11433 ac_header_preproc
=no
11435 rm -f conftest.err conftest.
$ac_ext
11436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11437 echo "${ECHO_T}$ac_header_preproc" >&6
11439 # So? What about this header?
11440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11442 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11443 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11445 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11446 ac_header_preproc
=yes
11449 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11450 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11451 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11452 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11453 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11454 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11455 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11456 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11458 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11459 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11460 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11463 ## ------------------------------------------ ##
11464 ## Report this to the AC_PACKAGE_NAME lists. ##
11465 ## ------------------------------------------ ##
11468 sed "s/^/$as_me: WARNING: /" >&2
11471 echo "$as_me:$LINENO: checking for $ac_header" >&5
11472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6
11476 eval "$as_ac_Header=\$ac_header_preproc"
11478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11483 cat >>confdefs.h
<<_ACEOF
11484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11492 # Create a header we can use portably to get the standard integer types.
11495 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
11497 acx_cv_header_stdint
=stddef.h
11498 acx_cv_header_stdint_kind
="(already complete)"
11499 for i
in stdint.h
$inttype_headers; do
11500 unset ac_cv_type_uintptr_t
11501 unset ac_cv_type_uintmax_t
11502 unset ac_cv_type_int_least32_t
11503 unset ac_cv_type_int_fast32_t
11504 unset ac_cv_type_uint64_t
11505 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
11506 echo "$as_me:$LINENO: checking for uintmax_t" >&5
11507 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
11508 if test "${ac_cv_type_uintmax_t+set}" = set; then
11509 echo $ECHO_N "(cached) $ECHO_C" >&6
11511 cat >conftest.
$ac_ext <<_ACEOF
11514 cat confdefs.h
>>conftest.
$ac_ext
11515 cat >>conftest.
$ac_ext <<_ACEOF
11516 /* end confdefs.h. */
11517 #include <sys/types.h>
11523 if ((uintmax_t *) 0)
11525 if (sizeof (uintmax_t))
11531 rm -f conftest.
$ac_objext
11532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11533 (eval $ac_compile) 2>conftest.er1
11535 grep -v '^ *+' conftest.er1
>conftest.err
11537 cat conftest.err
>&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); } &&
11540 { ac_try
='test -z "$ac_c_werror_flag"
11541 || test ! -s conftest.err'
11542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11543 (eval $ac_try) 2>&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); }; } &&
11547 { ac_try
='test -s conftest.$ac_objext'
11548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11549 (eval $ac_try) 2>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); }; }; then
11553 ac_cv_type_uintmax_t
=yes
11555 echo "$as_me: failed program was:" >&5
11556 sed 's/^/| /' conftest.
$ac_ext >&5
11558 ac_cv_type_uintmax_t
=no
11560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11562 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
11563 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
11564 if test $ac_cv_type_uintmax_t = yes; then
11565 acx_cv_header_stdint
=$i
11570 echo "$as_me:$LINENO: checking for uintptr_t" >&5
11571 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
11572 if test "${ac_cv_type_uintptr_t+set}" = set; then
11573 echo $ECHO_N "(cached) $ECHO_C" >&6
11575 cat >conftest.
$ac_ext <<_ACEOF
11578 cat confdefs.h
>>conftest.
$ac_ext
11579 cat >>conftest.
$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11581 #include <sys/types.h>
11587 if ((uintptr_t *) 0)
11589 if (sizeof (uintptr_t))
11595 rm -f conftest.
$ac_objext
11596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11597 (eval $ac_compile) 2>conftest.er1
11599 grep -v '^ *+' conftest.er1
>conftest.err
11601 cat conftest.err
>&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); } &&
11604 { ac_try
='test -z "$ac_c_werror_flag"
11605 || test ! -s conftest.err'
11606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11607 (eval $ac_try) 2>&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); }; } &&
11611 { ac_try
='test -s conftest.$ac_objext'
11612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11613 (eval $ac_try) 2>&5
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); }; }; then
11617 ac_cv_type_uintptr_t
=yes
11619 echo "$as_me: failed program was:" >&5
11620 sed 's/^/| /' conftest.
$ac_ext >&5
11622 ac_cv_type_uintptr_t
=no
11624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11626 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11627 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
11628 if test $ac_cv_type_uintptr_t = yes; then
11631 acx_cv_header_stdint_kind
="(mostly complete)"
11634 echo "$as_me:$LINENO: checking for int_least32_t" >&5
11635 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
11636 if test "${ac_cv_type_int_least32_t+set}" = set; then
11637 echo $ECHO_N "(cached) $ECHO_C" >&6
11639 cat >conftest.
$ac_ext <<_ACEOF
11642 cat confdefs.h
>>conftest.
$ac_ext
11643 cat >>conftest.
$ac_ext <<_ACEOF
11644 /* end confdefs.h. */
11645 #include <sys/types.h>
11651 if ((int_least32_t *) 0)
11653 if (sizeof (int_least32_t))
11659 rm -f conftest.
$ac_objext
11660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11661 (eval $ac_compile) 2>conftest.er1
11663 grep -v '^ *+' conftest.er1
>conftest.err
11665 cat conftest.err
>&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); } &&
11668 { ac_try
='test -z "$ac_c_werror_flag"
11669 || test ! -s conftest.err'
11670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11671 (eval $ac_try) 2>&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); }; } &&
11675 { ac_try
='test -s conftest.$ac_objext'
11676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11677 (eval $ac_try) 2>&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); }; }; then
11681 ac_cv_type_int_least32_t
=yes
11683 echo "$as_me: failed program was:" >&5
11684 sed 's/^/| /' conftest.
$ac_ext >&5
11686 ac_cv_type_int_least32_t
=no
11688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11690 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
11691 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
11692 if test $ac_cv_type_int_least32_t = yes; then
11695 acx_cv_header_stdint_kind
="(mostly complete)"
11698 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
11699 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
11700 if test "${ac_cv_type_int_fast32_t+set}" = set; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11703 cat >conftest.
$ac_ext <<_ACEOF
11706 cat confdefs.h
>>conftest.
$ac_ext
11707 cat >>conftest.
$ac_ext <<_ACEOF
11708 /* end confdefs.h. */
11709 #include <sys/types.h>
11715 if ((int_fast32_t *) 0)
11717 if (sizeof (int_fast32_t))
11723 rm -f conftest.
$ac_objext
11724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11725 (eval $ac_compile) 2>conftest.er1
11727 grep -v '^ *+' conftest.er1
>conftest.err
11729 cat conftest.err
>&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); } &&
11732 { ac_try
='test -z "$ac_c_werror_flag"
11733 || test ! -s conftest.err'
11734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735 (eval $ac_try) 2>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); }; } &&
11739 { ac_try
='test -s conftest.$ac_objext'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; }; then
11745 ac_cv_type_int_fast32_t
=yes
11747 echo "$as_me: failed program was:" >&5
11748 sed 's/^/| /' conftest.
$ac_ext >&5
11750 ac_cv_type_int_fast32_t
=no
11752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11754 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
11755 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
11756 if test $ac_cv_type_int_fast32_t = yes; then
11759 acx_cv_header_stdint_kind
="(mostly complete)"
11762 echo "$as_me:$LINENO: checking for uint64_t" >&5
11763 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
11764 if test "${ac_cv_type_uint64_t+set}" = set; then
11765 echo $ECHO_N "(cached) $ECHO_C" >&6
11767 cat >conftest.
$ac_ext <<_ACEOF
11770 cat confdefs.h
>>conftest.
$ac_ext
11771 cat >>conftest.
$ac_ext <<_ACEOF
11772 /* end confdefs.h. */
11773 #include <sys/types.h>
11779 if ((uint64_t *) 0)
11781 if (sizeof (uint64_t))
11787 rm -f conftest.
$ac_objext
11788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11789 (eval $ac_compile) 2>conftest.er1
11791 grep -v '^ *+' conftest.er1
>conftest.err
11793 cat conftest.err
>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); } &&
11796 { ac_try
='test -z "$ac_c_werror_flag"
11797 || test ! -s conftest.err'
11798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11799 (eval $ac_try) 2>&5
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); }; } &&
11803 { ac_try
='test -s conftest.$ac_objext'
11804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11805 (eval $ac_try) 2>&5
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); }; }; then
11809 ac_cv_type_uint64_t
=yes
11811 echo "$as_me: failed program was:" >&5
11812 sed 's/^/| /' conftest.
$ac_ext >&5
11814 ac_cv_type_uint64_t
=no
11816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11818 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
11819 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
11820 if test $ac_cv_type_uint64_t = yes; then
11823 acx_cv_header_stdint_kind
="(lacks uint64_t)"
11828 if test "$acx_cv_header_stdint" = stddef.h
; then
11829 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
11830 for i
in stdint.h
$inttype_headers; do
11831 unset ac_cv_type_uintptr_t
11832 unset ac_cv_type_uint32_t
11833 unset ac_cv_type_uint64_t
11834 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
11835 echo "$as_me:$LINENO: checking for uint32_t" >&5
11836 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
11837 if test "${ac_cv_type_uint32_t+set}" = set; then
11838 echo $ECHO_N "(cached) $ECHO_C" >&6
11840 cat >conftest.
$ac_ext <<_ACEOF
11843 cat confdefs.h
>>conftest.
$ac_ext
11844 cat >>conftest.
$ac_ext <<_ACEOF
11845 /* end confdefs.h. */
11846 #include <sys/types.h>
11852 if ((uint32_t *) 0)
11854 if (sizeof (uint32_t))
11860 rm -f conftest.
$ac_objext
11861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11862 (eval $ac_compile) 2>conftest.er1
11864 grep -v '^ *+' conftest.er1
>conftest.err
11866 cat conftest.err
>&5
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); } &&
11869 { ac_try
='test -z "$ac_c_werror_flag"
11870 || test ! -s conftest.err'
11871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11872 (eval $ac_try) 2>&5
11874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875 (exit $ac_status); }; } &&
11876 { ac_try
='test -s conftest.$ac_objext'
11877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11878 (eval $ac_try) 2>&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); }; }; then
11882 ac_cv_type_uint32_t
=yes
11884 echo "$as_me: failed program was:" >&5
11885 sed 's/^/| /' conftest.
$ac_ext >&5
11887 ac_cv_type_uint32_t
=no
11889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11891 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
11892 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
11893 if test $ac_cv_type_uint32_t = yes; then
11894 acx_cv_header_stdint
=$i
11899 echo "$as_me:$LINENO: checking for uint64_t" >&5
11900 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
11901 if test "${ac_cv_type_uint64_t+set}" = set; then
11902 echo $ECHO_N "(cached) $ECHO_C" >&6
11904 cat >conftest.
$ac_ext <<_ACEOF
11907 cat confdefs.h
>>conftest.
$ac_ext
11908 cat >>conftest.
$ac_ext <<_ACEOF
11909 /* end confdefs.h. */
11910 #include <sys/types.h>
11916 if ((uint64_t *) 0)
11918 if (sizeof (uint64_t))
11924 rm -f conftest.
$ac_objext
11925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11926 (eval $ac_compile) 2>conftest.er1
11928 grep -v '^ *+' conftest.er1
>conftest.err
11930 cat conftest.err
>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); } &&
11933 { ac_try
='test -z "$ac_c_werror_flag"
11934 || test ! -s conftest.err'
11935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11936 (eval $ac_try) 2>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); }; } &&
11940 { ac_try
='test -s conftest.$ac_objext'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; }; then
11946 ac_cv_type_uint64_t
=yes
11948 echo "$as_me: failed program was:" >&5
11949 sed 's/^/| /' conftest.
$ac_ext >&5
11951 ac_cv_type_uint64_t
=no
11953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11955 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
11956 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
11958 echo "$as_me:$LINENO: checking for uintptr_t" >&5
11959 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
11960 if test "${ac_cv_type_uintptr_t+set}" = set; then
11961 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 cat >conftest.
$ac_ext <<_ACEOF
11966 cat confdefs.h
>>conftest.
$ac_ext
11967 cat >>conftest.
$ac_ext <<_ACEOF
11968 /* end confdefs.h. */
11969 #include <sys/types.h>
11975 if ((uintptr_t *) 0)
11977 if (sizeof (uintptr_t))
11983 rm -f conftest.
$ac_objext
11984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11985 (eval $ac_compile) 2>conftest.er1
11987 grep -v '^ *+' conftest.er1
>conftest.err
11989 cat conftest.err
>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); } &&
11992 { ac_try
='test -z "$ac_c_werror_flag"
11993 || test ! -s conftest.err'
11994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11995 (eval $ac_try) 2>&5
11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998 (exit $ac_status); }; } &&
11999 { ac_try
='test -s conftest.$ac_objext'
12000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12001 (eval $ac_try) 2>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); }; }; then
12005 ac_cv_type_uintptr_t
=yes
12007 echo "$as_me: failed program was:" >&5
12008 sed 's/^/| /' conftest.
$ac_ext >&5
12010 ac_cv_type_uintptr_t
=no
12012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12014 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
12015 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
12020 if test "$acx_cv_header_stdint" = stddef.h
; then
12021 acx_cv_header_stdint_kind
="(u_intXX_t style)"
12022 for i
in sys
/types.h
$inttype_headers; do
12023 unset ac_cv_type_u_int32_t
12024 unset ac_cv_type_u_int64_t
12025 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
12026 echo "$as_me:$LINENO: checking for u_int32_t" >&5
12027 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
12028 if test "${ac_cv_type_u_int32_t+set}" = set; then
12029 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 cat >conftest.
$ac_ext <<_ACEOF
12034 cat confdefs.h
>>conftest.
$ac_ext
12035 cat >>conftest.
$ac_ext <<_ACEOF
12036 /* end confdefs.h. */
12037 #include <sys/types.h>
12043 if ((u_int32_t *) 0)
12045 if (sizeof (u_int32_t))
12051 rm -f conftest.
$ac_objext
12052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12053 (eval $ac_compile) 2>conftest.er1
12055 grep -v '^ *+' conftest.er1
>conftest.err
12057 cat conftest.err
>&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); } &&
12060 { ac_try
='test -z "$ac_c_werror_flag"
12061 || test ! -s conftest.err'
12062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12063 (eval $ac_try) 2>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; } &&
12067 { ac_try
='test -s conftest.$ac_objext'
12068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; }; then
12073 ac_cv_type_u_int32_t
=yes
12075 echo "$as_me: failed program was:" >&5
12076 sed 's/^/| /' conftest.
$ac_ext >&5
12078 ac_cv_type_u_int32_t
=no
12080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12082 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
12083 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
12084 if test $ac_cv_type_u_int32_t = yes; then
12085 acx_cv_header_stdint
=$i
12090 echo "$as_me:$LINENO: checking for u_int64_t" >&5
12091 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
12092 if test "${ac_cv_type_u_int64_t+set}" = set; then
12093 echo $ECHO_N "(cached) $ECHO_C" >&6
12095 cat >conftest.
$ac_ext <<_ACEOF
12098 cat confdefs.h
>>conftest.
$ac_ext
12099 cat >>conftest.
$ac_ext <<_ACEOF
12100 /* end confdefs.h. */
12101 #include <sys/types.h>
12107 if ((u_int64_t *) 0)
12109 if (sizeof (u_int64_t))
12115 rm -f conftest.
$ac_objext
12116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12117 (eval $ac_compile) 2>conftest.er1
12119 grep -v '^ *+' conftest.er1
>conftest.err
12121 cat conftest.err
>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } &&
12124 { ac_try
='test -z "$ac_c_werror_flag"
12125 || test ! -s conftest.err'
12126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 (eval $ac_try) 2>&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); }; } &&
12131 { ac_try
='test -s conftest.$ac_objext'
12132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12133 (eval $ac_try) 2>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; }; then
12137 ac_cv_type_u_int64_t
=yes
12139 echo "$as_me: failed program was:" >&5
12140 sed 's/^/| /' conftest.
$ac_ext >&5
12142 ac_cv_type_u_int64_t
=no
12144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12146 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
12147 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
12152 if test "$acx_cv_header_stdint" = stddef.h
; then
12153 acx_cv_header_stdint_kind
="(using manual detection)"
12156 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
12157 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
12158 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
12159 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
12160 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
12162 # ----------------- Summarize what we found so far
12164 echo "$as_me:$LINENO: checking what to include in gdb_stdint.h" >&5
12165 echo $ECHO_N "checking what to include in gdb_stdint.h... $ECHO_C" >&6
12167 case `$as_basename gdb_stdint.h ||
12168 $as_expr X/gdb_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
12169 Xgdb_stdint.h : 'X\(//\)$' \| \
12170 Xgdb_stdint.h : 'X\(/\)$' \| \
12171 . : '\(.\)' 2>/dev/null ||
12172 echo X/gdb_stdint.h |
12173 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12174 /^X\/\(\/\/\)$/{ s//\1/; q; }
12175 /^X\/\(\/\).*/{ s//\1/; q; }
12177 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
12178 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12179 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
12180 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12184 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
12185 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
12187 # ----------------- done included file, check C basic types --------
12189 # Lacking an uintptr_t? Test size of void *
12190 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
12191 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
12192 echo $ECHO_N "checking for void *... $ECHO_C" >&6
12193 if test "${ac_cv_type_void_p+set}" = set; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 cat >conftest.
$ac_ext <<_ACEOF
12199 cat confdefs.h
>>conftest.
$ac_ext
12200 cat >>conftest.
$ac_ext <<_ACEOF
12201 /* end confdefs.h. */
12202 $ac_includes_default
12208 if (sizeof (void *))
12214 rm -f conftest.
$ac_objext
12215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12216 (eval $ac_compile) 2>conftest.er1
12218 grep -v '^ *+' conftest.er1
>conftest.err
12220 cat conftest.err
>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); } &&
12223 { ac_try
='test -z "$ac_c_werror_flag"
12224 || test ! -s conftest.err'
12225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12226 (eval $ac_try) 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }; } &&
12230 { ac_try
='test -s conftest.$ac_objext'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; }; then
12236 ac_cv_type_void_p
=yes
12238 echo "$as_me: failed program was:" >&5
12239 sed 's/^/| /' conftest.
$ac_ext >&5
12241 ac_cv_type_void_p
=no
12243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12245 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
12246 echo "${ECHO_T}$ac_cv_type_void_p" >&6
12248 echo "$as_me:$LINENO: checking size of void *" >&5
12249 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
12250 if test "${ac_cv_sizeof_void_p+set}" = set; then
12251 echo $ECHO_N "(cached) $ECHO_C" >&6
12253 if test "$ac_cv_type_void_p" = yes; then
12254 # The cast to unsigned long works around a bug in the HP C Compiler
12255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12256 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12257 # This bug is HP SR number 8606223364.
12258 if test "$cross_compiling" = yes; then
12259 # Depending upon the size, compute the lo and hi bounds.
12260 cat >conftest.
$ac_ext <<_ACEOF
12263 cat confdefs.h
>>conftest.
$ac_ext
12264 cat >>conftest.
$ac_ext <<_ACEOF
12265 /* end confdefs.h. */
12266 $ac_includes_default
12270 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
12277 rm -f conftest.
$ac_objext
12278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12279 (eval $ac_compile) 2>conftest.er1
12281 grep -v '^ *+' conftest.er1
>conftest.err
12283 cat conftest.err
>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); } &&
12286 { ac_try
='test -z "$ac_c_werror_flag"
12287 || test ! -s conftest.err'
12288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12289 (eval $ac_try) 2>&5
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); }; } &&
12293 { ac_try
='test -s conftest.$ac_objext'
12294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12295 (eval $ac_try) 2>&5
12297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12298 (exit $ac_status); }; }; then
12301 cat >conftest.
$ac_ext <<_ACEOF
12304 cat confdefs.h
>>conftest.
$ac_ext
12305 cat >>conftest.
$ac_ext <<_ACEOF
12306 /* end confdefs.h. */
12307 $ac_includes_default
12311 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
12318 rm -f conftest.
$ac_objext
12319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12320 (eval $ac_compile) 2>conftest.er1
12322 grep -v '^ *+' conftest.er1
>conftest.err
12324 cat conftest.err
>&5
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); } &&
12327 { ac_try
='test -z "$ac_c_werror_flag"
12328 || test ! -s conftest.err'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; } &&
12334 { ac_try
='test -s conftest.$ac_objext'
12335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12336 (eval $ac_try) 2>&5
12338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; }; then
12340 ac_hi
=$ac_mid; break
12342 echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.
$ac_ext >&5
12345 ac_lo
=`expr $ac_mid + 1`
12346 if test $ac_lo -le $ac_mid; then
12350 ac_mid
=`expr 2 '*' $ac_mid + 1`
12352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12355 echo "$as_me: failed program was:" >&5
12356 sed 's/^/| /' conftest.
$ac_ext >&5
12358 cat >conftest.
$ac_ext <<_ACEOF
12361 cat confdefs.h
>>conftest.
$ac_ext
12362 cat >>conftest.
$ac_ext <<_ACEOF
12363 /* end confdefs.h. */
12364 $ac_includes_default
12368 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
12375 rm -f conftest.
$ac_objext
12376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12377 (eval $ac_compile) 2>conftest.er1
12379 grep -v '^ *+' conftest.er1
>conftest.err
12381 cat conftest.err
>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); } &&
12384 { ac_try
='test -z "$ac_c_werror_flag"
12385 || test ! -s conftest.err'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; } &&
12391 { ac_try
='test -s conftest.$ac_objext'
12392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12393 (eval $ac_try) 2>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }; }; then
12399 cat >conftest.
$ac_ext <<_ACEOF
12402 cat confdefs.h
>>conftest.
$ac_ext
12403 cat >>conftest.
$ac_ext <<_ACEOF
12404 /* end confdefs.h. */
12405 $ac_includes_default
12409 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
12416 rm -f conftest.
$ac_objext
12417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12418 (eval $ac_compile) 2>conftest.er1
12420 grep -v '^ *+' conftest.er1
>conftest.err
12422 cat conftest.err
>&5
12423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12424 (exit $ac_status); } &&
12425 { ac_try
='test -z "$ac_c_werror_flag"
12426 || test ! -s conftest.err'
12427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12428 (eval $ac_try) 2>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); }; } &&
12432 { ac_try
='test -s conftest.$ac_objext'
12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12434 (eval $ac_try) 2>&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; }; then
12438 ac_lo
=$ac_mid; break
12440 echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.
$ac_ext >&5
12443 ac_hi
=`expr '(' $ac_mid ')' - 1`
12444 if test $ac_mid -le $ac_hi; then
12448 ac_mid
=`expr 2 '*' $ac_mid`
12450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12453 echo "$as_me: failed program was:" >&5
12454 sed 's/^/| /' conftest.
$ac_ext >&5
12458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12461 # Binary search between lo and hi bounds.
12462 while test "x$ac_lo" != "x$ac_hi"; do
12463 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12464 cat >conftest.
$ac_ext <<_ACEOF
12467 cat confdefs.h
>>conftest.
$ac_ext
12468 cat >>conftest.
$ac_ext <<_ACEOF
12469 /* end confdefs.h. */
12470 $ac_includes_default
12474 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
12481 rm -f conftest.
$ac_objext
12482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12483 (eval $ac_compile) 2>conftest.er1
12485 grep -v '^ *+' conftest.er1
>conftest.err
12487 cat conftest.err
>&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); } &&
12490 { ac_try
='test -z "$ac_c_werror_flag"
12491 || test ! -s conftest.err'
12492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12493 (eval $ac_try) 2>&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); }; } &&
12497 { ac_try
='test -s conftest.$ac_objext'
12498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12499 (eval $ac_try) 2>&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); }; }; then
12505 echo "$as_me: failed program was:" >&5
12506 sed 's/^/| /' conftest.
$ac_ext >&5
12508 ac_lo
=`expr '(' $ac_mid ')' + 1`
12510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12513 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
12514 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12515 See \`config.log' for more details." >&5
12516 echo "$as_me: error: cannot compute sizeof (void *), 77
12517 See \`config.log' for more details." >&2;}
12518 { (exit 1); exit 1; }; } ;;
12521 if test "$cross_compiling" = yes; then
12522 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12523 See \`config.log' for more details." >&5
12524 echo "$as_me: error: cannot run test program while cross compiling
12525 See \`config.log' for more details." >&2;}
12526 { (exit 1); exit 1; }; }
12528 cat >conftest.
$ac_ext <<_ACEOF
12531 cat confdefs.h
>>conftest.
$ac_ext
12532 cat >>conftest.
$ac_ext <<_ACEOF
12533 /* end confdefs.h. */
12534 $ac_includes_default
12535 long longval () { return (long) (sizeof (void *)); }
12536 unsigned long ulongval () { return (long) (sizeof (void *)); }
12538 #include <stdlib.h>
12543 FILE *f = fopen ("conftest.val", "w");
12546 if (((long) (sizeof (void *))) < 0)
12548 long i = longval ();
12549 if (i != ((long) (sizeof (void *))))
12551 fprintf (f, "%ld\n", i);
12555 unsigned long i = ulongval ();
12556 if (i != ((long) (sizeof (void *))))
12558 fprintf (f, "%lu\n", i);
12560 exit (ferror (f) || fclose (f) != 0);
12566 rm -f conftest
$ac_exeext
12567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12568 (eval $ac_link) 2>&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12573 (eval $ac_try) 2>&5
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); }; }; then
12577 ac_cv_sizeof_void_p
=`cat conftest.val`
12579 echo "$as_me: program exited with status $ac_status" >&5
12580 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.
$ac_ext >&5
12583 ( exit $ac_status )
12584 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12585 See \`config.log' for more details." >&5
12586 echo "$as_me: error: cannot compute sizeof (void *), 77
12587 See \`config.log' for more details." >&2;}
12588 { (exit 1); exit 1; }; }
12590 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12595 ac_cv_sizeof_void_p
=0
12598 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
12599 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
12600 cat >>confdefs.h
<<_ACEOF
12601 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12607 # Lacking an uint64_t? Test size of long
12608 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
12609 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
12610 echo $ECHO_N "checking for long... $ECHO_C" >&6
12611 if test "${ac_cv_type_long+set}" = set; then
12612 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 cat >conftest.
$ac_ext <<_ACEOF
12617 cat confdefs.h
>>conftest.
$ac_ext
12618 cat >>conftest.
$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12620 $ac_includes_default
12632 rm -f conftest.
$ac_objext
12633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12634 (eval $ac_compile) 2>conftest.er1
12636 grep -v '^ *+' conftest.er1
>conftest.err
12638 cat conftest.err
>&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); } &&
12641 { ac_try
='test -z "$ac_c_werror_flag"
12642 || test ! -s conftest.err'
12643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12644 (eval $ac_try) 2>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); }; } &&
12648 { ac_try
='test -s conftest.$ac_objext'
12649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 (eval $ac_try) 2>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; }; then
12654 ac_cv_type_long
=yes
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.
$ac_ext >&5
12661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12663 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12664 echo "${ECHO_T}$ac_cv_type_long" >&6
12666 echo "$as_me:$LINENO: checking size of long" >&5
12667 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12668 if test "${ac_cv_sizeof_long+set}" = set; then
12669 echo $ECHO_N "(cached) $ECHO_C" >&6
12671 if test "$ac_cv_type_long" = yes; then
12672 # The cast to unsigned long works around a bug in the HP C Compiler
12673 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12674 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12675 # This bug is HP SR number 8606223364.
12676 if test "$cross_compiling" = yes; then
12677 # Depending upon the size, compute the lo and hi bounds.
12678 cat >conftest.
$ac_ext <<_ACEOF
12681 cat confdefs.h
>>conftest.
$ac_ext
12682 cat >>conftest.
$ac_ext <<_ACEOF
12683 /* end confdefs.h. */
12684 $ac_includes_default
12688 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12695 rm -f conftest.
$ac_objext
12696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12697 (eval $ac_compile) 2>conftest.er1
12699 grep -v '^ *+' conftest.er1
>conftest.err
12701 cat conftest.err
>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); } &&
12704 { ac_try
='test -z "$ac_c_werror_flag"
12705 || test ! -s conftest.err'
12706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12707 (eval $ac_try) 2>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); }; } &&
12711 { ac_try
='test -s conftest.$ac_objext'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; }; then
12719 cat >conftest.
$ac_ext <<_ACEOF
12722 cat confdefs.h
>>conftest.
$ac_ext
12723 cat >>conftest.
$ac_ext <<_ACEOF
12724 /* end confdefs.h. */
12725 $ac_includes_default
12729 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12736 rm -f conftest.
$ac_objext
12737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12738 (eval $ac_compile) 2>conftest.er1
12740 grep -v '^ *+' conftest.er1
>conftest.err
12742 cat conftest.err
>&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); } &&
12745 { ac_try
='test -z "$ac_c_werror_flag"
12746 || test ! -s conftest.err'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; } &&
12752 { ac_try
='test -s conftest.$ac_objext'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; }; then
12758 ac_hi
=$ac_mid; break
12760 echo "$as_me: failed program was:" >&5
12761 sed 's/^/| /' conftest.
$ac_ext >&5
12763 ac_lo
=`expr $ac_mid + 1`
12764 if test $ac_lo -le $ac_mid; then
12768 ac_mid
=`expr 2 '*' $ac_mid + 1`
12770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12773 echo "$as_me: failed program was:" >&5
12774 sed 's/^/| /' conftest.
$ac_ext >&5
12776 cat >conftest.
$ac_ext <<_ACEOF
12779 cat confdefs.h
>>conftest.
$ac_ext
12780 cat >>conftest.
$ac_ext <<_ACEOF
12781 /* end confdefs.h. */
12782 $ac_includes_default
12786 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12793 rm -f conftest.
$ac_objext
12794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12795 (eval $ac_compile) 2>conftest.er1
12797 grep -v '^ *+' conftest.er1
>conftest.err
12799 cat conftest.err
>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); } &&
12802 { ac_try
='test -z "$ac_c_werror_flag"
12803 || test ! -s conftest.err'
12804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12805 (eval $ac_try) 2>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); }; } &&
12809 { ac_try
='test -s conftest.$ac_objext'
12810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12811 (eval $ac_try) 2>&5
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); }; }; then
12817 cat >conftest.
$ac_ext <<_ACEOF
12820 cat confdefs.h
>>conftest.
$ac_ext
12821 cat >>conftest.
$ac_ext <<_ACEOF
12822 /* end confdefs.h. */
12823 $ac_includes_default
12827 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12834 rm -f conftest.
$ac_objext
12835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12836 (eval $ac_compile) 2>conftest.er1
12838 grep -v '^ *+' conftest.er1
>conftest.err
12840 cat conftest.err
>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); } &&
12843 { ac_try
='test -z "$ac_c_werror_flag"
12844 || test ! -s conftest.err'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; } &&
12850 { ac_try
='test -s conftest.$ac_objext'
12851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12852 (eval $ac_try) 2>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); }; }; then
12856 ac_lo
=$ac_mid; break
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.
$ac_ext >&5
12861 ac_hi
=`expr '(' $ac_mid ')' - 1`
12862 if test $ac_mid -le $ac_hi; then
12866 ac_mid
=`expr 2 '*' $ac_mid`
12868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12871 echo "$as_me: failed program was:" >&5
12872 sed 's/^/| /' conftest.
$ac_ext >&5
12876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12879 # Binary search between lo and hi bounds.
12880 while test "x$ac_lo" != "x$ac_hi"; do
12881 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12882 cat >conftest.
$ac_ext <<_ACEOF
12885 cat confdefs.h
>>conftest.
$ac_ext
12886 cat >>conftest.
$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12888 $ac_includes_default
12892 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12899 rm -f conftest.
$ac_objext
12900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12901 (eval $ac_compile) 2>conftest.er1
12903 grep -v '^ *+' conftest.er1
>conftest.err
12905 cat conftest.err
>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); } &&
12908 { ac_try
='test -z "$ac_c_werror_flag"
12909 || test ! -s conftest.err'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; } &&
12915 { ac_try
='test -s conftest.$ac_objext'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; }; then
12923 echo "$as_me: failed program was:" >&5
12924 sed 's/^/| /' conftest.
$ac_ext >&5
12926 ac_lo
=`expr '(' $ac_mid ')' + 1`
12928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12931 ?
*) ac_cv_sizeof_long
=$ac_lo;;
12932 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12933 See \`config.log' for more details." >&5
12934 echo "$as_me: error: cannot compute sizeof (long), 77
12935 See \`config.log' for more details." >&2;}
12936 { (exit 1); exit 1; }; } ;;
12939 if test "$cross_compiling" = yes; then
12940 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12941 See \`config.log' for more details." >&5
12942 echo "$as_me: error: cannot run test program while cross compiling
12943 See \`config.log' for more details." >&2;}
12944 { (exit 1); exit 1; }; }
12946 cat >conftest.
$ac_ext <<_ACEOF
12949 cat confdefs.h
>>conftest.
$ac_ext
12950 cat >>conftest.
$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 $ac_includes_default
12953 long longval () { return (long) (sizeof (long)); }
12954 unsigned long ulongval () { return (long) (sizeof (long)); }
12956 #include <stdlib.h>
12961 FILE *f = fopen ("conftest.val", "w");
12964 if (((long) (sizeof (long))) < 0)
12966 long i = longval ();
12967 if (i != ((long) (sizeof (long))))
12969 fprintf (f, "%ld\n", i);
12973 unsigned long i = ulongval ();
12974 if (i != ((long) (sizeof (long))))
12976 fprintf (f, "%lu\n", i);
12978 exit (ferror (f) || fclose (f) != 0);
12984 rm -f conftest
$ac_exeext
12985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12986 (eval $ac_link) 2>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; }; then
12995 ac_cv_sizeof_long
=`cat conftest.val`
12997 echo "$as_me: program exited with status $ac_status" >&5
12998 echo "$as_me: failed program was:" >&5
12999 sed 's/^/| /' conftest.
$ac_ext >&5
13001 ( exit $ac_status )
13002 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13003 See \`config.log' for more details." >&5
13004 echo "$as_me: error: cannot compute sizeof (long), 77
13005 See \`config.log' for more details." >&2;}
13006 { (exit 1); exit 1; }; }
13008 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13013 ac_cv_sizeof_long
=0
13016 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13017 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
13018 cat >>confdefs.h
<<_ACEOF
13019 #define SIZEOF_LONG $ac_cv_sizeof_long
13025 if test $acx_cv_header_stdint = stddef.h
; then
13026 # Lacking a good header? Test size of everything and deduce all types.
13027 echo "$as_me:$LINENO: checking for int" >&5
13028 echo $ECHO_N "checking for int... $ECHO_C" >&6
13029 if test "${ac_cv_type_int+set}" = set; then
13030 echo $ECHO_N "(cached) $ECHO_C" >&6
13032 cat >conftest.
$ac_ext <<_ACEOF
13035 cat confdefs.h
>>conftest.
$ac_ext
13036 cat >>conftest.
$ac_ext <<_ACEOF
13037 /* end confdefs.h. */
13038 $ac_includes_default
13050 rm -f conftest.
$ac_objext
13051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13052 (eval $ac_compile) 2>conftest.er1
13054 grep -v '^ *+' conftest.er1
>conftest.err
13056 cat conftest.err
>&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); } &&
13059 { ac_try
='test -z "$ac_c_werror_flag"
13060 || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try
='test -s conftest.$ac_objext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.
$ac_ext >&5
13079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13081 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
13082 echo "${ECHO_T}$ac_cv_type_int" >&6
13084 echo "$as_me:$LINENO: checking size of int" >&5
13085 echo $ECHO_N "checking size of int... $ECHO_C" >&6
13086 if test "${ac_cv_sizeof_int+set}" = set; then
13087 echo $ECHO_N "(cached) $ECHO_C" >&6
13089 if test "$ac_cv_type_int" = yes; then
13090 # The cast to unsigned long works around a bug in the HP C Compiler
13091 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13092 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13093 # This bug is HP SR number 8606223364.
13094 if test "$cross_compiling" = yes; then
13095 # Depending upon the size, compute the lo and hi bounds.
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
13106 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
13113 rm -f conftest.
$ac_objext
13114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13115 (eval $ac_compile) 2>conftest.er1
13117 grep -v '^ *+' conftest.er1
>conftest.err
13119 cat conftest.err
>&5
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); } &&
13122 { ac_try
='test -z "$ac_c_werror_flag"
13123 || test ! -s conftest.err'
13124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13125 (eval $ac_try) 2>&5
13127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13128 (exit $ac_status); }; } &&
13129 { ac_try
='test -s conftest.$ac_objext'
13130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13131 (eval $ac_try) 2>&5
13133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13134 (exit $ac_status); }; }; then
13137 cat >conftest.
$ac_ext <<_ACEOF
13140 cat confdefs.h
>>conftest.
$ac_ext
13141 cat >>conftest.
$ac_ext <<_ACEOF
13142 /* end confdefs.h. */
13143 $ac_includes_default
13147 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
13154 rm -f conftest.
$ac_objext
13155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13156 (eval $ac_compile) 2>conftest.er1
13158 grep -v '^ *+' conftest.er1
>conftest.err
13160 cat conftest.err
>&5
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); } &&
13163 { ac_try
='test -z "$ac_c_werror_flag"
13164 || test ! -s conftest.err'
13165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13166 (eval $ac_try) 2>&5
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 (exit $ac_status); }; } &&
13170 { ac_try
='test -s conftest.$ac_objext'
13171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13172 (eval $ac_try) 2>&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); }; }; then
13176 ac_hi
=$ac_mid; break
13178 echo "$as_me: failed program was:" >&5
13179 sed 's/^/| /' conftest.
$ac_ext >&5
13181 ac_lo
=`expr $ac_mid + 1`
13182 if test $ac_lo -le $ac_mid; then
13186 ac_mid
=`expr 2 '*' $ac_mid + 1`
13188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13191 echo "$as_me: failed program was:" >&5
13192 sed 's/^/| /' conftest.
$ac_ext >&5
13194 cat >conftest.
$ac_ext <<_ACEOF
13197 cat confdefs.h
>>conftest.
$ac_ext
13198 cat >>conftest.
$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200 $ac_includes_default
13204 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
13211 rm -f conftest.
$ac_objext
13212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13213 (eval $ac_compile) 2>conftest.er1
13215 grep -v '^ *+' conftest.er1
>conftest.err
13217 cat conftest.err
>&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } &&
13220 { ac_try
='test -z "$ac_c_werror_flag"
13221 || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try
='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13235 cat >conftest.
$ac_ext <<_ACEOF
13238 cat confdefs.h
>>conftest.
$ac_ext
13239 cat >>conftest.
$ac_ext <<_ACEOF
13240 /* end confdefs.h. */
13241 $ac_includes_default
13245 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
13252 rm -f conftest.
$ac_objext
13253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13254 (eval $ac_compile) 2>conftest.er1
13256 grep -v '^ *+' conftest.er1
>conftest.err
13258 cat conftest.err
>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); } &&
13261 { ac_try
='test -z "$ac_c_werror_flag"
13262 || test ! -s conftest.err'
13263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13264 (eval $ac_try) 2>&5
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); }; } &&
13268 { ac_try
='test -s conftest.$ac_objext'
13269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270 (eval $ac_try) 2>&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); }; }; then
13274 ac_lo
=$ac_mid; break
13276 echo "$as_me: failed program was:" >&5
13277 sed 's/^/| /' conftest.
$ac_ext >&5
13279 ac_hi
=`expr '(' $ac_mid ')' - 1`
13280 if test $ac_mid -le $ac_hi; then
13284 ac_mid
=`expr 2 '*' $ac_mid`
13286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.
$ac_ext >&5
13294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13297 # Binary search between lo and hi bounds.
13298 while test "x$ac_lo" != "x$ac_hi"; do
13299 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13300 cat >conftest.
$ac_ext <<_ACEOF
13303 cat confdefs.h
>>conftest.
$ac_ext
13304 cat >>conftest.
$ac_ext <<_ACEOF
13305 /* end confdefs.h. */
13306 $ac_includes_default
13310 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
13317 rm -f conftest.
$ac_objext
13318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13319 (eval $ac_compile) 2>conftest.er1
13321 grep -v '^ *+' conftest.er1
>conftest.err
13323 cat conftest.err
>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } &&
13326 { ac_try
='test -z "$ac_c_werror_flag"
13327 || test ! -s conftest.err'
13328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329 (eval $ac_try) 2>&5
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; } &&
13333 { ac_try
='test -s conftest.$ac_objext'
13334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13335 (eval $ac_try) 2>&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); }; }; then
13341 echo "$as_me: failed program was:" >&5
13342 sed 's/^/| /' conftest.
$ac_ext >&5
13344 ac_lo
=`expr '(' $ac_mid ')' + 1`
13346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13349 ?
*) ac_cv_sizeof_int
=$ac_lo;;
13350 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
13351 See \`config.log' for more details." >&5
13352 echo "$as_me: error: cannot compute sizeof (int), 77
13353 See \`config.log' for more details." >&2;}
13354 { (exit 1); exit 1; }; } ;;
13357 if test "$cross_compiling" = yes; then
13358 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13359 See \`config.log' for more details." >&5
13360 echo "$as_me: error: cannot run test program while cross compiling
13361 See \`config.log' for more details." >&2;}
13362 { (exit 1); exit 1; }; }
13364 cat >conftest.
$ac_ext <<_ACEOF
13367 cat confdefs.h
>>conftest.
$ac_ext
13368 cat >>conftest.
$ac_ext <<_ACEOF
13369 /* end confdefs.h. */
13370 $ac_includes_default
13371 long longval () { return (long) (sizeof (int)); }
13372 unsigned long ulongval () { return (long) (sizeof (int)); }
13374 #include <stdlib.h>
13379 FILE *f = fopen ("conftest.val", "w");
13382 if (((long) (sizeof (int))) < 0)
13384 long i = longval ();
13385 if (i != ((long) (sizeof (int))))
13387 fprintf (f, "%ld\n", i);
13391 unsigned long i = ulongval ();
13392 if (i != ((long) (sizeof (int))))
13394 fprintf (f, "%lu\n", i);
13396 exit (ferror (f) || fclose (f) != 0);
13402 rm -f conftest
$ac_exeext
13403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13404 (eval $ac_link) 2>&5
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13409 (eval $ac_try) 2>&5
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); }; }; then
13413 ac_cv_sizeof_int
=`cat conftest.val`
13415 echo "$as_me: program exited with status $ac_status" >&5
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.
$ac_ext >&5
13419 ( exit $ac_status )
13420 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
13421 See \`config.log' for more details." >&5
13422 echo "$as_me: error: cannot compute sizeof (int), 77
13423 See \`config.log' for more details." >&2;}
13424 { (exit 1); exit 1; }; }
13426 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13434 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
13435 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
13436 cat >>confdefs.h
<<_ACEOF
13437 #define SIZEOF_INT $ac_cv_sizeof_int
13441 echo "$as_me:$LINENO: checking for short" >&5
13442 echo $ECHO_N "checking for short... $ECHO_C" >&6
13443 if test "${ac_cv_type_short+set}" = set; then
13444 echo $ECHO_N "(cached) $ECHO_C" >&6
13446 cat >conftest.
$ac_ext <<_ACEOF
13449 cat confdefs.h
>>conftest.
$ac_ext
13450 cat >>conftest.
$ac_ext <<_ACEOF
13451 /* end confdefs.h. */
13452 $ac_includes_default
13458 if (sizeof (short))
13464 rm -f conftest.
$ac_objext
13465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13466 (eval $ac_compile) 2>conftest.er1
13468 grep -v '^ *+' conftest.er1
>conftest.err
13470 cat conftest.err
>&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); } &&
13473 { ac_try
='test -z "$ac_c_werror_flag"
13474 || test ! -s conftest.err'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; } &&
13480 { ac_try
='test -s conftest.$ac_objext'
13481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13482 (eval $ac_try) 2>&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); }; }; then
13486 ac_cv_type_short
=yes
13488 echo "$as_me: failed program was:" >&5
13489 sed 's/^/| /' conftest.
$ac_ext >&5
13491 ac_cv_type_short
=no
13493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13495 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13496 echo "${ECHO_T}$ac_cv_type_short" >&6
13498 echo "$as_me:$LINENO: checking size of short" >&5
13499 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13500 if test "${ac_cv_sizeof_short+set}" = set; then
13501 echo $ECHO_N "(cached) $ECHO_C" >&6
13503 if test "$ac_cv_type_short" = yes; then
13504 # The cast to unsigned long works around a bug in the HP C Compiler
13505 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13506 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13507 # This bug is HP SR number 8606223364.
13508 if test "$cross_compiling" = yes; then
13509 # Depending upon the size, compute the lo and hi bounds.
13510 cat >conftest.
$ac_ext <<_ACEOF
13513 cat confdefs.h
>>conftest.
$ac_ext
13514 cat >>conftest.
$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13516 $ac_includes_default
13520 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13527 rm -f conftest.
$ac_objext
13528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13529 (eval $ac_compile) 2>conftest.er1
13531 grep -v '^ *+' conftest.er1
>conftest.err
13533 cat conftest.err
>&5
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); } &&
13536 { ac_try
='test -z "$ac_c_werror_flag"
13537 || test ! -s conftest.err'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; } &&
13543 { ac_try
='test -s conftest.$ac_objext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13551 cat >conftest.
$ac_ext <<_ACEOF
13554 cat confdefs.h
>>conftest.
$ac_ext
13555 cat >>conftest.
$ac_ext <<_ACEOF
13556 /* end confdefs.h. */
13557 $ac_includes_default
13561 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13568 rm -f conftest.
$ac_objext
13569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13570 (eval $ac_compile) 2>conftest.er1
13572 grep -v '^ *+' conftest.er1
>conftest.err
13574 cat conftest.err
>&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); } &&
13577 { ac_try
='test -z "$ac_c_werror_flag"
13578 || test ! -s conftest.err'
13579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13580 (eval $ac_try) 2>&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); }; } &&
13584 { ac_try
='test -s conftest.$ac_objext'
13585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13586 (eval $ac_try) 2>&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); }; }; then
13590 ac_hi
=$ac_mid; break
13592 echo "$as_me: failed program was:" >&5
13593 sed 's/^/| /' conftest.
$ac_ext >&5
13595 ac_lo
=`expr $ac_mid + 1`
13596 if test $ac_lo -le $ac_mid; then
13600 ac_mid
=`expr 2 '*' $ac_mid + 1`
13602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13605 echo "$as_me: failed program was:" >&5
13606 sed 's/^/| /' conftest.
$ac_ext >&5
13608 cat >conftest.
$ac_ext <<_ACEOF
13611 cat confdefs.h
>>conftest.
$ac_ext
13612 cat >>conftest.
$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13614 $ac_includes_default
13618 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
13625 rm -f conftest.
$ac_objext
13626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13627 (eval $ac_compile) 2>conftest.er1
13629 grep -v '^ *+' conftest.er1
>conftest.err
13631 cat conftest.err
>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); } &&
13634 { ac_try
='test -z "$ac_c_werror_flag"
13635 || test ! -s conftest.err'
13636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13637 (eval $ac_try) 2>&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); }; } &&
13641 { ac_try
='test -s conftest.$ac_objext'
13642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13643 (eval $ac_try) 2>&5
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 (exit $ac_status); }; }; then
13649 cat >conftest.
$ac_ext <<_ACEOF
13652 cat confdefs.h
>>conftest.
$ac_ext
13653 cat >>conftest.
$ac_ext <<_ACEOF
13654 /* end confdefs.h. */
13655 $ac_includes_default
13659 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
13666 rm -f conftest.
$ac_objext
13667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13668 (eval $ac_compile) 2>conftest.er1
13670 grep -v '^ *+' conftest.er1
>conftest.err
13672 cat conftest.err
>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } &&
13675 { ac_try
='test -z "$ac_c_werror_flag"
13676 || test ! -s conftest.err'
13677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13678 (eval $ac_try) 2>&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); }; } &&
13682 { ac_try
='test -s conftest.$ac_objext'
13683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13684 (eval $ac_try) 2>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); }; }; then
13688 ac_lo
=$ac_mid; break
13690 echo "$as_me: failed program was:" >&5
13691 sed 's/^/| /' conftest.
$ac_ext >&5
13693 ac_hi
=`expr '(' $ac_mid ')' - 1`
13694 if test $ac_mid -le $ac_hi; then
13698 ac_mid
=`expr 2 '*' $ac_mid`
13700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13703 echo "$as_me: failed program was:" >&5
13704 sed 's/^/| /' conftest.
$ac_ext >&5
13708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13711 # Binary search between lo and hi bounds.
13712 while test "x$ac_lo" != "x$ac_hi"; do
13713 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13714 cat >conftest.
$ac_ext <<_ACEOF
13717 cat confdefs.h
>>conftest.
$ac_ext
13718 cat >>conftest.
$ac_ext <<_ACEOF
13719 /* end confdefs.h. */
13720 $ac_includes_default
13724 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13731 rm -f conftest.
$ac_objext
13732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13733 (eval $ac_compile) 2>conftest.er1
13735 grep -v '^ *+' conftest.er1
>conftest.err
13737 cat conftest.err
>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try
='test -z "$ac_c_werror_flag"
13741 || test ! -s conftest.err'
13742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13743 (eval $ac_try) 2>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; } &&
13747 { ac_try
='test -s conftest.$ac_objext'
13748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13749 (eval $ac_try) 2>&5
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); }; }; then
13755 echo "$as_me: failed program was:" >&5
13756 sed 's/^/| /' conftest.
$ac_ext >&5
13758 ac_lo
=`expr '(' $ac_mid ')' + 1`
13760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13763 ?
*) ac_cv_sizeof_short
=$ac_lo;;
13764 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
13765 See \`config.log' for more details." >&5
13766 echo "$as_me: error: cannot compute sizeof (short), 77
13767 See \`config.log' for more details." >&2;}
13768 { (exit 1); exit 1; }; } ;;
13771 if test "$cross_compiling" = yes; then
13772 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13773 See \`config.log' for more details." >&5
13774 echo "$as_me: error: cannot run test program while cross compiling
13775 See \`config.log' for more details." >&2;}
13776 { (exit 1); exit 1; }; }
13778 cat >conftest.
$ac_ext <<_ACEOF
13781 cat confdefs.h
>>conftest.
$ac_ext
13782 cat >>conftest.
$ac_ext <<_ACEOF
13783 /* end confdefs.h. */
13784 $ac_includes_default
13785 long longval () { return (long) (sizeof (short)); }
13786 unsigned long ulongval () { return (long) (sizeof (short)); }
13788 #include <stdlib.h>
13793 FILE *f = fopen ("conftest.val", "w");
13796 if (((long) (sizeof (short))) < 0)
13798 long i = longval ();
13799 if (i != ((long) (sizeof (short))))
13801 fprintf (f, "%ld\n", i);
13805 unsigned long i = ulongval ();
13806 if (i != ((long) (sizeof (short))))
13808 fprintf (f, "%lu\n", i);
13810 exit (ferror (f) || fclose (f) != 0);
13816 rm -f conftest
$ac_exeext
13817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13818 (eval $ac_link) 2>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13823 (eval $ac_try) 2>&5
13825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13826 (exit $ac_status); }; }; then
13827 ac_cv_sizeof_short
=`cat conftest.val`
13829 echo "$as_me: program exited with status $ac_status" >&5
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.
$ac_ext >&5
13833 ( exit $ac_status )
13834 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
13835 See \`config.log' for more details." >&5
13836 echo "$as_me: error: cannot compute sizeof (short), 77
13837 See \`config.log' for more details." >&2;}
13838 { (exit 1); exit 1; }; }
13840 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13845 ac_cv_sizeof_short
=0
13848 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
13849 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
13850 cat >>confdefs.h
<<_ACEOF
13851 #define SIZEOF_SHORT $ac_cv_sizeof_short
13855 echo "$as_me:$LINENO: checking for char" >&5
13856 echo $ECHO_N "checking for char... $ECHO_C" >&6
13857 if test "${ac_cv_type_char+set}" = set; then
13858 echo $ECHO_N "(cached) $ECHO_C" >&6
13860 cat >conftest.
$ac_ext <<_ACEOF
13863 cat confdefs.h
>>conftest.
$ac_ext
13864 cat >>conftest.
$ac_ext <<_ACEOF
13865 /* end confdefs.h. */
13866 $ac_includes_default
13878 rm -f conftest.
$ac_objext
13879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13880 (eval $ac_compile) 2>conftest.er1
13882 grep -v '^ *+' conftest.er1
>conftest.err
13884 cat conftest.err
>&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); } &&
13887 { ac_try
='test -z "$ac_c_werror_flag"
13888 || test ! -s conftest.err'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; } &&
13894 { ac_try
='test -s conftest.$ac_objext'
13895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13896 (eval $ac_try) 2>&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); }; }; then
13900 ac_cv_type_char
=yes
13902 echo "$as_me: failed program was:" >&5
13903 sed 's/^/| /' conftest.
$ac_ext >&5
13907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13909 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13910 echo "${ECHO_T}$ac_cv_type_char" >&6
13912 echo "$as_me:$LINENO: checking size of char" >&5
13913 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13914 if test "${ac_cv_sizeof_char+set}" = set; then
13915 echo $ECHO_N "(cached) $ECHO_C" >&6
13917 if test "$ac_cv_type_char" = yes; then
13918 # The cast to unsigned long works around a bug in the HP C Compiler
13919 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13920 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13921 # This bug is HP SR number 8606223364.
13922 if test "$cross_compiling" = yes; then
13923 # Depending upon the size, compute the lo and hi bounds.
13924 cat >conftest.
$ac_ext <<_ACEOF
13927 cat confdefs.h
>>conftest.
$ac_ext
13928 cat >>conftest.
$ac_ext <<_ACEOF
13929 /* end confdefs.h. */
13930 $ac_includes_default
13934 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13941 rm -f conftest.
$ac_objext
13942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13943 (eval $ac_compile) 2>conftest.er1
13945 grep -v '^ *+' conftest.er1
>conftest.err
13947 cat conftest.err
>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); } &&
13950 { ac_try
='test -z "$ac_c_werror_flag"
13951 || test ! -s conftest.err'
13952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13953 (eval $ac_try) 2>&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; } &&
13957 { ac_try
='test -s conftest.$ac_objext'
13958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13959 (eval $ac_try) 2>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; }; then
13965 cat >conftest.
$ac_ext <<_ACEOF
13968 cat confdefs.h
>>conftest.
$ac_ext
13969 cat >>conftest.
$ac_ext <<_ACEOF
13970 /* end confdefs.h. */
13971 $ac_includes_default
13975 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
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_hi
=$ac_mid; break
14006 echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.
$ac_ext >&5
14009 ac_lo
=`expr $ac_mid + 1`
14010 if test $ac_lo -le $ac_mid; then
14014 ac_mid
=`expr 2 '*' $ac_mid + 1`
14016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14019 echo "$as_me: failed program was:" >&5
14020 sed 's/^/| /' conftest.
$ac_ext >&5
14022 cat >conftest.
$ac_ext <<_ACEOF
14025 cat confdefs.h
>>conftest.
$ac_ext
14026 cat >>conftest.
$ac_ext <<_ACEOF
14027 /* end confdefs.h. */
14028 $ac_includes_default
14032 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14039 rm -f conftest.
$ac_objext
14040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14041 (eval $ac_compile) 2>conftest.er1
14043 grep -v '^ *+' conftest.er1
>conftest.err
14045 cat conftest.err
>&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); } &&
14048 { ac_try
='test -z "$ac_c_werror_flag"
14049 || test ! -s conftest.err'
14050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14051 (eval $ac_try) 2>&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); }; } &&
14055 { ac_try
='test -s conftest.$ac_objext'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; }; then
14063 cat >conftest.
$ac_ext <<_ACEOF
14066 cat confdefs.h
>>conftest.
$ac_ext
14067 cat >>conftest.
$ac_ext <<_ACEOF
14068 /* end confdefs.h. */
14069 $ac_includes_default
14073 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14080 rm -f conftest.
$ac_objext
14081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14082 (eval $ac_compile) 2>conftest.er1
14084 grep -v '^ *+' conftest.er1
>conftest.err
14086 cat conftest.err
>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); } &&
14089 { ac_try
='test -z "$ac_c_werror_flag"
14090 || test ! -s conftest.err'
14091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14092 (eval $ac_try) 2>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; } &&
14096 { ac_try
='test -s conftest.$ac_objext'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; }; then
14102 ac_lo
=$ac_mid; break
14104 echo "$as_me: failed program was:" >&5
14105 sed 's/^/| /' conftest.
$ac_ext >&5
14107 ac_hi
=`expr '(' $ac_mid ')' - 1`
14108 if test $ac_mid -le $ac_hi; then
14112 ac_mid
=`expr 2 '*' $ac_mid`
14114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14117 echo "$as_me: failed program was:" >&5
14118 sed 's/^/| /' conftest.
$ac_ext >&5
14122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14125 # Binary search between lo and hi bounds.
14126 while test "x$ac_lo" != "x$ac_hi"; do
14127 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14128 cat >conftest.
$ac_ext <<_ACEOF
14131 cat confdefs.h
>>conftest.
$ac_ext
14132 cat >>conftest.
$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134 $ac_includes_default
14138 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14145 rm -f conftest.
$ac_objext
14146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14147 (eval $ac_compile) 2>conftest.er1
14149 grep -v '^ *+' conftest.er1
>conftest.err
14151 cat conftest.err
>&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); } &&
14154 { ac_try
='test -z "$ac_c_werror_flag"
14155 || test ! -s conftest.err'
14156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14157 (eval $ac_try) 2>&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }; } &&
14161 { ac_try
='test -s conftest.$ac_objext'
14162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163 (eval $ac_try) 2>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }; }; then
14169 echo "$as_me: failed program was:" >&5
14170 sed 's/^/| /' conftest.
$ac_ext >&5
14172 ac_lo
=`expr '(' $ac_mid ')' + 1`
14174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14177 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14178 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14179 See \`config.log' for more details." >&5
14180 echo "$as_me: error: cannot compute sizeof (char), 77
14181 See \`config.log' for more details." >&2;}
14182 { (exit 1); exit 1; }; } ;;
14185 if test "$cross_compiling" = yes; then
14186 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14187 See \`config.log' for more details." >&5
14188 echo "$as_me: error: cannot run test program while cross compiling
14189 See \`config.log' for more details." >&2;}
14190 { (exit 1); exit 1; }; }
14192 cat >conftest.
$ac_ext <<_ACEOF
14195 cat confdefs.h
>>conftest.
$ac_ext
14196 cat >>conftest.
$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14198 $ac_includes_default
14199 long longval () { return (long) (sizeof (char)); }
14200 unsigned long ulongval () { return (long) (sizeof (char)); }
14202 #include <stdlib.h>
14207 FILE *f = fopen ("conftest.val", "w");
14210 if (((long) (sizeof (char))) < 0)
14212 long i = longval ();
14213 if (i != ((long) (sizeof (char))))
14215 fprintf (f, "%ld\n", i);
14219 unsigned long i = ulongval ();
14220 if (i != ((long) (sizeof (char))))
14222 fprintf (f, "%lu\n", i);
14224 exit (ferror (f) || fclose (f) != 0);
14230 rm -f conftest
$ac_exeext
14231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14232 (eval $ac_link) 2>&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; }; then
14241 ac_cv_sizeof_char
=`cat conftest.val`
14243 echo "$as_me: program exited with status $ac_status" >&5
14244 echo "$as_me: failed program was:" >&5
14245 sed 's/^/| /' conftest.
$ac_ext >&5
14247 ( exit $ac_status )
14248 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14249 See \`config.log' for more details." >&5
14250 echo "$as_me: error: cannot compute sizeof (char), 77
14251 See \`config.log' for more details." >&2;}
14252 { (exit 1); exit 1; }; }
14254 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14259 ac_cv_sizeof_char
=0
14262 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14263 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14264 cat >>confdefs.h
<<_ACEOF
14265 #define SIZEOF_CHAR $ac_cv_sizeof_char
14270 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
14271 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
14272 case "$ac_cv_sizeof_char" in
14273 1) acx_cv_type_int8_t
=char
;;
14274 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
14275 echo "$as_me: error: no 8-bit type" >&2;}
14276 { (exit please report a bug
); exit please report a bug
; }; }
14278 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
14279 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
14281 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
14282 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
14283 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
14284 2:*) acx_cv_type_int16_t
=int
;;
14285 *:2) acx_cv_type_int16_t
=short
;;
14286 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
14287 echo "$as_me: error: no 16-bit type" >&2;}
14288 { (exit please report a bug
); exit please report a bug
; }; }
14290 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
14291 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
14293 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
14294 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
14295 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
14296 4:*) acx_cv_type_int32_t
=int
;;
14297 *:4) acx_cv_type_int32_t
=long
;;
14298 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
14299 echo "$as_me: error: no 32-bit type" >&2;}
14300 { (exit please report a bug
); exit please report a bug
; }; }
14302 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
14303 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
14306 # These tests are here to make the output prettier
14308 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
14309 case "$ac_cv_sizeof_long" in
14310 8) acx_cv_type_int64_t
=long
;;
14312 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
14313 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
14314 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
14315 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
14318 # Now we can use the above types
14320 if test "$ac_cv_type_uintptr_t" != yes; then
14321 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
14322 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
14323 case $ac_cv_sizeof_void_p in
14324 2) acx_cv_type_intptr_t
=int16_t
;;
14325 4) acx_cv_type_intptr_t
=int32_t
;;
14326 8) acx_cv_type_intptr_t
=int64_t
;;
14327 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
14328 echo "$as_me: error: no equivalent for intptr_t" >&2;}
14329 { (exit please report a bug
); exit please report a bug
; }; }
14331 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
14332 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
14335 # ----------------- done all checks, emit header -------------
14336 ac_config_commands
="$ac_config_commands gdb_stdint.h"
14341 # ------------------------- #
14342 # Checks for declarations. #
14343 # ------------------------- #
14345 echo "$as_me:$LINENO: checking whether free is declared" >&5
14346 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
14347 if test "${ac_cv_have_decl_free+set}" = set; then
14348 echo $ECHO_N "(cached) $ECHO_C" >&6
14350 cat >conftest.
$ac_ext <<_ACEOF
14353 cat confdefs.h
>>conftest.
$ac_ext
14354 cat >>conftest.
$ac_ext <<_ACEOF
14355 /* end confdefs.h. */
14356 $ac_includes_default
14361 char *p = (char *) free;
14368 rm -f conftest.
$ac_objext
14369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14370 (eval $ac_compile) 2>conftest.er1
14372 grep -v '^ *+' conftest.er1
>conftest.err
14374 cat conftest.err
>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); } &&
14377 { ac_try
='test -z "$ac_c_werror_flag"
14378 || test ! -s conftest.err'
14379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14380 (eval $ac_try) 2>&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); }; } &&
14384 { ac_try
='test -s conftest.$ac_objext'
14385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14386 (eval $ac_try) 2>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; }; then
14390 ac_cv_have_decl_free
=yes
14392 echo "$as_me: failed program was:" >&5
14393 sed 's/^/| /' conftest.
$ac_ext >&5
14395 ac_cv_have_decl_free
=no
14397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14399 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
14400 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
14401 if test $ac_cv_have_decl_free = yes; then
14403 cat >>confdefs.h
<<_ACEOF
14404 #define HAVE_DECL_FREE 1
14409 cat >>confdefs.h
<<_ACEOF
14410 #define HAVE_DECL_FREE 0
14415 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
14416 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
14417 if test "${ac_cv_have_decl_malloc+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14420 cat >conftest.
$ac_ext <<_ACEOF
14423 cat confdefs.h
>>conftest.
$ac_ext
14424 cat >>conftest.
$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14426 $ac_includes_default
14431 char *p = (char *) malloc;
14438 rm -f conftest.
$ac_objext
14439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14440 (eval $ac_compile) 2>conftest.er1
14442 grep -v '^ *+' conftest.er1
>conftest.err
14444 cat conftest.err
>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); } &&
14447 { ac_try
='test -z "$ac_c_werror_flag"
14448 || test ! -s conftest.err'
14449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14450 (eval $ac_try) 2>&5
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); }; } &&
14454 { ac_try
='test -s conftest.$ac_objext'
14455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14456 (eval $ac_try) 2>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); }; }; then
14460 ac_cv_have_decl_malloc
=yes
14462 echo "$as_me: failed program was:" >&5
14463 sed 's/^/| /' conftest.
$ac_ext >&5
14465 ac_cv_have_decl_malloc
=no
14467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14469 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
14470 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
14471 if test $ac_cv_have_decl_malloc = yes; then
14473 cat >>confdefs.h
<<_ACEOF
14474 #define HAVE_DECL_MALLOC 1
14479 cat >>confdefs.h
<<_ACEOF
14480 #define HAVE_DECL_MALLOC 0
14485 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
14486 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
14487 if test "${ac_cv_have_decl_realloc+set}" = set; then
14488 echo $ECHO_N "(cached) $ECHO_C" >&6
14490 cat >conftest.
$ac_ext <<_ACEOF
14493 cat confdefs.h
>>conftest.
$ac_ext
14494 cat >>conftest.
$ac_ext <<_ACEOF
14495 /* end confdefs.h. */
14496 $ac_includes_default
14501 char *p = (char *) realloc;
14508 rm -f conftest.
$ac_objext
14509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14510 (eval $ac_compile) 2>conftest.er1
14512 grep -v '^ *+' conftest.er1
>conftest.err
14514 cat conftest.err
>&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); } &&
14517 { ac_try
='test -z "$ac_c_werror_flag"
14518 || test ! -s conftest.err'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; } &&
14524 { ac_try
='test -s conftest.$ac_objext'
14525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 (eval $ac_try) 2>&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; }; then
14530 ac_cv_have_decl_realloc
=yes
14532 echo "$as_me: failed program was:" >&5
14533 sed 's/^/| /' conftest.
$ac_ext >&5
14535 ac_cv_have_decl_realloc
=no
14537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14539 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
14540 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
14541 if test $ac_cv_have_decl_realloc = yes; then
14543 cat >>confdefs.h
<<_ACEOF
14544 #define HAVE_DECL_REALLOC 1
14549 cat >>confdefs.h
<<_ACEOF
14550 #define HAVE_DECL_REALLOC 0
14557 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
14558 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
14559 if test "${ac_cv_have_decl_strerror+set}" = set; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 cat >conftest.
$ac_ext <<_ACEOF
14565 cat confdefs.h
>>conftest.
$ac_ext
14566 cat >>conftest.
$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14568 $ac_includes_default
14573 char *p = (char *) strerror;
14580 rm -f conftest.
$ac_objext
14581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14582 (eval $ac_compile) 2>conftest.er1
14584 grep -v '^ *+' conftest.er1
>conftest.err
14586 cat conftest.err
>&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); } &&
14589 { ac_try
='test -z "$ac_c_werror_flag"
14590 || test ! -s conftest.err'
14591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592 (eval $ac_try) 2>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; } &&
14596 { ac_try
='test -s conftest.$ac_objext'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; }; then
14602 ac_cv_have_decl_strerror
=yes
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.
$ac_ext >&5
14607 ac_cv_have_decl_strerror
=no
14609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14611 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
14612 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
14613 if test $ac_cv_have_decl_strerror = yes; then
14615 cat >>confdefs.h
<<_ACEOF
14616 #define HAVE_DECL_STRERROR 1
14621 cat >>confdefs.h
<<_ACEOF
14622 #define HAVE_DECL_STRERROR 0
14627 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
14628 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
14629 if test "${ac_cv_have_decl_strstr+set}" = set; then
14630 echo $ECHO_N "(cached) $ECHO_C" >&6
14632 cat >conftest.
$ac_ext <<_ACEOF
14635 cat confdefs.h
>>conftest.
$ac_ext
14636 cat >>conftest.
$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14638 $ac_includes_default
14643 char *p = (char *) strstr;
14650 rm -f conftest.
$ac_objext
14651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14652 (eval $ac_compile) 2>conftest.er1
14654 grep -v '^ *+' conftest.er1
>conftest.err
14656 cat conftest.err
>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } &&
14659 { ac_try
='test -z "$ac_c_werror_flag"
14660 || test ! -s conftest.err'
14661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14662 (eval $ac_try) 2>&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); }; } &&
14666 { ac_try
='test -s conftest.$ac_objext'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; }; then
14672 ac_cv_have_decl_strstr
=yes
14674 echo "$as_me: failed program was:" >&5
14675 sed 's/^/| /' conftest.
$ac_ext >&5
14677 ac_cv_have_decl_strstr
=no
14679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14681 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
14682 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
14683 if test $ac_cv_have_decl_strstr = yes; then
14685 cat >>confdefs.h
<<_ACEOF
14686 #define HAVE_DECL_STRSTR 1
14691 cat >>confdefs.h
<<_ACEOF
14692 #define HAVE_DECL_STRSTR 0
14699 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
14700 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
14701 if test "${ac_cv_have_decl_getopt+set}" = set; then
14702 echo $ECHO_N "(cached) $ECHO_C" >&6
14704 cat >conftest.
$ac_ext <<_ACEOF
14707 cat confdefs.h
>>conftest.
$ac_ext
14708 cat >>conftest.
$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14710 $ac_includes_default
14715 char *p = (char *) getopt;
14722 rm -f conftest.
$ac_objext
14723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14724 (eval $ac_compile) 2>conftest.er1
14726 grep -v '^ *+' conftest.er1
>conftest.err
14728 cat conftest.err
>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); } &&
14731 { ac_try
='test -z "$ac_c_werror_flag"
14732 || test ! -s conftest.err'
14733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 (eval $ac_try) 2>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; } &&
14738 { ac_try
='test -s conftest.$ac_objext'
14739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740 (eval $ac_try) 2>&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); }; }; then
14744 ac_cv_have_decl_getopt
=yes
14746 echo "$as_me: failed program was:" >&5
14747 sed 's/^/| /' conftest.
$ac_ext >&5
14749 ac_cv_have_decl_getopt
=no
14751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14753 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
14754 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
14755 if test $ac_cv_have_decl_getopt = yes; then
14757 cat >>confdefs.h
<<_ACEOF
14758 #define HAVE_DECL_GETOPT 1
14763 cat >>confdefs.h
<<_ACEOF
14764 #define HAVE_DECL_GETOPT 0
14769 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
14770 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
14771 if test "${ac_cv_have_decl_snprintf+set}" = set; then
14772 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 cat >conftest.
$ac_ext <<_ACEOF
14777 cat confdefs.h
>>conftest.
$ac_ext
14778 cat >>conftest.
$ac_ext <<_ACEOF
14779 /* end confdefs.h. */
14780 $ac_includes_default
14785 char *p = (char *) snprintf;
14792 rm -f conftest.
$ac_objext
14793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14794 (eval $ac_compile) 2>conftest.er1
14796 grep -v '^ *+' conftest.er1
>conftest.err
14798 cat conftest.err
>&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } &&
14801 { ac_try
='test -z "$ac_c_werror_flag"
14802 || test ! -s conftest.err'
14803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14804 (eval $ac_try) 2>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); }; } &&
14808 { ac_try
='test -s conftest.$ac_objext'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; }; then
14814 ac_cv_have_decl_snprintf
=yes
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.
$ac_ext >&5
14819 ac_cv_have_decl_snprintf
=no
14821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14823 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
14824 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
14825 if test $ac_cv_have_decl_snprintf = yes; then
14827 cat >>confdefs.h
<<_ACEOF
14828 #define HAVE_DECL_SNPRINTF 1
14833 cat >>confdefs.h
<<_ACEOF
14834 #define HAVE_DECL_SNPRINTF 0
14839 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
14840 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
14841 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
14842 echo $ECHO_N "(cached) $ECHO_C" >&6
14844 cat >conftest.
$ac_ext <<_ACEOF
14847 cat confdefs.h
>>conftest.
$ac_ext
14848 cat >>conftest.
$ac_ext <<_ACEOF
14849 /* end confdefs.h. */
14850 $ac_includes_default
14855 char *p = (char *) vsnprintf;
14862 rm -f conftest.
$ac_objext
14863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14864 (eval $ac_compile) 2>conftest.er1
14866 grep -v '^ *+' conftest.er1
>conftest.err
14868 cat conftest.err
>&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); } &&
14871 { ac_try
='test -z "$ac_c_werror_flag"
14872 || test ! -s conftest.err'
14873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874 (eval $ac_try) 2>&5
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; } &&
14878 { ac_try
='test -s conftest.$ac_objext'
14879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14880 (eval $ac_try) 2>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); }; }; then
14884 ac_cv_have_decl_vsnprintf
=yes
14886 echo "$as_me: failed program was:" >&5
14887 sed 's/^/| /' conftest.
$ac_ext >&5
14889 ac_cv_have_decl_vsnprintf
=no
14891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14893 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
14894 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
14895 if test $ac_cv_have_decl_vsnprintf = yes; then
14897 cat >>confdefs.h
<<_ACEOF
14898 #define HAVE_DECL_VSNPRINTF 1
14903 cat >>confdefs.h
<<_ACEOF
14904 #define HAVE_DECL_VSNPRINTF 0
14912 # ----------------------- #
14913 # Checks for structures. #
14914 # ----------------------- #
14916 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
14917 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
14918 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
14919 echo $ECHO_N "(cached) $ECHO_C" >&6
14921 cat >conftest.
$ac_ext <<_ACEOF
14924 cat confdefs.h
>>conftest.
$ac_ext
14925 cat >>conftest.
$ac_ext <<_ACEOF
14926 /* end confdefs.h. */
14927 $ac_includes_default
14931 static struct stat ac_aggr;
14932 if (ac_aggr.st_blocks)
14938 rm -f conftest.
$ac_objext
14939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14940 (eval $ac_compile) 2>conftest.er1
14942 grep -v '^ *+' conftest.er1
>conftest.err
14944 cat conftest.err
>&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); } &&
14947 { ac_try
='test -z "$ac_c_werror_flag"
14948 || test ! -s conftest.err'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; } &&
14954 { ac_try
='test -s conftest.$ac_objext'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; }; then
14960 ac_cv_member_struct_stat_st_blocks
=yes
14962 echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.
$ac_ext >&5
14965 cat >conftest.
$ac_ext <<_ACEOF
14968 cat confdefs.h
>>conftest.
$ac_ext
14969 cat >>conftest.
$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14971 $ac_includes_default
14975 static struct stat ac_aggr;
14976 if (sizeof ac_aggr.st_blocks)
14982 rm -f conftest.
$ac_objext
14983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14984 (eval $ac_compile) 2>conftest.er1
14986 grep -v '^ *+' conftest.er1
>conftest.err
14988 cat conftest.err
>&5
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); } &&
14991 { ac_try
='test -z "$ac_c_werror_flag"
14992 || test ! -s conftest.err'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; } &&
14998 { ac_try
='test -s conftest.$ac_objext'
14999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15000 (eval $ac_try) 2>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; }; then
15004 ac_cv_member_struct_stat_st_blocks
=yes
15006 echo "$as_me: failed program was:" >&5
15007 sed 's/^/| /' conftest.
$ac_ext >&5
15009 ac_cv_member_struct_stat_st_blocks
=no
15011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15015 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
15016 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
15017 if test $ac_cv_member_struct_stat_st_blocks = yes; then
15019 cat >>confdefs.h
<<_ACEOF
15020 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15026 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
15027 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
15028 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
15029 echo $ECHO_N "(cached) $ECHO_C" >&6
15031 cat >conftest.
$ac_ext <<_ACEOF
15034 cat confdefs.h
>>conftest.
$ac_ext
15035 cat >>conftest.
$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15037 $ac_includes_default
15041 static struct stat ac_aggr;
15042 if (ac_aggr.st_blksize)
15048 rm -f conftest.
$ac_objext
15049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15050 (eval $ac_compile) 2>conftest.er1
15052 grep -v '^ *+' conftest.er1
>conftest.err
15054 cat conftest.err
>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } &&
15057 { ac_try
='test -z "$ac_c_werror_flag"
15058 || test ! -s conftest.err'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; } &&
15064 { ac_try
='test -s conftest.$ac_objext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15070 ac_cv_member_struct_stat_st_blksize
=yes
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.
$ac_ext >&5
15075 cat >conftest.
$ac_ext <<_ACEOF
15078 cat confdefs.h
>>conftest.
$ac_ext
15079 cat >>conftest.
$ac_ext <<_ACEOF
15080 /* end confdefs.h. */
15081 $ac_includes_default
15085 static struct stat ac_aggr;
15086 if (sizeof ac_aggr.st_blksize)
15092 rm -f conftest.
$ac_objext
15093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15094 (eval $ac_compile) 2>conftest.er1
15096 grep -v '^ *+' conftest.er1
>conftest.err
15098 cat conftest.err
>&5
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); } &&
15101 { ac_try
='test -z "$ac_c_werror_flag"
15102 || test ! -s conftest.err'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; } &&
15108 { ac_try
='test -s conftest.$ac_objext'
15109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15110 (eval $ac_try) 2>&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); }; }; then
15114 ac_cv_member_struct_stat_st_blksize
=yes
15116 echo "$as_me: failed program was:" >&5
15117 sed 's/^/| /' conftest.
$ac_ext >&5
15119 ac_cv_member_struct_stat_st_blksize
=no
15121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15125 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
15126 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
15127 if test $ac_cv_member_struct_stat_st_blksize = yes; then
15129 cat >>confdefs.h
<<_ACEOF
15130 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15137 # ------------------ #
15138 # Checks for types. #
15139 # ------------------ #
15141 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
15142 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
15143 if test "${ac_cv_type_signal+set}" = set; then
15144 echo $ECHO_N "(cached) $ECHO_C" >&6
15146 cat >conftest.
$ac_ext <<_ACEOF
15149 cat confdefs.h
>>conftest.
$ac_ext
15150 cat >>conftest.
$ac_ext <<_ACEOF
15151 /* end confdefs.h. */
15152 #include <sys/types.h>
15153 #include <signal.h>
15158 extern "C" void (*signal (int, void (*)(int)))(int);
15160 void (*signal ()) ();
15171 rm -f conftest.
$ac_objext
15172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15173 (eval $ac_compile) 2>conftest.er1
15175 grep -v '^ *+' conftest.er1
>conftest.err
15177 cat conftest.err
>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } &&
15180 { ac_try
='test -z "$ac_c_werror_flag"
15181 || test ! -s conftest.err'
15182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15183 (eval $ac_try) 2>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; } &&
15187 { ac_try
='test -s conftest.$ac_objext'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; }; then
15193 ac_cv_type_signal
=void
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.
$ac_ext >&5
15198 ac_cv_type_signal
=int
15200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15202 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
15203 echo "${ECHO_T}$ac_cv_type_signal" >&6
15205 cat >>confdefs.h
<<_ACEOF
15206 #define RETSIGTYPE $ac_cv_type_signal
15210 echo "$as_me:$LINENO: checking for socklen_t" >&5
15211 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
15212 if test "${ac_cv_type_socklen_t+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 cat >conftest.
$ac_ext <<_ACEOF
15218 cat confdefs.h
>>conftest.
$ac_ext
15219 cat >>conftest.
$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15221 #include <sys/types.h>
15222 #include <sys/socket.h>
15228 if ((socklen_t *) 0)
15230 if (sizeof (socklen_t))
15236 rm -f conftest.
$ac_objext
15237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15238 (eval $ac_compile) 2>conftest.er1
15240 grep -v '^ *+' conftest.er1
>conftest.err
15242 cat conftest.err
>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); } &&
15245 { ac_try
='test -z "$ac_c_werror_flag"
15246 || test ! -s conftest.err'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; } &&
15252 { ac_try
='test -s conftest.$ac_objext'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 ac_cv_type_socklen_t
=yes
15260 echo "$as_me: failed program was:" >&5
15261 sed 's/^/| /' conftest.
$ac_ext >&5
15263 ac_cv_type_socklen_t
=no
15265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15267 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
15268 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
15269 if test $ac_cv_type_socklen_t = yes; then
15271 cat >>confdefs.h
<<_ACEOF
15272 #define HAVE_SOCKLEN_T 1
15278 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15279 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15280 if test "${ac_cv_type_uintptr_t+set}" = set; then
15281 echo $ECHO_N "(cached) $ECHO_C" >&6
15283 cat >conftest.
$ac_ext <<_ACEOF
15286 cat confdefs.h
>>conftest.
$ac_ext
15287 cat >>conftest.
$ac_ext <<_ACEOF
15288 /* end confdefs.h. */
15289 #include <stdint.h>
15294 if ((uintptr_t *) 0)
15296 if (sizeof (uintptr_t))
15302 rm -f conftest.
$ac_objext
15303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15304 (eval $ac_compile) 2>conftest.er1
15306 grep -v '^ *+' conftest.er1
>conftest.err
15308 cat conftest.err
>&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } &&
15311 { ac_try
='test -z "$ac_c_werror_flag"
15312 || test ! -s conftest.err'
15313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15314 (eval $ac_try) 2>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); }; } &&
15318 { ac_try
='test -s conftest.$ac_objext'
15319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15320 (eval $ac_try) 2>&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); }; }; then
15324 ac_cv_type_uintptr_t
=yes
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.
$ac_ext >&5
15329 ac_cv_type_uintptr_t
=no
15331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15333 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15334 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15335 if test $ac_cv_type_uintptr_t = yes; then
15337 cat >>confdefs.h
<<_ACEOF
15338 #define HAVE_UINTPTR_T 1
15345 # ------------------------------------- #
15346 # Checks for compiler characteristics. #
15347 # ------------------------------------- #
15349 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15350 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15351 if test "${ac_cv_c_const+set}" = set; then
15352 echo $ECHO_N "(cached) $ECHO_C" >&6
15354 cat >conftest.
$ac_ext <<_ACEOF
15357 cat confdefs.h
>>conftest.
$ac_ext
15358 cat >>conftest.
$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15364 /* FIXME: Include the comments suggested by Paul. */
15365 #ifndef __cplusplus
15366 /* Ultrix mips cc rejects this. */
15367 typedef int charset[2];
15369 /* SunOS 4.1.1 cc rejects this. */
15370 char const *const *ccp;
15372 /* NEC SVR4.0.2 mips cc rejects this. */
15373 struct point {int x, y;};
15374 static struct point const zero = {0,0};
15375 /* AIX XL C 1.02.0.0 rejects this.
15376 It does not let you subtract one const X* pointer from another in
15377 an arm of an if-expression whose if-part is not a constant
15379 const char *g = "string";
15380 ccp = &g + (g ? g-g : 0);
15381 /* HPUX 7.0 cc rejects these. */
15384 ccp = (char const *const *) p;
15385 { /* SCO 3.2v4 cc rejects this. */
15387 char const *s = 0 ? (char *) 0 : (char const *) 0;
15391 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15392 int x[] = {25, 17};
15393 const int *foo = &x[0];
15396 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15397 typedef const int *iptr;
15401 { /* AIX XL C 1.02.0.0 rejects this saying
15402 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15403 struct s { int j; const int *ap[3]; };
15404 struct s *b; b->j = 5;
15406 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15407 const int foo = 10;
15415 rm -f conftest.
$ac_objext
15416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15417 (eval $ac_compile) 2>conftest.er1
15419 grep -v '^ *+' conftest.er1
>conftest.err
15421 cat conftest.err
>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); } &&
15424 { ac_try
='test -z "$ac_c_werror_flag"
15425 || test ! -s conftest.err'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; } &&
15431 { ac_try
='test -s conftest.$ac_objext'
15432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433 (eval $ac_try) 2>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); }; }; then
15439 echo "$as_me: failed program was:" >&5
15440 sed 's/^/| /' conftest.
$ac_ext >&5
15444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15446 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15447 echo "${ECHO_T}$ac_cv_c_const" >&6
15448 if test $ac_cv_c_const = no
; then
15450 cat >>confdefs.h
<<\_ACEOF
15456 echo "$as_me:$LINENO: checking for inline" >&5
15457 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15458 if test "${ac_cv_c_inline+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 for ac_kw
in inline __inline__ __inline
; do
15463 cat >conftest.
$ac_ext <<_ACEOF
15466 cat confdefs.h
>>conftest.
$ac_ext
15467 cat >>conftest.
$ac_ext <<_ACEOF
15468 /* end confdefs.h. */
15469 #ifndef __cplusplus
15471 static $ac_kw foo_t static_foo () {return 0; }
15472 $ac_kw foo_t foo () {return 0; }
15476 rm -f conftest.
$ac_objext
15477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15478 (eval $ac_compile) 2>conftest.er1
15480 grep -v '^ *+' conftest.er1
>conftest.err
15482 cat conftest.err
>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); } &&
15485 { ac_try
='test -z "$ac_c_werror_flag"
15486 || test ! -s conftest.err'
15487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488 (eval $ac_try) 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; } &&
15492 { ac_try
='test -s conftest.$ac_objext'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; }; then
15498 ac_cv_c_inline
=$ac_kw; break
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.
$ac_ext >&5
15504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15508 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15509 echo "${ECHO_T}$ac_cv_c_inline" >&6
15512 case $ac_cv_c_inline in
15515 case $ac_cv_c_inline in
15517 *) ac_val
=$ac_cv_c_inline;;
15519 cat >>confdefs.h
<<_ACEOF
15520 #ifndef __cplusplus
15521 #define inline $ac_val
15528 # ------------------------------ #
15529 # Checks for library functions. #
15530 # ------------------------------ #
15532 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15533 # for constant arguments. Useless!
15534 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15535 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15536 if test "${ac_cv_working_alloca_h+set}" = set; then
15537 echo $ECHO_N "(cached) $ECHO_C" >&6
15539 cat >conftest.
$ac_ext <<_ACEOF
15542 cat confdefs.h
>>conftest.
$ac_ext
15543 cat >>conftest.
$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15545 #include <alloca.h>
15549 char *p = (char *) alloca (2 * sizeof (int));
15554 rm -f conftest.
$ac_objext conftest
$ac_exeext
15555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15556 (eval $ac_link) 2>conftest.er1
15558 grep -v '^ *+' conftest.er1
>conftest.err
15560 cat conftest.err
>&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); } &&
15563 { ac_try
='test -z "$ac_c_werror_flag"
15564 || test ! -s conftest.err'
15565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15566 (eval $ac_try) 2>&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); }; } &&
15570 { ac_try
='test -s conftest$ac_exeext'
15571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15572 (eval $ac_try) 2>&5
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; }; then
15576 ac_cv_working_alloca_h
=yes
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.
$ac_ext >&5
15581 ac_cv_working_alloca_h
=no
15583 rm -f conftest.err conftest.
$ac_objext \
15584 conftest
$ac_exeext conftest.
$ac_ext
15586 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15587 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15588 if test $ac_cv_working_alloca_h = yes; then
15590 cat >>confdefs.h
<<\_ACEOF
15591 #define HAVE_ALLOCA_H 1
15596 echo "$as_me:$LINENO: checking for alloca" >&5
15597 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15598 if test "${ac_cv_func_alloca_works+set}" = set; then
15599 echo $ECHO_N "(cached) $ECHO_C" >&6
15601 cat >conftest.
$ac_ext <<_ACEOF
15604 cat confdefs.h
>>conftest.
$ac_ext
15605 cat >>conftest.
$ac_ext <<_ACEOF
15606 /* end confdefs.h. */
15608 # define alloca __builtin_alloca
15611 # include <malloc.h>
15612 # define alloca _alloca
15615 # include <alloca.h>
15620 # ifndef alloca /* predefined by HP cc +Olibcalls */
15631 char *p = (char *) alloca (1);
15636 rm -f conftest.
$ac_objext conftest
$ac_exeext
15637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15638 (eval $ac_link) 2>conftest.er1
15640 grep -v '^ *+' conftest.er1
>conftest.err
15642 cat conftest.err
>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); } &&
15645 { ac_try
='test -z "$ac_c_werror_flag"
15646 || test ! -s conftest.err'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; } &&
15652 { ac_try
='test -s conftest$ac_exeext'
15653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15654 (eval $ac_try) 2>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15658 ac_cv_func_alloca_works
=yes
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.
$ac_ext >&5
15663 ac_cv_func_alloca_works
=no
15665 rm -f conftest.err conftest.
$ac_objext \
15666 conftest
$ac_exeext conftest.
$ac_ext
15668 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15669 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15671 if test $ac_cv_func_alloca_works = yes; then
15673 cat >>confdefs.h
<<\_ACEOF
15674 #define HAVE_ALLOCA 1
15678 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15679 # that cause trouble. Some versions do not even contain alloca or
15680 # contain a buggy version. If you still want to use their alloca,
15681 # use ar to extract alloca.o from them instead of compiling alloca.c.
15683 ALLOCA
=alloca.
$ac_objext
15685 cat >>confdefs.h
<<\_ACEOF
15690 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15691 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15692 if test "${ac_cv_os_cray+set}" = set; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 cat >conftest.
$ac_ext <<_ACEOF
15698 cat confdefs.h
>>conftest.
$ac_ext
15699 cat >>conftest.
$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15701 #if defined(CRAY) && ! defined(CRAY2)
15708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15709 $EGREP "webecray" >/dev
/null
2>&1; then
15717 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15718 echo "${ECHO_T}$ac_cv_os_cray" >&6
15719 if test $ac_cv_os_cray = yes; then
15720 for ac_func
in _getb67 GETB67 getb67
; do
15721 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15722 echo "$as_me:$LINENO: checking for $ac_func" >&5
15723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15724 if eval "test \"\${$as_ac_var+set}\" = set"; then
15725 echo $ECHO_N "(cached) $ECHO_C" >&6
15727 cat >conftest.
$ac_ext <<_ACEOF
15730 cat confdefs.h
>>conftest.
$ac_ext
15731 cat >>conftest.
$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15735 #define $ac_func innocuous_$ac_func
15737 /* System header to define __stub macros and hopefully few prototypes,
15738 which can conflict with char $ac_func (); below.
15739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15740 <limits.h> exists even on freestanding compilers. */
15743 # include <limits.h>
15745 # include <assert.h>
15750 /* Override any gcc2 internal prototype to avoid an error. */
15755 /* We use char because int might match the return type of a gcc2
15756 builtin and then its argument prototype would still apply. */
15758 /* The GNU C library defines this for functions which it implements
15759 to always fail with ENOSYS. Some functions are actually named
15760 something starting with __ and the normal name is an alias. */
15761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15764 char (*f) () = $ac_func;
15773 return f != $ac_func;
15778 rm -f conftest.
$ac_objext conftest
$ac_exeext
15779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15780 (eval $ac_link) 2>conftest.er1
15782 grep -v '^ *+' conftest.er1
>conftest.err
15784 cat conftest.err
>&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); } &&
15787 { ac_try
='test -z "$ac_c_werror_flag"
15788 || test ! -s conftest.err'
15789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15790 (eval $ac_try) 2>&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; } &&
15794 { ac_try
='test -s conftest$ac_exeext'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; }; then
15800 eval "$as_ac_var=yes"
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.
$ac_ext >&5
15805 eval "$as_ac_var=no"
15807 rm -f conftest.err conftest.
$ac_objext \
15808 conftest
$ac_exeext conftest.
$ac_ext
15810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15812 if test `eval echo '${'$as_ac_var'}'` = yes; then
15814 cat >>confdefs.h
<<_ACEOF
15815 #define CRAY_STACKSEG_END $ac_func
15824 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15825 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15826 if test "${ac_cv_c_stack_direction+set}" = set; then
15827 echo $ECHO_N "(cached) $ECHO_C" >&6
15829 if test "$cross_compiling" = yes; then
15830 ac_cv_c_stack_direction
=0
15832 cat >conftest.
$ac_ext <<_ACEOF
15835 cat confdefs.h
>>conftest.
$ac_ext
15836 cat >>conftest.
$ac_ext <<_ACEOF
15837 /* end confdefs.h. */
15839 find_stack_direction ()
15841 static char *addr = 0;
15846 return find_stack_direction ();
15849 return (&dummy > addr) ? 1 : -1;
15855 exit (find_stack_direction () < 0);
15858 rm -f conftest
$ac_exeext
15859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15860 (eval $ac_link) 2>&5
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865 (eval $ac_try) 2>&5
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }; }; then
15869 ac_cv_c_stack_direction
=1
15871 echo "$as_me: program exited with status $ac_status" >&5
15872 echo "$as_me: failed program was:" >&5
15873 sed 's/^/| /' conftest.
$ac_ext >&5
15875 ( exit $ac_status )
15876 ac_cv_c_stack_direction
=-1
15878 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15881 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15882 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15884 cat >>confdefs.h
<<_ACEOF
15885 #define STACK_DIRECTION $ac_cv_c_stack_direction
15893 for ac_header
in stdlib.h unistd.h
15895 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15897 echo "$as_me:$LINENO: checking for $ac_header" >&5
15898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15900 echo $ECHO_N "(cached) $ECHO_C" >&6
15902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15905 # Is the header compilable?
15906 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15908 cat >conftest.
$ac_ext <<_ACEOF
15911 cat confdefs.h
>>conftest.
$ac_ext
15912 cat >>conftest.
$ac_ext <<_ACEOF
15913 /* end confdefs.h. */
15914 $ac_includes_default
15915 #include <$ac_header>
15917 rm -f conftest.
$ac_objext
15918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15919 (eval $ac_compile) 2>conftest.er1
15921 grep -v '^ *+' conftest.er1
>conftest.err
15923 cat conftest.err
>&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } &&
15926 { ac_try
='test -z "$ac_c_werror_flag"
15927 || test ! -s conftest.err'
15928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15929 (eval $ac_try) 2>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); }; } &&
15933 { ac_try
='test -s conftest.$ac_objext'
15934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15935 (eval $ac_try) 2>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; }; then
15939 ac_header_compiler
=yes
15941 echo "$as_me: failed program was:" >&5
15942 sed 's/^/| /' conftest.
$ac_ext >&5
15944 ac_header_compiler
=no
15946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15948 echo "${ECHO_T}$ac_header_compiler" >&6
15950 # Is the header present?
15951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15953 cat >conftest.
$ac_ext <<_ACEOF
15956 cat confdefs.h
>>conftest.
$ac_ext
15957 cat >>conftest.
$ac_ext <<_ACEOF
15958 /* end confdefs.h. */
15959 #include <$ac_header>
15961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15962 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15964 grep -v '^ *+' conftest.er1
>conftest.err
15966 cat conftest.err
>&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); } >/dev
/null
; then
15969 if test -s conftest.err
; then
15970 ac_cpp_err
=$ac_c_preproc_warn_flag
15971 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15978 if test -z "$ac_cpp_err"; then
15979 ac_header_preproc
=yes
15981 echo "$as_me: failed program was:" >&5
15982 sed 's/^/| /' conftest.
$ac_ext >&5
15984 ac_header_preproc
=no
15986 rm -f conftest.err conftest.
$ac_ext
15987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15988 echo "${ECHO_T}$ac_header_preproc" >&6
15990 # So? What about this header?
15991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15997 ac_header_preproc
=yes
16000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16014 ## ------------------------------------------ ##
16015 ## Report this to the AC_PACKAGE_NAME lists. ##
16016 ## ------------------------------------------ ##
16019 sed "s/^/$as_me: WARNING: /" >&2
16022 echo "$as_me:$LINENO: checking for $ac_header" >&5
16023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16025 echo $ECHO_N "(cached) $ECHO_C" >&6
16027 eval "$as_ac_Header=\$ac_header_preproc"
16029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16034 cat >>confdefs.h
<<_ACEOF
16035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16043 for ac_func
in getpagesize
16045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16046 echo "$as_me:$LINENO: checking for $ac_func" >&5
16047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16048 if eval "test \"\${$as_ac_var+set}\" = set"; then
16049 echo $ECHO_N "(cached) $ECHO_C" >&6
16051 cat >conftest.
$ac_ext <<_ACEOF
16054 cat confdefs.h
>>conftest.
$ac_ext
16055 cat >>conftest.
$ac_ext <<_ACEOF
16056 /* end confdefs.h. */
16057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16059 #define $ac_func innocuous_$ac_func
16061 /* System header to define __stub macros and hopefully few prototypes,
16062 which can conflict with char $ac_func (); below.
16063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16064 <limits.h> exists even on freestanding compilers. */
16067 # include <limits.h>
16069 # include <assert.h>
16074 /* Override any gcc2 internal prototype to avoid an error. */
16079 /* We use char because int might match the return type of a gcc2
16080 builtin and then its argument prototype would still apply. */
16082 /* The GNU C library defines this for functions which it implements
16083 to always fail with ENOSYS. Some functions are actually named
16084 something starting with __ and the normal name is an alias. */
16085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16088 char (*f) () = $ac_func;
16097 return f != $ac_func;
16102 rm -f conftest.
$ac_objext conftest
$ac_exeext
16103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16104 (eval $ac_link) 2>conftest.er1
16106 grep -v '^ *+' conftest.er1
>conftest.err
16108 cat conftest.err
>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); } &&
16111 { ac_try
='test -z "$ac_c_werror_flag"
16112 || test ! -s conftest.err'
16113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16114 (eval $ac_try) 2>&5
16116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16117 (exit $ac_status); }; } &&
16118 { ac_try
='test -s conftest$ac_exeext'
16119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16120 (eval $ac_try) 2>&5
16122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123 (exit $ac_status); }; }; then
16124 eval "$as_ac_var=yes"
16126 echo "$as_me: failed program was:" >&5
16127 sed 's/^/| /' conftest.
$ac_ext >&5
16129 eval "$as_ac_var=no"
16131 rm -f conftest.err conftest.
$ac_objext \
16132 conftest
$ac_exeext conftest.
$ac_ext
16134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16136 if test `eval echo '${'$as_ac_var'}'` = yes; then
16137 cat >>confdefs.h
<<_ACEOF
16138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16144 echo "$as_me:$LINENO: checking for working mmap" >&5
16145 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
16146 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
16147 echo $ECHO_N "(cached) $ECHO_C" >&6
16149 if test "$cross_compiling" = yes; then
16150 ac_cv_func_mmap_fixed_mapped
=no
16152 cat >conftest.
$ac_ext <<_ACEOF
16155 cat confdefs.h
>>conftest.
$ac_ext
16156 cat >>conftest.
$ac_ext <<_ACEOF
16157 /* end confdefs.h. */
16158 $ac_includes_default
16159 /* malloc might have been renamed as rpl_malloc. */
16162 /* Thanks to Mike Haertel and Jim Avera for this test.
16163 Here is a matrix of mmap possibilities:
16164 mmap private not fixed
16165 mmap private fixed at somewhere currently unmapped
16166 mmap private fixed at somewhere already mapped
16167 mmap shared not fixed
16168 mmap shared fixed at somewhere currently unmapped
16169 mmap shared fixed at somewhere already mapped
16170 For private mappings, we should verify that changes cannot be read()
16171 back from the file, nor mmap's back from the file at a different
16172 address. (There have been systems where private was not correctly
16173 implemented like the infamous i386 svr4.0, and systems where the
16174 VM page cache was not coherent with the file system buffer cache
16175 like early versions of FreeBSD and possibly contemporary NetBSD.)
16176 For shared mappings, we should conversely verify that changes get
16177 propagated back to all the places they're supposed to be.
16179 Grep wants private fixed already mapped.
16180 The main things grep needs to know about mmap are:
16181 * does it exist and is it safe to write into the mmap'd area
16182 * how to use it (BSD variants) */
16185 #include <sys/mman.h>
16187 #if !STDC_HEADERS && !HAVE_STDLIB_H
16191 /* This mess was copied from the GNU getpagesize.h. */
16192 #if !HAVE_GETPAGESIZE
16193 /* Assume that all systems that can run configure have sys/param.h. */
16194 # if !HAVE_SYS_PARAM_H
16195 # define HAVE_SYS_PARAM_H 1
16198 # ifdef _SC_PAGESIZE
16199 # define getpagesize() sysconf(_SC_PAGESIZE)
16200 # else /* no _SC_PAGESIZE */
16201 # if HAVE_SYS_PARAM_H
16202 # include <sys/param.h>
16203 # ifdef EXEC_PAGESIZE
16204 # define getpagesize() EXEC_PAGESIZE
16205 # else /* no EXEC_PAGESIZE */
16207 # define getpagesize() NBPG * CLSIZE
16210 # endif /* no CLSIZE */
16211 # else /* no NBPG */
16213 # define getpagesize() NBPC
16214 # else /* no NBPC */
16216 # define getpagesize() PAGESIZE
16217 # endif /* PAGESIZE */
16218 # endif /* no NBPC */
16219 # endif /* no NBPG */
16220 # endif /* no EXEC_PAGESIZE */
16221 # else /* no HAVE_SYS_PARAM_H */
16222 # define getpagesize() 8192 /* punt totally */
16223 # endif /* no HAVE_SYS_PARAM_H */
16224 # endif /* no _SC_PAGESIZE */
16226 #endif /* no HAVE_GETPAGESIZE */
16231 char *data, *data2, *data3;
16235 pagesize = getpagesize ();
16237 /* First, make a file with some known garbage in it. */
16238 data = (char *) malloc (pagesize);
16241 for (i = 0; i < pagesize; ++i)
16242 *(data + i) = rand ();
16244 fd = creat ("conftest.mmap", 0600);
16247 if (write (fd, data, pagesize) != pagesize)
16251 /* Next, try to mmap the file at a fixed address which already has
16252 something else allocated at it. If we can, also make sure that
16253 we see the same garbage. */
16254 fd = open ("conftest.mmap", O_RDWR);
16257 data2 = (char *) malloc (2 * pagesize);
16260 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
16261 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16262 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16264 for (i = 0; i < pagesize; ++i)
16265 if (*(data + i) != *(data2 + i))
16268 /* Finally, make sure that changes to the mapped area do not
16269 percolate back to the file as seen by read(). (This is a bug on
16270 some variants of i386 svr4.0.) */
16271 for (i = 0; i < pagesize; ++i)
16272 *(data2 + i) = *(data2 + i) + 1;
16273 data3 = (char *) malloc (pagesize);
16276 if (read (fd, data3, pagesize) != pagesize)
16278 for (i = 0; i < pagesize; ++i)
16279 if (*(data + i) != *(data3 + i))
16285 rm -f conftest
$ac_exeext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16287 (eval $ac_link) 2>&5
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; }; then
16296 ac_cv_func_mmap_fixed_mapped
=yes
16298 echo "$as_me: program exited with status $ac_status" >&5
16299 echo "$as_me: failed program was:" >&5
16300 sed 's/^/| /' conftest.
$ac_ext >&5
16302 ( exit $ac_status )
16303 ac_cv_func_mmap_fixed_mapped
=no
16305 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16308 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
16309 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
16310 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16312 cat >>confdefs.h
<<\_ACEOF
16313 #define HAVE_MMAP 1
16317 rm -f conftest.mmap
16319 echo "$as_me:$LINENO: checking for pid_t" >&5
16320 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16321 if test "${ac_cv_type_pid_t+set}" = set; then
16322 echo $ECHO_N "(cached) $ECHO_C" >&6
16324 cat >conftest.
$ac_ext <<_ACEOF
16327 cat confdefs.h
>>conftest.
$ac_ext
16328 cat >>conftest.
$ac_ext <<_ACEOF
16329 /* end confdefs.h. */
16330 $ac_includes_default
16336 if (sizeof (pid_t))
16342 rm -f conftest.
$ac_objext
16343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16344 (eval $ac_compile) 2>conftest.er1
16346 grep -v '^ *+' conftest.er1
>conftest.err
16348 cat conftest.err
>&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); } &&
16351 { ac_try
='test -z "$ac_c_werror_flag"
16352 || test ! -s conftest.err'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; } &&
16358 { ac_try
='test -s conftest.$ac_objext'
16359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360 (eval $ac_try) 2>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }; }; then
16364 ac_cv_type_pid_t
=yes
16366 echo "$as_me: failed program was:" >&5
16367 sed 's/^/| /' conftest.
$ac_ext >&5
16369 ac_cv_type_pid_t
=no
16371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16373 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16374 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16375 if test $ac_cv_type_pid_t = yes; then
16379 cat >>confdefs.h
<<_ACEOF
16387 for ac_header
in unistd.h vfork.h
16389 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16391 echo "$as_me:$LINENO: checking for $ac_header" >&5
16392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16394 echo $ECHO_N "(cached) $ECHO_C" >&6
16396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16399 # Is the header compilable?
16400 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16401 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16402 cat >conftest.
$ac_ext <<_ACEOF
16405 cat confdefs.h
>>conftest.
$ac_ext
16406 cat >>conftest.
$ac_ext <<_ACEOF
16407 /* end confdefs.h. */
16408 $ac_includes_default
16409 #include <$ac_header>
16411 rm -f conftest.
$ac_objext
16412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16413 (eval $ac_compile) 2>conftest.er1
16415 grep -v '^ *+' conftest.er1
>conftest.err
16417 cat conftest.err
>&5
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); } &&
16420 { ac_try
='test -z "$ac_c_werror_flag"
16421 || test ! -s conftest.err'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; } &&
16427 { ac_try
='test -s conftest.$ac_objext'
16428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16429 (eval $ac_try) 2>&5
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); }; }; then
16433 ac_header_compiler
=yes
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.
$ac_ext >&5
16438 ac_header_compiler
=no
16440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16442 echo "${ECHO_T}$ac_header_compiler" >&6
16444 # Is the header present?
16445 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16446 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16447 cat >conftest.
$ac_ext <<_ACEOF
16450 cat confdefs.h
>>conftest.
$ac_ext
16451 cat >>conftest.
$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16453 #include <$ac_header>
16455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16456 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16458 grep -v '^ *+' conftest.er1
>conftest.err
16460 cat conftest.err
>&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } >/dev
/null
; then
16463 if test -s conftest.err
; then
16464 ac_cpp_err
=$ac_c_preproc_warn_flag
16465 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16472 if test -z "$ac_cpp_err"; then
16473 ac_header_preproc
=yes
16475 echo "$as_me: failed program was:" >&5
16476 sed 's/^/| /' conftest.
$ac_ext >&5
16478 ac_header_preproc
=no
16480 rm -f conftest.err conftest.
$ac_ext
16481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16482 echo "${ECHO_T}$ac_header_preproc" >&6
16484 # So? What about this header?
16485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16487 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16488 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16490 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16491 ac_header_preproc
=yes
16494 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16495 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16496 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16497 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16498 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16499 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16500 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16501 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16503 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16504 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16505 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16508 ## ------------------------------------------ ##
16509 ## Report this to the AC_PACKAGE_NAME lists. ##
16510 ## ------------------------------------------ ##
16513 sed "s/^/$as_me: WARNING: /" >&2
16516 echo "$as_me:$LINENO: checking for $ac_header" >&5
16517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16519 echo $ECHO_N "(cached) $ECHO_C" >&6
16521 eval "$as_ac_Header=\$ac_header_preproc"
16523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16528 cat >>confdefs.h
<<_ACEOF
16529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16538 for ac_func
in fork vfork
16540 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16541 echo "$as_me:$LINENO: checking for $ac_func" >&5
16542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16543 if eval "test \"\${$as_ac_var+set}\" = set"; then
16544 echo $ECHO_N "(cached) $ECHO_C" >&6
16546 cat >conftest.
$ac_ext <<_ACEOF
16549 cat confdefs.h
>>conftest.
$ac_ext
16550 cat >>conftest.
$ac_ext <<_ACEOF
16551 /* end confdefs.h. */
16552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16554 #define $ac_func innocuous_$ac_func
16556 /* System header to define __stub macros and hopefully few prototypes,
16557 which can conflict with char $ac_func (); below.
16558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16559 <limits.h> exists even on freestanding compilers. */
16562 # include <limits.h>
16564 # include <assert.h>
16569 /* Override any gcc2 internal prototype to avoid an error. */
16574 /* We use char because int might match the return type of a gcc2
16575 builtin and then its argument prototype would still apply. */
16577 /* The GNU C library defines this for functions which it implements
16578 to always fail with ENOSYS. Some functions are actually named
16579 something starting with __ and the normal name is an alias. */
16580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16583 char (*f) () = $ac_func;
16592 return f != $ac_func;
16597 rm -f conftest.
$ac_objext conftest
$ac_exeext
16598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16599 (eval $ac_link) 2>conftest.er1
16601 grep -v '^ *+' conftest.er1
>conftest.err
16603 cat conftest.err
>&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } &&
16606 { ac_try
='test -z "$ac_c_werror_flag"
16607 || test ! -s conftest.err'
16608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16609 (eval $ac_try) 2>&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); }; } &&
16613 { ac_try
='test -s conftest$ac_exeext'
16614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16615 (eval $ac_try) 2>&5
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); }; }; then
16619 eval "$as_ac_var=yes"
16621 echo "$as_me: failed program was:" >&5
16622 sed 's/^/| /' conftest.
$ac_ext >&5
16624 eval "$as_ac_var=no"
16626 rm -f conftest.err conftest.
$ac_objext \
16627 conftest
$ac_exeext conftest.
$ac_ext
16629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16631 if test `eval echo '${'$as_ac_var'}'` = yes; then
16632 cat >>confdefs.h
<<_ACEOF
16633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16639 if test "x$ac_cv_func_fork" = xyes
; then
16640 echo "$as_me:$LINENO: checking for working fork" >&5
16641 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
16642 if test "${ac_cv_func_fork_works+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 if test "$cross_compiling" = yes; then
16646 ac_cv_func_fork_works
=cross
16648 cat >conftest.
$ac_ext <<_ACEOF
16649 /* By Ruediger Kuhlmann. */
16650 #include <sys/types.h>
16652 # include <unistd.h>
16654 /* Some systems only have a dummy stub for fork() */
16662 rm -f conftest
$ac_exeext
16663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16664 (eval $ac_link) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; }; then
16673 ac_cv_func_fork_works
=yes
16675 echo "$as_me: program exited with status $ac_status" >&5
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.
$ac_ext >&5
16679 ( exit $ac_status )
16680 ac_cv_func_fork_works
=no
16682 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16685 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
16686 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
16689 ac_cv_func_fork_works
=$ac_cv_func_fork
16691 if test "x$ac_cv_func_fork_works" = xcross
; then
16693 *-*-amigaos* |
*-*-msdosdjgpp*)
16694 # Override, as these systems have only a dummy fork() stub
16695 ac_cv_func_fork_works
=no
16698 ac_cv_func_fork_works
=yes
16701 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
16702 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
16704 ac_cv_func_vfork_works
=$ac_cv_func_vfork
16705 if test "x$ac_cv_func_vfork" = xyes
; then
16706 echo "$as_me:$LINENO: checking for working vfork" >&5
16707 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
16708 if test "${ac_cv_func_vfork_works+set}" = set; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16711 if test "$cross_compiling" = yes; then
16712 ac_cv_func_vfork_works
=cross
16714 cat >conftest.
$ac_ext <<_ACEOF
16717 cat confdefs.h
>>conftest.
$ac_ext
16718 cat >>conftest.
$ac_ext <<_ACEOF
16719 /* end confdefs.h. */
16720 /* Thanks to Paul Eggert for this test. */
16722 #include <stdlib.h>
16723 #include <sys/types.h>
16724 #include <sys/stat.h>
16725 #include <sys/wait.h>
16727 # include <unistd.h>
16730 # include <vfork.h>
16732 /* On some sparc systems, changes by the child to local and incoming
16733 argument registers are propagated back to the parent. The compiler
16734 is told about this with #include <vfork.h>, but some compilers
16735 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
16736 static variable whose address is put into a register that is
16737 clobbered by the vfork. */
16740 sparc_address_test (int arg)
16742 sparc_address_test (arg) int arg;
16745 static pid_t child;
16763 pid_t parent = getpid ();
16766 sparc_address_test (0);
16771 /* Here is another test for sparc vfork register problems. This
16772 test uses lots of local variables, at least as many local
16773 variables as main has allocated so far including compiler
16774 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
16775 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
16776 reuse the register of parent for one of the local variables,
16777 since it will think that parent can't possibly be used any more
16778 in this routine. Assigning to the local variable will thus
16779 munge parent in the parent process. */
16781 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
16782 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
16783 /* Convince the compiler that p..p7 are live; otherwise, it might
16784 use the same hardware register for all 8 local variables. */
16785 if (p != p1 || p != p2 || p != p3 || p != p4
16786 || p != p5 || p != p6 || p != p7)
16789 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
16790 from child file descriptors. If the child closes a descriptor
16791 before it execs or exits, this munges the parent's descriptor
16792 as well. Test for this by closing stdout in the child. */
16793 _exit(close(fileno(stdout)) != 0);
16798 while (wait(&status) != child)
16801 /* Was there some problem with vforking? */
16804 /* Did the child fail? (This shouldn't happen.) */
16807 /* Did the vfork/compiler bug occur? */
16808 || parent != getpid()
16810 /* Did the file descriptor bug occur? */
16811 || fstat(fileno(stdout), &st) != 0
16816 rm -f conftest
$ac_exeext
16817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16818 (eval $ac_link) 2>&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; }; then
16827 ac_cv_func_vfork_works
=yes
16829 echo "$as_me: program exited with status $ac_status" >&5
16830 echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.
$ac_ext >&5
16833 ( exit $ac_status )
16834 ac_cv_func_vfork_works
=no
16836 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16839 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
16840 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
16843 if test "x$ac_cv_func_fork_works" = xcross
; then
16844 ac_cv_func_vfork_works
=$ac_cv_func_vfork
16845 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
16846 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
16849 if test "x$ac_cv_func_vfork_works" = xyes
; then
16851 cat >>confdefs.h
<<\_ACEOF
16852 #define HAVE_WORKING_VFORK 1
16857 cat >>confdefs.h
<<\_ACEOF
16862 if test "x$ac_cv_func_fork_works" = xyes
; then
16864 cat >>confdefs.h
<<\_ACEOF
16865 #define HAVE_WORKING_FORK 1
16872 for ac_func
in canonicalize_file_name realpath
16874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16875 echo "$as_me:$LINENO: checking for $ac_func" >&5
16876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16877 if eval "test \"\${$as_ac_var+set}\" = set"; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 cat >conftest.
$ac_ext <<_ACEOF
16883 cat confdefs.h
>>conftest.
$ac_ext
16884 cat >>conftest.
$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16888 #define $ac_func innocuous_$ac_func
16890 /* System header to define __stub macros and hopefully few prototypes,
16891 which can conflict with char $ac_func (); below.
16892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16893 <limits.h> exists even on freestanding compilers. */
16896 # include <limits.h>
16898 # include <assert.h>
16903 /* Override any gcc2 internal prototype to avoid an error. */
16908 /* We use char because int might match the return type of a gcc2
16909 builtin and then its argument prototype would still apply. */
16911 /* The GNU C library defines this for functions which it implements
16912 to always fail with ENOSYS. Some functions are actually named
16913 something starting with __ and the normal name is an alias. */
16914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16917 char (*f) () = $ac_func;
16926 return f != $ac_func;
16931 rm -f conftest.
$ac_objext conftest
$ac_exeext
16932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16933 (eval $ac_link) 2>conftest.er1
16935 grep -v '^ *+' conftest.er1
>conftest.err
16937 cat conftest.err
>&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); } &&
16940 { ac_try
='test -z "$ac_c_werror_flag"
16941 || test ! -s conftest.err'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; } &&
16947 { ac_try
='test -s conftest$ac_exeext'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; }; then
16953 eval "$as_ac_var=yes"
16955 echo "$as_me: failed program was:" >&5
16956 sed 's/^/| /' conftest.
$ac_ext >&5
16958 eval "$as_ac_var=no"
16960 rm -f conftest.err conftest.
$ac_objext \
16961 conftest
$ac_exeext conftest.
$ac_ext
16963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16965 if test `eval echo '${'$as_ac_var'}'` = yes; then
16966 cat >>confdefs.h
<<_ACEOF
16967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16974 for ac_func
in getrusage
16976 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16977 echo "$as_me:$LINENO: checking for $ac_func" >&5
16978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16979 if eval "test \"\${$as_ac_var+set}\" = set"; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16982 cat >conftest.
$ac_ext <<_ACEOF
16985 cat confdefs.h
>>conftest.
$ac_ext
16986 cat >>conftest.
$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16990 #define $ac_func innocuous_$ac_func
16992 /* System header to define __stub macros and hopefully few prototypes,
16993 which can conflict with char $ac_func (); below.
16994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16995 <limits.h> exists even on freestanding compilers. */
16998 # include <limits.h>
17000 # include <assert.h>
17005 /* Override any gcc2 internal prototype to avoid an error. */
17010 /* We use char because int might match the return type of a gcc2
17011 builtin and then its argument prototype would still apply. */
17013 /* The GNU C library defines this for functions which it implements
17014 to always fail with ENOSYS. Some functions are actually named
17015 something starting with __ and the normal name is an alias. */
17016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17019 char (*f) () = $ac_func;
17028 return f != $ac_func;
17033 rm -f conftest.
$ac_objext conftest
$ac_exeext
17034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17035 (eval $ac_link) 2>conftest.er1
17037 grep -v '^ *+' conftest.er1
>conftest.err
17039 cat conftest.err
>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); } &&
17042 { ac_try
='test -z "$ac_c_werror_flag"
17043 || test ! -s conftest.err'
17044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17045 (eval $ac_try) 2>&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); }; } &&
17049 { ac_try
='test -s conftest$ac_exeext'
17050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17051 (eval $ac_try) 2>&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); }; }; then
17055 eval "$as_ac_var=yes"
17057 echo "$as_me: failed program was:" >&5
17058 sed 's/^/| /' conftest.
$ac_ext >&5
17060 eval "$as_ac_var=no"
17062 rm -f conftest.err conftest.
$ac_objext \
17063 conftest
$ac_exeext conftest.
$ac_ext
17065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17067 if test `eval echo '${'$as_ac_var'}'` = yes; then
17068 cat >>confdefs.h
<<_ACEOF
17069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17077 for ac_func
in getuid getgid
17079 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17080 echo "$as_me:$LINENO: checking for $ac_func" >&5
17081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17082 if eval "test \"\${$as_ac_var+set}\" = set"; then
17083 echo $ECHO_N "(cached) $ECHO_C" >&6
17085 cat >conftest.
$ac_ext <<_ACEOF
17088 cat confdefs.h
>>conftest.
$ac_ext
17089 cat >>conftest.
$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17093 #define $ac_func innocuous_$ac_func
17095 /* System header to define __stub macros and hopefully few prototypes,
17096 which can conflict with char $ac_func (); below.
17097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17098 <limits.h> exists even on freestanding compilers. */
17101 # include <limits.h>
17103 # include <assert.h>
17108 /* Override any gcc2 internal prototype to avoid an error. */
17113 /* We use char because int might match the return type of a gcc2
17114 builtin and then its argument prototype would still apply. */
17116 /* The GNU C library defines this for functions which it implements
17117 to always fail with ENOSYS. Some functions are actually named
17118 something starting with __ and the normal name is an alias. */
17119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17122 char (*f) () = $ac_func;
17131 return f != $ac_func;
17136 rm -f conftest.
$ac_objext conftest
$ac_exeext
17137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17138 (eval $ac_link) 2>conftest.er1
17140 grep -v '^ *+' conftest.er1
>conftest.err
17142 cat conftest.err
>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } &&
17145 { ac_try
='test -z "$ac_c_werror_flag"
17146 || test ! -s conftest.err'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; } &&
17152 { ac_try
='test -s conftest$ac_exeext'
17153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17154 (eval $ac_try) 2>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); }; }; then
17158 eval "$as_ac_var=yes"
17160 echo "$as_me: failed program was:" >&5
17161 sed 's/^/| /' conftest.
$ac_ext >&5
17163 eval "$as_ac_var=no"
17165 rm -f conftest.err conftest.
$ac_objext \
17166 conftest
$ac_exeext conftest.
$ac_ext
17168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17170 if test `eval echo '${'$as_ac_var'}'` = yes; then
17171 cat >>confdefs.h
<<_ACEOF
17172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17179 for ac_func
in poll
17181 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17182 echo "$as_me:$LINENO: checking for $ac_func" >&5
17183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17184 if eval "test \"\${$as_ac_var+set}\" = set"; then
17185 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 cat >conftest.
$ac_ext <<_ACEOF
17190 cat confdefs.h
>>conftest.
$ac_ext
17191 cat >>conftest.
$ac_ext <<_ACEOF
17192 /* end confdefs.h. */
17193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17195 #define $ac_func innocuous_$ac_func
17197 /* System header to define __stub macros and hopefully few prototypes,
17198 which can conflict with char $ac_func (); below.
17199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17200 <limits.h> exists even on freestanding compilers. */
17203 # include <limits.h>
17205 # include <assert.h>
17210 /* Override any gcc2 internal prototype to avoid an error. */
17215 /* We use char because int might match the return type of a gcc2
17216 builtin and then its argument prototype would still apply. */
17218 /* The GNU C library defines this for functions which it implements
17219 to always fail with ENOSYS. Some functions are actually named
17220 something starting with __ and the normal name is an alias. */
17221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17224 char (*f) () = $ac_func;
17233 return f != $ac_func;
17238 rm -f conftest.
$ac_objext conftest
$ac_exeext
17239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17240 (eval $ac_link) 2>conftest.er1
17242 grep -v '^ *+' conftest.er1
>conftest.err
17244 cat conftest.err
>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } &&
17247 { ac_try
='test -z "$ac_c_werror_flag"
17248 || test ! -s conftest.err'
17249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17250 (eval $ac_try) 2>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); }; } &&
17254 { ac_try
='test -s conftest$ac_exeext'
17255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17256 (eval $ac_try) 2>&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); }; }; then
17260 eval "$as_ac_var=yes"
17262 echo "$as_me: failed program was:" >&5
17263 sed 's/^/| /' conftest.
$ac_ext >&5
17265 eval "$as_ac_var=no"
17267 rm -f conftest.err conftest.
$ac_objext \
17268 conftest
$ac_exeext conftest.
$ac_ext
17270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17272 if test `eval echo '${'$as_ac_var'}'` = yes; then
17273 cat >>confdefs.h
<<_ACEOF
17274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17281 for ac_func
in pread64
17283 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17284 echo "$as_me:$LINENO: checking for $ac_func" >&5
17285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17286 if eval "test \"\${$as_ac_var+set}\" = set"; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 cat >conftest.
$ac_ext <<_ACEOF
17292 cat confdefs.h
>>conftest.
$ac_ext
17293 cat >>conftest.
$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17297 #define $ac_func innocuous_$ac_func
17299 /* System header to define __stub macros and hopefully few prototypes,
17300 which can conflict with char $ac_func (); below.
17301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17302 <limits.h> exists even on freestanding compilers. */
17305 # include <limits.h>
17307 # include <assert.h>
17312 /* Override any gcc2 internal prototype to avoid an error. */
17317 /* We use char because int might match the return type of a gcc2
17318 builtin and then its argument prototype would still apply. */
17320 /* The GNU C library defines this for functions which it implements
17321 to always fail with ENOSYS. Some functions are actually named
17322 something starting with __ and the normal name is an alias. */
17323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17326 char (*f) () = $ac_func;
17335 return f != $ac_func;
17340 rm -f conftest.
$ac_objext conftest
$ac_exeext
17341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17342 (eval $ac_link) 2>conftest.er1
17344 grep -v '^ *+' conftest.er1
>conftest.err
17346 cat conftest.err
>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } &&
17349 { ac_try
='test -z "$ac_c_werror_flag"
17350 || test ! -s conftest.err'
17351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17352 (eval $ac_try) 2>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); }; } &&
17356 { ac_try
='test -s conftest$ac_exeext'
17357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358 (eval $ac_try) 2>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; }; then
17362 eval "$as_ac_var=yes"
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.
$ac_ext >&5
17367 eval "$as_ac_var=no"
17369 rm -f conftest.err conftest.
$ac_objext \
17370 conftest
$ac_exeext conftest.
$ac_ext
17372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17374 if test `eval echo '${'$as_ac_var'}'` = yes; then
17375 cat >>confdefs.h
<<_ACEOF
17376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17383 for ac_func
in sbrk
17385 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17386 echo "$as_me:$LINENO: checking for $ac_func" >&5
17387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17388 if eval "test \"\${$as_ac_var+set}\" = set"; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 cat >conftest.
$ac_ext <<_ACEOF
17394 cat confdefs.h
>>conftest.
$ac_ext
17395 cat >>conftest.
$ac_ext <<_ACEOF
17396 /* end confdefs.h. */
17397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17399 #define $ac_func innocuous_$ac_func
17401 /* System header to define __stub macros and hopefully few prototypes,
17402 which can conflict with char $ac_func (); below.
17403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17404 <limits.h> exists even on freestanding compilers. */
17407 # include <limits.h>
17409 # include <assert.h>
17414 /* Override any gcc2 internal prototype to avoid an error. */
17419 /* We use char because int might match the return type of a gcc2
17420 builtin and then its argument prototype would still apply. */
17422 /* The GNU C library defines this for functions which it implements
17423 to always fail with ENOSYS. Some functions are actually named
17424 something starting with __ and the normal name is an alias. */
17425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17428 char (*f) () = $ac_func;
17437 return f != $ac_func;
17442 rm -f conftest.
$ac_objext conftest
$ac_exeext
17443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17444 (eval $ac_link) 2>conftest.er1
17446 grep -v '^ *+' conftest.er1
>conftest.err
17448 cat conftest.err
>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } &&
17451 { ac_try
='test -z "$ac_c_werror_flag"
17452 || test ! -s conftest.err'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; } &&
17458 { ac_try
='test -s conftest$ac_exeext'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; }; then
17464 eval "$as_ac_var=yes"
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.
$ac_ext >&5
17469 eval "$as_ac_var=no"
17471 rm -f conftest.err conftest.
$ac_objext \
17472 conftest
$ac_exeext conftest.
$ac_ext
17474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17476 if test `eval echo '${'$as_ac_var'}'` = yes; then
17477 cat >>confdefs.h
<<_ACEOF
17478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17486 for ac_func
in setpgid setpgrp
17488 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17489 echo "$as_me:$LINENO: checking for $ac_func" >&5
17490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17491 if eval "test \"\${$as_ac_var+set}\" = set"; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 cat >conftest.
$ac_ext <<_ACEOF
17497 cat confdefs.h
>>conftest.
$ac_ext
17498 cat >>conftest.
$ac_ext <<_ACEOF
17499 /* end confdefs.h. */
17500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17502 #define $ac_func innocuous_$ac_func
17504 /* System header to define __stub macros and hopefully few prototypes,
17505 which can conflict with char $ac_func (); below.
17506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17507 <limits.h> exists even on freestanding compilers. */
17510 # include <limits.h>
17512 # include <assert.h>
17517 /* Override any gcc2 internal prototype to avoid an error. */
17522 /* We use char because int might match the return type of a gcc2
17523 builtin and then its argument prototype would still apply. */
17525 /* The GNU C library defines this for functions which it implements
17526 to always fail with ENOSYS. Some functions are actually named
17527 something starting with __ and the normal name is an alias. */
17528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17531 char (*f) () = $ac_func;
17540 return f != $ac_func;
17545 rm -f conftest.
$ac_objext conftest
$ac_exeext
17546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17547 (eval $ac_link) 2>conftest.er1
17549 grep -v '^ *+' conftest.er1
>conftest.err
17551 cat conftest.err
>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); } &&
17554 { ac_try
='test -z "$ac_c_werror_flag"
17555 || test ! -s conftest.err'
17556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17557 (eval $ac_try) 2>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); }; } &&
17561 { ac_try
='test -s conftest$ac_exeext'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; }; then
17567 eval "$as_ac_var=yes"
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.
$ac_ext >&5
17572 eval "$as_ac_var=no"
17574 rm -f conftest.err conftest.
$ac_objext \
17575 conftest
$ac_exeext conftest.
$ac_ext
17577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17579 if test `eval echo '${'$as_ac_var'}'` = yes; then
17580 cat >>confdefs.h
<<_ACEOF
17581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17590 for ac_func
in sigaction sigprocmask sigsetmask
17592 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17593 echo "$as_me:$LINENO: checking for $ac_func" >&5
17594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17595 if eval "test \"\${$as_ac_var+set}\" = set"; then
17596 echo $ECHO_N "(cached) $ECHO_C" >&6
17598 cat >conftest.
$ac_ext <<_ACEOF
17601 cat confdefs.h
>>conftest.
$ac_ext
17602 cat >>conftest.
$ac_ext <<_ACEOF
17603 /* end confdefs.h. */
17604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17606 #define $ac_func innocuous_$ac_func
17608 /* System header to define __stub macros and hopefully few prototypes,
17609 which can conflict with char $ac_func (); below.
17610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17611 <limits.h> exists even on freestanding compilers. */
17614 # include <limits.h>
17616 # include <assert.h>
17621 /* Override any gcc2 internal prototype to avoid an error. */
17626 /* We use char because int might match the return type of a gcc2
17627 builtin and then its argument prototype would still apply. */
17629 /* The GNU C library defines this for functions which it implements
17630 to always fail with ENOSYS. Some functions are actually named
17631 something starting with __ and the normal name is an alias. */
17632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17635 char (*f) () = $ac_func;
17644 return f != $ac_func;
17649 rm -f conftest.
$ac_objext conftest
$ac_exeext
17650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17651 (eval $ac_link) 2>conftest.er1
17653 grep -v '^ *+' conftest.er1
>conftest.err
17655 cat conftest.err
>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try
='test -z "$ac_c_werror_flag"
17659 || test ! -s conftest.err'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; } &&
17665 { ac_try
='test -s conftest$ac_exeext'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; }; then
17671 eval "$as_ac_var=yes"
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.
$ac_ext >&5
17676 eval "$as_ac_var=no"
17678 rm -f conftest.err conftest.
$ac_objext \
17679 conftest
$ac_exeext conftest.
$ac_ext
17681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17683 if test `eval echo '${'$as_ac_var'}'` = yes; then
17684 cat >>confdefs.h
<<_ACEOF
17685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17692 for ac_func
in socketpair
17694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17695 echo "$as_me:$LINENO: checking for $ac_func" >&5
17696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17697 if eval "test \"\${$as_ac_var+set}\" = set"; then
17698 echo $ECHO_N "(cached) $ECHO_C" >&6
17700 cat >conftest.
$ac_ext <<_ACEOF
17703 cat confdefs.h
>>conftest.
$ac_ext
17704 cat >>conftest.
$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17708 #define $ac_func innocuous_$ac_func
17710 /* System header to define __stub macros and hopefully few prototypes,
17711 which can conflict with char $ac_func (); below.
17712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17713 <limits.h> exists even on freestanding compilers. */
17716 # include <limits.h>
17718 # include <assert.h>
17723 /* Override any gcc2 internal prototype to avoid an error. */
17728 /* We use char because int might match the return type of a gcc2
17729 builtin and then its argument prototype would still apply. */
17731 /* The GNU C library defines this for functions which it implements
17732 to always fail with ENOSYS. Some functions are actually named
17733 something starting with __ and the normal name is an alias. */
17734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17737 char (*f) () = $ac_func;
17746 return f != $ac_func;
17751 rm -f conftest.
$ac_objext conftest
$ac_exeext
17752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17753 (eval $ac_link) 2>conftest.er1
17755 grep -v '^ *+' conftest.er1
>conftest.err
17757 cat conftest.err
>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } &&
17760 { ac_try
='test -z "$ac_c_werror_flag"
17761 || test ! -s conftest.err'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; } &&
17767 { ac_try
='test -s conftest$ac_exeext'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; }; then
17773 eval "$as_ac_var=yes"
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.
$ac_ext >&5
17778 eval "$as_ac_var=no"
17780 rm -f conftest.err conftest.
$ac_objext \
17781 conftest
$ac_exeext conftest.
$ac_ext
17783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17785 if test `eval echo '${'$as_ac_var'}'` = yes; then
17786 cat >>confdefs.h
<<_ACEOF
17787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17794 for ac_func
in syscall
17796 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17797 echo "$as_me:$LINENO: checking for $ac_func" >&5
17798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17799 if eval "test \"\${$as_ac_var+set}\" = set"; then
17800 echo $ECHO_N "(cached) $ECHO_C" >&6
17802 cat >conftest.
$ac_ext <<_ACEOF
17805 cat confdefs.h
>>conftest.
$ac_ext
17806 cat >>conftest.
$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17810 #define $ac_func innocuous_$ac_func
17812 /* System header to define __stub macros and hopefully few prototypes,
17813 which can conflict with char $ac_func (); below.
17814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17815 <limits.h> exists even on freestanding compilers. */
17818 # include <limits.h>
17820 # include <assert.h>
17825 /* Override any gcc2 internal prototype to avoid an error. */
17830 /* We use char because int might match the return type of a gcc2
17831 builtin and then its argument prototype would still apply. */
17833 /* The GNU C library defines this for functions which it implements
17834 to always fail with ENOSYS. Some functions are actually named
17835 something starting with __ and the normal name is an alias. */
17836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17839 char (*f) () = $ac_func;
17848 return f != $ac_func;
17853 rm -f conftest.
$ac_objext conftest
$ac_exeext
17854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17855 (eval $ac_link) 2>conftest.er1
17857 grep -v '^ *+' conftest.er1
>conftest.err
17859 cat conftest.err
>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); } &&
17862 { ac_try
='test -z "$ac_c_werror_flag"
17863 || test ! -s conftest.err'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; } &&
17869 { ac_try
='test -s conftest$ac_exeext'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; }; then
17875 eval "$as_ac_var=yes"
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.
$ac_ext >&5
17880 eval "$as_ac_var=no"
17882 rm -f conftest.err conftest.
$ac_objext \
17883 conftest
$ac_exeext conftest.
$ac_ext
17885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17887 if test `eval echo '${'$as_ac_var'}'` = yes; then
17888 cat >>confdefs.h
<<_ACEOF
17889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17896 for ac_func
in ttrace
17898 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17899 echo "$as_me:$LINENO: checking for $ac_func" >&5
17900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17901 if eval "test \"\${$as_ac_var+set}\" = set"; then
17902 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 cat >conftest.
$ac_ext <<_ACEOF
17907 cat confdefs.h
>>conftest.
$ac_ext
17908 cat >>conftest.
$ac_ext <<_ACEOF
17909 /* end confdefs.h. */
17910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17912 #define $ac_func innocuous_$ac_func
17914 /* System header to define __stub macros and hopefully few prototypes,
17915 which can conflict with char $ac_func (); below.
17916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17917 <limits.h> exists even on freestanding compilers. */
17920 # include <limits.h>
17922 # include <assert.h>
17927 /* Override any gcc2 internal prototype to avoid an error. */
17932 /* We use char because int might match the return type of a gcc2
17933 builtin and then its argument prototype would still apply. */
17935 /* The GNU C library defines this for functions which it implements
17936 to always fail with ENOSYS. Some functions are actually named
17937 something starting with __ and the normal name is an alias. */
17938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17941 char (*f) () = $ac_func;
17950 return f != $ac_func;
17955 rm -f conftest.
$ac_objext conftest
$ac_exeext
17956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17957 (eval $ac_link) 2>conftest.er1
17959 grep -v '^ *+' conftest.er1
>conftest.err
17961 cat conftest.err
>&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } &&
17964 { ac_try
='test -z "$ac_c_werror_flag"
17965 || test ! -s conftest.err'
17966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17967 (eval $ac_try) 2>&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); }; } &&
17971 { ac_try
='test -s conftest$ac_exeext'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; }; then
17977 eval "$as_ac_var=yes"
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.
$ac_ext >&5
17982 eval "$as_ac_var=no"
17984 rm -f conftest.err conftest.
$ac_objext \
17985 conftest
$ac_exeext conftest.
$ac_ext
17987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17989 if test `eval echo '${'$as_ac_var'}'` = yes; then
17990 cat >>confdefs.h
<<_ACEOF
17991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17998 for ac_func
in wborder
18000 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18001 echo "$as_me:$LINENO: checking for $ac_func" >&5
18002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18003 if eval "test \"\${$as_ac_var+set}\" = set"; then
18004 echo $ECHO_N "(cached) $ECHO_C" >&6
18006 cat >conftest.
$ac_ext <<_ACEOF
18009 cat confdefs.h
>>conftest.
$ac_ext
18010 cat >>conftest.
$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18014 #define $ac_func innocuous_$ac_func
18016 /* System header to define __stub macros and hopefully few prototypes,
18017 which can conflict with char $ac_func (); below.
18018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18019 <limits.h> exists even on freestanding compilers. */
18022 # include <limits.h>
18024 # include <assert.h>
18029 /* Override any gcc2 internal prototype to avoid an error. */
18034 /* We use char because int might match the return type of a gcc2
18035 builtin and then its argument prototype would still apply. */
18037 /* The GNU C library defines this for functions which it implements
18038 to always fail with ENOSYS. Some functions are actually named
18039 something starting with __ and the normal name is an alias. */
18040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18043 char (*f) () = $ac_func;
18052 return f != $ac_func;
18057 rm -f conftest.
$ac_objext conftest
$ac_exeext
18058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18059 (eval $ac_link) 2>conftest.er1
18061 grep -v '^ *+' conftest.er1
>conftest.err
18063 cat conftest.err
>&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); } &&
18066 { ac_try
='test -z "$ac_c_werror_flag"
18067 || test ! -s conftest.err'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; } &&
18073 { ac_try
='test -s conftest$ac_exeext'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; }; then
18079 eval "$as_ac_var=yes"
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.
$ac_ext >&5
18084 eval "$as_ac_var=no"
18086 rm -f conftest.err conftest.
$ac_objext \
18087 conftest
$ac_exeext conftest.
$ac_ext
18089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18091 if test `eval echo '${'$as_ac_var'}'` = yes; then
18092 cat >>confdefs.h
<<_ACEOF
18093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18100 # Check the return and argument types of ptrace. No canned test for
18101 # this, so roll our own.
18102 gdb_ptrace_headers
='
18103 #if HAVE_SYS_TYPES_H
18104 # include <sys/types.h>
18106 #if HAVE_SYS_PTRACE_H
18107 # include <sys/ptrace.h>
18110 # include <unistd.h>
18113 # There is no point in checking if we don't have a prototype.
18114 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
18115 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
18116 if test "${ac_cv_have_decl_ptrace+set}" = set; then
18117 echo $ECHO_N "(cached) $ECHO_C" >&6
18119 cat >conftest.
$ac_ext <<_ACEOF
18122 cat confdefs.h
>>conftest.
$ac_ext
18123 cat >>conftest.
$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18125 $gdb_ptrace_headers
18131 char *p = (char *) ptrace;
18138 rm -f conftest.
$ac_objext
18139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18140 (eval $ac_compile) 2>conftest.er1
18142 grep -v '^ *+' conftest.er1
>conftest.err
18144 cat conftest.err
>&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); } &&
18147 { ac_try
='test -z "$ac_c_werror_flag"
18148 || test ! -s conftest.err'
18149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150 (eval $ac_try) 2>&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }; } &&
18154 { ac_try
='test -s conftest.$ac_objext'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; }; then
18160 ac_cv_have_decl_ptrace
=yes
18162 echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.
$ac_ext >&5
18165 ac_cv_have_decl_ptrace
=no
18167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18169 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
18170 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
18171 if test $ac_cv_have_decl_ptrace = yes; then
18173 cat >>confdefs.h
<<_ACEOF
18174 #define HAVE_DECL_PTRACE 1
18179 cat >>confdefs.h
<<_ACEOF
18180 #define HAVE_DECL_PTRACE 0
18184 : ${gdb_cv_func_ptrace_ret='int'}
18185 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
18190 # Check return type.
18191 echo "$as_me:$LINENO: checking return type of ptrace" >&5
18192 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
18193 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
18194 echo $ECHO_N "(cached) $ECHO_C" >&6
18196 cat >conftest.
$ac_ext <<_ACEOF
18199 cat confdefs.h
>>conftest.
$ac_ext
18200 cat >>conftest.
$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $gdb_ptrace_headers
18206 extern int ptrace ();
18211 rm -f conftest.
$ac_objext
18212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18213 (eval $ac_compile) 2>conftest.er1
18215 grep -v '^ *+' conftest.er1
>conftest.err
18217 cat conftest.err
>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } &&
18220 { ac_try
='test -z "$ac_c_werror_flag"
18221 || test ! -s conftest.err'
18222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223 (eval $ac_try) 2>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; } &&
18227 { ac_try
='test -s conftest.$ac_objext'
18228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229 (eval $ac_try) 2>&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); }; }; then
18233 gdb_cv_func_ptrace_ret
='int'
18235 echo "$as_me: failed program was:" >&5
18236 sed 's/^/| /' conftest.
$ac_ext >&5
18238 gdb_cv_func_ptrace_ret
='long'
18240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18242 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
18243 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
18245 cat >>confdefs.h
<<_ACEOF
18246 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
18249 # Check argument types.
18250 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
18251 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
18252 if test "${gdb_cv_func_ptrace_args+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18256 for gdb_arg1
in 'int' 'long'; do
18257 for gdb_arg2
in 'pid_t' 'int' 'long'; do
18258 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long'; do
18259 for gdb_arg4
in 'int' 'long'; do
18260 cat >conftest.
$ac_ext <<_ACEOF
18263 cat confdefs.h
>>conftest.
$ac_ext
18264 cat >>conftest.
$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266 $gdb_ptrace_headers
18271 extern $gdb_cv_func_ptrace_ret
18272 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
18278 rm -f conftest.
$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18282 grep -v '^ *+' conftest.er1
>conftest.err
18284 cat conftest.err
>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try
='test -z "$ac_c_werror_flag"
18288 || test ! -s conftest.err'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; } &&
18294 { ac_try
='test -s conftest.$ac_objext'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; }; then
18300 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.
$ac_ext >&5
18307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18308 for gdb_arg5
in 'int *' 'int' 'long'; do
18309 cat >conftest.
$ac_ext <<_ACEOF
18312 cat confdefs.h
>>conftest.
$ac_ext
18313 cat >>conftest.
$ac_ext <<_ACEOF
18314 /* end confdefs.h. */
18315 $gdb_ptrace_headers
18320 extern $gdb_cv_func_ptrace_ret
18321 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
18327 rm -f conftest.
$ac_objext
18328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18329 (eval $ac_compile) 2>conftest.er1
18331 grep -v '^ *+' conftest.er1
>conftest.err
18333 cat conftest.err
>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); } &&
18336 { ac_try
='test -z "$ac_c_werror_flag"
18337 || test ! -s conftest.err'
18338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339 (eval $ac_try) 2>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; } &&
18343 { ac_try
='test -s conftest.$ac_objext'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; }; then
18350 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
18353 echo "$as_me: failed program was:" >&5
18354 sed 's/^/| /' conftest.
$ac_ext >&5
18357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18363 # Provide a safe default value.
18364 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
18367 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
18368 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
18369 ac_save_IFS
=$IFS; IFS
=','
18370 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
18374 cat >>confdefs.h
<<_ACEOF
18375 #define PTRACE_TYPE_ARG3 $3
18378 if test -n "$5"; then
18380 cat >>confdefs.h
<<_ACEOF
18381 #define PTRACE_TYPE_ARG5 $5
18386 if test "$cross_compiling" = no
; then
18387 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
18388 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
18389 if test "${ac_cv_func_setpgrp_void+set}" = set; then
18390 echo $ECHO_N "(cached) $ECHO_C" >&6
18392 if test "$cross_compiling" = yes; then
18393 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
18394 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
18395 { (exit 1); exit 1; }; }
18397 cat >conftest.
$ac_ext <<_ACEOF
18400 cat confdefs.h
>>conftest.
$ac_ext
18401 cat >>conftest.
$ac_ext <<_ACEOF
18402 /* end confdefs.h. */
18404 # include <unistd.h>
18410 /* If this system has a BSD-style setpgrp which takes arguments,
18411 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
18412 exit successfully. */
18413 exit (setpgrp (1,1) == -1 ? 0 : 1);
18418 rm -f conftest
$ac_exeext
18419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18420 (eval $ac_link) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18425 (eval $ac_try) 2>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); }; }; then
18429 ac_cv_func_setpgrp_void
=no
18431 echo "$as_me: program exited with status $ac_status" >&5
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.
$ac_ext >&5
18435 ( exit $ac_status )
18436 ac_cv_func_setpgrp_void
=yes
18438 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18441 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
18442 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
18443 if test $ac_cv_func_setpgrp_void = yes; then
18445 cat >>confdefs.h
<<\_ACEOF
18446 #define SETPGRP_VOID 1
18452 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
18453 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
18454 if test "${ac_cv_func_setpgrp_void+set}" = set; then
18455 echo $ECHO_N "(cached) $ECHO_C" >&6
18457 cat >conftest.
$ac_ext <<_ACEOF
18460 cat confdefs.h
>>conftest.
$ac_ext
18461 cat >>conftest.
$ac_ext <<_ACEOF
18462 /* end confdefs.h. */
18464 #include <unistd.h>
18470 if (setpgrp(1,1) == -1)
18479 rm -f conftest.
$ac_objext
18480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18481 (eval $ac_compile) 2>conftest.er1
18483 grep -v '^ *+' conftest.er1
>conftest.err
18485 cat conftest.err
>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } &&
18488 { ac_try
='test -z "$ac_c_werror_flag"
18489 || test ! -s conftest.err'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; } &&
18495 { ac_try
='test -s conftest.$ac_objext'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; }; then
18501 ac_cv_func_setpgrp_void
=no
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.
$ac_ext >&5
18506 ac_cv_func_setpgrp_void
=yes
18508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18510 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
18511 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
18512 if test $ac_cv_func_setpgrp_void = yes; then
18513 cat >>confdefs.h
<<\_ACEOF
18514 #define SETPGRP_VOID 1
18520 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
18521 # since sigsetjmp might only be defined as a macro.
18522 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
18523 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
18524 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
18525 echo $ECHO_N "(cached) $ECHO_C" >&6
18527 cat >conftest.
$ac_ext <<_ACEOF
18530 cat confdefs.h
>>conftest.
$ac_ext
18531 cat >>conftest.
$ac_ext <<_ACEOF
18532 /* end confdefs.h. */
18534 #include <setjmp.h>
18539 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
18544 rm -f conftest.
$ac_objext
18545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18546 (eval $ac_compile) 2>conftest.er1
18548 grep -v '^ *+' conftest.er1
>conftest.err
18550 cat conftest.err
>&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); } &&
18553 { ac_try
='test -z "$ac_c_werror_flag"
18554 || test ! -s conftest.err'
18555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18556 (eval $ac_try) 2>&5
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); }; } &&
18560 { ac_try
='test -s conftest.$ac_objext'
18561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562 (eval $ac_try) 2>&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); }; }; then
18566 gdb_cv_func_sigsetjmp
=yes
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.
$ac_ext >&5
18571 gdb_cv_func_sigsetjmp
=no
18573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18575 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
18576 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
18577 if test $gdb_cv_func_sigsetjmp = yes; then
18579 cat >>confdefs.h
<<\_ACEOF
18580 #define HAVE_SIGSETJMP 1
18585 # Assume we'll default to using the included libiberty regex.
18586 gdb_use_included_regex
=yes
18588 # However, if the system regex is GNU regex, then default to *not*
18589 # using the included regex.
18590 echo "$as_me:$LINENO: checking for GNU regex" >&5
18591 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
18592 if test "${gdb_cv_have_gnu_regex+set}" = set; then
18593 echo $ECHO_N "(cached) $ECHO_C" >&6
18595 cat >conftest.
$ac_ext <<_ACEOF
18598 cat confdefs.h
>>conftest.
$ac_ext
18599 cat >>conftest.
$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18601 #include <gnu-versions.h>
18605 #define REGEX_INTERFACE_VERSION 1
18606 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
18607 # error "Version mismatch"
18613 rm -f conftest.
$ac_objext
18614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18615 (eval $ac_compile) 2>conftest.er1
18617 grep -v '^ *+' conftest.er1
>conftest.err
18619 cat conftest.err
>&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } &&
18622 { ac_try
='test -z "$ac_c_werror_flag"
18623 || test ! -s conftest.err'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; } &&
18629 { ac_try
='test -s conftest.$ac_objext'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; }; then
18635 gdb_cv_have_gnu_regex
=yes
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.
$ac_ext >&5
18640 gdb_cv_have_gnu_regex
=no
18642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18644 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
18645 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
18646 if test $gdb_cv_have_gnu_regex = yes; then
18647 gdb_use_included_regex
=no
18651 # Check whether --with-included-regex or --without-included-regex was given.
18652 if test "${with_included_regex+set}" = set; then
18653 withval
="$with_included_regex"
18654 gdb_with_regex
=$withval
18656 gdb_with_regex
=$gdb_use_included_regex
18658 if test "$gdb_with_regex" = yes; then
18660 cat >>confdefs.h
<<\_ACEOF
18661 #define USE_INCLUDED_REGEX 1
18666 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
18667 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
18668 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
18669 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
18670 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 cat >conftest.
$ac_ext <<_ACEOF
18675 cat confdefs.h
>>conftest.
$ac_ext
18676 cat >>conftest.
$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18678 #include <sys/param.h>
18679 #include <sys/proc.h>
18685 static struct thread ac_aggr;
18686 if (ac_aggr.td_pcb)
18692 rm -f conftest.
$ac_objext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18694 (eval $ac_compile) 2>conftest.er1
18696 grep -v '^ *+' conftest.er1
>conftest.err
18698 cat conftest.err
>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } &&
18701 { ac_try
='test -z "$ac_c_werror_flag"
18702 || test ! -s conftest.err'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; } &&
18708 { ac_try
='test -s conftest.$ac_objext'
18709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710 (eval $ac_try) 2>&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); }; }; then
18714 ac_cv_member_struct_thread_td_pcb
=yes
18716 echo "$as_me: failed program was:" >&5
18717 sed 's/^/| /' conftest.
$ac_ext >&5
18719 cat >conftest.
$ac_ext <<_ACEOF
18722 cat confdefs.h
>>conftest.
$ac_ext
18723 cat >>conftest.
$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18725 #include <sys/param.h>
18726 #include <sys/proc.h>
18732 static struct thread ac_aggr;
18733 if (sizeof ac_aggr.td_pcb)
18739 rm -f conftest.
$ac_objext
18740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18741 (eval $ac_compile) 2>conftest.er1
18743 grep -v '^ *+' conftest.er1
>conftest.err
18745 cat conftest.err
>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } &&
18748 { ac_try
='test -z "$ac_c_werror_flag"
18749 || test ! -s conftest.err'
18750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18751 (eval $ac_try) 2>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); }; } &&
18755 { ac_try
='test -s conftest.$ac_objext'
18756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18757 (eval $ac_try) 2>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); }; }; then
18761 ac_cv_member_struct_thread_td_pcb
=yes
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.
$ac_ext >&5
18766 ac_cv_member_struct_thread_td_pcb
=no
18768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18772 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
18773 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
18774 if test $ac_cv_member_struct_thread_td_pcb = yes; then
18776 cat >>confdefs.h
<<_ACEOF
18777 #define HAVE_STRUCT_THREAD_TD_PCB 1
18784 # See if <sys/lwp.h> defines `struct lwp`.
18785 echo "$as_me:$LINENO: checking for struct lwp" >&5
18786 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
18787 if test "${gdb_cv_struct_lwp+set}" = set; then
18788 echo $ECHO_N "(cached) $ECHO_C" >&6
18790 cat >conftest.
$ac_ext <<_ACEOF
18793 cat confdefs.h
>>conftest.
$ac_ext
18794 cat >>conftest.
$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18796 #include <sys/param.h>
18797 #include <sys/lwp.h>
18806 rm -f conftest.
$ac_objext
18807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18808 (eval $ac_compile) 2>conftest.er1
18810 grep -v '^ *+' conftest.er1
>conftest.err
18812 cat conftest.err
>&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); } &&
18815 { ac_try
='test -z "$ac_c_werror_flag"
18816 || test ! -s conftest.err'
18817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18818 (eval $ac_try) 2>&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); }; } &&
18822 { ac_try
='test -s conftest.$ac_objext'
18823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18824 (eval $ac_try) 2>&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); }; }; then
18828 gdb_cv_struct_lwp
=yes
18830 echo "$as_me: failed program was:" >&5
18831 sed 's/^/| /' conftest.
$ac_ext >&5
18833 gdb_cv_struct_lwp
=no
18835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18837 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
18838 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
18839 if test $gdb_cv_struct_lwp = yes; then
18841 cat >>confdefs.h
<<\_ACEOF
18842 #define HAVE_STRUCT_LWP 1
18847 # See if <machine/reg.h> degines `struct reg'.
18848 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
18849 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
18850 if test "${gdb_cv_struct_reg+set}" = set; then
18851 echo $ECHO_N "(cached) $ECHO_C" >&6
18853 cat >conftest.
$ac_ext <<_ACEOF
18856 cat confdefs.h
>>conftest.
$ac_ext
18857 cat >>conftest.
$ac_ext <<_ACEOF
18858 /* end confdefs.h. */
18859 #include <sys/types.h>
18860 #include <machine/reg.h>
18869 rm -f conftest.
$ac_objext
18870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18871 (eval $ac_compile) 2>conftest.er1
18873 grep -v '^ *+' conftest.er1
>conftest.err
18875 cat conftest.err
>&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); } &&
18878 { ac_try
='test -z "$ac_c_werror_flag"
18879 || test ! -s conftest.err'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; } &&
18885 { ac_try
='test -s conftest.$ac_objext'
18886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18887 (eval $ac_try) 2>&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); }; }; then
18891 gdb_cv_struct_reg
=yes
18893 echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.
$ac_ext >&5
18896 gdb_cv_struct_reg
=no
18898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18900 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
18901 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
18902 if test $gdb_cv_struct_reg = yes; then
18904 cat >>confdefs.h
<<\_ACEOF
18905 #define HAVE_STRUCT_REG 1
18910 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
18911 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
18912 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
18913 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
18914 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
18915 echo $ECHO_N "(cached) $ECHO_C" >&6
18917 cat >conftest.
$ac_ext <<_ACEOF
18920 cat confdefs.h
>>conftest.
$ac_ext
18921 cat >>conftest.
$ac_ext <<_ACEOF
18922 /* end confdefs.h. */
18923 #include <machine/reg.h>
18928 static struct reg ac_aggr;
18935 rm -f conftest.
$ac_objext
18936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18937 (eval $ac_compile) 2>conftest.er1
18939 grep -v '^ *+' conftest.er1
>conftest.err
18941 cat conftest.err
>&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); } &&
18944 { ac_try
='test -z "$ac_c_werror_flag"
18945 || test ! -s conftest.err'
18946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18947 (eval $ac_try) 2>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); }; } &&
18951 { ac_try
='test -s conftest.$ac_objext'
18952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953 (eval $ac_try) 2>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); }; }; then
18957 ac_cv_member_struct_reg_r_fs
=yes
18959 echo "$as_me: failed program was:" >&5
18960 sed 's/^/| /' conftest.
$ac_ext >&5
18962 cat >conftest.
$ac_ext <<_ACEOF
18965 cat confdefs.h
>>conftest.
$ac_ext
18966 cat >>conftest.
$ac_ext <<_ACEOF
18967 /* end confdefs.h. */
18968 #include <machine/reg.h>
18973 static struct reg ac_aggr;
18974 if (sizeof ac_aggr.r_fs)
18980 rm -f conftest.
$ac_objext
18981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18982 (eval $ac_compile) 2>conftest.er1
18984 grep -v '^ *+' conftest.er1
>conftest.err
18986 cat conftest.err
>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } &&
18989 { ac_try
='test -z "$ac_c_werror_flag"
18990 || test ! -s conftest.err'
18991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18992 (eval $ac_try) 2>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; } &&
18996 { ac_try
='test -s conftest.$ac_objext'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; }; then
19002 ac_cv_member_struct_reg_r_fs
=yes
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.
$ac_ext >&5
19007 ac_cv_member_struct_reg_r_fs
=no
19009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19013 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
19014 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
19015 if test $ac_cv_member_struct_reg_r_fs = yes; then
19017 cat >>confdefs.h
<<_ACEOF
19018 #define HAVE_STRUCT_REG_R_FS 1
19023 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
19024 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
19025 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19028 cat >conftest.
$ac_ext <<_ACEOF
19031 cat confdefs.h
>>conftest.
$ac_ext
19032 cat >>conftest.
$ac_ext <<_ACEOF
19033 /* end confdefs.h. */
19034 #include <machine/reg.h>
19039 static struct reg ac_aggr;
19046 rm -f conftest.
$ac_objext
19047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19048 (eval $ac_compile) 2>conftest.er1
19050 grep -v '^ *+' conftest.er1
>conftest.err
19052 cat conftest.err
>&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); } &&
19055 { ac_try
='test -z "$ac_c_werror_flag"
19056 || test ! -s conftest.err'
19057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058 (eval $ac_try) 2>&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; } &&
19062 { ac_try
='test -s conftest.$ac_objext'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19068 ac_cv_member_struct_reg_r_gs
=yes
19070 echo "$as_me: failed program was:" >&5
19071 sed 's/^/| /' conftest.
$ac_ext >&5
19073 cat >conftest.
$ac_ext <<_ACEOF
19076 cat confdefs.h
>>conftest.
$ac_ext
19077 cat >>conftest.
$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 #include <machine/reg.h>
19084 static struct reg ac_aggr;
19085 if (sizeof ac_aggr.r_gs)
19091 rm -f conftest.
$ac_objext
19092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19093 (eval $ac_compile) 2>conftest.er1
19095 grep -v '^ *+' conftest.er1
>conftest.err
19097 cat conftest.err
>&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } &&
19100 { ac_try
='test -z "$ac_c_werror_flag"
19101 || test ! -s conftest.err'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; } &&
19107 { ac_try
='test -s conftest.$ac_objext'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19113 ac_cv_member_struct_reg_r_gs
=yes
19115 echo "$as_me: failed program was:" >&5
19116 sed 's/^/| /' conftest.
$ac_ext >&5
19118 ac_cv_member_struct_reg_r_gs
=no
19120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19124 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
19125 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
19126 if test $ac_cv_member_struct_reg_r_gs = yes; then
19128 cat >>confdefs.h
<<_ACEOF
19129 #define HAVE_STRUCT_REG_R_GS 1
19136 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
19137 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
19138 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
19139 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 cat >conftest.
$ac_ext <<_ACEOF
19145 cat confdefs.h
>>conftest.
$ac_ext
19146 cat >>conftest.
$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19148 #include <sys/ptrace.h>
19157 rm -f conftest.
$ac_objext
19158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19159 (eval $ac_compile) 2>conftest.er1
19161 grep -v '^ *+' conftest.er1
>conftest.err
19163 cat conftest.err
>&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } &&
19166 { ac_try
='test -z "$ac_c_werror_flag"
19167 || test ! -s conftest.err'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; } &&
19173 { ac_try
='test -s conftest.$ac_objext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19179 gdb_cv_have_ptrace_getregs
=yes
19181 echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.
$ac_ext >&5
19184 gdb_cv_have_ptrace_getregs
=no
19186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19189 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
19190 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
19191 if test $gdb_cv_have_ptrace_getregs = yes; then
19193 cat >>confdefs.h
<<\_ACEOF
19194 #define HAVE_PTRACE_GETREGS 1
19199 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
19200 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
19201 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
19202 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
19203 echo $ECHO_N "(cached) $ECHO_C" >&6
19205 cat >conftest.
$ac_ext <<_ACEOF
19208 cat confdefs.h
>>conftest.
$ac_ext
19209 cat >>conftest.
$ac_ext <<_ACEOF
19210 /* end confdefs.h. */
19211 #include <sys/ptrace.h>
19220 rm -f conftest.
$ac_objext
19221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19222 (eval $ac_compile) 2>conftest.er1
19224 grep -v '^ *+' conftest.er1
>conftest.err
19226 cat conftest.err
>&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } &&
19229 { ac_try
='test -z "$ac_c_werror_flag"
19230 || test ! -s conftest.err'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; } &&
19236 { ac_try
='test -s conftest.$ac_objext'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; }; then
19242 gdb_cv_have_ptrace_getfpxregs
=yes
19244 echo "$as_me: failed program was:" >&5
19245 sed 's/^/| /' conftest.
$ac_ext >&5
19247 gdb_cv_have_ptrace_getfpxregs
=no
19249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19252 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
19253 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
19254 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
19256 cat >>confdefs.h
<<\_ACEOF
19257 #define HAVE_PTRACE_GETFPXREGS 1
19262 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
19263 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
19264 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
19265 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
19266 echo $ECHO_N "(cached) $ECHO_C" >&6
19268 cat >conftest.
$ac_ext <<_ACEOF
19271 cat confdefs.h
>>conftest.
$ac_ext
19272 cat >>conftest.
$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19274 #include <sys/types.h>
19275 #include <sys/ptrace.h>
19284 rm -f conftest.
$ac_objext
19285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19286 (eval $ac_compile) 2>conftest.er1
19288 grep -v '^ *+' conftest.er1
>conftest.err
19290 cat conftest.err
>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } &&
19293 { ac_try
='test -z "$ac_c_werror_flag"
19294 || test ! -s conftest.err'
19295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19296 (eval $ac_try) 2>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; } &&
19300 { ac_try
='test -s conftest.$ac_objext'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; }; then
19306 gdb_cv_have_pt_getdbregs
=yes
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.
$ac_ext >&5
19311 gdb_cv_have_pt_getdbregs
=no
19313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19316 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
19317 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
19318 if test $gdb_cv_have_pt_getdbregs = yes; then
19320 cat >>confdefs.h
<<\_ACEOF
19321 #define HAVE_PT_GETDBREGS 1
19326 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
19327 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
19328 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
19329 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
19330 echo $ECHO_N "(cached) $ECHO_C" >&6
19332 cat >conftest.
$ac_ext <<_ACEOF
19335 cat confdefs.h
>>conftest.
$ac_ext
19336 cat >>conftest.
$ac_ext <<_ACEOF
19337 /* end confdefs.h. */
19338 #include <sys/types.h>
19339 #include <sys/ptrace.h>
19348 rm -f conftest.
$ac_objext
19349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19350 (eval $ac_compile) 2>conftest.er1
19352 grep -v '^ *+' conftest.er1
>conftest.err
19354 cat conftest.err
>&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } &&
19357 { ac_try
='test -z "$ac_c_werror_flag"
19358 || test ! -s conftest.err'
19359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360 (eval $ac_try) 2>&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); }; } &&
19364 { ac_try
='test -s conftest.$ac_objext'
19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19366 (eval $ac_try) 2>&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; }; then
19370 gdb_cv_have_pt_getxmmregs
=yes
19372 echo "$as_me: failed program was:" >&5
19373 sed 's/^/| /' conftest.
$ac_ext >&5
19375 gdb_cv_have_pt_getxmmregs
=no
19377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19380 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
19381 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
19382 if test $gdb_cv_have_pt_getxmmregs = yes; then
19384 cat >>confdefs.h
<<\_ACEOF
19385 #define HAVE_PT_GETXMMREGS 1
19390 # Detect which type of /proc is in use, such as for Unixware or Solaris.
19392 if test "${target}" = "${host}"; then
19394 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
19396 cat >>confdefs.h
<<\_ACEOF
19397 #define NEW_PROC_API 1
19401 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9])
19403 cat >>confdefs.h
<<\_ACEOF
19404 #define NEW_PROC_API 1
19409 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
19411 cat >>confdefs.h
<<\_ACEOF
19412 #define _KMEMUSER 1
19419 if test "$ac_cv_header_sys_procfs_h" = yes; then
19420 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
19421 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
19422 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19425 cat >conftest.
$ac_ext <<_ACEOF
19428 cat confdefs.h
>>conftest.
$ac_ext
19429 cat >>conftest.
$ac_ext <<_ACEOF
19430 /* end confdefs.h. */
19433 #include <sys/procfs.h>
19442 rm -f conftest.
$ac_objext
19443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19444 (eval $ac_compile) 2>conftest.er1
19446 grep -v '^ *+' conftest.er1
>conftest.err
19448 cat conftest.err
>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } &&
19451 { ac_try
='test -z "$ac_c_werror_flag"
19452 || test ! -s conftest.err'
19453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454 (eval $ac_try) 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; } &&
19458 { ac_try
='test -s conftest.$ac_objext'
19459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460 (eval $ac_try) 2>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); }; }; then
19464 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
19466 echo "$as_me: failed program was:" >&5
19467 sed 's/^/| /' conftest.
$ac_ext >&5
19469 bfd_cv_have_sys_procfs_type_pstatus_t
=no
19472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19475 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
19477 cat >>confdefs.h
<<\_ACEOF
19478 #define HAVE_PSTATUS_T 1
19482 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
19483 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
19485 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
19486 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
19487 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
19488 echo $ECHO_N "(cached) $ECHO_C" >&6
19490 cat >conftest.
$ac_ext <<_ACEOF
19493 cat confdefs.h
>>conftest.
$ac_ext
19494 cat >>conftest.
$ac_ext <<_ACEOF
19495 /* end confdefs.h. */
19498 #include <sys/procfs.h>
19507 rm -f conftest.
$ac_objext
19508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19509 (eval $ac_compile) 2>conftest.er1
19511 grep -v '^ *+' conftest.er1
>conftest.err
19513 cat conftest.err
>&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); } &&
19516 { ac_try
='test -z "$ac_c_werror_flag"
19517 || test ! -s conftest.err'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; } &&
19523 { ac_try
='test -s conftest.$ac_objext'
19524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19525 (eval $ac_try) 2>&5
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; }; then
19529 bfd_cv_have_sys_procfs_type_prrun_t
=yes
19531 echo "$as_me: failed program was:" >&5
19532 sed 's/^/| /' conftest.
$ac_ext >&5
19534 bfd_cv_have_sys_procfs_type_prrun_t
=no
19537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19540 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
19542 cat >>confdefs.h
<<\_ACEOF
19543 #define HAVE_PRRUN_T 1
19547 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
19548 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
19550 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
19551 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
19552 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
19553 echo $ECHO_N "(cached) $ECHO_C" >&6
19555 cat >conftest.
$ac_ext <<_ACEOF
19558 cat confdefs.h
>>conftest.
$ac_ext
19559 cat >>conftest.
$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19563 #include <sys/procfs.h>
19572 rm -f conftest.
$ac_objext
19573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19574 (eval $ac_compile) 2>conftest.er1
19576 grep -v '^ *+' conftest.er1
>conftest.err
19578 cat conftest.err
>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } &&
19581 { ac_try
='test -z "$ac_c_werror_flag"
19582 || test ! -s conftest.err'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; } &&
19588 { ac_try
='test -s conftest.$ac_objext'
19589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590 (eval $ac_try) 2>&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; }; then
19594 bfd_cv_have_sys_procfs_type_gregset_t
=yes
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.
$ac_ext >&5
19599 bfd_cv_have_sys_procfs_type_gregset_t
=no
19602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19605 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
19607 cat >>confdefs.h
<<\_ACEOF
19608 #define HAVE_GREGSET_T 1
19612 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
19613 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
19615 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
19616 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
19617 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
19618 echo $ECHO_N "(cached) $ECHO_C" >&6
19620 cat >conftest.
$ac_ext <<_ACEOF
19623 cat confdefs.h
>>conftest.
$ac_ext
19624 cat >>conftest.
$ac_ext <<_ACEOF
19625 /* end confdefs.h. */
19628 #include <sys/procfs.h>
19637 rm -f conftest.
$ac_objext
19638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19639 (eval $ac_compile) 2>conftest.er1
19641 grep -v '^ *+' conftest.er1
>conftest.err
19643 cat conftest.err
>&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); } &&
19646 { ac_try
='test -z "$ac_c_werror_flag"
19647 || test ! -s conftest.err'
19648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649 (eval $ac_try) 2>&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); }; } &&
19653 { ac_try
='test -s conftest.$ac_objext'
19654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655 (eval $ac_try) 2>&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); }; }; then
19659 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
19661 echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.
$ac_ext >&5
19664 bfd_cv_have_sys_procfs_type_fpregset_t
=no
19667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19670 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
19672 cat >>confdefs.h
<<\_ACEOF
19673 #define HAVE_FPREGSET_T 1
19677 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
19678 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
19680 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
19681 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
19682 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
19683 echo $ECHO_N "(cached) $ECHO_C" >&6
19685 cat >conftest.
$ac_ext <<_ACEOF
19688 cat confdefs.h
>>conftest.
$ac_ext
19689 cat >>conftest.
$ac_ext <<_ACEOF
19690 /* end confdefs.h. */
19693 #include <sys/procfs.h>
19702 rm -f conftest.
$ac_objext
19703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19704 (eval $ac_compile) 2>conftest.er1
19706 grep -v '^ *+' conftest.er1
>conftest.err
19708 cat conftest.err
>&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); } &&
19711 { ac_try
='test -z "$ac_c_werror_flag"
19712 || test ! -s conftest.err'
19713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19714 (eval $ac_try) 2>&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); }; } &&
19718 { ac_try
='test -s conftest.$ac_objext'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.
$ac_ext >&5
19729 bfd_cv_have_sys_procfs_type_prgregset_t
=no
19732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19735 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
19737 cat >>confdefs.h
<<\_ACEOF
19738 #define HAVE_PRGREGSET_T 1
19742 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
19743 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
19745 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
19746 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
19747 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 cat >conftest.
$ac_ext <<_ACEOF
19753 cat confdefs.h
>>conftest.
$ac_ext
19754 cat >>conftest.
$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19758 #include <sys/procfs.h>
19767 rm -f conftest.
$ac_objext
19768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19769 (eval $ac_compile) 2>conftest.er1
19771 grep -v '^ *+' conftest.er1
>conftest.err
19773 cat conftest.err
>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); } &&
19776 { ac_try
='test -z "$ac_c_werror_flag"
19777 || test ! -s conftest.err'
19778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19779 (eval $ac_try) 2>&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); }; } &&
19783 { ac_try
='test -s conftest.$ac_objext'
19784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19785 (eval $ac_try) 2>&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); }; }; then
19789 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
19791 echo "$as_me: failed program was:" >&5
19792 sed 's/^/| /' conftest.
$ac_ext >&5
19794 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
19797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19800 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
19802 cat >>confdefs.h
<<\_ACEOF
19803 #define HAVE_PRFPREGSET_T 1
19807 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
19808 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
19810 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
19811 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
19812 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
19813 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 cat >conftest.
$ac_ext <<_ACEOF
19818 cat confdefs.h
>>conftest.
$ac_ext
19819 cat >>conftest.
$ac_ext <<_ACEOF
19820 /* end confdefs.h. */
19823 #include <sys/procfs.h>
19832 rm -f conftest.
$ac_objext
19833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19834 (eval $ac_compile) 2>conftest.er1
19836 grep -v '^ *+' conftest.er1
>conftest.err
19838 cat conftest.err
>&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); } &&
19841 { ac_try
='test -z "$ac_c_werror_flag"
19842 || test ! -s conftest.err'
19843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19844 (eval $ac_try) 2>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; } &&
19848 { ac_try
='test -s conftest.$ac_objext'
19849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19850 (eval $ac_try) 2>&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); }; }; then
19854 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
19856 echo "$as_me: failed program was:" >&5
19857 sed 's/^/| /' conftest.
$ac_ext >&5
19859 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
19862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19865 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
19867 cat >>confdefs.h
<<\_ACEOF
19868 #define HAVE_PRGREGSET32_T 1
19872 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
19873 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
19875 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
19876 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
19877 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 cat >conftest.
$ac_ext <<_ACEOF
19883 cat confdefs.h
>>conftest.
$ac_ext
19884 cat >>conftest.
$ac_ext <<_ACEOF
19885 /* end confdefs.h. */
19888 #include <sys/procfs.h>
19892 prfpregset32_t avar
19897 rm -f conftest.
$ac_objext
19898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19899 (eval $ac_compile) 2>conftest.er1
19901 grep -v '^ *+' conftest.er1
>conftest.err
19903 cat conftest.err
>&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); } &&
19906 { ac_try
='test -z "$ac_c_werror_flag"
19907 || test ! -s conftest.err'
19908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19909 (eval $ac_try) 2>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; } &&
19913 { ac_try
='test -s conftest.$ac_objext'
19914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19915 (eval $ac_try) 2>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; }; then
19919 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.
$ac_ext >&5
19924 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
19927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19930 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
19932 cat >>confdefs.h
<<\_ACEOF
19933 #define HAVE_PRFPREGSET32_T 1
19937 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
19938 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
19940 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
19941 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
19942 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19945 cat >conftest.
$ac_ext <<_ACEOF
19948 cat confdefs.h
>>conftest.
$ac_ext
19949 cat >>conftest.
$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19953 #include <sys/procfs.h>
19962 rm -f conftest.
$ac_objext
19963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19964 (eval $ac_compile) 2>conftest.er1
19966 grep -v '^ *+' conftest.er1
>conftest.err
19968 cat conftest.err
>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } &&
19971 { ac_try
='test -z "$ac_c_werror_flag"
19972 || test ! -s conftest.err'
19973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19974 (eval $ac_try) 2>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); }; } &&
19978 { ac_try
='test -s conftest.$ac_objext'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; }; then
19984 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.
$ac_ext >&5
19989 bfd_cv_have_sys_procfs_type_lwpid_t
=no
19992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19995 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
19997 cat >>confdefs.h
<<\_ACEOF
19998 #define HAVE_LWPID_T 1
20002 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
20003 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
20005 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
20006 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
20007 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20010 cat >conftest.
$ac_ext <<_ACEOF
20013 cat confdefs.h
>>conftest.
$ac_ext
20014 cat >>conftest.
$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20018 #include <sys/procfs.h>
20027 rm -f conftest.
$ac_objext
20028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20029 (eval $ac_compile) 2>conftest.er1
20031 grep -v '^ *+' conftest.er1
>conftest.err
20033 cat conftest.err
>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } &&
20036 { ac_try
='test -z "$ac_c_werror_flag"
20037 || test ! -s conftest.err'
20038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20039 (eval $ac_try) 2>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); }; } &&
20043 { ac_try
='test -s conftest.$ac_objext'
20044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20045 (eval $ac_try) 2>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); }; }; then
20049 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
20051 echo "$as_me: failed program was:" >&5
20052 sed 's/^/| /' conftest.
$ac_ext >&5
20054 bfd_cv_have_sys_procfs_type_psaddr_t
=no
20057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20060 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
20062 cat >>confdefs.h
<<\_ACEOF
20063 #define HAVE_PSADDR_T 1
20067 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
20068 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
20070 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
20071 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
20072 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 cat >conftest.
$ac_ext <<_ACEOF
20078 cat confdefs.h
>>conftest.
$ac_ext
20079 cat >>conftest.
$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20083 #include <sys/procfs.h>
20092 rm -f conftest.
$ac_objext
20093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20094 (eval $ac_compile) 2>conftest.er1
20096 grep -v '^ *+' conftest.er1
>conftest.err
20098 cat conftest.err
>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } &&
20101 { ac_try
='test -z "$ac_c_werror_flag"
20102 || test ! -s conftest.err'
20103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20104 (eval $ac_try) 2>&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); }; } &&
20108 { ac_try
='test -s conftest.$ac_objext'
20109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20110 (eval $ac_try) 2>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); }; }; then
20114 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
20116 echo "$as_me: failed program was:" >&5
20117 sed 's/^/| /' conftest.
$ac_ext >&5
20119 bfd_cv_have_sys_procfs_type_prsysent_t
=no
20122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20125 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
20127 cat >>confdefs.h
<<\_ACEOF
20128 #define HAVE_PRSYSENT_T 1
20132 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
20133 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
20135 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
20136 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
20137 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
20138 echo $ECHO_N "(cached) $ECHO_C" >&6
20140 cat >conftest.
$ac_ext <<_ACEOF
20143 cat confdefs.h
>>conftest.
$ac_ext
20144 cat >>conftest.
$ac_ext <<_ACEOF
20145 /* end confdefs.h. */
20148 #include <sys/procfs.h>
20157 rm -f conftest.
$ac_objext
20158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20159 (eval $ac_compile) 2>conftest.er1
20161 grep -v '^ *+' conftest.er1
>conftest.err
20163 cat conftest.err
>&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); } &&
20166 { ac_try
='test -z "$ac_c_werror_flag"
20167 || test ! -s conftest.err'
20168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20169 (eval $ac_try) 2>&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); }; } &&
20173 { ac_try
='test -s conftest.$ac_objext'
20174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20175 (eval $ac_try) 2>&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); }; }; then
20179 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
20181 echo "$as_me: failed program was:" >&5
20182 sed 's/^/| /' conftest.
$ac_ext >&5
20184 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
20187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20190 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
20192 cat >>confdefs.h
<<\_ACEOF
20193 #define HAVE_PR_SIGSET_T 1
20197 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
20198 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
20200 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
20201 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
20202 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
20203 echo $ECHO_N "(cached) $ECHO_C" >&6
20205 cat >conftest.
$ac_ext <<_ACEOF
20208 cat confdefs.h
>>conftest.
$ac_ext
20209 cat >>conftest.
$ac_ext <<_ACEOF
20210 /* end confdefs.h. */
20213 #include <sys/procfs.h>
20217 pr_sigaction64_t avar
20222 rm -f conftest.
$ac_objext
20223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20224 (eval $ac_compile) 2>conftest.er1
20226 grep -v '^ *+' conftest.er1
>conftest.err
20228 cat conftest.err
>&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } &&
20231 { ac_try
='test -z "$ac_c_werror_flag"
20232 || test ! -s conftest.err'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; } &&
20238 { ac_try
='test -s conftest.$ac_objext'
20239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240 (eval $ac_try) 2>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); }; }; then
20244 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.
$ac_ext >&5
20249 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
20252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20255 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
20257 cat >>confdefs.h
<<\_ACEOF
20258 #define HAVE_PR_SIGACTION64_T 1
20262 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
20263 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
20265 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
20266 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
20267 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
20268 echo $ECHO_N "(cached) $ECHO_C" >&6
20270 cat >conftest.
$ac_ext <<_ACEOF
20273 cat confdefs.h
>>conftest.
$ac_ext
20274 cat >>conftest.
$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20278 #include <sys/procfs.h>
20282 pr_siginfo64_t avar
20287 rm -f conftest.
$ac_objext
20288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20289 (eval $ac_compile) 2>conftest.er1
20291 grep -v '^ *+' conftest.er1
>conftest.err
20293 cat conftest.err
>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } &&
20296 { ac_try
='test -z "$ac_c_werror_flag"
20297 || test ! -s conftest.err'
20298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299 (eval $ac_try) 2>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; } &&
20303 { ac_try
='test -s conftest.$ac_objext'
20304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20305 (eval $ac_try) 2>&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); }; }; then
20309 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
20311 echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.
$ac_ext >&5
20314 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
20317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20320 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
20322 cat >>confdefs.h
<<\_ACEOF
20323 #define HAVE_PR_SIGINFO64_T 1
20327 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
20328 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
20334 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
20335 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
20336 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
20337 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
20338 echo $ECHO_N "(cached) $ECHO_C" >&6
20340 if test "$cross_compiling" = yes; then
20341 gdb_cv_prfpregset_t_broken
=yes
20343 cat >conftest.
$ac_ext <<_ACEOF
20346 cat confdefs.h
>>conftest.
$ac_ext
20347 cat >>conftest.
$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 #include <sys/procfs.h>
20352 if (sizeof (prfpregset_t) == sizeof (void *))
20357 rm -f conftest
$ac_exeext
20358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20359 (eval $ac_link) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; }; then
20368 gdb_cv_prfpregset_t_broken
=no
20370 echo "$as_me: program exited with status $ac_status" >&5
20371 echo "$as_me: failed program was:" >&5
20372 sed 's/^/| /' conftest.
$ac_ext >&5
20374 ( exit $ac_status )
20375 gdb_cv_prfpregset_t_broken
=yes
20377 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20381 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
20382 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
20383 if test $gdb_cv_prfpregset_t_broken = yes; then
20385 cat >>confdefs.h
<<\_ACEOF
20386 #define PRFPREGSET_T_BROKEN 1
20393 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
20394 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
20395 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
20396 echo $ECHO_N "(cached) $ECHO_C" >&6
20398 cat >conftest.
$ac_ext <<_ACEOF
20401 cat confdefs.h
>>conftest.
$ac_ext
20402 cat >>conftest.
$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20404 #include <unistd.h>
20405 #include <sys/types.h>
20406 #include <sys/procfs.h>
20413 dummy = ioctl(0, PIOCSET, &dummy);
20419 rm -f conftest.
$ac_objext
20420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20421 (eval $ac_compile) 2>conftest.er1
20423 grep -v '^ *+' conftest.er1
>conftest.err
20425 cat conftest.err
>&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } &&
20428 { ac_try
='test -z "$ac_c_werror_flag"
20429 || test ! -s conftest.err'
20430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20431 (eval $ac_try) 2>&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); }; } &&
20435 { ac_try
='test -s conftest.$ac_objext'
20436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20437 (eval $ac_try) 2>&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); }; }; then
20441 gdb_cv_have_procfs_piocset
=yes
20443 echo "$as_me: failed program was:" >&5
20444 sed 's/^/| /' conftest.
$ac_ext >&5
20446 gdb_cv_have_procfs_piocset
=no
20448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20451 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
20452 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
20453 if test $gdb_cv_have_procfs_piocset = yes; then
20455 cat >>confdefs.h
<<\_ACEOF
20456 #define HAVE_PROCFS_PIOCSET 1
20462 if test ${host} = ${target} ; then
20464 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
20465 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
20466 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
20467 echo $ECHO_N "(cached) $ECHO_C" >&6
20469 cat >conftest.
$ac_ext <<_ACEOF
20472 cat confdefs.h
>>conftest.
$ac_ext
20473 cat >>conftest.
$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20479 struct link_map lm; (void) lm.l_addr;
20484 rm -f conftest.
$ac_objext
20485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20486 (eval $ac_compile) 2>conftest.er1
20488 grep -v '^ *+' conftest.er1
>conftest.err
20490 cat conftest.err
>&5
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); } &&
20493 { ac_try
='test -z "$ac_c_werror_flag"
20494 || test ! -s conftest.err'
20495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20496 (eval $ac_try) 2>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; } &&
20500 { ac_try
='test -s conftest.$ac_objext'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; }; then
20506 gdb_cv_have_struct_link_map_with_l_members
=yes
20508 echo "$as_me: failed program was:" >&5
20509 sed 's/^/| /' conftest.
$ac_ext >&5
20511 gdb_cv_have_struct_link_map_with_l_members
=no
20513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20516 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
20517 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
20518 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
20520 cat >>confdefs.h
<<\_ACEOF
20521 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
20527 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
20528 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
20529 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
20530 echo $ECHO_N "(cached) $ECHO_C" >&6
20532 cat >conftest.
$ac_ext <<_ACEOF
20535 cat confdefs.h
>>conftest.
$ac_ext
20536 cat >>conftest.
$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 #include <sys/types.h>
20543 struct link_map lm; (void) lm.lm_addr;
20548 rm -f conftest.
$ac_objext
20549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20550 (eval $ac_compile) 2>conftest.er1
20552 grep -v '^ *+' conftest.er1
>conftest.err
20554 cat conftest.err
>&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); } &&
20557 { ac_try
='test -z "$ac_c_werror_flag"
20558 || test ! -s conftest.err'
20559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20560 (eval $ac_try) 2>&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); }; } &&
20564 { ac_try
='test -s conftest.$ac_objext'
20565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20566 (eval $ac_try) 2>&5
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); }; }; then
20570 gdb_cv_have_struct_link_map_with_lm_members
=yes
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.
$ac_ext >&5
20575 gdb_cv_have_struct_link_map_with_lm_members
=no
20577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20580 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
20581 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
20582 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
20584 cat >>confdefs.h
<<\_ACEOF
20585 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
20591 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
20592 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
20593 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
20594 echo $ECHO_N "(cached) $ECHO_C" >&6
20596 cat >conftest.
$ac_ext <<_ACEOF
20599 cat confdefs.h
>>conftest.
$ac_ext
20600 cat >>conftest.
$ac_ext <<_ACEOF
20601 /* end confdefs.h. */
20602 #include <sys/types.h>
20603 #ifdef HAVE_NLIST_H
20610 struct so_map lm; (void) lm.som_addr;
20615 rm -f conftest.
$ac_objext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20617 (eval $ac_compile) 2>conftest.er1
20619 grep -v '^ *+' conftest.er1
>conftest.err
20621 cat conftest.err
>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try
='test -z "$ac_c_werror_flag"
20625 || test ! -s conftest.err'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20627 (eval $ac_try) 2>&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; } &&
20631 { ac_try
='test -s conftest.$ac_objext'
20632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20633 (eval $ac_try) 2>&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); }; }; then
20637 gdb_cv_have_struct_so_map_with_som_members
=yes
20639 echo "$as_me: failed program was:" >&5
20640 sed 's/^/| /' conftest.
$ac_ext >&5
20642 gdb_cv_have_struct_so_map_with_som_members
=no
20644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20647 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
20648 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
20649 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
20651 cat >>confdefs.h
<<\_ACEOF
20652 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
20658 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
20659 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
20660 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20663 cat >conftest.
$ac_ext <<_ACEOF
20666 cat confdefs.h
>>conftest.
$ac_ext
20667 cat >>conftest.
$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20670 #include <sys/link.h>
20674 struct link_map32 l;
20679 rm -f conftest.
$ac_objext
20680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20681 (eval $ac_compile) 2>conftest.er1
20683 grep -v '^ *+' conftest.er1
>conftest.err
20685 cat conftest.err
>&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } &&
20688 { ac_try
='test -z "$ac_c_werror_flag"
20689 || test ! -s conftest.err'
20690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20691 (eval $ac_try) 2>&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }; } &&
20695 { ac_try
='test -s conftest.$ac_objext'
20696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20697 (eval $ac_try) 2>&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; }; then
20701 gdb_cv_have_struct_link_map32
=yes
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.
$ac_ext >&5
20706 gdb_cv_have_struct_link_map32
=no
20708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20711 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
20712 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
20713 if test $gdb_cv_have_struct_link_map32 = yes; then
20715 cat >>confdefs.h
<<\_ACEOF
20716 #define HAVE_STRUCT_LINK_MAP32 1
20720 cat >>confdefs.h
<<\_ACEOF
20721 #define _SYSCALL32 1
20727 # Check if the compiler supports the `long long' type.
20729 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
20730 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
20731 if test "${gdb_cv_c_long_long+set}" = set; then
20732 echo $ECHO_N "(cached) $ECHO_C" >&6
20734 cat >conftest.
$ac_ext <<_ACEOF
20737 cat confdefs.h
>>conftest.
$ac_ext
20738 cat >>conftest.
$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20740 extern long long foo;
20744 switch (foo & 2) { case 0: return 1; }
20749 rm -f conftest.
$ac_objext
20750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20751 (eval $ac_compile) 2>conftest.er1
20753 grep -v '^ *+' conftest.er1
>conftest.err
20755 cat conftest.err
>&5
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); } &&
20758 { ac_try
='test -z "$ac_c_werror_flag"
20759 || test ! -s conftest.err'
20760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20761 (eval $ac_try) 2>&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); }; } &&
20765 { ac_try
='test -s conftest.$ac_objext'
20766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20767 (eval $ac_try) 2>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); }; }; then
20771 gdb_cv_c_long_long
=yes
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.
$ac_ext >&5
20776 gdb_cv_c_long_long
=no
20778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20780 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
20781 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
20782 if test $gdb_cv_c_long_long = yes; then
20784 cat >>confdefs.h
<<\_ACEOF
20785 #define CC_HAS_LONG_LONG 1
20790 # Check if the compiler and runtime support printing long longs.
20792 echo "$as_me:$LINENO: checking for long long support in printf" >&5
20793 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
20794 if test "${gdb_cv_printf_has_long_long+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 if test "$cross_compiling" = yes; then
20798 gdb_cv_printf_has_long_long
=no
20800 cat >conftest.
$ac_ext <<_ACEOF
20803 cat confdefs.h
>>conftest.
$ac_ext
20804 cat >>conftest.
$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20806 $ac_includes_default
20812 l = (l << 16) + 0x0123;
20813 l = (l << 16) + 0x4567;
20814 l = (l << 16) + 0x89ab;
20815 l = (l << 16) + 0xcdef;
20816 sprintf (buf, "0x%016llx", l);
20817 return (strcmp ("0x0123456789abcdef", buf));
20822 rm -f conftest
$ac_exeext
20823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20824 (eval $ac_link) 2>&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; }; then
20833 gdb_cv_printf_has_long_long
=yes
20835 echo "$as_me: program exited with status $ac_status" >&5
20836 echo "$as_me: failed program was:" >&5
20837 sed 's/^/| /' conftest.
$ac_ext >&5
20839 ( exit $ac_status )
20840 gdb_cv_printf_has_long_long
=no
20842 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20845 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
20846 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
20847 if test $gdb_cv_printf_has_long_long = yes; then
20849 cat >>confdefs.h
<<\_ACEOF
20850 #define PRINTF_HAS_LONG_LONG 1
20855 # Check if the compiler supports the `long double' type. We can't use
20856 # AC_C_LONG_DOUBLE because that one does additional checks on the
20857 # constants defined in <float.h> that fail on some systems,
20858 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
20860 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
20861 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
20862 if test "${gdb_cv_c_long_double+set}" = set; then
20863 echo $ECHO_N "(cached) $ECHO_C" >&6
20865 cat >conftest.
$ac_ext <<_ACEOF
20868 cat confdefs.h
>>conftest.
$ac_ext
20869 cat >>conftest.
$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20873 rm -f conftest.
$ac_objext
20874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20875 (eval $ac_compile) 2>conftest.er1
20877 grep -v '^ *+' conftest.er1
>conftest.err
20879 cat conftest.err
>&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } &&
20882 { ac_try
='test -z "$ac_c_werror_flag"
20883 || test ! -s conftest.err'
20884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885 (eval $ac_try) 2>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; } &&
20889 { ac_try
='test -s conftest.$ac_objext'
20890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20891 (eval $ac_try) 2>&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); }; }; then
20895 gdb_cv_c_long_double
=yes
20897 echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.
$ac_ext >&5
20900 gdb_cv_c_long_double
=no
20902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20904 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
20905 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
20906 if test $gdb_cv_c_long_double = yes; then
20908 cat >>confdefs.h
<<\_ACEOF
20909 #define HAVE_LONG_DOUBLE 1
20914 # Check if the compiler and runtime support printing long doubles.
20916 echo "$as_me:$LINENO: checking for long double support in printf" >&5
20917 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
20918 if test "${gdb_cv_printf_has_long_double+set}" = set; then
20919 echo $ECHO_N "(cached) $ECHO_C" >&6
20921 if test "$cross_compiling" = yes; then
20922 gdb_cv_printf_has_long_double
=no
20924 cat >conftest.
$ac_ext <<_ACEOF
20927 cat confdefs.h
>>conftest.
$ac_ext
20928 cat >>conftest.
$ac_ext <<_ACEOF
20929 /* end confdefs.h. */
20930 $ac_includes_default
20935 long double f = 3.141592653;
20936 sprintf (buf, "%Lg", f);
20937 return (strncmp ("3.14159", buf, 7));
20942 rm -f conftest
$ac_exeext
20943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20944 (eval $ac_link) 2>&5
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20949 (eval $ac_try) 2>&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); }; }; then
20953 gdb_cv_printf_has_long_double
=yes
20955 echo "$as_me: program exited with status $ac_status" >&5
20956 echo "$as_me: failed program was:" >&5
20957 sed 's/^/| /' conftest.
$ac_ext >&5
20959 ( exit $ac_status )
20960 gdb_cv_printf_has_long_double
=no
20962 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20965 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
20966 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
20967 if test $gdb_cv_printf_has_long_double = yes; then
20969 cat >>confdefs.h
<<\_ACEOF
20970 #define PRINTF_HAS_LONG_DOUBLE 1
20975 # Check if the compiler and runtime support scanning long doubles.
20977 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
20978 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
20979 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20982 if test "$cross_compiling" = yes; then
20983 gdb_cv_scanf_has_long_double
=no
20985 cat >conftest.
$ac_ext <<_ACEOF
20988 cat confdefs.h
>>conftest.
$ac_ext
20989 cat >>conftest.
$ac_ext <<_ACEOF
20990 /* end confdefs.h. */
20995 char *buf = "3.141592653";
20997 sscanf (buf, "%Lg", &f);
20998 return !(f > 3.14159 && f < 3.14160);
21003 rm -f conftest
$ac_exeext
21004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21005 (eval $ac_link) 2>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; }; then
21014 gdb_cv_scanf_has_long_double
=yes
21016 echo "$as_me: program exited with status $ac_status" >&5
21017 echo "$as_me: failed program was:" >&5
21018 sed 's/^/| /' conftest.
$ac_ext >&5
21020 ( exit $ac_status )
21021 gdb_cv_scanf_has_long_double
=no
21023 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21026 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
21027 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
21028 if test $gdb_cv_scanf_has_long_double = yes; then
21030 cat >>confdefs.h
<<\_ACEOF
21031 #define SCANF_HAS_LONG_DOUBLE 1
21038 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
21039 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
21040 if test "${gdb_cv_bigtoc+set}" = set; then
21041 echo $ECHO_N "(cached) $ECHO_C" >&6
21044 SAVE_LDFLAGS
=$LDFLAGS
21047 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
21048 *) gdb_cv_bigtoc
=-bbigtoc ;;
21051 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
21052 cat >conftest.
$ac_ext <<_ACEOF
21055 cat confdefs.h
>>conftest.
$ac_ext
21056 cat >>conftest.
$ac_ext <<_ACEOF
21057 /* end confdefs.h. */
21067 rm -f conftest.
$ac_objext conftest
$ac_exeext
21068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21069 (eval $ac_link) 2>conftest.er1
21071 grep -v '^ *+' conftest.er1
>conftest.err
21073 cat conftest.err
>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } &&
21076 { ac_try
='test -z "$ac_c_werror_flag"
21077 || test ! -s conftest.err'
21078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079 (eval $ac_try) 2>&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); }; } &&
21083 { ac_try
='test -s conftest$ac_exeext'
21084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085 (eval $ac_try) 2>&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); }; }; then
21091 echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.
$ac_ext >&5
21096 rm -f conftest.err conftest.
$ac_objext \
21097 conftest
$ac_exeext conftest.
$ac_ext
21098 LDFLAGS
="${SAVE_LDFLAGS}"
21101 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
21102 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
21103 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
21109 if test ${build} = ${host} -a ${host} = ${target} ; then
21112 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
21113 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
21114 if test -f /usr
/include
/dce
/cma_config.h
; then
21115 if test "$GCC" = "yes" ; then
21116 echo "$as_me:$LINENO: result: yes" >&5
21117 echo "${ECHO_T}yes" >&6
21119 cat >>confdefs.h
<<\_ACEOF
21120 #define HAVE_HPUX_THREAD_SUPPORT 1
21123 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
21124 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
21126 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
21127 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
21130 echo "$as_me:$LINENO: result: no" >&5
21131 echo "${ECHO_T}no" >&6
21135 # See if thread_db library is around for Solaris thread debugging.
21136 # Note that we must explicitly test for version 1 of the library
21137 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
21139 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
21140 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
21141 if test -f /usr
/lib
/libthread_db.so
.1 ; then
21142 echo "$as_me:$LINENO: result: yes" >&5
21143 echo "${ECHO_T}yes" >&6
21145 cat >>confdefs.h
<<\_ACEOF
21146 #define HAVE_THREAD_DB_LIB 1
21149 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
21150 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
21152 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21153 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
21154 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21155 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 ac_check_lib_save_LIBS
=$LIBS
21159 cat >conftest.
$ac_ext <<_ACEOF
21162 cat confdefs.h
>>conftest.
$ac_ext
21163 cat >>conftest.
$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21166 /* Override any gcc2 internal prototype to avoid an error. */
21170 /* We use char because int might match the return type of a gcc2
21171 builtin and then its argument prototype would still apply. */
21181 rm -f conftest.
$ac_objext conftest
$ac_exeext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21183 (eval $ac_link) 2>conftest.er1
21185 grep -v '^ *+' conftest.er1
>conftest.err
21187 cat conftest.err
>&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try
='test -z "$ac_c_werror_flag"
21191 || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try
='test -s conftest$ac_exeext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 ac_cv_lib_dl_dlopen
=yes
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.
$ac_ext >&5
21208 ac_cv_lib_dl_dlopen
=no
21210 rm -f conftest.err conftest.
$ac_objext \
21211 conftest
$ac_exeext conftest.
$ac_ext
21212 LIBS
=$ac_check_lib_save_LIBS
21214 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21215 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
21216 if test $ac_cv_lib_dl_dlopen = yes; then
21217 cat >>confdefs.h
<<_ACEOF
21218 #define HAVE_LIBDL 1
21225 if test "$GCC" = "yes" ; then
21226 # The GNU linker requires the -export-dynamic option to make
21227 # all symbols visible in the dynamic symbol table.
21228 hold_ldflags
=$LDFLAGS
21229 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
21230 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
21231 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
21232 cat >conftest.
$ac_ext <<_ACEOF
21235 cat confdefs.h
>>conftest.
$ac_ext
21236 cat >>conftest.
$ac_ext <<_ACEOF
21237 /* end confdefs.h. */
21247 rm -f conftest.
$ac_objext conftest
$ac_exeext
21248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21249 (eval $ac_link) 2>conftest.er1
21251 grep -v '^ *+' conftest.er1
>conftest.err
21253 cat conftest.err
>&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); } &&
21256 { ac_try
='test -z "$ac_c_werror_flag"
21257 || test ! -s conftest.err'
21258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21259 (eval $ac_try) 2>&5
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); }; } &&
21263 { ac_try
='test -s conftest$ac_exeext'
21264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21265 (eval $ac_try) 2>&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); }; }; then
21271 echo "$as_me: failed program was:" >&5
21272 sed 's/^/| /' conftest.
$ac_ext >&5
21276 rm -f conftest.err conftest.
$ac_objext \
21277 conftest
$ac_exeext conftest.
$ac_ext
21278 LDFLAGS
=$hold_ldflags
21279 echo "$as_me:$LINENO: result: $found" >&5
21280 echo "${ECHO_T}$found" >&6
21281 if test $found = yes; then
21282 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
21285 # Sun randomly tweaked the prototypes in <proc_service.h>
21287 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
21288 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
21289 if test "${gdb_cv_proc_service_is_old+set}" = set; then
21290 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 cat >conftest.
$ac_ext <<_ACEOF
21296 cat confdefs.h
>>conftest.
$ac_ext
21297 cat >>conftest.
$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21300 #include <proc_service.h>
21301 ps_err_e ps_pdwrite
21302 (struct ps_prochandle*, psaddr_t, const void*, size_t);
21312 rm -f conftest.
$ac_objext
21313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21314 (eval $ac_compile) 2>conftest.er1
21316 grep -v '^ *+' conftest.er1
>conftest.err
21318 cat conftest.err
>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); } &&
21321 { ac_try
='test -z "$ac_c_werror_flag"
21322 || test ! -s conftest.err'
21323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324 (eval $ac_try) 2>&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); }; } &&
21328 { ac_try
='test -s conftest.$ac_objext'
21329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330 (eval $ac_try) 2>&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); }; }; then
21334 gdb_cv_proc_service_is_old
=no
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.
$ac_ext >&5
21339 gdb_cv_proc_service_is_old
=yes
21341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21345 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
21346 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
21347 if test $gdb_cv_proc_service_is_old = yes; then
21349 cat >>confdefs.h
<<\_ACEOF
21350 #define PROC_SERVICE_IS_OLD 1
21355 echo "$as_me:$LINENO: result: no" >&5
21356 echo "${ECHO_T}no" >&6
21360 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
21361 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
21362 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
21363 echo $ECHO_N "(cached) $ECHO_C" >&6
21365 cat >conftest.
$ac_ext <<_ACEOF
21368 cat confdefs.h
>>conftest.
$ac_ext
21369 cat >>conftest.
$ac_ext <<_ACEOF
21370 /* end confdefs.h. */
21371 #include <sys/pthdebug.h>
21375 #ifndef PTHDB_VERSION_3
21382 rm -f conftest.
$ac_objext
21383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21384 (eval $ac_compile) 2>conftest.er1
21386 grep -v '^ *+' conftest.er1
>conftest.err
21388 cat conftest.err
>&5
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); } &&
21391 { ac_try
='test -z "$ac_c_werror_flag"
21392 || test ! -s conftest.err'
21393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21394 (eval $ac_try) 2>&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); }; } &&
21398 { ac_try
='test -s conftest.$ac_objext'
21399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400 (eval $ac_try) 2>&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; }; then
21404 gdb_cv_have_aix_thread_debug
=yes
21406 echo "$as_me: failed program was:" >&5
21407 sed 's/^/| /' conftest.
$ac_ext >&5
21409 gdb_cv_have_aix_thread_debug
=no
21411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21414 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
21415 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
21416 if test $gdb_cv_have_aix_thread_debug = yes; then
21417 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
21418 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
21419 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
21426 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
21427 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
21428 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
21429 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
21430 echo $ECHO_N "(cached) $ECHO_C" >&6
21432 cat >conftest.
$ac_ext <<_ACEOF
21435 cat confdefs.h
>>conftest.
$ac_ext
21436 cat >>conftest.
$ac_ext <<_ACEOF
21437 /* end confdefs.h. */
21438 #include <thread_db.h>
21442 int i = TD_NOTALLOC;
21447 rm -f conftest.
$ac_objext
21448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21449 (eval $ac_compile) 2>conftest.er1
21451 grep -v '^ *+' conftest.er1
>conftest.err
21453 cat conftest.err
>&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); } &&
21456 { ac_try
='test -z "$ac_c_werror_flag"
21457 || test ! -s conftest.err'
21458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21459 (eval $ac_try) 2>&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); }; } &&
21463 { ac_try
='test -s conftest.$ac_objext'
21464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21465 (eval $ac_try) 2>&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); }; }; then
21469 gdb_cv_thread_db_h_has_td_notalloc
=yes
21471 echo "$as_me: failed program was:" >&5
21472 sed 's/^/| /' conftest.
$ac_ext >&5
21474 gdb_cv_thread_db_h_has_td_notalloc
=no
21477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21480 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
21481 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
21482 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_VERSION" >&5
21483 echo $ECHO_N "checking whether <thread_db.h> has TD_VERSION... $ECHO_C" >&6
21484 if test "${gdb_cv_thread_db_h_has_td_version+set}" = set; then
21485 echo $ECHO_N "(cached) $ECHO_C" >&6
21487 cat >conftest.
$ac_ext <<_ACEOF
21490 cat confdefs.h
>>conftest.
$ac_ext
21491 cat >>conftest.
$ac_ext <<_ACEOF
21492 /* end confdefs.h. */
21493 #include <thread_db.h>
21497 int i = TD_VERSION;
21502 rm -f conftest.
$ac_objext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21504 (eval $ac_compile) 2>conftest.er1
21506 grep -v '^ *+' conftest.er1
>conftest.err
21508 cat conftest.err
>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } &&
21511 { ac_try
='test -z "$ac_c_werror_flag"
21512 || test ! -s conftest.err'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; } &&
21518 { ac_try
='test -s conftest.$ac_objext'
21519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21520 (eval $ac_try) 2>&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); }; }; then
21524 gdb_cv_thread_db_h_has_td_version
=yes
21526 echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.
$ac_ext >&5
21529 gdb_cv_thread_db_h_has_td_version
=no
21532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21535 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_version" >&5
21536 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_version" >&6
21537 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTLS" >&5
21538 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTLS... $ECHO_C" >&6
21539 if test "${gdb_cv_thread_db_h_has_td_notls+set}" = set; then
21540 echo $ECHO_N "(cached) $ECHO_C" >&6
21542 cat >conftest.
$ac_ext <<_ACEOF
21545 cat confdefs.h
>>conftest.
$ac_ext
21546 cat >>conftest.
$ac_ext <<_ACEOF
21547 /* end confdefs.h. */
21548 #include <thread_db.h>
21557 rm -f conftest.
$ac_objext
21558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21559 (eval $ac_compile) 2>conftest.er1
21561 grep -v '^ *+' conftest.er1
>conftest.err
21563 cat conftest.err
>&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } &&
21566 { ac_try
='test -z "$ac_c_werror_flag"
21567 || test ! -s conftest.err'
21568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21569 (eval $ac_try) 2>&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); }; } &&
21573 { ac_try
='test -s conftest.$ac_objext'
21574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575 (eval $ac_try) 2>&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; }; then
21579 gdb_cv_thread_db_h_has_td_notls
=yes
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.
$ac_ext >&5
21584 gdb_cv_thread_db_h_has_td_notls
=no
21587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21590 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notls" >&5
21591 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notls" >&6
21593 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
21595 cat >>confdefs.h
<<\_ACEOF
21596 #define THREAD_DB_HAS_TD_NOTALLOC 1
21600 if test "x$gdb_cv_thread_db_h_has_td_version" = "xyes"; then
21602 cat >>confdefs.h
<<\_ACEOF
21603 #define THREAD_DB_HAS_TD_VERSION 1
21607 if test "x$gdb_cv_thread_db_h_has_td_notls" = "xyes"; then
21609 cat >>confdefs.h
<<\_ACEOF
21610 #define THREAD_DB_HAS_TD_NOTLS 1
21615 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
21616 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
21617 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
21618 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
21619 echo $ECHO_N "(cached) $ECHO_C" >&6
21621 cat >conftest.
$ac_ext <<_ACEOF
21624 cat confdefs.h
>>conftest.
$ac_ext
21625 cat >>conftest.
$ac_ext <<_ACEOF
21626 /* end confdefs.h. */
21627 #include <sys/syscall.h>
21631 int i = __NR_tkill;
21636 rm -f conftest.
$ac_objext
21637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21638 (eval $ac_compile) 2>conftest.er1
21640 grep -v '^ *+' conftest.er1
>conftest.err
21642 cat conftest.err
>&5
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); } &&
21645 { ac_try
='test -z "$ac_c_werror_flag"
21646 || test ! -s conftest.err'
21647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21648 (eval $ac_try) 2>&5
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; } &&
21652 { ac_try
='test -s conftest.$ac_objext'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; }; then
21658 gdb_cv_sys_syscall_h_has_tkill
=yes
21660 echo "$as_me: failed program was:" >&5
21661 sed 's/^/| /' conftest.
$ac_ext >&5
21663 gdb_cv_sys_syscall_h_has_tkill
=no
21666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21669 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
21670 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
21672 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
21674 cat >>confdefs.h
<<\_ACEOF
21675 #define HAVE_TKILL_SYSCALL 1
21682 # Check whether --with-sysroot or --without-sysroot was given.
21683 if test "${with_sysroot+set}" = set; then
21684 withval
="$with_sysroot"
21686 case ${with_sysroot} in
21687 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
21688 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
21691 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
21693 if test "x$prefix" = xNONE
; then
21694 test_prefix
=/usr
/local
21696 test_prefix
=$prefix
21698 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
21699 test_exec_prefix
=$test_prefix
21701 test_exec_prefix
=$exec_prefix
21703 case ${TARGET_SYSTEM_ROOT} in
21704 "${test_prefix}"|
"${test_prefix}/"*|\
21705 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
21706 '${prefix}'|
'${prefix}/'*|\
21707 '${exec_prefix}'|
'${exec_prefix}/'*)
21708 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
21709 TARGET_SYSTEM_ROOT_DEFINE
="$t"
21715 TARGET_SYSTEM_ROOT
=
21716 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
21722 # Check whether --enable-werror or --disable-werror was given.
21723 if test "${enable_werror+set}" = set; then
21724 enableval
="$enable_werror"
21725 case "${enableval}" in
21726 yes | y
) ERROR_ON_WARNING
="yes" ;;
21727 no | n
) ERROR_ON_WARNING
="no" ;;
21728 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
21729 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
21730 { (exit 1); exit 1; }; } ;;
21734 # Enable -Werror by default when using gcc
21735 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
21736 ERROR_ON_WARNING
=yes
21740 if test "${ERROR_ON_WARNING}" = yes ; then
21741 WERROR_CFLAGS
="-Werror"
21744 # The entries after -Wno-pointer-sign are disabled warnings which may
21745 # be enabled in the future, which can not currently be used to build
21747 # NOTE: If you change this list, remember to update
21748 # gdb/doc/gdbint.texinfo.
21749 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
21750 -Wformat-nonliteral -Wno-pointer-sign \
21751 -Wno-unused -Wno-switch -Wno-char-subscripts"
21753 # Check whether --enable-build-warnings or --disable-build-warnings was given.
21754 if test "${enable_build_warnings+set}" = set; then
21755 enableval
="$enable_build_warnings"
21756 case "${enableval}" in
21758 no
) build_warnings
="-w";;
21759 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21760 build_warnings
="${build_warnings} ${t}";;
21761 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21762 build_warnings
="${t} ${build_warnings}";;
21763 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
21765 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
21766 echo "Setting compiler warning flags = $build_warnings" 6>&1
21768 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
21769 if test "${enable_gdb_build_warnings+set}" = set; then
21770 enableval
="$enable_gdb_build_warnings"
21771 case "${enableval}" in
21773 no
) build_warnings
="-w";;
21774 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21775 build_warnings
="${build_warnings} ${t}";;
21776 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21777 build_warnings
="${t} ${build_warnings}";;
21778 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
21780 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
21781 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
21784 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
21786 echo "$as_me:$LINENO: checking compiler warning flags" >&5
21787 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
21788 # Separate out the -Werror flag as some files just cannot be
21789 # compiled with it enabled.
21790 for w
in ${build_warnings}; do
21792 -Werr*) WERROR_CFLAGS
=-Werror ;;
21793 *) # Check that GCC accepts it
21794 saved_CFLAGS
="$CFLAGS"
21795 CFLAGS
="$CFLAGS $w"
21796 cat >conftest.
$ac_ext <<_ACEOF
21799 cat confdefs.h
>>conftest.
$ac_ext
21800 cat >>conftest.
$ac_ext <<_ACEOF
21801 /* end confdefs.h. */
21811 rm -f conftest.
$ac_objext
21812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21813 (eval $ac_compile) 2>conftest.er1
21815 grep -v '^ *+' conftest.er1
>conftest.err
21817 cat conftest.err
>&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } &&
21820 { ac_try
='test -z "$ac_c_werror_flag"
21821 || test ! -s conftest.err'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; } &&
21827 { ac_try
='test -s conftest.$ac_objext'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; }; then
21833 WARN_CFLAGS
="${WARN_CFLAGS} $w"
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.
$ac_ext >&5
21839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21840 CFLAGS
="$saved_CFLAGS"
21843 echo "$as_me:$LINENO: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
21844 echo "${ECHO_T}${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6
21849 # In the Cygwin environment, we need some additional flags.
21850 echo "$as_me:$LINENO: checking for cygwin" >&5
21851 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
21852 if test "${gdb_cv_os_cygwin+set}" = set; then
21853 echo $ECHO_N "(cached) $ECHO_C" >&6
21855 cat >conftest.
$ac_ext <<_ACEOF
21858 cat confdefs.h
>>conftest.
$ac_ext
21859 cat >>conftest.
$ac_ext <<_ACEOF
21860 /* end confdefs.h. */
21862 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
21866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21867 $EGREP "lose" >/dev
/null
2>&1; then
21868 gdb_cv_os_cygwin
=yes
21870 gdb_cv_os_cygwin
=no
21875 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
21876 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
21879 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
21881 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
21882 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
21883 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
21887 # libreadline needs libuser32.a in a cygwin environment
21889 if test x
$gdb_cv_os_cygwin = xyes
; then
21890 WIN32LIBS
="-luser32"
21891 case "${target}" in
21892 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
21897 # The ser-tcp.c module requires sockets.
21901 cat >>confdefs.h
<<\_ACEOF
21902 #define USE_WIN32API 1
21905 WIN32LIBS
="$WIN32LIBS -lws2_32"
21910 # Add ELF support to GDB, but only if BFD includes ELF support.
21912 OLD_LDFLAGS
=$LDFLAGS
21914 CFLAGS
="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
21915 LDFLAGS
="$LDFLAGS -L../bfd -L../libiberty"
21916 LIBS
="$LIBS -lbfd -liberty $LIBINTL"
21917 echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
21918 echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
21919 if test "${gdb_cv_var_elf+set}" = set; then
21920 echo $ECHO_N "(cached) $ECHO_C" >&6
21922 cat >conftest.
$ac_ext <<_ACEOF
21925 cat confdefs.h
>>conftest.
$ac_ext
21926 cat >>conftest.
$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928 #include <stdlib.h>
21930 #include "elf-bfd.h"
21935 bfd *abfd = NULL; bfd_get_elf_phdr_upper_bound (abfd);
21940 rm -f conftest.
$ac_objext conftest
$ac_exeext
21941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21942 (eval $ac_link) 2>conftest.er1
21944 grep -v '^ *+' conftest.er1
>conftest.err
21946 cat conftest.err
>&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } &&
21949 { ac_try
='test -z "$ac_c_werror_flag"
21950 || test ! -s conftest.err'
21951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21952 (eval $ac_try) 2>&5
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); }; } &&
21956 { ac_try
='test -s conftest$ac_exeext'
21957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21958 (eval $ac_try) 2>&5
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); }; }; then
21964 echo "$as_me: failed program was:" >&5
21965 sed 's/^/| /' conftest.
$ac_ext >&5
21969 rm -f conftest.err conftest.
$ac_objext \
21970 conftest
$ac_exeext conftest.
$ac_ext
21972 echo "$as_me:$LINENO: result: $gdb_cv_var_elf" >&5
21973 echo "${ECHO_T}$gdb_cv_var_elf" >&6
21974 if test $gdb_cv_var_elf = yes; then
21975 CONFIG_OBS
="$CONFIG_OBS elfread.o"
21977 cat >>confdefs.h
<<\_ACEOF
21983 LDFLAGS
=$OLD_LDFLAGS
21986 # Add any host-specific objects to GDB.
21987 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
21989 LIBGUI
="../libgui/src/libgui.a"
21990 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
22008 if test "${enable_gdbtk}" = "yes"; then
22010 # Gdbtk must have an absolute path to srcdir in order to run
22011 # properly when not installed.
22014 GDBTK_SRC_DIR
=`pwd`
22019 # Ok, lets find the tcl configuration
22020 # First, look for one uninstalled.
22021 # the alternative search directory is invoked by --with-tclconfig
22024 if test x
"${no_tcl}" = x
; then
22025 # we reset no_tcl in case something fails here
22028 # Check whether --with-tclconfig or --without-tclconfig was given.
22029 if test "${with_tclconfig+set}" = set; then
22030 withval
="$with_tclconfig"
22031 with_tclconfig
=${withval}
22033 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
22034 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
22035 if test "${ac_cv_c_tclconfig+set}" = set; then
22036 echo $ECHO_N "(cached) $ECHO_C" >&6
22040 # First check to see if --with-tclconfig was specified.
22041 if test x
"${with_tclconfig}" != x
; then
22042 if test -f "${with_tclconfig}/tclConfig.sh" ; then
22043 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
22045 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
22046 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
22047 { (exit 1); exit 1; }; }
22051 # then check for a private Tcl installation
22052 if test x
"${ac_cv_c_tclconfig}" = x
; then
22055 `ls -dr ../tcl[7-9]* 2>/dev/null` \
22057 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
22059 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
22060 if test -f "$i/${configdir}/tclConfig.sh" ; then
22061 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
22066 # check in a few common install locations
22067 if test x
"${ac_cv_c_tclconfig}" = x
; then
22068 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22069 if test -f "$i/tclConfig.sh" ; then
22070 ac_cv_c_tclconfig
=`(cd $i; pwd)`
22075 # check in a few other private locations
22076 if test x
"${ac_cv_c_tclconfig}" = x
; then
22079 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
22080 if test -f "$i/${configdir}/tclConfig.sh" ; then
22081 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
22089 if test x
"${ac_cv_c_tclconfig}" = x
; then
22090 TCLCONFIG
="# no Tcl configs found"
22091 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
22092 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
22095 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
22096 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
22097 echo "${ECHO_T}found $TCLCONFIG" >&6
22101 if test -z "${no_tcl}"; then
22132 # Ok, lets find the tk configuration
22133 # First, look for one uninstalled.
22134 # the alternative search directory is invoked by --with-tkconfig
22137 if test x
"${no_tk}" = x
; then
22138 # we reset no_tk in case something fails here
22141 # Check whether --with-tkconfig or --without-tkconfig was given.
22142 if test "${with_tkconfig+set}" = set; then
22143 withval
="$with_tkconfig"
22144 with_tkconfig
=${withval}
22146 echo "$as_me:$LINENO: checking for Tk configuration" >&5
22147 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
22148 if test "${ac_cv_c_tkconfig+set}" = set; then
22149 echo $ECHO_N "(cached) $ECHO_C" >&6
22153 # First check to see if --with-tkconfig was specified.
22154 if test x
"${with_tkconfig}" != x
; then
22155 if test -f "${with_tkconfig}/tkConfig.sh" ; then
22156 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
22158 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
22159 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
22160 { (exit 1); exit 1; }; }
22164 # then check for a private Tk library
22165 if test x
"${ac_cv_c_tkconfig}" = x
; then
22168 `ls -dr ../tk[4-9]* 2>/dev/null` \
22170 `ls -dr ../../tk[4-9]* 2>/dev/null` \
22172 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
22173 if test -f "$i/${configdir}/tkConfig.sh" ; then
22174 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
22179 # check in a few common install locations
22180 if test x
"${ac_cv_c_tkconfig}" = x
; then
22181 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22182 if test -f "$i/tkConfig.sh" ; then
22183 ac_cv_c_tkconfig
=`(cd $i; pwd)`
22188 # check in a few other private locations
22189 if test x
"${ac_cv_c_tkconfig}" = x
; then
22192 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
22193 if test -f "$i/${configdir}/tkConfig.sh" ; then
22194 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
22202 if test x
"${ac_cv_c_tkconfig}" = x
; then
22203 TKCONFIG
="# no Tk configs found"
22204 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
22205 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
22208 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
22209 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
22210 echo "${ECHO_T}found $TKCONFIG" >&6
22216 # now look for Tcl library stuff
22218 tcldir
="../tcl/${configdir}/"
22220 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
22222 # If $no_tk is nonempty, then we can't do Tk, and there is no
22223 # point to doing Tcl.
22224 if test -z "${no_tk}"; then
22226 if test -f "$TKCONFIG" ; then
22244 # Ok, lets find the tcl source trees so we can use the headers
22245 # Warning: transition of version 9 to 10 will break this algorithm
22246 # because 10 sorts before 9. We also look for just tcl. We have to
22247 # be careful that we don't match stuff like tclX by accident.
22248 # the alternative search directory is involked by --with-tclinclude
22252 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
22253 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
22255 # Check whether --with-tclinclude or --without-tclinclude was given.
22256 if test "${with_tclinclude+set}" = set; then
22257 withval
="$with_tclinclude"
22258 with_tclinclude
=${withval}
22260 if test "${ac_cv_c_tclh+set}" = set; then
22261 echo $ECHO_N "(cached) $ECHO_C" >&6
22264 # first check to see if --with-tclinclude was specified
22265 if test x
"${with_tclinclude}" != x
; then
22266 if test -f ${with_tclinclude}/tclInt.h
; then
22267 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
22268 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
22269 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
22271 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
22272 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
22273 { (exit 1); exit 1; }; }
22277 # next check if it came with Tcl configuration file
22278 if test x
"${ac_cv_c_tclconfig}" = x
; then
22279 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
22280 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
22284 # next check in private source directory
22286 # since ls returns lowest version numbers first, reverse its output
22287 if test x
"${ac_cv_c_tclh}" = x
; then
22290 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
22291 ${srcdir}/..
/..
/tcl \
22292 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
22293 ${srcdir}/..
/..
/..
/tcl \
22294 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
22295 if test -f $i/generic
/tclInt.h
; then
22296 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
22301 # finally check in a few common install locations
22303 # since ls returns lowest version numbers first, reverse its output
22304 if test x
"${ac_cv_c_tclh}" = x
; then
22306 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
22307 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
22308 /usr
/local
/src
/tcl \
22309 /usr
/local
/lib
/tcl \
22310 ${prefix}/include
; do
22311 if test -f $i/generic
/tclInt.h
; then
22312 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
22317 # see if one is installed
22318 if test x
"${ac_cv_c_tclh}" = x
; then
22319 if test "${ac_cv_header_tclInt_h+set}" = set; then
22320 echo "$as_me:$LINENO: checking for tclInt.h" >&5
22321 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
22322 if test "${ac_cv_header_tclInt_h+set}" = set; then
22323 echo $ECHO_N "(cached) $ECHO_C" >&6
22325 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
22326 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
22328 # Is the header compilable?
22329 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
22330 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
22331 cat >conftest.
$ac_ext <<_ACEOF
22334 cat confdefs.h
>>conftest.
$ac_ext
22335 cat >>conftest.
$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 $ac_includes_default
22338 #include <tclInt.h>
22340 rm -f conftest.
$ac_objext
22341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22342 (eval $ac_compile) 2>conftest.er1
22344 grep -v '^ *+' conftest.er1
>conftest.err
22346 cat conftest.err
>&5
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); } &&
22349 { ac_try
='test -z "$ac_c_werror_flag"
22350 || test ! -s conftest.err'
22351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22352 (eval $ac_try) 2>&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); }; } &&
22356 { ac_try
='test -s conftest.$ac_objext'
22357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22358 (eval $ac_try) 2>&5
22360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22361 (exit $ac_status); }; }; then
22362 ac_header_compiler
=yes
22364 echo "$as_me: failed program was:" >&5
22365 sed 's/^/| /' conftest.
$ac_ext >&5
22367 ac_header_compiler
=no
22369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22371 echo "${ECHO_T}$ac_header_compiler" >&6
22373 # Is the header present?
22374 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
22375 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
22376 cat >conftest.
$ac_ext <<_ACEOF
22379 cat confdefs.h
>>conftest.
$ac_ext
22380 cat >>conftest.
$ac_ext <<_ACEOF
22381 /* end confdefs.h. */
22382 #include <tclInt.h>
22384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22385 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22387 grep -v '^ *+' conftest.er1
>conftest.err
22389 cat conftest.err
>&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); } >/dev
/null
; then
22392 if test -s conftest.err
; then
22393 ac_cpp_err
=$ac_c_preproc_warn_flag
22394 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22401 if test -z "$ac_cpp_err"; then
22402 ac_header_preproc
=yes
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.
$ac_ext >&5
22407 ac_header_preproc
=no
22409 rm -f conftest.err conftest.
$ac_ext
22410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22411 echo "${ECHO_T}$ac_header_preproc" >&6
22413 # So? What about this header?
22414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22416 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
22417 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22418 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
22419 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
22420 ac_header_preproc
=yes
22423 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
22424 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
22425 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
22426 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
22427 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
22428 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
22429 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
22430 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
22431 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
22432 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
22433 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
22434 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
22437 ## ------------------------------------------ ##
22438 ## Report this to the AC_PACKAGE_NAME lists. ##
22439 ## ------------------------------------------ ##
22442 sed "s/^/$as_me: WARNING: /" >&2
22445 echo "$as_me:$LINENO: checking for tclInt.h" >&5
22446 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
22447 if test "${ac_cv_header_tclInt_h+set}" = set; then
22448 echo $ECHO_N "(cached) $ECHO_C" >&6
22450 ac_cv_header_tclInt_h
=$ac_header_preproc
22452 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
22453 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
22456 if test $ac_cv_header_tclInt_h = yes; then
22457 ac_cv_c_tclh
=installed
22467 if test x
"${ac_cv_c_tclh}" = x
; then
22468 TCLHDIR
="# no Tcl private headers found"
22469 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
22470 echo "$as_me: error: Can't find Tcl private headers" >&2;}
22471 { (exit 1); exit 1; }; }
22473 if test x
"${ac_cv_c_tclh}" != x
; then
22475 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
22476 echo "$as_me:$LINENO: result: is installed" >&5
22477 echo "${ECHO_T}is installed" >&6
22480 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
22481 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
22482 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
22483 TCLHDIR
="-I${ac_cv_c_tclh}"
22491 # Ok, lets find the tk source trees so we can use the headers
22492 # If the directory (presumably symlink) named "tk" exists, use that one
22493 # in preference to any others. Same logic is used when choosing library
22494 # and again with Tcl. The search order is the best place to look first, then in
22495 # decreasing significance. The loop breaks if the trigger file is found.
22496 # Note the gross little conversion here of srcdir by cd'ing to the found
22497 # directory. This converts the path from a relative to an absolute, so
22498 # recursive cache variables for the path will work right. We check all
22499 # the possible paths in one loop rather than many seperate loops to speed
22501 # the alternative search directory is involked by --with-tkinclude
22504 echo "$as_me:$LINENO: checking for Tk private headers" >&5
22505 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
22507 # Check whether --with-tkinclude or --without-tkinclude was given.
22508 if test "${with_tkinclude+set}" = set; then
22509 withval
="$with_tkinclude"
22510 with_tkinclude
=${withval}
22512 if test "${ac_cv_c_tkh+set}" = set; then
22513 echo $ECHO_N "(cached) $ECHO_C" >&6
22516 # first check to see if --with-tkinclude was specified
22517 if test x
"${with_tkinclude}" != x
; then
22518 if test -f ${with_tkinclude}/tk.h
; then
22519 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
22520 elif test -f ${with_tkinclude}/generic
/tk.h
; then
22521 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
22523 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
22524 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
22525 { (exit 1); exit 1; }; }
22529 # next check if it came with Tk configuration file
22530 if test x
"${ac_cv_c_tkconfig}" = x
; then
22531 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
22532 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
22536 # next check in private source directory
22538 # since ls returns lowest version numbers first, reverse its output
22539 if test x
"${ac_cv_c_tkh}" = x
; then
22542 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
22543 ${srcdir}/..
/..
/tk \
22544 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
22545 ${srcdir}/..
/..
/..
/tk \
22546 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
22547 if test -f $i/generic
/tk.h
; then
22548 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
22553 # finally check in a few common install locations
22555 # since ls returns lowest version numbers first, reverse its output
22556 if test x
"${ac_cv_c_tkh}" = x
; then
22558 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
22559 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
22560 /usr
/local
/src
/tk \
22561 /usr
/local
/lib
/tk \
22562 ${prefix}/include
; do
22563 if test -f $i/generic
/tk.h
; then
22564 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
22569 # see if one is installed
22570 if test x
"${ac_cv_c_tkh}" = x
; then
22571 if test "${ac_cv_header_tk_h+set}" = set; then
22572 echo "$as_me:$LINENO: checking for tk.h" >&5
22573 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
22574 if test "${ac_cv_header_tk_h+set}" = set; then
22575 echo $ECHO_N "(cached) $ECHO_C" >&6
22577 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
22578 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
22580 # Is the header compilable?
22581 echo "$as_me:$LINENO: checking tk.h usability" >&5
22582 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
22583 cat >conftest.
$ac_ext <<_ACEOF
22586 cat confdefs.h
>>conftest.
$ac_ext
22587 cat >>conftest.
$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22589 $ac_includes_default
22592 rm -f conftest.
$ac_objext
22593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22594 (eval $ac_compile) 2>conftest.er1
22596 grep -v '^ *+' conftest.er1
>conftest.err
22598 cat conftest.err
>&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); } &&
22601 { ac_try
='test -z "$ac_c_werror_flag"
22602 || test ! -s conftest.err'
22603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22604 (eval $ac_try) 2>&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); }; } &&
22608 { ac_try
='test -s conftest.$ac_objext'
22609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22610 (eval $ac_try) 2>&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); }; }; then
22614 ac_header_compiler
=yes
22616 echo "$as_me: failed program was:" >&5
22617 sed 's/^/| /' conftest.
$ac_ext >&5
22619 ac_header_compiler
=no
22621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22623 echo "${ECHO_T}$ac_header_compiler" >&6
22625 # Is the header present?
22626 echo "$as_me:$LINENO: checking tk.h presence" >&5
22627 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
22628 cat >conftest.
$ac_ext <<_ACEOF
22631 cat confdefs.h
>>conftest.
$ac_ext
22632 cat >>conftest.
$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22639 grep -v '^ *+' conftest.er1
>conftest.err
22641 cat conftest.err
>&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); } >/dev
/null
; then
22644 if test -s conftest.err
; then
22645 ac_cpp_err
=$ac_c_preproc_warn_flag
22646 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22653 if test -z "$ac_cpp_err"; then
22654 ac_header_preproc
=yes
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.
$ac_ext >&5
22659 ac_header_preproc
=no
22661 rm -f conftest.err conftest.
$ac_ext
22662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22663 echo "${ECHO_T}$ac_header_preproc" >&6
22665 # So? What about this header?
22666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22668 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
22669 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
22671 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
22672 ac_header_preproc
=yes
22675 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
22676 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
22677 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
22678 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
22679 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
22680 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
22681 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
22682 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
22683 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
22684 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
22685 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
22686 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
22689 ## ------------------------------------------ ##
22690 ## Report this to the AC_PACKAGE_NAME lists. ##
22691 ## ------------------------------------------ ##
22694 sed "s/^/$as_me: WARNING: /" >&2
22697 echo "$as_me:$LINENO: checking for tk.h" >&5
22698 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
22699 if test "${ac_cv_header_tk_h+set}" = set; then
22700 echo $ECHO_N "(cached) $ECHO_C" >&6
22702 ac_cv_header_tk_h
=$ac_header_preproc
22704 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
22705 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
22708 if test $ac_cv_header_tk_h = yes; then
22709 ac_cv_c_tkh
=installed
22719 if test x
"${ac_cv_c_tkh}" != x
; then
22721 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
22722 echo "$as_me:$LINENO: result: is installed" >&5
22723 echo "${ECHO_T}is installed" >&6
22726 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
22727 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
22728 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
22729 TKHDIR
="-I${ac_cv_c_tkh}"
22732 TKHDIR
="# no Tk directory found"
22733 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
22734 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
22741 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
22742 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
22743 if test x
"${ac_cv_c_itclh}" = x
; then
22744 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
22745 if test -f $i/generic
/itcl.h
; then
22746 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
22751 if test x
"${ac_cv_c_itclh}" = x
; then
22752 ITCLHDIR
="# no Itcl private headers found"
22753 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
22754 echo "$as_me: error: Can't find Itcl private headers" >&2;}
22755 { (exit 1); exit 1; }; }
22757 if test x
"${ac_cv_c_itclh}" != x
; then
22758 ITCLHDIR
="-I${ac_cv_c_itclh}"
22760 # should always be here
22761 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
22766 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
22767 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
22768 if test x
"${ac_cv_c_itkh}" = x
; then
22769 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
22770 if test -f $i/generic
/itk.h
; then
22771 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
22776 if test x
"${ac_cv_c_itkh}" = x
; then
22777 ITKHDIR
="# no Itk private headers found"
22778 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
22779 echo "$as_me: error: Can't find Itk private headers" >&2;}
22780 { (exit 1); exit 1; }; }
22782 if test x
"${ac_cv_c_itkh}" != x
; then
22783 ITKHDIR
="-I${ac_cv_c_itkh}"
22785 # should always be here
22786 # ITKLIB="../itcl/itk/unix/libitk.a"
22792 # now look for Tk library stuff
22794 tkdir
="../tk/${configdir}/"
22796 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
22798 # now look for Itcl library stuff
22802 # Ok, lets find the itcl configuration
22803 # First, look for one uninstalled.
22804 # the alternative search directory is invoked by --with-itclconfig
22807 if test x
"${no_itcl}" = x
; then
22808 # we reset no_itcl in case something fails here
22811 # Check whether --with-itclconfig or --without-itclconfig was given.
22812 if test "${with_itclconfig+set}" = set; then
22813 withval
="$with_itclconfig"
22814 with_itclconfig
=${withval}
22816 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
22817 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
22818 if test "${ac_cv_c_itclconfig+set}" = set; then
22819 echo $ECHO_N "(cached) $ECHO_C" >&6
22823 # First check to see if --with-itclconfig was specified.
22824 if test x
"${with_itclconfig}" != x
; then
22825 if test -f "${with_itclconfig}/itclConfig.sh" ; then
22826 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
22828 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
22829 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
22830 { (exit 1); exit 1; }; }
22834 # then check for a private Itcl library
22835 if test x
"${ac_cv_c_itclconfig}" = x
; then
22838 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
22840 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
22842 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
22843 if test -f "$i/itclConfig.sh" ; then
22844 ac_cv_c_itclconfig
=`(cd $i; pwd)`
22849 # check in a few common install locations
22850 if test x
"${ac_cv_c_itclconfig}" = x
; then
22851 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22852 if test -f "$i/itclConfig.sh" ; then
22853 ac_cv_c_itclconfig
=`(cd $i; pwd)`
22858 # check in a few other private locations
22859 if test x
"${ac_cv_c_itclconfig}" = x
; then
22861 ${srcdir}/..
/itcl
/itcl \
22862 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
22863 if test -f "$i/itclConfig.sh" ; then
22864 ac_cv_c_itclconfig
=`(cd $i; pwd)`
22872 if test x
"${ac_cv_c_itclconfig}" = x
; then
22873 ITCLCONFIG
="# no Itcl configs found"
22874 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
22875 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
22878 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
22879 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
22880 echo "${ECHO_T}found $ITCLCONFIG" >&6
22884 if test -z "${no_itcl}"; then
22886 if test -f "$ITCLCONFIG" ; then
22901 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
22902 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
22906 # now look for Itk library stuff
22909 # Ok, lets find the itk configuration
22910 # First, look for one uninstalled.
22911 # the alternative search directory is invoked by --with-itkconfig
22914 if test x
"${no_itk}" = x
; then
22915 # we reset no_itk in case something fails here
22918 # Check whether --with-itkconfig or --without-itkconfig was given.
22919 if test "${with_itkconfig+set}" = set; then
22920 withval
="$with_itkconfig"
22921 with_itkconfig
=${withval}
22923 echo "$as_me:$LINENO: checking for Itk configuration" >&5
22924 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
22925 if test "${ac_cv_c_itkconfig+set}" = set; then
22926 echo $ECHO_N "(cached) $ECHO_C" >&6
22930 # First check to see if --with-itkconfig was specified.
22931 if test x
"${with_itkconfig}" != x
; then
22932 if test -f "${with_itkconfig}/itkConfig.sh" ; then
22933 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
22935 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
22936 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
22937 { (exit 1); exit 1; }; }
22941 # then check for a private Itk library
22942 if test x
"${ac_cv_c_itkconfig}" = x
; then
22945 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
22947 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
22949 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
22950 if test -f "$i/itkConfig.sh" ; then
22951 ac_cv_c_itkconfig
=`(cd $i; pwd)`
22956 # check in a few common install locations
22957 if test x
"${ac_cv_c_itkconfig}" = x
; then
22958 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22959 if test -f "$i/itkConfig.sh" ; then
22960 ac_cv_c_itkconfig
=`(cd $i; pwd)`
22965 # check in a few other private locations
22966 if test x
"${ac_cv_c_itkconfig}" = x
; then
22968 ${srcdir}/..
/itcl
/itk \
22969 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
22970 if test -f "$i/itkConfig.sh" ; then
22971 ac_cv_c_itkconfig
=`(cd $i; pwd)`
22979 if test x
"${ac_cv_c_itkconfig}" = x
; then
22980 ITKCONFIG
="# no Itk configs found"
22981 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
22982 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
22985 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
22986 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
22987 echo "${ECHO_T}found $ITKCONFIG" >&6
22992 if test -z "${no_itcl}"; then
22994 if test -f "$ITKCONFIG" ; then
23009 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
23010 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
23013 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
23015 # Include some libraries that Tcl and Tk want.
23016 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
23017 # Yes, the ordering seems wrong here. But it isn't.
23018 # TK_LIBS is the list of libraries that need to be linked
23019 # after Tcl/Tk. Note that this isn't put into LIBS. If it
23020 # were in LIBS then any link tests after this point would
23021 # try to include things like `$(LIBGUI)', which wouldn't work.
23022 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
23024 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
23025 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
23026 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
23027 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
23028 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
23029 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
23030 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
23032 if test x
$gdb_cv_os_cygwin = xyes
; then
23033 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
23034 WIN32LDAPP
="-Wl,--subsystem,console"
23035 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
23042 subdirs
="$subdirs gdbtk"
23059 echo "$as_me:$LINENO: checking for X" >&5
23060 echo $ECHO_N "checking for X... $ECHO_C" >&6
23063 # Check whether --with-x or --without-x was given.
23064 if test "${with_x+set}" = set; then
23068 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23069 if test "x$with_x" = xno
; then
23070 # The user explicitly disabled X.
23073 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23074 # Both variables are already set.
23077 if test "${ac_cv_have_x+set}" = set; then
23078 echo $ECHO_N "(cached) $ECHO_C" >&6
23080 # One or both of the vars are not set, and there is no cached value.
23081 ac_x_includes
=no ac_x_libraries
=no
23082 rm -fr conftest.dir
23083 if mkdir conftest.dir
; then
23085 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23086 cat >Imakefile
<<'_ACEOF'
23088 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23090 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23091 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23092 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23093 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23094 for ac_extension
in a so sl
; do
23095 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23096 test -f $ac_im_libdir/libX11.
$ac_extension; then
23097 ac_im_usrlibdir
=$ac_im_libdir; break
23100 # Screen out bogus values from the imake configuration. They are
23101 # bogus both because they are the default anyway, and because
23102 # using them would break gcc on systems where it needs fixed includes.
23103 case $ac_im_incroot in
23105 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23107 case $ac_im_usrlibdir in
23108 /usr
/lib |
/lib
) ;;
23109 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23113 rm -fr conftest.dir
23116 # Standard set of common directories for X headers.
23117 # Check X11 before X11Rn because it is often a symlink to the current release.
23129 /usr/local/X11/include
23130 /usr/local/X11R6/include
23131 /usr/local/X11R5/include
23132 /usr/local/X11R4/include
23134 /usr/local/include/X11
23135 /usr/local/include/X11R6
23136 /usr/local/include/X11R5
23137 /usr/local/include/X11R4
23141 /usr/XFree86/include/X11
23145 /usr/unsupported/include
23146 /usr/athena/include
23147 /usr/local/x11r5/include
23148 /usr/lpp/Xamples/include
23150 /usr/openwin/include
23151 /usr/openwin/share/include'
23153 if test "$ac_x_includes" = no
; then
23154 # Guess where to find include files, by looking for Intrinsic.h.
23155 # First, try using that file with no special directory specified.
23156 cat >conftest.
$ac_ext <<_ACEOF
23159 cat confdefs.h
>>conftest.
$ac_ext
23160 cat >>conftest.
$ac_ext <<_ACEOF
23161 /* end confdefs.h. */
23162 #include <X11/Intrinsic.h>
23164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23165 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23167 grep -v '^ *+' conftest.er1
>conftest.err
23169 cat conftest.err
>&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); } >/dev
/null
; then
23172 if test -s conftest.err
; then
23173 ac_cpp_err
=$ac_c_preproc_warn_flag
23174 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23181 if test -z "$ac_cpp_err"; then
23182 # We can compile using X headers with no special include directory.
23185 echo "$as_me: failed program was:" >&5
23186 sed 's/^/| /' conftest.
$ac_ext >&5
23188 for ac_dir
in $ac_x_header_dirs; do
23189 if test -r "$ac_dir/X11/Intrinsic.h"; then
23190 ac_x_includes
=$ac_dir
23195 rm -f conftest.err conftest.
$ac_ext
23196 fi # $ac_x_includes = no
23198 if test "$ac_x_libraries" = no
; then
23199 # Check for the libraries.
23200 # See if we find them without any special options.
23201 # Don't add to $LIBS permanently.
23204 cat >conftest.
$ac_ext <<_ACEOF
23207 cat confdefs.h
>>conftest.
$ac_ext
23208 cat >>conftest.
$ac_ext <<_ACEOF
23209 /* end confdefs.h. */
23210 #include <X11/Intrinsic.h>
23219 rm -f conftest.
$ac_objext conftest
$ac_exeext
23220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23221 (eval $ac_link) 2>conftest.er1
23223 grep -v '^ *+' conftest.er1
>conftest.err
23225 cat conftest.err
>&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } &&
23228 { ac_try
='test -z "$ac_c_werror_flag"
23229 || test ! -s conftest.err'
23230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23231 (eval $ac_try) 2>&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); }; } &&
23235 { ac_try
='test -s conftest$ac_exeext'
23236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23237 (eval $ac_try) 2>&5
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); }; }; then
23242 # We can link X programs with no special library path.
23245 echo "$as_me: failed program was:" >&5
23246 sed 's/^/| /' conftest.
$ac_ext >&5
23249 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23251 # Don't even attempt the hair of trying to link an X program!
23252 for ac_extension
in a so sl
; do
23253 if test -r $ac_dir/libXt.
$ac_extension; then
23254 ac_x_libraries
=$ac_dir
23260 rm -f conftest.err conftest.
$ac_objext \
23261 conftest
$ac_exeext conftest.
$ac_ext
23262 fi # $ac_x_libraries = no
23264 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
23265 # Didn't find X anywhere. Cache the known absence of X.
23266 ac_cv_have_x
="have_x=no"
23268 # Record where we found X for the cache.
23269 ac_cv_have_x
="have_x=yes \
23270 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23275 eval "$ac_cv_have_x"
23278 if test "$have_x" != yes; then
23279 echo "$as_me:$LINENO: result: $have_x" >&5
23280 echo "${ECHO_T}$have_x" >&6
23283 # If each of the values was on the command line, it overrides each guess.
23284 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23285 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23286 # Update the cache value to reflect the command line values.
23287 ac_cv_have_x
="have_x=yes \
23288 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23289 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23290 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23294 # Check whether we should enable the TUI, but only do so if we really
23296 if test x
"$enable_tui" = xyes
; then
23297 if test -d $srcdir/tui
; then
23298 if test "$ac_cv_search_waddstr" != no
; then
23299 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
23300 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
23301 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
23302 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
23303 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
23304 CONFIG_ALL
="${CONFIG_ALL} all-tui"
23305 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
23306 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
23307 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
23309 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
23310 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
23315 # Unlike the sim directory, whether a simulator is linked is controlled by
23316 # presence of a SIM= and a SIM_OBS= definition in the target '.mt' file.
23317 # This code just checks for a few cases where we'd like to ignore those
23318 # definitions, even when they're present in the '.mt' file. These cases
23319 # are when --disable-sim is specified, or if the simulator directory is
23320 # not part of the source tree.
23322 # Check whether --enable-sim or --disable-sim was given.
23323 if test "${enable_sim+set}" = set; then
23324 enableval
="$enable_sim"
23325 echo "enable_sim = $enable_sim";
23326 echo "enableval = ${enableval}";
23327 case "${enableval}" in
23328 yes) ignore_sim
=false
;;
23329 no
) ignore_sim
=true
;;
23330 *) ignore_sim
=false
;;
23336 if test ! -d "${srcdir}/../sim"; then
23340 if test "${ignore_sim}" = "true"; then
23342 IGNORE_SIM_OBS
="SIM_OBS="
23347 cat >>confdefs.h
<<\_ACEOF
23366 # List of host floatformats.
23368 cat >>confdefs.h
<<_ACEOF
23369 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
23373 cat >>confdefs.h
<<_ACEOF
23374 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
23378 cat >>confdefs.h
<<_ACEOF
23379 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
23383 # target_subdir is used by the testsuite to find the target libraries.
23385 if test "${host}" != "${target}"; then
23386 target_subdir
="${target_alias}/"
23391 if test "${gdb_native}" = "yes"; then
23392 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
23393 if test ! -f ${host_makefile_frag}; then
23394 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
23395 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
23396 { (exit 1); exit 1; }; }
23398 frags
="$frags $host_makefile_frag"
23400 host_makefile_frag
=/dev
/null
23403 target_makefile_frag
=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
23404 if test ! -f ${target_makefile_frag}; then
23405 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support target ${target}\"" >&5
23406 echo "$as_me: error: \"*** Gdb does not support target ${target}\"" >&2;}
23407 { (exit 1); exit 1; }; }
23409 frags
="$frags $target_makefile_frag"
23416 s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
23417 ' ${host_makefile_frag}`
23419 targetfile
=`sed -n '
23420 s/^[ ]*DEPRECATED_TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
23421 ' ${target_makefile_frag}`
23423 if test "${gdb_native}" = "yes"; then
23424 # We pick this up from the host configuration file (.mh) because we
23425 # do not have a native configuration Makefile fragment.
23426 nativefile
=`sed -n '
23427 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
23428 ' ${host_makefile_frag}`
23432 if test x
"${gdb_osabi}" != x
; then
23434 cat >>confdefs.h
<<_ACEOF
23435 #define GDB_OSABI_DEFAULT $gdb_osabi
23440 # Enable multi-ice-gdb-server.
23441 # Check whether --enable-multi-ice or --disable-multi-ice was given.
23442 if test "${enable_multi_ice+set}" = set; then
23443 enableval
="$enable_multi_ice"
23447 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
23448 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
23449 { (exit 1); exit 1; }; } ;;
23452 if test "x$enable_multi_ice" = xyes
; then
23455 subdirs
="$subdirs multi-ice"
23459 # We only build gdbserver automatically in a native configuration.
23460 if test "$gdb_native" = "yes"; then
23461 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
23462 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
23463 if test "x$build_gdbserver" = xyes
; then
23464 echo "$as_me:$LINENO: result: yes" >&5
23465 echo "${ECHO_T}yes" >&6
23468 subdirs
="$subdirs gdbserver"
23471 echo "$as_me:$LINENO: result: no" >&5
23472 echo "${ECHO_T}no" >&6
23476 # If hostfile (XM_FILE) and/or targetfile (DEPRECATED_TM_FILE) and/or
23477 # nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
23478 # to an empty version.
23485 if test "${hostfile}" != ""; then
23487 case "${hostfile}" in
23488 xm-
*.h
) GDB_XM_FILE
="config/${gdb_host_cpu}/${hostfile}" ;;
23489 * ) GDB_XM_FILE
="${hostfile}"
23491 files
="${files} ${GDB_XM_FILE}"
23492 links
="${links} xm.h"
23494 cat >>confdefs.h
<<_ACEOF
23495 #define GDB_XM_FILE "${GDB_XM_FILE}"
23503 if test "${targetfile}" != ""; then
23505 case "${targetfile}" in
23506 tm-
*.h
) GDB_TM_FILE
="config/${gdb_target_cpu}/${targetfile}" ;;
23507 * ) GDB_TM_FILE
="${targetfile}"
23509 files
="${files} ${GDB_TM_FILE}"
23510 links
="${links} tm.h"
23512 cat >>confdefs.h
<<_ACEOF
23513 #define GDB_TM_FILE "${GDB_TM_FILE}"
23521 if test "${nativefile}" != ""; then
23523 case "${nativefile}" in
23524 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
23525 * ) GDB_NM_FILE
="${nativefile}"
23527 files
="${files} ${GDB_NM_FILE}"
23528 links
="${links} nm.h"
23530 cat >>confdefs.h
<<_ACEOF
23531 #define GDB_NM_FILE "${GDB_NM_FILE}"
23537 ac_sources
="$files"
23539 while test -n "$ac_sources"; do
23540 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
23541 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
23542 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
23544 ac_config_links
="$ac_config_links $ac_config_links_1"
23551 cat >>confdefs.h
<<\_ACEOF
23552 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
23559 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
23560 if test "${with_libiconv_prefix+set}" = set; then
23561 withval
="$with_libiconv_prefix"
23563 for dir
in `echo "$withval" | tr : ' '`; do
23564 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
23565 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
23570 echo "$as_me:$LINENO: checking for iconv" >&5
23571 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
23572 if test "${am_cv_func_iconv+set}" = set; then
23573 echo $ECHO_N "(cached) $ECHO_C" >&6
23576 am_cv_func_iconv
="no, consider installing GNU libiconv"
23578 cat >conftest.
$ac_ext <<_ACEOF
23581 cat confdefs.h
>>conftest.
$ac_ext
23582 cat >>conftest.
$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23584 #include <stdlib.h>
23589 iconv_t cd = iconv_open("","");
23590 iconv(cd,NULL,NULL,NULL,NULL);
23596 rm -f conftest.
$ac_objext conftest
$ac_exeext
23597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23598 (eval $ac_link) 2>conftest.er1
23600 grep -v '^ *+' conftest.er1
>conftest.err
23602 cat conftest.err
>&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); } &&
23605 { ac_try
='test -z "$ac_c_werror_flag"
23606 || test ! -s conftest.err'
23607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23608 (eval $ac_try) 2>&5
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); }; } &&
23612 { ac_try
='test -s conftest$ac_exeext'
23613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23614 (eval $ac_try) 2>&5
23616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617 (exit $ac_status); }; }; then
23618 am_cv_func_iconv
=yes
23620 echo "$as_me: failed program was:" >&5
23621 sed 's/^/| /' conftest.
$ac_ext >&5
23624 rm -f conftest.err conftest.
$ac_objext \
23625 conftest
$ac_exeext conftest.
$ac_ext
23626 if test "$am_cv_func_iconv" != yes; then
23627 am_save_LIBS
="$LIBS"
23628 LIBS
="$LIBS -liconv"
23629 cat >conftest.
$ac_ext <<_ACEOF
23632 cat confdefs.h
>>conftest.
$ac_ext
23633 cat >>conftest.
$ac_ext <<_ACEOF
23634 /* end confdefs.h. */
23635 #include <stdlib.h>
23640 iconv_t cd = iconv_open("","");
23641 iconv(cd,NULL,NULL,NULL,NULL);
23647 rm -f conftest.
$ac_objext conftest
$ac_exeext
23648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23649 (eval $ac_link) 2>conftest.er1
23651 grep -v '^ *+' conftest.er1
>conftest.err
23653 cat conftest.err
>&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } &&
23656 { ac_try
='test -z "$ac_c_werror_flag"
23657 || test ! -s conftest.err'
23658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23659 (eval $ac_try) 2>&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); }; } &&
23663 { ac_try
='test -s conftest$ac_exeext'
23664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23665 (eval $ac_try) 2>&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); }; }; then
23669 am_cv_lib_iconv
=yes
23670 am_cv_func_iconv
=yes
23672 echo "$as_me: failed program was:" >&5
23673 sed 's/^/| /' conftest.
$ac_ext >&5
23676 rm -f conftest.err conftest.
$ac_objext \
23677 conftest
$ac_exeext conftest.
$ac_ext
23678 LIBS
="$am_save_LIBS"
23682 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
23683 echo "${ECHO_T}$am_cv_func_iconv" >&6
23684 if test "$am_cv_func_iconv" = yes; then
23686 cat >>confdefs.h
<<\_ACEOF
23687 #define HAVE_ICONV 1
23690 echo "$as_me:$LINENO: checking for iconv declaration" >&5
23691 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
23692 if test "${am_cv_proto_iconv+set}" = set; then
23693 echo $ECHO_N "(cached) $ECHO_C" >&6
23696 cat >conftest.
$ac_ext <<_ACEOF
23699 cat confdefs.h
>>conftest.
$ac_ext
23700 cat >>conftest.
$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23703 #include <stdlib.h>
23709 #if defined(__STDC__) || defined(__cplusplus)
23710 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
23723 rm -f conftest.
$ac_objext
23724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23725 (eval $ac_compile) 2>conftest.er1
23727 grep -v '^ *+' conftest.er1
>conftest.err
23729 cat conftest.err
>&5
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); } &&
23732 { ac_try
='test -z "$ac_c_werror_flag"
23733 || test ! -s conftest.err'
23734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23735 (eval $ac_try) 2>&5
23737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738 (exit $ac_status); }; } &&
23739 { ac_try
='test -s conftest.$ac_objext'
23740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23741 (eval $ac_try) 2>&5
23743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744 (exit $ac_status); }; }; then
23745 am_cv_proto_iconv_arg1
=""
23747 echo "$as_me: failed program was:" >&5
23748 sed 's/^/| /' conftest.
$ac_ext >&5
23750 am_cv_proto_iconv_arg1
="const"
23752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23753 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);"
23756 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
23757 echo "$as_me:$LINENO: result: ${ac_t:-
23758 }$am_cv_proto_iconv" >&5
23759 echo "${ECHO_T}${ac_t:-
23760 }$am_cv_proto_iconv" >&6
23762 cat >>confdefs.h
<<_ACEOF
23763 #define ICONV_CONST $am_cv_proto_iconv_arg1
23768 if test "$am_cv_lib_iconv" = yes; then
23774 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in"
23775 ac_config_commands
="$ac_config_commands default"
23776 cat >confcache
<<\_ACEOF
23777 # This file is a shell script that caches the results of configure
23778 # tests run on this system so they can be shared between configure
23779 # scripts and configure runs, see configure's option --config-cache.
23780 # It is not useful on other systems. If it contains results you don't
23781 # want to keep, you may remove or edit it.
23783 # config.status only pays attention to the cache file if you give it
23784 # the --recheck option to rerun configure.
23786 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23787 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23788 # following values.
23792 # The following way of writing the cache mishandles newlines in values,
23793 # but we know of no workaround that is simple, portable, and efficient.
23794 # So, don't put newlines in cache variables' values.
23795 # Ultrix sh set writes to stderr and can't be redirected directly,
23796 # and sets the high bit in the cache file unless we assign to the vars.
23799 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23801 # `set' does not quote correctly, so add quotes (double-quote
23802 # substitution turns \\\\ into \\, and sed turns \\ into \).
23805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23808 # `set' quotes correctly as required by POSIX, so do not add quotes.
23810 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23817 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23819 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23821 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23822 if test -w $cache_file; then
23823 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23824 cat confcache
>$cache_file
23826 echo "not updating unwritable cache $cache_file"
23831 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23832 # Let make expand exec_prefix.
23833 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23835 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23836 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23837 # trailing colons and then remove the whole line if VPATH becomes empty
23838 # (actually we leave an empty line to preserve line numbers).
23839 if test "x$srcdir" = x.
; then
23840 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23841 s/:*\$(srcdir):*/:/;
23842 s/:*\${srcdir}:*/:/;
23844 s/^\([^=]*=[ ]*\):*/\1/;
23850 DEFS
=-DHAVE_CONFIG_H
23854 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23855 # 1. Remove the extension, and $U if already installed.
23856 ac_i
=`echo "$ac_i" |
23857 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23859 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
23860 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
23862 LIBOBJS
=$ac_libobjs
23864 LTLIBOBJS
=$ac_ltlibobjs
23867 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23868 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23869 Usually this means the macro was only invoked conditionally." >&5
23870 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23871 Usually this means the macro was only invoked conditionally." >&2;}
23872 { (exit 1); exit 1; }; }
23875 : ${CONFIG_STATUS=./config.status}
23876 ac_clean_files_save
=$ac_clean_files
23877 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23878 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23879 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23880 cat >$CONFIG_STATUS <<_ACEOF
23882 # Generated by $as_me.
23883 # Run this file to recreate the current configuration.
23884 # Compiler output produced by configure, useful for debugging
23885 # configure, is in config.log if it exists.
23888 ac_cs_recheck=false
23890 SHELL=\${CONFIG_SHELL-$SHELL}
23893 cat >>$CONFIG_STATUS <<\_ACEOF
23894 ## --------------------- ##
23895 ## M4sh Initialization. ##
23896 ## --------------------- ##
23898 # Be Bourne compatible
23899 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23902 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23903 # is contrary to our usage. Disable this feature.
23904 alias -g '${1+"$@"}'='"$@"'
23905 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
23908 DUALCASE
=1; export DUALCASE
# for MKS sh
23910 # Support unset when possible.
23911 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23918 # Work around bugs in pre-3.0 UWIN ksh.
23919 $as_unset ENV MAIL MAILPATH
23926 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23927 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23928 LC_TELEPHONE LC_TIME
23930 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23931 eval $as_var=C
; export $as_var
23937 # Required to use basename.
23938 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23944 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
23945 as_basename
=basename
23951 # Name of the executable.
23952 as_me
=`$as_basename "$0" ||
23953 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23954 X"$0" : 'X\(//\)$' \| \
23955 X"$0" : 'X\(/\)$' \| \
23956 . : '\(.\)' 2>/dev/null ||
23958 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23959 /^X\/\(\/\/\)$/{ s//\1/; q; }
23960 /^X\/\(\/\).*/{ s//\1/; q; }
23964 # PATH needs CR, and LINENO needs CR and PATH.
23965 # Avoid depending upon Character Ranges.
23966 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23967 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23968 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23969 as_cr_digits
='0123456789'
23970 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23972 # The user is always right.
23973 if test "${PATH_SEPARATOR+set}" != set; then
23974 echo "#! /bin/sh" >conf$$.sh
23975 echo "exit 0" >>conf$$.sh
23977 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23986 as_lineno_1
=$LINENO
23987 as_lineno_2
=$LINENO
23988 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
23989 test "x$as_lineno_1" != "x$as_lineno_2" &&
23990 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
23991 # Find who we are. Look in the path if we contain no path at all
23994 *[\\/]* ) as_myself
=$0 ;;
23995 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23996 for as_dir
in $PATH
23999 test -z "$as_dir" && as_dir
=.
24000 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24005 # We did not find ourselves, most probably we were run as `sh COMMAND'
24006 # in which case we are not to be found in the path.
24007 if test "x$as_myself" = x
; then
24010 if test ! -f "$as_myself"; then
24011 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24012 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24013 { (exit 1); exit 1; }; }
24015 case $CONFIG_SHELL in
24017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24018 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
24021 test -z "$as_dir" && as_dir
=.
24022 for as_base
in sh bash ksh sh5
; do
24025 if ("$as_dir/$as_base" -c '
24026 as_lineno_1=$LINENO
24027 as_lineno_2=$LINENO
24028 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24029 test "x$as_lineno_1" != "x$as_lineno_2" &&
24030 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
24031 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
24032 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
24033 CONFIG_SHELL
=$as_dir/$as_base
24034 export CONFIG_SHELL
24035 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24043 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24044 # uniformly replaced by the line number. The first 'sed' inserts a
24045 # line-number line before each line; the second 'sed' does the real
24046 # work. The second script uses 'N' to pair each line-number line
24047 # with the numbered line, and appends trailing '-' during
24048 # substitution so that $LINENO is not a special case at line end.
24049 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24050 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24051 sed '=' <$as_myself |
24056 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24059 s,^['$as_cr_digits']*\n,,
24060 ' >$as_me.lineno
&&
24061 chmod +x
$as_me.lineno ||
24062 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24063 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24064 { (exit 1); exit 1; }; }
24066 # Don't try to exec as it changes $[0], causing all sort of problems
24067 # (the dirname of $[0] is not the place where we might find the
24068 # original and so on. Autoconf is especially sensible to this).
24070 # Exit status is that of the last command.
24075 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24076 *c
*,-n*) ECHO_N
= ECHO_C
='
24078 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
24079 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
24082 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24088 rm -f conf$$ conf$$.exe conf$$.
file
24090 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24091 # We could just check for DJGPP; but this test a) works b) is more generic
24092 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24093 if test -f conf$$.exe
; then
24094 # Don't use ln at all; we don't have any links
24099 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24104 rm -f conf$$ conf$$.exe conf$$.
file
24106 if mkdir
-p .
2>/dev
/null
; then
24109 test -d .
/-p && rmdir .
/-p
24113 as_executable_p
="test -f"
24115 # Sed expression to map a string onto a valid CPP name.
24116 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24118 # Sed expression to map a string onto a valid variable name.
24119 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24123 # We need space, tab and new line, in precisely that order.
24133 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24134 # report actual input values of CONFIG_FILES etc. instead of their
24135 # values after options handling. Logging --version etc. is OK.
24139 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24140 ## Running $as_me. ##
24145 This file was extended by $as_me, which was
24146 generated by GNU Autoconf 2.59. Invocation command line was
24148 CONFIG_FILES = $CONFIG_FILES
24149 CONFIG_HEADERS = $CONFIG_HEADERS
24150 CONFIG_LINKS = $CONFIG_LINKS
24151 CONFIG_COMMANDS = $CONFIG_COMMANDS
24155 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24159 # Files that config.status was made for.
24160 if test -n "$ac_config_files"; then
24161 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24164 if test -n "$ac_config_headers"; then
24165 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24168 if test -n "$ac_config_links"; then
24169 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24172 if test -n "$ac_config_commands"; then
24173 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24176 cat >>$CONFIG_STATUS <<\_ACEOF
24179 \`$as_me' instantiates files from templates according to the
24180 current configuration.
24182 Usage: $0 [OPTIONS] [FILE]...
24184 -h, --help print this help, then exit
24185 -V, --version print version number, then exit
24186 -q, --quiet do not print progress messages
24187 -d, --debug don't remove temporary files
24188 --recheck update $as_me by reconfiguring in the same conditions
24189 --file=FILE[:TEMPLATE]
24190 instantiate the configuration file FILE
24191 --header=FILE[:TEMPLATE]
24192 instantiate the configuration header FILE
24194 Configuration files:
24197 Configuration headers:
24200 Configuration links:
24203 Configuration commands:
24206 Report bugs to <bug-autoconf@gnu.org>."
24209 cat >>$CONFIG_STATUS <<_ACEOF
24212 configured by $0, generated by GNU Autoconf 2.59,
24213 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24215 Copyright (C) 2003 Free Software Foundation, Inc.
24216 This config.status script is free software; the Free Software Foundation
24217 gives unlimited permission to copy, distribute and modify it."
24222 cat >>$CONFIG_STATUS <<\_ACEOF
24223 # If no file are specified by the user, then we need to provide default
24224 # value. By we need to know if files were specified by the user.
24230 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
24231 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
24239 *) # This is not an option, so the user has probably given explicit
24242 ac_need_defaults
=false
;;
24246 # Handling of the options.
24248 cat >>$CONFIG_STATUS <<\_ACEOF
24249 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24251 --version |
--vers* |
-V )
24252 echo "$ac_cs_version"; exit 0 ;;
24254 # Conflict between --help and --header
24255 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24256 Try \`$0 --help' for more information." >&5
24257 echo "$as_me: error: ambiguous option: $1
24258 Try \`$0 --help' for more information." >&2;}
24259 { (exit 1); exit 1; }; };;
24260 --help |
--hel |
-h )
24261 echo "$ac_cs_usage"; exit 0 ;;
24262 --debug |
--d* |
-d )
24264 --file |
--fil |
--fi |
--f )
24266 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24267 ac_need_defaults
=false
;;
24268 --header |
--heade |
--head |
--hea )
24270 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24271 ac_need_defaults
=false
;;
24272 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24273 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24276 # This is an error.
24277 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24278 Try \`$0 --help' for more information." >&5
24279 echo "$as_me: error: unrecognized option: $1
24280 Try \`$0 --help' for more information." >&2;}
24281 { (exit 1); exit 1; }; } ;;
24283 *) ac_config_targets
="$ac_config_targets $1" ;;
24289 ac_configure_extra_args
=
24291 if $ac_cs_silent; then
24293 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24297 cat >>$CONFIG_STATUS <<_ACEOF
24298 if \$ac_cs_recheck; then
24299 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24300 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24305 cat >>$CONFIG_STATUS <<_ACEOF
24307 # INIT-COMMANDS section.
24313 acx_cv_header_stdint="$acx_cv_header_stdint"
24314 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24315 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24316 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24317 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24318 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24319 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24320 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24321 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24322 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24323 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24324 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24325 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24326 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24329 gdb_host_cpu=$gdb_host_cpu
24330 gdb_target_cpu=$gdb_target_cpu
24331 nativefile=$nativefile
24338 cat >>$CONFIG_STATUS <<\_ACEOF
24339 for ac_config_target
in $ac_config_targets
24341 case "$ac_config_target" in
24342 # Handling of arguments.
24343 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24344 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
24345 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
24346 "gdb_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gdb_stdint.h" ;;
24347 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
24348 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
24349 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24350 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24351 { (exit 1); exit 1; }; };;
24355 # If the user did not use the arguments to specify the items to instantiate,
24356 # then the envvar interface is used. Set only those that are not.
24357 # We use the long form for the default assignment because of an extremely
24358 # bizarre bug on SunOS 4.1.3.
24359 if $ac_need_defaults; then
24360 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24361 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24362 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
24363 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24366 # Have a temporary directory for convenience. Make it in the build tree
24367 # simply because there is no reason to put it here, and in addition,
24368 # creating and moving files from /tmp can sometimes cause problems.
24369 # Create a temporary directory, and hook for its removal unless debugging.
24372 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24373 trap '{ (exit 1); exit 1; }' 1 2 13 15
24376 # Create a (secure) tmp directory for tmp files.
24379 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24380 test -n "$tmp" && test -d "$tmp"
24383 tmp
=.
/confstat$$
-$RANDOM
24384 (umask 077 && mkdir
$tmp)
24387 echo "$me: cannot create a temporary directory in ." >&2
24388 { (exit 1); exit 1; }
24393 cat >>$CONFIG_STATUS <<_ACEOF
24396 # CONFIG_FILES section.
24399 # No need to generate the scripts if there are no CONFIG_FILES.
24400 # This happens for instance when ./config.status config.h
24401 if test -n "\$CONFIG_FILES"; then
24402 # Protect against being on the right side of a sed subst in config.status.
24403 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24404 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24405 s,@SHELL@,$SHELL,;t t
24406 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24407 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24408 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24409 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24410 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24411 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24412 s,@exec_prefix@,$exec_prefix,;t t
24413 s,@prefix@,$prefix,;t t
24414 s,@program_transform_name@,$program_transform_name,;t t
24415 s,@bindir@,$bindir,;t t
24416 s,@sbindir@,$sbindir,;t t
24417 s,@libexecdir@,$libexecdir,;t t
24418 s,@datadir@,$datadir,;t t
24419 s,@sysconfdir@,$sysconfdir,;t t
24420 s,@sharedstatedir@,$sharedstatedir,;t t
24421 s,@localstatedir@,$localstatedir,;t t
24422 s,@libdir@,$libdir,;t t
24423 s,@includedir@,$includedir,;t t
24424 s,@oldincludedir@,$oldincludedir,;t t
24425 s,@infodir@,$infodir,;t t
24426 s,@mandir@,$mandir,;t t
24427 s,@build_alias@,$build_alias,;t t
24428 s,@host_alias@,$host_alias,;t t
24429 s,@target_alias@,$target_alias,;t t
24430 s,@DEFS@,$DEFS,;t t
24431 s,@ECHO_C@,$ECHO_C,;t t
24432 s,@ECHO_N@,$ECHO_N,;t t
24433 s,@ECHO_T@,$ECHO_T,;t t
24434 s,@LIBS@,$LIBS,;t t
24435 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24436 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24437 s,@MAINT@,$MAINT,;t t
24439 s,@CFLAGS@,$CFLAGS,;t t
24440 s,@LDFLAGS@,$LDFLAGS,;t t
24441 s,@CPPFLAGS@,$CPPFLAGS,;t t
24442 s,@ac_ct_CC@,$ac_ct_CC,;t t
24443 s,@EXEEXT@,$EXEEXT,;t t
24444 s,@OBJEXT@,$OBJEXT,;t t
24446 s,@EGREP@,$EGREP,;t t
24447 s,@build@,$build,;t t
24448 s,@build_cpu@,$build_cpu,;t t
24449 s,@build_vendor@,$build_vendor,;t t
24450 s,@build_os@,$build_os,;t t
24451 s,@host@,$host,;t t
24452 s,@host_cpu@,$host_cpu,;t t
24453 s,@host_vendor@,$host_vendor,;t t
24454 s,@host_os@,$host_os,;t t
24455 s,@target@,$target,;t t
24456 s,@target_cpu@,$target_cpu,;t t
24457 s,@target_vendor@,$target_vendor,;t t
24458 s,@target_os@,$target_os,;t t
24459 s,@USE_NLS@,$USE_NLS,;t t
24460 s,@LIBINTL@,$LIBINTL,;t t
24461 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
24462 s,@INCINTL@,$INCINTL,;t t
24463 s,@XGETTEXT@,$XGETTEXT,;t t
24464 s,@GMSGFMT@,$GMSGFMT,;t t
24465 s,@POSUB@,$POSUB,;t t
24466 s,@CATALOGS@,$CATALOGS,;t t
24467 s,@DATADIRNAME@,$DATADIRNAME,;t t
24468 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
24469 s,@GENCAT@,$GENCAT,;t t
24470 s,@CATOBJEXT@,$CATOBJEXT,;t t
24471 s,@localedir@,$localedir,;t t
24472 s,@PACKAGE@,$PACKAGE,;t t
24473 s,@subdirs@,$subdirs,;t t
24475 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24476 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24477 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24478 s,@LN_S@,$LN_S,;t t
24479 s,@RANLIB@,$RANLIB,;t t
24480 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24481 s,@YACC@,$YACC,;t t
24483 s,@ac_ct_AR@,$ac_ct_AR,;t t
24484 s,@DLLTOOL@,$DLLTOOL,;t t
24485 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
24486 s,@WINDRES@,$WINDRES,;t t
24487 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
24489 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
24490 s,@READLINE@,$READLINE,;t t
24491 s,@READLINE_DEPS@,$READLINE_DEPS,;t t
24492 s,@READLINE_CFLAGS@,$READLINE_CFLAGS,;t t
24493 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
24494 s,@LIBEXPAT@,$LIBEXPAT,;t t
24495 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
24496 s,@ALLOCA@,$ALLOCA,;t t
24497 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
24498 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
24499 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
24500 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
24501 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
24502 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
24503 s,@WIN32LIBS@,$WIN32LIBS,;t t
24504 s,@LIBGUI@,$LIBGUI,;t t
24505 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
24506 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
24507 s,@TCL_VERSION@,$TCL_VERSION,;t t
24508 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
24509 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
24510 s,@TCL_CC@,$TCL_CC,;t t
24511 s,@TCL_DEFS@,$TCL_DEFS,;t t
24512 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
24513 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
24514 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
24515 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
24516 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
24517 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
24518 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
24519 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
24520 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
24521 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
24522 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
24523 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
24524 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
24525 s,@TK_VERSION@,$TK_VERSION,;t t
24526 s,@TK_DEFS@,$TK_DEFS,;t t
24527 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
24528 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
24529 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
24530 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
24531 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
24532 s,@TCLHDIR@,$TCLHDIR,;t t
24533 s,@TKHDIR@,$TKHDIR,;t t
24534 s,@ITCLHDIR@,$ITCLHDIR,;t t
24535 s,@ITKHDIR@,$ITKHDIR,;t t
24536 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
24537 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
24538 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
24539 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
24540 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
24541 s,@ITK_VERSION@,$ITK_VERSION,;t t
24542 s,@ITK_DEFS@,$ITK_DEFS,;t t
24543 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
24544 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
24545 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
24546 s,@X_CFLAGS@,$X_CFLAGS,;t t
24547 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
24548 s,@X_LIBS@,$X_LIBS,;t t
24549 s,@TCL_DEPS@,$TCL_DEPS,;t t
24550 s,@TK_DEPS@,$TK_DEPS,;t t
24551 s,@ITCLLIB@,$ITCLLIB,;t t
24552 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
24553 s,@ITKLIB@,$ITKLIB,;t t
24554 s,@ITK_DEPS@,$ITK_DEPS,;t t
24555 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
24556 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
24557 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
24558 s,@IGNORE_SIM@,$IGNORE_SIM,;t t
24559 s,@IGNORE_SIM_OBS@,$IGNORE_SIM_OBS,;t t
24560 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
24561 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
24562 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
24563 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
24564 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
24565 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
24566 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
24567 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
24568 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
24569 s,@target_subdir@,$target_subdir,;t t
24570 s,@frags@,$frags,;t t
24571 s,@xm_h@,$xm_h,;t t
24572 s,@tm_h@,$tm_h,;t t
24573 s,@nm_h@,$nm_h,;t t
24574 s,@LIBICONV@,$LIBICONV,;t t
24575 s,@LIBOBJS@,$LIBOBJS,;t t
24576 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24577 /@host_makefile_frag@/r $host_makefile_frag
24578 s,@host_makefile_frag@,,;t t
24579 /@target_makefile_frag@/r $target_makefile_frag
24580 s,@target_makefile_frag@,,;t t
24585 cat >>$CONFIG_STATUS <<\_ACEOF
24586 # Split the substitutions into bite-sized pieces for seds with
24587 # small command number limits, like on Digital OSF/1 and HP-UX.
24588 ac_max_sed_lines
=48
24589 ac_sed_frag
=1 # Number of current file.
24590 ac_beg
=1 # First line for current file.
24591 ac_end
=$ac_max_sed_lines # Line after last line for current file.
24594 while $ac_more_lines; do
24595 if test $ac_beg -gt 1; then
24596 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24598 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24600 if test ! -s $tmp/subs.frag
; then
24601 ac_more_lines
=false
24603 # The purpose of the label and of the branching condition is to
24604 # speed up the sed processing (if there are no `@' at all, there
24605 # is no need to browse any of the substitutions).
24606 # These are the two extra sed commands mentioned above.
24608 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
24609 if test -z "$ac_sed_cmds"; then
24610 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
24612 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24614 ac_sed_frag
=`expr $ac_sed_frag + 1`
24616 ac_end
=`expr $ac_end + $ac_max_sed_lines`
24619 if test -z "$ac_sed_cmds"; then
24622 fi # test -n "$CONFIG_FILES"
24625 cat >>$CONFIG_STATUS <<\_ACEOF
24626 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
24627 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24629 - |
*:- |
*:-:* ) # input from stdin
24631 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24632 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24633 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24634 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24635 * ) ac_file_in
=$ac_file.
in ;;
24638 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24639 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24640 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24641 X"$ac_file" : 'X\(//\)[^/]' \| \
24642 X"$ac_file" : 'X\(//\)$' \| \
24643 X"$ac_file" : 'X\(/\)' \| \
24644 . : '\(.\)' 2>/dev/null ||
24646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24647 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24648 /^X\(\/\/\)$/{ s//\1/; q; }
24649 /^X\(\/\).*/{ s//\1/; q; }
24651 { if $as_mkdir_p; then
24656 while test ! -d "$as_dir"; do
24657 as_dirs
="$as_dir $as_dirs"
24658 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24659 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24660 X"$as_dir" : 'X\(//\)[^/]' \| \
24661 X"$as_dir" : 'X\(//\)$' \| \
24662 X"$as_dir" : 'X\(/\)' \| \
24663 . : '\(.\)' 2>/dev/null ||
24665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24666 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24667 /^X\(\/\/\)$/{ s//\1/; q; }
24668 /^X\(\/\).*/{ s//\1/; q; }
24671 test ! -n "$as_dirs" || mkdir
$as_dirs
24672 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24673 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24674 { (exit 1); exit 1; }; }; }
24678 if test "$ac_dir" != .
; then
24679 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24680 # A "../" for each directory in $ac_dir_suffix.
24681 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24683 ac_dir_suffix
= ac_top_builddir
=
24687 .
) # No --srcdir option. We are building in place.
24689 if test -z "$ac_top_builddir"; then
24692 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24694 [\\/]* | ?
:[\\/]* ) # Absolute path.
24695 ac_srcdir
=$srcdir$ac_dir_suffix;
24696 ac_top_srcdir
=$srcdir ;;
24697 *) # Relative path.
24698 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24699 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24702 # Do not use `cd foo && pwd` to compute absolute paths, because
24703 # the directories may not exist.
24705 .
) ac_abs_builddir
="$ac_dir";;
24708 .
) ac_abs_builddir
=`pwd`;;
24709 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24710 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24713 case $ac_abs_builddir in
24714 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24716 case ${ac_top_builddir}.
in
24717 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24718 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24719 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24722 case $ac_abs_builddir in
24723 .
) ac_abs_srcdir
=$ac_srcdir;;
24726 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24727 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24728 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24731 case $ac_abs_builddir in
24732 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24734 case $ac_top_srcdir in
24735 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24736 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24737 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24743 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24744 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
24747 if test x
"$ac_file" != x-
; then
24748 { echo "$as_me:$LINENO: creating $ac_file" >&5
24749 echo "$as_me: creating $ac_file" >&6;}
24752 # Let's still pretend it is `configure' which instantiates (i.e., don't
24753 # use $as_me), people would be surprised to read:
24754 # /* config.h. Generated by config.status. */
24755 if test x
"$ac_file" = x-
; then
24758 configure_input
="$ac_file. "
24760 configure_input
=$configure_input"Generated from `echo $ac_file_in |
24761 sed 's,.*/,,'` by configure."
24763 # First look for the input files in the build tree, otherwise in the
24765 ac_file_inputs
=`IFS=:
24766 for f in $ac_file_in; do
24768 -) echo $tmp/stdin ;;
24770 # Absolute (can't be DOS-style, as IFS=:)
24771 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24772 echo "$as_me: error: cannot find input file: $f" >&2;}
24773 { (exit 1); exit 1; }; }
24776 if test -f "$f"; then
24779 elif test -f "$srcdir/$f"; then
24784 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24785 echo "$as_me: error: cannot find input file: $f" >&2;}
24786 { (exit 1); exit 1; }; }
24789 done` ||
{ (exit 1); exit 1; }
24791 cat >>$CONFIG_STATUS <<_ACEOF
24795 cat >>$CONFIG_STATUS <<\_ACEOF
24797 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24798 s
,@configure_input@
,$configure_input,;t t
24799 s
,@srcdir@
,$ac_srcdir,;t t
24800 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
24801 s
,@top_srcdir@
,$ac_top_srcdir,;t t
24802 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
24803 s
,@builddir@
,$ac_builddir,;t t
24804 s
,@abs_builddir@
,$ac_abs_builddir,;t t
24805 s
,@top_builddir@
,$ac_top_builddir,;t t
24806 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
24807 s
,@INSTALL@
,$ac_INSTALL,;t t
24808 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24810 if test x"$ac_file" != x-; then
24811 mv $tmp/out $ac_file
24819 cat >>$CONFIG_STATUS <<\_ACEOF
24822 # CONFIG_HEADER section.
24825 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
24826 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24828 # ac_d sets the value in "#define NAME VALUE" lines.
24829 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24830 ac_dB
='[ ].*$,\1#\2'
24833 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24834 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24835 ac_uB
='$,\1#\2define\3'
24839 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
24840 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24842 - |
*:- |
*:-:* ) # input from stdin
24844 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24845 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24846 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24847 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24848 * ) ac_file_in
=$ac_file.
in ;;
24851 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
24852 echo "$as_me: creating $ac_file" >&6;}
24854 # First look for the input files in the build tree, otherwise in the
24856 ac_file_inputs
=`IFS=:
24857 for f in $ac_file_in; do
24859 -) echo $tmp/stdin ;;
24861 # Absolute (can't be DOS-style, as IFS=:)
24862 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24863 echo "$as_me: error: cannot find input file: $f" >&2;}
24864 { (exit 1); exit 1; }; }
24865 # Do quote $f, to prevent DOS paths from being IFS'd.
24868 if test -f "$f"; then
24871 elif test -f "$srcdir/$f"; then
24876 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24877 echo "$as_me: error: cannot find input file: $f" >&2;}
24878 { (exit 1); exit 1; }; }
24881 done` ||
{ (exit 1); exit 1; }
24882 # Remove the trailing spaces.
24883 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24887 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24888 # `conftest.undefs', that substitutes the proper values into
24889 # config.h.in to produce config.h. The first handles `#define'
24890 # templates, and the second `#undef' templates.
24891 # And first: Protect against being on the right side of a sed subst in
24892 # config.status. Protect against being in an unquoted here document
24893 # in config.status.
24894 rm -f conftest.defines conftest.undefs
24895 # Using a here document instead of a string reduces the quoting nightmare.
24896 # Putting comments in sed scripts is not portable.
24898 # `end' is used to avoid that the second main sed command (meant for
24899 # 0-ary CPP macros) applies to n-ary macro definitions.
24900 # See the Autoconf documentation for `clear'.
24901 cat >confdef2sed.
sed <<\_ACEOF
24906 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24908 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24911 # If some macros were called several times there might be several times
24912 # the same #defines, which is useless. Nevertheless, we may not want to
24913 # sort them, since we want the *last* AC-DEFINE to be honored.
24914 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24915 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24916 rm -f confdef2sed.sed
24918 # This sed command replaces #undef with comments. This is necessary, for
24919 # example, in the case of _POSIX_SOURCE, which is predefined and required
24920 # on some systems where configure will not decide to define it.
24921 cat >>conftest.undefs <<\_ACEOF
24922 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24925 # Break up conftest.defines because some shells have a limit on the size
24926 # of here documents, and old seds have small limits too (100 cmds).
24927 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24928 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24929 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24930 echo ' :' >>$CONFIG_STATUS
24931 rm -f conftest.tail
24932 while grep . conftest.defines >/dev/null
24934 # Write a limited-size here document to $tmp/defines.sed.
24935 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24936 # Speed up: don't consider the non `#define' lines.
24937 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24938 # Work around the forget-to-reset-the-flag bug.
24939 echo 't clr' >>$CONFIG_STATUS
24940 echo ': clr' >>$CONFIG_STATUS
24941 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
24943 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24945 mv $tmp/out $tmp/in
24947 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
24948 rm -f conftest.defines
24949 mv conftest.
tail conftest.defines
24951 rm -f conftest.defines
24952 echo ' fi # grep' >>$CONFIG_STATUS
24953 echo >>$CONFIG_STATUS
24955 # Break up conftest.undefs because some shells have a limit on the size
24956 # of here documents, and old seds have small limits too (100 cmds).
24957 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24958 rm -f conftest.
tail
24959 while grep . conftest.undefs
>/dev
/null
24961 # Write a limited-size here document to $tmp/undefs.sed.
24962 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24963 # Speed up: don't consider the non
`#undef'
24964 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24965 # Work around the forget-to-reset-the-flag bug.
24966 echo 't clr' >>$CONFIG_STATUS
24967 echo ': clr' >>$CONFIG_STATUS
24968 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24970 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24972 mv $tmp/out $tmp/in
24974 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24975 rm -f conftest.undefs
24976 mv conftest.tail conftest.undefs
24978 rm -f conftest.undefs
24980 cat >>$CONFIG_STATUS <<\_ACEOF
24981 # Let's still pretend it is `configure
' which instantiates (i.e., don't
24982 # use $as_me), people would be surprised to read:
24983 # /* config.h. Generated by config.status. */
24984 if test x
"$ac_file" = x-
; then
24985 echo "/* Generated by configure. */" >$tmp/config.h
24987 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24989 cat $tmp/in >>$tmp/config.h
24991 if test x
"$ac_file" != x-
; then
24992 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
24993 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24994 echo "$as_me: $ac_file is unchanged" >&6;}
24996 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24997 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24998 X"$ac_file" : 'X\(//\)[^/]' \| \
24999 X"$ac_file" : 'X\(//\)$' \| \
25000 X"$ac_file" : 'X\(/\)' \| \
25001 . : '\(.\)' 2>/dev/null ||
25003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25004 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25005 /^X\(\/\/\)$/{ s//\1/; q; }
25006 /^X\(\/\).*/{ s//\1/; q; }
25008 { if $as_mkdir_p; then
25013 while test ! -d "$as_dir"; do
25014 as_dirs
="$as_dir $as_dirs"
25015 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25016 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25017 X"$as_dir" : 'X\(//\)[^/]' \| \
25018 X"$as_dir" : 'X\(//\)$' \| \
25019 X"$as_dir" : 'X\(/\)' \| \
25020 . : '\(.\)' 2>/dev/null ||
25022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25023 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25024 /^X\(\/\/\)$/{ s//\1/; q; }
25025 /^X\(\/\).*/{ s//\1/; q; }
25028 test ! -n "$as_dirs" || mkdir
$as_dirs
25029 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25030 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25031 { (exit 1); exit 1; }; }; }
25034 mv $tmp/config.h
$ac_file
25038 rm -f $tmp/config.h
25042 cat >>$CONFIG_STATUS <<\_ACEOF
25045 # CONFIG_LINKS section.
25048 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
25049 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
25050 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25052 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
25053 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
25055 if test ! -r $srcdir/$ac_source; then
25056 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
25057 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
25058 { (exit 1); exit 1; }; }
25062 # Make relative symlinks.
25063 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
25064 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25065 X"$ac_dest" : 'X\(//\)[^/]' \| \
25066 X"$ac_dest" : 'X\(//\)$' \| \
25067 X"$ac_dest" : 'X\(/\)' \| \
25068 . : '\(.\)' 2>/dev/null ||
25070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25071 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25072 /^X\(\/\/\)$/{ s//\1/; q; }
25073 /^X\(\/\).*/{ s//\1/; q; }
25075 { if $as_mkdir_p; then
25076 mkdir
-p "$ac_dest_dir"
25078 as_dir
="$ac_dest_dir"
25080 while test ! -d "$as_dir"; do
25081 as_dirs
="$as_dir $as_dirs"
25082 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25083 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25084 X"$as_dir" : 'X\(//\)[^/]' \| \
25085 X"$as_dir" : 'X\(//\)$' \| \
25086 X"$as_dir" : 'X\(/\)' \| \
25087 . : '\(.\)' 2>/dev/null ||
25089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25090 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25091 /^X\(\/\/\)$/{ s//\1/; q; }
25092 /^X\(\/\).*/{ s//\1/; q; }
25095 test ! -n "$as_dirs" || mkdir
$as_dirs
25096 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
25097 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
25098 { (exit 1); exit 1; }; }; }
25102 if test "$ac_dest_dir" != .
; then
25103 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
25104 # A "../" for each directory in $ac_dir_suffix.
25105 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25107 ac_dir_suffix
= ac_top_builddir
=
25111 .
) # No --srcdir option. We are building in place.
25113 if test -z "$ac_top_builddir"; then
25116 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25118 [\\/]* | ?
:[\\/]* ) # Absolute path.
25119 ac_srcdir
=$srcdir$ac_dir_suffix;
25120 ac_top_srcdir
=$srcdir ;;
25121 *) # Relative path.
25122 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25123 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25126 # Do not use `cd foo && pwd` to compute absolute paths, because
25127 # the directories may not exist.
25129 .
) ac_abs_builddir
="$ac_dest_dir";;
25131 case "$ac_dest_dir" in
25132 .
) ac_abs_builddir
=`pwd`;;
25133 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
25134 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
25137 case $ac_abs_builddir in
25138 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25140 case ${ac_top_builddir}.
in
25141 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25142 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25143 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25146 case $ac_abs_builddir in
25147 .
) ac_abs_srcdir
=$ac_srcdir;;
25150 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25151 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25152 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25155 case $ac_abs_builddir in
25156 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25158 case $ac_top_srcdir in
25159 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25160 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25161 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25167 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
25168 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
25171 # Try a symlink, then a hard link, then a copy.
25172 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
25173 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
25174 cp -p $srcdir/$ac_source $ac_dest ||
25175 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
25176 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
25177 { (exit 1); exit 1; }; }
25180 cat >>$CONFIG_STATUS <<\_ACEOF
25183 # CONFIG_COMMANDS section.
25185 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
25186 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
25187 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25188 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
25189 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25190 X"$ac_dest" : 'X\(//\)[^/]' \| \
25191 X"$ac_dest" : 'X\(//\)$' \| \
25192 X"$ac_dest" : 'X\(/\)' \| \
25193 . : '\(.\)' 2>/dev/null ||
25195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25196 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25197 /^X\(\/\/\)$/{ s//\1/; q; }
25198 /^X\(\/\).*/{ s//\1/; q; }
25200 { if $as_mkdir_p; then
25205 while test ! -d "$as_dir"; do
25206 as_dirs
="$as_dir $as_dirs"
25207 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25208 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25209 X"$as_dir" : 'X\(//\)[^/]' \| \
25210 X"$as_dir" : 'X\(//\)$' \| \
25211 X"$as_dir" : 'X\(/\)' \| \
25212 . : '\(.\)' 2>/dev/null ||
25214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25215 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25216 /^X\(\/\/\)$/{ s//\1/; q; }
25217 /^X\(\/\).*/{ s//\1/; q; }
25220 test ! -n "$as_dirs" || mkdir
$as_dirs
25221 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25222 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25223 { (exit 1); exit 1; }; }; }
25227 if test "$ac_dir" != .
; then
25228 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25229 # A "../" for each directory in $ac_dir_suffix.
25230 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25232 ac_dir_suffix
= ac_top_builddir
=
25236 .
) # No --srcdir option. We are building in place.
25238 if test -z "$ac_top_builddir"; then
25241 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25243 [\\/]* | ?
:[\\/]* ) # Absolute path.
25244 ac_srcdir
=$srcdir$ac_dir_suffix;
25245 ac_top_srcdir
=$srcdir ;;
25246 *) # Relative path.
25247 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25248 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25251 # Do not use `cd foo && pwd` to compute absolute paths, because
25252 # the directories may not exist.
25254 .
) ac_abs_builddir
="$ac_dir";;
25257 .
) ac_abs_builddir
=`pwd`;;
25258 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25259 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25262 case $ac_abs_builddir in
25263 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25265 case ${ac_top_builddir}.
in
25266 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25267 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25268 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25271 case $ac_abs_builddir in
25272 .
) ac_abs_srcdir
=$ac_srcdir;;
25275 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25276 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25277 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25280 case $ac_abs_builddir in
25281 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25283 case $ac_top_srcdir in
25284 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25285 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25286 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25291 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25292 echo "$as_me: executing $ac_dest commands" >&6;}
25295 if test "$GCC" = yes; then
25296 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25298 echo "/* generated for $CC */" > tmp-stdint.h
25301 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25303 #ifndef GCC_GENERATED_STDINT_H
25304 #define GCC_GENERATED_STDINT_H 1
25306 #include <sys/types.h>
25309 if test "$acx_cv_header_stdint" != stdint.h
; then
25310 echo "#include <stddef.h>" >> tmp-stdint.h
25312 if test "$acx_cv_header_stdint" != stddef.h
; then
25313 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25316 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25317 /* glibc uses these symbols as guards to prevent redefinitions. */
25318 #ifdef __int8_t_defined
25323 #ifdef __uint32_t_defined
25329 # ----------------- done header, emit basic int types -------------
25330 if test "$acx_cv_header_stdint" = stddef.h
; then
25331 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25335 #ifndef __uint8_t_defined
25336 #define __uint8_t_defined
25337 typedef unsigned $acx_cv_type_int8_t uint8_t;
25343 #ifndef __uint16_t_defined
25344 #define __uint16_t_defined
25345 typedef unsigned $acx_cv_type_int16_t uint16_t;
25351 #ifndef __uint32_t_defined
25352 #define __uint32_t_defined
25353 typedef unsigned $acx_cv_type_int32_t uint32_t;
25359 #ifndef __int8_t_defined
25360 #define __int8_t_defined
25361 typedef $acx_cv_type_int8_t int8_t;
25367 #ifndef __int16_t_defined
25368 #define __int16_t_defined
25369 typedef $acx_cv_type_int16_t int16_t;
25375 #ifndef __int32_t_defined
25376 #define __int32_t_defined
25377 typedef $acx_cv_type_int32_t int32_t;
25381 elif test "$ac_cv_type_u_int32_t" = yes; then
25382 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25384 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25397 #ifndef __uint8_t_defined
25398 #define __uint8_t_defined
25399 typedef u_int8_t uint8_t;
25405 #ifndef __uint16_t_defined
25406 #define __uint16_t_defined
25407 typedef u_int16_t uint16_t;
25413 #ifndef __uint32_t_defined
25414 #define __uint32_t_defined
25415 typedef u_int32_t uint32_t;
25420 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25422 /* Some systems have guard macros to prevent redefinitions, define them. */
25444 # ------------- done basic int types, emit int64_t types ------------
25445 if test "$ac_cv_type_uint64_t" = yes; then
25446 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25448 /* system headers have good uint64_t and int64_t */
25456 elif test "$ac_cv_type_u_int64_t" = yes; then
25457 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25459 /* system headers have an u_int64_t (and int64_t) */
25465 #ifndef __uint64_t_defined
25466 #define __uint64_t_defined
25467 typedef u_int64_t uint64_t;
25471 elif test -n "$acx_cv_type_int64_t"; then
25472 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25474 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25477 typedef $acx_cv_type_int64_t int64_t;
25481 #ifndef __uint64_t_defined
25482 #define __uint64_t_defined
25483 typedef unsigned $acx_cv_type_int64_t uint64_t;
25488 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25490 /* some common heuristics for int64_t, using compiler-specific tests */
25491 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25494 #ifndef __int64_t_defined
25495 typedef long long int64_t;
25500 typedef unsigned long long uint64_t;
25503 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25504 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25505 does not implement __extension__. But that compiler doesn't define
25507 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25508 # define __extension__
25513 __extension__ typedef long long int64_t;
25517 __extension__ typedef unsigned long long uint64_t;
25520 #elif !defined __STRICT_ANSI__
25521 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25525 typedef __int64 int64_t;
25529 typedef unsigned __int64 uint64_t;
25531 # endif /* compiler */
25533 #endif /* ANSI version */
25537 # ------------- done int64_t types, emit intptr types ------------
25538 if test "$ac_cv_type_uintptr_t" != yes; then
25539 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25541 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25542 #ifndef __uintptr_t_defined
25543 typedef u$acx_cv_type_intptr_t uintptr_t;
25545 #ifndef __intptr_t_defined
25546 typedef $acx_cv_type_intptr_t intptr_t;
25551 # ------------- done intptr types, emit int_least types ------------
25552 if test "$ac_cv_type_int_least32_t" != yes; then
25553 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25555 /* Define int_least types */
25556 typedef int8_t int_least8_t;
25557 typedef int16_t int_least16_t;
25558 typedef int32_t int_least32_t;
25560 typedef int64_t int_least64_t;
25563 typedef uint8_t uint_least8_t;
25564 typedef uint16_t uint_least16_t;
25565 typedef uint32_t uint_least32_t;
25567 typedef uint64_t uint_least64_t;
25572 # ------------- done intptr types, emit int_fast types ------------
25573 if test "$ac_cv_type_int_fast32_t" != yes; then
25574 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25576 /* Define int_fast types. short is often slow */
25577 typedef int8_t int_fast8_t;
25578 typedef int int_fast16_t;
25579 typedef int32_t int_fast32_t;
25581 typedef int64_t int_fast64_t;
25584 typedef uint8_t uint_fast8_t;
25585 typedef unsigned int uint_fast16_t;
25586 typedef uint32_t uint_fast32_t;
25588 typedef uint64_t uint_fast64_t;
25593 if test "$ac_cv_type_uintmax_t" != yes; then
25594 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25596 /* Define intmax based on what we found */
25598 typedef int64_t intmax_t;
25600 typedef long intmax_t;
25603 typedef uint64_t uintmax_t;
25605 typedef unsigned long uintmax_t;
25610 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25612 #endif /* GCC_GENERATED_STDINT_H */
25615 if test -r gdb_stdint.h
&& cmp -s tmp-stdint.h gdb_stdint.h
; then
25618 mv -f tmp-stdint.h gdb_stdint.h
25624 sed -e '/^DEPRECATED_TM_FILE[ ]*=/s,^DEPRECATED_TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
25625 /^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
25626 /^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
25627 mv -f Makefile.tmp Makefile
25630 case x
$CONFIG_HEADERS in
25631 xconfig.h
:config.
in)
25639 cat >>$CONFIG_STATUS <<\_ACEOF
25641 { (exit 0); exit 0; }
25643 chmod +x
$CONFIG_STATUS
25644 ac_clean_files
=$ac_clean_files_save
25647 # configure is writing to config.log, and then calls config.status.
25648 # config.status does its own redirection, appending to config.log.
25649 # Unfortunately, on DOS this fails, as config.log is still kept open
25650 # by configure, so config.status won't be able to write to it; its
25651 # output is simply discarded. So we exec the FD to /dev/null,
25652 # effectively closing config.log, so it can be properly (re)opened and
25653 # appended to by config.status. When coming back to configure, we
25654 # need to make the FD available again.
25655 if test "$no_create" != yes; then
25657 ac_config_status_args
=
25658 test "$silent" = yes &&
25659 ac_config_status_args
="$ac_config_status_args --quiet"
25661 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25663 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25664 # would make configure fail if this is the last instruction.
25665 $ac_cs_success ||
{ (exit 1); exit 1; }
25669 # CONFIG_SUBDIRS section.
25671 if test "$no_recursion" != yes; then
25673 # Remove --cache-file and --srcdir arguments so they do not pile up.
25674 ac_sub_configure_args
=
25676 for ac_arg
in $ac_configure_args; do
25677 if test -n "$ac_prev"; then
25682 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
25683 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
25684 ac_prev
=cache_file
;;
25685 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
25686 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
25689 --config-cache |
-C)
25691 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
25693 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
25695 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
25697 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
25699 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
25703 # Always prepend --prefix to ensure using the same prefix
25704 # in subdir configurations.
25705 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
25708 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
25710 # Do not complain, so a configure script can configure whichever
25711 # parts of a large source tree are present.
25712 test -d $srcdir/$ac_dir ||
continue
25714 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
25715 echo "$as_me: configuring in $ac_dir" >&6;}
25716 { if $as_mkdir_p; then
25721 while test ! -d "$as_dir"; do
25722 as_dirs
="$as_dir $as_dirs"
25723 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25725 X"$as_dir" : 'X\(//\)[^/]' \| \
25726 X"$as_dir" : 'X\(//\)$' \| \
25727 X"$as_dir" : 'X\(/\)' \| \
25728 . : '\(.\)' 2>/dev/null ||
25730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25732 /^X\(\/\/\)$/{ s//\1/; q; }
25733 /^X\(\/\).*/{ s//\1/; q; }
25736 test ! -n "$as_dirs" || mkdir
$as_dirs
25737 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25738 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25739 { (exit 1); exit 1; }; }; }
25743 if test "$ac_dir" != .
; then
25744 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25745 # A "../" for each directory in $ac_dir_suffix.
25746 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25748 ac_dir_suffix
= ac_top_builddir
=
25752 .
) # No --srcdir option. We are building in place.
25754 if test -z "$ac_top_builddir"; then
25757 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25759 [\\/]* | ?
:[\\/]* ) # Absolute path.
25760 ac_srcdir
=$srcdir$ac_dir_suffix;
25761 ac_top_srcdir
=$srcdir ;;
25762 *) # Relative path.
25763 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25764 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25767 # Do not use `cd foo && pwd` to compute absolute paths, because
25768 # the directories may not exist.
25770 .
) ac_abs_builddir
="$ac_dir";;
25773 .
) ac_abs_builddir
=`pwd`;;
25774 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25775 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25778 case $ac_abs_builddir in
25779 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25781 case ${ac_top_builddir}.
in
25782 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25783 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25784 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25787 case $ac_abs_builddir in
25788 .
) ac_abs_srcdir
=$ac_srcdir;;
25791 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25792 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25793 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25796 case $ac_abs_builddir in
25797 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25799 case $ac_top_srcdir in
25800 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25801 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25802 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25809 # Check for guested configure; otherwise get Cygnus style configure.
25810 if test -f $ac_srcdir/configure.gnu
; then
25811 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
25812 elif test -f $ac_srcdir/configure
; then
25813 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
25814 elif test -f $ac_srcdir/configure.
in; then
25815 ac_sub_configure
=$ac_configure
25817 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
25818 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
25822 # The recursion is here.
25823 if test -n "$ac_sub_configure"; then
25824 # Make the cache file name correct relative to the subdirectory.
25825 case $cache_file in
25826 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
25827 *) # Relative path.
25828 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
25831 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
25832 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
25833 # The eval makes quoting arguments work.
25834 eval $ac_sub_configure $ac_sub_configure_args \
25835 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
25836 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
25837 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
25838 { (exit 1); exit 1; }; }