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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE subdirs TARGET_OBS 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 SIM SIM_OBS ENABLE_CFLAGS PROFILE_CFLAGS CONFIG_OBS CONFIG_DEPS CONFIG_SRCS CONFIG_ALL CONFIG_CLEAN CONFIG_INSTALL CONFIG_UNINSTALL target_subdir frags nm_h LIBICONV LIBOBJS LTLIBOBJS'
317 ac_subst_files
='host_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-dependency-tracking speeds up one-time build
864 --enable-dependency-tracking do not reject slow dependency extractors
865 --enable-targets alternative target configurations
866 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
867 --disable-gdbcli disable command-line interface
(CLI
)
868 --disable-gdbmi disable machine-interface
(MI
)
869 --enable-tui enable full-screen terminal user interface
(TUI
)
870 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
871 --enable-profiling enable profiling of GDB
872 --disable-rpath do not hardcode runtime library paths
873 --enable-werror treat compile warnings as errors
874 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
875 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
876 --enable-sim Link gdb with simulator
877 --enable-multi-ice build the multi-ice-gdb-server
880 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
881 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
882 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
883 --with-libunwind Use libunwind frame unwinding support
884 --with-system-readline use installed readline library
885 --with-expat include expat support
(auto
/yes
/no
)
886 --with-gnu-ld assume the C compiler uses GNU ld default
=no
887 --with-libexpat-prefix[=DIR
] search
for libexpat
in DIR
/include and DIR
/lib
888 --without-libexpat-prefix don
't search for libexpat in includedir and libdir
889 --without-included-regex don't use included regex
; this is the default
890 on systems with version
2 of the GNU C library
891 (use with caution on other system
)
892 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
893 --with-tclconfig=DIR Directory containing tcl configuration
(tclConfig.sh
)
894 --with-tkconfig=DIR Directory containing tk configuration
(tkConfig.sh
)
895 --with-tclinclude=DIR Directory where tcl private headers are
896 --with-tkinclude=DIR Directory where tk private headers are
897 --with-itclconfig Directory containing itcl configuration
(itclConfig.sh
)
898 --with-itkconfig Directory containing itk configuration
(itkConfig.sh
)
899 --with-x use the X Window System
900 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
902 Some influential environment variables
:
903 CC C compiler
command
904 CFLAGS C compiler flags
905 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
906 nonstandard directory
<lib dir
>
907 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
908 headers
in a nonstandard directory
<include dir
>
911 Use these variables to override the choices made by
`configure' or to help
912 it to find libraries and programs with nonstandard names/locations.
917 if test "$ac_init_help" = "recursive"; then
918 # If there are subdirs, report their specific --help.
920 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
921 test -d $ac_dir || continue
924 if test "$ac_dir" != .; then
925 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
926 # A "../" for each directory in $ac_dir_suffix.
927 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
929 ac_dir_suffix= ac_top_builddir=
933 .) # No --srcdir option. We are building in place.
935 if test -z "$ac_top_builddir"; then
938 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
940 [\\/]* | ?:[\\/]* ) # Absolute path.
941 ac_srcdir=$srcdir$ac_dir_suffix;
942 ac_top_srcdir=$srcdir ;;
944 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
945 ac_top_srcdir=$ac_top_builddir$srcdir ;;
948 # Do not use `cd foo
&& pwd` to compute absolute paths, because
949 # the directories may not exist.
951 .) ac_abs_builddir="$ac_dir";;
954 .) ac_abs_builddir=`pwd`;;
955 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
956 *) ac_abs_builddir=`pwd`/"$ac_dir";;
959 case $ac_abs_builddir in
960 .) ac_abs_top_builddir=${ac_top_builddir}.;;
962 case ${ac_top_builddir}. in
963 .) ac_abs_top_builddir=$ac_abs_builddir;;
964 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
965 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
968 case $ac_abs_builddir in
969 .) ac_abs_srcdir=$ac_srcdir;;
972 .) ac_abs_srcdir=$ac_abs_builddir;;
973 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
974 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
977 case $ac_abs_builddir in
978 .) ac_abs_top_srcdir=$ac_top_srcdir;;
980 case $ac_top_srcdir in
981 .) ac_abs_top_srcdir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
983 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
988 # Check for guested configure; otherwise get Cygnus style configure.
989 if test -f $ac_srcdir/configure.gnu; then
991 $SHELL $ac_srcdir/configure.gnu --help=recursive
992 elif test -f $ac_srcdir/configure; then
994 $SHELL $ac_srcdir/configure --help=recursive
995 elif test -f $ac_srcdir/configure.ac ||
996 test -f $ac_srcdir/configure.in; then
1000 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1006 test -n "$ac_init_help" && exit 0
1007 if $ac_init_version; then
1010 Copyright (C) 2003 Free Software Foundation, Inc.
1011 This configure script is free software; the Free Software Foundation
1012 gives unlimited permission to copy, distribute and modify it.
1018 This file contains any messages produced by compilers while
1019 running configure, to aid debugging if configure makes a mistake.
1021 It was created by $as_me, which was
1022 generated by GNU Autoconf 2.59. Invocation command line was
1033 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1034 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1035 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1036 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1037 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1039 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1040 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1042 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1043 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1044 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1045 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1046 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1047 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1048 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1056 test -z "$as_dir" && as_dir=.
1057 echo "PATH: $as_dir"
1072 # Keep a trace of the command line.
1073 # Strip out --no-create and --no-recursion so they do not pile up.
1074 # Strip out --silent because we don't want to record it for future runs.
1075 # Also quote any args containing shell meta-characters.
1076 # Make two passes to allow for proper duplicate-argument suppression.
1081 ac_must_keep_next=false
1087 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1089 | -silent | --silent | --silen | --sile | --sil)
1091 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1092 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1095 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1097 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1098 if test $ac_must_keep_next = true; then
1099 ac_must_keep_next=false # Got value, back to normal.
1102 *=* | --config-cache | -C | -disable-* | --disable-* \
1103 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1104 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1105 | -with-* | --with-* | -without-* | --without-* | --x)
1106 case "$ac_configure_args0 " in
1107 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1110 -* ) ac_must_keep_next=true ;;
1113 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1114 # Get rid of the leading space.
1120 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1121 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1123 # When interrupted or exit'd, cleanup temporary files, and complete
1124 # config.log. We remove comments because anyway the quotes in there
1125 # would cause problems or look ugly.
1126 # WARNING: Be sure not to use single quotes in there, as some shells,
1127 # such as our DU 5.0 friend, will then `close
' the trap.
1128 trap 'exit_status
=$?
1129 # Save into config.log some information that might help in debugging.
1134 ## ---------------- ##
1135 ## Cache variables. ##
1136 ## ---------------- ##
1139 # The following way of writing the cache mishandles newlines in values,
1142 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1145 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1150 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1157 ## ----------------- ##
1158 ## Output variables. ##
1159 ## ----------------- ##
1162 for ac_var
in $ac_subst_vars
1164 eval ac_val
=$
`echo $ac_var`
1165 echo "$ac_var='"'"'$ac_val'"'"'"
1169 if test -n "$ac_subst_files"; then
1176 for ac_var
in $ac_subst_files
1178 eval ac_val
=$
`echo $ac_var`
1179 echo "$ac_var='"'"'$ac_val'"'"'"
1184 if test -s confdefs.h
; then
1191 sed "/^$/d" confdefs.h |
sort
1194 test "$ac_signal" != 0 &&
1195 echo "$as_me: caught signal $ac_signal"
1196 echo "$as_me: exit $exit_status"
1198 rm -f core
*.core
&&
1199 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1202 for ac_signal in 1 2 13 15; do
1203 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1207 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1208 rm -rf conftest* confdefs.h
1209 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1212 # Predefined preprocessor variables.
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_NAME "$PACKAGE_NAME"
1219 cat >>confdefs.h <<_ACEOF
1220 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1224 cat >>confdefs.h <<_ACEOF
1225 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1229 cat >>confdefs.h <<_ACEOF
1230 #define PACKAGE_STRING "$PACKAGE_STRING"
1234 cat >>confdefs.h <<_ACEOF
1235 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1239 # Let the site file select an alternate cache file if it wants to.
1240 # Prefer explicitly selected file to automatically selected ones.
1241 if test -z "$CONFIG_SITE"; then
1242 if test "x$prefix" != xNONE; then
1243 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1245 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1248 for ac_site_file in $CONFIG_SITE; do
1249 if test -r "$ac_site_file"; then
1250 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1251 echo "$as_me: loading site script $ac_site_file" >&6;}
1252 sed 's
/^
/|
/' "$ac_site_file" >&5
1257 if test -r "$cache_file"; then
1258 # Some versions of bash will fail to source /dev/null (special
1259 # files actually), so we avoid doing that.
1260 if test -f "$cache_file"; then
1261 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1262 echo "$as_me: loading cache $cache_file" >&6;}
1264 [\\/]* | ?:[\\/]* ) . $cache_file;;
1265 *) . ./$cache_file;;
1269 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1270 echo "$as_me: creating cache $cache_file" >&6;}
1274 # Check that the precious variables saved in the cache have kept the same
1276 ac_cache_corrupted=false
1277 for ac_var in `(set) 2>&1 |
1278 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1279 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1280 eval ac_new_set=\$ac_env_${ac_var}_set
1281 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1282 eval ac_new_val="\$ac_env_${ac_var}_value"
1283 case $ac_old_set,$ac_new_set in
1285 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1286 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1287 ac_cache_corrupted=: ;;
1289 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1290 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1291 ac_cache_corrupted=: ;;
1294 if test "x$ac_old_val" != "x$ac_new_val"; then
1295 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1296 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1297 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1298 echo "$as_me: former value: $ac_old_val" >&2;}
1299 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1300 echo "$as_me: current value: $ac_new_val" >&2;}
1301 ac_cache_corrupted=:
1304 # Pass precious variables to config.status.
1305 if test "$ac_new_set" = set; then
1307 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1308 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1309 *) ac_arg=$ac_var=$ac_new_val ;;
1311 case " $ac_configure_args " in
1312 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1313 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1317 if $ac_cache_corrupted; then
1318 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1319 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1320 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1321 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1322 { (exit 1); exit 1; }; }
1326 ac_cpp='$CPP $CPPFLAGS'
1327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1328 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1349 ac_config_headers="$ac_config_headers config.h:config.in"
1351 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1352 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1353 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1354 if test "${enable_maintainer_mode+set}" = set; then
1355 enableval="$enable_maintainer_mode"
1356 USE_MAINTAINER_MODE=$enableval
1358 USE_MAINTAINER_MODE=no
1360 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1361 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1364 if test $USE_MAINTAINER_MODE = yes; then
1365 MAINTAINER_MODE_TRUE=
1366 MAINTAINER_MODE_FALSE='#'
1368 MAINTAINER_MODE_TRUE
='#'
1369 MAINTAINER_MODE_FALSE
=
1372 MAINT
=$MAINTAINER_MODE_TRUE
1377 ac_cpp
='$CPP $CPPFLAGS'
1378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1381 if test -n "$ac_tool_prefix"; then
1382 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1383 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1384 echo "$as_me:$LINENO: checking for $ac_word" >&5
1385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1386 if test "${ac_cv_prog_CC+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 if test -n "$CC"; then
1390 ac_cv_prog_CC
="$CC" # Let the user override the test.
1392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1396 test -z "$as_dir" && as_dir
=.
1397 for ac_exec_ext
in '' $ac_executable_extensions; do
1398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1399 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1409 if test -n "$CC"; then
1410 echo "$as_me:$LINENO: result: $CC" >&5
1411 echo "${ECHO_T}$CC" >&6
1413 echo "$as_me:$LINENO: result: no" >&5
1414 echo "${ECHO_T}no" >&6
1418 if test -z "$ac_cv_prog_CC"; then
1420 # Extract the first word of "gcc", so it can be a program name with args.
1421 set dummy gcc
; ac_word
=$2
1422 echo "$as_me:$LINENO: checking for $ac_word" >&5
1423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1424 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1425 echo $ECHO_N "(cached) $ECHO_C" >&6
1427 if test -n "$ac_ct_CC"; then
1428 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1434 test -z "$as_dir" && as_dir
=.
1435 for ac_exec_ext
in '' $ac_executable_extensions; do
1436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1437 ac_cv_prog_ac_ct_CC
="gcc"
1438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1446 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1447 if test -n "$ac_ct_CC"; then
1448 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1449 echo "${ECHO_T}$ac_ct_CC" >&6
1451 echo "$as_me:$LINENO: result: no" >&5
1452 echo "${ECHO_T}no" >&6
1460 if test -z "$CC"; then
1461 if test -n "$ac_tool_prefix"; then
1462 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1463 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1464 echo "$as_me:$LINENO: checking for $ac_word" >&5
1465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1466 if test "${ac_cv_prog_CC+set}" = set; then
1467 echo $ECHO_N "(cached) $ECHO_C" >&6
1469 if test -n "$CC"; then
1470 ac_cv_prog_CC
="$CC" # Let the user override the test.
1472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1476 test -z "$as_dir" && as_dir
=.
1477 for ac_exec_ext
in '' $ac_executable_extensions; do
1478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1479 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1489 if test -n "$CC"; then
1490 echo "$as_me:$LINENO: result: $CC" >&5
1491 echo "${ECHO_T}$CC" >&6
1493 echo "$as_me:$LINENO: result: no" >&5
1494 echo "${ECHO_T}no" >&6
1498 if test -z "$ac_cv_prog_CC"; then
1500 # Extract the first word of "cc", so it can be a program name with args.
1501 set dummy cc
; ac_word
=$2
1502 echo "$as_me:$LINENO: checking for $ac_word" >&5
1503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1504 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1505 echo $ECHO_N "(cached) $ECHO_C" >&6
1507 if test -n "$ac_ct_CC"; then
1508 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1514 test -z "$as_dir" && as_dir
=.
1515 for ac_exec_ext
in '' $ac_executable_extensions; do
1516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1517 ac_cv_prog_ac_ct_CC
="cc"
1518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1526 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1527 if test -n "$ac_ct_CC"; then
1528 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1529 echo "${ECHO_T}$ac_ct_CC" >&6
1531 echo "$as_me:$LINENO: result: no" >&5
1532 echo "${ECHO_T}no" >&6
1541 if test -z "$CC"; then
1542 # Extract the first word of "cc", so it can be a program name with args.
1543 set dummy cc
; ac_word
=$2
1544 echo "$as_me:$LINENO: checking for $ac_word" >&5
1545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1546 if test "${ac_cv_prog_CC+set}" = set; then
1547 echo $ECHO_N "(cached) $ECHO_C" >&6
1549 if test -n "$CC"; then
1550 ac_cv_prog_CC
="$CC" # Let the user override the test.
1553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1557 test -z "$as_dir" && as_dir
=.
1558 for ac_exec_ext
in '' $ac_executable_extensions; do
1559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1560 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1561 ac_prog_rejected
=yes
1565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1571 if test $ac_prog_rejected = yes; then
1572 # We found a bogon in the path, so make sure we never use it.
1573 set dummy
$ac_cv_prog_CC
1575 if test $# != 0; then
1576 # We chose a different compiler from the bogus one.
1577 # However, it has the same basename, so the bogon will be chosen
1578 # first if we set CC to just the basename; use the full file name.
1580 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1586 if test -n "$CC"; then
1587 echo "$as_me:$LINENO: result: $CC" >&5
1588 echo "${ECHO_T}$CC" >&6
1590 echo "$as_me:$LINENO: result: no" >&5
1591 echo "${ECHO_T}no" >&6
1595 if test -z "$CC"; then
1596 if test -n "$ac_tool_prefix"; then
1599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1600 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1601 echo "$as_me:$LINENO: checking for $ac_word" >&5
1602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1603 if test "${ac_cv_prog_CC+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 if test -n "$CC"; then
1607 ac_cv_prog_CC
="$CC" # Let the user override the test.
1609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir
=.
1614 for ac_exec_ext
in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1626 if test -n "$CC"; then
1627 echo "$as_me:$LINENO: result: $CC" >&5
1628 echo "${ECHO_T}$CC" >&6
1630 echo "$as_me:$LINENO: result: no" >&5
1631 echo "${ECHO_T}no" >&6
1634 test -n "$CC" && break
1637 if test -z "$CC"; then
1641 # Extract the first word of "$ac_prog", so it can be a program name with args.
1642 set dummy
$ac_prog; ac_word
=$2
1643 echo "$as_me:$LINENO: checking for $ac_word" >&5
1644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1645 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1646 echo $ECHO_N "(cached) $ECHO_C" >&6
1648 if test -n "$ac_ct_CC"; then
1649 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1655 test -z "$as_dir" && as_dir
=.
1656 for ac_exec_ext
in '' $ac_executable_extensions; do
1657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1658 ac_cv_prog_ac_ct_CC
="$ac_prog"
1659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1667 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1668 if test -n "$ac_ct_CC"; then
1669 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1670 echo "${ECHO_T}$ac_ct_CC" >&6
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
1676 test -n "$ac_ct_CC" && break
1685 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1686 See \`config.log' for more details." >&5
1687 echo "$as_me: error: no acceptable C compiler found in \$PATH
1688 See \`config.log' for more details." >&2;}
1689 { (exit 1); exit 1; }; }
1691 # Provide some information about the compiler.
1692 echo "$as_me:$LINENO:" \
1693 "checking for C compiler version" >&5
1694 ac_compiler
=`set X $ac_compile; echo $2`
1695 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1696 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1699 (exit $ac_status); }
1700 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1701 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1704 (exit $ac_status); }
1705 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1706 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1709 (exit $ac_status); }
1711 cat >conftest.
$ac_ext <<_ACEOF
1714 cat confdefs.h
>>conftest.
$ac_ext
1715 cat >>conftest.
$ac_ext <<_ACEOF
1716 /* end confdefs.h. */
1726 ac_clean_files_save
=$ac_clean_files
1727 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1728 # Try to create an executable without -o first, disregard a.out.
1729 # It will help us diagnose broken compilers, and finding out an intuition
1731 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1732 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1733 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1734 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1735 (eval $ac_link_default) 2>&5
1737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1738 (exit $ac_status); }; then
1739 # Find the output, starting from the most likely. This scheme is
1740 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1743 # Be careful to initialize this variable, since it used to be cached.
1744 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1746 # b.out is created by i960 compilers.
1747 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1749 test -f "$ac_file" ||
continue
1751 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1754 # This is the source file.
1757 # We found the default executable, but exeext='' is most
1761 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1762 # FIXME: I believe we export ac_cv_exeext for Libtool,
1763 # but it would be cool to find out if it's true. Does anybody
1764 # maintain Libtool? --akim.
1772 echo "$as_me: failed program was:" >&5
1773 sed 's/^/| /' conftest.
$ac_ext >&5
1775 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1776 See \`config.log' for more details." >&5
1777 echo "$as_me: error: C compiler cannot create executables
1778 See \`config.log' for more details." >&2;}
1779 { (exit 77); exit 77; }; }
1782 ac_exeext
=$ac_cv_exeext
1783 echo "$as_me:$LINENO: result: $ac_file" >&5
1784 echo "${ECHO_T}$ac_file" >&6
1786 # Check the compiler produces executables we can run. If not, either
1787 # the compiler is broken, or we cross compile.
1788 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1789 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1790 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1791 # If not cross compiling, check that we can run a simple program.
1792 if test "$cross_compiling" != yes; then
1793 if { ac_try
='./$ac_file'
1794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1798 (exit $ac_status); }; }; then
1801 if test "$cross_compiling" = maybe
; then
1804 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1805 If you meant to cross compile, use \`--host'.
1806 See \`config.log' for more details." >&5
1807 echo "$as_me: error: cannot run C compiled programs.
1808 If you meant to cross compile, use \`--host'.
1809 See \`config.log' for more details." >&2;}
1810 { (exit 1); exit 1; }; }
1814 echo "$as_me:$LINENO: result: yes" >&5
1815 echo "${ECHO_T}yes" >&6
1817 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1818 ac_clean_files
=$ac_clean_files_save
1819 # Check the compiler produces executables we can run. If not, either
1820 # the compiler is broken, or we cross compile.
1821 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1822 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1823 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1824 echo "${ECHO_T}$cross_compiling" >&6
1826 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1827 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1829 (eval $ac_link) 2>&5
1831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1832 (exit $ac_status); }; then
1833 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1834 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1835 # work properly (i.e., refer to `conftest.exe'), while it won't with
1837 for ac_file
in conftest.exe conftest conftest.
*; do
1838 test -f "$ac_file" ||
continue
1840 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1841 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1848 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1849 See \`config.log' for more details." >&5
1850 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1851 See \`config.log' for more details." >&2;}
1852 { (exit 1); exit 1; }; }
1855 rm -f conftest
$ac_cv_exeext
1856 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1857 echo "${ECHO_T}$ac_cv_exeext" >&6
1859 rm -f conftest.
$ac_ext
1860 EXEEXT
=$ac_cv_exeext
1862 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1863 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1864 if test "${ac_cv_objext+set}" = set; then
1865 echo $ECHO_N "(cached) $ECHO_C" >&6
1867 cat >conftest.
$ac_ext <<_ACEOF
1870 cat confdefs.h
>>conftest.
$ac_ext
1871 cat >>conftest.
$ac_ext <<_ACEOF
1872 /* end confdefs.h. */
1882 rm -f conftest.o conftest.obj
1883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1884 (eval $ac_compile) 2>&5
1886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1887 (exit $ac_status); }; then
1888 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1890 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1891 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1896 echo "$as_me: failed program was:" >&5
1897 sed 's/^/| /' conftest.
$ac_ext >&5
1899 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1900 See \`config.log' for more details." >&5
1901 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1902 See \`config.log' for more details." >&2;}
1903 { (exit 1); exit 1; }; }
1906 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1908 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1909 echo "${ECHO_T}$ac_cv_objext" >&6
1910 OBJEXT
=$ac_cv_objext
1912 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1913 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1914 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1915 echo $ECHO_N "(cached) $ECHO_C" >&6
1917 cat >conftest.
$ac_ext <<_ACEOF
1920 cat confdefs.h
>>conftest.
$ac_ext
1921 cat >>conftest.
$ac_ext <<_ACEOF
1922 /* end confdefs.h. */
1935 rm -f conftest.
$ac_objext
1936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1937 (eval $ac_compile) 2>conftest.er1
1939 grep -v '^ *+' conftest.er1
>conftest.err
1941 cat conftest.err
>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); } &&
1944 { ac_try
='test -z "$ac_c_werror_flag"
1945 || test ! -s conftest.err'
1946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950 (exit $ac_status); }; } &&
1951 { ac_try
='test -s conftest.$ac_objext'
1952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956 (exit $ac_status); }; }; then
1959 echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.
$ac_ext >&5
1964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1965 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1968 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1969 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1970 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1971 ac_test_CFLAGS
=${CFLAGS+set}
1972 ac_save_CFLAGS
=$CFLAGS
1974 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1975 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1976 if test "${ac_cv_prog_cc_g+set}" = set; then
1977 echo $ECHO_N "(cached) $ECHO_C" >&6
1979 cat >conftest.
$ac_ext <<_ACEOF
1982 cat confdefs.h
>>conftest.
$ac_ext
1983 cat >>conftest.
$ac_ext <<_ACEOF
1984 /* end confdefs.h. */
1994 rm -f conftest.
$ac_objext
1995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1996 (eval $ac_compile) 2>conftest.er1
1998 grep -v '^ *+' conftest.er1
>conftest.err
2000 cat conftest.err
>&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); } &&
2003 { ac_try
='test -z "$ac_c_werror_flag"
2004 || test ! -s conftest.err'
2005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); }; } &&
2010 { ac_try
='test -s conftest.$ac_objext'
2011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015 (exit $ac_status); }; }; then
2018 echo "$as_me: failed program was:" >&5
2019 sed 's/^/| /' conftest.
$ac_ext >&5
2023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2025 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2026 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2027 if test "$ac_test_CFLAGS" = set; then
2028 CFLAGS
=$ac_save_CFLAGS
2029 elif test $ac_cv_prog_cc_g = yes; then
2030 if test "$GCC" = yes; then
2036 if test "$GCC" = yes; then
2042 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2043 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2044 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 ac_cv_prog_cc_stdc
=no
2049 cat >conftest.
$ac_ext <<_ACEOF
2052 cat confdefs.h
>>conftest.
$ac_ext
2053 cat >>conftest.
$ac_ext <<_ACEOF
2054 /* end confdefs.h. */
2057 #include <sys/types.h>
2058 #include <sys/stat.h>
2059 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2060 struct buf { int x; };
2061 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2062 static char *e (p, i)
2068 static char *f (char * (*g) (char **, int), char **p, ...)
2073 s = g (p, va_arg (v,int));
2078 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2079 function prototypes and stuff, but not '\xHH' hex character constants.
2080 These don't provoke an error unfortunately, instead are silently treated
2081 as 'x'. The following induces an error, until -std1 is added to get
2082 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2083 array size at least. It's necessary to write '\x00'==0 to get something
2084 that's true only with -std1. */
2085 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2087 int test (int i, double x);
2088 struct s1 {int (*f) (int a);};
2089 struct s2 {int (*f) (double a);};
2090 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2096 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2101 # Don't try gcc -ansi; that turns off useful extensions and
2102 # breaks some systems' header files.
2103 # AIX -qlanglvl=ansi
2104 # Ultrix and OSF/1 -std1
2105 # HP-UX 10.20 and later -Ae
2106 # HP-UX older versions -Aa -D_HPUX_SOURCE
2107 # SVR4 -Xc -D__EXTENSIONS__
2108 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2110 CC
="$ac_save_CC $ac_arg"
2111 rm -f conftest.
$ac_objext
2112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2113 (eval $ac_compile) 2>conftest.er1
2115 grep -v '^ *+' conftest.er1
>conftest.err
2117 cat conftest.err
>&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); } &&
2120 { ac_try
='test -z "$ac_c_werror_flag"
2121 || test ! -s conftest.err'
2122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); }; } &&
2127 { ac_try
='test -s conftest.$ac_objext'
2128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2132 (exit $ac_status); }; }; then
2133 ac_cv_prog_cc_stdc
=$ac_arg
2136 echo "$as_me: failed program was:" >&5
2137 sed 's/^/| /' conftest.
$ac_ext >&5
2140 rm -f conftest.err conftest.
$ac_objext
2142 rm -f conftest.
$ac_ext conftest.
$ac_objext
2147 case "x$ac_cv_prog_cc_stdc" in
2149 echo "$as_me:$LINENO: result: none needed" >&5
2150 echo "${ECHO_T}none needed" >&6 ;;
2152 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2153 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2154 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2157 # Some people use a C++ compiler to compile C. Since we use `exit',
2158 # in C++ we need to declare it. In case someone uses the same compiler
2159 # for both compiling C and C++ we need to have the C++ compiler decide
2160 # the declaration of exit, since it's the most demanding environment.
2161 cat >conftest.
$ac_ext <<_ACEOF
2166 rm -f conftest.
$ac_objext
2167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2168 (eval $ac_compile) 2>conftest.er1
2170 grep -v '^ *+' conftest.er1
>conftest.err
2172 cat conftest.err
>&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); } &&
2175 { ac_try
='test -z "$ac_c_werror_flag"
2176 || test ! -s conftest.err'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; } &&
2182 { ac_try
='test -s conftest.$ac_objext'
2183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; }; then
2188 for ac_declaration
in \
2190 'extern "C" void std::exit (int) throw (); using std::exit;' \
2191 'extern "C" void std::exit (int); using std::exit;' \
2192 'extern "C" void exit (int) throw ();' \
2193 'extern "C" void exit (int);' \
2196 cat >conftest.
$ac_ext <<_ACEOF
2199 cat confdefs.h
>>conftest.
$ac_ext
2200 cat >>conftest.
$ac_ext <<_ACEOF
2201 /* end confdefs.h. */
2212 rm -f conftest.
$ac_objext
2213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2214 (eval $ac_compile) 2>conftest.er1
2216 grep -v '^ *+' conftest.er1
>conftest.err
2218 cat conftest.err
>&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); } &&
2221 { ac_try
='test -z "$ac_c_werror_flag"
2222 || test ! -s conftest.err'
2223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); }; } &&
2228 { ac_try
='test -s conftest.$ac_objext'
2229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }; }; then
2236 echo "$as_me: failed program was:" >&5
2237 sed 's/^/| /' conftest.
$ac_ext >&5
2241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2242 cat >conftest.
$ac_ext <<_ACEOF
2245 cat confdefs.h
>>conftest.
$ac_ext
2246 cat >>conftest.
$ac_ext <<_ACEOF
2247 /* end confdefs.h. */
2257 rm -f conftest.
$ac_objext
2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2259 (eval $ac_compile) 2>conftest.er1
2261 grep -v '^ *+' conftest.er1
>conftest.err
2263 cat conftest.err
>&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); } &&
2266 { ac_try
='test -z "$ac_c_werror_flag"
2267 || test ! -s conftest.err'
2268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); }; } &&
2273 { ac_try
='test -s conftest.$ac_objext'
2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }; }; then
2281 echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.
$ac_ext >&5
2285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2288 if test -n "$ac_declaration"; then
2289 echo '#ifdef __cplusplus' >>confdefs.h
2290 echo $ac_declaration >>confdefs.h
2291 echo '#endif' >>confdefs.h
2295 echo "$as_me: failed program was:" >&5
2296 sed 's/^/| /' conftest.
$ac_ext >&5
2299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2301 ac_cpp
='$CPP $CPPFLAGS'
2302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2307 cat >>confdefs.h
<<\_ACEOF
2308 #define _GNU_SOURCE 1
2314 ac_cpp
='$CPP $CPPFLAGS'
2315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2318 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2319 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2320 # On Suns, sometimes $CPP names a directory.
2321 if test -n "$CPP" && test -d "$CPP"; then
2324 if test -z "$CPP"; then
2325 if test "${ac_cv_prog_CPP+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 # Double quotes because CPP needs to be expanded
2329 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2332 for ac_c_preproc_warn_flag
in '' yes
2334 # Use a header file that comes with gcc, so configuring glibc
2335 # with a fresh cross-compiler works.
2336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2337 # <limits.h> exists even on freestanding compilers.
2338 # On the NeXT, cc -E runs the code through the compiler's parser,
2339 # not just through cpp. "Syntax error" is here to catch this case.
2340 cat >conftest.
$ac_ext <<_ACEOF
2343 cat confdefs.h
>>conftest.
$ac_ext
2344 cat >>conftest.
$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2347 # include <limits.h>
2349 # include <assert.h>
2353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2356 grep -v '^ *+' conftest.er1
>conftest.err
2358 cat conftest.err
>&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); } >/dev
/null
; then
2361 if test -s conftest.err
; then
2362 ac_cpp_err
=$ac_c_preproc_warn_flag
2363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2370 if test -z "$ac_cpp_err"; then
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.
$ac_ext >&5
2376 # Broken: fails on valid input.
2379 rm -f conftest.err conftest.
$ac_ext
2381 # OK, works on sane cases. Now check whether non-existent headers
2382 # can be detected and how.
2383 cat >conftest.
$ac_ext <<_ACEOF
2386 cat confdefs.h
>>conftest.
$ac_ext
2387 cat >>conftest.
$ac_ext <<_ACEOF
2388 /* end confdefs.h. */
2389 #include <ac_nonexistent.h>
2391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2394 grep -v '^ *+' conftest.er1
>conftest.err
2396 cat conftest.err
>&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); } >/dev
/null
; then
2399 if test -s conftest.err
; then
2400 ac_cpp_err
=$ac_c_preproc_warn_flag
2401 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2408 if test -z "$ac_cpp_err"; then
2409 # Broken: success on invalid input.
2412 echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.
$ac_ext >&5
2415 # Passes both tests.
2419 rm -f conftest.err conftest.
$ac_ext
2422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2423 rm -f conftest.err conftest.
$ac_ext
2424 if $ac_preproc_ok; then
2436 echo "$as_me:$LINENO: result: $CPP" >&5
2437 echo "${ECHO_T}$CPP" >&6
2439 for ac_c_preproc_warn_flag
in '' yes
2441 # Use a header file that comes with gcc, so configuring glibc
2442 # with a fresh cross-compiler works.
2443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2444 # <limits.h> exists even on freestanding compilers.
2445 # On the NeXT, cc -E runs the code through the compiler's parser,
2446 # not just through cpp. "Syntax error" is here to catch this case.
2447 cat >conftest.
$ac_ext <<_ACEOF
2450 cat confdefs.h
>>conftest.
$ac_ext
2451 cat >>conftest.
$ac_ext <<_ACEOF
2452 /* end confdefs.h. */
2454 # include <limits.h>
2456 # include <assert.h>
2460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2461 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2463 grep -v '^ *+' conftest.er1
>conftest.err
2465 cat conftest.err
>&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); } >/dev
/null
; then
2468 if test -s conftest.err
; then
2469 ac_cpp_err
=$ac_c_preproc_warn_flag
2470 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2477 if test -z "$ac_cpp_err"; then
2480 echo "$as_me: failed program was:" >&5
2481 sed 's/^/| /' conftest.
$ac_ext >&5
2483 # Broken: fails on valid input.
2486 rm -f conftest.err conftest.
$ac_ext
2488 # OK, works on sane cases. Now check whether non-existent headers
2489 # can be detected and how.
2490 cat >conftest.
$ac_ext <<_ACEOF
2493 cat confdefs.h
>>conftest.
$ac_ext
2494 cat >>conftest.
$ac_ext <<_ACEOF
2495 /* end confdefs.h. */
2496 #include <ac_nonexistent.h>
2498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2501 grep -v '^ *+' conftest.er1
>conftest.err
2503 cat conftest.err
>&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); } >/dev
/null
; then
2506 if test -s conftest.err
; then
2507 ac_cpp_err
=$ac_c_preproc_warn_flag
2508 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2515 if test -z "$ac_cpp_err"; then
2516 # Broken: success on invalid input.
2519 echo "$as_me: failed program was:" >&5
2520 sed 's/^/| /' conftest.
$ac_ext >&5
2522 # Passes both tests.
2526 rm -f conftest.err conftest.
$ac_ext
2529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2530 rm -f conftest.err conftest.
$ac_ext
2531 if $ac_preproc_ok; then
2534 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2542 ac_cpp
='$CPP $CPPFLAGS'
2543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2548 echo "$as_me:$LINENO: checking for egrep" >&5
2549 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2550 if test "${ac_cv_prog_egrep+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2554 then ac_cv_prog_egrep
='grep -E'
2555 else ac_cv_prog_egrep
='egrep'
2558 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2559 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2560 EGREP
=$ac_cv_prog_egrep
2564 echo "$as_me:$LINENO: checking for AIX" >&5
2565 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2566 cat >conftest.
$ac_ext <<_ACEOF
2569 cat confdefs.h
>>conftest.
$ac_ext
2570 cat >>conftest.
$ac_ext <<_ACEOF
2571 /* end confdefs.h. */
2577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2578 $EGREP "yes" >/dev
/null
2>&1; then
2579 echo "$as_me:$LINENO: result: yes" >&5
2580 echo "${ECHO_T}yes" >&6
2581 cat >>confdefs.h
<<\_ACEOF
2582 #define _ALL_SOURCE 1
2586 echo "$as_me:$LINENO: result: no" >&5
2587 echo "${ECHO_T}no" >&6
2592 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2593 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2594 if test "${ac_cv_search_strerror+set}" = set; then
2595 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 ac_func_search_save_LIBS
=$LIBS
2598 ac_cv_search_strerror
=no
2599 cat >conftest.
$ac_ext <<_ACEOF
2602 cat confdefs.h
>>conftest.
$ac_ext
2603 cat >>conftest.
$ac_ext <<_ACEOF
2604 /* end confdefs.h. */
2606 /* Override any gcc2 internal prototype to avoid an error. */
2610 /* We use char because int might match the return type of a gcc2
2611 builtin and then its argument prototype would still apply. */
2621 rm -f conftest.
$ac_objext conftest
$ac_exeext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2623 (eval $ac_link) 2>conftest.er1
2625 grep -v '^ *+' conftest.er1
>conftest.err
2627 cat conftest.err
>&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); } &&
2630 { ac_try
='test -z "$ac_c_werror_flag"
2631 || test ! -s conftest.err'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; } &&
2637 { ac_try
='test -s conftest$ac_exeext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2643 ac_cv_search_strerror
="none required"
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.
$ac_ext >&5
2649 rm -f conftest.err conftest.
$ac_objext \
2650 conftest
$ac_exeext conftest.
$ac_ext
2651 if test "$ac_cv_search_strerror" = no
; then
2652 for ac_lib
in cposix
; do
2653 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2654 cat >conftest.
$ac_ext <<_ACEOF
2657 cat confdefs.h
>>conftest.
$ac_ext
2658 cat >>conftest.
$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2661 /* Override any gcc2 internal prototype to avoid an error. */
2665 /* We use char because int might match the return type of a gcc2
2666 builtin and then its argument prototype would still apply. */
2676 rm -f conftest.
$ac_objext conftest
$ac_exeext
2677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2678 (eval $ac_link) 2>conftest.er1
2680 grep -v '^ *+' conftest.er1
>conftest.err
2682 cat conftest.err
>&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); } &&
2685 { ac_try
='test -z "$ac_c_werror_flag"
2686 || test ! -s conftest.err'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; } &&
2692 { ac_try
='test -s conftest$ac_exeext'
2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; }; then
2698 ac_cv_search_strerror
="-l$ac_lib"
2701 echo "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.
$ac_ext >&5
2705 rm -f conftest.err conftest.
$ac_objext \
2706 conftest
$ac_exeext conftest.
$ac_ext
2709 LIBS
=$ac_func_search_save_LIBS
2711 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2712 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2713 if test "$ac_cv_search_strerror" != no
; then
2714 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2722 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2723 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2724 if test "${am_cv_prog_cc_stdc+set}" = set; then
2725 echo $ECHO_N "(cached) $ECHO_C" >&6
2727 am_cv_prog_cc_stdc
=no
2729 # Don't try gcc -ansi; that turns off useful extensions and
2730 # breaks some systems' header files.
2731 # AIX -qlanglvl=ansi
2732 # Ultrix and OSF/1 -std1
2733 # HP-UX 10.20 and later -Ae
2734 # HP-UX older versions -Aa -D_HPUX_SOURCE
2735 # SVR4 -Xc -D__EXTENSIONS__
2736 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2738 CC
="$ac_save_CC $ac_arg"
2739 cat >conftest.
$ac_ext <<_ACEOF
2742 cat confdefs.h
>>conftest.
$ac_ext
2743 cat >>conftest.
$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2747 #include <sys/types.h>
2748 #include <sys/stat.h>
2749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2750 struct buf { int x; };
2751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2752 static char *e (p, i)
2758 static char *f (char * (*g) (char **, int), char **p, ...)
2763 s = g (p, va_arg (v,int));
2767 int test (int i, double x);
2768 struct s1 {int (*f) (int a);};
2769 struct s2 {int (*f) (double a);};
2770 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2778 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2784 rm -f conftest.
$ac_objext
2785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2786 (eval $ac_compile) 2>conftest.er1
2788 grep -v '^ *+' conftest.er1
>conftest.err
2790 cat conftest.err
>&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } &&
2793 { ac_try
='test -z "$ac_c_werror_flag"
2794 || test ! -s conftest.err'
2795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }; } &&
2800 { ac_try
='test -s conftest.$ac_objext'
2801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }; }; then
2806 am_cv_prog_cc_stdc
="$ac_arg"; break
2808 echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.
$ac_ext >&5
2812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2818 if test -z "$am_cv_prog_cc_stdc"; then
2819 echo "$as_me:$LINENO: result: none needed" >&5
2820 echo "${ECHO_T}none needed" >&6
2822 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2823 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2825 case "x$am_cv_prog_cc_stdc" in
2827 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2832 for ac_dir
in ..
$srcdir/..
; do
2833 if test -f $ac_dir/install-sh
; then
2835 ac_install_sh
="$ac_aux_dir/install-sh -c"
2837 elif test -f $ac_dir/install.sh
; then
2839 ac_install_sh
="$ac_aux_dir/install.sh -c"
2841 elif test -f $ac_dir/shtool
; then
2843 ac_install_sh
="$ac_aux_dir/shtool install -c"
2847 if test -z "$ac_aux_dir"; then
2848 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
2849 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
2850 { (exit 1); exit 1; }; }
2852 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2853 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2854 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2856 # Make sure we can run config.sub.
2857 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2858 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2859 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2860 { (exit 1); exit 1; }; }
2862 echo "$as_me:$LINENO: checking build system type" >&5
2863 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2864 if test "${ac_cv_build+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 ac_cv_build_alias
=$build_alias
2868 test -z "$ac_cv_build_alias" &&
2869 ac_cv_build_alias
=`$ac_config_guess`
2870 test -z "$ac_cv_build_alias" &&
2871 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2872 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2873 { (exit 1); exit 1; }; }
2874 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2875 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2876 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2877 { (exit 1); exit 1; }; }
2880 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2881 echo "${ECHO_T}$ac_cv_build" >&6
2883 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2884 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2885 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2888 echo "$as_me:$LINENO: checking host system type" >&5
2889 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2890 if test "${ac_cv_host+set}" = set; then
2891 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 ac_cv_host_alias
=$host_alias
2894 test -z "$ac_cv_host_alias" &&
2895 ac_cv_host_alias
=$ac_cv_build_alias
2896 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2897 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2898 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2899 { (exit 1); exit 1; }; }
2902 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2903 echo "${ECHO_T}$ac_cv_host" >&6
2905 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2906 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2907 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2910 echo "$as_me:$LINENO: checking target system type" >&5
2911 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2912 if test "${ac_cv_target+set}" = set; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 ac_cv_target_alias
=$target_alias
2916 test "x$ac_cv_target_alias" = "x" &&
2917 ac_cv_target_alias
=$ac_cv_host_alias
2918 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2919 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2920 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2921 { (exit 1); exit 1; }; }
2924 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2925 echo "${ECHO_T}$ac_cv_target" >&6
2926 target
=$ac_cv_target
2927 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2928 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2929 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2932 # The aliases save the names the user supplied, while $host etc.
2933 # will get canonicalized.
2934 test -n "$target_alias" &&
2935 test "$program_prefix$program_suffix$program_transform_name" = \
2937 program_prefix
=${target_alias}-
2950 # If we haven't got the data from the intl directory,
2951 # assume NLS is disabled.
2960 if test -f ..
/intl
/config.intl
; then
2961 . ..
/intl
/config.intl
2963 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2964 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2965 if test x
"$USE_NLS" != xyes
; then
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2969 echo "$as_me:$LINENO: result: yes" >&5
2970 echo "${ECHO_T}yes" >&6
2972 cat >>confdefs.h
<<\_ACEOF
2973 #define ENABLE_NLS 1
2977 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2978 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2979 # Look for .po and .gmo files in the source directory.
2982 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2983 # If there aren't any .gmo files the shell will give us the
2984 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2986 case "$cat" in *\
**)
2989 # The quadruple backslash is collapsed to a double backslash
2990 # by the backticks, then collapsed again by the double quotes,
2991 # leaving us with one backslash in the sed expression (right
2992 # before the dot that mustn't act as a wildcard).
2993 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2994 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2995 # The user is allowed to set LINGUAS to a list of languages to
2996 # install catalogs for. If it's empty that means "all of them."
2997 if test "x$LINGUAS" = x
; then
2998 CATALOGS
="$CATALOGS $cat"
2999 XLINGUAS
="$XLINGUAS $lang"
3001 case "$LINGUAS" in *$lang*)
3002 CATALOGS
="$CATALOGS $cat"
3003 XLINGUAS
="$XLINGUAS $lang"
3009 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3010 echo "${ECHO_T}$LINGUAS" >&6
3023 localedir
='${datadir}/locale'
3026 if test x
"$USE_NLS" = xyes
; then
3027 CONFIG_ALL
="$CONFIG_ALL all-po"
3028 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3029 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3030 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3037 cat >>confdefs.h
<<_ACEOF
3038 #define PACKAGE "$PACKAGE"
3043 # GDB does not use automake, but gnulib does. This line lets us
3044 # generate its Makefile.in.
3045 am__api_version
="1.9"
3046 # Find a good install program. We prefer a C program (faster),
3047 # so one script is as good as another. But avoid the broken or
3048 # incompatible versions:
3049 # SysV /etc/install, /usr/sbin/install
3050 # SunOS /usr/etc/install
3051 # IRIX /sbin/install
3053 # AmigaOS /C/install, which installs bootblocks on floppy discs
3054 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3055 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3056 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3057 # OS/2's system install, which has a completely different semantic
3058 # ./install, which can be erroneously created by make from ./install.sh.
3059 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3060 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3061 if test -z "$INSTALL"; then
3062 if test "${ac_cv_path_install+set}" = set; then
3063 echo $ECHO_N "(cached) $ECHO_C" >&6
3065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir
=.
3070 # Account for people who put trailing slashes in PATH elements.
3072 .
/ | .
// |
/cC
/* | \
3073 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3074 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3077 # OSF1 and SCO ODT 3.0 have their own names for install.
3078 # Don't use installbsd from OSF since it installs stuff as root
3080 for ac_prog
in ginstall scoinst
install; do
3081 for ac_exec_ext
in '' $ac_executable_extensions; do
3082 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3083 if test $ac_prog = install &&
3084 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3085 # AIX install. It has an incompatible calling convention.
3087 elif test $ac_prog = install &&
3088 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3089 # program-specific install script used by HP pwplus--don't use.
3092 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3104 if test "${ac_cv_path_install+set}" = set; then
3105 INSTALL
=$ac_cv_path_install
3107 # As a last resort, use the slow shell script. We don't cache a
3108 # path for INSTALL within a source directory, because that will
3109 # break other packages using the cache if that directory is
3110 # removed, or if the path is relative.
3111 INSTALL
=$ac_install_sh
3114 echo "$as_me:$LINENO: result: $INSTALL" >&5
3115 echo "${ECHO_T}$INSTALL" >&6
3117 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3118 # It thinks the first close brace ends the variable substitution.
3119 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3121 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3123 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3125 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3126 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3129 echo timestamp
> conftest.
file
3130 # Do `set' in a subshell so we don't clobber the current shell's
3131 # arguments. Must try -L first in case configure is actually a
3132 # symlink; some systems play weird games with the mod time of symlinks
3133 # (eg FreeBSD returns the mod time of the symlink's containing
3136 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3137 if test "$*" = "X"; then
3139 set X
`ls -t $srcdir/configure conftest.file`
3142 if test "$*" != "X $srcdir/configure conftest.file" \
3143 && test "$*" != "X conftest.file $srcdir/configure"; then
3145 # If neither matched, then we have a broken ls. This can happen
3146 # if, for instance, CONFIG_SHELL is bash and it inherits a
3147 # broken ls alias from the environment. This has actually
3148 # happened. Such a system could not be considered "sane".
3149 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3150 alias in your environment" >&5
3151 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3152 alias in your environment" >&2;}
3153 { (exit 1); exit 1; }; }
3156 test "$2" = conftest.
file
3162 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3163 Check your system clock" >&5
3164 echo "$as_me: error: newly created file is older than distributed files!
3165 Check your system clock" >&2;}
3166 { (exit 1); exit 1; }; }
3168 echo "$as_me:$LINENO: result: yes" >&5
3169 echo "${ECHO_T}yes" >&6
3170 test "$program_prefix" != NONE
&&
3171 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3172 # Use a double $ so make ignores it.
3173 test "$program_suffix" != NONE
&&
3174 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3175 # Double any \ or $. echo might interpret backslashes.
3176 # By default was `s,x,x', remove it if useless.
3177 cat <<\_ACEOF
>conftest.
sed
3178 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3180 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3183 # expand $ac_aux_dir to an absolute path
3184 am_aux_dir
=`cd $ac_aux_dir && pwd`
3186 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3187 # Use eval to expand $SHELL
3188 if eval "$MISSING --run true"; then
3189 am_missing_run
="$MISSING --run "
3192 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3193 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3196 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3197 # We used to keeping the `.' as first argument, in order to
3198 # allow $(mkdir_p) to be used without argument. As in
3199 # $(mkdir_p) $(somedir)
3200 # where $(somedir) is conditionally defined. However this is wrong
3202 # 1. if the package is installed by a user who cannot write `.'
3203 # make install will fail,
3204 # 2. the above comment should most certainly read
3205 # $(mkdir_p) $(DESTDIR)$(somedir)
3206 # so it does not work when $(somedir) is undefined and
3207 # $(DESTDIR) is not.
3208 # To support the latter case, we have to write
3209 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3210 # so the `.' trick is pointless.
3211 mkdir_p
='mkdir -p --'
3213 # On NextStep and OpenStep, the `mkdir' command does not
3214 # recognize any option. It will interpret all options as
3215 # directories to create, and then abort because `.' already
3217 for d
in .
/-p .
/--version;
3219 test -d $d && rmdir $d
3221 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3222 if test -f "$ac_aux_dir/mkinstalldirs"; then
3223 mkdir_p
='$(mkinstalldirs)'
3225 mkdir_p
='$(install_sh) -d'
3229 for ac_prog
in gawk mawk nawk
awk
3231 # Extract the first word of "$ac_prog", so it can be a program name with args.
3232 set dummy
$ac_prog; ac_word
=$2
3233 echo "$as_me:$LINENO: checking for $ac_word" >&5
3234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3235 if test "${ac_cv_prog_AWK+set}" = set; then
3236 echo $ECHO_N "(cached) $ECHO_C" >&6
3238 if test -n "$AWK"; then
3239 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir
=.
3246 for ac_exec_ext
in '' $ac_executable_extensions; do
3247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_prog_AWK
="$ac_prog"
3249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3258 if test -n "$AWK"; then
3259 echo "$as_me:$LINENO: result: $AWK" >&5
3260 echo "${ECHO_T}$AWK" >&6
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3266 test -n "$AWK" && break
3269 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3270 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3271 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3272 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3273 echo $ECHO_N "(cached) $ECHO_C" >&6
3275 cat >conftest.
make <<\_ACEOF
3277 @
echo 'ac_maketemp="$(MAKE)"'
3279 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3280 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3281 if test -n "$ac_maketemp"; then
3282 eval ac_cv_prog_make_
${ac_make}_set
=yes
3284 eval ac_cv_prog_make_
${ac_make}_set
=no
3288 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3289 echo "$as_me:$LINENO: result: yes" >&5
3290 echo "${ECHO_T}yes" >&6
3293 echo "$as_me:$LINENO: result: no" >&5
3294 echo "${ECHO_T}no" >&6
3295 SET_MAKE
="MAKE=${MAKE-make}"
3298 rm -rf .tst
2>/dev
/null
3299 mkdir .tst
2>/dev
/null
3300 if test -d .tst
; then
3305 rmdir .tst
2>/dev
/null
3307 DEPDIR
="${am__leading_dot}deps"
3309 ac_config_commands
="$ac_config_commands depfiles"
3312 am_make
=${MAKE-make}
3313 cat > confinc
<< 'END'
3318 # If we don't find an include directive, just comment out the code.
3319 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3320 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3324 # First try GNU make style include.
3325 echo "include confinc" > confmf
3326 # We grep out `Entering directory' and `Leaving directory'
3327 # messages which can occur if `w' ends up in MAKEFLAGS.
3328 # In particular we don't look at `^make:' because GNU make might
3329 # be invoked under some other name (usually "gmake"), in which
3330 # case it prints its new name instead of `make'.
3331 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3336 # Now try BSD make style include.
3337 if test "$am__include" = "#"; then
3338 echo '.include "confinc"' > confmf
3339 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3340 am__include
=.include
3347 echo "$as_me:$LINENO: result: $_am_result" >&5
3348 echo "${ECHO_T}$_am_result" >&6
3349 rm -f confinc confmf
3351 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3352 if test "${enable_dependency_tracking+set}" = set; then
3353 enableval
="$enable_dependency_tracking"
3356 if test "x$enable_dependency_tracking" != xno
; then
3357 am_depcomp
="$ac_aux_dir/depcomp"
3362 if test "x$enable_dependency_tracking" != xno; then
3372 # test to see if srcdir already configured
3373 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3374 test -f $srcdir/config.status
; then
3375 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3376 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3377 { (exit 1); exit 1; }; }
3380 # test whether we have cygpath
3381 if test -z "$CYGPATH_W"; then
3382 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3383 CYGPATH_W
='cygpath -w'
3390 # Define the identity of the package.
3392 VERSION
=UNUSED-VERSION
3395 # Some tools Automake needs.
3397 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3400 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3403 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3406 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3409 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3411 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3413 # Installed binaries are usually stripped using `strip' when the user
3414 # run `make install-strip'. However `strip' might not be the right
3415 # tool to use in cross-compilation environments, therefore Automake
3416 # will honor the `STRIP' environment variable to overrule this program.
3417 if test "$cross_compiling" != no
; then
3418 if test -n "$ac_tool_prefix"; then
3419 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3420 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3421 echo "$as_me:$LINENO: checking for $ac_word" >&5
3422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3423 if test "${ac_cv_prog_STRIP+set}" = set; then
3424 echo $ECHO_N "(cached) $ECHO_C" >&6
3426 if test -n "$STRIP"; then
3427 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3433 test -z "$as_dir" && as_dir
=.
3434 for ac_exec_ext
in '' $ac_executable_extensions; do
3435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3436 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3445 STRIP
=$ac_cv_prog_STRIP
3446 if test -n "$STRIP"; then
3447 echo "$as_me:$LINENO: result: $STRIP" >&5
3448 echo "${ECHO_T}$STRIP" >&6
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3455 if test -z "$ac_cv_prog_STRIP"; then
3457 # Extract the first word of "strip", so it can be a program name with args.
3458 set dummy strip
; ac_word
=$2
3459 echo "$as_me:$LINENO: checking for $ac_word" >&5
3460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3461 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 if test -n "$ac_ct_STRIP"; then
3465 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3471 test -z "$as_dir" && as_dir
=.
3472 for ac_exec_ext
in '' $ac_executable_extensions; do
3473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3474 ac_cv_prog_ac_ct_STRIP
="strip"
3475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3481 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3484 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3485 if test -n "$ac_ct_STRIP"; then
3486 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3487 echo "${ECHO_T}$ac_ct_STRIP" >&6
3489 echo "$as_me:$LINENO: result: no" >&5
3490 echo "${ECHO_T}no" >&6
3495 STRIP
="$ac_cv_prog_STRIP"
3499 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3501 # We need awk for the "check" target. The system "awk" is bad on
3503 # Always define AMTAR for backward compatibility.
3505 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3507 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3512 depcc
="$CC" am_compiler_list
=
3514 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3515 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3516 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3519 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3520 # We make a subdir and do the tests there. Otherwise we can end up
3521 # making bogus files that we don't know about and never remove. For
3522 # instance it was reported that on HP-UX the gcc test will end up
3523 # making a dummy file named `D' -- because `-MD' means `put the output
3526 # Copy depcomp to subdir because otherwise we won't find it if we're
3527 # using a relative directory.
3528 cp "$am_depcomp" conftest.dir
3530 # We will build objects and dependencies in a subdirectory because
3531 # it helps to detect inapplicable dependency modes. For instance
3532 # both Tru64's cc and ICC support -MD to output dependencies as a
3533 # side effect of compilation, but ICC will put the dependencies in
3534 # the current directory while Tru64 will put them in the object
3538 am_cv_CC_dependencies_compiler_type
=none
3539 if test "$am_compiler_list" = ""; then
3540 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3542 for depmode
in $am_compiler_list; do
3543 # Setup a source with many dependencies, because some compilers
3544 # like to wrap large dependency lists on column 80 (with \), and
3545 # we should not choose a depcomp mode which is confused by this.
3547 # We need to recreate these files for each test, as the compiler may
3548 # overwrite some of them when testing with obscure command lines.
3549 # This happens at least with the AIX C compiler.
3551 for i
in 1 2 3 4 5 6; do
3552 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3553 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3554 # Solaris 8's {/usr,}/bin/sh.
3555 touch sub
/conftst
$i.h
3557 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3561 # after this tag, mechanisms are not by side-effect, so they'll
3562 # only be used when explicitly requested
3563 if test "x$enable_dependency_tracking" = xyes
; then
3571 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3572 # mode. It turns out that the SunPro C++ compiler does not properly
3573 # handle `-M -o', and we need to detect this.
3574 if depmode
=$depmode \
3575 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3576 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3577 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3578 >/dev
/null
2>conftest.err
&&
3579 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3580 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3581 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3582 # icc doesn't choke on unknown options, it will just issue warnings
3583 # or remarks (even with -Werror). So we grep stderr for any message
3584 # that says an option was ignored or not supported.
3585 # When given -MP, icc 7.0 and 7.1 complain thusly:
3586 # icc: Command line warning: ignoring option '-M'; no argument required
3587 # The diagnosis changed in icc 8.0:
3588 # icc: Command line remark: option '-MP' not supported
3589 if (grep 'ignoring option' conftest.err ||
3590 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3591 am_cv_CC_dependencies_compiler_type
=$depmode
3600 am_cv_CC_dependencies_compiler_type
=none
3604 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3605 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3606 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3611 test "x$enable_dependency_tracking" != xno \
3612 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3614 am__fastdepCC_FALSE
='#'
3616 am__fastdepCC_TRUE
='#'
3617 am__fastdepCC_FALSE
=
3623 debugdir
=${libdir}/debug
3626 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
3627 if test "${with_separate_debug_dir+set}" = set; then
3628 withval
="$with_separate_debug_dir"
3629 debugdir
="${withval}"
3633 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
3634 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3635 ac_define_dir
=`eval echo $debugdir`
3636 ac_define_dir
=`eval echo $ac_define_dir`
3638 cat >>confdefs.h
<<_ACEOF
3639 #define DEBUGDIR "$ac_define_dir"
3643 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
3645 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
3646 if test "x$prefix" = xNONE
; then
3647 test_prefix
=/usr
/local
3652 test_prefix
=$exec_prefix
3655 "${test_prefix}"|
"${test_prefix}/"*|\
3656 '${exec_prefix}'|
'${exec_prefix}/'*)
3658 cat >>confdefs.h
<<\_ACEOF
3659 #define DEBUGDIR_RELOCATABLE 1
3667 subdirs
="$subdirs doc testsuite"
3670 # Check whether to support alternative target configurations
3671 # Check whether --enable-targets or --disable-targets was given.
3672 if test "${enable_targets+set}" = set; then
3673 enableval
="$enable_targets"
3674 case "${enableval}" in
3675 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
3676 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
3677 { (exit 1); exit 1; }; }
3679 no
) enable_targets
= ;;
3680 *) enable_targets
=$enableval ;;
3684 # Check whether to enable 64-bit support on 32-bit hosts
3685 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
3686 if test "${enable_64_bit_bfd+set}" = set; then
3687 enableval
="$enable_64_bit_bfd"
3688 case "${enableval}" in
3691 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
3692 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
3693 { (exit 1); exit 1; }; } ;;
3698 # Provide defaults for some variables set by the per-host and per-target
3700 gdb_host_obs
=posix-hdep.o
3702 if test "${target}" = "${host}"; then
3708 .
$srcdir/configure.
host
3710 # Accumulate some settings from configure.tgt over all enabled targets
3715 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
3717 if test "$targ_alias" = "all"; then
3720 # Canonicalize the secondary target names.
3721 result
=`$ac_config_sub $targ_alias 2>/dev/null`
3722 if test -n "$result"; then
3728 .
${srcdir}/configure.tgt
3730 # Target-specific object files
3731 for i
in ${gdb_target_obs}; do
3732 case " $TARGET_OBS " in
3735 TARGET_OBS
="$TARGET_OBS ${i}"
3740 # Check whether this target needs 64-bit CORE_ADDR
3741 if test x
${want64} = xfalse
; then
3742 .
${srcdir}/..
/bfd
/config.bfd
3747 if test x
${all_targets} = xtrue
; then
3749 # We want all 64-bit targets if we either:
3750 # - run on a 64-bit host or
3751 # - already require 64-bit support for some other target or
3752 # - the --enable-64-bit-bfd option was supplied
3753 # Otherwise we only support all 32-bit targets.
3755 # NOTE: This test must be in sync with the corresponding
3758 if test x
${want64} = xfalse
; then
3759 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3760 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3761 if test "${ac_cv_header_stdc+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 cat >conftest.
$ac_ext <<_ACEOF
3767 cat confdefs.h
>>conftest.
$ac_ext
3768 cat >>conftest.
$ac_ext <<_ACEOF
3769 /* end confdefs.h. */
3783 rm -f conftest.
$ac_objext
3784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3785 (eval $ac_compile) 2>conftest.er1
3787 grep -v '^ *+' conftest.er1
>conftest.err
3789 cat conftest.err
>&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); } &&
3792 { ac_try
='test -z "$ac_c_werror_flag"
3793 || test ! -s conftest.err'
3794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798 (exit $ac_status); }; } &&
3799 { ac_try
='test -s conftest.$ac_objext'
3800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); }; }; then
3805 ac_cv_header_stdc
=yes
3807 echo "$as_me: failed program was:" >&5
3808 sed 's/^/| /' conftest.
$ac_ext >&5
3810 ac_cv_header_stdc
=no
3812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3814 if test $ac_cv_header_stdc = yes; then
3815 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3816 cat >conftest.
$ac_ext <<_ACEOF
3819 cat confdefs.h
>>conftest.
$ac_ext
3820 cat >>conftest.
$ac_ext <<_ACEOF
3821 /* end confdefs.h. */
3825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3826 $EGREP "memchr" >/dev
/null
2>&1; then
3829 ac_cv_header_stdc
=no
3835 if test $ac_cv_header_stdc = yes; then
3836 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3837 cat >conftest.
$ac_ext <<_ACEOF
3840 cat confdefs.h
>>conftest.
$ac_ext
3841 cat >>conftest.
$ac_ext <<_ACEOF
3842 /* end confdefs.h. */
3846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3847 $EGREP "free" >/dev
/null
2>&1; then
3850 ac_cv_header_stdc
=no
3856 if test $ac_cv_header_stdc = yes; then
3857 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3858 if test "$cross_compiling" = yes; then
3861 cat >conftest.
$ac_ext <<_ACEOF
3864 cat confdefs.h
>>conftest.
$ac_ext
3865 cat >>conftest.
$ac_ext <<_ACEOF
3866 /* end confdefs.h. */
3868 #if ((' ' & 0x0FF) == 0x020)
3869 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3870 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3872 # define ISLOWER(c) \
3873 (('a' <= (c) && (c) <= 'i') \
3874 || ('j' <= (c) && (c) <= 'r') \
3875 || ('s' <= (c) && (c) <= 'z'))
3876 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3879 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3884 for (i = 0; i < 256; i++)
3885 if (XOR (islower (i), ISLOWER (i))
3886 || toupper (i) != TOUPPER (i))
3891 rm -f conftest
$ac_exeext
3892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3893 (eval $ac_link) 2>&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; }; then
3904 echo "$as_me: program exited with status $ac_status" >&5
3905 echo "$as_me: failed program was:" >&5
3906 sed 's/^/| /' conftest.
$ac_ext >&5
3909 ac_cv_header_stdc
=no
3911 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3915 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3916 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3917 if test $ac_cv_header_stdc = yes; then
3919 cat >>confdefs.h
<<\_ACEOF
3920 #define STDC_HEADERS 1
3925 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3935 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3936 inttypes.h stdint.h unistd.h
3938 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3939 echo "$as_me:$LINENO: checking for $ac_header" >&5
3940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 cat >conftest.
$ac_ext <<_ACEOF
3947 cat confdefs.h
>>conftest.
$ac_ext
3948 cat >>conftest.
$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3950 $ac_includes_default
3952 #include <$ac_header>
3954 rm -f conftest.
$ac_objext
3955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3956 (eval $ac_compile) 2>conftest.er1
3958 grep -v '^ *+' conftest.er1
>conftest.err
3960 cat conftest.err
>&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } &&
3963 { ac_try
='test -z "$ac_c_werror_flag"
3964 || test ! -s conftest.err'
3965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); }; } &&
3970 { ac_try
='test -s conftest.$ac_objext'
3971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); }; }; then
3976 eval "$as_ac_Header=yes"
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.
$ac_ext >&5
3981 eval "$as_ac_Header=no"
3983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3988 cat >>confdefs.h
<<_ACEOF
3989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3997 echo "$as_me:$LINENO: checking for long" >&5
3998 echo $ECHO_N "checking for long... $ECHO_C" >&6
3999 if test "${ac_cv_type_long+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 cat >conftest.
$ac_ext <<_ACEOF
4005 cat confdefs.h
>>conftest.
$ac_ext
4006 cat >>conftest.
$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4008 $ac_includes_default
4020 rm -f conftest.
$ac_objext
4021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4022 (eval $ac_compile) 2>conftest.er1
4024 grep -v '^ *+' conftest.er1
>conftest.err
4026 cat conftest.err
>&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } &&
4029 { ac_try
='test -z "$ac_c_werror_flag"
4030 || test ! -s conftest.err'
4031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); }; } &&
4036 { ac_try
='test -s conftest.$ac_objext'
4037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; }; then
4044 echo "$as_me: failed program was:" >&5
4045 sed 's/^/| /' conftest.
$ac_ext >&5
4049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4051 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4052 echo "${ECHO_T}$ac_cv_type_long" >&6
4054 echo "$as_me:$LINENO: checking size of long" >&5
4055 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4056 if test "${ac_cv_sizeof_long+set}" = set; then
4057 echo $ECHO_N "(cached) $ECHO_C" >&6
4059 if test "$ac_cv_type_long" = yes; then
4060 # The cast to unsigned long works around a bug in the HP C Compiler
4061 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4062 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4063 # This bug is HP SR number 8606223364.
4064 if test "$cross_compiling" = yes; then
4065 # Depending upon the size, compute the lo and hi bounds.
4066 cat >conftest.
$ac_ext <<_ACEOF
4069 cat confdefs.h
>>conftest.
$ac_ext
4070 cat >>conftest.
$ac_ext <<_ACEOF
4071 /* end confdefs.h. */
4072 $ac_includes_default
4076 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4083 rm -f conftest.
$ac_objext
4084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4085 (eval $ac_compile) 2>conftest.er1
4087 grep -v '^ *+' conftest.er1
>conftest.err
4089 cat conftest.err
>&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); } &&
4092 { ac_try
='test -z "$ac_c_werror_flag"
4093 || test ! -s conftest.err'
4094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); }; } &&
4099 { ac_try
='test -s conftest.$ac_objext'
4100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); }; }; then
4107 cat >conftest.
$ac_ext <<_ACEOF
4110 cat confdefs.h
>>conftest.
$ac_ext
4111 cat >>conftest.
$ac_ext <<_ACEOF
4112 /* end confdefs.h. */
4113 $ac_includes_default
4117 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4124 rm -f conftest.
$ac_objext
4125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4126 (eval $ac_compile) 2>conftest.er1
4128 grep -v '^ *+' conftest.er1
>conftest.err
4130 cat conftest.err
>&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); } &&
4133 { ac_try
='test -z "$ac_c_werror_flag"
4134 || test ! -s conftest.err'
4135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); }; } &&
4140 { ac_try
='test -s conftest.$ac_objext'
4141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); }; }; then
4146 ac_hi
=$ac_mid; break
4148 echo "$as_me: failed program was:" >&5
4149 sed 's/^/| /' conftest.
$ac_ext >&5
4151 ac_lo
=`expr $ac_mid + 1`
4152 if test $ac_lo -le $ac_mid; then
4156 ac_mid
=`expr 2 '*' $ac_mid + 1`
4158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4161 echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.
$ac_ext >&5
4164 cat >conftest.
$ac_ext <<_ACEOF
4167 cat confdefs.h
>>conftest.
$ac_ext
4168 cat >>conftest.
$ac_ext <<_ACEOF
4169 /* end confdefs.h. */
4170 $ac_includes_default
4174 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4181 rm -f conftest.
$ac_objext
4182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4183 (eval $ac_compile) 2>conftest.er1
4185 grep -v '^ *+' conftest.er1
>conftest.err
4187 cat conftest.err
>&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); } &&
4190 { ac_try
='test -z "$ac_c_werror_flag"
4191 || test ! -s conftest.err'
4192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); }; } &&
4197 { ac_try
='test -s conftest.$ac_objext'
4198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); }; }; then
4205 cat >conftest.
$ac_ext <<_ACEOF
4208 cat confdefs.h
>>conftest.
$ac_ext
4209 cat >>conftest.
$ac_ext <<_ACEOF
4210 /* end confdefs.h. */
4211 $ac_includes_default
4215 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4222 rm -f conftest.
$ac_objext
4223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4224 (eval $ac_compile) 2>conftest.er1
4226 grep -v '^ *+' conftest.er1
>conftest.err
4228 cat conftest.err
>&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); } &&
4231 { ac_try
='test -z "$ac_c_werror_flag"
4232 || test ! -s conftest.err'
4233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; } &&
4238 { ac_try
='test -s conftest.$ac_objext'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; }; then
4244 ac_lo
=$ac_mid; break
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.
$ac_ext >&5
4249 ac_hi
=`expr '(' $ac_mid ')' - 1`
4250 if test $ac_mid -le $ac_hi; then
4254 ac_mid
=`expr 2 '*' $ac_mid`
4256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4259 echo "$as_me: failed program was:" >&5
4260 sed 's/^/| /' conftest.
$ac_ext >&5
4264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4267 # Binary search between lo and hi bounds.
4268 while test "x$ac_lo" != "x$ac_hi"; do
4269 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4270 cat >conftest.
$ac_ext <<_ACEOF
4273 cat confdefs.h
>>conftest.
$ac_ext
4274 cat >>conftest.
$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4276 $ac_includes_default
4280 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4287 rm -f conftest.
$ac_objext
4288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4289 (eval $ac_compile) 2>conftest.er1
4291 grep -v '^ *+' conftest.er1
>conftest.err
4293 cat conftest.err
>&5
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } &&
4296 { ac_try
='test -z "$ac_c_werror_flag"
4297 || test ! -s conftest.err'
4298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); }; } &&
4303 { ac_try
='test -s conftest.$ac_objext'
4304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); }; }; then
4311 echo "$as_me: failed program was:" >&5
4312 sed 's/^/| /' conftest.
$ac_ext >&5
4314 ac_lo
=`expr '(' $ac_mid ')' + 1`
4316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4319 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4320 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4321 See \`config.log' for more details." >&5
4322 echo "$as_me: error: cannot compute sizeof (long), 77
4323 See \`config.log' for more details." >&2;}
4324 { (exit 1); exit 1; }; } ;;
4327 if test "$cross_compiling" = yes; then
4328 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4329 See \`config.log' for more details." >&5
4330 echo "$as_me: error: cannot run test program while cross compiling
4331 See \`config.log' for more details." >&2;}
4332 { (exit 1); exit 1; }; }
4334 cat >conftest.
$ac_ext <<_ACEOF
4337 cat confdefs.h
>>conftest.
$ac_ext
4338 cat >>conftest.
$ac_ext <<_ACEOF
4339 /* end confdefs.h. */
4340 $ac_includes_default
4341 long longval () { return (long) (sizeof (long)); }
4342 unsigned long ulongval () { return (long) (sizeof (long)); }
4349 FILE *f = fopen ("conftest.val", "w");
4352 if (((long) (sizeof (long))) < 0)
4354 long i = longval ();
4355 if (i != ((long) (sizeof (long))))
4357 fprintf (f, "%ld\n", i);
4361 unsigned long i = ulongval ();
4362 if (i != ((long) (sizeof (long))))
4364 fprintf (f, "%lu\n", i);
4366 exit (ferror (f) || fclose (f) != 0);
4372 rm -f conftest
$ac_exeext
4373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4374 (eval $ac_link) 2>&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; }; then
4383 ac_cv_sizeof_long
=`cat conftest.val`
4385 echo "$as_me: program exited with status $ac_status" >&5
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.
$ac_ext >&5
4390 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4391 See \`config.log' for more details." >&5
4392 echo "$as_me: error: cannot compute sizeof (long), 77
4393 See \`config.log' for more details." >&2;}
4394 { (exit 1); exit 1; }; }
4396 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4404 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4405 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4406 cat >>confdefs.h
<<_ACEOF
4407 #define SIZEOF_LONG $ac_cv_sizeof_long
4411 if test "x${ac_cv_sizeof_long}" = "x8"; then
4415 if test x
${want64} = xtrue
; then
4416 TARGET_OBS
='$(ALL_TARGET_OBS) $(ALL_64_TARGET_OBS)'
4418 TARGET_OBS
='$(ALL_TARGET_OBS)'
4424 # For other settings, only the main target counts.
4428 targ
=$target; .
${srcdir}/configure.tgt
4430 # Fetch the default architecture and default target vector from BFD.
4431 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
4433 # We only want the first architecture, so strip off the others if
4434 # there is more than one.
4435 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
4437 if test "x$targ_archs" != x
; then
4439 cat >>confdefs.h
<<_ACEOF
4440 #define DEFAULT_BFD_ARCH $targ_archs
4444 if test "x$targ_defvec" != x
; then
4446 cat >>confdefs.h
<<_ACEOF
4447 #define DEFAULT_BFD_VEC $targ_defvec
4452 # The CLI cannot be disabled yet, but may be in the future.
4455 # Check whether --enable-gdbcli or --disable-gdbcli was given.
4456 if test "${enable_gdbcli+set}" = set; then
4457 enableval
="$enable_gdbcli"
4462 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
4463 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
4464 { (exit 1); exit 1; }; } ;;
4466 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
4467 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
4468 { (exit 1); exit 1; }; } ;;
4473 if test x
"$enable_gdbcli" = xyes
; then
4474 if test -d $srcdir/cli
; then
4475 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
4476 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
4477 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
4478 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
4483 # Check whether --enable-gdbmi or --disable-gdbmi was given.
4484 if test "${enable_gdbmi+set}" = set; then
4485 enableval
="$enable_gdbmi"
4490 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
4491 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
4492 { (exit 1); exit 1; }; } ;;
4497 if test x
"$enable_gdbmi" = xyes
; then
4498 if test -d $srcdir/mi
; then
4499 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
4500 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
4501 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
4502 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
4507 # Check whether --enable-tui or --disable-tui was given.
4508 if test "${enable_tui+set}" = set; then
4509 enableval
="$enable_tui"
4514 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
4515 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
4516 { (exit 1); exit 1; }; } ;;
4523 # Check whether --enable-gdbtk or --disable-gdbtk was given.
4524 if test "${enable_gdbtk+set}" = set; then
4525 enableval
="$enable_gdbtk"
4530 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
4531 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
4532 { (exit 1); exit 1; }; } ;;
4535 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
4541 # We unconditionally disable gdbtk tests on selected platforms.
4544 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
4545 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
4549 # Libunwind support.
4551 # Check whether --with-libunwind or --without-libunwind was given.
4552 if test "${with_libunwind+set}" = set; then
4553 withval
="$with_libunwind"
4554 case "${withval}" in
4555 yes) enable_libunwind
=yes ;;
4556 no
) enable_libunwind
=no
;;
4557 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
4558 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
4559 { (exit 1); exit 1; }; } ;;
4564 for ac_header
in libunwind.h
4566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4568 echo "$as_me:$LINENO: checking for $ac_header" >&5
4569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4576 # Is the header compilable?
4577 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4578 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4579 cat >conftest.
$ac_ext <<_ACEOF
4582 cat confdefs.h
>>conftest.
$ac_ext
4583 cat >>conftest.
$ac_ext <<_ACEOF
4584 /* end confdefs.h. */
4585 $ac_includes_default
4586 #include <$ac_header>
4588 rm -f conftest.
$ac_objext
4589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4590 (eval $ac_compile) 2>conftest.er1
4592 grep -v '^ *+' conftest.er1
>conftest.err
4594 cat conftest.err
>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); } &&
4597 { ac_try
='test -z "$ac_c_werror_flag"
4598 || test ! -s conftest.err'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; } &&
4604 { ac_try
='test -s conftest.$ac_objext'
4605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); }; }; then
4610 ac_header_compiler
=yes
4612 echo "$as_me: failed program was:" >&5
4613 sed 's/^/| /' conftest.
$ac_ext >&5
4615 ac_header_compiler
=no
4617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4619 echo "${ECHO_T}$ac_header_compiler" >&6
4621 # Is the header present?
4622 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4623 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4624 cat >conftest.
$ac_ext <<_ACEOF
4627 cat confdefs.h
>>conftest.
$ac_ext
4628 cat >>conftest.
$ac_ext <<_ACEOF
4629 /* end confdefs.h. */
4630 #include <$ac_header>
4632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4633 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4635 grep -v '^ *+' conftest.er1
>conftest.err
4637 cat conftest.err
>&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); } >/dev
/null
; then
4640 if test -s conftest.err
; then
4641 ac_cpp_err
=$ac_c_preproc_warn_flag
4642 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4649 if test -z "$ac_cpp_err"; then
4650 ac_header_preproc
=yes
4652 echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.
$ac_ext >&5
4655 ac_header_preproc
=no
4657 rm -f conftest.err conftest.
$ac_ext
4658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4659 echo "${ECHO_T}$ac_header_preproc" >&6
4661 # So? What about this header?
4662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4664 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4665 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4667 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4668 ac_header_preproc
=yes
4671 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4672 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4673 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4674 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4675 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4676 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4677 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4678 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4680 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4681 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4682 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4685 ## ------------------------------------------ ##
4686 ## Report this to the AC_PACKAGE_NAME lists. ##
4687 ## ------------------------------------------ ##
4690 sed "s/^/$as_me: WARNING: /" >&2
4693 echo "$as_me:$LINENO: checking for $ac_header" >&5
4694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4698 eval "$as_ac_Header=\$ac_header_preproc"
4700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4705 cat >>confdefs.h
<<_ACEOF
4706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4714 for ac_header
in libunwind-ia64.h
4716 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4718 echo "$as_me:$LINENO: checking for $ac_header" >&5
4719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4726 # Is the header compilable?
4727 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4729 cat >conftest.
$ac_ext <<_ACEOF
4732 cat confdefs.h
>>conftest.
$ac_ext
4733 cat >>conftest.
$ac_ext <<_ACEOF
4734 /* end confdefs.h. */
4735 $ac_includes_default
4736 #include <$ac_header>
4738 rm -f conftest.
$ac_objext
4739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4740 (eval $ac_compile) 2>conftest.er1
4742 grep -v '^ *+' conftest.er1
>conftest.err
4744 cat conftest.err
>&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } &&
4747 { ac_try
='test -z "$ac_c_werror_flag"
4748 || test ! -s conftest.err'
4749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }; } &&
4754 { ac_try
='test -s conftest.$ac_objext'
4755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); }; }; then
4760 ac_header_compiler
=yes
4762 echo "$as_me: failed program was:" >&5
4763 sed 's/^/| /' conftest.
$ac_ext >&5
4765 ac_header_compiler
=no
4767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4769 echo "${ECHO_T}$ac_header_compiler" >&6
4771 # Is the header present?
4772 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4773 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4774 cat >conftest.
$ac_ext <<_ACEOF
4777 cat confdefs.h
>>conftest.
$ac_ext
4778 cat >>conftest.
$ac_ext <<_ACEOF
4779 /* end confdefs.h. */
4780 #include <$ac_header>
4782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4783 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4785 grep -v '^ *+' conftest.er1
>conftest.err
4787 cat conftest.err
>&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); } >/dev
/null
; then
4790 if test -s conftest.err
; then
4791 ac_cpp_err
=$ac_c_preproc_warn_flag
4792 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4799 if test -z "$ac_cpp_err"; then
4800 ac_header_preproc
=yes
4802 echo "$as_me: failed program was:" >&5
4803 sed 's/^/| /' conftest.
$ac_ext >&5
4805 ac_header_preproc
=no
4807 rm -f conftest.err conftest.
$ac_ext
4808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4809 echo "${ECHO_T}$ac_header_preproc" >&6
4811 # So? What about this header?
4812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4814 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4815 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4817 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4818 ac_header_preproc
=yes
4821 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4823 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4825 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4826 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4827 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4828 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4830 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4831 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4832 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4835 ## ------------------------------------------ ##
4836 ## Report this to the AC_PACKAGE_NAME lists. ##
4837 ## ------------------------------------------ ##
4840 sed "s/^/$as_me: WARNING: /" >&2
4843 echo "$as_me:$LINENO: checking for $ac_header" >&5
4844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4846 echo $ECHO_N "(cached) $ECHO_C" >&6
4848 eval "$as_ac_Header=\$ac_header_preproc"
4850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4855 cat >>confdefs.h
<<_ACEOF
4856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4863 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
4864 enable_libunwind
=yes;
4869 if test x
"$enable_libunwind" = xyes
; then
4871 for ac_header
in libunwind.h
4873 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4875 echo "$as_me:$LINENO: checking for $ac_header" >&5
4876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4883 # Is the header compilable?
4884 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4885 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4886 cat >conftest.
$ac_ext <<_ACEOF
4889 cat confdefs.h
>>conftest.
$ac_ext
4890 cat >>conftest.
$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4892 $ac_includes_default
4893 #include <$ac_header>
4895 rm -f conftest.
$ac_objext
4896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4897 (eval $ac_compile) 2>conftest.er1
4899 grep -v '^ *+' conftest.er1
>conftest.err
4901 cat conftest.err
>&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); } &&
4904 { ac_try
='test -z "$ac_c_werror_flag"
4905 || test ! -s conftest.err'
4906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); }; } &&
4911 { ac_try
='test -s conftest.$ac_objext'
4912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); }; }; then
4917 ac_header_compiler
=yes
4919 echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.
$ac_ext >&5
4922 ac_header_compiler
=no
4924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4926 echo "${ECHO_T}$ac_header_compiler" >&6
4928 # Is the header present?
4929 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4931 cat >conftest.
$ac_ext <<_ACEOF
4934 cat confdefs.h
>>conftest.
$ac_ext
4935 cat >>conftest.
$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4937 #include <$ac_header>
4939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4940 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4942 grep -v '^ *+' conftest.er1
>conftest.err
4944 cat conftest.err
>&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } >/dev
/null
; then
4947 if test -s conftest.err
; then
4948 ac_cpp_err
=$ac_c_preproc_warn_flag
4949 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4956 if test -z "$ac_cpp_err"; then
4957 ac_header_preproc
=yes
4959 echo "$as_me: failed program was:" >&5
4960 sed 's/^/| /' conftest.
$ac_ext >&5
4962 ac_header_preproc
=no
4964 rm -f conftest.err conftest.
$ac_ext
4965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4966 echo "${ECHO_T}$ac_header_preproc" >&6
4968 # So? What about this header?
4969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4971 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4972 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4974 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4975 ac_header_preproc
=yes
4978 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4979 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4980 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4981 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4982 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4983 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4984 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4985 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4988 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4989 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4992 ## ------------------------------------------ ##
4993 ## Report this to the AC_PACKAGE_NAME lists. ##
4994 ## ------------------------------------------ ##
4997 sed "s/^/$as_me: WARNING: /" >&2
5000 echo "$as_me:$LINENO: checking for $ac_header" >&5
5001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 eval "$as_ac_Header=\$ac_header_preproc"
5007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5011 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5012 cat >>confdefs.h
<<_ACEOF
5013 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5021 for ac_header
in libunwind-ia64.h
5023 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5025 echo "$as_me:$LINENO: checking for $ac_header" >&5
5026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5028 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5033 # Is the header compilable?
5034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5036 cat >conftest.
$ac_ext <<_ACEOF
5039 cat confdefs.h
>>conftest.
$ac_ext
5040 cat >>conftest.
$ac_ext <<_ACEOF
5041 /* end confdefs.h. */
5042 $ac_includes_default
5043 #include <$ac_header>
5045 rm -f conftest.
$ac_objext
5046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5047 (eval $ac_compile) 2>conftest.er1
5049 grep -v '^ *+' conftest.er1
>conftest.err
5051 cat conftest.err
>&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); } &&
5054 { ac_try
='test -z "$ac_c_werror_flag"
5055 || test ! -s conftest.err'
5056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); }; } &&
5061 { ac_try
='test -s conftest.$ac_objext'
5062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); }; }; then
5067 ac_header_compiler
=yes
5069 echo "$as_me: failed program was:" >&5
5070 sed 's/^/| /' conftest.
$ac_ext >&5
5072 ac_header_compiler
=no
5074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5076 echo "${ECHO_T}$ac_header_compiler" >&6
5078 # Is the header present?
5079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5081 cat >conftest.
$ac_ext <<_ACEOF
5084 cat confdefs.h
>>conftest.
$ac_ext
5085 cat >>conftest.
$ac_ext <<_ACEOF
5086 /* end confdefs.h. */
5087 #include <$ac_header>
5089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5092 grep -v '^ *+' conftest.er1
>conftest.err
5094 cat conftest.err
>&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); } >/dev
/null
; then
5097 if test -s conftest.err
; then
5098 ac_cpp_err
=$ac_c_preproc_warn_flag
5099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5106 if test -z "$ac_cpp_err"; then
5107 ac_header_preproc
=yes
5109 echo "$as_me: failed program was:" >&5
5110 sed 's/^/| /' conftest.
$ac_ext >&5
5112 ac_header_preproc
=no
5114 rm -f conftest.err conftest.
$ac_ext
5115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5116 echo "${ECHO_T}$ac_header_preproc" >&6
5118 # So? What about this header?
5119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5125 ac_header_preproc
=yes
5128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5142 ## ------------------------------------------ ##
5143 ## Report this to the AC_PACKAGE_NAME lists. ##
5144 ## ------------------------------------------ ##
5147 sed "s/^/$as_me: WARNING: /" >&2
5150 echo "$as_me:$LINENO: checking for $ac_header" >&5
5151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 eval "$as_ac_Header=\$ac_header_preproc"
5157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5162 cat >>confdefs.h
<<_ACEOF
5163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5171 cat >>confdefs.h
<<\_ACEOF
5172 #define HAVE_LIBUNWIND 1
5175 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
5176 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
5177 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
5180 # Profiling support.
5181 # Check whether --enable-profiling or --disable-profiling was given.
5182 if test "${enable_profiling+set}" = set; then
5183 enableval
="$enable_profiling"
5188 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
5189 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
5190 { (exit 1); exit 1; }; } ;;
5198 for ac_func
in monstartup _mcleanup
5200 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5201 echo "$as_me:$LINENO: checking for $ac_func" >&5
5202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5203 if eval "test \"\${$as_ac_var+set}\" = set"; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 cat >conftest.
$ac_ext <<_ACEOF
5209 cat confdefs.h
>>conftest.
$ac_ext
5210 cat >>conftest.
$ac_ext <<_ACEOF
5211 /* end confdefs.h. */
5212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5214 #define $ac_func innocuous_$ac_func
5216 /* System header to define __stub macros and hopefully few prototypes,
5217 which can conflict with char $ac_func (); below.
5218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5219 <limits.h> exists even on freestanding compilers. */
5222 # include <limits.h>
5224 # include <assert.h>
5229 /* Override any gcc2 internal prototype to avoid an error. */
5234 /* We use char because int might match the return type of a gcc2
5235 builtin and then its argument prototype would still apply. */
5237 /* The GNU C library defines this for functions which it implements
5238 to always fail with ENOSYS. Some functions are actually named
5239 something starting with __ and the normal name is an alias. */
5240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5243 char (*f) () = $ac_func;
5252 return f != $ac_func;
5257 rm -f conftest.
$ac_objext conftest
$ac_exeext
5258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5259 (eval $ac_link) 2>conftest.er1
5261 grep -v '^ *+' conftest.er1
>conftest.err
5263 cat conftest.err
>&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); } &&
5266 { ac_try
='test -z "$ac_c_werror_flag"
5267 || test ! -s conftest.err'
5268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); }; } &&
5273 { ac_try
='test -s conftest$ac_exeext'
5274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); }; }; then
5279 eval "$as_ac_var=yes"
5281 echo "$as_me: failed program was:" >&5
5282 sed 's/^/| /' conftest.
$ac_ext >&5
5284 eval "$as_ac_var=no"
5286 rm -f conftest.err conftest.
$ac_objext \
5287 conftest
$ac_exeext conftest.
$ac_ext
5289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5291 if test `eval echo '${'$as_ac_var'}'` = yes; then
5292 cat >>confdefs.h
<<_ACEOF
5293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5299 echo "$as_me:$LINENO: checking for _etext" >&5
5300 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
5301 if test "${ac_cv_var__etext+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 cat >conftest.
$ac_ext <<_ACEOF
5307 cat confdefs.h
>>conftest.
$ac_ext
5308 cat >>conftest.
$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5321 rm -f conftest.
$ac_objext conftest
$ac_exeext
5322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5323 (eval $ac_link) 2>conftest.er1
5325 grep -v '^ *+' conftest.er1
>conftest.err
5327 cat conftest.err
>&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); } &&
5330 { ac_try
='test -z "$ac_c_werror_flag"
5331 || test ! -s conftest.err'
5332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); }; } &&
5337 { ac_try
='test -s conftest$ac_exeext'
5338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); }; }; then
5343 ac_cv_var__etext
=yes
5345 echo "$as_me: failed program was:" >&5
5346 sed 's/^/| /' conftest.
$ac_ext >&5
5350 rm -f conftest.err conftest.
$ac_objext \
5351 conftest
$ac_exeext conftest.
$ac_ext
5353 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
5354 echo "${ECHO_T}$ac_cv_var__etext" >&6
5355 if test $ac_cv_var__etext = yes; then
5357 cat >>confdefs.h
<<\_ACEOF
5358 #define HAVE__ETEXT 1
5362 echo "$as_me:$LINENO: checking for etext" >&5
5363 echo $ECHO_N "checking for etext... $ECHO_C" >&6
5364 if test "${ac_cv_var_etext+set}" = set; then
5365 echo $ECHO_N "(cached) $ECHO_C" >&6
5367 cat >conftest.
$ac_ext <<_ACEOF
5370 cat confdefs.h
>>conftest.
$ac_ext
5371 cat >>conftest.
$ac_ext <<_ACEOF
5372 /* end confdefs.h. */
5384 rm -f conftest.
$ac_objext conftest
$ac_exeext
5385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5386 (eval $ac_link) 2>conftest.er1
5388 grep -v '^ *+' conftest.er1
>conftest.err
5390 cat conftest.err
>&5
5391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); } &&
5393 { ac_try
='test -z "$ac_c_werror_flag"
5394 || test ! -s conftest.err'
5395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }; } &&
5400 { ac_try
='test -s conftest$ac_exeext'
5401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); }; }; then
5408 echo "$as_me: failed program was:" >&5
5409 sed 's/^/| /' conftest.
$ac_ext >&5
5413 rm -f conftest.err conftest.
$ac_objext \
5414 conftest
$ac_exeext conftest.
$ac_ext
5416 echo "$as_me:$LINENO: result: $ac_cv_var_etext" >&5
5417 echo "${ECHO_T}$ac_cv_var_etext" >&6
5418 if test $ac_cv_var_etext = yes; then
5420 cat >>confdefs.h
<<\_ACEOF
5421 #define HAVE_ETEXT 1
5425 if test "$enable_profiling" = yes ; then
5426 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
5427 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
5428 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
5429 { (exit 1); exit 1; }; }
5432 OLD_CFLAGS
="$CFLAGS"
5433 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
5435 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
5436 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
5437 if test "${ac_cv_cc_supports_pg+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 cat >conftest.
$ac_ext <<_ACEOF
5443 cat confdefs.h
>>conftest.
$ac_ext
5444 cat >>conftest.
$ac_ext <<_ACEOF
5445 /* end confdefs.h. */
5455 rm -f conftest.
$ac_objext
5456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5457 (eval $ac_compile) 2>conftest.er1
5459 grep -v '^ *+' conftest.er1
>conftest.err
5461 cat conftest.err
>&5
5462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5463 (exit $ac_status); } &&
5464 { ac_try
='test -z "$ac_c_werror_flag"
5465 || test ! -s conftest.err'
5466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); }; } &&
5471 { ac_try
='test -s conftest.$ac_objext'
5472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476 (exit $ac_status); }; }; then
5477 ac_cv_cc_supports_pg
=yes
5479 echo "$as_me: failed program was:" >&5
5480 sed 's/^/| /' conftest.
$ac_ext >&5
5482 ac_cv_cc_supports_pg
=no
5484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5486 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
5487 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
5489 if test $ac_cv_cc_supports_pg = no
; then
5490 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
5491 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
5492 { (exit 1); exit 1; }; }
5495 CFLAGS
="$OLD_CFLAGS"
5498 # --------------------- #
5499 # Checks for programs. #
5500 # --------------------- #
5502 for ac_prog
in gawk mawk nawk
awk
5504 # Extract the first word of "$ac_prog", so it can be a program name with args.
5505 set dummy
$ac_prog; ac_word
=$2
5506 echo "$as_me:$LINENO: checking for $ac_word" >&5
5507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5508 if test "${ac_cv_prog_AWK+set}" = set; then
5509 echo $ECHO_N "(cached) $ECHO_C" >&6
5511 if test -n "$AWK"; then
5512 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5518 test -z "$as_dir" && as_dir
=.
5519 for ac_exec_ext
in '' $ac_executable_extensions; do
5520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_AWK
="$ac_prog"
5522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 if test -n "$AWK"; then
5532 echo "$as_me:$LINENO: result: $AWK" >&5
5533 echo "${ECHO_T}$AWK" >&6
5535 echo "$as_me:$LINENO: result: no" >&5
5536 echo "${ECHO_T}no" >&6
5539 test -n "$AWK" && break
5542 # Find a good install program. We prefer a C program (faster),
5543 # so one script is as good as another. But avoid the broken or
5544 # incompatible versions:
5545 # SysV /etc/install, /usr/sbin/install
5546 # SunOS /usr/etc/install
5547 # IRIX /sbin/install
5549 # AmigaOS /C/install, which installs bootblocks on floppy discs
5550 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5551 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5552 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5553 # OS/2's system install, which has a completely different semantic
5554 # ./install, which can be erroneously created by make from ./install.sh.
5555 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5556 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5557 if test -z "$INSTALL"; then
5558 if test "${ac_cv_path_install+set}" = set; then
5559 echo $ECHO_N "(cached) $ECHO_C" >&6
5561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5565 test -z "$as_dir" && as_dir
=.
5566 # Account for people who put trailing slashes in PATH elements.
5568 .
/ | .
// |
/cC
/* | \
5569 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5570 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5573 # OSF1 and SCO ODT 3.0 have their own names for install.
5574 # Don't use installbsd from OSF since it installs stuff as root
5576 for ac_prog
in ginstall scoinst
install; do
5577 for ac_exec_ext
in '' $ac_executable_extensions; do
5578 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5579 if test $ac_prog = install &&
5580 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5581 # AIX install. It has an incompatible calling convention.
5583 elif test $ac_prog = install &&
5584 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5585 # program-specific install script used by HP pwplus--don't use.
5588 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5600 if test "${ac_cv_path_install+set}" = set; then
5601 INSTALL
=$ac_cv_path_install
5603 # As a last resort, use the slow shell script. We don't cache a
5604 # path for INSTALL within a source directory, because that will
5605 # break other packages using the cache if that directory is
5606 # removed, or if the path is relative.
5607 INSTALL
=$ac_install_sh
5610 echo "$as_me:$LINENO: result: $INSTALL" >&5
5611 echo "${ECHO_T}$INSTALL" >&6
5613 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5614 # It thinks the first close brace ends the variable substitution.
5615 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5617 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5619 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5621 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5622 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5624 if test "$LN_S" = "ln -s"; then
5625 echo "$as_me:$LINENO: result: yes" >&5
5626 echo "${ECHO_T}yes" >&6
5628 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5629 echo "${ECHO_T}no, using $LN_S" >&6
5632 if test -n "$ac_tool_prefix"; then
5633 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5634 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5635 echo "$as_me:$LINENO: checking for $ac_word" >&5
5636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5637 if test "${ac_cv_prog_RANLIB+set}" = set; then
5638 echo $ECHO_N "(cached) $ECHO_C" >&6
5640 if test -n "$RANLIB"; then
5641 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5647 test -z "$as_dir" && as_dir
=.
5648 for ac_exec_ext
in '' $ac_executable_extensions; do
5649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5650 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 RANLIB
=$ac_cv_prog_RANLIB
5660 if test -n "$RANLIB"; then
5661 echo "$as_me:$LINENO: result: $RANLIB" >&5
5662 echo "${ECHO_T}$RANLIB" >&6
5664 echo "$as_me:$LINENO: result: no" >&5
5665 echo "${ECHO_T}no" >&6
5669 if test -z "$ac_cv_prog_RANLIB"; then
5670 ac_ct_RANLIB
=$RANLIB
5671 # Extract the first word of "ranlib", so it can be a program name with args.
5672 set dummy ranlib
; ac_word
=$2
5673 echo "$as_me:$LINENO: checking for $ac_word" >&5
5674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5675 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5676 echo $ECHO_N "(cached) $ECHO_C" >&6
5678 if test -n "$ac_ct_RANLIB"; then
5679 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5685 test -z "$as_dir" && as_dir
=.
5686 for ac_exec_ext
in '' $ac_executable_extensions; do
5687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5695 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5698 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5699 if test -n "$ac_ct_RANLIB"; then
5700 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5701 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5703 echo "$as_me:$LINENO: result: no" >&5
5704 echo "${ECHO_T}no" >&6
5707 RANLIB
=$ac_ct_RANLIB
5709 RANLIB
="$ac_cv_prog_RANLIB"
5712 for ac_prog
in 'bison -y' byacc
5714 # Extract the first word of "$ac_prog", so it can be a program name with args.
5715 set dummy
$ac_prog; ac_word
=$2
5716 echo "$as_me:$LINENO: checking for $ac_word" >&5
5717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5718 if test "${ac_cv_prog_YACC+set}" = set; then
5719 echo $ECHO_N "(cached) $ECHO_C" >&6
5721 if test -n "$YACC"; then
5722 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5728 test -z "$as_dir" && as_dir
=.
5729 for ac_exec_ext
in '' $ac_executable_extensions; do
5730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_YACC
="$ac_prog"
5732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5740 YACC
=$ac_cv_prog_YACC
5741 if test -n "$YACC"; then
5742 echo "$as_me:$LINENO: result: $YACC" >&5
5743 echo "${ECHO_T}$YACC" >&6
5745 echo "$as_me:$LINENO: result: no" >&5
5746 echo "${ECHO_T}no" >&6
5749 test -n "$YACC" && break
5751 test -n "$YACC" || YACC
="yacc"
5754 if test -n "$ac_tool_prefix"; then
5755 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5756 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5757 echo "$as_me:$LINENO: checking for $ac_word" >&5
5758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5759 if test "${ac_cv_prog_AR+set}" = set; then
5760 echo $ECHO_N "(cached) $ECHO_C" >&6
5762 if test -n "$AR"; then
5763 ac_cv_prog_AR
="$AR" # Let the user override the test.
5765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5769 test -z "$as_dir" && as_dir
=.
5770 for ac_exec_ext
in '' $ac_executable_extensions; do
5771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5772 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 if test -n "$AR"; then
5783 echo "$as_me:$LINENO: result: $AR" >&5
5784 echo "${ECHO_T}$AR" >&6
5786 echo "$as_me:$LINENO: result: no" >&5
5787 echo "${ECHO_T}no" >&6
5791 if test -z "$ac_cv_prog_AR"; then
5793 # Extract the first word of "ar", so it can be a program name with args.
5794 set dummy
ar; ac_word
=$2
5795 echo "$as_me:$LINENO: checking for $ac_word" >&5
5796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5797 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 if test -n "$ac_ct_AR"; then
5801 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5807 test -z "$as_dir" && as_dir
=.
5808 for ac_exec_ext
in '' $ac_executable_extensions; do
5809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5810 ac_cv_prog_ac_ct_AR
="ar"
5811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5820 if test -n "$ac_ct_AR"; then
5821 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5822 echo "${ECHO_T}$ac_ct_AR" >&6
5824 echo "$as_me:$LINENO: result: no" >&5
5825 echo "${ECHO_T}no" >&6
5833 if test -n "$ac_tool_prefix"; then
5834 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5835 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5836 echo "$as_me:$LINENO: checking for $ac_word" >&5
5837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5838 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 if test -n "$DLLTOOL"; then
5842 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir
=.
5849 for ac_exec_ext
in '' $ac_executable_extensions; do
5850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 DLLTOOL
=$ac_cv_prog_DLLTOOL
5861 if test -n "$DLLTOOL"; then
5862 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5863 echo "${ECHO_T}$DLLTOOL" >&6
5865 echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6
5870 if test -z "$ac_cv_prog_DLLTOOL"; then
5871 ac_ct_DLLTOOL
=$DLLTOOL
5872 # Extract the first word of "dlltool", so it can be a program name with args.
5873 set dummy dlltool
; ac_word
=$2
5874 echo "$as_me:$LINENO: checking for $ac_word" >&5
5875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5876 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5877 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 if test -n "$ac_ct_DLLTOOL"; then
5880 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5886 test -z "$as_dir" && as_dir
=.
5887 for ac_exec_ext
in '' $ac_executable_extensions; do
5888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5889 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5899 if test -n "$ac_ct_DLLTOOL"; then
5900 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5901 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5907 DLLTOOL
=$ac_ct_DLLTOOL
5909 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5912 if test -n "$ac_tool_prefix"; then
5913 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5914 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5915 echo "$as_me:$LINENO: checking for $ac_word" >&5
5916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5917 if test "${ac_cv_prog_WINDRES+set}" = set; then
5918 echo $ECHO_N "(cached) $ECHO_C" >&6
5920 if test -n "$WINDRES"; then
5921 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir
=.
5928 for ac_exec_ext
in '' $ac_executable_extensions; do
5929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 WINDRES
=$ac_cv_prog_WINDRES
5940 if test -n "$WINDRES"; then
5941 echo "$as_me:$LINENO: result: $WINDRES" >&5
5942 echo "${ECHO_T}$WINDRES" >&6
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5949 if test -z "$ac_cv_prog_WINDRES"; then
5950 ac_ct_WINDRES
=$WINDRES
5951 # Extract the first word of "windres", so it can be a program name with args.
5952 set dummy windres
; ac_word
=$2
5953 echo "$as_me:$LINENO: checking for $ac_word" >&5
5954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5955 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 if test -n "$ac_ct_WINDRES"; then
5959 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5965 test -z "$as_dir" && as_dir
=.
5966 for ac_exec_ext
in '' $ac_executable_extensions; do
5967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5968 ac_cv_prog_ac_ct_WINDRES
="windres"
5969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5978 if test -n "$ac_ct_WINDRES"; then
5979 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5980 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5982 echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6
5986 WINDRES
=$ac_ct_WINDRES
5988 WINDRES
="$ac_cv_prog_WINDRES"
5992 # Needed for GNU/Hurd.
5993 if test -n "$ac_tool_prefix"; then
5994 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
5995 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
5996 echo "$as_me:$LINENO: checking for $ac_word" >&5
5997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5998 if test "${ac_cv_prog_MIG+set}" = set; then
5999 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 if test -n "$MIG"; then
6002 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
6004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6008 test -z "$as_dir" && as_dir
=.
6009 for ac_exec_ext
in '' $ac_executable_extensions; do
6010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6011 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
6012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 if test -n "$MIG"; then
6022 echo "$as_me:$LINENO: result: $MIG" >&5
6023 echo "${ECHO_T}$MIG" >&6
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6030 if test -z "$ac_cv_prog_MIG"; then
6032 # Extract the first word of "mig", so it can be a program name with args.
6033 set dummy mig
; ac_word
=$2
6034 echo "$as_me:$LINENO: checking for $ac_word" >&5
6035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6036 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6039 if test -n "$ac_ct_MIG"; then
6040 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
6042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6046 test -z "$as_dir" && as_dir
=.
6047 for ac_exec_ext
in '' $ac_executable_extensions; do
6048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6049 ac_cv_prog_ac_ct_MIG
="mig"
6050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
6059 if test -n "$ac_ct_MIG"; then
6060 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
6061 echo "${ECHO_T}$ac_ct_MIG" >&6
6063 echo "$as_me:$LINENO: result: no" >&5
6064 echo "${ECHO_T}no" >&6
6069 MIG
="$ac_cv_prog_MIG"
6073 # ---------------------- #
6074 # Checks for libraries. #
6075 # ---------------------- #
6077 # We might need to link with -lm; most simulators need it.
6079 echo "$as_me:$LINENO: checking for main in -lm" >&5
6080 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
6081 if test "${ac_cv_lib_m_main+set}" = set; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 ac_check_lib_save_LIBS
=$LIBS
6086 cat >conftest.
$ac_ext <<_ACEOF
6089 cat confdefs.h
>>conftest.
$ac_ext
6090 cat >>conftest.
$ac_ext <<_ACEOF
6091 /* end confdefs.h. */
6102 rm -f conftest.
$ac_objext conftest
$ac_exeext
6103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6104 (eval $ac_link) 2>conftest.er1
6106 grep -v '^ *+' conftest.er1
>conftest.err
6108 cat conftest.err
>&5
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); } &&
6111 { ac_try
='test -z "$ac_c_werror_flag"
6112 || test ! -s conftest.err'
6113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); }; } &&
6118 { ac_try
='test -s conftest$ac_exeext'
6119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); }; }; then
6124 ac_cv_lib_m_main
=yes
6126 echo "$as_me: failed program was:" >&5
6127 sed 's/^/| /' conftest.
$ac_ext >&5
6131 rm -f conftest.err conftest.
$ac_objext \
6132 conftest
$ac_exeext conftest.
$ac_ext
6133 LIBS
=$ac_check_lib_save_LIBS
6135 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
6136 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
6137 if test $ac_cv_lib_m_main = yes; then
6138 cat >>confdefs.h
<<_ACEOF
6147 # We need to link with -lw to get `wctype' on Solaris before Solaris
6148 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
6149 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
6150 # is known to have this problem). Therefore we avoid libw if we can.
6151 echo "$as_me:$LINENO: checking for wctype" >&5
6152 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
6153 if test "${ac_cv_func_wctype+set}" = set; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 cat >conftest.
$ac_ext <<_ACEOF
6159 cat confdefs.h
>>conftest.
$ac_ext
6160 cat >>conftest.
$ac_ext <<_ACEOF
6161 /* end confdefs.h. */
6162 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
6163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6164 #define wctype innocuous_wctype
6166 /* System header to define __stub macros and hopefully few prototypes,
6167 which can conflict with char wctype (); below.
6168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6169 <limits.h> exists even on freestanding compilers. */
6172 # include <limits.h>
6174 # include <assert.h>
6179 /* Override any gcc2 internal prototype to avoid an error. */
6184 /* We use char because int might match the return type of a gcc2
6185 builtin and then its argument prototype would still apply. */
6187 /* The GNU C library defines this for functions which it implements
6188 to always fail with ENOSYS. Some functions are actually named
6189 something starting with __ and the normal name is an alias. */
6190 #if defined (__stub_wctype) || defined (__stub___wctype)
6193 char (*f) () = wctype;
6207 rm -f conftest.
$ac_objext conftest
$ac_exeext
6208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6209 (eval $ac_link) 2>conftest.er1
6211 grep -v '^ *+' conftest.er1
>conftest.err
6213 cat conftest.err
>&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); } &&
6216 { ac_try
='test -z "$ac_c_werror_flag"
6217 || test ! -s conftest.err'
6218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); }; } &&
6223 { ac_try
='test -s conftest$ac_exeext'
6224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); }; }; then
6229 ac_cv_func_wctype
=yes
6231 echo "$as_me: failed program was:" >&5
6232 sed 's/^/| /' conftest.
$ac_ext >&5
6234 ac_cv_func_wctype
=no
6236 rm -f conftest.err conftest.
$ac_objext \
6237 conftest
$ac_exeext conftest.
$ac_ext
6239 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
6240 echo "${ECHO_T}$ac_cv_func_wctype" >&6
6241 if test $ac_cv_func_wctype = yes; then
6245 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
6246 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
6247 if test "${ac_cv_lib_w_wctype+set}" = set; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 ac_check_lib_save_LIBS
=$LIBS
6252 cat >conftest.
$ac_ext <<_ACEOF
6255 cat confdefs.h
>>conftest.
$ac_ext
6256 cat >>conftest.
$ac_ext <<_ACEOF
6257 /* end confdefs.h. */
6259 /* Override any gcc2 internal prototype to avoid an error. */
6263 /* We use char because int might match the return type of a gcc2
6264 builtin and then its argument prototype would still apply. */
6274 rm -f conftest.
$ac_objext conftest
$ac_exeext
6275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6276 (eval $ac_link) 2>conftest.er1
6278 grep -v '^ *+' conftest.er1
>conftest.err
6280 cat conftest.err
>&5
6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); } &&
6283 { ac_try
='test -z "$ac_c_werror_flag"
6284 || test ! -s conftest.err'
6285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }; } &&
6290 { ac_try
='test -s conftest$ac_exeext'
6291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295 (exit $ac_status); }; }; then
6296 ac_cv_lib_w_wctype
=yes
6298 echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.
$ac_ext >&5
6301 ac_cv_lib_w_wctype
=no
6303 rm -f conftest.err conftest.
$ac_objext \
6304 conftest
$ac_exeext conftest.
$ac_ext
6305 LIBS
=$ac_check_lib_save_LIBS
6307 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
6308 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
6309 if test $ac_cv_lib_w_wctype = yes; then
6310 cat >>confdefs.h
<<_ACEOF
6321 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
6322 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
6323 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
6324 if test "${ac_cv_search_gethostbyname+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 ac_func_search_save_LIBS
=$LIBS
6328 ac_cv_search_gethostbyname
=no
6329 cat >conftest.
$ac_ext <<_ACEOF
6332 cat confdefs.h
>>conftest.
$ac_ext
6333 cat >>conftest.
$ac_ext <<_ACEOF
6334 /* end confdefs.h. */
6336 /* Override any gcc2 internal prototype to avoid an error. */
6340 /* We use char because int might match the return type of a gcc2
6341 builtin and then its argument prototype would still apply. */
6342 char gethostbyname ();
6351 rm -f conftest.
$ac_objext conftest
$ac_exeext
6352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6353 (eval $ac_link) 2>conftest.er1
6355 grep -v '^ *+' conftest.er1
>conftest.err
6357 cat conftest.err
>&5
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); } &&
6360 { ac_try
='test -z "$ac_c_werror_flag"
6361 || test ! -s conftest.err'
6362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); }; } &&
6367 { ac_try
='test -s conftest$ac_exeext'
6368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372 (exit $ac_status); }; }; then
6373 ac_cv_search_gethostbyname
="none required"
6375 echo "$as_me: failed program was:" >&5
6376 sed 's/^/| /' conftest.
$ac_ext >&5
6379 rm -f conftest.err conftest.
$ac_objext \
6380 conftest
$ac_exeext conftest.
$ac_ext
6381 if test "$ac_cv_search_gethostbyname" = no
; then
6382 for ac_lib
in nsl
; do
6383 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6384 cat >conftest.
$ac_ext <<_ACEOF
6387 cat confdefs.h
>>conftest.
$ac_ext
6388 cat >>conftest.
$ac_ext <<_ACEOF
6389 /* end confdefs.h. */
6391 /* Override any gcc2 internal prototype to avoid an error. */
6395 /* We use char because int might match the return type of a gcc2
6396 builtin and then its argument prototype would still apply. */
6397 char gethostbyname ();
6406 rm -f conftest.
$ac_objext conftest
$ac_exeext
6407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6408 (eval $ac_link) 2>conftest.er1
6410 grep -v '^ *+' conftest.er1
>conftest.err
6412 cat conftest.err
>&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); } &&
6415 { ac_try
='test -z "$ac_c_werror_flag"
6416 || test ! -s conftest.err'
6417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); }; } &&
6422 { ac_try
='test -s conftest$ac_exeext'
6423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); }; }; then
6428 ac_cv_search_gethostbyname
="-l$ac_lib"
6431 echo "$as_me: failed program was:" >&5
6432 sed 's/^/| /' conftest.
$ac_ext >&5
6435 rm -f conftest.err conftest.
$ac_objext \
6436 conftest
$ac_exeext conftest.
$ac_ext
6439 LIBS
=$ac_func_search_save_LIBS
6441 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
6442 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
6443 if test "$ac_cv_search_gethostbyname" != no
; then
6444 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
6449 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
6450 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
6451 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
6452 if test "${ac_cv_search_socketpair+set}" = set; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6455 ac_func_search_save_LIBS
=$LIBS
6456 ac_cv_search_socketpair
=no
6457 cat >conftest.
$ac_ext <<_ACEOF
6460 cat confdefs.h
>>conftest.
$ac_ext
6461 cat >>conftest.
$ac_ext <<_ACEOF
6462 /* end confdefs.h. */
6464 /* Override any gcc2 internal prototype to avoid an error. */
6468 /* We use char because int might match the return type of a gcc2
6469 builtin and then its argument prototype would still apply. */
6479 rm -f conftest.
$ac_objext conftest
$ac_exeext
6480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6481 (eval $ac_link) 2>conftest.er1
6483 grep -v '^ *+' conftest.er1
>conftest.err
6485 cat conftest.err
>&5
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); } &&
6488 { ac_try
='test -z "$ac_c_werror_flag"
6489 || test ! -s conftest.err'
6490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494 (exit $ac_status); }; } &&
6495 { ac_try
='test -s conftest$ac_exeext'
6496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500 (exit $ac_status); }; }; then
6501 ac_cv_search_socketpair
="none required"
6503 echo "$as_me: failed program was:" >&5
6504 sed 's/^/| /' conftest.
$ac_ext >&5
6507 rm -f conftest.err conftest.
$ac_objext \
6508 conftest
$ac_exeext conftest.
$ac_ext
6509 if test "$ac_cv_search_socketpair" = no
; then
6510 for ac_lib
in socket
; do
6511 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6512 cat >conftest.
$ac_ext <<_ACEOF
6515 cat confdefs.h
>>conftest.
$ac_ext
6516 cat >>conftest.
$ac_ext <<_ACEOF
6517 /* end confdefs.h. */
6519 /* Override any gcc2 internal prototype to avoid an error. */
6523 /* We use char because int might match the return type of a gcc2
6524 builtin and then its argument prototype would still apply. */
6534 rm -f conftest.
$ac_objext conftest
$ac_exeext
6535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6536 (eval $ac_link) 2>conftest.er1
6538 grep -v '^ *+' conftest.er1
>conftest.err
6540 cat conftest.err
>&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); } &&
6543 { ac_try
='test -z "$ac_c_werror_flag"
6544 || test ! -s conftest.err'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; } &&
6550 { ac_try
='test -s conftest$ac_exeext'
6551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); }; }; then
6556 ac_cv_search_socketpair
="-l$ac_lib"
6559 echo "$as_me: failed program was:" >&5
6560 sed 's/^/| /' conftest.
$ac_ext >&5
6563 rm -f conftest.err conftest.
$ac_objext \
6564 conftest
$ac_exeext conftest.
$ac_ext
6567 LIBS
=$ac_func_search_save_LIBS
6569 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
6570 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
6571 if test "$ac_cv_search_socketpair" != no
; then
6572 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
6577 # For the TUI, we need enhanced curses functionality.
6579 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
6580 # curses library because the latter might not provide all the
6581 # functionality we need. However, this leads to problems on systems
6582 # where the linker searches /usr/local/lib, but the compiler doesn't
6583 # search /usr/local/include, if ncurses is installed in /usr/local. A
6584 # default installation of ncurses on alpha*-dec-osf* will lead to such
6586 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
6587 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
6588 if test "${ac_cv_search_waddstr+set}" = set; then
6589 echo $ECHO_N "(cached) $ECHO_C" >&6
6591 ac_func_search_save_LIBS
=$LIBS
6592 ac_cv_search_waddstr
=no
6593 cat >conftest.
$ac_ext <<_ACEOF
6596 cat confdefs.h
>>conftest.
$ac_ext
6597 cat >>conftest.
$ac_ext <<_ACEOF
6598 /* end confdefs.h. */
6600 /* Override any gcc2 internal prototype to avoid an error. */
6604 /* We use char because int might match the return type of a gcc2
6605 builtin and then its argument prototype would still apply. */
6615 rm -f conftest.
$ac_objext conftest
$ac_exeext
6616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6617 (eval $ac_link) 2>conftest.er1
6619 grep -v '^ *+' conftest.er1
>conftest.err
6621 cat conftest.err
>&5
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); } &&
6624 { ac_try
='test -z "$ac_c_werror_flag"
6625 || test ! -s conftest.err'
6626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); }; } &&
6631 { ac_try
='test -s conftest$ac_exeext'
6632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); }; }; then
6637 ac_cv_search_waddstr
="none required"
6639 echo "$as_me: failed program was:" >&5
6640 sed 's/^/| /' conftest.
$ac_ext >&5
6643 rm -f conftest.err conftest.
$ac_objext \
6644 conftest
$ac_exeext conftest.
$ac_ext
6645 if test "$ac_cv_search_waddstr" = no
; then
6646 for ac_lib
in ncurses cursesX curses
; do
6647 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6648 cat >conftest.
$ac_ext <<_ACEOF
6651 cat confdefs.h
>>conftest.
$ac_ext
6652 cat >>conftest.
$ac_ext <<_ACEOF
6653 /* end confdefs.h. */
6655 /* Override any gcc2 internal prototype to avoid an error. */
6659 /* We use char because int might match the return type of a gcc2
6660 builtin and then its argument prototype would still apply. */
6670 rm -f conftest.
$ac_objext conftest
$ac_exeext
6671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6672 (eval $ac_link) 2>conftest.er1
6674 grep -v '^ *+' conftest.er1
>conftest.err
6676 cat conftest.err
>&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } &&
6679 { ac_try
='test -z "$ac_c_werror_flag"
6680 || test ! -s conftest.err'
6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); }; } &&
6686 { ac_try
='test -s conftest$ac_exeext'
6687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); }; }; then
6692 ac_cv_search_waddstr
="-l$ac_lib"
6695 echo "$as_me: failed program was:" >&5
6696 sed 's/^/| /' conftest.
$ac_ext >&5
6699 rm -f conftest.err conftest.
$ac_objext \
6700 conftest
$ac_exeext conftest.
$ac_ext
6703 LIBS
=$ac_func_search_save_LIBS
6705 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
6706 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
6707 if test "$ac_cv_search_waddstr" != no
; then
6708 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
6713 # On HP/UX we may need libxpdl for dlgetmodinfo (used by solib-pa64.c).
6714 echo "$as_me:$LINENO: checking for library containing dlgetmodinfo" >&5
6715 echo $ECHO_N "checking for library containing dlgetmodinfo... $ECHO_C" >&6
6716 if test "${ac_cv_search_dlgetmodinfo+set}" = set; then
6717 echo $ECHO_N "(cached) $ECHO_C" >&6
6719 ac_func_search_save_LIBS
=$LIBS
6720 ac_cv_search_dlgetmodinfo
=no
6721 cat >conftest.
$ac_ext <<_ACEOF
6724 cat confdefs.h
>>conftest.
$ac_ext
6725 cat >>conftest.
$ac_ext <<_ACEOF
6726 /* end confdefs.h. */
6728 /* Override any gcc2 internal prototype to avoid an error. */
6732 /* We use char because int might match the return type of a gcc2
6733 builtin and then its argument prototype would still apply. */
6734 char dlgetmodinfo ();
6743 rm -f conftest.
$ac_objext conftest
$ac_exeext
6744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6745 (eval $ac_link) 2>conftest.er1
6747 grep -v '^ *+' conftest.er1
>conftest.err
6749 cat conftest.err
>&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } &&
6752 { ac_try
='test -z "$ac_c_werror_flag"
6753 || test ! -s conftest.err'
6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); }; } &&
6759 { ac_try
='test -s conftest$ac_exeext'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; }; then
6765 ac_cv_search_dlgetmodinfo
="none required"
6767 echo "$as_me: failed program was:" >&5
6768 sed 's/^/| /' conftest.
$ac_ext >&5
6771 rm -f conftest.err conftest.
$ac_objext \
6772 conftest
$ac_exeext conftest.
$ac_ext
6773 if test "$ac_cv_search_dlgetmodinfo" = no
; then
6774 for ac_lib
in dl xpdl
; do
6775 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6776 cat >conftest.
$ac_ext <<_ACEOF
6779 cat confdefs.h
>>conftest.
$ac_ext
6780 cat >>conftest.
$ac_ext <<_ACEOF
6781 /* end confdefs.h. */
6783 /* Override any gcc2 internal prototype to avoid an error. */
6787 /* We use char because int might match the return type of a gcc2
6788 builtin and then its argument prototype would still apply. */
6789 char dlgetmodinfo ();
6798 rm -f conftest.
$ac_objext conftest
$ac_exeext
6799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6800 (eval $ac_link) 2>conftest.er1
6802 grep -v '^ *+' conftest.er1
>conftest.err
6804 cat conftest.err
>&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); } &&
6807 { ac_try
='test -z "$ac_c_werror_flag"
6808 || test ! -s conftest.err'
6809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); }; } &&
6814 { ac_try
='test -s conftest$ac_exeext'
6815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); }; }; then
6820 ac_cv_search_dlgetmodinfo
="-l$ac_lib"
6823 echo "$as_me: failed program was:" >&5
6824 sed 's/^/| /' conftest.
$ac_ext >&5
6827 rm -f conftest.err conftest.
$ac_objext \
6828 conftest
$ac_exeext conftest.
$ac_ext
6831 LIBS
=$ac_func_search_save_LIBS
6833 echo "$as_me:$LINENO: result: $ac_cv_search_dlgetmodinfo" >&5
6834 echo "${ECHO_T}$ac_cv_search_dlgetmodinfo" >&6
6835 if test "$ac_cv_search_dlgetmodinfo" != no
; then
6836 test "$ac_cv_search_dlgetmodinfo" = "none required" || LIBS
="$ac_cv_search_dlgetmodinfo $LIBS"
6841 # Since GDB uses Readline, we need termcap functionality. In many
6842 # cases this will be provided by the curses library, but some systems
6843 # have a seperate termcap library, or no curses library at all.
6847 if test -d $srcdir/libtermcap
; then
6848 LIBS
="../libtermcap/libtermcap.a $LIBS"
6849 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
6852 ac_cv_search_tgetent
="none required"
6855 ac_cv_search_tgetent
="none required"
6856 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
6860 # These are the libraries checked by Readline.
6861 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
6862 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
6863 if test "${ac_cv_search_tgetent+set}" = set; then
6864 echo $ECHO_N "(cached) $ECHO_C" >&6
6866 ac_func_search_save_LIBS
=$LIBS
6867 ac_cv_search_tgetent
=no
6868 cat >conftest.
$ac_ext <<_ACEOF
6871 cat confdefs.h
>>conftest.
$ac_ext
6872 cat >>conftest.
$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6875 /* Override any gcc2 internal prototype to avoid an error. */
6879 /* We use char because int might match the return type of a gcc2
6880 builtin and then its argument prototype would still apply. */
6890 rm -f conftest.
$ac_objext conftest
$ac_exeext
6891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6892 (eval $ac_link) 2>conftest.er1
6894 grep -v '^ *+' conftest.er1
>conftest.err
6896 cat conftest.err
>&5
6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 (exit $ac_status); } &&
6899 { ac_try
='test -z "$ac_c_werror_flag"
6900 || test ! -s conftest.err'
6901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); }; } &&
6906 { ac_try
='test -s conftest$ac_exeext'
6907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); }; }; then
6912 ac_cv_search_tgetent
="none required"
6914 echo "$as_me: failed program was:" >&5
6915 sed 's/^/| /' conftest.
$ac_ext >&5
6918 rm -f conftest.err conftest.
$ac_objext \
6919 conftest
$ac_exeext conftest.
$ac_ext
6920 if test "$ac_cv_search_tgetent" = no
; then
6921 for ac_lib
in termcap tinfo curses ncurses
; do
6922 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6923 cat >conftest.
$ac_ext <<_ACEOF
6926 cat confdefs.h
>>conftest.
$ac_ext
6927 cat >>conftest.
$ac_ext <<_ACEOF
6928 /* end confdefs.h. */
6930 /* Override any gcc2 internal prototype to avoid an error. */
6934 /* We use char because int might match the return type of a gcc2
6935 builtin and then its argument prototype would still apply. */
6945 rm -f conftest.
$ac_objext conftest
$ac_exeext
6946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6947 (eval $ac_link) 2>conftest.er1
6949 grep -v '^ *+' conftest.er1
>conftest.err
6951 cat conftest.err
>&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); } &&
6954 { ac_try
='test -z "$ac_c_werror_flag"
6955 || test ! -s conftest.err'
6956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960 (exit $ac_status); }; } &&
6961 { ac_try
='test -s conftest$ac_exeext'
6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); }; }; then
6967 ac_cv_search_tgetent
="-l$ac_lib"
6970 echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.
$ac_ext >&5
6974 rm -f conftest.err conftest.
$ac_objext \
6975 conftest
$ac_exeext conftest.
$ac_ext
6978 LIBS
=$ac_func_search_save_LIBS
6980 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
6981 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
6982 if test "$ac_cv_search_tgetent" != no
; then
6983 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
6988 if test "$ac_cv_search_tgetent" = no
; then
6989 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
6990 echo "$as_me: error: no termcap library found" >&2;}
6991 { (exit 1); exit 1; }; }
6995 # Check whether --with-system-readline or --without-system-readline was given.
6996 if test "${with_system_readline+set}" = set; then
6997 withval
="$with_system_readline"
7001 if test "$with_system_readline" = yes; then
7006 READLINE
='$(READLINE_DIR)/libreadline.a'
7007 READLINE_DEPS
='$(READLINE)'
7008 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
7015 # Check whether --with-expat or --without-expat was given.
7016 if test "${with_expat+set}" = set; then
7017 withval
="$with_expat"
7022 echo "$as_me:$LINENO: checking whether to use expat" >&5
7023 echo $ECHO_N "checking whether to use expat... $ECHO_C" >&6
7024 echo "$as_me:$LINENO: result: $with_expat" >&5
7025 echo "${ECHO_T}$with_expat" >&6
7027 if test "${with_expat}" = no
; then
7028 { echo "$as_me:$LINENO: WARNING: expat support disabled; some features may be unavailable." >&5
7029 echo "$as_me: WARNING: expat support disabled; some features may be unavailable." >&2;}
7033 if test "X$prefix" = "XNONE"; then
7034 acl_final_prefix
="$ac_default_prefix"
7036 acl_final_prefix
="$prefix"
7038 if test "X$exec_prefix" = "XNONE"; then
7039 acl_final_exec_prefix
='${prefix}'
7041 acl_final_exec_prefix
="$exec_prefix"
7043 acl_save_prefix
="$prefix"
7044 prefix
="$acl_final_prefix"
7045 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7046 prefix
="$acl_save_prefix"
7049 # Check whether --with-gnu-ld or --without-gnu-ld was given.
7050 if test "${with_gnu_ld+set}" = set; then
7051 withval
="$with_gnu_ld"
7052 test "$withval" = no || with_gnu_ld
=yes
7056 # Prepare PATH_SEPARATOR.
7057 # The user is always right.
7058 if test "${PATH_SEPARATOR+set}" != set; then
7059 echo "#! /bin/sh" >conf$$.sh
7060 echo "exit 0" >>conf$$.sh
7062 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7070 if test "$GCC" = yes; then
7071 # Check if gcc -print-prog-name=ld gives a path.
7072 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7073 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
7076 # gcc leaves a trailing carriage return which upsets mingw
7077 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7079 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7082 # Accept absolute paths.
7083 [\\/]* |
[A-Za-z
]:[\\/]*)
7084 re_direlt
='/[^/][^/]*/\.\./'
7085 # Canonicalize the path of ld
7086 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
7087 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
7088 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7090 test -z "$LD" && LD
="$ac_prog"
7093 # If it fails, then pretend we aren't using GCC.
7097 # If it is relative, then search for the first ld in PATH.
7101 elif test "$with_gnu_ld" = yes; then
7102 echo "$as_me:$LINENO: checking for GNU ld" >&5
7103 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7105 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7106 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7108 if test "${acl_cv_path_LD+set}" = set; then
7109 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 if test -z "$LD"; then
7112 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7113 for ac_dir
in $PATH; do
7114 test -z "$ac_dir" && ac_dir
=.
7115 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7116 acl_cv_path_LD
="$ac_dir/$ac_prog"
7117 # Check to see if the program is GNU ld. I'd rather use --version,
7118 # but apparently some GNU ld's only accept -v.
7119 # Break only if it was the GNU/non-GNU ld that we prefer.
7120 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
7121 test "$with_gnu_ld" != no
&& break
7123 test "$with_gnu_ld" != yes && break
7129 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7133 LD
="$acl_cv_path_LD"
7134 if test -n "$LD"; then
7135 echo "$as_me:$LINENO: result: $LD" >&5
7136 echo "${ECHO_T}$LD" >&6
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7141 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7142 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7143 { (exit 1); exit 1; }; }
7144 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7145 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7146 if test "${acl_cv_prog_gnu_ld+set}" = set; then
7147 echo $ECHO_N "(cached) $ECHO_C" >&6
7149 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7150 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
7151 acl_cv_prog_gnu_ld
=yes
7153 acl_cv_prog_gnu_ld
=no
7156 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7157 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
7158 with_gnu_ld
=$acl_cv_prog_gnu_ld
7162 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7163 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
7164 if test "${acl_cv_rpath+set}" = set; then
7165 echo $ECHO_N "(cached) $ECHO_C" >&6
7168 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7169 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7175 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7176 echo "${ECHO_T}$acl_cv_rpath" >&6
7178 libext
="$acl_cv_libext"
7179 shlibext
="$acl_cv_shlibext"
7180 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7181 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7182 hardcode_direct
="$acl_cv_hardcode_direct"
7183 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7184 # Check whether --enable-rpath or --disable-rpath was given.
7185 if test "${enable_rpath+set}" = set; then
7186 enableval
="$enable_rpath"
7202 acl_save_prefix
="$prefix"
7203 prefix
="$acl_final_prefix"
7204 acl_save_exec_prefix
="$exec_prefix"
7205 exec_prefix
="$acl_final_exec_prefix"
7207 eval additional_includedir
=\"$includedir\"
7208 eval additional_libdir
=\"$libdir\"
7210 exec_prefix
="$acl_save_exec_prefix"
7211 prefix
="$acl_save_prefix"
7214 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
7215 if test "${with_libexpat_prefix+set}" = set; then
7216 withval
="$with_libexpat_prefix"
7218 if test "X$withval" = "Xno"; then
7221 if test "X$withval" = "X"; then
7223 acl_save_prefix
="$prefix"
7224 prefix
="$acl_final_prefix"
7225 acl_save_exec_prefix
="$exec_prefix"
7226 exec_prefix
="$acl_final_exec_prefix"
7228 eval additional_includedir
=\"$includedir\"
7229 eval additional_libdir
=\"$libdir\"
7231 exec_prefix
="$acl_save_exec_prefix"
7232 prefix
="$acl_save_prefix"
7235 additional_includedir
="$withval/include"
7236 additional_libdir
="$withval/lib"
7246 names_already_handled
=
7247 names_next_round
='expat '
7248 while test -n "$names_next_round"; do
7249 names_this_round
="$names_next_round"
7251 for name
in $names_this_round; do
7253 for n
in $names_already_handled; do
7254 if test "$n" = "$name"; then
7259 if test -z "$already_handled"; then
7260 names_already_handled
="$names_already_handled $name"
7261 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7262 eval value
=\"\
$HAVE_LIB$uppername\"
7263 if test -n "$value"; then
7264 if test "$value" = yes; then
7265 eval value
=\"\
$LIB$uppername\"
7266 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
7267 eval value
=\"\
$LTLIB$uppername\"
7268 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
7277 if test $use_additional = yes; then
7278 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7279 found_dir
="$additional_libdir"
7280 found_so
="$additional_libdir/lib$name.$shlibext"
7281 if test -f "$additional_libdir/lib$name.la"; then
7282 found_la
="$additional_libdir/lib$name.la"
7285 if test -f "$additional_libdir/lib$name.$libext"; then
7286 found_dir
="$additional_libdir"
7287 found_a
="$additional_libdir/lib$name.$libext"
7288 if test -f "$additional_libdir/lib$name.la"; then
7289 found_la
="$additional_libdir/lib$name.la"
7294 if test "X$found_dir" = "X"; then
7295 for x
in $LDFLAGS $LTLIBEXPAT; do
7297 acl_save_prefix
="$prefix"
7298 prefix
="$acl_final_prefix"
7299 acl_save_exec_prefix
="$exec_prefix"
7300 exec_prefix
="$acl_final_exec_prefix"
7302 exec_prefix
="$acl_save_exec_prefix"
7303 prefix
="$acl_save_prefix"
7307 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7308 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
7310 found_so
="$dir/lib$name.$shlibext"
7311 if test -f "$dir/lib$name.la"; then
7312 found_la
="$dir/lib$name.la"
7315 if test -f "$dir/lib$name.$libext"; then
7317 found_a
="$dir/lib$name.$libext"
7318 if test -f "$dir/lib$name.la"; then
7319 found_la
="$dir/lib$name.la"
7325 if test "X$found_dir" != "X"; then
7330 if test "X$found_dir" != "X"; then
7331 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
7332 if test "X$found_so" != "X"; then
7333 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
7334 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
7337 for x
in $ltrpathdirs; do
7338 if test "X$x" = "X$found_dir"; then
7343 if test -z "$haveit"; then
7344 ltrpathdirs
="$ltrpathdirs $found_dir"
7346 if test "$hardcode_direct" = yes; then
7347 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
7349 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7350 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
7352 for x
in $rpathdirs; do
7353 if test "X$x" = "X$found_dir"; then
7358 if test -z "$haveit"; then
7359 rpathdirs
="$rpathdirs $found_dir"
7363 for x
in $LDFLAGS $LIBEXPAT; do
7365 acl_save_prefix
="$prefix"
7366 prefix
="$acl_final_prefix"
7367 acl_save_exec_prefix
="$exec_prefix"
7368 exec_prefix
="$acl_final_exec_prefix"
7370 exec_prefix
="$acl_save_exec_prefix"
7371 prefix
="$acl_save_prefix"
7373 if test "X$x" = "X-L$found_dir"; then
7378 if test -z "$haveit"; then
7379 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
7381 if test "$hardcode_minus_L" != no
; then
7382 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
7384 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
7390 if test "X$found_a" != "X"; then
7391 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
7393 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
7396 additional_includedir
=
7397 case "$found_dir" in
7399 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7400 additional_includedir
="$basedir/include"
7403 if test "X$additional_includedir" != "X"; then
7404 if test "X$additional_includedir" != "X/usr/include"; then
7406 if test "X$additional_includedir" = "X/usr/local/include"; then
7407 if test -n "$GCC"; then
7409 linux
*) haveit
=yes;;
7413 if test -z "$haveit"; then
7414 for x
in $CPPFLAGS $INCEXPAT; do
7416 acl_save_prefix
="$prefix"
7417 prefix
="$acl_final_prefix"
7418 acl_save_exec_prefix
="$exec_prefix"
7419 exec_prefix
="$acl_final_exec_prefix"
7421 exec_prefix
="$acl_save_exec_prefix"
7422 prefix
="$acl_save_prefix"
7424 if test "X$x" = "X-I$additional_includedir"; then
7429 if test -z "$haveit"; then
7430 if test -d "$additional_includedir"; then
7431 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
7437 if test -n "$found_la"; then
7438 save_libdir
="$libdir"
7440 */* |
*\\*) .
"$found_la" ;;
7441 *) .
"./$found_la" ;;
7443 libdir
="$save_libdir"
7444 for dep
in $dependency_libs; do
7447 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7448 if test "X$additional_libdir" != "X/usr/lib"; then
7450 if test "X$additional_libdir" = "X/usr/local/lib"; then
7451 if test -n "$GCC"; then
7453 linux
*) haveit
=yes;;
7457 if test -z "$haveit"; then
7459 for x
in $LDFLAGS $LIBEXPAT; do
7461 acl_save_prefix
="$prefix"
7462 prefix
="$acl_final_prefix"
7463 acl_save_exec_prefix
="$exec_prefix"
7464 exec_prefix
="$acl_final_exec_prefix"
7466 exec_prefix
="$acl_save_exec_prefix"
7467 prefix
="$acl_save_prefix"
7469 if test "X$x" = "X-L$additional_libdir"; then
7474 if test -z "$haveit"; then
7475 if test -d "$additional_libdir"; then
7476 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
7480 for x
in $LDFLAGS $LTLIBEXPAT; do
7482 acl_save_prefix
="$prefix"
7483 prefix
="$acl_final_prefix"
7484 acl_save_exec_prefix
="$exec_prefix"
7485 exec_prefix
="$acl_final_exec_prefix"
7487 exec_prefix
="$acl_save_exec_prefix"
7488 prefix
="$acl_save_prefix"
7490 if test "X$x" = "X-L$additional_libdir"; then
7495 if test -z "$haveit"; then
7496 if test -d "$additional_libdir"; then
7497 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
7504 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7505 if test "$enable_rpath" != no
; then
7507 for x
in $rpathdirs; do
7508 if test "X$x" = "X$dir"; then
7513 if test -z "$haveit"; then
7514 rpathdirs
="$rpathdirs $dir"
7517 for x
in $ltrpathdirs; do
7518 if test "X$x" = "X$dir"; then
7523 if test -z "$haveit"; then
7524 ltrpathdirs
="$ltrpathdirs $dir"
7529 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7532 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7535 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
7536 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
7542 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
7543 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
7549 if test "X$rpathdirs" != "X"; then
7550 if test -n "$hardcode_libdir_separator"; then
7552 for found_dir
in $rpathdirs; do
7553 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7555 acl_save_libdir
="$libdir"
7557 eval flag
=\"$hardcode_libdir_flag_spec\"
7558 libdir
="$acl_save_libdir"
7559 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
7561 for found_dir
in $rpathdirs; do
7562 acl_save_libdir
="$libdir"
7564 eval flag
=\"$hardcode_libdir_flag_spec\"
7565 libdir
="$acl_save_libdir"
7566 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
7570 if test "X$ltrpathdirs" != "X"; then
7571 for found_dir
in $ltrpathdirs; do
7572 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
7577 ac_save_CPPFLAGS
="$CPPFLAGS"
7579 for element
in $INCEXPAT; do
7581 for x
in $CPPFLAGS; do
7583 acl_save_prefix
="$prefix"
7584 prefix
="$acl_final_prefix"
7585 acl_save_exec_prefix
="$exec_prefix"
7586 exec_prefix
="$acl_final_exec_prefix"
7588 exec_prefix
="$acl_save_exec_prefix"
7589 prefix
="$acl_save_prefix"
7591 if test "X$x" = "X$element"; then
7596 if test -z "$haveit"; then
7597 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7602 echo "$as_me:$LINENO: checking for libexpat" >&5
7603 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
7604 if test "${ac_cv_libexpat+set}" = set; then
7605 echo $ECHO_N "(cached) $ECHO_C" >&6
7608 ac_save_LIBS
="$LIBS"
7609 LIBS
="$LIBS $LIBEXPAT"
7610 cat >conftest.
$ac_ext <<_ACEOF
7613 cat confdefs.h
>>conftest.
$ac_ext
7614 cat >>conftest.
$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7620 XML_Parser p = XML_ParserCreate (0);
7625 rm -f conftest.
$ac_objext conftest
$ac_exeext
7626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7627 (eval $ac_link) 2>conftest.er1
7629 grep -v '^ *+' conftest.er1
>conftest.err
7631 cat conftest.err
>&5
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); } &&
7634 { ac_try
='test -z "$ac_c_werror_flag"
7635 || test ! -s conftest.err'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; } &&
7641 { ac_try
='test -s conftest$ac_exeext'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; }; then
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.
$ac_ext >&5
7654 rm -f conftest.err conftest.
$ac_objext \
7655 conftest
$ac_exeext conftest.
$ac_ext
7656 LIBS
="$ac_save_LIBS"
7659 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
7660 echo "${ECHO_T}$ac_cv_libexpat" >&6
7661 if test "$ac_cv_libexpat" = yes; then
7664 cat >>confdefs.h
<<\_ACEOF
7665 #define HAVE_LIBEXPAT 1
7668 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
7669 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
7670 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
7671 echo "${ECHO_T}$LIBEXPAT" >&6
7674 CPPFLAGS
="$ac_save_CPPFLAGS"
7684 if test "$HAVE_LIBEXPAT" != yes; then
7685 if test "$with_expat" = yes; then
7686 { { echo "$as_me:$LINENO: error: expat is missing or unusable" >&5
7687 echo "$as_me: error: expat is missing or unusable" >&2;}
7688 { (exit 1); exit 1; }; }
7690 { echo "$as_me:$LINENO: WARNING: expat is missing or unusable; some features may be unavailable." >&5
7691 echo "$as_me: WARNING: expat is missing or unusable; some features may be unavailable." >&2;}
7695 LIBS
="$LIBS $LIBEXPAT"
7697 for ac_func
in XML_StopParser
7699 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7700 echo "$as_me:$LINENO: checking for $ac_func" >&5
7701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7702 if eval "test \"\${$as_ac_var+set}\" = set"; then
7703 echo $ECHO_N "(cached) $ECHO_C" >&6
7705 cat >conftest.
$ac_ext <<_ACEOF
7708 cat confdefs.h
>>conftest.
$ac_ext
7709 cat >>conftest.
$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7713 #define $ac_func innocuous_$ac_func
7715 /* System header to define __stub macros and hopefully few prototypes,
7716 which can conflict with char $ac_func (); below.
7717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7718 <limits.h> exists even on freestanding compilers. */
7721 # include <limits.h>
7723 # include <assert.h>
7728 /* Override any gcc2 internal prototype to avoid an error. */
7733 /* We use char because int might match the return type of a gcc2
7734 builtin and then its argument prototype would still apply. */
7736 /* The GNU C library defines this for functions which it implements
7737 to always fail with ENOSYS. Some functions are actually named
7738 something starting with __ and the normal name is an alias. */
7739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7742 char (*f) () = $ac_func;
7751 return f != $ac_func;
7756 rm -f conftest.
$ac_objext conftest
$ac_exeext
7757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7758 (eval $ac_link) 2>conftest.er1
7760 grep -v '^ *+' conftest.er1
>conftest.err
7762 cat conftest.err
>&5
7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 (exit $ac_status); } &&
7765 { ac_try
='test -z "$ac_c_werror_flag"
7766 || test ! -s conftest.err'
7767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7771 (exit $ac_status); }; } &&
7772 { ac_try
='test -s conftest$ac_exeext'
7773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777 (exit $ac_status); }; }; then
7778 eval "$as_ac_var=yes"
7780 echo "$as_me: failed program was:" >&5
7781 sed 's/^/| /' conftest.
$ac_ext >&5
7783 eval "$as_ac_var=no"
7785 rm -f conftest.err conftest.
$ac_objext \
7786 conftest
$ac_exeext conftest.
$ac_ext
7788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7790 if test `eval echo '${'$as_ac_var'}'` = yes; then
7791 cat >>confdefs.h
<<_ACEOF
7792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7802 # ------------------------- #
7803 # Checks for header files. #
7804 # ------------------------- #
7812 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
7813 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
7814 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
7815 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
7816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 cat >conftest.
$ac_ext <<_ACEOF
7822 cat confdefs.h
>>conftest.
$ac_ext
7823 cat >>conftest.
$ac_ext <<_ACEOF
7824 /* end confdefs.h. */
7825 #include <sys/types.h>
7837 rm -f conftest.
$ac_objext
7838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7839 (eval $ac_compile) 2>conftest.er1
7841 grep -v '^ *+' conftest.er1
>conftest.err
7843 cat conftest.err
>&5
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); } &&
7846 { ac_try
='test -z "$ac_c_werror_flag"
7847 || test ! -s conftest.err'
7848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); }; } &&
7853 { ac_try
='test -s conftest.$ac_objext'
7854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); }; }; then
7859 eval "$as_ac_Header=yes"
7861 echo "$as_me: failed program was:" >&5
7862 sed 's/^/| /' conftest.
$ac_ext >&5
7864 eval "$as_ac_Header=no"
7866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7871 cat >>confdefs.h
<<_ACEOF
7872 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
7875 ac_header_dirent
=$ac_hdr; break
7879 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7880 if test $ac_header_dirent = dirent.h
; then
7881 echo "$as_me:$LINENO: checking for library containing opendir" >&5
7882 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
7883 if test "${ac_cv_search_opendir+set}" = set; then
7884 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 ac_func_search_save_LIBS
=$LIBS
7887 ac_cv_search_opendir
=no
7888 cat >conftest.
$ac_ext <<_ACEOF
7891 cat confdefs.h
>>conftest.
$ac_ext
7892 cat >>conftest.
$ac_ext <<_ACEOF
7893 /* end confdefs.h. */
7895 /* Override any gcc2 internal prototype to avoid an error. */
7899 /* We use char because int might match the return type of a gcc2
7900 builtin and then its argument prototype would still apply. */
7910 rm -f conftest.
$ac_objext conftest
$ac_exeext
7911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7912 (eval $ac_link) 2>conftest.er1
7914 grep -v '^ *+' conftest.er1
>conftest.err
7916 cat conftest.err
>&5
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); } &&
7919 { ac_try
='test -z "$ac_c_werror_flag"
7920 || test ! -s conftest.err'
7921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); }; } &&
7926 { ac_try
='test -s conftest$ac_exeext'
7927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); }; }; then
7932 ac_cv_search_opendir
="none required"
7934 echo "$as_me: failed program was:" >&5
7935 sed 's/^/| /' conftest.
$ac_ext >&5
7938 rm -f conftest.err conftest.
$ac_objext \
7939 conftest
$ac_exeext conftest.
$ac_ext
7940 if test "$ac_cv_search_opendir" = no
; then
7941 for ac_lib
in dir
; do
7942 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7943 cat >conftest.
$ac_ext <<_ACEOF
7946 cat confdefs.h
>>conftest.
$ac_ext
7947 cat >>conftest.
$ac_ext <<_ACEOF
7948 /* end confdefs.h. */
7950 /* Override any gcc2 internal prototype to avoid an error. */
7954 /* We use char because int might match the return type of a gcc2
7955 builtin and then its argument prototype would still apply. */
7965 rm -f conftest.
$ac_objext conftest
$ac_exeext
7966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7967 (eval $ac_link) 2>conftest.er1
7969 grep -v '^ *+' conftest.er1
>conftest.err
7971 cat conftest.err
>&5
7972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7973 (exit $ac_status); } &&
7974 { ac_try
='test -z "$ac_c_werror_flag"
7975 || test ! -s conftest.err'
7976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); }; } &&
7981 { ac_try
='test -s conftest$ac_exeext'
7982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); }; }; then
7987 ac_cv_search_opendir
="-l$ac_lib"
7990 echo "$as_me: failed program was:" >&5
7991 sed 's/^/| /' conftest.
$ac_ext >&5
7994 rm -f conftest.err conftest.
$ac_objext \
7995 conftest
$ac_exeext conftest.
$ac_ext
7998 LIBS
=$ac_func_search_save_LIBS
8000 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8001 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8002 if test "$ac_cv_search_opendir" != no
; then
8003 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8008 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8009 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8010 if test "${ac_cv_search_opendir+set}" = set; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8013 ac_func_search_save_LIBS
=$LIBS
8014 ac_cv_search_opendir
=no
8015 cat >conftest.
$ac_ext <<_ACEOF
8018 cat confdefs.h
>>conftest.
$ac_ext
8019 cat >>conftest.
$ac_ext <<_ACEOF
8020 /* end confdefs.h. */
8022 /* Override any gcc2 internal prototype to avoid an error. */
8026 /* We use char because int might match the return type of a gcc2
8027 builtin and then its argument prototype would still apply. */
8037 rm -f conftest.
$ac_objext conftest
$ac_exeext
8038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8039 (eval $ac_link) 2>conftest.er1
8041 grep -v '^ *+' conftest.er1
>conftest.err
8043 cat conftest.err
>&5
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); } &&
8046 { ac_try
='test -z "$ac_c_werror_flag"
8047 || test ! -s conftest.err'
8048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); }; } &&
8053 { ac_try
='test -s conftest$ac_exeext'
8054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); }; }; then
8059 ac_cv_search_opendir
="none required"
8061 echo "$as_me: failed program was:" >&5
8062 sed 's/^/| /' conftest.
$ac_ext >&5
8065 rm -f conftest.err conftest.
$ac_objext \
8066 conftest
$ac_exeext conftest.
$ac_ext
8067 if test "$ac_cv_search_opendir" = no
; then
8069 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8070 cat >conftest.
$ac_ext <<_ACEOF
8073 cat confdefs.h
>>conftest.
$ac_ext
8074 cat >>conftest.
$ac_ext <<_ACEOF
8075 /* end confdefs.h. */
8077 /* Override any gcc2 internal prototype to avoid an error. */
8081 /* We use char because int might match the return type of a gcc2
8082 builtin and then its argument prototype would still apply. */
8092 rm -f conftest.
$ac_objext conftest
$ac_exeext
8093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8094 (eval $ac_link) 2>conftest.er1
8096 grep -v '^ *+' conftest.er1
>conftest.err
8098 cat conftest.err
>&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); } &&
8101 { ac_try
='test -z "$ac_c_werror_flag"
8102 || test ! -s conftest.err'
8103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); }; } &&
8108 { ac_try
='test -s conftest$ac_exeext'
8109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); }; }; then
8114 ac_cv_search_opendir
="-l$ac_lib"
8117 echo "$as_me: failed program was:" >&5
8118 sed 's/^/| /' conftest.
$ac_ext >&5
8121 rm -f conftest.err conftest.
$ac_objext \
8122 conftest
$ac_exeext conftest.
$ac_ext
8125 LIBS
=$ac_func_search_save_LIBS
8127 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8128 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8129 if test "$ac_cv_search_opendir" != no
; then
8130 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8136 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8137 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
8138 if test "${ac_cv_header_stat_broken+set}" = set; then
8139 echo $ECHO_N "(cached) $ECHO_C" >&6
8141 cat >conftest.
$ac_ext <<_ACEOF
8144 cat confdefs.h
>>conftest.
$ac_ext
8145 cat >>conftest.
$ac_ext <<_ACEOF
8146 /* end confdefs.h. */
8147 #include <sys/types.h>
8148 #include <sys/stat.h>
8150 #if defined(S_ISBLK) && defined(S_IFDIR)
8151 # if S_ISBLK (S_IFDIR)
8156 #if defined(S_ISBLK) && defined(S_IFCHR)
8157 # if S_ISBLK (S_IFCHR)
8162 #if defined(S_ISLNK) && defined(S_IFREG)
8163 # if S_ISLNK (S_IFREG)
8168 #if defined(S_ISSOCK) && defined(S_IFREG)
8169 # if S_ISSOCK (S_IFREG)
8175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8176 $EGREP "You lose" >/dev
/null
2>&1; then
8177 ac_cv_header_stat_broken
=yes
8179 ac_cv_header_stat_broken
=no
8184 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8185 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
8186 if test $ac_cv_header_stat_broken = yes; then
8188 cat >>confdefs.h
<<\_ACEOF
8189 #define STAT_MACROS_BROKEN 1
8194 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8195 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8196 if test "${ac_cv_header_stdc+set}" = set; then
8197 echo $ECHO_N "(cached) $ECHO_C" >&6
8199 cat >conftest.
$ac_ext <<_ACEOF
8202 cat confdefs.h
>>conftest.
$ac_ext
8203 cat >>conftest.
$ac_ext <<_ACEOF
8204 /* end confdefs.h. */
8218 rm -f conftest.
$ac_objext
8219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8220 (eval $ac_compile) 2>conftest.er1
8222 grep -v '^ *+' conftest.er1
>conftest.err
8224 cat conftest.err
>&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); } &&
8227 { ac_try
='test -z "$ac_c_werror_flag"
8228 || test ! -s conftest.err'
8229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); }; } &&
8234 { ac_try
='test -s conftest.$ac_objext'
8235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); }; }; then
8240 ac_cv_header_stdc
=yes
8242 echo "$as_me: failed program was:" >&5
8243 sed 's/^/| /' conftest.
$ac_ext >&5
8245 ac_cv_header_stdc
=no
8247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8249 if test $ac_cv_header_stdc = yes; then
8250 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8251 cat >conftest.
$ac_ext <<_ACEOF
8254 cat confdefs.h
>>conftest.
$ac_ext
8255 cat >>conftest.
$ac_ext <<_ACEOF
8256 /* end confdefs.h. */
8260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8261 $EGREP "memchr" >/dev
/null
2>&1; then
8264 ac_cv_header_stdc
=no
8270 if test $ac_cv_header_stdc = yes; then
8271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8272 cat >conftest.
$ac_ext <<_ACEOF
8275 cat confdefs.h
>>conftest.
$ac_ext
8276 cat >>conftest.
$ac_ext <<_ACEOF
8277 /* end confdefs.h. */
8281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8282 $EGREP "free" >/dev
/null
2>&1; then
8285 ac_cv_header_stdc
=no
8291 if test $ac_cv_header_stdc = yes; then
8292 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8293 if test "$cross_compiling" = yes; then
8296 cat >conftest.
$ac_ext <<_ACEOF
8299 cat confdefs.h
>>conftest.
$ac_ext
8300 cat >>conftest.
$ac_ext <<_ACEOF
8301 /* end confdefs.h. */
8303 #if ((' ' & 0x0FF) == 0x020)
8304 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8305 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8307 # define ISLOWER(c) \
8308 (('a' <= (c) && (c) <= 'i') \
8309 || ('j' <= (c) && (c) <= 'r') \
8310 || ('s' <= (c) && (c) <= 'z'))
8311 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8314 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8319 for (i = 0; i < 256; i++)
8320 if (XOR (islower (i), ISLOWER (i))
8321 || toupper (i) != TOUPPER (i))
8326 rm -f conftest
$ac_exeext
8327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8328 (eval $ac_link) 2>&5
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); }; }; then
8339 echo "$as_me: program exited with status $ac_status" >&5
8340 echo "$as_me: failed program was:" >&5
8341 sed 's/^/| /' conftest.
$ac_ext >&5
8344 ac_cv_header_stdc
=no
8346 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8350 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8351 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8352 if test $ac_cv_header_stdc = yes; then
8354 cat >>confdefs.h
<<\_ACEOF
8355 #define STDC_HEADERS 1
8361 for ac_header
in nlist.h
8363 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8365 echo "$as_me:$LINENO: checking for $ac_header" >&5
8366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8368 echo $ECHO_N "(cached) $ECHO_C" >&6
8370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8373 # Is the header compilable?
8374 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8376 cat >conftest.
$ac_ext <<_ACEOF
8379 cat confdefs.h
>>conftest.
$ac_ext
8380 cat >>conftest.
$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8382 $ac_includes_default
8383 #include <$ac_header>
8385 rm -f conftest.
$ac_objext
8386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8387 (eval $ac_compile) 2>conftest.er1
8389 grep -v '^ *+' conftest.er1
>conftest.err
8391 cat conftest.err
>&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); } &&
8394 { ac_try
='test -z "$ac_c_werror_flag"
8395 || test ! -s conftest.err'
8396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); }; } &&
8401 { ac_try
='test -s conftest.$ac_objext'
8402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); }; }; then
8407 ac_header_compiler
=yes
8409 echo "$as_me: failed program was:" >&5
8410 sed 's/^/| /' conftest.
$ac_ext >&5
8412 ac_header_compiler
=no
8414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8416 echo "${ECHO_T}$ac_header_compiler" >&6
8418 # Is the header present?
8419 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8421 cat >conftest.
$ac_ext <<_ACEOF
8424 cat confdefs.h
>>conftest.
$ac_ext
8425 cat >>conftest.
$ac_ext <<_ACEOF
8426 /* end confdefs.h. */
8427 #include <$ac_header>
8429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8432 grep -v '^ *+' conftest.er1
>conftest.err
8434 cat conftest.err
>&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); } >/dev
/null
; then
8437 if test -s conftest.err
; then
8438 ac_cpp_err
=$ac_c_preproc_warn_flag
8439 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8446 if test -z "$ac_cpp_err"; then
8447 ac_header_preproc
=yes
8449 echo "$as_me: failed program was:" >&5
8450 sed 's/^/| /' conftest.
$ac_ext >&5
8452 ac_header_preproc
=no
8454 rm -f conftest.err conftest.
$ac_ext
8455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8456 echo "${ECHO_T}$ac_header_preproc" >&6
8458 # So? What about this header?
8459 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8465 ac_header_preproc
=yes
8468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8482 ## ------------------------------------------ ##
8483 ## Report this to the AC_PACKAGE_NAME lists. ##
8484 ## ------------------------------------------ ##
8487 sed "s/^/$as_me: WARNING: /" >&2
8490 echo "$as_me:$LINENO: checking for $ac_header" >&5
8491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8495 eval "$as_ac_Header=\$ac_header_preproc"
8497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8502 cat >>confdefs.h
<<_ACEOF
8503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8511 for ac_header
in link.h
8513 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8514 echo "$as_me:$LINENO: checking for $ac_header" >&5
8515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8517 echo $ECHO_N "(cached) $ECHO_C" >&6
8519 cat >conftest.
$ac_ext <<_ACEOF
8522 cat confdefs.h
>>conftest.
$ac_ext
8523 cat >>conftest.
$ac_ext <<_ACEOF
8524 /* end confdefs.h. */
8525 #if HAVE_SYS_TYPES_H
8526 # include <sys/types.h>
8533 #include <$ac_header>
8535 rm -f conftest.
$ac_objext
8536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8537 (eval $ac_compile) 2>conftest.er1
8539 grep -v '^ *+' conftest.er1
>conftest.err
8541 cat conftest.err
>&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); } &&
8544 { ac_try
='test -z "$ac_c_werror_flag"
8545 || test ! -s conftest.err'
8546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); }; } &&
8551 { ac_try
='test -s conftest.$ac_objext'
8552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); }; }; then
8557 eval "$as_ac_Header=yes"
8559 echo "$as_me: failed program was:" >&5
8560 sed 's/^/| /' conftest.
$ac_ext >&5
8562 eval "$as_ac_Header=no"
8564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8569 cat >>confdefs.h
<<_ACEOF
8570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8578 for ac_header
in machine
/reg.h
8580 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8582 echo "$as_me:$LINENO: checking for $ac_header" >&5
8583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8585 echo $ECHO_N "(cached) $ECHO_C" >&6
8587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8590 # Is the header compilable?
8591 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8593 cat >conftest.
$ac_ext <<_ACEOF
8596 cat confdefs.h
>>conftest.
$ac_ext
8597 cat >>conftest.
$ac_ext <<_ACEOF
8598 /* end confdefs.h. */
8599 $ac_includes_default
8600 #include <$ac_header>
8602 rm -f conftest.
$ac_objext
8603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8604 (eval $ac_compile) 2>conftest.er1
8606 grep -v '^ *+' conftest.er1
>conftest.err
8608 cat conftest.err
>&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); } &&
8611 { ac_try
='test -z "$ac_c_werror_flag"
8612 || test ! -s conftest.err'
8613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; } &&
8618 { ac_try
='test -s conftest.$ac_objext'
8619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); }; }; then
8624 ac_header_compiler
=yes
8626 echo "$as_me: failed program was:" >&5
8627 sed 's/^/| /' conftest.
$ac_ext >&5
8629 ac_header_compiler
=no
8631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8633 echo "${ECHO_T}$ac_header_compiler" >&6
8635 # Is the header present?
8636 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8637 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8638 cat >conftest.
$ac_ext <<_ACEOF
8641 cat confdefs.h
>>conftest.
$ac_ext
8642 cat >>conftest.
$ac_ext <<_ACEOF
8643 /* end confdefs.h. */
8644 #include <$ac_header>
8646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8647 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8649 grep -v '^ *+' conftest.er1
>conftest.err
8651 cat conftest.err
>&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); } >/dev
/null
; then
8654 if test -s conftest.err
; then
8655 ac_cpp_err
=$ac_c_preproc_warn_flag
8656 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8663 if test -z "$ac_cpp_err"; then
8664 ac_header_preproc
=yes
8666 echo "$as_me: failed program was:" >&5
8667 sed 's/^/| /' conftest.
$ac_ext >&5
8669 ac_header_preproc
=no
8671 rm -f conftest.err conftest.
$ac_ext
8672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8673 echo "${ECHO_T}$ac_header_preproc" >&6
8675 # So? What about this header?
8676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8681 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8682 ac_header_preproc
=yes
8685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8689 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8690 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8691 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8692 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8695 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8696 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8699 ## ------------------------------------------ ##
8700 ## Report this to the AC_PACKAGE_NAME lists. ##
8701 ## ------------------------------------------ ##
8704 sed "s/^/$as_me: WARNING: /" >&2
8707 echo "$as_me:$LINENO: checking for $ac_header" >&5
8708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8710 echo $ECHO_N "(cached) $ECHO_C" >&6
8712 eval "$as_ac_Header=\$ac_header_preproc"
8714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8719 cat >>confdefs.h
<<_ACEOF
8720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8729 for ac_header
in poll.h sys
/poll.h
8731 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8733 echo "$as_me:$LINENO: checking for $ac_header" >&5
8734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8736 echo $ECHO_N "(cached) $ECHO_C" >&6
8738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8741 # Is the header compilable?
8742 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8743 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8744 cat >conftest.
$ac_ext <<_ACEOF
8747 cat confdefs.h
>>conftest.
$ac_ext
8748 cat >>conftest.
$ac_ext <<_ACEOF
8749 /* end confdefs.h. */
8750 $ac_includes_default
8751 #include <$ac_header>
8753 rm -f conftest.
$ac_objext
8754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8755 (eval $ac_compile) 2>conftest.er1
8757 grep -v '^ *+' conftest.er1
>conftest.err
8759 cat conftest.err
>&5
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); } &&
8762 { ac_try
='test -z "$ac_c_werror_flag"
8763 || test ! -s conftest.err'
8764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); }; } &&
8769 { ac_try
='test -s conftest.$ac_objext'
8770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774 (exit $ac_status); }; }; then
8775 ac_header_compiler
=yes
8777 echo "$as_me: failed program was:" >&5
8778 sed 's/^/| /' conftest.
$ac_ext >&5
8780 ac_header_compiler
=no
8782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8784 echo "${ECHO_T}$ac_header_compiler" >&6
8786 # Is the header present?
8787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8789 cat >conftest.
$ac_ext <<_ACEOF
8792 cat confdefs.h
>>conftest.
$ac_ext
8793 cat >>conftest.
$ac_ext <<_ACEOF
8794 /* end confdefs.h. */
8795 #include <$ac_header>
8797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8798 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8800 grep -v '^ *+' conftest.er1
>conftest.err
8802 cat conftest.err
>&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); } >/dev
/null
; then
8805 if test -s conftest.err
; then
8806 ac_cpp_err
=$ac_c_preproc_warn_flag
8807 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8814 if test -z "$ac_cpp_err"; then
8815 ac_header_preproc
=yes
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.
$ac_ext >&5
8820 ac_header_preproc
=no
8822 rm -f conftest.err conftest.
$ac_ext
8823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8824 echo "${ECHO_T}$ac_header_preproc" >&6
8826 # So? What about this header?
8827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8833 ac_header_preproc
=yes
8836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8850 ## ------------------------------------------ ##
8851 ## Report this to the AC_PACKAGE_NAME lists. ##
8852 ## ------------------------------------------ ##
8855 sed "s/^/$as_me: WARNING: /" >&2
8858 echo "$as_me:$LINENO: checking for $ac_header" >&5
8859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8861 echo $ECHO_N "(cached) $ECHO_C" >&6
8863 eval "$as_ac_Header=\$ac_header_preproc"
8865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8870 cat >>confdefs.h
<<_ACEOF
8871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8881 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
8883 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8884 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8885 echo "$as_me:$LINENO: checking for $ac_header" >&5
8886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8888 echo $ECHO_N "(cached) $ECHO_C" >&6
8890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8893 # Is the header compilable?
8894 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8895 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8896 cat >conftest.
$ac_ext <<_ACEOF
8899 cat confdefs.h
>>conftest.
$ac_ext
8900 cat >>conftest.
$ac_ext <<_ACEOF
8901 /* end confdefs.h. */
8902 $ac_includes_default
8903 #include <$ac_header>
8905 rm -f conftest.
$ac_objext
8906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8907 (eval $ac_compile) 2>conftest.er1
8909 grep -v '^ *+' conftest.er1
>conftest.err
8911 cat conftest.err
>&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); } &&
8914 { ac_try
='test -z "$ac_c_werror_flag"
8915 || test ! -s conftest.err'
8916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); }; } &&
8921 { ac_try
='test -s conftest.$ac_objext'
8922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 (exit $ac_status); }; }; then
8927 ac_header_compiler
=yes
8929 echo "$as_me: failed program was:" >&5
8930 sed 's/^/| /' conftest.
$ac_ext >&5
8932 ac_header_compiler
=no
8934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8935 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8936 echo "${ECHO_T}$ac_header_compiler" >&6
8938 # Is the header present?
8939 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8941 cat >conftest.
$ac_ext <<_ACEOF
8944 cat confdefs.h
>>conftest.
$ac_ext
8945 cat >>conftest.
$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8947 #include <$ac_header>
8949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8950 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8952 grep -v '^ *+' conftest.er1
>conftest.err
8954 cat conftest.err
>&5
8955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956 (exit $ac_status); } >/dev
/null
; then
8957 if test -s conftest.err
; then
8958 ac_cpp_err
=$ac_c_preproc_warn_flag
8959 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8966 if test -z "$ac_cpp_err"; then
8967 ac_header_preproc
=yes
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.
$ac_ext >&5
8972 ac_header_preproc
=no
8974 rm -f conftest.err conftest.
$ac_ext
8975 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8976 echo "${ECHO_T}$ac_header_preproc" >&6
8978 # So? What about this header?
8979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8984 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8985 ac_header_preproc
=yes
8988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8993 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8995 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8999 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9002 ## ------------------------------------------ ##
9003 ## Report this to the AC_PACKAGE_NAME lists. ##
9004 ## ------------------------------------------ ##
9007 sed "s/^/$as_me: WARNING: /" >&2
9010 echo "$as_me:$LINENO: checking for $ac_header" >&5
9011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9013 echo $ECHO_N "(cached) $ECHO_C" >&6
9015 eval "$as_ac_Header=\$ac_header_preproc"
9017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9022 cat >>confdefs.h
<<_ACEOF
9023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9031 for ac_header
in signal.h
9033 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9035 echo "$as_me:$LINENO: checking for $ac_header" >&5
9036 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9038 echo $ECHO_N "(cached) $ECHO_C" >&6
9040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9043 # Is the header compilable?
9044 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9045 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9046 cat >conftest.
$ac_ext <<_ACEOF
9049 cat confdefs.h
>>conftest.
$ac_ext
9050 cat >>conftest.
$ac_ext <<_ACEOF
9051 /* end confdefs.h. */
9052 $ac_includes_default
9053 #include <$ac_header>
9055 rm -f conftest.
$ac_objext
9056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9057 (eval $ac_compile) 2>conftest.er1
9059 grep -v '^ *+' conftest.er1
>conftest.err
9061 cat conftest.err
>&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); } &&
9064 { ac_try
='test -z "$ac_c_werror_flag"
9065 || test ! -s conftest.err'
9066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); }; } &&
9071 { ac_try
='test -s conftest.$ac_objext'
9072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); }; }; then
9077 ac_header_compiler
=yes
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.
$ac_ext >&5
9082 ac_header_compiler
=no
9084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9085 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9086 echo "${ECHO_T}$ac_header_compiler" >&6
9088 # Is the header present?
9089 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9090 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9091 cat >conftest.
$ac_ext <<_ACEOF
9094 cat confdefs.h
>>conftest.
$ac_ext
9095 cat >>conftest.
$ac_ext <<_ACEOF
9096 /* end confdefs.h. */
9097 #include <$ac_header>
9099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9100 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9102 grep -v '^ *+' conftest.er1
>conftest.err
9104 cat conftest.err
>&5
9105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106 (exit $ac_status); } >/dev
/null
; then
9107 if test -s conftest.err
; then
9108 ac_cpp_err
=$ac_c_preproc_warn_flag
9109 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9116 if test -z "$ac_cpp_err"; then
9117 ac_header_preproc
=yes
9119 echo "$as_me: failed program was:" >&5
9120 sed 's/^/| /' conftest.
$ac_ext >&5
9122 ac_header_preproc
=no
9124 rm -f conftest.err conftest.
$ac_ext
9125 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9126 echo "${ECHO_T}$ac_header_preproc" >&6
9128 # So? What about this header?
9129 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9131 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9132 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9133 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9134 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9135 ac_header_preproc
=yes
9138 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9139 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9140 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9141 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9142 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9143 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9144 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9145 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9147 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9148 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9149 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9152 ## ------------------------------------------ ##
9153 ## Report this to the AC_PACKAGE_NAME lists. ##
9154 ## ------------------------------------------ ##
9157 sed "s/^/$as_me: WARNING: /" >&2
9160 echo "$as_me:$LINENO: checking for $ac_header" >&5
9161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 eval "$as_ac_Header=\$ac_header_preproc"
9167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9172 cat >>confdefs.h
<<_ACEOF
9173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9181 for ac_header
in stddef.h
9183 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9185 echo "$as_me:$LINENO: checking for $ac_header" >&5
9186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9188 echo $ECHO_N "(cached) $ECHO_C" >&6
9190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9193 # Is the header compilable?
9194 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9195 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9196 cat >conftest.
$ac_ext <<_ACEOF
9199 cat confdefs.h
>>conftest.
$ac_ext
9200 cat >>conftest.
$ac_ext <<_ACEOF
9201 /* end confdefs.h. */
9202 $ac_includes_default
9203 #include <$ac_header>
9205 rm -f conftest.
$ac_objext
9206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9207 (eval $ac_compile) 2>conftest.er1
9209 grep -v '^ *+' conftest.er1
>conftest.err
9211 cat conftest.err
>&5
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 (exit $ac_status); } &&
9214 { ac_try
='test -z "$ac_c_werror_flag"
9215 || test ! -s conftest.err'
9216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); }; } &&
9221 { ac_try
='test -s conftest.$ac_objext'
9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); }; }; then
9227 ac_header_compiler
=yes
9229 echo "$as_me: failed program was:" >&5
9230 sed 's/^/| /' conftest.
$ac_ext >&5
9232 ac_header_compiler
=no
9234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9235 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9236 echo "${ECHO_T}$ac_header_compiler" >&6
9238 # Is the header present?
9239 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9240 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9241 cat >conftest.
$ac_ext <<_ACEOF
9244 cat confdefs.h
>>conftest.
$ac_ext
9245 cat >>conftest.
$ac_ext <<_ACEOF
9246 /* end confdefs.h. */
9247 #include <$ac_header>
9249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9250 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9252 grep -v '^ *+' conftest.er1
>conftest.err
9254 cat conftest.err
>&5
9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 (exit $ac_status); } >/dev
/null
; then
9257 if test -s conftest.err
; then
9258 ac_cpp_err
=$ac_c_preproc_warn_flag
9259 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9266 if test -z "$ac_cpp_err"; then
9267 ac_header_preproc
=yes
9269 echo "$as_me: failed program was:" >&5
9270 sed 's/^/| /' conftest.
$ac_ext >&5
9272 ac_header_preproc
=no
9274 rm -f conftest.err conftest.
$ac_ext
9275 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9276 echo "${ECHO_T}$ac_header_preproc" >&6
9278 # So? What about this header?
9279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9281 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9282 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9284 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9285 ac_header_preproc
=yes
9288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9291 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9292 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9293 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9294 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9295 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9298 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9299 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9302 ## ------------------------------------------ ##
9303 ## Report this to the AC_PACKAGE_NAME lists. ##
9304 ## ------------------------------------------ ##
9307 sed "s/^/$as_me: WARNING: /" >&2
9310 echo "$as_me:$LINENO: checking for $ac_header" >&5
9311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9313 echo $ECHO_N "(cached) $ECHO_C" >&6
9315 eval "$as_ac_Header=\$ac_header_preproc"
9317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9322 cat >>confdefs.h
<<_ACEOF
9323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9331 for ac_header
in stdlib.h
9333 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9335 echo "$as_me:$LINENO: checking for $ac_header" >&5
9336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9338 echo $ECHO_N "(cached) $ECHO_C" >&6
9340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9343 # Is the header compilable?
9344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9346 cat >conftest.
$ac_ext <<_ACEOF
9349 cat confdefs.h
>>conftest.
$ac_ext
9350 cat >>conftest.
$ac_ext <<_ACEOF
9351 /* end confdefs.h. */
9352 $ac_includes_default
9353 #include <$ac_header>
9355 rm -f conftest.
$ac_objext
9356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9357 (eval $ac_compile) 2>conftest.er1
9359 grep -v '^ *+' conftest.er1
>conftest.err
9361 cat conftest.err
>&5
9362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363 (exit $ac_status); } &&
9364 { ac_try
='test -z "$ac_c_werror_flag"
9365 || test ! -s conftest.err'
9366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9370 (exit $ac_status); }; } &&
9371 { ac_try
='test -s conftest.$ac_objext'
9372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); }; }; then
9377 ac_header_compiler
=yes
9379 echo "$as_me: failed program was:" >&5
9380 sed 's/^/| /' conftest.
$ac_ext >&5
9382 ac_header_compiler
=no
9384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9386 echo "${ECHO_T}$ac_header_compiler" >&6
9388 # Is the header present?
9389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9391 cat >conftest.
$ac_ext <<_ACEOF
9394 cat confdefs.h
>>conftest.
$ac_ext
9395 cat >>conftest.
$ac_ext <<_ACEOF
9396 /* end confdefs.h. */
9397 #include <$ac_header>
9399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9400 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9402 grep -v '^ *+' conftest.er1
>conftest.err
9404 cat conftest.err
>&5
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); } >/dev
/null
; then
9407 if test -s conftest.err
; then
9408 ac_cpp_err
=$ac_c_preproc_warn_flag
9409 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9416 if test -z "$ac_cpp_err"; then
9417 ac_header_preproc
=yes
9419 echo "$as_me: failed program was:" >&5
9420 sed 's/^/| /' conftest.
$ac_ext >&5
9422 ac_header_preproc
=no
9424 rm -f conftest.err conftest.
$ac_ext
9425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9426 echo "${ECHO_T}$ac_header_preproc" >&6
9428 # So? What about this header?
9429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9435 ac_header_preproc
=yes
9438 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9440 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9441 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9442 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9444 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9445 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9448 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9452 ## ------------------------------------------ ##
9453 ## Report this to the AC_PACKAGE_NAME lists. ##
9454 ## ------------------------------------------ ##
9457 sed "s/^/$as_me: WARNING: /" >&2
9460 echo "$as_me:$LINENO: checking for $ac_header" >&5
9461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9463 echo $ECHO_N "(cached) $ECHO_C" >&6
9465 eval "$as_ac_Header=\$ac_header_preproc"
9467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9472 cat >>confdefs.h
<<_ACEOF
9473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9481 for ac_header
in stdint.h
9483 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9485 echo "$as_me:$LINENO: checking for $ac_header" >&5
9486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9488 echo $ECHO_N "(cached) $ECHO_C" >&6
9490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9493 # Is the header compilable?
9494 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9495 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9496 cat >conftest.
$ac_ext <<_ACEOF
9499 cat confdefs.h
>>conftest.
$ac_ext
9500 cat >>conftest.
$ac_ext <<_ACEOF
9501 /* end confdefs.h. */
9502 $ac_includes_default
9503 #include <$ac_header>
9505 rm -f conftest.
$ac_objext
9506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9507 (eval $ac_compile) 2>conftest.er1
9509 grep -v '^ *+' conftest.er1
>conftest.err
9511 cat conftest.err
>&5
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); } &&
9514 { ac_try
='test -z "$ac_c_werror_flag"
9515 || test ! -s conftest.err'
9516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); }; } &&
9521 { ac_try
='test -s conftest.$ac_objext'
9522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); }; }; then
9527 ac_header_compiler
=yes
9529 echo "$as_me: failed program was:" >&5
9530 sed 's/^/| /' conftest.
$ac_ext >&5
9532 ac_header_compiler
=no
9534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9535 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9536 echo "${ECHO_T}$ac_header_compiler" >&6
9538 # Is the header present?
9539 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9541 cat >conftest.
$ac_ext <<_ACEOF
9544 cat confdefs.h
>>conftest.
$ac_ext
9545 cat >>conftest.
$ac_ext <<_ACEOF
9546 /* end confdefs.h. */
9547 #include <$ac_header>
9549 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9550 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9552 grep -v '^ *+' conftest.er1
>conftest.err
9554 cat conftest.err
>&5
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); } >/dev
/null
; then
9557 if test -s conftest.err
; then
9558 ac_cpp_err
=$ac_c_preproc_warn_flag
9559 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9566 if test -z "$ac_cpp_err"; then
9567 ac_header_preproc
=yes
9569 echo "$as_me: failed program was:" >&5
9570 sed 's/^/| /' conftest.
$ac_ext >&5
9572 ac_header_preproc
=no
9574 rm -f conftest.err conftest.
$ac_ext
9575 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9576 echo "${ECHO_T}$ac_header_preproc" >&6
9578 # So? What about this header?
9579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9585 ac_header_preproc
=yes
9588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9602 ## ------------------------------------------ ##
9603 ## Report this to the AC_PACKAGE_NAME lists. ##
9604 ## ------------------------------------------ ##
9607 sed "s/^/$as_me: WARNING: /" >&2
9610 echo "$as_me:$LINENO: checking for $ac_header" >&5
9611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9613 echo $ECHO_N "(cached) $ECHO_C" >&6
9615 eval "$as_ac_Header=\$ac_header_preproc"
9617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9622 cat >>confdefs.h
<<_ACEOF
9623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9633 for ac_header
in string.h memory.h
strings.h
9635 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9637 echo "$as_me:$LINENO: checking for $ac_header" >&5
9638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9645 # Is the header compilable?
9646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9648 cat >conftest.
$ac_ext <<_ACEOF
9651 cat confdefs.h
>>conftest.
$ac_ext
9652 cat >>conftest.
$ac_ext <<_ACEOF
9653 /* end confdefs.h. */
9654 $ac_includes_default
9655 #include <$ac_header>
9657 rm -f conftest.
$ac_objext
9658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9659 (eval $ac_compile) 2>conftest.er1
9661 grep -v '^ *+' conftest.er1
>conftest.err
9663 cat conftest.err
>&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); } &&
9666 { ac_try
='test -z "$ac_c_werror_flag"
9667 || test ! -s conftest.err'
9668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672 (exit $ac_status); }; } &&
9673 { ac_try
='test -s conftest.$ac_objext'
9674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); }; }; then
9679 ac_header_compiler
=yes
9681 echo "$as_me: failed program was:" >&5
9682 sed 's/^/| /' conftest.
$ac_ext >&5
9684 ac_header_compiler
=no
9686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9688 echo "${ECHO_T}$ac_header_compiler" >&6
9690 # Is the header present?
9691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9693 cat >conftest.
$ac_ext <<_ACEOF
9696 cat confdefs.h
>>conftest.
$ac_ext
9697 cat >>conftest.
$ac_ext <<_ACEOF
9698 /* end confdefs.h. */
9699 #include <$ac_header>
9701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9702 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9704 grep -v '^ *+' conftest.er1
>conftest.err
9706 cat conftest.err
>&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); } >/dev
/null
; then
9709 if test -s conftest.err
; then
9710 ac_cpp_err
=$ac_c_preproc_warn_flag
9711 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9718 if test -z "$ac_cpp_err"; then
9719 ac_header_preproc
=yes
9721 echo "$as_me: failed program was:" >&5
9722 sed 's/^/| /' conftest.
$ac_ext >&5
9724 ac_header_preproc
=no
9726 rm -f conftest.err conftest.
$ac_ext
9727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9728 echo "${ECHO_T}$ac_header_preproc" >&6
9730 # So? What about this header?
9731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9736 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9737 ac_header_preproc
=yes
9740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9745 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9747 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9751 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9754 ## ------------------------------------------ ##
9755 ## Report this to the AC_PACKAGE_NAME lists. ##
9756 ## ------------------------------------------ ##
9759 sed "s/^/$as_me: WARNING: /" >&2
9762 echo "$as_me:$LINENO: checking for $ac_header" >&5
9763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9765 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 eval "$as_ac_Header=\$ac_header_preproc"
9769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9774 cat >>confdefs.h
<<_ACEOF
9775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9783 for ac_header
in sys
/fault.h
9785 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9787 echo "$as_me:$LINENO: checking for $ac_header" >&5
9788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9790 echo $ECHO_N "(cached) $ECHO_C" >&6
9792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9795 # Is the header compilable?
9796 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9798 cat >conftest.
$ac_ext <<_ACEOF
9801 cat confdefs.h
>>conftest.
$ac_ext
9802 cat >>conftest.
$ac_ext <<_ACEOF
9803 /* end confdefs.h. */
9804 $ac_includes_default
9805 #include <$ac_header>
9807 rm -f conftest.
$ac_objext
9808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9809 (eval $ac_compile) 2>conftest.er1
9811 grep -v '^ *+' conftest.er1
>conftest.err
9813 cat conftest.err
>&5
9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 (exit $ac_status); } &&
9816 { ac_try
='test -z "$ac_c_werror_flag"
9817 || test ! -s conftest.err'
9818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); }; } &&
9823 { ac_try
='test -s conftest.$ac_objext'
9824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828 (exit $ac_status); }; }; then
9829 ac_header_compiler
=yes
9831 echo "$as_me: failed program was:" >&5
9832 sed 's/^/| /' conftest.
$ac_ext >&5
9834 ac_header_compiler
=no
9836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9838 echo "${ECHO_T}$ac_header_compiler" >&6
9840 # Is the header present?
9841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9843 cat >conftest.
$ac_ext <<_ACEOF
9846 cat confdefs.h
>>conftest.
$ac_ext
9847 cat >>conftest.
$ac_ext <<_ACEOF
9848 /* end confdefs.h. */
9849 #include <$ac_header>
9851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9852 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9854 grep -v '^ *+' conftest.er1
>conftest.err
9856 cat conftest.err
>&5
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); } >/dev
/null
; then
9859 if test -s conftest.err
; then
9860 ac_cpp_err
=$ac_c_preproc_warn_flag
9861 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9868 if test -z "$ac_cpp_err"; then
9869 ac_header_preproc
=yes
9871 echo "$as_me: failed program was:" >&5
9872 sed 's/^/| /' conftest.
$ac_ext >&5
9874 ac_header_preproc
=no
9876 rm -f conftest.err conftest.
$ac_ext
9877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9878 echo "${ECHO_T}$ac_header_preproc" >&6
9880 # So? What about this header?
9881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9886 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9887 ac_header_preproc
=yes
9890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9893 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9894 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9895 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9896 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9897 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9900 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9901 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9904 ## ------------------------------------------ ##
9905 ## Report this to the AC_PACKAGE_NAME lists. ##
9906 ## ------------------------------------------ ##
9909 sed "s/^/$as_me: WARNING: /" >&2
9912 echo "$as_me:$LINENO: checking for $ac_header" >&5
9913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9915 echo $ECHO_N "(cached) $ECHO_C" >&6
9917 eval "$as_ac_Header=\$ac_header_preproc"
9919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9924 cat >>confdefs.h
<<_ACEOF
9925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9933 for ac_header
in sys
/file.h
9935 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9937 echo "$as_me:$LINENO: checking for $ac_header" >&5
9938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9940 echo $ECHO_N "(cached) $ECHO_C" >&6
9942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9945 # Is the header compilable?
9946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9948 cat >conftest.
$ac_ext <<_ACEOF
9951 cat confdefs.h
>>conftest.
$ac_ext
9952 cat >>conftest.
$ac_ext <<_ACEOF
9953 /* end confdefs.h. */
9954 $ac_includes_default
9955 #include <$ac_header>
9957 rm -f conftest.
$ac_objext
9958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9959 (eval $ac_compile) 2>conftest.er1
9961 grep -v '^ *+' conftest.er1
>conftest.err
9963 cat conftest.err
>&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } &&
9966 { ac_try
='test -z "$ac_c_werror_flag"
9967 || test ! -s conftest.err'
9968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; } &&
9973 { ac_try
='test -s conftest.$ac_objext'
9974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); }; }; then
9979 ac_header_compiler
=yes
9981 echo "$as_me: failed program was:" >&5
9982 sed 's/^/| /' conftest.
$ac_ext >&5
9984 ac_header_compiler
=no
9986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9988 echo "${ECHO_T}$ac_header_compiler" >&6
9990 # Is the header present?
9991 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9993 cat >conftest.
$ac_ext <<_ACEOF
9996 cat confdefs.h
>>conftest.
$ac_ext
9997 cat >>conftest.
$ac_ext <<_ACEOF
9998 /* end confdefs.h. */
9999 #include <$ac_header>
10001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10002 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10004 grep -v '^ *+' conftest.er1
>conftest.err
10006 cat conftest.err
>&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); } >/dev
/null
; then
10009 if test -s conftest.err
; then
10010 ac_cpp_err
=$ac_c_preproc_warn_flag
10011 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10018 if test -z "$ac_cpp_err"; then
10019 ac_header_preproc
=yes
10021 echo "$as_me: failed program was:" >&5
10022 sed 's/^/| /' conftest.
$ac_ext >&5
10024 ac_header_preproc
=no
10026 rm -f conftest.err conftest.
$ac_ext
10027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10028 echo "${ECHO_T}$ac_header_preproc" >&6
10030 # So? What about this header?
10031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10033 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10034 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10036 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10037 ac_header_preproc
=yes
10040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10043 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10044 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10045 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10046 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10047 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10050 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10051 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10054 ## ------------------------------------------ ##
10055 ## Report this to the AC_PACKAGE_NAME lists. ##
10056 ## ------------------------------------------ ##
10059 sed "s/^/$as_me: WARNING: /" >&2
10062 echo "$as_me:$LINENO: checking for $ac_header" >&5
10063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10065 echo $ECHO_N "(cached) $ECHO_C" >&6
10067 eval "$as_ac_Header=\$ac_header_preproc"
10069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10074 cat >>confdefs.h
<<_ACEOF
10075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10083 for ac_header
in sys
/filio.h
10085 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10087 echo "$as_me:$LINENO: checking for $ac_header" >&5
10088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10090 echo $ECHO_N "(cached) $ECHO_C" >&6
10092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10095 # Is the header compilable?
10096 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10097 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10098 cat >conftest.
$ac_ext <<_ACEOF
10101 cat confdefs.h
>>conftest.
$ac_ext
10102 cat >>conftest.
$ac_ext <<_ACEOF
10103 /* end confdefs.h. */
10104 $ac_includes_default
10105 #include <$ac_header>
10107 rm -f conftest.
$ac_objext
10108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10109 (eval $ac_compile) 2>conftest.er1
10111 grep -v '^ *+' conftest.er1
>conftest.err
10113 cat conftest.err
>&5
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); } &&
10116 { ac_try
='test -z "$ac_c_werror_flag"
10117 || test ! -s conftest.err'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; } &&
10123 { ac_try
='test -s conftest.$ac_objext'
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; }; then
10129 ac_header_compiler
=yes
10131 echo "$as_me: failed program was:" >&5
10132 sed 's/^/| /' conftest.
$ac_ext >&5
10134 ac_header_compiler
=no
10136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10137 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10138 echo "${ECHO_T}$ac_header_compiler" >&6
10140 # Is the header present?
10141 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10143 cat >conftest.
$ac_ext <<_ACEOF
10146 cat confdefs.h
>>conftest.
$ac_ext
10147 cat >>conftest.
$ac_ext <<_ACEOF
10148 /* end confdefs.h. */
10149 #include <$ac_header>
10151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10154 grep -v '^ *+' conftest.er1
>conftest.err
10156 cat conftest.err
>&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); } >/dev
/null
; then
10159 if test -s conftest.err
; then
10160 ac_cpp_err
=$ac_c_preproc_warn_flag
10161 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10168 if test -z "$ac_cpp_err"; then
10169 ac_header_preproc
=yes
10171 echo "$as_me: failed program was:" >&5
10172 sed 's/^/| /' conftest.
$ac_ext >&5
10174 ac_header_preproc
=no
10176 rm -f conftest.err conftest.
$ac_ext
10177 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10178 echo "${ECHO_T}$ac_header_preproc" >&6
10180 # So? What about this header?
10181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10183 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10184 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10186 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10187 ac_header_preproc
=yes
10190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10193 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10194 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10195 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10196 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10197 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10200 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10201 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10204 ## ------------------------------------------ ##
10205 ## Report this to the AC_PACKAGE_NAME lists. ##
10206 ## ------------------------------------------ ##
10209 sed "s/^/$as_me: WARNING: /" >&2
10212 echo "$as_me:$LINENO: checking for $ac_header" >&5
10213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10215 echo $ECHO_N "(cached) $ECHO_C" >&6
10217 eval "$as_ac_Header=\$ac_header_preproc"
10219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10224 cat >>confdefs.h
<<_ACEOF
10225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10233 for ac_header
in sys
/ioctl.h
10235 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10237 echo "$as_me:$LINENO: checking for $ac_header" >&5
10238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10240 echo $ECHO_N "(cached) $ECHO_C" >&6
10242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10245 # Is the header compilable?
10246 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10247 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10248 cat >conftest.
$ac_ext <<_ACEOF
10251 cat confdefs.h
>>conftest.
$ac_ext
10252 cat >>conftest.
$ac_ext <<_ACEOF
10253 /* end confdefs.h. */
10254 $ac_includes_default
10255 #include <$ac_header>
10257 rm -f conftest.
$ac_objext
10258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10259 (eval $ac_compile) 2>conftest.er1
10261 grep -v '^ *+' conftest.er1
>conftest.err
10263 cat conftest.err
>&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); } &&
10266 { ac_try
='test -z "$ac_c_werror_flag"
10267 || test ! -s conftest.err'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; } &&
10273 { ac_try
='test -s conftest.$ac_objext'
10274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10275 (eval $ac_try) 2>&5
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; }; then
10279 ac_header_compiler
=yes
10281 echo "$as_me: failed program was:" >&5
10282 sed 's/^/| /' conftest.
$ac_ext >&5
10284 ac_header_compiler
=no
10286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10288 echo "${ECHO_T}$ac_header_compiler" >&6
10290 # Is the header present?
10291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10293 cat >conftest.
$ac_ext <<_ACEOF
10296 cat confdefs.h
>>conftest.
$ac_ext
10297 cat >>conftest.
$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10299 #include <$ac_header>
10301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10304 grep -v '^ *+' conftest.er1
>conftest.err
10306 cat conftest.err
>&5
10307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308 (exit $ac_status); } >/dev
/null
; then
10309 if test -s conftest.err
; then
10310 ac_cpp_err
=$ac_c_preproc_warn_flag
10311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10318 if test -z "$ac_cpp_err"; then
10319 ac_header_preproc
=yes
10321 echo "$as_me: failed program was:" >&5
10322 sed 's/^/| /' conftest.
$ac_ext >&5
10324 ac_header_preproc
=no
10326 rm -f conftest.err conftest.
$ac_ext
10327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10328 echo "${ECHO_T}$ac_header_preproc" >&6
10330 # So? What about this header?
10331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10337 ac_header_preproc
=yes
10340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10354 ## ------------------------------------------ ##
10355 ## Report this to the AC_PACKAGE_NAME lists. ##
10356 ## ------------------------------------------ ##
10359 sed "s/^/$as_me: WARNING: /" >&2
10362 echo "$as_me:$LINENO: checking for $ac_header" >&5
10363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10367 eval "$as_ac_Header=\$ac_header_preproc"
10369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10374 cat >>confdefs.h
<<_ACEOF
10375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10383 for ac_header
in sys
/param.h
10385 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10387 echo "$as_me:$LINENO: checking for $ac_header" >&5
10388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10390 echo $ECHO_N "(cached) $ECHO_C" >&6
10392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10395 # Is the header compilable?
10396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10398 cat >conftest.
$ac_ext <<_ACEOF
10401 cat confdefs.h
>>conftest.
$ac_ext
10402 cat >>conftest.
$ac_ext <<_ACEOF
10403 /* end confdefs.h. */
10404 $ac_includes_default
10405 #include <$ac_header>
10407 rm -f conftest.
$ac_objext
10408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10409 (eval $ac_compile) 2>conftest.er1
10411 grep -v '^ *+' conftest.er1
>conftest.err
10413 cat conftest.err
>&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } &&
10416 { ac_try
='test -z "$ac_c_werror_flag"
10417 || test ! -s conftest.err'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; } &&
10423 { ac_try
='test -s conftest.$ac_objext'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10429 ac_header_compiler
=yes
10431 echo "$as_me: failed program was:" >&5
10432 sed 's/^/| /' conftest.
$ac_ext >&5
10434 ac_header_compiler
=no
10436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10438 echo "${ECHO_T}$ac_header_compiler" >&6
10440 # Is the header present?
10441 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10442 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10443 cat >conftest.
$ac_ext <<_ACEOF
10446 cat confdefs.h
>>conftest.
$ac_ext
10447 cat >>conftest.
$ac_ext <<_ACEOF
10448 /* end confdefs.h. */
10449 #include <$ac_header>
10451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10452 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10454 grep -v '^ *+' conftest.er1
>conftest.err
10456 cat conftest.err
>&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); } >/dev
/null
; then
10459 if test -s conftest.err
; then
10460 ac_cpp_err
=$ac_c_preproc_warn_flag
10461 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10468 if test -z "$ac_cpp_err"; then
10469 ac_header_preproc
=yes
10471 echo "$as_me: failed program was:" >&5
10472 sed 's/^/| /' conftest.
$ac_ext >&5
10474 ac_header_preproc
=no
10476 rm -f conftest.err conftest.
$ac_ext
10477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10478 echo "${ECHO_T}$ac_header_preproc" >&6
10480 # So? What about this header?
10481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10483 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10484 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10486 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10487 ac_header_preproc
=yes
10490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10494 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10495 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10496 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10497 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10500 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10501 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10504 ## ------------------------------------------ ##
10505 ## Report this to the AC_PACKAGE_NAME lists. ##
10506 ## ------------------------------------------ ##
10509 sed "s/^/$as_me: WARNING: /" >&2
10512 echo "$as_me:$LINENO: checking for $ac_header" >&5
10513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10515 echo $ECHO_N "(cached) $ECHO_C" >&6
10517 eval "$as_ac_Header=\$ac_header_preproc"
10519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10524 cat >>confdefs.h
<<_ACEOF
10525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10533 for ac_header
in sys
/resource.h
10535 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10537 echo "$as_me:$LINENO: checking for $ac_header" >&5
10538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10540 echo $ECHO_N "(cached) $ECHO_C" >&6
10542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10545 # Is the header compilable?
10546 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10548 cat >conftest.
$ac_ext <<_ACEOF
10551 cat confdefs.h
>>conftest.
$ac_ext
10552 cat >>conftest.
$ac_ext <<_ACEOF
10553 /* end confdefs.h. */
10554 $ac_includes_default
10555 #include <$ac_header>
10557 rm -f conftest.
$ac_objext
10558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10559 (eval $ac_compile) 2>conftest.er1
10561 grep -v '^ *+' conftest.er1
>conftest.err
10563 cat conftest.err
>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } &&
10566 { ac_try
='test -z "$ac_c_werror_flag"
10567 || test ! -s conftest.err'
10568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10569 (eval $ac_try) 2>&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); }; } &&
10573 { ac_try
='test -s conftest.$ac_objext'
10574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10575 (eval $ac_try) 2>&5
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); }; }; then
10579 ac_header_compiler
=yes
10581 echo "$as_me: failed program was:" >&5
10582 sed 's/^/| /' conftest.
$ac_ext >&5
10584 ac_header_compiler
=no
10586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10587 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10588 echo "${ECHO_T}$ac_header_compiler" >&6
10590 # Is the header present?
10591 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10592 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10593 cat >conftest.
$ac_ext <<_ACEOF
10596 cat confdefs.h
>>conftest.
$ac_ext
10597 cat >>conftest.
$ac_ext <<_ACEOF
10598 /* end confdefs.h. */
10599 #include <$ac_header>
10601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10602 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10604 grep -v '^ *+' conftest.er1
>conftest.err
10606 cat conftest.err
>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); } >/dev
/null
; then
10609 if test -s conftest.err
; then
10610 ac_cpp_err
=$ac_c_preproc_warn_flag
10611 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10618 if test -z "$ac_cpp_err"; then
10619 ac_header_preproc
=yes
10621 echo "$as_me: failed program was:" >&5
10622 sed 's/^/| /' conftest.
$ac_ext >&5
10624 ac_header_preproc
=no
10626 rm -f conftest.err conftest.
$ac_ext
10627 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10628 echo "${ECHO_T}$ac_header_preproc" >&6
10630 # So? What about this header?
10631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10637 ac_header_preproc
=yes
10640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10654 ## ------------------------------------------ ##
10655 ## Report this to the AC_PACKAGE_NAME lists. ##
10656 ## ------------------------------------------ ##
10659 sed "s/^/$as_me: WARNING: /" >&2
10662 echo "$as_me:$LINENO: checking for $ac_header" >&5
10663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 eval "$as_ac_Header=\$ac_header_preproc"
10669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10674 cat >>confdefs.h
<<_ACEOF
10675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10683 for ac_header
in sys
/proc.h
10685 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10686 echo "$as_me:$LINENO: checking for $ac_header" >&5
10687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10689 echo $ECHO_N "(cached) $ECHO_C" >&6
10691 cat >conftest.
$ac_ext <<_ACEOF
10694 cat confdefs.h
>>conftest.
$ac_ext
10695 cat >>conftest.
$ac_ext <<_ACEOF
10696 /* end confdefs.h. */
10697 #if HAVE_SYS_PARAM_H
10698 # include <sys/param.h>
10702 #include <$ac_header>
10704 rm -f conftest.
$ac_objext
10705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10706 (eval $ac_compile) 2>conftest.er1
10708 grep -v '^ *+' conftest.er1
>conftest.err
10710 cat conftest.err
>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); } &&
10713 { ac_try
='test -z "$ac_c_werror_flag"
10714 || test ! -s conftest.err'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; } &&
10720 { ac_try
='test -s conftest.$ac_objext'
10721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10722 (eval $ac_try) 2>&5
10724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725 (exit $ac_status); }; }; then
10726 eval "$as_ac_Header=yes"
10728 echo "$as_me: failed program was:" >&5
10729 sed 's/^/| /' conftest.
$ac_ext >&5
10731 eval "$as_ac_Header=no"
10733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10738 cat >>confdefs.h
<<_ACEOF
10739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10747 for ac_header
in sys
/procfs.h
10749 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10751 echo "$as_me:$LINENO: checking for $ac_header" >&5
10752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10754 echo $ECHO_N "(cached) $ECHO_C" >&6
10756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10759 # Is the header compilable?
10760 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10761 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10762 cat >conftest.
$ac_ext <<_ACEOF
10765 cat confdefs.h
>>conftest.
$ac_ext
10766 cat >>conftest.
$ac_ext <<_ACEOF
10767 /* end confdefs.h. */
10768 $ac_includes_default
10769 #include <$ac_header>
10771 rm -f conftest.
$ac_objext
10772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10773 (eval $ac_compile) 2>conftest.er1
10775 grep -v '^ *+' conftest.er1
>conftest.err
10777 cat conftest.err
>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); } &&
10780 { ac_try
='test -z "$ac_c_werror_flag"
10781 || test ! -s conftest.err'
10782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10783 (eval $ac_try) 2>&5
10785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10786 (exit $ac_status); }; } &&
10787 { ac_try
='test -s conftest.$ac_objext'
10788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10789 (eval $ac_try) 2>&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); }; }; then
10793 ac_header_compiler
=yes
10795 echo "$as_me: failed program was:" >&5
10796 sed 's/^/| /' conftest.
$ac_ext >&5
10798 ac_header_compiler
=no
10800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10801 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10802 echo "${ECHO_T}$ac_header_compiler" >&6
10804 # Is the header present?
10805 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10806 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10807 cat >conftest.
$ac_ext <<_ACEOF
10810 cat confdefs.h
>>conftest.
$ac_ext
10811 cat >>conftest.
$ac_ext <<_ACEOF
10812 /* end confdefs.h. */
10813 #include <$ac_header>
10815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10816 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10818 grep -v '^ *+' conftest.er1
>conftest.err
10820 cat conftest.err
>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } >/dev
/null
; then
10823 if test -s conftest.err
; then
10824 ac_cpp_err
=$ac_c_preproc_warn_flag
10825 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10832 if test -z "$ac_cpp_err"; then
10833 ac_header_preproc
=yes
10835 echo "$as_me: failed program was:" >&5
10836 sed 's/^/| /' conftest.
$ac_ext >&5
10838 ac_header_preproc
=no
10840 rm -f conftest.err conftest.
$ac_ext
10841 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10842 echo "${ECHO_T}$ac_header_preproc" >&6
10844 # So? What about this header?
10845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10847 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10848 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10850 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10851 ac_header_preproc
=yes
10854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10857 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10858 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10859 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10860 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10861 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10864 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10865 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10868 ## ------------------------------------------ ##
10869 ## Report this to the AC_PACKAGE_NAME lists. ##
10870 ## ------------------------------------------ ##
10873 sed "s/^/$as_me: WARNING: /" >&2
10876 echo "$as_me:$LINENO: checking for $ac_header" >&5
10877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10879 echo $ECHO_N "(cached) $ECHO_C" >&6
10881 eval "$as_ac_Header=\$ac_header_preproc"
10883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10887 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10888 cat >>confdefs.h
<<_ACEOF
10889 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10898 for ac_header
in sys
/ptrace.h ptrace.h
10900 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10902 echo "$as_me:$LINENO: checking for $ac_header" >&5
10903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10905 echo $ECHO_N "(cached) $ECHO_C" >&6
10907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10910 # Is the header compilable?
10911 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10913 cat >conftest.
$ac_ext <<_ACEOF
10916 cat confdefs.h
>>conftest.
$ac_ext
10917 cat >>conftest.
$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10919 $ac_includes_default
10920 #include <$ac_header>
10922 rm -f conftest.
$ac_objext
10923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10924 (eval $ac_compile) 2>conftest.er1
10926 grep -v '^ *+' conftest.er1
>conftest.err
10928 cat conftest.err
>&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); } &&
10931 { ac_try
='test -z "$ac_c_werror_flag"
10932 || test ! -s conftest.err'
10933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10934 (eval $ac_try) 2>&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); }; } &&
10938 { ac_try
='test -s conftest.$ac_objext'
10939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10940 (eval $ac_try) 2>&5
10942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943 (exit $ac_status); }; }; then
10944 ac_header_compiler
=yes
10946 echo "$as_me: failed program was:" >&5
10947 sed 's/^/| /' conftest.
$ac_ext >&5
10949 ac_header_compiler
=no
10951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10953 echo "${ECHO_T}$ac_header_compiler" >&6
10955 # Is the header present?
10956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10958 cat >conftest.
$ac_ext <<_ACEOF
10961 cat confdefs.h
>>conftest.
$ac_ext
10962 cat >>conftest.
$ac_ext <<_ACEOF
10963 /* end confdefs.h. */
10964 #include <$ac_header>
10966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10969 grep -v '^ *+' conftest.er1
>conftest.err
10971 cat conftest.err
>&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } >/dev
/null
; then
10974 if test -s conftest.err
; then
10975 ac_cpp_err
=$ac_c_preproc_warn_flag
10976 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10983 if test -z "$ac_cpp_err"; then
10984 ac_header_preproc
=yes
10986 echo "$as_me: failed program was:" >&5
10987 sed 's/^/| /' conftest.
$ac_ext >&5
10989 ac_header_preproc
=no
10991 rm -f conftest.err conftest.
$ac_ext
10992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10993 echo "${ECHO_T}$ac_header_preproc" >&6
10995 # So? What about this header?
10996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11002 ac_header_preproc
=yes
11005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11008 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11012 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11019 ## ------------------------------------------ ##
11020 ## Report this to the AC_PACKAGE_NAME lists. ##
11021 ## ------------------------------------------ ##
11024 sed "s/^/$as_me: WARNING: /" >&2
11027 echo "$as_me:$LINENO: checking for $ac_header" >&5
11028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11030 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 eval "$as_ac_Header=\$ac_header_preproc"
11034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11039 cat >>confdefs.h
<<_ACEOF
11040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11049 for ac_header
in sys
/reg.h sys
/debugreg.h
11051 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11053 echo "$as_me:$LINENO: checking for $ac_header" >&5
11054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11056 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11061 # Is the header compilable?
11062 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11063 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11064 cat >conftest.
$ac_ext <<_ACEOF
11067 cat confdefs.h
>>conftest.
$ac_ext
11068 cat >>conftest.
$ac_ext <<_ACEOF
11069 /* end confdefs.h. */
11070 $ac_includes_default
11071 #include <$ac_header>
11073 rm -f conftest.
$ac_objext
11074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11075 (eval $ac_compile) 2>conftest.er1
11077 grep -v '^ *+' conftest.er1
>conftest.err
11079 cat conftest.err
>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); } &&
11082 { ac_try
='test -z "$ac_c_werror_flag"
11083 || test ! -s conftest.err'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; } &&
11089 { ac_try
='test -s conftest.$ac_objext'
11090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11091 (eval $ac_try) 2>&5
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); }; }; then
11095 ac_header_compiler
=yes
11097 echo "$as_me: failed program was:" >&5
11098 sed 's/^/| /' conftest.
$ac_ext >&5
11100 ac_header_compiler
=no
11102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11104 echo "${ECHO_T}$ac_header_compiler" >&6
11106 # Is the header present?
11107 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11108 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11109 cat >conftest.
$ac_ext <<_ACEOF
11112 cat confdefs.h
>>conftest.
$ac_ext
11113 cat >>conftest.
$ac_ext <<_ACEOF
11114 /* end confdefs.h. */
11115 #include <$ac_header>
11117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11118 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11120 grep -v '^ *+' conftest.er1
>conftest.err
11122 cat conftest.err
>&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); } >/dev
/null
; then
11125 if test -s conftest.err
; then
11126 ac_cpp_err
=$ac_c_preproc_warn_flag
11127 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11134 if test -z "$ac_cpp_err"; then
11135 ac_header_preproc
=yes
11137 echo "$as_me: failed program was:" >&5
11138 sed 's/^/| /' conftest.
$ac_ext >&5
11140 ac_header_preproc
=no
11142 rm -f conftest.err conftest.
$ac_ext
11143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11144 echo "${ECHO_T}$ac_header_preproc" >&6
11146 # So? What about this header?
11147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11149 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11150 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11152 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11153 ac_header_preproc
=yes
11156 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11157 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11158 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11159 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11160 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11161 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11162 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11163 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11165 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11166 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11167 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11170 ## ------------------------------------------ ##
11171 ## Report this to the AC_PACKAGE_NAME lists. ##
11172 ## ------------------------------------------ ##
11175 sed "s/^/$as_me: WARNING: /" >&2
11178 echo "$as_me:$LINENO: checking for $ac_header" >&5
11179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11181 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 eval "$as_ac_Header=\$ac_header_preproc"
11185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11189 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11190 cat >>confdefs.h
<<_ACEOF
11191 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11199 for ac_header
in sys
/select.h
11201 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11203 echo "$as_me:$LINENO: checking for $ac_header" >&5
11204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11206 echo $ECHO_N "(cached) $ECHO_C" >&6
11208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11211 # Is the header compilable?
11212 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11213 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11214 cat >conftest.
$ac_ext <<_ACEOF
11217 cat confdefs.h
>>conftest.
$ac_ext
11218 cat >>conftest.
$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11220 $ac_includes_default
11221 #include <$ac_header>
11223 rm -f conftest.
$ac_objext
11224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11225 (eval $ac_compile) 2>conftest.er1
11227 grep -v '^ *+' conftest.er1
>conftest.err
11229 cat conftest.err
>&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); } &&
11232 { ac_try
='test -z "$ac_c_werror_flag"
11233 || test ! -s conftest.err'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; } &&
11239 { ac_try
='test -s conftest.$ac_objext'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; }; then
11245 ac_header_compiler
=yes
11247 echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.
$ac_ext >&5
11250 ac_header_compiler
=no
11252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11253 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11254 echo "${ECHO_T}$ac_header_compiler" >&6
11256 # Is the header present?
11257 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11258 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11259 cat >conftest.
$ac_ext <<_ACEOF
11262 cat confdefs.h
>>conftest.
$ac_ext
11263 cat >>conftest.
$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11265 #include <$ac_header>
11267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11268 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11270 grep -v '^ *+' conftest.er1
>conftest.err
11272 cat conftest.err
>&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); } >/dev
/null
; then
11275 if test -s conftest.err
; then
11276 ac_cpp_err
=$ac_c_preproc_warn_flag
11277 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11284 if test -z "$ac_cpp_err"; then
11285 ac_header_preproc
=yes
11287 echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.
$ac_ext >&5
11290 ac_header_preproc
=no
11292 rm -f conftest.err conftest.
$ac_ext
11293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11294 echo "${ECHO_T}$ac_header_preproc" >&6
11296 # So? What about this header?
11297 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11299 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11300 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11302 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11303 ac_header_preproc
=yes
11306 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11307 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11308 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11309 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11310 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11311 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11312 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11313 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11315 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11316 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11317 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11320 ## ------------------------------------------ ##
11321 ## Report this to the AC_PACKAGE_NAME lists. ##
11322 ## ------------------------------------------ ##
11325 sed "s/^/$as_me: WARNING: /" >&2
11328 echo "$as_me:$LINENO: checking for $ac_header" >&5
11329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11331 echo $ECHO_N "(cached) $ECHO_C" >&6
11333 eval "$as_ac_Header=\$ac_header_preproc"
11335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11340 cat >>confdefs.h
<<_ACEOF
11341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11349 for ac_header
in sys
/syscall.h
11351 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11353 echo "$as_me:$LINENO: checking for $ac_header" >&5
11354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11356 echo $ECHO_N "(cached) $ECHO_C" >&6
11358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11361 # Is the header compilable?
11362 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11363 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11364 cat >conftest.
$ac_ext <<_ACEOF
11367 cat confdefs.h
>>conftest.
$ac_ext
11368 cat >>conftest.
$ac_ext <<_ACEOF
11369 /* end confdefs.h. */
11370 $ac_includes_default
11371 #include <$ac_header>
11373 rm -f conftest.
$ac_objext
11374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11375 (eval $ac_compile) 2>conftest.er1
11377 grep -v '^ *+' conftest.er1
>conftest.err
11379 cat conftest.err
>&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); } &&
11382 { ac_try
='test -z "$ac_c_werror_flag"
11383 || test ! -s conftest.err'
11384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11385 (eval $ac_try) 2>&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); }; } &&
11389 { ac_try
='test -s conftest.$ac_objext'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; }; then
11395 ac_header_compiler
=yes
11397 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.
$ac_ext >&5
11400 ac_header_compiler
=no
11402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11403 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11404 echo "${ECHO_T}$ac_header_compiler" >&6
11406 # Is the header present?
11407 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11408 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11409 cat >conftest.
$ac_ext <<_ACEOF
11412 cat confdefs.h
>>conftest.
$ac_ext
11413 cat >>conftest.
$ac_ext <<_ACEOF
11414 /* end confdefs.h. */
11415 #include <$ac_header>
11417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11418 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11420 grep -v '^ *+' conftest.er1
>conftest.err
11422 cat conftest.err
>&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); } >/dev
/null
; then
11425 if test -s conftest.err
; then
11426 ac_cpp_err
=$ac_c_preproc_warn_flag
11427 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11434 if test -z "$ac_cpp_err"; then
11435 ac_header_preproc
=yes
11437 echo "$as_me: failed program was:" >&5
11438 sed 's/^/| /' conftest.
$ac_ext >&5
11440 ac_header_preproc
=no
11442 rm -f conftest.err conftest.
$ac_ext
11443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11444 echo "${ECHO_T}$ac_header_preproc" >&6
11446 # So? What about this header?
11447 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11450 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11452 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11453 ac_header_preproc
=yes
11456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11460 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11461 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11462 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11463 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11466 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11467 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11470 ## ------------------------------------------ ##
11471 ## Report this to the AC_PACKAGE_NAME lists. ##
11472 ## ------------------------------------------ ##
11475 sed "s/^/$as_me: WARNING: /" >&2
11478 echo "$as_me:$LINENO: checking for $ac_header" >&5
11479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11481 echo $ECHO_N "(cached) $ECHO_C" >&6
11483 eval "$as_ac_Header=\$ac_header_preproc"
11485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11490 cat >>confdefs.h
<<_ACEOF
11491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11499 for ac_header
in sys
/types.h
11501 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11503 echo "$as_me:$LINENO: checking for $ac_header" >&5
11504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11506 echo $ECHO_N "(cached) $ECHO_C" >&6
11508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11511 # Is the header compilable?
11512 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11513 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11514 cat >conftest.
$ac_ext <<_ACEOF
11517 cat confdefs.h
>>conftest.
$ac_ext
11518 cat >>conftest.
$ac_ext <<_ACEOF
11519 /* end confdefs.h. */
11520 $ac_includes_default
11521 #include <$ac_header>
11523 rm -f conftest.
$ac_objext
11524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11525 (eval $ac_compile) 2>conftest.er1
11527 grep -v '^ *+' conftest.er1
>conftest.err
11529 cat conftest.err
>&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); } &&
11532 { ac_try
='test -z "$ac_c_werror_flag"
11533 || test ! -s conftest.err'
11534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11535 (eval $ac_try) 2>&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); }; } &&
11539 { ac_try
='test -s conftest.$ac_objext'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; }; then
11545 ac_header_compiler
=yes
11547 echo "$as_me: failed program was:" >&5
11548 sed 's/^/| /' conftest.
$ac_ext >&5
11550 ac_header_compiler
=no
11552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11553 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11554 echo "${ECHO_T}$ac_header_compiler" >&6
11556 # Is the header present?
11557 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11559 cat >conftest.
$ac_ext <<_ACEOF
11562 cat confdefs.h
>>conftest.
$ac_ext
11563 cat >>conftest.
$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11565 #include <$ac_header>
11567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11568 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11570 grep -v '^ *+' conftest.er1
>conftest.err
11572 cat conftest.err
>&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); } >/dev
/null
; then
11575 if test -s conftest.err
; then
11576 ac_cpp_err
=$ac_c_preproc_warn_flag
11577 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11584 if test -z "$ac_cpp_err"; then
11585 ac_header_preproc
=yes
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.
$ac_ext >&5
11590 ac_header_preproc
=no
11592 rm -f conftest.err conftest.
$ac_ext
11593 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11594 echo "${ECHO_T}$ac_header_preproc" >&6
11596 # So? What about this header?
11597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11599 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11602 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11603 ac_header_preproc
=yes
11606 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11608 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11609 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11610 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11611 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11612 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11613 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11616 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11617 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11620 ## ------------------------------------------ ##
11621 ## Report this to the AC_PACKAGE_NAME lists. ##
11622 ## ------------------------------------------ ##
11625 sed "s/^/$as_me: WARNING: /" >&2
11628 echo "$as_me:$LINENO: checking for $ac_header" >&5
11629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11631 echo $ECHO_N "(cached) $ECHO_C" >&6
11633 eval "$as_ac_Header=\$ac_header_preproc"
11635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11640 cat >>confdefs.h
<<_ACEOF
11641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11649 for ac_header
in sys
/user.h
11651 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11652 echo "$as_me:$LINENO: checking for $ac_header" >&5
11653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11655 echo $ECHO_N "(cached) $ECHO_C" >&6
11657 cat >conftest.
$ac_ext <<_ACEOF
11660 cat confdefs.h
>>conftest.
$ac_ext
11661 cat >>conftest.
$ac_ext <<_ACEOF
11662 /* end confdefs.h. */
11663 #if HAVE_SYS_PARAM_H
11664 # include <sys/param.h>
11668 #include <$ac_header>
11670 rm -f conftest.
$ac_objext
11671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11672 (eval $ac_compile) 2>conftest.er1
11674 grep -v '^ *+' conftest.er1
>conftest.err
11676 cat conftest.err
>&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); } &&
11679 { ac_try
='test -z "$ac_c_werror_flag"
11680 || test ! -s conftest.err'
11681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11682 (eval $ac_try) 2>&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); }; } &&
11686 { ac_try
='test -s conftest.$ac_objext'
11687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11688 (eval $ac_try) 2>&5
11690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); }; }; then
11692 eval "$as_ac_Header=yes"
11694 echo "$as_me: failed program was:" >&5
11695 sed 's/^/| /' conftest.
$ac_ext >&5
11697 eval "$as_ac_Header=no"
11699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11704 cat >>confdefs.h
<<_ACEOF
11705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11714 for ac_header
in sys
/wait.h
wait.h
11716 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11718 echo "$as_me:$LINENO: checking for $ac_header" >&5
11719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11721 echo $ECHO_N "(cached) $ECHO_C" >&6
11723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11726 # Is the header compilable?
11727 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11729 cat >conftest.
$ac_ext <<_ACEOF
11732 cat confdefs.h
>>conftest.
$ac_ext
11733 cat >>conftest.
$ac_ext <<_ACEOF
11734 /* end confdefs.h. */
11735 $ac_includes_default
11736 #include <$ac_header>
11738 rm -f conftest.
$ac_objext
11739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11740 (eval $ac_compile) 2>conftest.er1
11742 grep -v '^ *+' conftest.er1
>conftest.err
11744 cat conftest.err
>&5
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); } &&
11747 { ac_try
='test -z "$ac_c_werror_flag"
11748 || test ! -s conftest.err'
11749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750 (eval $ac_try) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; } &&
11754 { ac_try
='test -s conftest.$ac_objext'
11755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11756 (eval $ac_try) 2>&5
11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 (exit $ac_status); }; }; then
11760 ac_header_compiler
=yes
11762 echo "$as_me: failed program was:" >&5
11763 sed 's/^/| /' conftest.
$ac_ext >&5
11765 ac_header_compiler
=no
11767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11769 echo "${ECHO_T}$ac_header_compiler" >&6
11771 # Is the header present?
11772 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11773 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11774 cat >conftest.
$ac_ext <<_ACEOF
11777 cat confdefs.h
>>conftest.
$ac_ext
11778 cat >>conftest.
$ac_ext <<_ACEOF
11779 /* end confdefs.h. */
11780 #include <$ac_header>
11782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11783 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11785 grep -v '^ *+' conftest.er1
>conftest.err
11787 cat conftest.err
>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); } >/dev
/null
; then
11790 if test -s conftest.err
; then
11791 ac_cpp_err
=$ac_c_preproc_warn_flag
11792 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11799 if test -z "$ac_cpp_err"; then
11800 ac_header_preproc
=yes
11802 echo "$as_me: failed program was:" >&5
11803 sed 's/^/| /' conftest.
$ac_ext >&5
11805 ac_header_preproc
=no
11807 rm -f conftest.err conftest.
$ac_ext
11808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11809 echo "${ECHO_T}$ac_header_preproc" >&6
11811 # So? What about this header?
11812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11814 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11815 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11817 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11818 ac_header_preproc
=yes
11821 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11823 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11825 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11826 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11827 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11828 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11830 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11831 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11832 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11835 ## ------------------------------------------ ##
11836 ## Report this to the AC_PACKAGE_NAME lists. ##
11837 ## ------------------------------------------ ##
11840 sed "s/^/$as_me: WARNING: /" >&2
11843 echo "$as_me:$LINENO: checking for $ac_header" >&5
11844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11846 echo $ECHO_N "(cached) $ECHO_C" >&6
11848 eval "$as_ac_Header=\$ac_header_preproc"
11850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11855 cat >>confdefs.h
<<_ACEOF
11856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11866 for ac_header
in termios.h termio.h sgtty.h
11868 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11870 echo "$as_me:$LINENO: checking for $ac_header" >&5
11871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11873 echo $ECHO_N "(cached) $ECHO_C" >&6
11875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11878 # Is the header compilable?
11879 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11881 cat >conftest.
$ac_ext <<_ACEOF
11884 cat confdefs.h
>>conftest.
$ac_ext
11885 cat >>conftest.
$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11887 $ac_includes_default
11888 #include <$ac_header>
11890 rm -f conftest.
$ac_objext
11891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11892 (eval $ac_compile) 2>conftest.er1
11894 grep -v '^ *+' conftest.er1
>conftest.err
11896 cat conftest.err
>&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); } &&
11899 { ac_try
='test -z "$ac_c_werror_flag"
11900 || test ! -s conftest.err'
11901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11902 (eval $ac_try) 2>&5
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; } &&
11906 { ac_try
='test -s conftest.$ac_objext'
11907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11908 (eval $ac_try) 2>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); }; }; then
11912 ac_header_compiler
=yes
11914 echo "$as_me: failed program was:" >&5
11915 sed 's/^/| /' conftest.
$ac_ext >&5
11917 ac_header_compiler
=no
11919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11921 echo "${ECHO_T}$ac_header_compiler" >&6
11923 # Is the header present?
11924 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11925 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11926 cat >conftest.
$ac_ext <<_ACEOF
11929 cat confdefs.h
>>conftest.
$ac_ext
11930 cat >>conftest.
$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11932 #include <$ac_header>
11934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11937 grep -v '^ *+' conftest.er1
>conftest.err
11939 cat conftest.err
>&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); } >/dev
/null
; then
11942 if test -s conftest.err
; then
11943 ac_cpp_err
=$ac_c_preproc_warn_flag
11944 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11951 if test -z "$ac_cpp_err"; then
11952 ac_header_preproc
=yes
11954 echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.
$ac_ext >&5
11957 ac_header_preproc
=no
11959 rm -f conftest.err conftest.
$ac_ext
11960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11961 echo "${ECHO_T}$ac_header_preproc" >&6
11963 # So? What about this header?
11964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11966 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11967 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11969 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11970 ac_header_preproc
=yes
11973 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11974 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11975 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11976 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11977 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11978 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11979 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11980 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11982 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11983 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11984 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11987 ## ------------------------------------------ ##
11988 ## Report this to the AC_PACKAGE_NAME lists. ##
11989 ## ------------------------------------------ ##
11992 sed "s/^/$as_me: WARNING: /" >&2
11995 echo "$as_me:$LINENO: checking for $ac_header" >&5
11996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11998 echo $ECHO_N "(cached) $ECHO_C" >&6
12000 eval "$as_ac_Header=\$ac_header_preproc"
12002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12007 cat >>confdefs.h
<<_ACEOF
12008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12016 for ac_header
in unistd.h
12018 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12020 echo "$as_me:$LINENO: checking for $ac_header" >&5
12021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12028 # Is the header compilable?
12029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12030 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
12038 #include <$ac_header>
12040 rm -f conftest.
$ac_objext
12041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12042 (eval $ac_compile) 2>conftest.er1
12044 grep -v '^ *+' conftest.er1
>conftest.err
12046 cat conftest.err
>&5
12047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048 (exit $ac_status); } &&
12049 { ac_try
='test -z "$ac_c_werror_flag"
12050 || test ! -s conftest.err'
12051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 (eval $ac_try) 2>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; } &&
12056 { ac_try
='test -s conftest.$ac_objext'
12057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12058 (eval $ac_try) 2>&5
12060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12061 (exit $ac_status); }; }; then
12062 ac_header_compiler
=yes
12064 echo "$as_me: failed program was:" >&5
12065 sed 's/^/| /' conftest.
$ac_ext >&5
12067 ac_header_compiler
=no
12069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12071 echo "${ECHO_T}$ac_header_compiler" >&6
12073 # Is the header present?
12074 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12075 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12076 cat >conftest.
$ac_ext <<_ACEOF
12079 cat confdefs.h
>>conftest.
$ac_ext
12080 cat >>conftest.
$ac_ext <<_ACEOF
12081 /* end confdefs.h. */
12082 #include <$ac_header>
12084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12085 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12087 grep -v '^ *+' conftest.er1
>conftest.err
12089 cat conftest.err
>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); } >/dev
/null
; then
12092 if test -s conftest.err
; then
12093 ac_cpp_err
=$ac_c_preproc_warn_flag
12094 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12101 if test -z "$ac_cpp_err"; then
12102 ac_header_preproc
=yes
12104 echo "$as_me: failed program was:" >&5
12105 sed 's/^/| /' conftest.
$ac_ext >&5
12107 ac_header_preproc
=no
12109 rm -f conftest.err conftest.
$ac_ext
12110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12111 echo "${ECHO_T}$ac_header_preproc" >&6
12113 # So? What about this header?
12114 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12116 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12117 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12119 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12120 ac_header_preproc
=yes
12123 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12124 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12125 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12126 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12127 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12128 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12129 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12130 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12132 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12133 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12134 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12137 ## ------------------------------------------ ##
12138 ## Report this to the AC_PACKAGE_NAME lists. ##
12139 ## ------------------------------------------ ##
12142 sed "s/^/$as_me: WARNING: /" >&2
12145 echo "$as_me:$LINENO: checking for $ac_header" >&5
12146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12150 eval "$as_ac_Header=\$ac_header_preproc"
12152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12157 cat >>confdefs.h
<<_ACEOF
12158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12166 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
12167 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
12168 # think that we don't have <curses.h> if we're using GCC.
12171 if test "$GCC" = yes; then
12173 cat >>confdefs.h
<<\_ACEOF
12174 #define _MSE_INT_H 1
12183 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
12185 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12187 echo "$as_me:$LINENO: checking for $ac_header" >&5
12188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12195 # Is the header compilable?
12196 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12197 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12198 cat >conftest.
$ac_ext <<_ACEOF
12201 cat confdefs.h
>>conftest.
$ac_ext
12202 cat >>conftest.
$ac_ext <<_ACEOF
12203 /* end confdefs.h. */
12204 $ac_includes_default
12205 #include <$ac_header>
12207 rm -f conftest.
$ac_objext
12208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12209 (eval $ac_compile) 2>conftest.er1
12211 grep -v '^ *+' conftest.er1
>conftest.err
12213 cat conftest.err
>&5
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); } &&
12216 { ac_try
='test -z "$ac_c_werror_flag"
12217 || test ! -s conftest.err'
12218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12219 (eval $ac_try) 2>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); }; } &&
12223 { ac_try
='test -s conftest.$ac_objext'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; }; then
12229 ac_header_compiler
=yes
12231 echo "$as_me: failed program was:" >&5
12232 sed 's/^/| /' conftest.
$ac_ext >&5
12234 ac_header_compiler
=no
12236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12237 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12238 echo "${ECHO_T}$ac_header_compiler" >&6
12240 # Is the header present?
12241 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12242 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12243 cat >conftest.
$ac_ext <<_ACEOF
12246 cat confdefs.h
>>conftest.
$ac_ext
12247 cat >>conftest.
$ac_ext <<_ACEOF
12248 /* end confdefs.h. */
12249 #include <$ac_header>
12251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12252 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12254 grep -v '^ *+' conftest.er1
>conftest.err
12256 cat conftest.err
>&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); } >/dev
/null
; then
12259 if test -s conftest.err
; then
12260 ac_cpp_err
=$ac_c_preproc_warn_flag
12261 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12268 if test -z "$ac_cpp_err"; then
12269 ac_header_preproc
=yes
12271 echo "$as_me: failed program was:" >&5
12272 sed 's/^/| /' conftest.
$ac_ext >&5
12274 ac_header_preproc
=no
12276 rm -f conftest.err conftest.
$ac_ext
12277 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12278 echo "${ECHO_T}$ac_header_preproc" >&6
12280 # So? What about this header?
12281 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12283 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12284 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12286 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12287 ac_header_preproc
=yes
12290 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12291 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12293 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12294 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12295 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12296 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12297 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12299 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12300 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12301 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12304 ## ------------------------------------------ ##
12305 ## Report this to the AC_PACKAGE_NAME lists. ##
12306 ## ------------------------------------------ ##
12309 sed "s/^/$as_me: WARNING: /" >&2
12312 echo "$as_me:$LINENO: checking for $ac_header" >&5
12313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 eval "$as_ac_Header=\$ac_header_preproc"
12319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12323 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12324 cat >>confdefs.h
<<_ACEOF
12325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12333 for ac_header
in ncurses
/term.h
12335 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12337 echo "$as_me:$LINENO: checking for $ac_header" >&5
12338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12345 # Is the header compilable?
12346 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12347 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12348 cat >conftest.
$ac_ext <<_ACEOF
12351 cat confdefs.h
>>conftest.
$ac_ext
12352 cat >>conftest.
$ac_ext <<_ACEOF
12353 /* end confdefs.h. */
12354 $ac_includes_default
12355 #include <$ac_header>
12357 rm -f conftest.
$ac_objext
12358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12359 (eval $ac_compile) 2>conftest.er1
12361 grep -v '^ *+' conftest.er1
>conftest.err
12363 cat conftest.err
>&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } &&
12366 { ac_try
='test -z "$ac_c_werror_flag"
12367 || test ! -s conftest.err'
12368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12369 (eval $ac_try) 2>&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); }; } &&
12373 { ac_try
='test -s conftest.$ac_objext'
12374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12375 (eval $ac_try) 2>&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); }; }; then
12379 ac_header_compiler
=yes
12381 echo "$as_me: failed program was:" >&5
12382 sed 's/^/| /' conftest.
$ac_ext >&5
12384 ac_header_compiler
=no
12386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12387 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12388 echo "${ECHO_T}$ac_header_compiler" >&6
12390 # Is the header present?
12391 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12392 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12393 cat >conftest.
$ac_ext <<_ACEOF
12396 cat confdefs.h
>>conftest.
$ac_ext
12397 cat >>conftest.
$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12399 #include <$ac_header>
12401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12402 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12404 grep -v '^ *+' conftest.er1
>conftest.err
12406 cat conftest.err
>&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); } >/dev
/null
; then
12409 if test -s conftest.err
; then
12410 ac_cpp_err
=$ac_c_preproc_warn_flag
12411 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12418 if test -z "$ac_cpp_err"; then
12419 ac_header_preproc
=yes
12421 echo "$as_me: failed program was:" >&5
12422 sed 's/^/| /' conftest.
$ac_ext >&5
12424 ac_header_preproc
=no
12426 rm -f conftest.err conftest.
$ac_ext
12427 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12428 echo "${ECHO_T}$ac_header_preproc" >&6
12430 # So? What about this header?
12431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12433 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12434 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12436 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12437 ac_header_preproc
=yes
12440 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12441 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12442 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12443 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12444 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12445 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12446 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12447 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12450 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12451 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12454 ## ------------------------------------------ ##
12455 ## Report this to the AC_PACKAGE_NAME lists. ##
12456 ## ------------------------------------------ ##
12459 sed "s/^/$as_me: WARNING: /" >&2
12462 echo "$as_me:$LINENO: checking for $ac_header" >&5
12463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12465 echo $ECHO_N "(cached) $ECHO_C" >&6
12467 eval "$as_ac_Header=\$ac_header_preproc"
12469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12474 cat >>confdefs.h
<<_ACEOF
12475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12483 for ac_header
in term.h
12485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12486 echo "$as_me:$LINENO: checking for $ac_header" >&5
12487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12489 echo $ECHO_N "(cached) $ECHO_C" >&6
12491 cat >conftest.
$ac_ext <<_ACEOF
12494 cat confdefs.h
>>conftest.
$ac_ext
12495 cat >>conftest.
$ac_ext <<_ACEOF
12496 /* end confdefs.h. */
12498 # include <curses.h>
12502 #include <$ac_header>
12504 rm -f conftest.
$ac_objext
12505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12506 (eval $ac_compile) 2>conftest.er1
12508 grep -v '^ *+' conftest.er1
>conftest.err
12510 cat conftest.err
>&5
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); } &&
12513 { ac_try
='test -z "$ac_c_werror_flag"
12514 || test ! -s conftest.err'
12515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12516 (eval $ac_try) 2>&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); }; } &&
12520 { ac_try
='test -s conftest.$ac_objext'
12521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12522 (eval $ac_try) 2>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); }; }; then
12526 eval "$as_ac_Header=yes"
12528 echo "$as_me: failed program was:" >&5
12529 sed 's/^/| /' conftest.
$ac_ext >&5
12531 eval "$as_ac_Header=no"
12533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12538 cat >>confdefs.h
<<_ACEOF
12539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12547 # Check for HP/UX 64-bit shared library support
12549 for ac_header
in elf_hp.h
12551 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12553 echo "$as_me:$LINENO: checking for $ac_header" >&5
12554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12556 echo $ECHO_N "(cached) $ECHO_C" >&6
12558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12559 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12561 # Is the header compilable?
12562 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12563 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12564 cat >conftest.
$ac_ext <<_ACEOF
12567 cat confdefs.h
>>conftest.
$ac_ext
12568 cat >>conftest.
$ac_ext <<_ACEOF
12569 /* end confdefs.h. */
12570 $ac_includes_default
12571 #include <$ac_header>
12573 rm -f conftest.
$ac_objext
12574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12575 (eval $ac_compile) 2>conftest.er1
12577 grep -v '^ *+' conftest.er1
>conftest.err
12579 cat conftest.err
>&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); } &&
12582 { ac_try
='test -z "$ac_c_werror_flag"
12583 || test ! -s conftest.err'
12584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12585 (eval $ac_try) 2>&5
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); }; } &&
12589 { ac_try
='test -s conftest.$ac_objext'
12590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12591 (eval $ac_try) 2>&5
12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 (exit $ac_status); }; }; then
12595 ac_header_compiler
=yes
12597 echo "$as_me: failed program was:" >&5
12598 sed 's/^/| /' conftest.
$ac_ext >&5
12600 ac_header_compiler
=no
12602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12603 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12604 echo "${ECHO_T}$ac_header_compiler" >&6
12606 # Is the header present?
12607 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12608 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12609 cat >conftest.
$ac_ext <<_ACEOF
12612 cat confdefs.h
>>conftest.
$ac_ext
12613 cat >>conftest.
$ac_ext <<_ACEOF
12614 /* end confdefs.h. */
12615 #include <$ac_header>
12617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12618 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12620 grep -v '^ *+' conftest.er1
>conftest.err
12622 cat conftest.err
>&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); } >/dev
/null
; then
12625 if test -s conftest.err
; then
12626 ac_cpp_err
=$ac_c_preproc_warn_flag
12627 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12634 if test -z "$ac_cpp_err"; then
12635 ac_header_preproc
=yes
12637 echo "$as_me: failed program was:" >&5
12638 sed 's/^/| /' conftest.
$ac_ext >&5
12640 ac_header_preproc
=no
12642 rm -f conftest.err conftest.
$ac_ext
12643 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12644 echo "${ECHO_T}$ac_header_preproc" >&6
12646 # So? What about this header?
12647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12649 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12650 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12652 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12653 ac_header_preproc
=yes
12656 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12657 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12658 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12659 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12660 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12661 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12662 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12663 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12665 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12666 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12667 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12670 ## ------------------------------------------ ##
12671 ## Report this to the AC_PACKAGE_NAME lists. ##
12672 ## ------------------------------------------ ##
12675 sed "s/^/$as_me: WARNING: /" >&2
12678 echo "$as_me:$LINENO: checking for $ac_header" >&5
12679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12681 echo $ECHO_N "(cached) $ECHO_C" >&6
12683 eval "$as_ac_Header=\$ac_header_preproc"
12685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12690 cat >>confdefs.h
<<_ACEOF
12691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12699 # FIXME: kettenis/20030102: In most cases we include these
12700 # unconditionally, so what's the point in checking these?
12703 for ac_header
in ctype.h
time.h
12705 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12707 echo "$as_me:$LINENO: checking for $ac_header" >&5
12708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12715 # Is the header compilable?
12716 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12718 cat >conftest.
$ac_ext <<_ACEOF
12721 cat confdefs.h
>>conftest.
$ac_ext
12722 cat >>conftest.
$ac_ext <<_ACEOF
12723 /* end confdefs.h. */
12724 $ac_includes_default
12725 #include <$ac_header>
12727 rm -f conftest.
$ac_objext
12728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12729 (eval $ac_compile) 2>conftest.er1
12731 grep -v '^ *+' conftest.er1
>conftest.err
12733 cat conftest.err
>&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } &&
12736 { ac_try
='test -z "$ac_c_werror_flag"
12737 || test ! -s conftest.err'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; } &&
12743 { ac_try
='test -s conftest.$ac_objext'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; }; then
12749 ac_header_compiler
=yes
12751 echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.
$ac_ext >&5
12754 ac_header_compiler
=no
12756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12758 echo "${ECHO_T}$ac_header_compiler" >&6
12760 # Is the header present?
12761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12763 cat >conftest.
$ac_ext <<_ACEOF
12766 cat confdefs.h
>>conftest.
$ac_ext
12767 cat >>conftest.
$ac_ext <<_ACEOF
12768 /* end confdefs.h. */
12769 #include <$ac_header>
12771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12772 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12774 grep -v '^ *+' conftest.er1
>conftest.err
12776 cat conftest.err
>&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } >/dev
/null
; then
12779 if test -s conftest.err
; then
12780 ac_cpp_err
=$ac_c_preproc_warn_flag
12781 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12788 if test -z "$ac_cpp_err"; then
12789 ac_header_preproc
=yes
12791 echo "$as_me: failed program was:" >&5
12792 sed 's/^/| /' conftest.
$ac_ext >&5
12794 ac_header_preproc
=no
12796 rm -f conftest.err conftest.
$ac_ext
12797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12798 echo "${ECHO_T}$ac_header_preproc" >&6
12800 # So? What about this header?
12801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12807 ac_header_preproc
=yes
12810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12824 ## ------------------------------------------ ##
12825 ## Report this to the AC_PACKAGE_NAME lists. ##
12826 ## ------------------------------------------ ##
12829 sed "s/^/$as_me: WARNING: /" >&2
12832 echo "$as_me:$LINENO: checking for $ac_header" >&5
12833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12835 echo $ECHO_N "(cached) $ECHO_C" >&6
12837 eval "$as_ac_Header=\$ac_header_preproc"
12839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12844 cat >>confdefs.h
<<_ACEOF
12845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12853 # Create a header we can use portably to get the standard integer types.
12856 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12858 acx_cv_header_stdint
=stddef.h
12859 acx_cv_header_stdint_kind
="(already complete)"
12860 for i
in stdint.h
$inttype_headers; do
12861 unset ac_cv_type_uintptr_t
12862 unset ac_cv_type_uintmax_t
12863 unset ac_cv_type_int_least32_t
12864 unset ac_cv_type_int_fast32_t
12865 unset ac_cv_type_uint64_t
12866 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
12867 echo "$as_me:$LINENO: checking for uintmax_t" >&5
12868 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
12869 if test "${ac_cv_type_uintmax_t+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 cat >conftest.
$ac_ext <<_ACEOF
12875 cat confdefs.h
>>conftest.
$ac_ext
12876 cat >>conftest.
$ac_ext <<_ACEOF
12877 /* end confdefs.h. */
12878 #include <sys/types.h>
12884 if ((uintmax_t *) 0)
12886 if (sizeof (uintmax_t))
12892 rm -f conftest.
$ac_objext
12893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12894 (eval $ac_compile) 2>conftest.er1
12896 grep -v '^ *+' conftest.er1
>conftest.err
12898 cat conftest.err
>&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); } &&
12901 { ac_try
='test -z "$ac_c_werror_flag"
12902 || test ! -s conftest.err'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; } &&
12908 { ac_try
='test -s conftest.$ac_objext'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; }; then
12914 ac_cv_type_uintmax_t
=yes
12916 echo "$as_me: failed program was:" >&5
12917 sed 's/^/| /' conftest.
$ac_ext >&5
12919 ac_cv_type_uintmax_t
=no
12921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12923 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
12924 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
12925 if test $ac_cv_type_uintmax_t = yes; then
12926 acx_cv_header_stdint
=$i
12931 echo "$as_me:$LINENO: checking for uintptr_t" >&5
12932 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
12933 if test "${ac_cv_type_uintptr_t+set}" = set; then
12934 echo $ECHO_N "(cached) $ECHO_C" >&6
12936 cat >conftest.
$ac_ext <<_ACEOF
12939 cat confdefs.h
>>conftest.
$ac_ext
12940 cat >>conftest.
$ac_ext <<_ACEOF
12941 /* end confdefs.h. */
12942 #include <sys/types.h>
12948 if ((uintptr_t *) 0)
12950 if (sizeof (uintptr_t))
12956 rm -f conftest.
$ac_objext
12957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12958 (eval $ac_compile) 2>conftest.er1
12960 grep -v '^ *+' conftest.er1
>conftest.err
12962 cat conftest.err
>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); } &&
12965 { ac_try
='test -z "$ac_c_werror_flag"
12966 || test ! -s conftest.err'
12967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12968 (eval $ac_try) 2>&5
12970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 (exit $ac_status); }; } &&
12972 { ac_try
='test -s conftest.$ac_objext'
12973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12974 (eval $ac_try) 2>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); }; }; then
12978 ac_cv_type_uintptr_t
=yes
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.
$ac_ext >&5
12983 ac_cv_type_uintptr_t
=no
12985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12987 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
12988 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
12989 if test $ac_cv_type_uintptr_t = yes; then
12992 acx_cv_header_stdint_kind
="(mostly complete)"
12995 echo "$as_me:$LINENO: checking for int_least32_t" >&5
12996 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
12997 if test "${ac_cv_type_int_least32_t+set}" = set; then
12998 echo $ECHO_N "(cached) $ECHO_C" >&6
13000 cat >conftest.
$ac_ext <<_ACEOF
13003 cat confdefs.h
>>conftest.
$ac_ext
13004 cat >>conftest.
$ac_ext <<_ACEOF
13005 /* end confdefs.h. */
13006 #include <sys/types.h>
13012 if ((int_least32_t *) 0)
13014 if (sizeof (int_least32_t))
13020 rm -f conftest.
$ac_objext
13021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13022 (eval $ac_compile) 2>conftest.er1
13024 grep -v '^ *+' conftest.er1
>conftest.err
13026 cat conftest.err
>&5
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); } &&
13029 { ac_try
='test -z "$ac_c_werror_flag"
13030 || test ! -s conftest.err'
13031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13032 (eval $ac_try) 2>&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); }; } &&
13036 { ac_try
='test -s conftest.$ac_objext'
13037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13038 (eval $ac_try) 2>&5
13040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13041 (exit $ac_status); }; }; then
13042 ac_cv_type_int_least32_t
=yes
13044 echo "$as_me: failed program was:" >&5
13045 sed 's/^/| /' conftest.
$ac_ext >&5
13047 ac_cv_type_int_least32_t
=no
13049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13051 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
13052 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
13053 if test $ac_cv_type_int_least32_t = yes; then
13056 acx_cv_header_stdint_kind
="(mostly complete)"
13059 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
13060 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
13061 if test "${ac_cv_type_int_fast32_t+set}" = set; then
13062 echo $ECHO_N "(cached) $ECHO_C" >&6
13064 cat >conftest.
$ac_ext <<_ACEOF
13067 cat confdefs.h
>>conftest.
$ac_ext
13068 cat >>conftest.
$ac_ext <<_ACEOF
13069 /* end confdefs.h. */
13070 #include <sys/types.h>
13076 if ((int_fast32_t *) 0)
13078 if (sizeof (int_fast32_t))
13084 rm -f conftest.
$ac_objext
13085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13086 (eval $ac_compile) 2>conftest.er1
13088 grep -v '^ *+' conftest.er1
>conftest.err
13090 cat conftest.err
>&5
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); } &&
13093 { ac_try
='test -z "$ac_c_werror_flag"
13094 || test ! -s conftest.err'
13095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13096 (eval $ac_try) 2>&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); }; } &&
13100 { ac_try
='test -s conftest.$ac_objext'
13101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13102 (eval $ac_try) 2>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); }; }; then
13106 ac_cv_type_int_fast32_t
=yes
13108 echo "$as_me: failed program was:" >&5
13109 sed 's/^/| /' conftest.
$ac_ext >&5
13111 ac_cv_type_int_fast32_t
=no
13113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13115 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
13116 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
13117 if test $ac_cv_type_int_fast32_t = yes; then
13120 acx_cv_header_stdint_kind
="(mostly complete)"
13123 echo "$as_me:$LINENO: checking for uint64_t" >&5
13124 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13125 if test "${ac_cv_type_uint64_t+set}" = set; then
13126 echo $ECHO_N "(cached) $ECHO_C" >&6
13128 cat >conftest.
$ac_ext <<_ACEOF
13131 cat confdefs.h
>>conftest.
$ac_ext
13132 cat >>conftest.
$ac_ext <<_ACEOF
13133 /* end confdefs.h. */
13134 #include <sys/types.h>
13140 if ((uint64_t *) 0)
13142 if (sizeof (uint64_t))
13148 rm -f conftest.
$ac_objext
13149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13150 (eval $ac_compile) 2>conftest.er1
13152 grep -v '^ *+' conftest.er1
>conftest.err
13154 cat conftest.err
>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } &&
13157 { ac_try
='test -z "$ac_c_werror_flag"
13158 || test ! -s conftest.err'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; } &&
13164 { ac_try
='test -s conftest.$ac_objext'
13165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13166 (eval $ac_try) 2>&5
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 (exit $ac_status); }; }; then
13170 ac_cv_type_uint64_t
=yes
13172 echo "$as_me: failed program was:" >&5
13173 sed 's/^/| /' conftest.
$ac_ext >&5
13175 ac_cv_type_uint64_t
=no
13177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13179 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13180 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13181 if test $ac_cv_type_uint64_t = yes; then
13184 acx_cv_header_stdint_kind
="(lacks uint64_t)"
13189 if test "$acx_cv_header_stdint" = stddef.h
; then
13190 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
13191 for i
in stdint.h
$inttype_headers; do
13192 unset ac_cv_type_uintptr_t
13193 unset ac_cv_type_uint32_t
13194 unset ac_cv_type_uint64_t
13195 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
13196 echo "$as_me:$LINENO: checking for uint32_t" >&5
13197 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
13198 if test "${ac_cv_type_uint32_t+set}" = set; then
13199 echo $ECHO_N "(cached) $ECHO_C" >&6
13201 cat >conftest.
$ac_ext <<_ACEOF
13204 cat confdefs.h
>>conftest.
$ac_ext
13205 cat >>conftest.
$ac_ext <<_ACEOF
13206 /* end confdefs.h. */
13207 #include <sys/types.h>
13213 if ((uint32_t *) 0)
13215 if (sizeof (uint32_t))
13221 rm -f conftest.
$ac_objext
13222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13223 (eval $ac_compile) 2>conftest.er1
13225 grep -v '^ *+' conftest.er1
>conftest.err
13227 cat conftest.err
>&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); } &&
13230 { ac_try
='test -z "$ac_c_werror_flag"
13231 || test ! -s conftest.err'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; } &&
13237 { ac_try
='test -s conftest.$ac_objext'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; }; then
13243 ac_cv_type_uint32_t
=yes
13245 echo "$as_me: failed program was:" >&5
13246 sed 's/^/| /' conftest.
$ac_ext >&5
13248 ac_cv_type_uint32_t
=no
13250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13252 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
13253 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
13254 if test $ac_cv_type_uint32_t = yes; then
13255 acx_cv_header_stdint
=$i
13260 echo "$as_me:$LINENO: checking for uint64_t" >&5
13261 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13262 if test "${ac_cv_type_uint64_t+set}" = set; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 cat >conftest.
$ac_ext <<_ACEOF
13268 cat confdefs.h
>>conftest.
$ac_ext
13269 cat >>conftest.
$ac_ext <<_ACEOF
13270 /* end confdefs.h. */
13271 #include <sys/types.h>
13277 if ((uint64_t *) 0)
13279 if (sizeof (uint64_t))
13285 rm -f conftest.
$ac_objext
13286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13287 (eval $ac_compile) 2>conftest.er1
13289 grep -v '^ *+' conftest.er1
>conftest.err
13291 cat conftest.err
>&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); } &&
13294 { ac_try
='test -z "$ac_c_werror_flag"
13295 || test ! -s conftest.err'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; } &&
13301 { ac_try
='test -s conftest.$ac_objext'
13302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13303 (eval $ac_try) 2>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; }; then
13307 ac_cv_type_uint64_t
=yes
13309 echo "$as_me: failed program was:" >&5
13310 sed 's/^/| /' conftest.
$ac_ext >&5
13312 ac_cv_type_uint64_t
=no
13314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13316 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13317 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13319 echo "$as_me:$LINENO: checking for uintptr_t" >&5
13320 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
13321 if test "${ac_cv_type_uintptr_t+set}" = set; then
13322 echo $ECHO_N "(cached) $ECHO_C" >&6
13324 cat >conftest.
$ac_ext <<_ACEOF
13327 cat confdefs.h
>>conftest.
$ac_ext
13328 cat >>conftest.
$ac_ext <<_ACEOF
13329 /* end confdefs.h. */
13330 #include <sys/types.h>
13336 if ((uintptr_t *) 0)
13338 if (sizeof (uintptr_t))
13344 rm -f conftest.
$ac_objext
13345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13346 (eval $ac_compile) 2>conftest.er1
13348 grep -v '^ *+' conftest.er1
>conftest.err
13350 cat conftest.err
>&5
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 (exit $ac_status); } &&
13353 { ac_try
='test -z "$ac_c_werror_flag"
13354 || test ! -s conftest.err'
13355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13356 (eval $ac_try) 2>&5
13358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13359 (exit $ac_status); }; } &&
13360 { ac_try
='test -s conftest.$ac_objext'
13361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13362 (eval $ac_try) 2>&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); }; }; then
13366 ac_cv_type_uintptr_t
=yes
13368 echo "$as_me: failed program was:" >&5
13369 sed 's/^/| /' conftest.
$ac_ext >&5
13371 ac_cv_type_uintptr_t
=no
13373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13375 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
13376 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
13381 if test "$acx_cv_header_stdint" = stddef.h
; then
13382 acx_cv_header_stdint_kind
="(u_intXX_t style)"
13383 for i
in sys
/types.h
$inttype_headers; do
13384 unset ac_cv_type_u_int32_t
13385 unset ac_cv_type_u_int64_t
13386 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
13387 echo "$as_me:$LINENO: checking for u_int32_t" >&5
13388 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
13389 if test "${ac_cv_type_u_int32_t+set}" = set; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 cat >conftest.
$ac_ext <<_ACEOF
13395 cat confdefs.h
>>conftest.
$ac_ext
13396 cat >>conftest.
$ac_ext <<_ACEOF
13397 /* end confdefs.h. */
13398 #include <sys/types.h>
13404 if ((u_int32_t *) 0)
13406 if (sizeof (u_int32_t))
13412 rm -f conftest.
$ac_objext
13413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13414 (eval $ac_compile) 2>conftest.er1
13416 grep -v '^ *+' conftest.er1
>conftest.err
13418 cat conftest.err
>&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); } &&
13421 { ac_try
='test -z "$ac_c_werror_flag"
13422 || test ! -s conftest.err'
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; } &&
13428 { ac_try
='test -s conftest.$ac_objext'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; }; then
13434 ac_cv_type_u_int32_t
=yes
13436 echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.
$ac_ext >&5
13439 ac_cv_type_u_int32_t
=no
13441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13443 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
13444 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
13445 if test $ac_cv_type_u_int32_t = yes; then
13446 acx_cv_header_stdint
=$i
13451 echo "$as_me:$LINENO: checking for u_int64_t" >&5
13452 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
13453 if test "${ac_cv_type_u_int64_t+set}" = set; then
13454 echo $ECHO_N "(cached) $ECHO_C" >&6
13456 cat >conftest.
$ac_ext <<_ACEOF
13459 cat confdefs.h
>>conftest.
$ac_ext
13460 cat >>conftest.
$ac_ext <<_ACEOF
13461 /* end confdefs.h. */
13462 #include <sys/types.h>
13468 if ((u_int64_t *) 0)
13470 if (sizeof (u_int64_t))
13476 rm -f conftest.
$ac_objext
13477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13478 (eval $ac_compile) 2>conftest.er1
13480 grep -v '^ *+' conftest.er1
>conftest.err
13482 cat conftest.err
>&5
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); } &&
13485 { ac_try
='test -z "$ac_c_werror_flag"
13486 || test ! -s conftest.err'
13487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13488 (eval $ac_try) 2>&5
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); }; } &&
13492 { ac_try
='test -s conftest.$ac_objext'
13493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13494 (eval $ac_try) 2>&5
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); }; }; then
13498 ac_cv_type_u_int64_t
=yes
13500 echo "$as_me: failed program was:" >&5
13501 sed 's/^/| /' conftest.
$ac_ext >&5
13503 ac_cv_type_u_int64_t
=no
13505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13507 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
13508 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
13513 if test "$acx_cv_header_stdint" = stddef.h
; then
13514 acx_cv_header_stdint_kind
="(using manual detection)"
13517 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
13518 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
13519 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
13520 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
13521 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
13523 # ----------------- Summarize what we found so far
13525 echo "$as_me:$LINENO: checking what to include in gdb_stdint.h" >&5
13526 echo $ECHO_N "checking what to include in gdb_stdint.h... $ECHO_C" >&6
13528 case `$as_basename gdb_stdint.h ||
13529 $as_expr X/gdb_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
13530 Xgdb_stdint.h : 'X\(//\)$' \| \
13531 Xgdb_stdint.h : 'X\(/\)$' \| \
13532 . : '\(.\)' 2>/dev/null ||
13533 echo X/gdb_stdint.h |
13534 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13535 /^X\/\(\/\/\)$/{ s//\1/; q; }
13536 /^X\/\(\/\).*/{ s//\1/; q; }
13538 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
13539 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13540 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
13541 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13545 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
13546 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
13548 # ----------------- done included file, check C basic types --------
13550 # Lacking an uintptr_t? Test size of void *
13551 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
13552 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
13553 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13554 if test "${ac_cv_type_void_p+set}" = set; then
13555 echo $ECHO_N "(cached) $ECHO_C" >&6
13557 cat >conftest.
$ac_ext <<_ACEOF
13560 cat confdefs.h
>>conftest.
$ac_ext
13561 cat >>conftest.
$ac_ext <<_ACEOF
13562 /* end confdefs.h. */
13563 $ac_includes_default
13569 if (sizeof (void *))
13575 rm -f conftest.
$ac_objext
13576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13577 (eval $ac_compile) 2>conftest.er1
13579 grep -v '^ *+' conftest.er1
>conftest.err
13581 cat conftest.err
>&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); } &&
13584 { ac_try
='test -z "$ac_c_werror_flag"
13585 || test ! -s conftest.err'
13586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13587 (eval $ac_try) 2>&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); }; } &&
13591 { ac_try
='test -s conftest.$ac_objext'
13592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13593 (eval $ac_try) 2>&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); }; }; then
13597 ac_cv_type_void_p
=yes
13599 echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.
$ac_ext >&5
13602 ac_cv_type_void_p
=no
13604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13606 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13607 echo "${ECHO_T}$ac_cv_type_void_p" >&6
13609 echo "$as_me:$LINENO: checking size of void *" >&5
13610 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13611 if test "${ac_cv_sizeof_void_p+set}" = set; then
13612 echo $ECHO_N "(cached) $ECHO_C" >&6
13614 if test "$ac_cv_type_void_p" = yes; then
13615 # The cast to unsigned long works around a bug in the HP C Compiler
13616 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13617 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13618 # This bug is HP SR number 8606223364.
13619 if test "$cross_compiling" = yes; then
13620 # Depending upon the size, compute the lo and hi bounds.
13621 cat >conftest.
$ac_ext <<_ACEOF
13624 cat confdefs.h
>>conftest.
$ac_ext
13625 cat >>conftest.
$ac_ext <<_ACEOF
13626 /* end confdefs.h. */
13627 $ac_includes_default
13631 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
13638 rm -f conftest.
$ac_objext
13639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13640 (eval $ac_compile) 2>conftest.er1
13642 grep -v '^ *+' conftest.er1
>conftest.err
13644 cat conftest.err
>&5
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 (exit $ac_status); } &&
13647 { ac_try
='test -z "$ac_c_werror_flag"
13648 || test ! -s conftest.err'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; } &&
13654 { ac_try
='test -s conftest.$ac_objext'
13655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13656 (eval $ac_try) 2>&5
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); }; }; then
13662 cat >conftest.
$ac_ext <<_ACEOF
13665 cat confdefs.h
>>conftest.
$ac_ext
13666 cat >>conftest.
$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 $ac_includes_default
13672 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13679 rm -f conftest.
$ac_objext
13680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13681 (eval $ac_compile) 2>conftest.er1
13683 grep -v '^ *+' conftest.er1
>conftest.err
13685 cat conftest.err
>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); } &&
13688 { ac_try
='test -z "$ac_c_werror_flag"
13689 || test ! -s conftest.err'
13690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13691 (eval $ac_try) 2>&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); }; } &&
13695 { ac_try
='test -s conftest.$ac_objext'
13696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13697 (eval $ac_try) 2>&5
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); }; }; then
13701 ac_hi
=$ac_mid; break
13703 echo "$as_me: failed program was:" >&5
13704 sed 's/^/| /' conftest.
$ac_ext >&5
13706 ac_lo
=`expr $ac_mid + 1`
13707 if test $ac_lo -le $ac_mid; then
13711 ac_mid
=`expr 2 '*' $ac_mid + 1`
13713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13716 echo "$as_me: failed program was:" >&5
13717 sed 's/^/| /' conftest.
$ac_ext >&5
13719 cat >conftest.
$ac_ext <<_ACEOF
13722 cat confdefs.h
>>conftest.
$ac_ext
13723 cat >>conftest.
$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13725 $ac_includes_default
13729 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
13736 rm -f conftest.
$ac_objext
13737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13738 (eval $ac_compile) 2>conftest.er1
13740 grep -v '^ *+' conftest.er1
>conftest.err
13742 cat conftest.err
>&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); } &&
13745 { ac_try
='test -z "$ac_c_werror_flag"
13746 || test ! -s conftest.err'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; } &&
13752 { ac_try
='test -s conftest.$ac_objext'
13753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 (eval $ac_try) 2>&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; }; then
13760 cat >conftest.
$ac_ext <<_ACEOF
13763 cat confdefs.h
>>conftest.
$ac_ext
13764 cat >>conftest.
$ac_ext <<_ACEOF
13765 /* end confdefs.h. */
13766 $ac_includes_default
13770 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
13777 rm -f conftest.
$ac_objext
13778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13779 (eval $ac_compile) 2>conftest.er1
13781 grep -v '^ *+' conftest.er1
>conftest.err
13783 cat conftest.err
>&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); } &&
13786 { ac_try
='test -z "$ac_c_werror_flag"
13787 || test ! -s conftest.err'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; } &&
13793 { ac_try
='test -s conftest.$ac_objext'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; }; then
13799 ac_lo
=$ac_mid; break
13801 echo "$as_me: failed program was:" >&5
13802 sed 's/^/| /' conftest.
$ac_ext >&5
13804 ac_hi
=`expr '(' $ac_mid ')' - 1`
13805 if test $ac_mid -le $ac_hi; then
13809 ac_mid
=`expr 2 '*' $ac_mid`
13811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13814 echo "$as_me: failed program was:" >&5
13815 sed 's/^/| /' conftest.
$ac_ext >&5
13819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13822 # Binary search between lo and hi bounds.
13823 while test "x$ac_lo" != "x$ac_hi"; do
13824 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13825 cat >conftest.
$ac_ext <<_ACEOF
13828 cat confdefs.h
>>conftest.
$ac_ext
13829 cat >>conftest.
$ac_ext <<_ACEOF
13830 /* end confdefs.h. */
13831 $ac_includes_default
13835 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13842 rm -f conftest.
$ac_objext
13843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13844 (eval $ac_compile) 2>conftest.er1
13846 grep -v '^ *+' conftest.er1
>conftest.err
13848 cat conftest.err
>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); } &&
13851 { ac_try
='test -z "$ac_c_werror_flag"
13852 || test ! -s conftest.err'
13853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13854 (eval $ac_try) 2>&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); }; } &&
13858 { ac_try
='test -s conftest.$ac_objext'
13859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13860 (eval $ac_try) 2>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; }; then
13866 echo "$as_me: failed program was:" >&5
13867 sed 's/^/| /' conftest.
$ac_ext >&5
13869 ac_lo
=`expr '(' $ac_mid ')' + 1`
13871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13874 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
13875 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13876 See \`config.log' for more details." >&5
13877 echo "$as_me: error: cannot compute sizeof (void *), 77
13878 See \`config.log' for more details." >&2;}
13879 { (exit 1); exit 1; }; } ;;
13882 if test "$cross_compiling" = yes; then
13883 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13884 See \`config.log' for more details." >&5
13885 echo "$as_me: error: cannot run test program while cross compiling
13886 See \`config.log' for more details." >&2;}
13887 { (exit 1); exit 1; }; }
13889 cat >conftest.
$ac_ext <<_ACEOF
13892 cat confdefs.h
>>conftest.
$ac_ext
13893 cat >>conftest.
$ac_ext <<_ACEOF
13894 /* end confdefs.h. */
13895 $ac_includes_default
13896 long longval () { return (long) (sizeof (void *)); }
13897 unsigned long ulongval () { return (long) (sizeof (void *)); }
13899 #include <stdlib.h>
13904 FILE *f = fopen ("conftest.val", "w");
13907 if (((long) (sizeof (void *))) < 0)
13909 long i = longval ();
13910 if (i != ((long) (sizeof (void *))))
13912 fprintf (f, "%ld\n", i);
13916 unsigned long i = ulongval ();
13917 if (i != ((long) (sizeof (void *))))
13919 fprintf (f, "%lu\n", i);
13921 exit (ferror (f) || fclose (f) != 0);
13927 rm -f conftest
$ac_exeext
13928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13929 (eval $ac_link) 2>&5
13931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13934 (eval $ac_try) 2>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; }; then
13938 ac_cv_sizeof_void_p
=`cat conftest.val`
13940 echo "$as_me: program exited with status $ac_status" >&5
13941 echo "$as_me: failed program was:" >&5
13942 sed 's/^/| /' conftest.
$ac_ext >&5
13944 ( exit $ac_status )
13945 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13946 See \`config.log' for more details." >&5
13947 echo "$as_me: error: cannot compute sizeof (void *), 77
13948 See \`config.log' for more details." >&2;}
13949 { (exit 1); exit 1; }; }
13951 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13956 ac_cv_sizeof_void_p
=0
13959 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13960 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13961 cat >>confdefs.h
<<_ACEOF
13962 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13968 # Lacking an uint64_t? Test size of long
13969 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
13970 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
13971 echo $ECHO_N "checking for long... $ECHO_C" >&6
13972 if test "${ac_cv_type_long+set}" = set; then
13973 echo $ECHO_N "(cached) $ECHO_C" >&6
13975 cat >conftest.
$ac_ext <<_ACEOF
13978 cat confdefs.h
>>conftest.
$ac_ext
13979 cat >>conftest.
$ac_ext <<_ACEOF
13980 /* end confdefs.h. */
13981 $ac_includes_default
13993 rm -f conftest.
$ac_objext
13994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13995 (eval $ac_compile) 2>conftest.er1
13997 grep -v '^ *+' conftest.er1
>conftest.err
13999 cat conftest.err
>&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); } &&
14002 { ac_try
='test -z "$ac_c_werror_flag"
14003 || test ! -s conftest.err'
14004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14005 (eval $ac_try) 2>&5
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 (exit $ac_status); }; } &&
14009 { ac_try
='test -s conftest.$ac_objext'
14010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14011 (eval $ac_try) 2>&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); }; }; then
14015 ac_cv_type_long
=yes
14017 echo "$as_me: failed program was:" >&5
14018 sed 's/^/| /' conftest.
$ac_ext >&5
14022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14024 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14025 echo "${ECHO_T}$ac_cv_type_long" >&6
14027 echo "$as_me:$LINENO: checking size of long" >&5
14028 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14029 if test "${ac_cv_sizeof_long+set}" = set; then
14030 echo $ECHO_N "(cached) $ECHO_C" >&6
14032 if test "$ac_cv_type_long" = yes; then
14033 # The cast to unsigned long works around a bug in the HP C Compiler
14034 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14035 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14036 # This bug is HP SR number 8606223364.
14037 if test "$cross_compiling" = yes; then
14038 # Depending upon the size, compute the lo and hi bounds.
14039 cat >conftest.
$ac_ext <<_ACEOF
14042 cat confdefs.h
>>conftest.
$ac_ext
14043 cat >>conftest.
$ac_ext <<_ACEOF
14044 /* end confdefs.h. */
14045 $ac_includes_default
14049 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
14056 rm -f conftest.
$ac_objext
14057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14058 (eval $ac_compile) 2>conftest.er1
14060 grep -v '^ *+' conftest.er1
>conftest.err
14062 cat conftest.err
>&5
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); } &&
14065 { ac_try
='test -z "$ac_c_werror_flag"
14066 || test ! -s conftest.err'
14067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14068 (eval $ac_try) 2>&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); }; } &&
14072 { ac_try
='test -s conftest.$ac_objext'
14073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14074 (eval $ac_try) 2>&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); }; }; then
14080 cat >conftest.
$ac_ext <<_ACEOF
14083 cat confdefs.h
>>conftest.
$ac_ext
14084 cat >>conftest.
$ac_ext <<_ACEOF
14085 /* end confdefs.h. */
14086 $ac_includes_default
14090 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14097 rm -f conftest.
$ac_objext
14098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14099 (eval $ac_compile) 2>conftest.er1
14101 grep -v '^ *+' conftest.er1
>conftest.err
14103 cat conftest.err
>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); } &&
14106 { ac_try
='test -z "$ac_c_werror_flag"
14107 || test ! -s conftest.err'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; } &&
14113 { ac_try
='test -s conftest.$ac_objext'
14114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14115 (eval $ac_try) 2>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; }; then
14119 ac_hi
=$ac_mid; break
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.
$ac_ext >&5
14124 ac_lo
=`expr $ac_mid + 1`
14125 if test $ac_lo -le $ac_mid; then
14129 ac_mid
=`expr 2 '*' $ac_mid + 1`
14131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14134 echo "$as_me: failed program was:" >&5
14135 sed 's/^/| /' conftest.
$ac_ext >&5
14137 cat >conftest.
$ac_ext <<_ACEOF
14140 cat confdefs.h
>>conftest.
$ac_ext
14141 cat >>conftest.
$ac_ext <<_ACEOF
14142 /* end confdefs.h. */
14143 $ac_includes_default
14147 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
14154 rm -f conftest.
$ac_objext
14155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14156 (eval $ac_compile) 2>conftest.er1
14158 grep -v '^ *+' conftest.er1
>conftest.err
14160 cat conftest.err
>&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); } &&
14163 { ac_try
='test -z "$ac_c_werror_flag"
14164 || test ! -s conftest.err'
14165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14166 (eval $ac_try) 2>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); }; } &&
14170 { ac_try
='test -s conftest.$ac_objext'
14171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14172 (eval $ac_try) 2>&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); }; }; then
14178 cat >conftest.
$ac_ext <<_ACEOF
14181 cat confdefs.h
>>conftest.
$ac_ext
14182 cat >>conftest.
$ac_ext <<_ACEOF
14183 /* end confdefs.h. */
14184 $ac_includes_default
14188 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
14195 rm -f conftest.
$ac_objext
14196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14197 (eval $ac_compile) 2>conftest.er1
14199 grep -v '^ *+' conftest.er1
>conftest.err
14201 cat conftest.err
>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); } &&
14204 { ac_try
='test -z "$ac_c_werror_flag"
14205 || test ! -s conftest.err'
14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; } &&
14211 { ac_try
='test -s conftest.$ac_objext'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; }; then
14217 ac_lo
=$ac_mid; break
14219 echo "$as_me: failed program was:" >&5
14220 sed 's/^/| /' conftest.
$ac_ext >&5
14222 ac_hi
=`expr '(' $ac_mid ')' - 1`
14223 if test $ac_mid -le $ac_hi; then
14227 ac_mid
=`expr 2 '*' $ac_mid`
14229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14232 echo "$as_me: failed program was:" >&5
14233 sed 's/^/| /' conftest.
$ac_ext >&5
14237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14240 # Binary search between lo and hi bounds.
14241 while test "x$ac_lo" != "x$ac_hi"; do
14242 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14243 cat >conftest.
$ac_ext <<_ACEOF
14246 cat confdefs.h
>>conftest.
$ac_ext
14247 cat >>conftest.
$ac_ext <<_ACEOF
14248 /* end confdefs.h. */
14249 $ac_includes_default
14253 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14260 rm -f conftest.
$ac_objext
14261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14262 (eval $ac_compile) 2>conftest.er1
14264 grep -v '^ *+' conftest.er1
>conftest.err
14266 cat conftest.err
>&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } &&
14269 { ac_try
='test -z "$ac_c_werror_flag"
14270 || test ! -s conftest.err'
14271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14272 (eval $ac_try) 2>&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); }; } &&
14276 { ac_try
='test -s conftest.$ac_objext'
14277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278 (eval $ac_try) 2>&5
14280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281 (exit $ac_status); }; }; then
14284 echo "$as_me: failed program was:" >&5
14285 sed 's/^/| /' conftest.
$ac_ext >&5
14287 ac_lo
=`expr '(' $ac_mid ')' + 1`
14289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14292 ?
*) ac_cv_sizeof_long
=$ac_lo;;
14293 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
14294 See \`config.log' for more details." >&5
14295 echo "$as_me: error: cannot compute sizeof (long), 77
14296 See \`config.log' for more details." >&2;}
14297 { (exit 1); exit 1; }; } ;;
14300 if test "$cross_compiling" = yes; then
14301 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14302 See \`config.log' for more details." >&5
14303 echo "$as_me: error: cannot run test program while cross compiling
14304 See \`config.log' for more details." >&2;}
14305 { (exit 1); exit 1; }; }
14307 cat >conftest.
$ac_ext <<_ACEOF
14310 cat confdefs.h
>>conftest.
$ac_ext
14311 cat >>conftest.
$ac_ext <<_ACEOF
14312 /* end confdefs.h. */
14313 $ac_includes_default
14314 long longval () { return (long) (sizeof (long)); }
14315 unsigned long ulongval () { return (long) (sizeof (long)); }
14317 #include <stdlib.h>
14322 FILE *f = fopen ("conftest.val", "w");
14325 if (((long) (sizeof (long))) < 0)
14327 long i = longval ();
14328 if (i != ((long) (sizeof (long))))
14330 fprintf (f, "%ld\n", i);
14334 unsigned long i = ulongval ();
14335 if (i != ((long) (sizeof (long))))
14337 fprintf (f, "%lu\n", i);
14339 exit (ferror (f) || fclose (f) != 0);
14345 rm -f conftest
$ac_exeext
14346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14347 (eval $ac_link) 2>&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; }; then
14356 ac_cv_sizeof_long
=`cat conftest.val`
14358 echo "$as_me: program exited with status $ac_status" >&5
14359 echo "$as_me: failed program was:" >&5
14360 sed 's/^/| /' conftest.
$ac_ext >&5
14362 ( exit $ac_status )
14363 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
14364 See \`config.log' for more details." >&5
14365 echo "$as_me: error: cannot compute sizeof (long), 77
14366 See \`config.log' for more details." >&2;}
14367 { (exit 1); exit 1; }; }
14369 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14374 ac_cv_sizeof_long
=0
14377 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
14378 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
14379 cat >>confdefs.h
<<_ACEOF
14380 #define SIZEOF_LONG $ac_cv_sizeof_long
14386 if test $acx_cv_header_stdint = stddef.h
; then
14387 # Lacking a good header? Test size of everything and deduce all types.
14388 echo "$as_me:$LINENO: checking for int" >&5
14389 echo $ECHO_N "checking for int... $ECHO_C" >&6
14390 if test "${ac_cv_type_int+set}" = set; then
14391 echo $ECHO_N "(cached) $ECHO_C" >&6
14393 cat >conftest.
$ac_ext <<_ACEOF
14396 cat confdefs.h
>>conftest.
$ac_ext
14397 cat >>conftest.
$ac_ext <<_ACEOF
14398 /* end confdefs.h. */
14399 $ac_includes_default
14411 rm -f conftest.
$ac_objext
14412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14413 (eval $ac_compile) 2>conftest.er1
14415 grep -v '^ *+' conftest.er1
>conftest.err
14417 cat conftest.err
>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); } &&
14420 { ac_try
='test -z "$ac_c_werror_flag"
14421 || test ! -s conftest.err'
14422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14423 (eval $ac_try) 2>&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); }; } &&
14427 { ac_try
='test -s conftest.$ac_objext'
14428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14429 (eval $ac_try) 2>&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; }; then
14435 echo "$as_me: failed program was:" >&5
14436 sed 's/^/| /' conftest.
$ac_ext >&5
14440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14442 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14443 echo "${ECHO_T}$ac_cv_type_int" >&6
14445 echo "$as_me:$LINENO: checking size of int" >&5
14446 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14447 if test "${ac_cv_sizeof_int+set}" = set; then
14448 echo $ECHO_N "(cached) $ECHO_C" >&6
14450 if test "$ac_cv_type_int" = yes; then
14451 # The cast to unsigned long works around a bug in the HP C Compiler
14452 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14453 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14454 # This bug is HP SR number 8606223364.
14455 if test "$cross_compiling" = yes; then
14456 # Depending upon the size, compute the lo and hi bounds.
14457 cat >conftest.
$ac_ext <<_ACEOF
14460 cat confdefs.h
>>conftest.
$ac_ext
14461 cat >>conftest.
$ac_ext <<_ACEOF
14462 /* end confdefs.h. */
14463 $ac_includes_default
14467 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14474 rm -f conftest.
$ac_objext
14475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14476 (eval $ac_compile) 2>conftest.er1
14478 grep -v '^ *+' conftest.er1
>conftest.err
14480 cat conftest.err
>&5
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); } &&
14483 { ac_try
='test -z "$ac_c_werror_flag"
14484 || test ! -s conftest.err'
14485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14486 (eval $ac_try) 2>&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); }; } &&
14490 { ac_try
='test -s conftest.$ac_objext'
14491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14492 (eval $ac_try) 2>&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); }; }; then
14498 cat >conftest.
$ac_ext <<_ACEOF
14501 cat confdefs.h
>>conftest.
$ac_ext
14502 cat >>conftest.
$ac_ext <<_ACEOF
14503 /* end confdefs.h. */
14504 $ac_includes_default
14508 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14515 rm -f conftest.
$ac_objext
14516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14517 (eval $ac_compile) 2>conftest.er1
14519 grep -v '^ *+' conftest.er1
>conftest.err
14521 cat conftest.err
>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); } &&
14524 { ac_try
='test -z "$ac_c_werror_flag"
14525 || test ! -s conftest.err'
14526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14527 (eval $ac_try) 2>&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); }; } &&
14531 { ac_try
='test -s conftest.$ac_objext'
14532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14533 (eval $ac_try) 2>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; }; then
14537 ac_hi
=$ac_mid; break
14539 echo "$as_me: failed program was:" >&5
14540 sed 's/^/| /' conftest.
$ac_ext >&5
14542 ac_lo
=`expr $ac_mid + 1`
14543 if test $ac_lo -le $ac_mid; then
14547 ac_mid
=`expr 2 '*' $ac_mid + 1`
14549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14552 echo "$as_me: failed program was:" >&5
14553 sed 's/^/| /' conftest.
$ac_ext >&5
14555 cat >conftest.
$ac_ext <<_ACEOF
14558 cat confdefs.h
>>conftest.
$ac_ext
14559 cat >>conftest.
$ac_ext <<_ACEOF
14560 /* end confdefs.h. */
14561 $ac_includes_default
14565 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14572 rm -f conftest.
$ac_objext
14573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14574 (eval $ac_compile) 2>conftest.er1
14576 grep -v '^ *+' conftest.er1
>conftest.err
14578 cat conftest.err
>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); } &&
14581 { ac_try
='test -z "$ac_c_werror_flag"
14582 || test ! -s conftest.err'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; } &&
14588 { ac_try
='test -s conftest.$ac_objext'
14589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590 (eval $ac_try) 2>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; }; then
14596 cat >conftest.
$ac_ext <<_ACEOF
14599 cat confdefs.h
>>conftest.
$ac_ext
14600 cat >>conftest.
$ac_ext <<_ACEOF
14601 /* end confdefs.h. */
14602 $ac_includes_default
14606 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14613 rm -f conftest.
$ac_objext
14614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14615 (eval $ac_compile) 2>conftest.er1
14617 grep -v '^ *+' conftest.er1
>conftest.err
14619 cat conftest.err
>&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); } &&
14622 { ac_try
='test -z "$ac_c_werror_flag"
14623 || test ! -s conftest.err'
14624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14625 (eval $ac_try) 2>&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); }; } &&
14629 { ac_try
='test -s conftest.$ac_objext'
14630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14631 (eval $ac_try) 2>&5
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); }; }; then
14635 ac_lo
=$ac_mid; break
14637 echo "$as_me: failed program was:" >&5
14638 sed 's/^/| /' conftest.
$ac_ext >&5
14640 ac_hi
=`expr '(' $ac_mid ')' - 1`
14641 if test $ac_mid -le $ac_hi; then
14645 ac_mid
=`expr 2 '*' $ac_mid`
14647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14650 echo "$as_me: failed program was:" >&5
14651 sed 's/^/| /' conftest.
$ac_ext >&5
14655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14658 # Binary search between lo and hi bounds.
14659 while test "x$ac_lo" != "x$ac_hi"; do
14660 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14661 cat >conftest.
$ac_ext <<_ACEOF
14664 cat confdefs.h
>>conftest.
$ac_ext
14665 cat >>conftest.
$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14667 $ac_includes_default
14671 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14678 rm -f conftest.
$ac_objext
14679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14680 (eval $ac_compile) 2>conftest.er1
14682 grep -v '^ *+' conftest.er1
>conftest.err
14684 cat conftest.err
>&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); } &&
14687 { ac_try
='test -z "$ac_c_werror_flag"
14688 || test ! -s conftest.err'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; } &&
14694 { ac_try
='test -s conftest.$ac_objext'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; }; then
14702 echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.
$ac_ext >&5
14705 ac_lo
=`expr '(' $ac_mid ')' + 1`
14707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14710 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14711 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14712 See \`config.log' for more details." >&5
14713 echo "$as_me: error: cannot compute sizeof (int), 77
14714 See \`config.log' for more details." >&2;}
14715 { (exit 1); exit 1; }; } ;;
14718 if test "$cross_compiling" = yes; then
14719 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14720 See \`config.log' for more details." >&5
14721 echo "$as_me: error: cannot run test program while cross compiling
14722 See \`config.log' for more details." >&2;}
14723 { (exit 1); exit 1; }; }
14725 cat >conftest.
$ac_ext <<_ACEOF
14728 cat confdefs.h
>>conftest.
$ac_ext
14729 cat >>conftest.
$ac_ext <<_ACEOF
14730 /* end confdefs.h. */
14731 $ac_includes_default
14732 long longval () { return (long) (sizeof (int)); }
14733 unsigned long ulongval () { return (long) (sizeof (int)); }
14735 #include <stdlib.h>
14740 FILE *f = fopen ("conftest.val", "w");
14743 if (((long) (sizeof (int))) < 0)
14745 long i = longval ();
14746 if (i != ((long) (sizeof (int))))
14748 fprintf (f, "%ld\n", i);
14752 unsigned long i = ulongval ();
14753 if (i != ((long) (sizeof (int))))
14755 fprintf (f, "%lu\n", i);
14757 exit (ferror (f) || fclose (f) != 0);
14763 rm -f conftest
$ac_exeext
14764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14765 (eval $ac_link) 2>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14770 (eval $ac_try) 2>&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); }; }; then
14774 ac_cv_sizeof_int
=`cat conftest.val`
14776 echo "$as_me: program exited with status $ac_status" >&5
14777 echo "$as_me: failed program was:" >&5
14778 sed 's/^/| /' conftest.
$ac_ext >&5
14780 ( exit $ac_status )
14781 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14782 See \`config.log' for more details." >&5
14783 echo "$as_me: error: cannot compute sizeof (int), 77
14784 See \`config.log' for more details." >&2;}
14785 { (exit 1); exit 1; }; }
14787 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14795 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14796 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14797 cat >>confdefs.h
<<_ACEOF
14798 #define SIZEOF_INT $ac_cv_sizeof_int
14802 echo "$as_me:$LINENO: checking for short" >&5
14803 echo $ECHO_N "checking for short... $ECHO_C" >&6
14804 if test "${ac_cv_type_short+set}" = set; then
14805 echo $ECHO_N "(cached) $ECHO_C" >&6
14807 cat >conftest.
$ac_ext <<_ACEOF
14810 cat confdefs.h
>>conftest.
$ac_ext
14811 cat >>conftest.
$ac_ext <<_ACEOF
14812 /* end confdefs.h. */
14813 $ac_includes_default
14819 if (sizeof (short))
14825 rm -f conftest.
$ac_objext
14826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14827 (eval $ac_compile) 2>conftest.er1
14829 grep -v '^ *+' conftest.er1
>conftest.err
14831 cat conftest.err
>&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); } &&
14834 { ac_try
='test -z "$ac_c_werror_flag"
14835 || test ! -s conftest.err'
14836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14837 (eval $ac_try) 2>&5
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); }; } &&
14841 { ac_try
='test -s conftest.$ac_objext'
14842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14843 (eval $ac_try) 2>&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); }; }; then
14847 ac_cv_type_short
=yes
14849 echo "$as_me: failed program was:" >&5
14850 sed 's/^/| /' conftest.
$ac_ext >&5
14852 ac_cv_type_short
=no
14854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14856 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14857 echo "${ECHO_T}$ac_cv_type_short" >&6
14859 echo "$as_me:$LINENO: checking size of short" >&5
14860 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14861 if test "${ac_cv_sizeof_short+set}" = set; then
14862 echo $ECHO_N "(cached) $ECHO_C" >&6
14864 if test "$ac_cv_type_short" = yes; then
14865 # The cast to unsigned long works around a bug in the HP C Compiler
14866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14868 # This bug is HP SR number 8606223364.
14869 if test "$cross_compiling" = yes; then
14870 # Depending upon the size, compute the lo and hi bounds.
14871 cat >conftest.
$ac_ext <<_ACEOF
14874 cat confdefs.h
>>conftest.
$ac_ext
14875 cat >>conftest.
$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14877 $ac_includes_default
14881 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14888 rm -f conftest.
$ac_objext
14889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14890 (eval $ac_compile) 2>conftest.er1
14892 grep -v '^ *+' conftest.er1
>conftest.err
14894 cat conftest.err
>&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); } &&
14897 { ac_try
='test -z "$ac_c_werror_flag"
14898 || test ! -s conftest.err'
14899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14900 (eval $ac_try) 2>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); }; } &&
14904 { ac_try
='test -s conftest.$ac_objext'
14905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14906 (eval $ac_try) 2>&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; }; then
14912 cat >conftest.
$ac_ext <<_ACEOF
14915 cat confdefs.h
>>conftest.
$ac_ext
14916 cat >>conftest.
$ac_ext <<_ACEOF
14917 /* end confdefs.h. */
14918 $ac_includes_default
14922 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14929 rm -f conftest.
$ac_objext
14930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931 (eval $ac_compile) 2>conftest.er1
14933 grep -v '^ *+' conftest.er1
>conftest.err
14935 cat conftest.err
>&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); } &&
14938 { ac_try
='test -z "$ac_c_werror_flag"
14939 || test ! -s conftest.err'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; } &&
14945 { ac_try
='test -s conftest.$ac_objext'
14946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14947 (eval $ac_try) 2>&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); }; }; then
14951 ac_hi
=$ac_mid; break
14953 echo "$as_me: failed program was:" >&5
14954 sed 's/^/| /' conftest.
$ac_ext >&5
14956 ac_lo
=`expr $ac_mid + 1`
14957 if test $ac_lo -le $ac_mid; then
14961 ac_mid
=`expr 2 '*' $ac_mid + 1`
14963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14966 echo "$as_me: failed program was:" >&5
14967 sed 's/^/| /' conftest.
$ac_ext >&5
14969 cat >conftest.
$ac_ext <<_ACEOF
14972 cat confdefs.h
>>conftest.
$ac_ext
14973 cat >>conftest.
$ac_ext <<_ACEOF
14974 /* end confdefs.h. */
14975 $ac_includes_default
14979 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14986 rm -f conftest.
$ac_objext
14987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14988 (eval $ac_compile) 2>conftest.er1
14990 grep -v '^ *+' conftest.er1
>conftest.err
14992 cat conftest.err
>&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); } &&
14995 { ac_try
='test -z "$ac_c_werror_flag"
14996 || test ! -s conftest.err'
14997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14998 (eval $ac_try) 2>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); }; } &&
15002 { ac_try
='test -s conftest.$ac_objext'
15003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15004 (eval $ac_try) 2>&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); }; }; then
15010 cat >conftest.
$ac_ext <<_ACEOF
15013 cat confdefs.h
>>conftest.
$ac_ext
15014 cat >>conftest.
$ac_ext <<_ACEOF
15015 /* end confdefs.h. */
15016 $ac_includes_default
15020 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15027 rm -f conftest.
$ac_objext
15028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15029 (eval $ac_compile) 2>conftest.er1
15031 grep -v '^ *+' conftest.er1
>conftest.err
15033 cat conftest.err
>&5
15034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15035 (exit $ac_status); } &&
15036 { ac_try
='test -z "$ac_c_werror_flag"
15037 || test ! -s conftest.err'
15038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15039 (eval $ac_try) 2>&5
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); }; } &&
15043 { ac_try
='test -s conftest.$ac_objext'
15044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15045 (eval $ac_try) 2>&5
15047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15048 (exit $ac_status); }; }; then
15049 ac_lo
=$ac_mid; break
15051 echo "$as_me: failed program was:" >&5
15052 sed 's/^/| /' conftest.
$ac_ext >&5
15054 ac_hi
=`expr '(' $ac_mid ')' - 1`
15055 if test $ac_mid -le $ac_hi; then
15059 ac_mid
=`expr 2 '*' $ac_mid`
15061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15064 echo "$as_me: failed program was:" >&5
15065 sed 's/^/| /' conftest.
$ac_ext >&5
15069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15072 # Binary search between lo and hi bounds.
15073 while test "x$ac_lo" != "x$ac_hi"; do
15074 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
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
15116 echo "$as_me: failed program was:" >&5
15117 sed 's/^/| /' conftest.
$ac_ext >&5
15119 ac_lo
=`expr '(' $ac_mid ')' + 1`
15121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15124 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15125 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15126 See \`config.log' for more details." >&5
15127 echo "$as_me: error: cannot compute sizeof (short), 77
15128 See \`config.log' for more details." >&2;}
15129 { (exit 1); exit 1; }; } ;;
15132 if test "$cross_compiling" = yes; then
15133 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15134 See \`config.log' for more details." >&5
15135 echo "$as_me: error: cannot run test program while cross compiling
15136 See \`config.log' for more details." >&2;}
15137 { (exit 1); exit 1; }; }
15139 cat >conftest.
$ac_ext <<_ACEOF
15142 cat confdefs.h
>>conftest.
$ac_ext
15143 cat >>conftest.
$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15145 $ac_includes_default
15146 long longval () { return (long) (sizeof (short)); }
15147 unsigned long ulongval () { return (long) (sizeof (short)); }
15149 #include <stdlib.h>
15154 FILE *f = fopen ("conftest.val", "w");
15157 if (((long) (sizeof (short))) < 0)
15159 long i = longval ();
15160 if (i != ((long) (sizeof (short))))
15162 fprintf (f, "%ld\n", i);
15166 unsigned long i = ulongval ();
15167 if (i != ((long) (sizeof (short))))
15169 fprintf (f, "%lu\n", i);
15171 exit (ferror (f) || fclose (f) != 0);
15177 rm -f conftest
$ac_exeext
15178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15179 (eval $ac_link) 2>&5
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15184 (eval $ac_try) 2>&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); }; }; then
15188 ac_cv_sizeof_short
=`cat conftest.val`
15190 echo "$as_me: program exited with status $ac_status" >&5
15191 echo "$as_me: failed program was:" >&5
15192 sed 's/^/| /' conftest.
$ac_ext >&5
15194 ( exit $ac_status )
15195 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15196 See \`config.log' for more details." >&5
15197 echo "$as_me: error: cannot compute sizeof (short), 77
15198 See \`config.log' for more details." >&2;}
15199 { (exit 1); exit 1; }; }
15201 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15206 ac_cv_sizeof_short
=0
15209 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15210 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15211 cat >>confdefs.h
<<_ACEOF
15212 #define SIZEOF_SHORT $ac_cv_sizeof_short
15216 echo "$as_me:$LINENO: checking for char" >&5
15217 echo $ECHO_N "checking for char... $ECHO_C" >&6
15218 if test "${ac_cv_type_char+set}" = set; then
15219 echo $ECHO_N "(cached) $ECHO_C" >&6
15221 cat >conftest.
$ac_ext <<_ACEOF
15224 cat confdefs.h
>>conftest.
$ac_ext
15225 cat >>conftest.
$ac_ext <<_ACEOF
15226 /* end confdefs.h. */
15227 $ac_includes_default
15239 rm -f conftest.
$ac_objext
15240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15241 (eval $ac_compile) 2>conftest.er1
15243 grep -v '^ *+' conftest.er1
>conftest.err
15245 cat conftest.err
>&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } &&
15248 { ac_try
='test -z "$ac_c_werror_flag"
15249 || test ! -s conftest.err'
15250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251 (eval $ac_try) 2>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; } &&
15255 { ac_try
='test -s conftest.$ac_objext'
15256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257 (eval $ac_try) 2>&5
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; }; then
15261 ac_cv_type_char
=yes
15263 echo "$as_me: failed program was:" >&5
15264 sed 's/^/| /' conftest.
$ac_ext >&5
15268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15270 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15271 echo "${ECHO_T}$ac_cv_type_char" >&6
15273 echo "$as_me:$LINENO: checking size of char" >&5
15274 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15275 if test "${ac_cv_sizeof_char+set}" = set; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 if test "$ac_cv_type_char" = yes; then
15279 # The cast to unsigned long works around a bug in the HP C Compiler
15280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15281 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15282 # This bug is HP SR number 8606223364.
15283 if test "$cross_compiling" = yes; then
15284 # Depending upon the size, compute the lo and hi bounds.
15285 cat >conftest.
$ac_ext <<_ACEOF
15288 cat confdefs.h
>>conftest.
$ac_ext
15289 cat >>conftest.
$ac_ext <<_ACEOF
15290 /* end confdefs.h. */
15291 $ac_includes_default
15295 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
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
15326 cat >conftest.
$ac_ext <<_ACEOF
15329 cat confdefs.h
>>conftest.
$ac_ext
15330 cat >>conftest.
$ac_ext <<_ACEOF
15331 /* end confdefs.h. */
15332 $ac_includes_default
15336 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15343 rm -f conftest.
$ac_objext
15344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15345 (eval $ac_compile) 2>conftest.er1
15347 grep -v '^ *+' conftest.er1
>conftest.err
15349 cat conftest.err
>&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } &&
15352 { ac_try
='test -z "$ac_c_werror_flag"
15353 || test ! -s conftest.err'
15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 (eval $ac_try) 2>&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); }; } &&
15359 { ac_try
='test -s conftest.$ac_objext'
15360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361 (eval $ac_try) 2>&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); }; }; then
15365 ac_hi
=$ac_mid; break
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.
$ac_ext >&5
15370 ac_lo
=`expr $ac_mid + 1`
15371 if test $ac_lo -le $ac_mid; then
15375 ac_mid
=`expr 2 '*' $ac_mid + 1`
15377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15380 echo "$as_me: failed program was:" >&5
15381 sed 's/^/| /' conftest.
$ac_ext >&5
15383 cat >conftest.
$ac_ext <<_ACEOF
15386 cat confdefs.h
>>conftest.
$ac_ext
15387 cat >>conftest.
$ac_ext <<_ACEOF
15388 /* end confdefs.h. */
15389 $ac_includes_default
15393 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15400 rm -f conftest.
$ac_objext
15401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15402 (eval $ac_compile) 2>conftest.er1
15404 grep -v '^ *+' conftest.er1
>conftest.err
15406 cat conftest.err
>&5
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); } &&
15409 { ac_try
='test -z "$ac_c_werror_flag"
15410 || test ! -s conftest.err'
15411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15412 (eval $ac_try) 2>&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; } &&
15416 { ac_try
='test -s conftest.$ac_objext'
15417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15418 (eval $ac_try) 2>&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); }; }; then
15424 cat >conftest.
$ac_ext <<_ACEOF
15427 cat confdefs.h
>>conftest.
$ac_ext
15428 cat >>conftest.
$ac_ext <<_ACEOF
15429 /* end confdefs.h. */
15430 $ac_includes_default
15434 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15441 rm -f conftest.
$ac_objext
15442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15443 (eval $ac_compile) 2>conftest.er1
15445 grep -v '^ *+' conftest.er1
>conftest.err
15447 cat conftest.err
>&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); } &&
15450 { ac_try
='test -z "$ac_c_werror_flag"
15451 || test ! -s conftest.err'
15452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453 (eval $ac_try) 2>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; } &&
15457 { ac_try
='test -s conftest.$ac_objext'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; }; then
15463 ac_lo
=$ac_mid; break
15465 echo "$as_me: failed program was:" >&5
15466 sed 's/^/| /' conftest.
$ac_ext >&5
15468 ac_hi
=`expr '(' $ac_mid ')' - 1`
15469 if test $ac_mid -le $ac_hi; then
15473 ac_mid
=`expr 2 '*' $ac_mid`
15475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.
$ac_ext >&5
15483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15486 # Binary search between lo and hi bounds.
15487 while test "x$ac_lo" != "x$ac_hi"; do
15488 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15489 cat >conftest.
$ac_ext <<_ACEOF
15492 cat confdefs.h
>>conftest.
$ac_ext
15493 cat >>conftest.
$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15495 $ac_includes_default
15499 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15506 rm -f conftest.
$ac_objext
15507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15508 (eval $ac_compile) 2>conftest.er1
15510 grep -v '^ *+' conftest.er1
>conftest.err
15512 cat conftest.err
>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } &&
15515 { ac_try
='test -z "$ac_c_werror_flag"
15516 || test ! -s conftest.err'
15517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518 (eval $ac_try) 2>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; } &&
15522 { ac_try
='test -s conftest.$ac_objext'
15523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15524 (eval $ac_try) 2>&5
15526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527 (exit $ac_status); }; }; then
15530 echo "$as_me: failed program was:" >&5
15531 sed 's/^/| /' conftest.
$ac_ext >&5
15533 ac_lo
=`expr '(' $ac_mid ')' + 1`
15535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15538 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15539 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15540 See \`config.log' for more details." >&5
15541 echo "$as_me: error: cannot compute sizeof (char), 77
15542 See \`config.log' for more details." >&2;}
15543 { (exit 1); exit 1; }; } ;;
15546 if test "$cross_compiling" = yes; then
15547 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15548 See \`config.log' for more details." >&5
15549 echo "$as_me: error: cannot run test program while cross compiling
15550 See \`config.log' for more details." >&2;}
15551 { (exit 1); exit 1; }; }
15553 cat >conftest.
$ac_ext <<_ACEOF
15556 cat confdefs.h
>>conftest.
$ac_ext
15557 cat >>conftest.
$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15559 $ac_includes_default
15560 long longval () { return (long) (sizeof (char)); }
15561 unsigned long ulongval () { return (long) (sizeof (char)); }
15563 #include <stdlib.h>
15568 FILE *f = fopen ("conftest.val", "w");
15571 if (((long) (sizeof (char))) < 0)
15573 long i = longval ();
15574 if (i != ((long) (sizeof (char))))
15576 fprintf (f, "%ld\n", i);
15580 unsigned long i = ulongval ();
15581 if (i != ((long) (sizeof (char))))
15583 fprintf (f, "%lu\n", i);
15585 exit (ferror (f) || fclose (f) != 0);
15591 rm -f conftest
$ac_exeext
15592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15593 (eval $ac_link) 2>&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; }; then
15602 ac_cv_sizeof_char
=`cat conftest.val`
15604 echo "$as_me: program exited with status $ac_status" >&5
15605 echo "$as_me: failed program was:" >&5
15606 sed 's/^/| /' conftest.
$ac_ext >&5
15608 ( exit $ac_status )
15609 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15610 See \`config.log' for more details." >&5
15611 echo "$as_me: error: cannot compute sizeof (char), 77
15612 See \`config.log' for more details." >&2;}
15613 { (exit 1); exit 1; }; }
15615 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15620 ac_cv_sizeof_char
=0
15623 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15624 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15625 cat >>confdefs.h
<<_ACEOF
15626 #define SIZEOF_CHAR $ac_cv_sizeof_char
15631 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
15632 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
15633 case "$ac_cv_sizeof_char" in
15634 1) acx_cv_type_int8_t
=char
;;
15635 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
15636 echo "$as_me: error: no 8-bit type" >&2;}
15637 { (exit please report a bug
); exit please report a bug
; }; }
15639 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
15640 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
15642 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
15643 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
15644 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15645 2:*) acx_cv_type_int16_t
=int
;;
15646 *:2) acx_cv_type_int16_t
=short
;;
15647 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
15648 echo "$as_me: error: no 16-bit type" >&2;}
15649 { (exit please report a bug
); exit please report a bug
; }; }
15651 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
15652 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
15654 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
15655 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
15656 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15657 4:*) acx_cv_type_int32_t
=int
;;
15658 *:4) acx_cv_type_int32_t
=long
;;
15659 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
15660 echo "$as_me: error: no 32-bit type" >&2;}
15661 { (exit please report a bug
); exit please report a bug
; }; }
15663 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
15664 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
15667 # These tests are here to make the output prettier
15669 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15670 case "$ac_cv_sizeof_long" in
15671 8) acx_cv_type_int64_t
=long
;;
15673 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
15674 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
15675 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15676 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
15679 # Now we can use the above types
15681 if test "$ac_cv_type_uintptr_t" != yes; then
15682 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
15683 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
15684 case $ac_cv_sizeof_void_p in
15685 2) acx_cv_type_intptr_t
=int16_t
;;
15686 4) acx_cv_type_intptr_t
=int32_t
;;
15687 8) acx_cv_type_intptr_t
=int64_t
;;
15688 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
15689 echo "$as_me: error: no equivalent for intptr_t" >&2;}
15690 { (exit please report a bug
); exit please report a bug
; }; }
15692 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
15693 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
15696 # ----------------- done all checks, emit header -------------
15697 ac_config_commands
="$ac_config_commands gdb_stdint.h"
15702 # ------------------------- #
15703 # Checks for declarations. #
15704 # ------------------------- #
15706 echo "$as_me:$LINENO: checking whether free is declared" >&5
15707 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
15708 if test "${ac_cv_have_decl_free+set}" = set; then
15709 echo $ECHO_N "(cached) $ECHO_C" >&6
15711 cat >conftest.
$ac_ext <<_ACEOF
15714 cat confdefs.h
>>conftest.
$ac_ext
15715 cat >>conftest.
$ac_ext <<_ACEOF
15716 /* end confdefs.h. */
15717 $ac_includes_default
15722 char *p = (char *) free;
15729 rm -f conftest.
$ac_objext
15730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15731 (eval $ac_compile) 2>conftest.er1
15733 grep -v '^ *+' conftest.er1
>conftest.err
15735 cat conftest.err
>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } &&
15738 { ac_try
='test -z "$ac_c_werror_flag"
15739 || test ! -s conftest.err'
15740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15741 (eval $ac_try) 2>&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); }; } &&
15745 { ac_try
='test -s conftest.$ac_objext'
15746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15747 (eval $ac_try) 2>&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); }; }; then
15751 ac_cv_have_decl_free
=yes
15753 echo "$as_me: failed program was:" >&5
15754 sed 's/^/| /' conftest.
$ac_ext >&5
15756 ac_cv_have_decl_free
=no
15758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15760 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
15761 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
15762 if test $ac_cv_have_decl_free = yes; then
15764 cat >>confdefs.h
<<_ACEOF
15765 #define HAVE_DECL_FREE 1
15770 cat >>confdefs.h
<<_ACEOF
15771 #define HAVE_DECL_FREE 0
15776 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
15777 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
15778 if test "${ac_cv_have_decl_malloc+set}" = set; then
15779 echo $ECHO_N "(cached) $ECHO_C" >&6
15781 cat >conftest.
$ac_ext <<_ACEOF
15784 cat confdefs.h
>>conftest.
$ac_ext
15785 cat >>conftest.
$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15787 $ac_includes_default
15792 char *p = (char *) malloc;
15799 rm -f conftest.
$ac_objext
15800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15801 (eval $ac_compile) 2>conftest.er1
15803 grep -v '^ *+' conftest.er1
>conftest.err
15805 cat conftest.err
>&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); } &&
15808 { ac_try
='test -z "$ac_c_werror_flag"
15809 || test ! -s conftest.err'
15810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15811 (eval $ac_try) 2>&5
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); }; } &&
15815 { ac_try
='test -s conftest.$ac_objext'
15816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817 (eval $ac_try) 2>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); }; }; then
15821 ac_cv_have_decl_malloc
=yes
15823 echo "$as_me: failed program was:" >&5
15824 sed 's/^/| /' conftest.
$ac_ext >&5
15826 ac_cv_have_decl_malloc
=no
15828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15830 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
15831 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
15832 if test $ac_cv_have_decl_malloc = yes; then
15834 cat >>confdefs.h
<<_ACEOF
15835 #define HAVE_DECL_MALLOC 1
15840 cat >>confdefs.h
<<_ACEOF
15841 #define HAVE_DECL_MALLOC 0
15846 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
15847 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
15848 if test "${ac_cv_have_decl_realloc+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 cat >conftest.
$ac_ext <<_ACEOF
15854 cat confdefs.h
>>conftest.
$ac_ext
15855 cat >>conftest.
$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15857 $ac_includes_default
15862 char *p = (char *) realloc;
15869 rm -f conftest.
$ac_objext
15870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15871 (eval $ac_compile) 2>conftest.er1
15873 grep -v '^ *+' conftest.er1
>conftest.err
15875 cat conftest.err
>&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } &&
15878 { ac_try
='test -z "$ac_c_werror_flag"
15879 || test ! -s conftest.err'
15880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15881 (eval $ac_try) 2>&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); }; } &&
15885 { ac_try
='test -s conftest.$ac_objext'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; }; then
15891 ac_cv_have_decl_realloc
=yes
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.
$ac_ext >&5
15896 ac_cv_have_decl_realloc
=no
15898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15900 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
15901 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
15902 if test $ac_cv_have_decl_realloc = yes; then
15904 cat >>confdefs.h
<<_ACEOF
15905 #define HAVE_DECL_REALLOC 1
15910 cat >>confdefs.h
<<_ACEOF
15911 #define HAVE_DECL_REALLOC 0
15918 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
15919 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
15920 if test "${ac_cv_have_decl_strerror+set}" = set; then
15921 echo $ECHO_N "(cached) $ECHO_C" >&6
15923 cat >conftest.
$ac_ext <<_ACEOF
15926 cat confdefs.h
>>conftest.
$ac_ext
15927 cat >>conftest.
$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929 $ac_includes_default
15934 char *p = (char *) strerror;
15941 rm -f conftest.
$ac_objext
15942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15943 (eval $ac_compile) 2>conftest.er1
15945 grep -v '^ *+' conftest.er1
>conftest.err
15947 cat conftest.err
>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); } &&
15950 { ac_try
='test -z "$ac_c_werror_flag"
15951 || test ! -s conftest.err'
15952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15953 (eval $ac_try) 2>&5
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); }; } &&
15957 { ac_try
='test -s conftest.$ac_objext'
15958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15959 (eval $ac_try) 2>&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); }; }; then
15963 ac_cv_have_decl_strerror
=yes
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.
$ac_ext >&5
15968 ac_cv_have_decl_strerror
=no
15970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15972 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
15973 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
15974 if test $ac_cv_have_decl_strerror = yes; then
15976 cat >>confdefs.h
<<_ACEOF
15977 #define HAVE_DECL_STRERROR 1
15982 cat >>confdefs.h
<<_ACEOF
15983 #define HAVE_DECL_STRERROR 0
15988 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
15989 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
15990 if test "${ac_cv_have_decl_strstr+set}" = set; then
15991 echo $ECHO_N "(cached) $ECHO_C" >&6
15993 cat >conftest.
$ac_ext <<_ACEOF
15996 cat confdefs.h
>>conftest.
$ac_ext
15997 cat >>conftest.
$ac_ext <<_ACEOF
15998 /* end confdefs.h. */
15999 $ac_includes_default
16004 char *p = (char *) strstr;
16011 rm -f conftest.
$ac_objext
16012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16013 (eval $ac_compile) 2>conftest.er1
16015 grep -v '^ *+' conftest.er1
>conftest.err
16017 cat conftest.err
>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); } &&
16020 { ac_try
='test -z "$ac_c_werror_flag"
16021 || test ! -s conftest.err'
16022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023 (eval $ac_try) 2>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; } &&
16027 { ac_try
='test -s conftest.$ac_objext'
16028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16029 (eval $ac_try) 2>&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); }; }; then
16033 ac_cv_have_decl_strstr
=yes
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.
$ac_ext >&5
16038 ac_cv_have_decl_strstr
=no
16040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16042 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
16043 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
16044 if test $ac_cv_have_decl_strstr = yes; then
16046 cat >>confdefs.h
<<_ACEOF
16047 #define HAVE_DECL_STRSTR 1
16052 cat >>confdefs.h
<<_ACEOF
16053 #define HAVE_DECL_STRSTR 0
16060 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
16061 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
16062 if test "${ac_cv_have_decl_getopt+set}" = set; then
16063 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 cat >conftest.
$ac_ext <<_ACEOF
16068 cat confdefs.h
>>conftest.
$ac_ext
16069 cat >>conftest.
$ac_ext <<_ACEOF
16070 /* end confdefs.h. */
16071 $ac_includes_default
16076 char *p = (char *) getopt;
16083 rm -f conftest.
$ac_objext
16084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16085 (eval $ac_compile) 2>conftest.er1
16087 grep -v '^ *+' conftest.er1
>conftest.err
16089 cat conftest.err
>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); } &&
16092 { ac_try
='test -z "$ac_c_werror_flag"
16093 || test ! -s conftest.err'
16094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16095 (eval $ac_try) 2>&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); }; } &&
16099 { ac_try
='test -s conftest.$ac_objext'
16100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16101 (eval $ac_try) 2>&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); }; }; then
16105 ac_cv_have_decl_getopt
=yes
16107 echo "$as_me: failed program was:" >&5
16108 sed 's/^/| /' conftest.
$ac_ext >&5
16110 ac_cv_have_decl_getopt
=no
16112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16114 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
16115 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
16116 if test $ac_cv_have_decl_getopt = yes; then
16118 cat >>confdefs.h
<<_ACEOF
16119 #define HAVE_DECL_GETOPT 1
16124 cat >>confdefs.h
<<_ACEOF
16125 #define HAVE_DECL_GETOPT 0
16130 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
16131 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
16132 if test "${ac_cv_have_decl_snprintf+set}" = set; then
16133 echo $ECHO_N "(cached) $ECHO_C" >&6
16135 cat >conftest.
$ac_ext <<_ACEOF
16138 cat confdefs.h
>>conftest.
$ac_ext
16139 cat >>conftest.
$ac_ext <<_ACEOF
16140 /* end confdefs.h. */
16141 $ac_includes_default
16146 char *p = (char *) snprintf;
16153 rm -f conftest.
$ac_objext
16154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16155 (eval $ac_compile) 2>conftest.er1
16157 grep -v '^ *+' conftest.er1
>conftest.err
16159 cat conftest.err
>&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); } &&
16162 { ac_try
='test -z "$ac_c_werror_flag"
16163 || test ! -s conftest.err'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; } &&
16169 { ac_try
='test -s conftest.$ac_objext'
16170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16171 (eval $ac_try) 2>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; }; then
16175 ac_cv_have_decl_snprintf
=yes
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.
$ac_ext >&5
16180 ac_cv_have_decl_snprintf
=no
16182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16184 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
16185 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
16186 if test $ac_cv_have_decl_snprintf = yes; then
16188 cat >>confdefs.h
<<_ACEOF
16189 #define HAVE_DECL_SNPRINTF 1
16194 cat >>confdefs.h
<<_ACEOF
16195 #define HAVE_DECL_SNPRINTF 0
16200 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
16201 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
16202 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
16203 echo $ECHO_N "(cached) $ECHO_C" >&6
16205 cat >conftest.
$ac_ext <<_ACEOF
16208 cat confdefs.h
>>conftest.
$ac_ext
16209 cat >>conftest.
$ac_ext <<_ACEOF
16210 /* end confdefs.h. */
16211 $ac_includes_default
16216 char *p = (char *) vsnprintf;
16223 rm -f conftest.
$ac_objext
16224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16225 (eval $ac_compile) 2>conftest.er1
16227 grep -v '^ *+' conftest.er1
>conftest.err
16229 cat conftest.err
>&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); } &&
16232 { ac_try
='test -z "$ac_c_werror_flag"
16233 || test ! -s conftest.err'
16234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235 (eval $ac_try) 2>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }; } &&
16239 { ac_try
='test -s conftest.$ac_objext'
16240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16241 (eval $ac_try) 2>&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); }; }; then
16245 ac_cv_have_decl_vsnprintf
=yes
16247 echo "$as_me: failed program was:" >&5
16248 sed 's/^/| /' conftest.
$ac_ext >&5
16250 ac_cv_have_decl_vsnprintf
=no
16252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16254 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
16255 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
16256 if test $ac_cv_have_decl_vsnprintf = yes; then
16258 cat >>confdefs.h
<<_ACEOF
16259 #define HAVE_DECL_VSNPRINTF 1
16264 cat >>confdefs.h
<<_ACEOF
16265 #define HAVE_DECL_VSNPRINTF 0
16273 # ----------------------- #
16274 # Checks for structures. #
16275 # ----------------------- #
16277 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
16278 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
16279 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
16280 echo $ECHO_N "(cached) $ECHO_C" >&6
16282 cat >conftest.
$ac_ext <<_ACEOF
16285 cat confdefs.h
>>conftest.
$ac_ext
16286 cat >>conftest.
$ac_ext <<_ACEOF
16287 /* end confdefs.h. */
16288 $ac_includes_default
16292 static struct stat ac_aggr;
16293 if (ac_aggr.st_blocks)
16299 rm -f conftest.
$ac_objext
16300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16301 (eval $ac_compile) 2>conftest.er1
16303 grep -v '^ *+' conftest.er1
>conftest.err
16305 cat conftest.err
>&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); } &&
16308 { ac_try
='test -z "$ac_c_werror_flag"
16309 || test ! -s conftest.err'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; } &&
16315 { ac_try
='test -s conftest.$ac_objext'
16316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16317 (eval $ac_try) 2>&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); }; }; then
16321 ac_cv_member_struct_stat_st_blocks
=yes
16323 echo "$as_me: failed program was:" >&5
16324 sed 's/^/| /' conftest.
$ac_ext >&5
16326 cat >conftest.
$ac_ext <<_ACEOF
16329 cat confdefs.h
>>conftest.
$ac_ext
16330 cat >>conftest.
$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 $ac_includes_default
16336 static struct stat ac_aggr;
16337 if (sizeof ac_aggr.st_blocks)
16343 rm -f conftest.
$ac_objext
16344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16345 (eval $ac_compile) 2>conftest.er1
16347 grep -v '^ *+' conftest.er1
>conftest.err
16349 cat conftest.err
>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); } &&
16352 { ac_try
='test -z "$ac_c_werror_flag"
16353 || test ! -s conftest.err'
16354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16355 (eval $ac_try) 2>&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); }; } &&
16359 { ac_try
='test -s conftest.$ac_objext'
16360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16361 (eval $ac_try) 2>&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); }; }; then
16365 ac_cv_member_struct_stat_st_blocks
=yes
16367 echo "$as_me: failed program was:" >&5
16368 sed 's/^/| /' conftest.
$ac_ext >&5
16370 ac_cv_member_struct_stat_st_blocks
=no
16372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16376 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
16377 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
16378 if test $ac_cv_member_struct_stat_st_blocks = yes; then
16380 cat >>confdefs.h
<<_ACEOF
16381 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16387 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
16388 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
16389 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
16390 echo $ECHO_N "(cached) $ECHO_C" >&6
16392 cat >conftest.
$ac_ext <<_ACEOF
16395 cat confdefs.h
>>conftest.
$ac_ext
16396 cat >>conftest.
$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 $ac_includes_default
16402 static struct stat ac_aggr;
16403 if (ac_aggr.st_blksize)
16409 rm -f conftest.
$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>conftest.er1
16413 grep -v '^ *+' conftest.er1
>conftest.err
16415 cat conftest.err
>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } &&
16418 { ac_try
='test -z "$ac_c_werror_flag"
16419 || test ! -s conftest.err'
16420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421 (eval $ac_try) 2>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); }; } &&
16425 { ac_try
='test -s conftest.$ac_objext'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; }; then
16431 ac_cv_member_struct_stat_st_blksize
=yes
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.
$ac_ext >&5
16436 cat >conftest.
$ac_ext <<_ACEOF
16439 cat confdefs.h
>>conftest.
$ac_ext
16440 cat >>conftest.
$ac_ext <<_ACEOF
16441 /* end confdefs.h. */
16442 $ac_includes_default
16446 static struct stat ac_aggr;
16447 if (sizeof ac_aggr.st_blksize)
16453 rm -f conftest.
$ac_objext
16454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16455 (eval $ac_compile) 2>conftest.er1
16457 grep -v '^ *+' conftest.er1
>conftest.err
16459 cat conftest.err
>&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); } &&
16462 { ac_try
='test -z "$ac_c_werror_flag"
16463 || test ! -s conftest.err'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; } &&
16469 { ac_try
='test -s conftest.$ac_objext'
16470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16471 (eval $ac_try) 2>&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }; }; then
16475 ac_cv_member_struct_stat_st_blksize
=yes
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.
$ac_ext >&5
16480 ac_cv_member_struct_stat_st_blksize
=no
16482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16486 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
16487 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
16488 if test $ac_cv_member_struct_stat_st_blksize = yes; then
16490 cat >>confdefs.h
<<_ACEOF
16491 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16498 # ------------------ #
16499 # Checks for types. #
16500 # ------------------ #
16502 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
16503 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
16504 if test "${ac_cv_type_signal+set}" = set; then
16505 echo $ECHO_N "(cached) $ECHO_C" >&6
16507 cat >conftest.
$ac_ext <<_ACEOF
16510 cat confdefs.h
>>conftest.
$ac_ext
16511 cat >>conftest.
$ac_ext <<_ACEOF
16512 /* end confdefs.h. */
16513 #include <sys/types.h>
16514 #include <signal.h>
16519 extern "C" void (*signal (int, void (*)(int)))(int);
16521 void (*signal ()) ();
16532 rm -f conftest.
$ac_objext
16533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16534 (eval $ac_compile) 2>conftest.er1
16536 grep -v '^ *+' conftest.er1
>conftest.err
16538 cat conftest.err
>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } &&
16541 { ac_try
='test -z "$ac_c_werror_flag"
16542 || test ! -s conftest.err'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; } &&
16548 { ac_try
='test -s conftest.$ac_objext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_cv_type_signal
=void
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.
$ac_ext >&5
16559 ac_cv_type_signal
=int
16561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16563 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
16564 echo "${ECHO_T}$ac_cv_type_signal" >&6
16566 cat >>confdefs.h
<<_ACEOF
16567 #define RETSIGTYPE $ac_cv_type_signal
16571 echo "$as_me:$LINENO: checking for socklen_t" >&5
16572 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
16573 if test "${ac_cv_type_socklen_t+set}" = set; then
16574 echo $ECHO_N "(cached) $ECHO_C" >&6
16576 cat >conftest.
$ac_ext <<_ACEOF
16579 cat confdefs.h
>>conftest.
$ac_ext
16580 cat >>conftest.
$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16582 #include <sys/types.h>
16583 #include <sys/socket.h>
16589 if ((socklen_t *) 0)
16591 if (sizeof (socklen_t))
16597 rm -f conftest.
$ac_objext
16598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16599 (eval $ac_compile) 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_objext'
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 ac_cv_type_socklen_t
=yes
16621 echo "$as_me: failed program was:" >&5
16622 sed 's/^/| /' conftest.
$ac_ext >&5
16624 ac_cv_type_socklen_t
=no
16626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16628 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
16629 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
16630 if test $ac_cv_type_socklen_t = yes; then
16632 cat >>confdefs.h
<<_ACEOF
16633 #define HAVE_SOCKLEN_T 1
16639 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16640 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16641 if test "${ac_cv_type_uintptr_t+set}" = set; then
16642 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 cat >conftest.
$ac_ext <<_ACEOF
16647 cat confdefs.h
>>conftest.
$ac_ext
16648 cat >>conftest.
$ac_ext <<_ACEOF
16649 /* end confdefs.h. */
16650 #include <stdint.h>
16655 if ((uintptr_t *) 0)
16657 if (sizeof (uintptr_t))
16663 rm -f conftest.
$ac_objext
16664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16665 (eval $ac_compile) 2>conftest.er1
16667 grep -v '^ *+' conftest.er1
>conftest.err
16669 cat conftest.err
>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); } &&
16672 { ac_try
='test -z "$ac_c_werror_flag"
16673 || test ! -s conftest.err'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; } &&
16679 { ac_try
='test -s conftest.$ac_objext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 ac_cv_type_uintptr_t
=yes
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.
$ac_ext >&5
16690 ac_cv_type_uintptr_t
=no
16692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16694 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16695 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16696 if test $ac_cv_type_uintptr_t = yes; then
16698 cat >>confdefs.h
<<_ACEOF
16699 #define HAVE_UINTPTR_T 1
16706 # ------------------------------------- #
16707 # Checks for compiler characteristics. #
16708 # ------------------------------------- #
16710 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16711 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16712 if test "${ac_cv_c_const+set}" = set; then
16713 echo $ECHO_N "(cached) $ECHO_C" >&6
16715 cat >conftest.
$ac_ext <<_ACEOF
16718 cat confdefs.h
>>conftest.
$ac_ext
16719 cat >>conftest.
$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16725 /* FIXME: Include the comments suggested by Paul. */
16726 #ifndef __cplusplus
16727 /* Ultrix mips cc rejects this. */
16728 typedef int charset[2];
16730 /* SunOS 4.1.1 cc rejects this. */
16731 char const *const *ccp;
16733 /* NEC SVR4.0.2 mips cc rejects this. */
16734 struct point {int x, y;};
16735 static struct point const zero = {0,0};
16736 /* AIX XL C 1.02.0.0 rejects this.
16737 It does not let you subtract one const X* pointer from another in
16738 an arm of an if-expression whose if-part is not a constant
16740 const char *g = "string";
16741 ccp = &g + (g ? g-g : 0);
16742 /* HPUX 7.0 cc rejects these. */
16745 ccp = (char const *const *) p;
16746 { /* SCO 3.2v4 cc rejects this. */
16748 char const *s = 0 ? (char *) 0 : (char const *) 0;
16752 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16753 int x[] = {25, 17};
16754 const int *foo = &x[0];
16757 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16758 typedef const int *iptr;
16762 { /* AIX XL C 1.02.0.0 rejects this saying
16763 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16764 struct s { int j; const int *ap[3]; };
16765 struct s *b; b->j = 5;
16767 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16768 const int foo = 10;
16776 rm -f conftest.
$ac_objext
16777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16778 (eval $ac_compile) 2>conftest.er1
16780 grep -v '^ *+' conftest.er1
>conftest.err
16782 cat conftest.err
>&5
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); } &&
16785 { ac_try
='test -z "$ac_c_werror_flag"
16786 || test ! -s conftest.err'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; } &&
16792 { ac_try
='test -s conftest.$ac_objext'
16793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16794 (eval $ac_try) 2>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; }; then
16800 echo "$as_me: failed program was:" >&5
16801 sed 's/^/| /' conftest.
$ac_ext >&5
16805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16807 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16808 echo "${ECHO_T}$ac_cv_c_const" >&6
16809 if test $ac_cv_c_const = no
; then
16811 cat >>confdefs.h
<<\_ACEOF
16817 echo "$as_me:$LINENO: checking for inline" >&5
16818 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16819 if test "${ac_cv_c_inline+set}" = set; then
16820 echo $ECHO_N "(cached) $ECHO_C" >&6
16823 for ac_kw
in inline __inline__ __inline
; do
16824 cat >conftest.
$ac_ext <<_ACEOF
16827 cat confdefs.h
>>conftest.
$ac_ext
16828 cat >>conftest.
$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16830 #ifndef __cplusplus
16832 static $ac_kw foo_t static_foo () {return 0; }
16833 $ac_kw foo_t foo () {return 0; }
16837 rm -f conftest.
$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>conftest.er1
16841 grep -v '^ *+' conftest.er1
>conftest.err
16843 cat conftest.err
>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try
='test -z "$ac_c_werror_flag"
16847 || test ! -s conftest.err'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; } &&
16853 { ac_try
='test -s conftest.$ac_objext'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; }; then
16859 ac_cv_c_inline
=$ac_kw; break
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.
$ac_ext >&5
16865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16869 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16870 echo "${ECHO_T}$ac_cv_c_inline" >&6
16873 case $ac_cv_c_inline in
16876 case $ac_cv_c_inline in
16878 *) ac_val
=$ac_cv_c_inline;;
16880 cat >>confdefs.h
<<_ACEOF
16881 #ifndef __cplusplus
16882 #define inline $ac_val
16888 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16889 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16890 if test "${ac_cv_c_bigendian+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 # See if sys/param.h defines the BYTE_ORDER macro.
16894 cat >conftest.
$ac_ext <<_ACEOF
16897 cat confdefs.h
>>conftest.
$ac_ext
16898 cat >>conftest.
$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900 #include <sys/types.h>
16901 #include <sys/param.h>
16906 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16907 bogus endian macros
16914 rm -f conftest.
$ac_objext
16915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16916 (eval $ac_compile) 2>conftest.er1
16918 grep -v '^ *+' conftest.er1
>conftest.err
16920 cat conftest.err
>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try
='test -z "$ac_c_werror_flag"
16924 || test ! -s conftest.err'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; } &&
16930 { ac_try
='test -s conftest.$ac_objext'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; }; then
16936 # It does; now see whether it defined to BIG_ENDIAN or not.
16937 cat >conftest.
$ac_ext <<_ACEOF
16940 cat confdefs.h
>>conftest.
$ac_ext
16941 cat >>conftest.
$ac_ext <<_ACEOF
16942 /* end confdefs.h. */
16943 #include <sys/types.h>
16944 #include <sys/param.h>
16949 #if BYTE_ORDER != BIG_ENDIAN
16957 rm -f conftest.
$ac_objext
16958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16959 (eval $ac_compile) 2>conftest.er1
16961 grep -v '^ *+' conftest.er1
>conftest.err
16963 cat conftest.err
>&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); } &&
16966 { ac_try
='test -z "$ac_c_werror_flag"
16967 || test ! -s conftest.err'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; } &&
16973 { ac_try
='test -s conftest.$ac_objext'
16974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16975 (eval $ac_try) 2>&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); }; }; then
16979 ac_cv_c_bigendian
=yes
16981 echo "$as_me: failed program was:" >&5
16982 sed 's/^/| /' conftest.
$ac_ext >&5
16984 ac_cv_c_bigendian
=no
16986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16988 echo "$as_me: failed program was:" >&5
16989 sed 's/^/| /' conftest.
$ac_ext >&5
16991 # It does not; compile a test program.
16992 if test "$cross_compiling" = yes; then
16993 # try to guess the endianness by grepping values into an object file
16994 ac_cv_c_bigendian
=unknown
16995 cat >conftest.
$ac_ext <<_ACEOF
16998 cat confdefs.h
>>conftest.
$ac_ext
16999 cat >>conftest.
$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17002 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17003 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
17004 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17005 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17006 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
17010 _ascii (); _ebcdic ();
17015 rm -f conftest.
$ac_objext
17016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17017 (eval $ac_compile) 2>conftest.er1
17019 grep -v '^ *+' conftest.er1
>conftest.err
17021 cat conftest.err
>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); } &&
17024 { ac_try
='test -z "$ac_c_werror_flag"
17025 || test ! -s conftest.err'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; } &&
17031 { ac_try
='test -s conftest.$ac_objext'
17032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17033 (eval $ac_try) 2>&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }; }; then
17037 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
17038 ac_cv_c_bigendian
=yes
17040 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
17041 if test "$ac_cv_c_bigendian" = unknown
; then
17042 ac_cv_c_bigendian
=no
17044 # finding both strings is unlikely to happen, but who knows?
17045 ac_cv_c_bigendian
=unknown
17049 echo "$as_me: failed program was:" >&5
17050 sed 's/^/| /' conftest.
$ac_ext >&5
17053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17055 cat >conftest.
$ac_ext <<_ACEOF
17058 cat confdefs.h
>>conftest.
$ac_ext
17059 cat >>conftest.
$ac_ext <<_ACEOF
17060 /* end confdefs.h. */
17064 /* Are we little or big endian? From Harbison&Steele. */
17068 char c[sizeof (long)];
17071 exit (u.c[sizeof (long) - 1] == 1);
17074 rm -f conftest
$ac_exeext
17075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17076 (eval $ac_link) 2>&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; }; then
17085 ac_cv_c_bigendian
=no
17087 echo "$as_me: program exited with status $ac_status" >&5
17088 echo "$as_me: failed program was:" >&5
17089 sed 's/^/| /' conftest.
$ac_ext >&5
17091 ( exit $ac_status )
17092 ac_cv_c_bigendian
=yes
17094 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17099 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17100 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17101 case $ac_cv_c_bigendian in
17104 cat >>confdefs.h
<<\_ACEOF
17105 #define WORDS_BIGENDIAN 1
17111 { { echo "$as_me:$LINENO: error: unknown endianness
17112 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
17113 echo "$as_me: error: unknown endianness
17114 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
17115 { (exit 1); exit 1; }; } ;;
17119 # ------------------------------ #
17120 # Checks for library functions. #
17121 # ------------------------------ #
17123 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
17124 # for constant arguments. Useless!
17125 echo "$as_me:$LINENO: checking for working alloca.h" >&5
17126 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
17127 if test "${ac_cv_working_alloca_h+set}" = set; then
17128 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 cat >conftest.
$ac_ext <<_ACEOF
17133 cat confdefs.h
>>conftest.
$ac_ext
17134 cat >>conftest.
$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 #include <alloca.h>
17140 char *p = (char *) alloca (2 * sizeof (int));
17145 rm -f conftest.
$ac_objext conftest
$ac_exeext
17146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17147 (eval $ac_link) 2>conftest.er1
17149 grep -v '^ *+' conftest.er1
>conftest.err
17151 cat conftest.err
>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } &&
17154 { ac_try
='test -z "$ac_c_werror_flag"
17155 || test ! -s conftest.err'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; } &&
17161 { ac_try
='test -s conftest$ac_exeext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17167 ac_cv_working_alloca_h
=yes
17169 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.
$ac_ext >&5
17172 ac_cv_working_alloca_h
=no
17174 rm -f conftest.err conftest.
$ac_objext \
17175 conftest
$ac_exeext conftest.
$ac_ext
17177 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
17178 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
17179 if test $ac_cv_working_alloca_h = yes; then
17181 cat >>confdefs.h
<<\_ACEOF
17182 #define HAVE_ALLOCA_H 1
17187 echo "$as_me:$LINENO: checking for alloca" >&5
17188 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
17189 if test "${ac_cv_func_alloca_works+set}" = set; then
17190 echo $ECHO_N "(cached) $ECHO_C" >&6
17192 cat >conftest.
$ac_ext <<_ACEOF
17195 cat confdefs.h
>>conftest.
$ac_ext
17196 cat >>conftest.
$ac_ext <<_ACEOF
17197 /* end confdefs.h. */
17199 # define alloca __builtin_alloca
17202 # include <malloc.h>
17203 # define alloca _alloca
17206 # include <alloca.h>
17211 # ifndef alloca /* predefined by HP cc +Olibcalls */
17222 char *p = (char *) alloca (1);
17227 rm -f conftest.
$ac_objext conftest
$ac_exeext
17228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17229 (eval $ac_link) 2>conftest.er1
17231 grep -v '^ *+' conftest.er1
>conftest.err
17233 cat conftest.err
>&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); } &&
17236 { ac_try
='test -z "$ac_c_werror_flag"
17237 || test ! -s conftest.err'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; } &&
17243 { ac_try
='test -s conftest$ac_exeext'
17244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17245 (eval $ac_try) 2>&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; }; then
17249 ac_cv_func_alloca_works
=yes
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.
$ac_ext >&5
17254 ac_cv_func_alloca_works
=no
17256 rm -f conftest.err conftest.
$ac_objext \
17257 conftest
$ac_exeext conftest.
$ac_ext
17259 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
17260 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
17262 if test $ac_cv_func_alloca_works = yes; then
17264 cat >>confdefs.h
<<\_ACEOF
17265 #define HAVE_ALLOCA 1
17269 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
17270 # that cause trouble. Some versions do not even contain alloca or
17271 # contain a buggy version. If you still want to use their alloca,
17272 # use ar to extract alloca.o from them instead of compiling alloca.c.
17274 ALLOCA
=alloca.
$ac_objext
17276 cat >>confdefs.h
<<\_ACEOF
17281 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
17282 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
17283 if test "${ac_cv_os_cray+set}" = set; then
17284 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 cat >conftest.
$ac_ext <<_ACEOF
17289 cat confdefs.h
>>conftest.
$ac_ext
17290 cat >>conftest.
$ac_ext <<_ACEOF
17291 /* end confdefs.h. */
17292 #if defined(CRAY) && ! defined(CRAY2)
17299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17300 $EGREP "webecray" >/dev
/null
2>&1; then
17308 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
17309 echo "${ECHO_T}$ac_cv_os_cray" >&6
17310 if test $ac_cv_os_cray = yes; then
17311 for ac_func
in _getb67 GETB67 getb67
; do
17312 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17313 echo "$as_me:$LINENO: checking for $ac_func" >&5
17314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17315 if eval "test \"\${$as_ac_var+set}\" = set"; then
17316 echo $ECHO_N "(cached) $ECHO_C" >&6
17318 cat >conftest.
$ac_ext <<_ACEOF
17321 cat confdefs.h
>>conftest.
$ac_ext
17322 cat >>conftest.
$ac_ext <<_ACEOF
17323 /* end confdefs.h. */
17324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17326 #define $ac_func innocuous_$ac_func
17328 /* System header to define __stub macros and hopefully few prototypes,
17329 which can conflict with char $ac_func (); below.
17330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17331 <limits.h> exists even on freestanding compilers. */
17334 # include <limits.h>
17336 # include <assert.h>
17341 /* Override any gcc2 internal prototype to avoid an error. */
17346 /* We use char because int might match the return type of a gcc2
17347 builtin and then its argument prototype would still apply. */
17349 /* The GNU C library defines this for functions which it implements
17350 to always fail with ENOSYS. Some functions are actually named
17351 something starting with __ and the normal name is an alias. */
17352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17355 char (*f) () = $ac_func;
17364 return f != $ac_func;
17369 rm -f conftest.
$ac_objext conftest
$ac_exeext
17370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17371 (eval $ac_link) 2>conftest.er1
17373 grep -v '^ *+' conftest.er1
>conftest.err
17375 cat conftest.err
>&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); } &&
17378 { ac_try
='test -z "$ac_c_werror_flag"
17379 || test ! -s conftest.err'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; } &&
17385 { ac_try
='test -s conftest$ac_exeext'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; }; then
17391 eval "$as_ac_var=yes"
17393 echo "$as_me: failed program was:" >&5
17394 sed 's/^/| /' conftest.
$ac_ext >&5
17396 eval "$as_ac_var=no"
17398 rm -f conftest.err conftest.
$ac_objext \
17399 conftest
$ac_exeext conftest.
$ac_ext
17401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17403 if test `eval echo '${'$as_ac_var'}'` = yes; then
17405 cat >>confdefs.h
<<_ACEOF
17406 #define CRAY_STACKSEG_END $ac_func
17415 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
17416 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
17417 if test "${ac_cv_c_stack_direction+set}" = set; then
17418 echo $ECHO_N "(cached) $ECHO_C" >&6
17420 if test "$cross_compiling" = yes; then
17421 ac_cv_c_stack_direction
=0
17423 cat >conftest.
$ac_ext <<_ACEOF
17426 cat confdefs.h
>>conftest.
$ac_ext
17427 cat >>conftest.
$ac_ext <<_ACEOF
17428 /* end confdefs.h. */
17430 find_stack_direction ()
17432 static char *addr = 0;
17437 return find_stack_direction ();
17440 return (&dummy > addr) ? 1 : -1;
17446 exit (find_stack_direction () < 0);
17449 rm -f conftest
$ac_exeext
17450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17451 (eval $ac_link) 2>&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; }; then
17460 ac_cv_c_stack_direction
=1
17462 echo "$as_me: program exited with status $ac_status" >&5
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.
$ac_ext >&5
17466 ( exit $ac_status )
17467 ac_cv_c_stack_direction
=-1
17469 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17472 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
17473 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
17475 cat >>confdefs.h
<<_ACEOF
17476 #define STACK_DIRECTION $ac_cv_c_stack_direction
17484 for ac_header
in stdlib.h unistd.h
17486 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17488 echo "$as_me:$LINENO: checking for $ac_header" >&5
17489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17491 echo $ECHO_N "(cached) $ECHO_C" >&6
17493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17496 # Is the header compilable?
17497 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17498 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17499 cat >conftest.
$ac_ext <<_ACEOF
17502 cat confdefs.h
>>conftest.
$ac_ext
17503 cat >>conftest.
$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17505 $ac_includes_default
17506 #include <$ac_header>
17508 rm -f conftest.
$ac_objext
17509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17510 (eval $ac_compile) 2>conftest.er1
17512 grep -v '^ *+' conftest.er1
>conftest.err
17514 cat conftest.err
>&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } &&
17517 { ac_try
='test -z "$ac_c_werror_flag"
17518 || test ! -s conftest.err'
17519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17520 (eval $ac_try) 2>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; } &&
17524 { ac_try
='test -s conftest.$ac_objext'
17525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17526 (eval $ac_try) 2>&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); }; }; then
17530 ac_header_compiler
=yes
17532 echo "$as_me: failed program was:" >&5
17533 sed 's/^/| /' conftest.
$ac_ext >&5
17535 ac_header_compiler
=no
17537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17538 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17539 echo "${ECHO_T}$ac_header_compiler" >&6
17541 # Is the header present?
17542 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17543 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17544 cat >conftest.
$ac_ext <<_ACEOF
17547 cat confdefs.h
>>conftest.
$ac_ext
17548 cat >>conftest.
$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17550 #include <$ac_header>
17552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17553 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17555 grep -v '^ *+' conftest.er1
>conftest.err
17557 cat conftest.err
>&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } >/dev
/null
; then
17560 if test -s conftest.err
; then
17561 ac_cpp_err
=$ac_c_preproc_warn_flag
17562 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17569 if test -z "$ac_cpp_err"; then
17570 ac_header_preproc
=yes
17572 echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.
$ac_ext >&5
17575 ac_header_preproc
=no
17577 rm -f conftest.err conftest.
$ac_ext
17578 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17579 echo "${ECHO_T}$ac_header_preproc" >&6
17581 # So? What about this header?
17582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17587 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17588 ac_header_preproc
=yes
17591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17596 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17598 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17600 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17602 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17605 ## ------------------------------------------ ##
17606 ## Report this to the AC_PACKAGE_NAME lists. ##
17607 ## ------------------------------------------ ##
17610 sed "s/^/$as_me: WARNING: /" >&2
17613 echo "$as_me:$LINENO: checking for $ac_header" >&5
17614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17616 echo $ECHO_N "(cached) $ECHO_C" >&6
17618 eval "$as_ac_Header=\$ac_header_preproc"
17620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17625 cat >>confdefs.h
<<_ACEOF
17626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17634 for ac_func
in getpagesize
17636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17637 echo "$as_me:$LINENO: checking for $ac_func" >&5
17638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17639 if eval "test \"\${$as_ac_var+set}\" = set"; then
17640 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 cat >conftest.
$ac_ext <<_ACEOF
17645 cat confdefs.h
>>conftest.
$ac_ext
17646 cat >>conftest.
$ac_ext <<_ACEOF
17647 /* end confdefs.h. */
17648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17650 #define $ac_func innocuous_$ac_func
17652 /* System header to define __stub macros and hopefully few prototypes,
17653 which can conflict with char $ac_func (); below.
17654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17655 <limits.h> exists even on freestanding compilers. */
17658 # include <limits.h>
17660 # include <assert.h>
17665 /* Override any gcc2 internal prototype to avoid an error. */
17670 /* We use char because int might match the return type of a gcc2
17671 builtin and then its argument prototype would still apply. */
17673 /* The GNU C library defines this for functions which it implements
17674 to always fail with ENOSYS. Some functions are actually named
17675 something starting with __ and the normal name is an alias. */
17676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17679 char (*f) () = $ac_func;
17688 return f != $ac_func;
17693 rm -f conftest.
$ac_objext conftest
$ac_exeext
17694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17695 (eval $ac_link) 2>conftest.er1
17697 grep -v '^ *+' conftest.er1
>conftest.err
17699 cat conftest.err
>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } &&
17702 { ac_try
='test -z "$ac_c_werror_flag"
17703 || test ! -s conftest.err'
17704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17705 (eval $ac_try) 2>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); }; } &&
17709 { ac_try
='test -s conftest$ac_exeext'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; }; then
17715 eval "$as_ac_var=yes"
17717 echo "$as_me: failed program was:" >&5
17718 sed 's/^/| /' conftest.
$ac_ext >&5
17720 eval "$as_ac_var=no"
17722 rm -f conftest.err conftest.
$ac_objext \
17723 conftest
$ac_exeext conftest.
$ac_ext
17725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17727 if test `eval echo '${'$as_ac_var'}'` = yes; then
17728 cat >>confdefs.h
<<_ACEOF
17729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17735 echo "$as_me:$LINENO: checking for working mmap" >&5
17736 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
17737 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 if test "$cross_compiling" = yes; then
17741 ac_cv_func_mmap_fixed_mapped
=no
17743 cat >conftest.
$ac_ext <<_ACEOF
17746 cat confdefs.h
>>conftest.
$ac_ext
17747 cat >>conftest.
$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17749 $ac_includes_default
17750 /* malloc might have been renamed as rpl_malloc. */
17753 /* Thanks to Mike Haertel and Jim Avera for this test.
17754 Here is a matrix of mmap possibilities:
17755 mmap private not fixed
17756 mmap private fixed at somewhere currently unmapped
17757 mmap private fixed at somewhere already mapped
17758 mmap shared not fixed
17759 mmap shared fixed at somewhere currently unmapped
17760 mmap shared fixed at somewhere already mapped
17761 For private mappings, we should verify that changes cannot be read()
17762 back from the file, nor mmap's back from the file at a different
17763 address. (There have been systems where private was not correctly
17764 implemented like the infamous i386 svr4.0, and systems where the
17765 VM page cache was not coherent with the file system buffer cache
17766 like early versions of FreeBSD and possibly contemporary NetBSD.)
17767 For shared mappings, we should conversely verify that changes get
17768 propagated back to all the places they're supposed to be.
17770 Grep wants private fixed already mapped.
17771 The main things grep needs to know about mmap are:
17772 * does it exist and is it safe to write into the mmap'd area
17773 * how to use it (BSD variants) */
17776 #include <sys/mman.h>
17778 #if !STDC_HEADERS && !HAVE_STDLIB_H
17782 /* This mess was copied from the GNU getpagesize.h. */
17783 #if !HAVE_GETPAGESIZE
17784 /* Assume that all systems that can run configure have sys/param.h. */
17785 # if !HAVE_SYS_PARAM_H
17786 # define HAVE_SYS_PARAM_H 1
17789 # ifdef _SC_PAGESIZE
17790 # define getpagesize() sysconf(_SC_PAGESIZE)
17791 # else /* no _SC_PAGESIZE */
17792 # if HAVE_SYS_PARAM_H
17793 # include <sys/param.h>
17794 # ifdef EXEC_PAGESIZE
17795 # define getpagesize() EXEC_PAGESIZE
17796 # else /* no EXEC_PAGESIZE */
17798 # define getpagesize() NBPG * CLSIZE
17801 # endif /* no CLSIZE */
17802 # else /* no NBPG */
17804 # define getpagesize() NBPC
17805 # else /* no NBPC */
17807 # define getpagesize() PAGESIZE
17808 # endif /* PAGESIZE */
17809 # endif /* no NBPC */
17810 # endif /* no NBPG */
17811 # endif /* no EXEC_PAGESIZE */
17812 # else /* no HAVE_SYS_PARAM_H */
17813 # define getpagesize() 8192 /* punt totally */
17814 # endif /* no HAVE_SYS_PARAM_H */
17815 # endif /* no _SC_PAGESIZE */
17817 #endif /* no HAVE_GETPAGESIZE */
17822 char *data, *data2, *data3;
17826 pagesize = getpagesize ();
17828 /* First, make a file with some known garbage in it. */
17829 data = (char *) malloc (pagesize);
17832 for (i = 0; i < pagesize; ++i)
17833 *(data + i) = rand ();
17835 fd = creat ("conftest.mmap", 0600);
17838 if (write (fd, data, pagesize) != pagesize)
17842 /* Next, try to mmap the file at a fixed address which already has
17843 something else allocated at it. If we can, also make sure that
17844 we see the same garbage. */
17845 fd = open ("conftest.mmap", O_RDWR);
17848 data2 = (char *) malloc (2 * pagesize);
17851 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
17852 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
17853 MAP_PRIVATE | MAP_FIXED, fd, 0L))
17855 for (i = 0; i < pagesize; ++i)
17856 if (*(data + i) != *(data2 + i))
17859 /* Finally, make sure that changes to the mapped area do not
17860 percolate back to the file as seen by read(). (This is a bug on
17861 some variants of i386 svr4.0.) */
17862 for (i = 0; i < pagesize; ++i)
17863 *(data2 + i) = *(data2 + i) + 1;
17864 data3 = (char *) malloc (pagesize);
17867 if (read (fd, data3, pagesize) != pagesize)
17869 for (i = 0; i < pagesize; ++i)
17870 if (*(data + i) != *(data3 + i))
17876 rm -f conftest
$ac_exeext
17877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17878 (eval $ac_link) 2>&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17883 (eval $ac_try) 2>&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); }; }; then
17887 ac_cv_func_mmap_fixed_mapped
=yes
17889 echo "$as_me: program exited with status $ac_status" >&5
17890 echo "$as_me: failed program was:" >&5
17891 sed 's/^/| /' conftest.
$ac_ext >&5
17893 ( exit $ac_status )
17894 ac_cv_func_mmap_fixed_mapped
=no
17896 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17899 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
17900 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
17901 if test $ac_cv_func_mmap_fixed_mapped = yes; then
17903 cat >>confdefs.h
<<\_ACEOF
17904 #define HAVE_MMAP 1
17908 rm -f conftest.mmap
17910 echo "$as_me:$LINENO: checking for pid_t" >&5
17911 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17912 if test "${ac_cv_type_pid_t+set}" = set; then
17913 echo $ECHO_N "(cached) $ECHO_C" >&6
17915 cat >conftest.
$ac_ext <<_ACEOF
17918 cat confdefs.h
>>conftest.
$ac_ext
17919 cat >>conftest.
$ac_ext <<_ACEOF
17920 /* end confdefs.h. */
17921 $ac_includes_default
17927 if (sizeof (pid_t))
17933 rm -f conftest.
$ac_objext
17934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17935 (eval $ac_compile) 2>conftest.er1
17937 grep -v '^ *+' conftest.er1
>conftest.err
17939 cat conftest.err
>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } &&
17942 { ac_try
='test -z "$ac_c_werror_flag"
17943 || test ! -s conftest.err'
17944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17945 (eval $ac_try) 2>&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); }; } &&
17949 { ac_try
='test -s conftest.$ac_objext'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; }; then
17955 ac_cv_type_pid_t
=yes
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.
$ac_ext >&5
17960 ac_cv_type_pid_t
=no
17962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17964 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17965 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17966 if test $ac_cv_type_pid_t = yes; then
17970 cat >>confdefs.h
<<_ACEOF
17978 for ac_header
in unistd.h vfork.h
17980 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17982 echo "$as_me:$LINENO: checking for $ac_header" >&5
17983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17985 echo $ECHO_N "(cached) $ECHO_C" >&6
17987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17990 # Is the header compilable?
17991 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17992 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17993 cat >conftest.
$ac_ext <<_ACEOF
17996 cat confdefs.h
>>conftest.
$ac_ext
17997 cat >>conftest.
$ac_ext <<_ACEOF
17998 /* end confdefs.h. */
17999 $ac_includes_default
18000 #include <$ac_header>
18002 rm -f conftest.
$ac_objext
18003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18004 (eval $ac_compile) 2>conftest.er1
18006 grep -v '^ *+' conftest.er1
>conftest.err
18008 cat conftest.err
>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } &&
18011 { ac_try
='test -z "$ac_c_werror_flag"
18012 || test ! -s conftest.err'
18013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18014 (eval $ac_try) 2>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); }; } &&
18018 { ac_try
='test -s conftest.$ac_objext'
18019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18020 (eval $ac_try) 2>&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); }; }; then
18024 ac_header_compiler
=yes
18026 echo "$as_me: failed program was:" >&5
18027 sed 's/^/| /' conftest.
$ac_ext >&5
18029 ac_header_compiler
=no
18031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18032 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18033 echo "${ECHO_T}$ac_header_compiler" >&6
18035 # Is the header present?
18036 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18037 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18038 cat >conftest.
$ac_ext <<_ACEOF
18041 cat confdefs.h
>>conftest.
$ac_ext
18042 cat >>conftest.
$ac_ext <<_ACEOF
18043 /* end confdefs.h. */
18044 #include <$ac_header>
18046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18047 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18049 grep -v '^ *+' conftest.er1
>conftest.err
18051 cat conftest.err
>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } >/dev
/null
; then
18054 if test -s conftest.err
; then
18055 ac_cpp_err
=$ac_c_preproc_warn_flag
18056 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18063 if test -z "$ac_cpp_err"; then
18064 ac_header_preproc
=yes
18066 echo "$as_me: failed program was:" >&5
18067 sed 's/^/| /' conftest.
$ac_ext >&5
18069 ac_header_preproc
=no
18071 rm -f conftest.err conftest.
$ac_ext
18072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18073 echo "${ECHO_T}$ac_header_preproc" >&6
18075 # So? What about this header?
18076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18079 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18081 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18082 ac_header_preproc
=yes
18085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18089 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18090 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18091 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18092 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18094 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18095 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18096 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18099 ## ------------------------------------------ ##
18100 ## Report this to the AC_PACKAGE_NAME lists. ##
18101 ## ------------------------------------------ ##
18104 sed "s/^/$as_me: WARNING: /" >&2
18107 echo "$as_me:$LINENO: checking for $ac_header" >&5
18108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18110 echo $ECHO_N "(cached) $ECHO_C" >&6
18112 eval "$as_ac_Header=\$ac_header_preproc"
18114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18119 cat >>confdefs.h
<<_ACEOF
18120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18129 for ac_func
in fork vfork
18131 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18132 echo "$as_me:$LINENO: checking for $ac_func" >&5
18133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18134 if eval "test \"\${$as_ac_var+set}\" = set"; then
18135 echo $ECHO_N "(cached) $ECHO_C" >&6
18137 cat >conftest.
$ac_ext <<_ACEOF
18140 cat confdefs.h
>>conftest.
$ac_ext
18141 cat >>conftest.
$ac_ext <<_ACEOF
18142 /* end confdefs.h. */
18143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18145 #define $ac_func innocuous_$ac_func
18147 /* System header to define __stub macros and hopefully few prototypes,
18148 which can conflict with char $ac_func (); below.
18149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18150 <limits.h> exists even on freestanding compilers. */
18153 # include <limits.h>
18155 # include <assert.h>
18160 /* Override any gcc2 internal prototype to avoid an error. */
18165 /* We use char because int might match the return type of a gcc2
18166 builtin and then its argument prototype would still apply. */
18168 /* The GNU C library defines this for functions which it implements
18169 to always fail with ENOSYS. Some functions are actually named
18170 something starting with __ and the normal name is an alias. */
18171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18174 char (*f) () = $ac_func;
18183 return f != $ac_func;
18188 rm -f conftest.
$ac_objext conftest
$ac_exeext
18189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18190 (eval $ac_link) 2>conftest.er1
18192 grep -v '^ *+' conftest.er1
>conftest.err
18194 cat conftest.err
>&5
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); } &&
18197 { ac_try
='test -z "$ac_c_werror_flag"
18198 || test ! -s conftest.err'
18199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18200 (eval $ac_try) 2>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); }; } &&
18204 { ac_try
='test -s conftest$ac_exeext'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; }; then
18210 eval "$as_ac_var=yes"
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.
$ac_ext >&5
18215 eval "$as_ac_var=no"
18217 rm -f conftest.err conftest.
$ac_objext \
18218 conftest
$ac_exeext conftest.
$ac_ext
18220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18222 if test `eval echo '${'$as_ac_var'}'` = yes; then
18223 cat >>confdefs.h
<<_ACEOF
18224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18230 if test "x$ac_cv_func_fork" = xyes
; then
18231 echo "$as_me:$LINENO: checking for working fork" >&5
18232 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
18233 if test "${ac_cv_func_fork_works+set}" = set; then
18234 echo $ECHO_N "(cached) $ECHO_C" >&6
18236 if test "$cross_compiling" = yes; then
18237 ac_cv_func_fork_works
=cross
18239 cat >conftest.
$ac_ext <<_ACEOF
18240 /* By Ruediger Kuhlmann. */
18241 #include <sys/types.h>
18243 # include <unistd.h>
18245 /* Some systems only have a dummy stub for fork() */
18253 rm -f conftest
$ac_exeext
18254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18255 (eval $ac_link) 2>&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18260 (eval $ac_try) 2>&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); }; }; then
18264 ac_cv_func_fork_works
=yes
18266 echo "$as_me: program exited with status $ac_status" >&5
18267 echo "$as_me: failed program was:" >&5
18268 sed 's/^/| /' conftest.
$ac_ext >&5
18270 ( exit $ac_status )
18271 ac_cv_func_fork_works
=no
18273 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18276 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
18277 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
18280 ac_cv_func_fork_works
=$ac_cv_func_fork
18282 if test "x$ac_cv_func_fork_works" = xcross
; then
18284 *-*-amigaos* |
*-*-msdosdjgpp*)
18285 # Override, as these systems have only a dummy fork() stub
18286 ac_cv_func_fork_works
=no
18289 ac_cv_func_fork_works
=yes
18292 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
18293 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
18295 ac_cv_func_vfork_works
=$ac_cv_func_vfork
18296 if test "x$ac_cv_func_vfork" = xyes
; then
18297 echo "$as_me:$LINENO: checking for working vfork" >&5
18298 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
18299 if test "${ac_cv_func_vfork_works+set}" = set; then
18300 echo $ECHO_N "(cached) $ECHO_C" >&6
18302 if test "$cross_compiling" = yes; then
18303 ac_cv_func_vfork_works
=cross
18305 cat >conftest.
$ac_ext <<_ACEOF
18308 cat confdefs.h
>>conftest.
$ac_ext
18309 cat >>conftest.
$ac_ext <<_ACEOF
18310 /* end confdefs.h. */
18311 /* Thanks to Paul Eggert for this test. */
18313 #include <stdlib.h>
18314 #include <sys/types.h>
18315 #include <sys/stat.h>
18316 #include <sys/wait.h>
18318 # include <unistd.h>
18321 # include <vfork.h>
18323 /* On some sparc systems, changes by the child to local and incoming
18324 argument registers are propagated back to the parent. The compiler
18325 is told about this with #include <vfork.h>, but some compilers
18326 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
18327 static variable whose address is put into a register that is
18328 clobbered by the vfork. */
18331 sparc_address_test (int arg)
18333 sparc_address_test (arg) int arg;
18336 static pid_t child;
18354 pid_t parent = getpid ();
18357 sparc_address_test (0);
18362 /* Here is another test for sparc vfork register problems. This
18363 test uses lots of local variables, at least as many local
18364 variables as main has allocated so far including compiler
18365 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
18366 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
18367 reuse the register of parent for one of the local variables,
18368 since it will think that parent can't possibly be used any more
18369 in this routine. Assigning to the local variable will thus
18370 munge parent in the parent process. */
18372 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
18373 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
18374 /* Convince the compiler that p..p7 are live; otherwise, it might
18375 use the same hardware register for all 8 local variables. */
18376 if (p != p1 || p != p2 || p != p3 || p != p4
18377 || p != p5 || p != p6 || p != p7)
18380 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
18381 from child file descriptors. If the child closes a descriptor
18382 before it execs or exits, this munges the parent's descriptor
18383 as well. Test for this by closing stdout in the child. */
18384 _exit(close(fileno(stdout)) != 0);
18389 while (wait(&status) != child)
18392 /* Was there some problem with vforking? */
18395 /* Did the child fail? (This shouldn't happen.) */
18398 /* Did the vfork/compiler bug occur? */
18399 || parent != getpid()
18401 /* Did the file descriptor bug occur? */
18402 || fstat(fileno(stdout), &st) != 0
18407 rm -f conftest
$ac_exeext
18408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18409 (eval $ac_link) 2>&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 ac_cv_func_vfork_works
=yes
18420 echo "$as_me: program exited with status $ac_status" >&5
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.
$ac_ext >&5
18424 ( exit $ac_status )
18425 ac_cv_func_vfork_works
=no
18427 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18430 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
18431 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
18434 if test "x$ac_cv_func_fork_works" = xcross
; then
18435 ac_cv_func_vfork_works
=$ac_cv_func_vfork
18436 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
18437 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
18440 if test "x$ac_cv_func_vfork_works" = xyes
; then
18442 cat >>confdefs.h
<<\_ACEOF
18443 #define HAVE_WORKING_VFORK 1
18448 cat >>confdefs.h
<<\_ACEOF
18453 if test "x$ac_cv_func_fork_works" = xyes
; then
18455 cat >>confdefs.h
<<\_ACEOF
18456 #define HAVE_WORKING_FORK 1
18463 for ac_func
in canonicalize_file_name realpath
18465 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18466 echo "$as_me:$LINENO: checking for $ac_func" >&5
18467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18468 if eval "test \"\${$as_ac_var+set}\" = set"; then
18469 echo $ECHO_N "(cached) $ECHO_C" >&6
18471 cat >conftest.
$ac_ext <<_ACEOF
18474 cat confdefs.h
>>conftest.
$ac_ext
18475 cat >>conftest.
$ac_ext <<_ACEOF
18476 /* end confdefs.h. */
18477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18479 #define $ac_func innocuous_$ac_func
18481 /* System header to define __stub macros and hopefully few prototypes,
18482 which can conflict with char $ac_func (); below.
18483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18484 <limits.h> exists even on freestanding compilers. */
18487 # include <limits.h>
18489 # include <assert.h>
18494 /* Override any gcc2 internal prototype to avoid an error. */
18499 /* We use char because int might match the return type of a gcc2
18500 builtin and then its argument prototype would still apply. */
18502 /* The GNU C library defines this for functions which it implements
18503 to always fail with ENOSYS. Some functions are actually named
18504 something starting with __ and the normal name is an alias. */
18505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18508 char (*f) () = $ac_func;
18517 return f != $ac_func;
18522 rm -f conftest.
$ac_objext conftest
$ac_exeext
18523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18524 (eval $ac_link) 2>conftest.er1
18526 grep -v '^ *+' conftest.er1
>conftest.err
18528 cat conftest.err
>&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); } &&
18531 { ac_try
='test -z "$ac_c_werror_flag"
18532 || test ! -s conftest.err'
18533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534 (eval $ac_try) 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; } &&
18538 { ac_try
='test -s conftest$ac_exeext'
18539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18540 (eval $ac_try) 2>&5
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; }; then
18544 eval "$as_ac_var=yes"
18546 echo "$as_me: failed program was:" >&5
18547 sed 's/^/| /' conftest.
$ac_ext >&5
18549 eval "$as_ac_var=no"
18551 rm -f conftest.err conftest.
$ac_objext \
18552 conftest
$ac_exeext conftest.
$ac_ext
18554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18556 if test `eval echo '${'$as_ac_var'}'` = yes; then
18557 cat >>confdefs.h
<<_ACEOF
18558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18565 for ac_func
in getrusage
18567 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18568 echo "$as_me:$LINENO: checking for $ac_func" >&5
18569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18570 if eval "test \"\${$as_ac_var+set}\" = set"; then
18571 echo $ECHO_N "(cached) $ECHO_C" >&6
18573 cat >conftest.
$ac_ext <<_ACEOF
18576 cat confdefs.h
>>conftest.
$ac_ext
18577 cat >>conftest.
$ac_ext <<_ACEOF
18578 /* end confdefs.h. */
18579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18581 #define $ac_func innocuous_$ac_func
18583 /* System header to define __stub macros and hopefully few prototypes,
18584 which can conflict with char $ac_func (); below.
18585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18586 <limits.h> exists even on freestanding compilers. */
18589 # include <limits.h>
18591 # include <assert.h>
18596 /* Override any gcc2 internal prototype to avoid an error. */
18601 /* We use char because int might match the return type of a gcc2
18602 builtin and then its argument prototype would still apply. */
18604 /* The GNU C library defines this for functions which it implements
18605 to always fail with ENOSYS. Some functions are actually named
18606 something starting with __ and the normal name is an alias. */
18607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18610 char (*f) () = $ac_func;
18619 return f != $ac_func;
18624 rm -f conftest.
$ac_objext conftest
$ac_exeext
18625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18626 (eval $ac_link) 2>conftest.er1
18628 grep -v '^ *+' conftest.er1
>conftest.err
18630 cat conftest.err
>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } &&
18633 { ac_try
='test -z "$ac_c_werror_flag"
18634 || test ! -s conftest.err'
18635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636 (eval $ac_try) 2>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); }; } &&
18640 { ac_try
='test -s conftest$ac_exeext'
18641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18642 (eval $ac_try) 2>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); }; }; then
18646 eval "$as_ac_var=yes"
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.
$ac_ext >&5
18651 eval "$as_ac_var=no"
18653 rm -f conftest.err conftest.
$ac_objext \
18654 conftest
$ac_exeext conftest.
$ac_ext
18656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18658 if test `eval echo '${'$as_ac_var'}'` = yes; then
18659 cat >>confdefs.h
<<_ACEOF
18660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18668 for ac_func
in getuid getgid
18670 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18671 echo "$as_me:$LINENO: checking for $ac_func" >&5
18672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18673 if eval "test \"\${$as_ac_var+set}\" = set"; then
18674 echo $ECHO_N "(cached) $ECHO_C" >&6
18676 cat >conftest.
$ac_ext <<_ACEOF
18679 cat confdefs.h
>>conftest.
$ac_ext
18680 cat >>conftest.
$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18684 #define $ac_func innocuous_$ac_func
18686 /* System header to define __stub macros and hopefully few prototypes,
18687 which can conflict with char $ac_func (); below.
18688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18689 <limits.h> exists even on freestanding compilers. */
18692 # include <limits.h>
18694 # include <assert.h>
18699 /* Override any gcc2 internal prototype to avoid an error. */
18704 /* We use char because int might match the return type of a gcc2
18705 builtin and then its argument prototype would still apply. */
18707 /* The GNU C library defines this for functions which it implements
18708 to always fail with ENOSYS. Some functions are actually named
18709 something starting with __ and the normal name is an alias. */
18710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18713 char (*f) () = $ac_func;
18722 return f != $ac_func;
18727 rm -f conftest.
$ac_objext conftest
$ac_exeext
18728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18729 (eval $ac_link) 2>conftest.er1
18731 grep -v '^ *+' conftest.er1
>conftest.err
18733 cat conftest.err
>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); } &&
18736 { ac_try
='test -z "$ac_c_werror_flag"
18737 || test ! -s conftest.err'
18738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18739 (eval $ac_try) 2>&5
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); }; } &&
18743 { ac_try
='test -s conftest$ac_exeext'
18744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18745 (eval $ac_try) 2>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); }; }; then
18749 eval "$as_ac_var=yes"
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.
$ac_ext >&5
18754 eval "$as_ac_var=no"
18756 rm -f conftest.err conftest.
$ac_objext \
18757 conftest
$ac_exeext conftest.
$ac_ext
18759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18761 if test `eval echo '${'$as_ac_var'}'` = yes; then
18762 cat >>confdefs.h
<<_ACEOF
18763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18770 for ac_func
in poll
18772 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18773 echo "$as_me:$LINENO: checking for $ac_func" >&5
18774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18775 if eval "test \"\${$as_ac_var+set}\" = set"; then
18776 echo $ECHO_N "(cached) $ECHO_C" >&6
18778 cat >conftest.
$ac_ext <<_ACEOF
18781 cat confdefs.h
>>conftest.
$ac_ext
18782 cat >>conftest.
$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18786 #define $ac_func innocuous_$ac_func
18788 /* System header to define __stub macros and hopefully few prototypes,
18789 which can conflict with char $ac_func (); below.
18790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18791 <limits.h> exists even on freestanding compilers. */
18794 # include <limits.h>
18796 # include <assert.h>
18801 /* Override any gcc2 internal prototype to avoid an error. */
18806 /* We use char because int might match the return type of a gcc2
18807 builtin and then its argument prototype would still apply. */
18809 /* The GNU C library defines this for functions which it implements
18810 to always fail with ENOSYS. Some functions are actually named
18811 something starting with __ and the normal name is an alias. */
18812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18815 char (*f) () = $ac_func;
18824 return f != $ac_func;
18829 rm -f conftest.
$ac_objext conftest
$ac_exeext
18830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18831 (eval $ac_link) 2>conftest.er1
18833 grep -v '^ *+' conftest.er1
>conftest.err
18835 cat conftest.err
>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); } &&
18838 { ac_try
='test -z "$ac_c_werror_flag"
18839 || test ! -s conftest.err'
18840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18841 (eval $ac_try) 2>&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); }; } &&
18845 { ac_try
='test -s conftest$ac_exeext'
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847 (eval $ac_try) 2>&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; }; then
18851 eval "$as_ac_var=yes"
18853 echo "$as_me: failed program was:" >&5
18854 sed 's/^/| /' conftest.
$ac_ext >&5
18856 eval "$as_ac_var=no"
18858 rm -f conftest.err conftest.
$ac_objext \
18859 conftest
$ac_exeext conftest.
$ac_ext
18861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18863 if test `eval echo '${'$as_ac_var'}'` = yes; then
18864 cat >>confdefs.h
<<_ACEOF
18865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18872 for ac_func
in pread64
18874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18875 echo "$as_me:$LINENO: checking for $ac_func" >&5
18876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18877 if eval "test \"\${$as_ac_var+set}\" = set"; then
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 cat >conftest.
$ac_ext <<_ACEOF
18883 cat confdefs.h
>>conftest.
$ac_ext
18884 cat >>conftest.
$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18888 #define $ac_func innocuous_$ac_func
18890 /* System header to define __stub macros and hopefully few prototypes,
18891 which can conflict with char $ac_func (); below.
18892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18893 <limits.h> exists even on freestanding compilers. */
18896 # include <limits.h>
18898 # include <assert.h>
18903 /* Override any gcc2 internal prototype to avoid an error. */
18908 /* We use char because int might match the return type of a gcc2
18909 builtin and then its argument prototype would still apply. */
18911 /* The GNU C library defines this for functions which it implements
18912 to always fail with ENOSYS. Some functions are actually named
18913 something starting with __ and the normal name is an alias. */
18914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18917 char (*f) () = $ac_func;
18926 return f != $ac_func;
18931 rm -f conftest.
$ac_objext conftest
$ac_exeext
18932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18933 (eval $ac_link) 2>conftest.er1
18935 grep -v '^ *+' conftest.er1
>conftest.err
18937 cat conftest.err
>&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } &&
18940 { ac_try
='test -z "$ac_c_werror_flag"
18941 || test ! -s conftest.err'
18942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943 (eval $ac_try) 2>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); }; } &&
18947 { ac_try
='test -s conftest$ac_exeext'
18948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18949 (eval $ac_try) 2>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); }; }; then
18953 eval "$as_ac_var=yes"
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.
$ac_ext >&5
18958 eval "$as_ac_var=no"
18960 rm -f conftest.err conftest.
$ac_objext \
18961 conftest
$ac_exeext conftest.
$ac_ext
18963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18965 if test `eval echo '${'$as_ac_var'}'` = yes; then
18966 cat >>confdefs.h
<<_ACEOF
18967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18974 for ac_func
in sbrk
18976 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18977 echo "$as_me:$LINENO: checking for $ac_func" >&5
18978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18979 if eval "test \"\${$as_ac_var+set}\" = set"; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 cat >conftest.
$ac_ext <<_ACEOF
18985 cat confdefs.h
>>conftest.
$ac_ext
18986 cat >>conftest.
$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
18988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18990 #define $ac_func innocuous_$ac_func
18992 /* System header to define __stub macros and hopefully few prototypes,
18993 which can conflict with char $ac_func (); below.
18994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18995 <limits.h> exists even on freestanding compilers. */
18998 # include <limits.h>
19000 # include <assert.h>
19005 /* Override any gcc2 internal prototype to avoid an error. */
19010 /* We use char because int might match the return type of a gcc2
19011 builtin and then its argument prototype would still apply. */
19013 /* The GNU C library defines this for functions which it implements
19014 to always fail with ENOSYS. Some functions are actually named
19015 something starting with __ and the normal name is an alias. */
19016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19019 char (*f) () = $ac_func;
19028 return f != $ac_func;
19033 rm -f conftest.
$ac_objext conftest
$ac_exeext
19034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19035 (eval $ac_link) 2>conftest.er1
19037 grep -v '^ *+' conftest.er1
>conftest.err
19039 cat conftest.err
>&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); } &&
19042 { ac_try
='test -z "$ac_c_werror_flag"
19043 || test ! -s conftest.err'
19044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; } &&
19049 { ac_try
='test -s conftest$ac_exeext'
19050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19051 (eval $ac_try) 2>&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); }; }; then
19055 eval "$as_ac_var=yes"
19057 echo "$as_me: failed program was:" >&5
19058 sed 's/^/| /' conftest.
$ac_ext >&5
19060 eval "$as_ac_var=no"
19062 rm -f conftest.err conftest.
$ac_objext \
19063 conftest
$ac_exeext conftest.
$ac_ext
19065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19067 if test `eval echo '${'$as_ac_var'}'` = yes; then
19068 cat >>confdefs.h
<<_ACEOF
19069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19078 for ac_func
in setpgid setpgrp setsid
19080 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19081 echo "$as_me:$LINENO: checking for $ac_func" >&5
19082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19083 if eval "test \"\${$as_ac_var+set}\" = set"; then
19084 echo $ECHO_N "(cached) $ECHO_C" >&6
19086 cat >conftest.
$ac_ext <<_ACEOF
19089 cat confdefs.h
>>conftest.
$ac_ext
19090 cat >>conftest.
$ac_ext <<_ACEOF
19091 /* end confdefs.h. */
19092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19094 #define $ac_func innocuous_$ac_func
19096 /* System header to define __stub macros and hopefully few prototypes,
19097 which can conflict with char $ac_func (); below.
19098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19099 <limits.h> exists even on freestanding compilers. */
19102 # include <limits.h>
19104 # include <assert.h>
19109 /* Override any gcc2 internal prototype to avoid an error. */
19114 /* We use char because int might match the return type of a gcc2
19115 builtin and then its argument prototype would still apply. */
19117 /* The GNU C library defines this for functions which it implements
19118 to always fail with ENOSYS. Some functions are actually named
19119 something starting with __ and the normal name is an alias. */
19120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19123 char (*f) () = $ac_func;
19132 return f != $ac_func;
19137 rm -f conftest.
$ac_objext conftest
$ac_exeext
19138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19139 (eval $ac_link) 2>conftest.er1
19141 grep -v '^ *+' conftest.er1
>conftest.err
19143 cat conftest.err
>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); } &&
19146 { ac_try
='test -z "$ac_c_werror_flag"
19147 || test ! -s conftest.err'
19148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19149 (eval $ac_try) 2>&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; } &&
19153 { ac_try
='test -s conftest$ac_exeext'
19154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19155 (eval $ac_try) 2>&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); }; }; then
19159 eval "$as_ac_var=yes"
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.
$ac_ext >&5
19164 eval "$as_ac_var=no"
19166 rm -f conftest.err conftest.
$ac_objext \
19167 conftest
$ac_exeext conftest.
$ac_ext
19169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19171 if test `eval echo '${'$as_ac_var'}'` = yes; then
19172 cat >>confdefs.h
<<_ACEOF
19173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19182 for ac_func
in sigaction sigprocmask sigsetmask
19184 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19185 echo "$as_me:$LINENO: checking for $ac_func" >&5
19186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19187 if eval "test \"\${$as_ac_var+set}\" = set"; then
19188 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 cat >conftest.
$ac_ext <<_ACEOF
19193 cat confdefs.h
>>conftest.
$ac_ext
19194 cat >>conftest.
$ac_ext <<_ACEOF
19195 /* end confdefs.h. */
19196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19198 #define $ac_func innocuous_$ac_func
19200 /* System header to define __stub macros and hopefully few prototypes,
19201 which can conflict with char $ac_func (); below.
19202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19203 <limits.h> exists even on freestanding compilers. */
19206 # include <limits.h>
19208 # include <assert.h>
19213 /* Override any gcc2 internal prototype to avoid an error. */
19218 /* We use char because int might match the return type of a gcc2
19219 builtin and then its argument prototype would still apply. */
19221 /* The GNU C library defines this for functions which it implements
19222 to always fail with ENOSYS. Some functions are actually named
19223 something starting with __ and the normal name is an alias. */
19224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19227 char (*f) () = $ac_func;
19236 return f != $ac_func;
19241 rm -f conftest.
$ac_objext conftest
$ac_exeext
19242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19243 (eval $ac_link) 2>conftest.er1
19245 grep -v '^ *+' conftest.er1
>conftest.err
19247 cat conftest.err
>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); } &&
19250 { ac_try
='test -z "$ac_c_werror_flag"
19251 || test ! -s conftest.err'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; } &&
19257 { ac_try
='test -s conftest$ac_exeext'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; }; then
19263 eval "$as_ac_var=yes"
19265 echo "$as_me: failed program was:" >&5
19266 sed 's/^/| /' conftest.
$ac_ext >&5
19268 eval "$as_ac_var=no"
19270 rm -f conftest.err conftest.
$ac_objext \
19271 conftest
$ac_exeext conftest.
$ac_ext
19273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19275 if test `eval echo '${'$as_ac_var'}'` = yes; then
19276 cat >>confdefs.h
<<_ACEOF
19277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19284 for ac_func
in socketpair
19286 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19287 echo "$as_me:$LINENO: checking for $ac_func" >&5
19288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19289 if eval "test \"\${$as_ac_var+set}\" = set"; then
19290 echo $ECHO_N "(cached) $ECHO_C" >&6
19292 cat >conftest.
$ac_ext <<_ACEOF
19295 cat confdefs.h
>>conftest.
$ac_ext
19296 cat >>conftest.
$ac_ext <<_ACEOF
19297 /* end confdefs.h. */
19298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19300 #define $ac_func innocuous_$ac_func
19302 /* System header to define __stub macros and hopefully few prototypes,
19303 which can conflict with char $ac_func (); below.
19304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19305 <limits.h> exists even on freestanding compilers. */
19308 # include <limits.h>
19310 # include <assert.h>
19315 /* Override any gcc2 internal prototype to avoid an error. */
19320 /* We use char because int might match the return type of a gcc2
19321 builtin and then its argument prototype would still apply. */
19323 /* The GNU C library defines this for functions which it implements
19324 to always fail with ENOSYS. Some functions are actually named
19325 something starting with __ and the normal name is an alias. */
19326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19329 char (*f) () = $ac_func;
19338 return f != $ac_func;
19343 rm -f conftest.
$ac_objext conftest
$ac_exeext
19344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19345 (eval $ac_link) 2>conftest.er1
19347 grep -v '^ *+' conftest.er1
>conftest.err
19349 cat conftest.err
>&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); } &&
19352 { ac_try
='test -z "$ac_c_werror_flag"
19353 || test ! -s conftest.err'
19354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19355 (eval $ac_try) 2>&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); }; } &&
19359 { ac_try
='test -s conftest$ac_exeext'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; }; then
19365 eval "$as_ac_var=yes"
19367 echo "$as_me: failed program was:" >&5
19368 sed 's/^/| /' conftest.
$ac_ext >&5
19370 eval "$as_ac_var=no"
19372 rm -f conftest.err conftest.
$ac_objext \
19373 conftest
$ac_exeext conftest.
$ac_ext
19375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19377 if test `eval echo '${'$as_ac_var'}'` = yes; then
19378 cat >>confdefs.h
<<_ACEOF
19379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19386 for ac_func
in syscall
19388 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19389 echo "$as_me:$LINENO: checking for $ac_func" >&5
19390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19391 if eval "test \"\${$as_ac_var+set}\" = set"; then
19392 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 cat >conftest.
$ac_ext <<_ACEOF
19397 cat confdefs.h
>>conftest.
$ac_ext
19398 cat >>conftest.
$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19402 #define $ac_func innocuous_$ac_func
19404 /* System header to define __stub macros and hopefully few prototypes,
19405 which can conflict with char $ac_func (); below.
19406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19407 <limits.h> exists even on freestanding compilers. */
19410 # include <limits.h>
19412 # include <assert.h>
19417 /* Override any gcc2 internal prototype to avoid an error. */
19422 /* We use char because int might match the return type of a gcc2
19423 builtin and then its argument prototype would still apply. */
19425 /* The GNU C library defines this for functions which it implements
19426 to always fail with ENOSYS. Some functions are actually named
19427 something starting with __ and the normal name is an alias. */
19428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19431 char (*f) () = $ac_func;
19440 return f != $ac_func;
19445 rm -f conftest.
$ac_objext conftest
$ac_exeext
19446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19447 (eval $ac_link) 2>conftest.er1
19449 grep -v '^ *+' conftest.er1
>conftest.err
19451 cat conftest.err
>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } &&
19454 { ac_try
='test -z "$ac_c_werror_flag"
19455 || test ! -s conftest.err'
19456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19457 (eval $ac_try) 2>&5
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); }; } &&
19461 { ac_try
='test -s conftest$ac_exeext'
19462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19463 (eval $ac_try) 2>&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); }; }; then
19467 eval "$as_ac_var=yes"
19469 echo "$as_me: failed program was:" >&5
19470 sed 's/^/| /' conftest.
$ac_ext >&5
19472 eval "$as_ac_var=no"
19474 rm -f conftest.err conftest.
$ac_objext \
19475 conftest
$ac_exeext conftest.
$ac_ext
19477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19479 if test `eval echo '${'$as_ac_var'}'` = yes; then
19480 cat >>confdefs.h
<<_ACEOF
19481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19488 for ac_func
in ttrace
19490 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19491 echo "$as_me:$LINENO: checking for $ac_func" >&5
19492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19493 if eval "test \"\${$as_ac_var+set}\" = set"; then
19494 echo $ECHO_N "(cached) $ECHO_C" >&6
19496 cat >conftest.
$ac_ext <<_ACEOF
19499 cat confdefs.h
>>conftest.
$ac_ext
19500 cat >>conftest.
$ac_ext <<_ACEOF
19501 /* end confdefs.h. */
19502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19504 #define $ac_func innocuous_$ac_func
19506 /* System header to define __stub macros and hopefully few prototypes,
19507 which can conflict with char $ac_func (); below.
19508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19509 <limits.h> exists even on freestanding compilers. */
19512 # include <limits.h>
19514 # include <assert.h>
19519 /* Override any gcc2 internal prototype to avoid an error. */
19524 /* We use char because int might match the return type of a gcc2
19525 builtin and then its argument prototype would still apply. */
19527 /* The GNU C library defines this for functions which it implements
19528 to always fail with ENOSYS. Some functions are actually named
19529 something starting with __ and the normal name is an alias. */
19530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19533 char (*f) () = $ac_func;
19542 return f != $ac_func;
19547 rm -f conftest.
$ac_objext conftest
$ac_exeext
19548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19549 (eval $ac_link) 2>conftest.er1
19551 grep -v '^ *+' conftest.er1
>conftest.err
19553 cat conftest.err
>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } &&
19556 { ac_try
='test -z "$ac_c_werror_flag"
19557 || test ! -s conftest.err'
19558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559 (eval $ac_try) 2>&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; } &&
19563 { ac_try
='test -s conftest$ac_exeext'
19564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565 (eval $ac_try) 2>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; }; then
19569 eval "$as_ac_var=yes"
19571 echo "$as_me: failed program was:" >&5
19572 sed 's/^/| /' conftest.
$ac_ext >&5
19574 eval "$as_ac_var=no"
19576 rm -f conftest.err conftest.
$ac_objext \
19577 conftest
$ac_exeext conftest.
$ac_ext
19579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19581 if test `eval echo '${'$as_ac_var'}'` = yes; then
19582 cat >>confdefs.h
<<_ACEOF
19583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19590 for ac_func
in wborder
19592 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19593 echo "$as_me:$LINENO: checking for $ac_func" >&5
19594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19595 if eval "test \"\${$as_ac_var+set}\" = set"; then
19596 echo $ECHO_N "(cached) $ECHO_C" >&6
19598 cat >conftest.
$ac_ext <<_ACEOF
19601 cat confdefs.h
>>conftest.
$ac_ext
19602 cat >>conftest.
$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19606 #define $ac_func innocuous_$ac_func
19608 /* System header to define __stub macros and hopefully few prototypes,
19609 which can conflict with char $ac_func (); below.
19610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19611 <limits.h> exists even on freestanding compilers. */
19614 # include <limits.h>
19616 # include <assert.h>
19621 /* Override any gcc2 internal prototype to avoid an error. */
19626 /* We use char because int might match the return type of a gcc2
19627 builtin and then its argument prototype would still apply. */
19629 /* The GNU C library defines this for functions which it implements
19630 to always fail with ENOSYS. Some functions are actually named
19631 something starting with __ and the normal name is an alias. */
19632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19635 char (*f) () = $ac_func;
19644 return f != $ac_func;
19649 rm -f conftest.
$ac_objext conftest
$ac_exeext
19650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19651 (eval $ac_link) 2>conftest.er1
19653 grep -v '^ *+' conftest.er1
>conftest.err
19655 cat conftest.err
>&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); } &&
19658 { ac_try
='test -z "$ac_c_werror_flag"
19659 || test ! -s conftest.err'
19660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19661 (eval $ac_try) 2>&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); }; } &&
19665 { ac_try
='test -s conftest$ac_exeext'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; }; then
19671 eval "$as_ac_var=yes"
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.
$ac_ext >&5
19676 eval "$as_ac_var=no"
19678 rm -f conftest.err conftest.
$ac_objext \
19679 conftest
$ac_exeext conftest.
$ac_ext
19681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19683 if test `eval echo '${'$as_ac_var'}'` = yes; then
19684 cat >>confdefs.h
<<_ACEOF
19685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19692 # Check the return and argument types of ptrace. No canned test for
19693 # this, so roll our own.
19694 gdb_ptrace_headers
='
19695 #if HAVE_SYS_TYPES_H
19696 # include <sys/types.h>
19698 #if HAVE_SYS_PTRACE_H
19699 # include <sys/ptrace.h>
19702 # include <unistd.h>
19705 # There is no point in checking if we don't have a prototype.
19706 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
19707 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
19708 if test "${ac_cv_have_decl_ptrace+set}" = set; then
19709 echo $ECHO_N "(cached) $ECHO_C" >&6
19711 cat >conftest.
$ac_ext <<_ACEOF
19714 cat confdefs.h
>>conftest.
$ac_ext
19715 cat >>conftest.
$ac_ext <<_ACEOF
19716 /* end confdefs.h. */
19717 $gdb_ptrace_headers
19723 char *p = (char *) ptrace;
19730 rm -f conftest.
$ac_objext
19731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19732 (eval $ac_compile) 2>conftest.er1
19734 grep -v '^ *+' conftest.er1
>conftest.err
19736 cat conftest.err
>&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); } &&
19739 { ac_try
='test -z "$ac_c_werror_flag"
19740 || test ! -s conftest.err'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; } &&
19746 { ac_try
='test -s conftest.$ac_objext'
19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748 (eval $ac_try) 2>&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); }; }; then
19752 ac_cv_have_decl_ptrace
=yes
19754 echo "$as_me: failed program was:" >&5
19755 sed 's/^/| /' conftest.
$ac_ext >&5
19757 ac_cv_have_decl_ptrace
=no
19759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19761 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
19762 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
19763 if test $ac_cv_have_decl_ptrace = yes; then
19765 cat >>confdefs.h
<<_ACEOF
19766 #define HAVE_DECL_PTRACE 1
19771 cat >>confdefs.h
<<_ACEOF
19772 #define HAVE_DECL_PTRACE 0
19776 : ${gdb_cv_func_ptrace_ret='int'}
19777 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
19782 # Check return type.
19783 echo "$as_me:$LINENO: checking return type of ptrace" >&5
19784 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
19785 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
19786 echo $ECHO_N "(cached) $ECHO_C" >&6
19788 cat >conftest.
$ac_ext <<_ACEOF
19791 cat confdefs.h
>>conftest.
$ac_ext
19792 cat >>conftest.
$ac_ext <<_ACEOF
19793 /* end confdefs.h. */
19794 $gdb_ptrace_headers
19798 extern int ptrace ();
19803 rm -f conftest.
$ac_objext
19804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19805 (eval $ac_compile) 2>conftest.er1
19807 grep -v '^ *+' conftest.er1
>conftest.err
19809 cat conftest.err
>&5
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811 (exit $ac_status); } &&
19812 { ac_try
='test -z "$ac_c_werror_flag"
19813 || test ! -s conftest.err'
19814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19815 (eval $ac_try) 2>&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); }; } &&
19819 { ac_try
='test -s conftest.$ac_objext'
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821 (eval $ac_try) 2>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); }; }; then
19825 gdb_cv_func_ptrace_ret
='int'
19827 echo "$as_me: failed program was:" >&5
19828 sed 's/^/| /' conftest.
$ac_ext >&5
19830 gdb_cv_func_ptrace_ret
='long'
19832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19834 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
19835 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
19837 cat >>confdefs.h
<<_ACEOF
19838 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
19841 # Check argument types.
19842 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
19843 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
19844 if test "${gdb_cv_func_ptrace_args+set}" = set; then
19845 echo $ECHO_N "(cached) $ECHO_C" >&6
19848 for gdb_arg1
in 'int' 'long'; do
19849 for gdb_arg2
in 'pid_t' 'int' 'long'; do
19850 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long' 'void *'; do
19851 for gdb_arg4
in 'int' 'long'; do
19852 cat >conftest.
$ac_ext <<_ACEOF
19855 cat confdefs.h
>>conftest.
$ac_ext
19856 cat >>conftest.
$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 $gdb_ptrace_headers
19863 extern $gdb_cv_func_ptrace_ret
19864 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
19870 rm -f conftest.
$ac_objext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19872 (eval $ac_compile) 2>conftest.er1
19874 grep -v '^ *+' conftest.er1
>conftest.err
19876 cat conftest.err
>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } &&
19879 { ac_try
='test -z "$ac_c_werror_flag"
19880 || test ! -s conftest.err'
19881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19882 (eval $ac_try) 2>&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); }; } &&
19886 { ac_try
='test -s conftest.$ac_objext'
19887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888 (eval $ac_try) 2>&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); }; }; then
19892 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.
$ac_ext >&5
19899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19900 for gdb_arg5
in 'int *' 'int' 'long'; do
19901 cat >conftest.
$ac_ext <<_ACEOF
19904 cat confdefs.h
>>conftest.
$ac_ext
19905 cat >>conftest.
$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907 $gdb_ptrace_headers
19912 extern $gdb_cv_func_ptrace_ret
19913 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
19919 rm -f conftest.
$ac_objext
19920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19921 (eval $ac_compile) 2>conftest.er1
19923 grep -v '^ *+' conftest.er1
>conftest.err
19925 cat conftest.err
>&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); } &&
19928 { ac_try
='test -z "$ac_c_werror_flag"
19929 || test ! -s conftest.err'
19930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931 (eval $ac_try) 2>&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); }; } &&
19935 { ac_try
='test -s conftest.$ac_objext'
19936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19937 (eval $ac_try) 2>&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); }; }; then
19942 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.
$ac_ext >&5
19949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19955 # Provide a safe default value.
19956 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
19959 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
19960 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
19961 ac_save_IFS
=$IFS; IFS
=','
19962 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
19966 cat >>confdefs.h
<<_ACEOF
19967 #define PTRACE_TYPE_ARG3 $3
19970 if test -n "$5"; then
19972 cat >>confdefs.h
<<_ACEOF
19973 #define PTRACE_TYPE_ARG5 $5
19978 if test "$cross_compiling" = no
; then
19979 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
19980 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
19981 if test "${ac_cv_func_setpgrp_void+set}" = set; then
19982 echo $ECHO_N "(cached) $ECHO_C" >&6
19984 if test "$cross_compiling" = yes; then
19985 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
19986 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
19987 { (exit 1); exit 1; }; }
19989 cat >conftest.
$ac_ext <<_ACEOF
19992 cat confdefs.h
>>conftest.
$ac_ext
19993 cat >>conftest.
$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19996 # include <unistd.h>
20002 /* If this system has a BSD-style setpgrp which takes arguments,
20003 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
20004 exit successfully. */
20005 exit (setpgrp (1,1) == -1 ? 0 : 1);
20010 rm -f conftest
$ac_exeext
20011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20012 (eval $ac_link) 2>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20017 (eval $ac_try) 2>&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); }; }; then
20021 ac_cv_func_setpgrp_void
=no
20023 echo "$as_me: program exited with status $ac_status" >&5
20024 echo "$as_me: failed program was:" >&5
20025 sed 's/^/| /' conftest.
$ac_ext >&5
20027 ( exit $ac_status )
20028 ac_cv_func_setpgrp_void
=yes
20030 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20033 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
20034 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
20035 if test $ac_cv_func_setpgrp_void = yes; then
20037 cat >>confdefs.h
<<\_ACEOF
20038 #define SETPGRP_VOID 1
20044 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
20045 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
20046 if test "${ac_cv_func_setpgrp_void+set}" = set; then
20047 echo $ECHO_N "(cached) $ECHO_C" >&6
20049 cat >conftest.
$ac_ext <<_ACEOF
20052 cat confdefs.h
>>conftest.
$ac_ext
20053 cat >>conftest.
$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20056 #include <unistd.h>
20062 if (setpgrp(1,1) == -1)
20071 rm -f conftest.
$ac_objext
20072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20073 (eval $ac_compile) 2>conftest.er1
20075 grep -v '^ *+' conftest.er1
>conftest.err
20077 cat conftest.err
>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); } &&
20080 { ac_try
='test -z "$ac_c_werror_flag"
20081 || test ! -s conftest.err'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; } &&
20087 { ac_try
='test -s conftest.$ac_objext'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; }; then
20093 ac_cv_func_setpgrp_void
=no
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.
$ac_ext >&5
20098 ac_cv_func_setpgrp_void
=yes
20100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20102 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
20103 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
20104 if test $ac_cv_func_setpgrp_void = yes; then
20105 cat >>confdefs.h
<<\_ACEOF
20106 #define SETPGRP_VOID 1
20112 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
20113 # since sigsetjmp might only be defined as a macro.
20114 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
20115 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
20116 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
20117 echo $ECHO_N "(cached) $ECHO_C" >&6
20119 cat >conftest.
$ac_ext <<_ACEOF
20122 cat confdefs.h
>>conftest.
$ac_ext
20123 cat >>conftest.
$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20126 #include <setjmp.h>
20131 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
20136 rm -f conftest.
$ac_objext
20137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20138 (eval $ac_compile) 2>conftest.er1
20140 grep -v '^ *+' conftest.er1
>conftest.err
20142 cat conftest.err
>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } &&
20145 { ac_try
='test -z "$ac_c_werror_flag"
20146 || test ! -s conftest.err'
20147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20148 (eval $ac_try) 2>&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); }; } &&
20152 { ac_try
='test -s conftest.$ac_objext'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; }; then
20158 gdb_cv_func_sigsetjmp
=yes
20160 echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.
$ac_ext >&5
20163 gdb_cv_func_sigsetjmp
=no
20165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20167 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
20168 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
20169 if test $gdb_cv_func_sigsetjmp = yes; then
20171 cat >>confdefs.h
<<\_ACEOF
20172 #define HAVE_SIGSETJMP 1
20177 # Assume we'll default to using the included libiberty regex.
20178 gdb_use_included_regex
=yes
20180 # However, if the system regex is GNU regex, then default to *not*
20181 # using the included regex.
20182 echo "$as_me:$LINENO: checking for GNU regex" >&5
20183 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
20184 if test "${gdb_cv_have_gnu_regex+set}" = set; then
20185 echo $ECHO_N "(cached) $ECHO_C" >&6
20187 cat >conftest.
$ac_ext <<_ACEOF
20190 cat confdefs.h
>>conftest.
$ac_ext
20191 cat >>conftest.
$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20193 #include <gnu-versions.h>
20197 #define REGEX_INTERFACE_VERSION 1
20198 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
20199 # error "Version mismatch"
20205 rm -f conftest.
$ac_objext
20206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20207 (eval $ac_compile) 2>conftest.er1
20209 grep -v '^ *+' conftest.er1
>conftest.err
20211 cat conftest.err
>&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } &&
20214 { ac_try
='test -z "$ac_c_werror_flag"
20215 || test ! -s conftest.err'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; } &&
20221 { ac_try
='test -s conftest.$ac_objext'
20222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20223 (eval $ac_try) 2>&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); }; }; then
20227 gdb_cv_have_gnu_regex
=yes
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.
$ac_ext >&5
20232 gdb_cv_have_gnu_regex
=no
20234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20236 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
20237 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
20238 if test $gdb_cv_have_gnu_regex = yes; then
20239 gdb_use_included_regex
=no
20243 # Check whether --with-included-regex or --without-included-regex was given.
20244 if test "${with_included_regex+set}" = set; then
20245 withval
="$with_included_regex"
20246 gdb_with_regex
=$withval
20248 gdb_with_regex
=$gdb_use_included_regex
20250 if test "$gdb_with_regex" = yes; then
20252 cat >>confdefs.h
<<\_ACEOF
20253 #define USE_INCLUDED_REGEX 1
20258 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
20259 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
20260 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
20261 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
20262 echo $ECHO_N "(cached) $ECHO_C" >&6
20264 cat >conftest.
$ac_ext <<_ACEOF
20267 cat confdefs.h
>>conftest.
$ac_ext
20268 cat >>conftest.
$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 #include <sys/param.h>
20271 #include <sys/proc.h>
20277 static struct thread ac_aggr;
20278 if (ac_aggr.td_pcb)
20284 rm -f conftest.
$ac_objext
20285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20286 (eval $ac_compile) 2>conftest.er1
20288 grep -v '^ *+' conftest.er1
>conftest.err
20290 cat conftest.err
>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } &&
20293 { ac_try
='test -z "$ac_c_werror_flag"
20294 || test ! -s conftest.err'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; } &&
20300 { ac_try
='test -s conftest.$ac_objext'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; }; then
20306 ac_cv_member_struct_thread_td_pcb
=yes
20308 echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.
$ac_ext >&5
20311 cat >conftest.
$ac_ext <<_ACEOF
20314 cat confdefs.h
>>conftest.
$ac_ext
20315 cat >>conftest.
$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20317 #include <sys/param.h>
20318 #include <sys/proc.h>
20324 static struct thread ac_aggr;
20325 if (sizeof ac_aggr.td_pcb)
20331 rm -f conftest.
$ac_objext
20332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20333 (eval $ac_compile) 2>conftest.er1
20335 grep -v '^ *+' conftest.er1
>conftest.err
20337 cat conftest.err
>&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } &&
20340 { ac_try
='test -z "$ac_c_werror_flag"
20341 || test ! -s conftest.err'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; } &&
20347 { ac_try
='test -s conftest.$ac_objext'
20348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20349 (eval $ac_try) 2>&5
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); }; }; then
20353 ac_cv_member_struct_thread_td_pcb
=yes
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.
$ac_ext >&5
20358 ac_cv_member_struct_thread_td_pcb
=no
20360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20364 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
20365 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
20366 if test $ac_cv_member_struct_thread_td_pcb = yes; then
20368 cat >>confdefs.h
<<_ACEOF
20369 #define HAVE_STRUCT_THREAD_TD_PCB 1
20376 # See if <sys/lwp.h> defines `struct lwp`.
20377 echo "$as_me:$LINENO: checking for struct lwp" >&5
20378 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
20379 if test "${gdb_cv_struct_lwp+set}" = set; then
20380 echo $ECHO_N "(cached) $ECHO_C" >&6
20382 cat >conftest.
$ac_ext <<_ACEOF
20385 cat confdefs.h
>>conftest.
$ac_ext
20386 cat >>conftest.
$ac_ext <<_ACEOF
20387 /* end confdefs.h. */
20388 #include <sys/param.h>
20389 #include <sys/lwp.h>
20398 rm -f conftest.
$ac_objext
20399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20400 (eval $ac_compile) 2>conftest.er1
20402 grep -v '^ *+' conftest.er1
>conftest.err
20404 cat conftest.err
>&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); } &&
20407 { ac_try
='test -z "$ac_c_werror_flag"
20408 || test ! -s conftest.err'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; } &&
20414 { ac_try
='test -s conftest.$ac_objext'
20415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20416 (eval $ac_try) 2>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); }; }; then
20420 gdb_cv_struct_lwp
=yes
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.
$ac_ext >&5
20425 gdb_cv_struct_lwp
=no
20427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20429 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
20430 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
20431 if test $gdb_cv_struct_lwp = yes; then
20433 cat >>confdefs.h
<<\_ACEOF
20434 #define HAVE_STRUCT_LWP 1
20439 # See if <machine/reg.h> degines `struct reg'.
20440 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
20441 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
20442 if test "${gdb_cv_struct_reg+set}" = set; then
20443 echo $ECHO_N "(cached) $ECHO_C" >&6
20445 cat >conftest.
$ac_ext <<_ACEOF
20448 cat confdefs.h
>>conftest.
$ac_ext
20449 cat >>conftest.
$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 #include <sys/types.h>
20452 #include <machine/reg.h>
20461 rm -f conftest.
$ac_objext
20462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20463 (eval $ac_compile) 2>conftest.er1
20465 grep -v '^ *+' conftest.er1
>conftest.err
20467 cat conftest.err
>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); } &&
20470 { ac_try
='test -z "$ac_c_werror_flag"
20471 || test ! -s conftest.err'
20472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20473 (eval $ac_try) 2>&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); }; } &&
20477 { ac_try
='test -s conftest.$ac_objext'
20478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20479 (eval $ac_try) 2>&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); }; }; then
20483 gdb_cv_struct_reg
=yes
20485 echo "$as_me: failed program was:" >&5
20486 sed 's/^/| /' conftest.
$ac_ext >&5
20488 gdb_cv_struct_reg
=no
20490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20492 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
20493 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
20494 if test $gdb_cv_struct_reg = yes; then
20496 cat >>confdefs.h
<<\_ACEOF
20497 #define HAVE_STRUCT_REG 1
20502 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
20503 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
20504 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
20505 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
20506 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
20507 echo $ECHO_N "(cached) $ECHO_C" >&6
20509 cat >conftest.
$ac_ext <<_ACEOF
20512 cat confdefs.h
>>conftest.
$ac_ext
20513 cat >>conftest.
$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 #include <machine/reg.h>
20520 static struct reg ac_aggr;
20527 rm -f conftest.
$ac_objext
20528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20529 (eval $ac_compile) 2>conftest.er1
20531 grep -v '^ *+' conftest.er1
>conftest.err
20533 cat conftest.err
>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } &&
20536 { ac_try
='test -z "$ac_c_werror_flag"
20537 || test ! -s conftest.err'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; } &&
20543 { ac_try
='test -s conftest.$ac_objext'
20544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20545 (eval $ac_try) 2>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); }; }; then
20549 ac_cv_member_struct_reg_r_fs
=yes
20551 echo "$as_me: failed program was:" >&5
20552 sed 's/^/| /' conftest.
$ac_ext >&5
20554 cat >conftest.
$ac_ext <<_ACEOF
20557 cat confdefs.h
>>conftest.
$ac_ext
20558 cat >>conftest.
$ac_ext <<_ACEOF
20559 /* end confdefs.h. */
20560 #include <machine/reg.h>
20565 static struct reg ac_aggr;
20566 if (sizeof ac_aggr.r_fs)
20572 rm -f conftest.
$ac_objext
20573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20574 (eval $ac_compile) 2>conftest.er1
20576 grep -v '^ *+' conftest.er1
>conftest.err
20578 cat conftest.err
>&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); } &&
20581 { ac_try
='test -z "$ac_c_werror_flag"
20582 || test ! -s conftest.err'
20583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20584 (eval $ac_try) 2>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); }; } &&
20588 { ac_try
='test -s conftest.$ac_objext'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; }; then
20594 ac_cv_member_struct_reg_r_fs
=yes
20596 echo "$as_me: failed program was:" >&5
20597 sed 's/^/| /' conftest.
$ac_ext >&5
20599 ac_cv_member_struct_reg_r_fs
=no
20601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20605 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
20606 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
20607 if test $ac_cv_member_struct_reg_r_fs = yes; then
20609 cat >>confdefs.h
<<_ACEOF
20610 #define HAVE_STRUCT_REG_R_FS 1
20615 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
20616 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
20617 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
20618 echo $ECHO_N "(cached) $ECHO_C" >&6
20620 cat >conftest.
$ac_ext <<_ACEOF
20623 cat confdefs.h
>>conftest.
$ac_ext
20624 cat >>conftest.
$ac_ext <<_ACEOF
20625 /* end confdefs.h. */
20626 #include <machine/reg.h>
20631 static struct reg ac_aggr;
20638 rm -f conftest.
$ac_objext
20639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20640 (eval $ac_compile) 2>conftest.er1
20642 grep -v '^ *+' conftest.er1
>conftest.err
20644 cat conftest.err
>&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } &&
20647 { ac_try
='test -z "$ac_c_werror_flag"
20648 || test ! -s conftest.err'
20649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650 (eval $ac_try) 2>&5
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); }; } &&
20654 { ac_try
='test -s conftest.$ac_objext'
20655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656 (eval $ac_try) 2>&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; }; then
20660 ac_cv_member_struct_reg_r_gs
=yes
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.
$ac_ext >&5
20665 cat >conftest.
$ac_ext <<_ACEOF
20668 cat confdefs.h
>>conftest.
$ac_ext
20669 cat >>conftest.
$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671 #include <machine/reg.h>
20676 static struct reg ac_aggr;
20677 if (sizeof ac_aggr.r_gs)
20683 rm -f conftest.
$ac_objext
20684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20685 (eval $ac_compile) 2>conftest.er1
20687 grep -v '^ *+' conftest.er1
>conftest.err
20689 cat conftest.err
>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } &&
20692 { ac_try
='test -z "$ac_c_werror_flag"
20693 || test ! -s conftest.err'
20694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20695 (eval $ac_try) 2>&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); }; } &&
20699 { ac_try
='test -s conftest.$ac_objext'
20700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701 (eval $ac_try) 2>&5
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); }; }; then
20705 ac_cv_member_struct_reg_r_gs
=yes
20707 echo "$as_me: failed program was:" >&5
20708 sed 's/^/| /' conftest.
$ac_ext >&5
20710 ac_cv_member_struct_reg_r_gs
=no
20712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20716 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
20717 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
20718 if test $ac_cv_member_struct_reg_r_gs = yes; then
20720 cat >>confdefs.h
<<_ACEOF
20721 #define HAVE_STRUCT_REG_R_GS 1
20728 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
20729 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
20730 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
20731 if test "${gdb_cv_have_ptrace_getregs+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 #include <sys/ptrace.h>
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_have_ptrace_getregs
=yes
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.
$ac_ext >&5
20776 gdb_cv_have_ptrace_getregs
=no
20778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20781 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
20782 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
20783 if test $gdb_cv_have_ptrace_getregs = yes; then
20785 cat >>confdefs.h
<<\_ACEOF
20786 #define HAVE_PTRACE_GETREGS 1
20791 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
20792 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
20793 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
20794 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 cat >conftest.
$ac_ext <<_ACEOF
20800 cat confdefs.h
>>conftest.
$ac_ext
20801 cat >>conftest.
$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20803 #include <sys/ptrace.h>
20812 rm -f conftest.
$ac_objext
20813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20814 (eval $ac_compile) 2>conftest.er1
20816 grep -v '^ *+' conftest.er1
>conftest.err
20818 cat conftest.err
>&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } &&
20821 { ac_try
='test -z "$ac_c_werror_flag"
20822 || test ! -s conftest.err'
20823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20824 (eval $ac_try) 2>&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); }; } &&
20828 { ac_try
='test -s conftest.$ac_objext'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); }; }; then
20834 gdb_cv_have_ptrace_getfpxregs
=yes
20836 echo "$as_me: failed program was:" >&5
20837 sed 's/^/| /' conftest.
$ac_ext >&5
20839 gdb_cv_have_ptrace_getfpxregs
=no
20841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20844 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
20845 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
20846 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
20848 cat >>confdefs.h
<<\_ACEOF
20849 #define HAVE_PTRACE_GETFPXREGS 1
20854 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
20855 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
20856 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
20857 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
20858 echo $ECHO_N "(cached) $ECHO_C" >&6
20860 cat >conftest.
$ac_ext <<_ACEOF
20863 cat confdefs.h
>>conftest.
$ac_ext
20864 cat >>conftest.
$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 #include <sys/types.h>
20867 #include <sys/ptrace.h>
20876 rm -f conftest.
$ac_objext
20877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20878 (eval $ac_compile) 2>conftest.er1
20880 grep -v '^ *+' conftest.er1
>conftest.err
20882 cat conftest.err
>&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } &&
20885 { ac_try
='test -z "$ac_c_werror_flag"
20886 || test ! -s conftest.err'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; } &&
20892 { ac_try
='test -s conftest.$ac_objext'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; }; then
20898 gdb_cv_have_pt_getdbregs
=yes
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.
$ac_ext >&5
20903 gdb_cv_have_pt_getdbregs
=no
20905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20908 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
20909 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
20910 if test $gdb_cv_have_pt_getdbregs = yes; then
20912 cat >>confdefs.h
<<\_ACEOF
20913 #define HAVE_PT_GETDBREGS 1
20918 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
20919 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
20920 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
20921 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
20922 echo $ECHO_N "(cached) $ECHO_C" >&6
20924 cat >conftest.
$ac_ext <<_ACEOF
20927 cat confdefs.h
>>conftest.
$ac_ext
20928 cat >>conftest.
$ac_ext <<_ACEOF
20929 /* end confdefs.h. */
20930 #include <sys/types.h>
20931 #include <sys/ptrace.h>
20940 rm -f conftest.
$ac_objext
20941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20942 (eval $ac_compile) 2>conftest.er1
20944 grep -v '^ *+' conftest.er1
>conftest.err
20946 cat conftest.err
>&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); } &&
20949 { ac_try
='test -z "$ac_c_werror_flag"
20950 || test ! -s conftest.err'
20951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20952 (eval $ac_try) 2>&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); }; } &&
20956 { ac_try
='test -s conftest.$ac_objext'
20957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20958 (eval $ac_try) 2>&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); }; }; then
20962 gdb_cv_have_pt_getxmmregs
=yes
20964 echo "$as_me: failed program was:" >&5
20965 sed 's/^/| /' conftest.
$ac_ext >&5
20967 gdb_cv_have_pt_getxmmregs
=no
20969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20972 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
20973 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
20974 if test $gdb_cv_have_pt_getxmmregs = yes; then
20976 cat >>confdefs.h
<<\_ACEOF
20977 #define HAVE_PT_GETXMMREGS 1
20982 # Detect which type of /proc is in use, such as for Unixware or Solaris.
20984 if test "${target}" = "${host}"; then
20986 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
20988 cat >>confdefs.h
<<\_ACEOF
20989 #define NEW_PROC_API 1
20993 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9]*)
20995 cat >>confdefs.h
<<\_ACEOF
20996 #define NEW_PROC_API 1
21001 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
21003 cat >>confdefs.h
<<\_ACEOF
21004 #define _KMEMUSER 1
21011 if test "$ac_cv_header_sys_procfs_h" = yes; then
21012 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
21013 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
21014 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
21015 echo $ECHO_N "(cached) $ECHO_C" >&6
21017 cat >conftest.
$ac_ext <<_ACEOF
21020 cat confdefs.h
>>conftest.
$ac_ext
21021 cat >>conftest.
$ac_ext <<_ACEOF
21022 /* end confdefs.h. */
21025 #include <sys/procfs.h>
21034 rm -f conftest.
$ac_objext
21035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21036 (eval $ac_compile) 2>conftest.er1
21038 grep -v '^ *+' conftest.er1
>conftest.err
21040 cat conftest.err
>&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); } &&
21043 { ac_try
='test -z "$ac_c_werror_flag"
21044 || test ! -s conftest.err'
21045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21046 (eval $ac_try) 2>&5
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); }; } &&
21050 { ac_try
='test -s conftest.$ac_objext'
21051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052 (eval $ac_try) 2>&5
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; }; then
21056 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.
$ac_ext >&5
21061 bfd_cv_have_sys_procfs_type_pstatus_t
=no
21064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21067 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
21069 cat >>confdefs.h
<<\_ACEOF
21070 #define HAVE_PSTATUS_T 1
21074 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
21075 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
21077 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
21078 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
21079 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
21080 echo $ECHO_N "(cached) $ECHO_C" >&6
21082 cat >conftest.
$ac_ext <<_ACEOF
21085 cat confdefs.h
>>conftest.
$ac_ext
21086 cat >>conftest.
$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21090 #include <sys/procfs.h>
21099 rm -f conftest.
$ac_objext
21100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21101 (eval $ac_compile) 2>conftest.er1
21103 grep -v '^ *+' conftest.er1
>conftest.err
21105 cat conftest.err
>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } &&
21108 { ac_try
='test -z "$ac_c_werror_flag"
21109 || test ! -s conftest.err'
21110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21111 (eval $ac_try) 2>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); }; } &&
21115 { ac_try
='test -s conftest.$ac_objext'
21116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21117 (eval $ac_try) 2>&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; }; then
21121 bfd_cv_have_sys_procfs_type_prrun_t
=yes
21123 echo "$as_me: failed program was:" >&5
21124 sed 's/^/| /' conftest.
$ac_ext >&5
21126 bfd_cv_have_sys_procfs_type_prrun_t
=no
21129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21132 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
21134 cat >>confdefs.h
<<\_ACEOF
21135 #define HAVE_PRRUN_T 1
21139 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
21140 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
21142 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
21143 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
21144 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
21145 echo $ECHO_N "(cached) $ECHO_C" >&6
21147 cat >conftest.
$ac_ext <<_ACEOF
21150 cat confdefs.h
>>conftest.
$ac_ext
21151 cat >>conftest.
$ac_ext <<_ACEOF
21152 /* end confdefs.h. */
21155 #include <sys/procfs.h>
21164 rm -f conftest.
$ac_objext
21165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21166 (eval $ac_compile) 2>conftest.er1
21168 grep -v '^ *+' conftest.er1
>conftest.err
21170 cat conftest.err
>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); } &&
21173 { ac_try
='test -z "$ac_c_werror_flag"
21174 || test ! -s conftest.err'
21175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21176 (eval $ac_try) 2>&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; } &&
21180 { ac_try
='test -s conftest.$ac_objext'
21181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21182 (eval $ac_try) 2>&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); }; }; then
21186 bfd_cv_have_sys_procfs_type_gregset_t
=yes
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.
$ac_ext >&5
21191 bfd_cv_have_sys_procfs_type_gregset_t
=no
21194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21197 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
21199 cat >>confdefs.h
<<\_ACEOF
21200 #define HAVE_GREGSET_T 1
21204 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
21205 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
21207 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
21208 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
21209 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
21210 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 cat >conftest.
$ac_ext <<_ACEOF
21215 cat confdefs.h
>>conftest.
$ac_ext
21216 cat >>conftest.
$ac_ext <<_ACEOF
21217 /* end confdefs.h. */
21220 #include <sys/procfs.h>
21229 rm -f conftest.
$ac_objext
21230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21231 (eval $ac_compile) 2>conftest.er1
21233 grep -v '^ *+' conftest.er1
>conftest.err
21235 cat conftest.err
>&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); } &&
21238 { ac_try
='test -z "$ac_c_werror_flag"
21239 || test ! -s conftest.err'
21240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241 (eval $ac_try) 2>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; } &&
21245 { ac_try
='test -s conftest.$ac_objext'
21246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247 (eval $ac_try) 2>&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); }; }; then
21251 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
21253 echo "$as_me: failed program was:" >&5
21254 sed 's/^/| /' conftest.
$ac_ext >&5
21256 bfd_cv_have_sys_procfs_type_fpregset_t
=no
21259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21262 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
21264 cat >>confdefs.h
<<\_ACEOF
21265 #define HAVE_FPREGSET_T 1
21269 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
21270 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
21272 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
21273 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
21274 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
21275 echo $ECHO_N "(cached) $ECHO_C" >&6
21277 cat >conftest.
$ac_ext <<_ACEOF
21280 cat confdefs.h
>>conftest.
$ac_ext
21281 cat >>conftest.
$ac_ext <<_ACEOF
21282 /* end confdefs.h. */
21285 #include <sys/procfs.h>
21294 rm -f conftest.
$ac_objext
21295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21296 (eval $ac_compile) 2>conftest.er1
21298 grep -v '^ *+' conftest.er1
>conftest.err
21300 cat conftest.err
>&5
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); } &&
21303 { ac_try
='test -z "$ac_c_werror_flag"
21304 || test ! -s conftest.err'
21305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21306 (eval $ac_try) 2>&5
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); }; } &&
21310 { ac_try
='test -s conftest.$ac_objext'
21311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21312 (eval $ac_try) 2>&5
21314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315 (exit $ac_status); }; }; then
21316 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
21318 echo "$as_me: failed program was:" >&5
21319 sed 's/^/| /' conftest.
$ac_ext >&5
21321 bfd_cv_have_sys_procfs_type_prgregset_t
=no
21324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21327 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
21329 cat >>confdefs.h
<<\_ACEOF
21330 #define HAVE_PRGREGSET_T 1
21334 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
21335 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
21337 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
21338 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
21339 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
21340 echo $ECHO_N "(cached) $ECHO_C" >&6
21342 cat >conftest.
$ac_ext <<_ACEOF
21345 cat confdefs.h
>>conftest.
$ac_ext
21346 cat >>conftest.
$ac_ext <<_ACEOF
21347 /* end confdefs.h. */
21350 #include <sys/procfs.h>
21359 rm -f conftest.
$ac_objext
21360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21361 (eval $ac_compile) 2>conftest.er1
21363 grep -v '^ *+' conftest.er1
>conftest.err
21365 cat conftest.err
>&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } &&
21368 { ac_try
='test -z "$ac_c_werror_flag"
21369 || test ! -s conftest.err'
21370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21371 (eval $ac_try) 2>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); }; } &&
21375 { ac_try
='test -s conftest.$ac_objext'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.
$ac_ext >&5
21386 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
21389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21392 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
21394 cat >>confdefs.h
<<\_ACEOF
21395 #define HAVE_PRFPREGSET_T 1
21399 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
21400 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
21402 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
21403 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
21404 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
21405 echo $ECHO_N "(cached) $ECHO_C" >&6
21407 cat >conftest.
$ac_ext <<_ACEOF
21410 cat confdefs.h
>>conftest.
$ac_ext
21411 cat >>conftest.
$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21415 #include <sys/procfs.h>
21424 rm -f conftest.
$ac_objext
21425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21426 (eval $ac_compile) 2>conftest.er1
21428 grep -v '^ *+' conftest.er1
>conftest.err
21430 cat conftest.err
>&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } &&
21433 { ac_try
='test -z "$ac_c_werror_flag"
21434 || test ! -s conftest.err'
21435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21436 (eval $ac_try) 2>&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); }; } &&
21440 { ac_try
='test -s conftest.$ac_objext'
21441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442 (eval $ac_try) 2>&5
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; }; then
21446 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
21448 echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.
$ac_ext >&5
21451 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
21454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21457 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
21459 cat >>confdefs.h
<<\_ACEOF
21460 #define HAVE_PRGREGSET32_T 1
21464 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
21465 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
21467 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
21468 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
21469 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
21470 echo $ECHO_N "(cached) $ECHO_C" >&6
21472 cat >conftest.
$ac_ext <<_ACEOF
21475 cat confdefs.h
>>conftest.
$ac_ext
21476 cat >>conftest.
$ac_ext <<_ACEOF
21477 /* end confdefs.h. */
21480 #include <sys/procfs.h>
21484 prfpregset32_t avar
21489 rm -f conftest.
$ac_objext
21490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21491 (eval $ac_compile) 2>conftest.er1
21493 grep -v '^ *+' conftest.er1
>conftest.err
21495 cat conftest.err
>&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); } &&
21498 { ac_try
='test -z "$ac_c_werror_flag"
21499 || test ! -s conftest.err'
21500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21501 (eval $ac_try) 2>&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); }; } &&
21505 { ac_try
='test -s conftest.$ac_objext'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; }; then
21511 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
21513 echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.
$ac_ext >&5
21516 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
21519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21522 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
21524 cat >>confdefs.h
<<\_ACEOF
21525 #define HAVE_PRFPREGSET32_T 1
21529 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
21530 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
21532 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
21533 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
21534 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
21535 echo $ECHO_N "(cached) $ECHO_C" >&6
21537 cat >conftest.
$ac_ext <<_ACEOF
21540 cat confdefs.h
>>conftest.
$ac_ext
21541 cat >>conftest.
$ac_ext <<_ACEOF
21542 /* end confdefs.h. */
21545 #include <sys/procfs.h>
21554 rm -f conftest.
$ac_objext
21555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21556 (eval $ac_compile) 2>conftest.er1
21558 grep -v '^ *+' conftest.er1
>conftest.err
21560 cat conftest.err
>&5
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); } &&
21563 { ac_try
='test -z "$ac_c_werror_flag"
21564 || test ! -s conftest.err'
21565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21566 (eval $ac_try) 2>&5
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); }; } &&
21570 { ac_try
='test -s conftest.$ac_objext'
21571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21572 (eval $ac_try) 2>&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); }; }; then
21576 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.
$ac_ext >&5
21581 bfd_cv_have_sys_procfs_type_lwpid_t
=no
21584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21587 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
21589 cat >>confdefs.h
<<\_ACEOF
21590 #define HAVE_LWPID_T 1
21594 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
21595 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
21597 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
21598 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
21599 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
21600 echo $ECHO_N "(cached) $ECHO_C" >&6
21602 cat >conftest.
$ac_ext <<_ACEOF
21605 cat confdefs.h
>>conftest.
$ac_ext
21606 cat >>conftest.
$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21610 #include <sys/procfs.h>
21619 rm -f conftest.
$ac_objext
21620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21621 (eval $ac_compile) 2>conftest.er1
21623 grep -v '^ *+' conftest.er1
>conftest.err
21625 cat conftest.err
>&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); } &&
21628 { ac_try
='test -z "$ac_c_werror_flag"
21629 || test ! -s conftest.err'
21630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21631 (eval $ac_try) 2>&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); }; } &&
21635 { ac_try
='test -s conftest.$ac_objext'
21636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21637 (eval $ac_try) 2>&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); }; }; then
21641 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
21643 echo "$as_me: failed program was:" >&5
21644 sed 's/^/| /' conftest.
$ac_ext >&5
21646 bfd_cv_have_sys_procfs_type_psaddr_t
=no
21649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21652 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
21654 cat >>confdefs.h
<<\_ACEOF
21655 #define HAVE_PSADDR_T 1
21659 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
21660 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
21662 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
21663 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
21664 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
21665 echo $ECHO_N "(cached) $ECHO_C" >&6
21667 cat >conftest.
$ac_ext <<_ACEOF
21670 cat confdefs.h
>>conftest.
$ac_ext
21671 cat >>conftest.
$ac_ext <<_ACEOF
21672 /* end confdefs.h. */
21675 #include <sys/procfs.h>
21684 rm -f conftest.
$ac_objext
21685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21686 (eval $ac_compile) 2>conftest.er1
21688 grep -v '^ *+' conftest.er1
>conftest.err
21690 cat conftest.err
>&5
21691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 (exit $ac_status); } &&
21693 { ac_try
='test -z "$ac_c_werror_flag"
21694 || test ! -s conftest.err'
21695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21696 (eval $ac_try) 2>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); }; } &&
21700 { ac_try
='test -s conftest.$ac_objext'
21701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21702 (eval $ac_try) 2>&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); }; }; then
21706 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
21708 echo "$as_me: failed program was:" >&5
21709 sed 's/^/| /' conftest.
$ac_ext >&5
21711 bfd_cv_have_sys_procfs_type_prsysent_t
=no
21714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21717 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
21719 cat >>confdefs.h
<<\_ACEOF
21720 #define HAVE_PRSYSENT_T 1
21724 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
21725 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
21727 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
21728 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
21729 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
21730 echo $ECHO_N "(cached) $ECHO_C" >&6
21732 cat >conftest.
$ac_ext <<_ACEOF
21735 cat confdefs.h
>>conftest.
$ac_ext
21736 cat >>conftest.
$ac_ext <<_ACEOF
21737 /* end confdefs.h. */
21740 #include <sys/procfs.h>
21749 rm -f conftest.
$ac_objext
21750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21751 (eval $ac_compile) 2>conftest.er1
21753 grep -v '^ *+' conftest.er1
>conftest.err
21755 cat conftest.err
>&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } &&
21758 { ac_try
='test -z "$ac_c_werror_flag"
21759 || test ! -s conftest.err'
21760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21761 (eval $ac_try) 2>&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; } &&
21765 { ac_try
='test -s conftest.$ac_objext'
21766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767 (eval $ac_try) 2>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); }; }; then
21771 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
21773 echo "$as_me: failed program was:" >&5
21774 sed 's/^/| /' conftest.
$ac_ext >&5
21776 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
21779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21782 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
21784 cat >>confdefs.h
<<\_ACEOF
21785 #define HAVE_PR_SIGSET_T 1
21789 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
21790 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
21792 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
21793 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
21794 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
21795 echo $ECHO_N "(cached) $ECHO_C" >&6
21797 cat >conftest.
$ac_ext <<_ACEOF
21800 cat confdefs.h
>>conftest.
$ac_ext
21801 cat >>conftest.
$ac_ext <<_ACEOF
21802 /* end confdefs.h. */
21805 #include <sys/procfs.h>
21809 pr_sigaction64_t avar
21814 rm -f conftest.
$ac_objext
21815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21816 (eval $ac_compile) 2>conftest.er1
21818 grep -v '^ *+' conftest.er1
>conftest.err
21820 cat conftest.err
>&5
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); } &&
21823 { ac_try
='test -z "$ac_c_werror_flag"
21824 || test ! -s conftest.err'
21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826 (eval $ac_try) 2>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; } &&
21830 { ac_try
='test -s conftest.$ac_objext'
21831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21832 (eval $ac_try) 2>&5
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); }; }; then
21836 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
21838 echo "$as_me: failed program was:" >&5
21839 sed 's/^/| /' conftest.
$ac_ext >&5
21841 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
21844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21847 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
21849 cat >>confdefs.h
<<\_ACEOF
21850 #define HAVE_PR_SIGACTION64_T 1
21854 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
21855 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
21857 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
21858 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
21859 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
21860 echo $ECHO_N "(cached) $ECHO_C" >&6
21862 cat >conftest.
$ac_ext <<_ACEOF
21865 cat confdefs.h
>>conftest.
$ac_ext
21866 cat >>conftest.
$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21870 #include <sys/procfs.h>
21874 pr_siginfo64_t avar
21879 rm -f conftest.
$ac_objext
21880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21881 (eval $ac_compile) 2>conftest.er1
21883 grep -v '^ *+' conftest.er1
>conftest.err
21885 cat conftest.err
>&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } &&
21888 { ac_try
='test -z "$ac_c_werror_flag"
21889 || test ! -s conftest.err'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; } &&
21895 { ac_try
='test -s conftest.$ac_objext'
21896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; }; then
21901 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.
$ac_ext >&5
21906 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
21909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21912 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
21914 cat >>confdefs.h
<<\_ACEOF
21915 #define HAVE_PR_SIGINFO64_T 1
21919 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
21920 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
21926 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
21927 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
21928 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
21929 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
21930 echo $ECHO_N "(cached) $ECHO_C" >&6
21932 if test "$cross_compiling" = yes; then
21933 gdb_cv_prfpregset_t_broken
=yes
21935 cat >conftest.
$ac_ext <<_ACEOF
21938 cat confdefs.h
>>conftest.
$ac_ext
21939 cat >>conftest.
$ac_ext <<_ACEOF
21940 /* end confdefs.h. */
21941 #include <sys/procfs.h>
21944 if (sizeof (prfpregset_t) == sizeof (void *))
21949 rm -f conftest
$ac_exeext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21951 (eval $ac_link) 2>&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21956 (eval $ac_try) 2>&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); }; }; then
21960 gdb_cv_prfpregset_t_broken
=no
21962 echo "$as_me: program exited with status $ac_status" >&5
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.
$ac_ext >&5
21966 ( exit $ac_status )
21967 gdb_cv_prfpregset_t_broken
=yes
21969 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21973 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
21974 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
21975 if test $gdb_cv_prfpregset_t_broken = yes; then
21977 cat >>confdefs.h
<<\_ACEOF
21978 #define PRFPREGSET_T_BROKEN 1
21985 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
21986 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
21987 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
21988 echo $ECHO_N "(cached) $ECHO_C" >&6
21990 cat >conftest.
$ac_ext <<_ACEOF
21993 cat confdefs.h
>>conftest.
$ac_ext
21994 cat >>conftest.
$ac_ext <<_ACEOF
21995 /* end confdefs.h. */
21996 #include <unistd.h>
21997 #include <sys/types.h>
21998 #include <sys/procfs.h>
22005 dummy = ioctl(0, PIOCSET, &dummy);
22011 rm -f conftest.
$ac_objext
22012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22013 (eval $ac_compile) 2>conftest.er1
22015 grep -v '^ *+' conftest.er1
>conftest.err
22017 cat conftest.err
>&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); } &&
22020 { ac_try
='test -z "$ac_c_werror_flag"
22021 || test ! -s conftest.err'
22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; } &&
22027 { ac_try
='test -s conftest.$ac_objext'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; }; then
22033 gdb_cv_have_procfs_piocset
=yes
22035 echo "$as_me: failed program was:" >&5
22036 sed 's/^/| /' conftest.
$ac_ext >&5
22038 gdb_cv_have_procfs_piocset
=no
22040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22043 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
22044 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
22045 if test $gdb_cv_have_procfs_piocset = yes; then
22047 cat >>confdefs.h
<<\_ACEOF
22048 #define HAVE_PROCFS_PIOCSET 1
22054 if test ${host} = ${target} ; then
22056 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
22057 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
22058 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
22059 echo $ECHO_N "(cached) $ECHO_C" >&6
22061 cat >conftest.
$ac_ext <<_ACEOF
22064 cat confdefs.h
>>conftest.
$ac_ext
22065 cat >>conftest.
$ac_ext <<_ACEOF
22066 /* end confdefs.h. */
22071 struct link_map lm; (void) lm.l_addr;
22076 rm -f conftest.
$ac_objext
22077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22078 (eval $ac_compile) 2>conftest.er1
22080 grep -v '^ *+' conftest.er1
>conftest.err
22082 cat conftest.err
>&5
22083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 (exit $ac_status); } &&
22085 { ac_try
='test -z "$ac_c_werror_flag"
22086 || test ! -s conftest.err'
22087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22088 (eval $ac_try) 2>&5
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); }; } &&
22092 { ac_try
='test -s conftest.$ac_objext'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; }; then
22098 gdb_cv_have_struct_link_map_with_l_members
=yes
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.
$ac_ext >&5
22103 gdb_cv_have_struct_link_map_with_l_members
=no
22105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22108 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
22109 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
22110 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
22112 cat >>confdefs.h
<<\_ACEOF
22113 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
22119 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
22120 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
22121 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
22122 echo $ECHO_N "(cached) $ECHO_C" >&6
22124 cat >conftest.
$ac_ext <<_ACEOF
22127 cat confdefs.h
>>conftest.
$ac_ext
22128 cat >>conftest.
$ac_ext <<_ACEOF
22129 /* end confdefs.h. */
22130 #include <sys/types.h>
22135 struct link_map lm; (void) lm.lm_addr;
22140 rm -f conftest.
$ac_objext
22141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22142 (eval $ac_compile) 2>conftest.er1
22144 grep -v '^ *+' conftest.er1
>conftest.err
22146 cat conftest.err
>&5
22147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148 (exit $ac_status); } &&
22149 { ac_try
='test -z "$ac_c_werror_flag"
22150 || test ! -s conftest.err'
22151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22152 (eval $ac_try) 2>&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); }; } &&
22156 { ac_try
='test -s conftest.$ac_objext'
22157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22158 (eval $ac_try) 2>&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); }; }; then
22162 gdb_cv_have_struct_link_map_with_lm_members
=yes
22164 echo "$as_me: failed program was:" >&5
22165 sed 's/^/| /' conftest.
$ac_ext >&5
22167 gdb_cv_have_struct_link_map_with_lm_members
=no
22169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22172 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
22173 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
22174 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
22176 cat >>confdefs.h
<<\_ACEOF
22177 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
22183 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
22184 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
22185 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
22186 echo $ECHO_N "(cached) $ECHO_C" >&6
22188 cat >conftest.
$ac_ext <<_ACEOF
22191 cat confdefs.h
>>conftest.
$ac_ext
22192 cat >>conftest.
$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194 #include <sys/types.h>
22195 #ifdef HAVE_NLIST_H
22202 struct so_map lm; (void) lm.som_addr;
22207 rm -f conftest.
$ac_objext
22208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22209 (eval $ac_compile) 2>conftest.er1
22211 grep -v '^ *+' conftest.er1
>conftest.err
22213 cat conftest.err
>&5
22214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22215 (exit $ac_status); } &&
22216 { ac_try
='test -z "$ac_c_werror_flag"
22217 || test ! -s conftest.err'
22218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22219 (eval $ac_try) 2>&5
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); }; } &&
22223 { ac_try
='test -s conftest.$ac_objext'
22224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22225 (eval $ac_try) 2>&5
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); }; }; then
22229 gdb_cv_have_struct_so_map_with_som_members
=yes
22231 echo "$as_me: failed program was:" >&5
22232 sed 's/^/| /' conftest.
$ac_ext >&5
22234 gdb_cv_have_struct_so_map_with_som_members
=no
22236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22239 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
22240 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
22241 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
22243 cat >>confdefs.h
<<\_ACEOF
22244 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
22250 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
22251 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
22252 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
22253 echo $ECHO_N "(cached) $ECHO_C" >&6
22255 cat >conftest.
$ac_ext <<_ACEOF
22258 cat confdefs.h
>>conftest.
$ac_ext
22259 cat >>conftest.
$ac_ext <<_ACEOF
22260 /* end confdefs.h. */
22262 #include <sys/link.h>
22266 struct link_map32 l;
22271 rm -f conftest.
$ac_objext
22272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22273 (eval $ac_compile) 2>conftest.er1
22275 grep -v '^ *+' conftest.er1
>conftest.err
22277 cat conftest.err
>&5
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); } &&
22280 { ac_try
='test -z "$ac_c_werror_flag"
22281 || test ! -s conftest.err'
22282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22283 (eval $ac_try) 2>&5
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); }; } &&
22287 { ac_try
='test -s conftest.$ac_objext'
22288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22289 (eval $ac_try) 2>&5
22291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 (exit $ac_status); }; }; then
22293 gdb_cv_have_struct_link_map32
=yes
22295 echo "$as_me: failed program was:" >&5
22296 sed 's/^/| /' conftest.
$ac_ext >&5
22298 gdb_cv_have_struct_link_map32
=no
22300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22303 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
22304 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
22305 if test $gdb_cv_have_struct_link_map32 = yes; then
22307 cat >>confdefs.h
<<\_ACEOF
22308 #define HAVE_STRUCT_LINK_MAP32 1
22312 cat >>confdefs.h
<<\_ACEOF
22313 #define _SYSCALL32 1
22319 # Check if the compiler supports the `long long' type.
22321 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
22322 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
22323 if test "${gdb_cv_c_long_long+set}" = set; then
22324 echo $ECHO_N "(cached) $ECHO_C" >&6
22326 cat >conftest.
$ac_ext <<_ACEOF
22329 cat confdefs.h
>>conftest.
$ac_ext
22330 cat >>conftest.
$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22332 extern long long foo;
22336 switch (foo & 2) { case 0: return 1; }
22341 rm -f conftest.
$ac_objext
22342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22343 (eval $ac_compile) 2>conftest.er1
22345 grep -v '^ *+' conftest.er1
>conftest.err
22347 cat conftest.err
>&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); } &&
22350 { ac_try
='test -z "$ac_c_werror_flag"
22351 || test ! -s conftest.err'
22352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22353 (eval $ac_try) 2>&5
22355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356 (exit $ac_status); }; } &&
22357 { ac_try
='test -s conftest.$ac_objext'
22358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359 (eval $ac_try) 2>&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); }; }; then
22363 gdb_cv_c_long_long
=yes
22365 echo "$as_me: failed program was:" >&5
22366 sed 's/^/| /' conftest.
$ac_ext >&5
22368 gdb_cv_c_long_long
=no
22370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22372 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
22373 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
22374 if test $gdb_cv_c_long_long = yes; then
22376 cat >>confdefs.h
<<\_ACEOF
22377 #define CC_HAS_LONG_LONG 1
22382 # Check if the compiler and runtime support printing long longs.
22384 echo "$as_me:$LINENO: checking for long long support in printf" >&5
22385 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
22386 if test "${gdb_cv_printf_has_long_long+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22389 if test "$cross_compiling" = yes; then
22390 gdb_cv_printf_has_long_long
=no
22392 cat >conftest.
$ac_ext <<_ACEOF
22395 cat confdefs.h
>>conftest.
$ac_ext
22396 cat >>conftest.
$ac_ext <<_ACEOF
22397 /* end confdefs.h. */
22398 $ac_includes_default
22404 l = (l << 16) + 0x0123;
22405 l = (l << 16) + 0x4567;
22406 l = (l << 16) + 0x89ab;
22407 l = (l << 16) + 0xcdef;
22408 sprintf (buf, "0x%016llx", l);
22409 return (strcmp ("0x0123456789abcdef", buf));
22414 rm -f conftest
$ac_exeext
22415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22416 (eval $ac_link) 2>&5
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; }; then
22425 gdb_cv_printf_has_long_long
=yes
22427 echo "$as_me: program exited with status $ac_status" >&5
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.
$ac_ext >&5
22431 ( exit $ac_status )
22432 gdb_cv_printf_has_long_long
=no
22434 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22437 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
22438 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
22439 if test $gdb_cv_printf_has_long_long = yes; then
22441 cat >>confdefs.h
<<\_ACEOF
22442 #define PRINTF_HAS_LONG_LONG 1
22447 # Check if the compiler and runtime support printing decfloats.
22449 echo "$as_me:$LINENO: checking for decfloat support in printf" >&5
22450 echo $ECHO_N "checking for decfloat support in printf... $ECHO_C" >&6
22451 if test "${gdb_cv_printf_has_decfloat+set}" = set; then
22452 echo $ECHO_N "(cached) $ECHO_C" >&6
22454 if test "$cross_compiling" = yes; then
22455 gdb_cv_printf_has_decfloat
=no
22457 cat >conftest.
$ac_ext <<_ACEOF
22460 cat confdefs.h
>>conftest.
$ac_ext
22461 cat >>conftest.
$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463 $ac_includes_default
22468 _Decimal32 d32 = 1.2345df;
22469 _Decimal64 d64 = 1.2345dd;
22470 _Decimal128 d128 = 1.2345dl;
22471 sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
22472 return (strcmp ("Decimal32: 1.2345\nDecimal64: 1.2345\nDecimal128: 1.2345", buf));
22477 rm -f conftest
$ac_exeext
22478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22479 (eval $ac_link) 2>&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22484 (eval $ac_try) 2>&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); }; }; then
22488 gdb_cv_printf_has_decfloat
=yes
22490 echo "$as_me: program exited with status $ac_status" >&5
22491 echo "$as_me: failed program was:" >&5
22492 sed 's/^/| /' conftest.
$ac_ext >&5
22494 ( exit $ac_status )
22495 gdb_cv_printf_has_decfloat
=no
22497 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22500 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_decfloat" >&5
22501 echo "${ECHO_T}$gdb_cv_printf_has_decfloat" >&6
22502 if test $gdb_cv_printf_has_decfloat = yes; then
22504 cat >>confdefs.h
<<\_ACEOF
22505 #define PRINTF_HAS_DECFLOAT 1
22510 # Check if the compiler supports the `long double' type. We can't use
22511 # AC_C_LONG_DOUBLE because that one does additional checks on the
22512 # constants defined in <float.h> that fail on some systems,
22513 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
22515 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
22516 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
22517 if test "${gdb_cv_c_long_double+set}" = set; then
22518 echo $ECHO_N "(cached) $ECHO_C" >&6
22520 cat >conftest.
$ac_ext <<_ACEOF
22523 cat confdefs.h
>>conftest.
$ac_ext
22524 cat >>conftest.
$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22528 rm -f conftest.
$ac_objext
22529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22530 (eval $ac_compile) 2>conftest.er1
22532 grep -v '^ *+' conftest.er1
>conftest.err
22534 cat conftest.err
>&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } &&
22537 { ac_try
='test -z "$ac_c_werror_flag"
22538 || test ! -s conftest.err'
22539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22540 (eval $ac_try) 2>&5
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); }; } &&
22544 { ac_try
='test -s conftest.$ac_objext'
22545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22546 (eval $ac_try) 2>&5
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); }; }; then
22550 gdb_cv_c_long_double
=yes
22552 echo "$as_me: failed program was:" >&5
22553 sed 's/^/| /' conftest.
$ac_ext >&5
22555 gdb_cv_c_long_double
=no
22557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22559 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
22560 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
22561 if test $gdb_cv_c_long_double = yes; then
22563 cat >>confdefs.h
<<\_ACEOF
22564 #define HAVE_LONG_DOUBLE 1
22569 # Check if the compiler and runtime support printing long doubles.
22571 echo "$as_me:$LINENO: checking for long double support in printf" >&5
22572 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
22573 if test "${gdb_cv_printf_has_long_double+set}" = set; then
22574 echo $ECHO_N "(cached) $ECHO_C" >&6
22576 if test "$cross_compiling" = yes; then
22577 gdb_cv_printf_has_long_double
=no
22579 cat >conftest.
$ac_ext <<_ACEOF
22582 cat confdefs.h
>>conftest.
$ac_ext
22583 cat >>conftest.
$ac_ext <<_ACEOF
22584 /* end confdefs.h. */
22585 $ac_includes_default
22590 long double f = 3.141592653;
22591 sprintf (buf, "%Lg", f);
22592 return (strncmp ("3.14159", buf, 7));
22597 rm -f conftest
$ac_exeext
22598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22599 (eval $ac_link) 2>&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
22608 gdb_cv_printf_has_long_double
=yes
22610 echo "$as_me: program exited with status $ac_status" >&5
22611 echo "$as_me: failed program was:" >&5
22612 sed 's/^/| /' conftest.
$ac_ext >&5
22614 ( exit $ac_status )
22615 gdb_cv_printf_has_long_double
=no
22617 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22620 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
22621 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
22622 if test $gdb_cv_printf_has_long_double = yes; then
22624 cat >>confdefs.h
<<\_ACEOF
22625 #define PRINTF_HAS_LONG_DOUBLE 1
22630 # Check if the compiler and runtime support scanning long doubles.
22632 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
22633 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
22634 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
22635 echo $ECHO_N "(cached) $ECHO_C" >&6
22637 if test "$cross_compiling" = yes; then
22638 gdb_cv_scanf_has_long_double
=no
22640 cat >conftest.
$ac_ext <<_ACEOF
22643 cat confdefs.h
>>conftest.
$ac_ext
22644 cat >>conftest.
$ac_ext <<_ACEOF
22645 /* end confdefs.h. */
22650 char *buf = "3.141592653";
22652 sscanf (buf, "%Lg", &f);
22653 return !(f > 3.14159 && f < 3.14160);
22658 rm -f conftest
$ac_exeext
22659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22660 (eval $ac_link) 2>&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; }; then
22669 gdb_cv_scanf_has_long_double
=yes
22671 echo "$as_me: program exited with status $ac_status" >&5
22672 echo "$as_me: failed program was:" >&5
22673 sed 's/^/| /' conftest.
$ac_ext >&5
22675 ( exit $ac_status )
22676 gdb_cv_scanf_has_long_double
=no
22678 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22681 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
22682 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
22683 if test $gdb_cv_scanf_has_long_double = yes; then
22685 cat >>confdefs.h
<<\_ACEOF
22686 #define SCANF_HAS_LONG_DOUBLE 1
22693 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
22694 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
22695 if test "${gdb_cv_bigtoc+set}" = set; then
22696 echo $ECHO_N "(cached) $ECHO_C" >&6
22699 SAVE_LDFLAGS
=$LDFLAGS
22702 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
22703 *) gdb_cv_bigtoc
=-bbigtoc ;;
22706 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
22707 cat >conftest.
$ac_ext <<_ACEOF
22710 cat confdefs.h
>>conftest.
$ac_ext
22711 cat >>conftest.
$ac_ext <<_ACEOF
22712 /* end confdefs.h. */
22722 rm -f conftest.
$ac_objext conftest
$ac_exeext
22723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22724 (eval $ac_link) 2>conftest.er1
22726 grep -v '^ *+' conftest.er1
>conftest.err
22728 cat conftest.err
>&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } &&
22731 { ac_try
='test -z "$ac_c_werror_flag"
22732 || test ! -s conftest.err'
22733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22734 (eval $ac_try) 2>&5
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; } &&
22738 { ac_try
='test -s conftest$ac_exeext'
22739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22740 (eval $ac_try) 2>&5
22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 (exit $ac_status); }; }; then
22746 echo "$as_me: failed program was:" >&5
22747 sed 's/^/| /' conftest.
$ac_ext >&5
22751 rm -f conftest.err conftest.
$ac_objext \
22752 conftest
$ac_exeext conftest.
$ac_ext
22753 LDFLAGS
="${SAVE_LDFLAGS}"
22756 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
22757 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
22758 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
22764 if test ${build} = ${host} -a ${host} = ${target} ; then
22767 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
22768 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
22769 if test -f /usr
/include
/dce
/cma_config.h
; then
22770 if test "$GCC" = "yes" ; then
22771 echo "$as_me:$LINENO: result: yes" >&5
22772 echo "${ECHO_T}yes" >&6
22774 cat >>confdefs.h
<<\_ACEOF
22775 #define HAVE_HPUX_THREAD_SUPPORT 1
22778 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
22779 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
22781 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
22782 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
22785 echo "$as_me:$LINENO: result: no" >&5
22786 echo "${ECHO_T}no" >&6
22790 # See if thread_db library is around for Solaris thread debugging.
22791 # Note that we must explicitly test for version 1 of the library
22792 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
22794 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
22795 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
22796 if test -f /usr
/lib
/libthread_db.so
.1 ; then
22797 echo "$as_me:$LINENO: result: yes" >&5
22798 echo "${ECHO_T}yes" >&6
22800 cat >>confdefs.h
<<\_ACEOF
22801 #define HAVE_THREAD_DB_LIB 1
22804 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
22805 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
22807 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22808 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
22809 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22810 echo $ECHO_N "(cached) $ECHO_C" >&6
22812 ac_check_lib_save_LIBS
=$LIBS
22814 cat >conftest.
$ac_ext <<_ACEOF
22817 cat confdefs.h
>>conftest.
$ac_ext
22818 cat >>conftest.
$ac_ext <<_ACEOF
22819 /* end confdefs.h. */
22821 /* Override any gcc2 internal prototype to avoid an error. */
22825 /* We use char because int might match the return type of a gcc2
22826 builtin and then its argument prototype would still apply. */
22836 rm -f conftest.
$ac_objext conftest
$ac_exeext
22837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22838 (eval $ac_link) 2>conftest.er1
22840 grep -v '^ *+' conftest.er1
>conftest.err
22842 cat conftest.err
>&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); } &&
22845 { ac_try
='test -z "$ac_c_werror_flag"
22846 || test ! -s conftest.err'
22847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22848 (eval $ac_try) 2>&5
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); }; } &&
22852 { ac_try
='test -s conftest$ac_exeext'
22853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22854 (eval $ac_try) 2>&5
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); }; }; then
22858 ac_cv_lib_dl_dlopen
=yes
22860 echo "$as_me: failed program was:" >&5
22861 sed 's/^/| /' conftest.
$ac_ext >&5
22863 ac_cv_lib_dl_dlopen
=no
22865 rm -f conftest.err conftest.
$ac_objext \
22866 conftest
$ac_exeext conftest.
$ac_ext
22867 LIBS
=$ac_check_lib_save_LIBS
22869 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22870 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
22871 if test $ac_cv_lib_dl_dlopen = yes; then
22872 cat >>confdefs.h
<<_ACEOF
22873 #define HAVE_LIBDL 1
22880 if test "$GCC" = "yes" ; then
22881 # The GNU linker requires the -export-dynamic option to make
22882 # all symbols visible in the dynamic symbol table.
22883 hold_ldflags
=$LDFLAGS
22884 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
22885 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
22886 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
22887 cat >conftest.
$ac_ext <<_ACEOF
22890 cat confdefs.h
>>conftest.
$ac_ext
22891 cat >>conftest.
$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22902 rm -f conftest.
$ac_objext conftest
$ac_exeext
22903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22904 (eval $ac_link) 2>conftest.er1
22906 grep -v '^ *+' conftest.er1
>conftest.err
22908 cat conftest.err
>&5
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); } &&
22911 { ac_try
='test -z "$ac_c_werror_flag"
22912 || test ! -s conftest.err'
22913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22914 (eval $ac_try) 2>&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); }; } &&
22918 { ac_try
='test -s conftest$ac_exeext'
22919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22920 (eval $ac_try) 2>&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); }; }; then
22926 echo "$as_me: failed program was:" >&5
22927 sed 's/^/| /' conftest.
$ac_ext >&5
22931 rm -f conftest.err conftest.
$ac_objext \
22932 conftest
$ac_exeext conftest.
$ac_ext
22933 LDFLAGS
=$hold_ldflags
22934 echo "$as_me:$LINENO: result: $found" >&5
22935 echo "${ECHO_T}$found" >&6
22936 if test $found = yes; then
22937 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
22940 # Sun randomly tweaked the prototypes in <proc_service.h>
22942 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
22943 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
22944 if test "${gdb_cv_proc_service_is_old+set}" = set; then
22945 echo $ECHO_N "(cached) $ECHO_C" >&6
22948 cat >conftest.
$ac_ext <<_ACEOF
22951 cat confdefs.h
>>conftest.
$ac_ext
22952 cat >>conftest.
$ac_ext <<_ACEOF
22953 /* end confdefs.h. */
22955 #include <proc_service.h>
22956 ps_err_e ps_pdwrite
22957 (struct ps_prochandle*, psaddr_t, const void*, size_t);
22967 rm -f conftest.
$ac_objext
22968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22969 (eval $ac_compile) 2>conftest.er1
22971 grep -v '^ *+' conftest.er1
>conftest.err
22973 cat conftest.err
>&5
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); } &&
22976 { ac_try
='test -z "$ac_c_werror_flag"
22977 || test ! -s conftest.err'
22978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22979 (eval $ac_try) 2>&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); }; } &&
22983 { ac_try
='test -s conftest.$ac_objext'
22984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22985 (eval $ac_try) 2>&5
22987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988 (exit $ac_status); }; }; then
22989 gdb_cv_proc_service_is_old
=no
22991 echo "$as_me: failed program was:" >&5
22992 sed 's/^/| /' conftest.
$ac_ext >&5
22994 gdb_cv_proc_service_is_old
=yes
22996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23000 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
23001 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
23002 if test $gdb_cv_proc_service_is_old = yes; then
23004 cat >>confdefs.h
<<\_ACEOF
23005 #define PROC_SERVICE_IS_OLD 1
23010 echo "$as_me:$LINENO: result: no" >&5
23011 echo "${ECHO_T}no" >&6
23015 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
23016 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
23017 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
23018 echo $ECHO_N "(cached) $ECHO_C" >&6
23020 cat >conftest.
$ac_ext <<_ACEOF
23023 cat confdefs.h
>>conftest.
$ac_ext
23024 cat >>conftest.
$ac_ext <<_ACEOF
23025 /* end confdefs.h. */
23026 #include <sys/pthdebug.h>
23030 #ifndef PTHDB_VERSION_3
23037 rm -f conftest.
$ac_objext
23038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23039 (eval $ac_compile) 2>conftest.er1
23041 grep -v '^ *+' conftest.er1
>conftest.err
23043 cat conftest.err
>&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); } &&
23046 { ac_try
='test -z "$ac_c_werror_flag"
23047 || test ! -s conftest.err'
23048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23049 (eval $ac_try) 2>&5
23051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052 (exit $ac_status); }; } &&
23053 { ac_try
='test -s conftest.$ac_objext'
23054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23055 (eval $ac_try) 2>&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); }; }; then
23059 gdb_cv_have_aix_thread_debug
=yes
23061 echo "$as_me: failed program was:" >&5
23062 sed 's/^/| /' conftest.
$ac_ext >&5
23064 gdb_cv_have_aix_thread_debug
=no
23066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23069 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
23070 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
23071 if test $gdb_cv_have_aix_thread_debug = yes; then
23072 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
23073 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
23074 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
23081 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
23082 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
23083 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
23084 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
23085 echo $ECHO_N "(cached) $ECHO_C" >&6
23087 cat >conftest.
$ac_ext <<_ACEOF
23090 cat confdefs.h
>>conftest.
$ac_ext
23091 cat >>conftest.
$ac_ext <<_ACEOF
23092 /* end confdefs.h. */
23093 #include <thread_db.h>
23097 int i = TD_NOTALLOC;
23102 rm -f conftest.
$ac_objext
23103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23104 (eval $ac_compile) 2>conftest.er1
23106 grep -v '^ *+' conftest.er1
>conftest.err
23108 cat conftest.err
>&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); } &&
23111 { ac_try
='test -z "$ac_c_werror_flag"
23112 || test ! -s conftest.err'
23113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23114 (eval $ac_try) 2>&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; } &&
23118 { ac_try
='test -s conftest.$ac_objext'
23119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23120 (eval $ac_try) 2>&5
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); }; }; then
23124 gdb_cv_thread_db_h_has_td_notalloc
=yes
23126 echo "$as_me: failed program was:" >&5
23127 sed 's/^/| /' conftest.
$ac_ext >&5
23129 gdb_cv_thread_db_h_has_td_notalloc
=no
23132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23135 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
23136 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
23137 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_VERSION" >&5
23138 echo $ECHO_N "checking whether <thread_db.h> has TD_VERSION... $ECHO_C" >&6
23139 if test "${gdb_cv_thread_db_h_has_td_version+set}" = set; then
23140 echo $ECHO_N "(cached) $ECHO_C" >&6
23142 cat >conftest.
$ac_ext <<_ACEOF
23145 cat confdefs.h
>>conftest.
$ac_ext
23146 cat >>conftest.
$ac_ext <<_ACEOF
23147 /* end confdefs.h. */
23148 #include <thread_db.h>
23152 int i = TD_VERSION;
23157 rm -f conftest.
$ac_objext
23158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23159 (eval $ac_compile) 2>conftest.er1
23161 grep -v '^ *+' conftest.er1
>conftest.err
23163 cat conftest.err
>&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); } &&
23166 { ac_try
='test -z "$ac_c_werror_flag"
23167 || test ! -s conftest.err'
23168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23169 (eval $ac_try) 2>&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); }; } &&
23173 { ac_try
='test -s conftest.$ac_objext'
23174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23175 (eval $ac_try) 2>&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); }; }; then
23179 gdb_cv_thread_db_h_has_td_version
=yes
23181 echo "$as_me: failed program was:" >&5
23182 sed 's/^/| /' conftest.
$ac_ext >&5
23184 gdb_cv_thread_db_h_has_td_version
=no
23187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23190 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_version" >&5
23191 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_version" >&6
23192 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTLS" >&5
23193 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTLS... $ECHO_C" >&6
23194 if test "${gdb_cv_thread_db_h_has_td_notls+set}" = set; then
23195 echo $ECHO_N "(cached) $ECHO_C" >&6
23197 cat >conftest.
$ac_ext <<_ACEOF
23200 cat confdefs.h
>>conftest.
$ac_ext
23201 cat >>conftest.
$ac_ext <<_ACEOF
23202 /* end confdefs.h. */
23203 #include <thread_db.h>
23212 rm -f conftest.
$ac_objext
23213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23214 (eval $ac_compile) 2>conftest.er1
23216 grep -v '^ *+' conftest.er1
>conftest.err
23218 cat conftest.err
>&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } &&
23221 { ac_try
='test -z "$ac_c_werror_flag"
23222 || test ! -s conftest.err'
23223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23224 (eval $ac_try) 2>&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); }; } &&
23228 { ac_try
='test -s conftest.$ac_objext'
23229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23230 (eval $ac_try) 2>&5
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); }; }; then
23234 gdb_cv_thread_db_h_has_td_notls
=yes
23236 echo "$as_me: failed program was:" >&5
23237 sed 's/^/| /' conftest.
$ac_ext >&5
23239 gdb_cv_thread_db_h_has_td_notls
=no
23242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23245 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notls" >&5
23246 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notls" >&6
23248 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
23250 cat >>confdefs.h
<<\_ACEOF
23251 #define THREAD_DB_HAS_TD_NOTALLOC 1
23255 if test "x$gdb_cv_thread_db_h_has_td_version" = "xyes"; then
23257 cat >>confdefs.h
<<\_ACEOF
23258 #define THREAD_DB_HAS_TD_VERSION 1
23262 if test "x$gdb_cv_thread_db_h_has_td_notls" = "xyes"; then
23264 cat >>confdefs.h
<<\_ACEOF
23265 #define THREAD_DB_HAS_TD_NOTLS 1
23270 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
23271 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
23272 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
23273 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
23274 echo $ECHO_N "(cached) $ECHO_C" >&6
23276 cat >conftest.
$ac_ext <<_ACEOF
23279 cat confdefs.h
>>conftest.
$ac_ext
23280 cat >>conftest.
$ac_ext <<_ACEOF
23281 /* end confdefs.h. */
23282 #include <sys/syscall.h>
23286 int i = __NR_tkill;
23291 rm -f conftest.
$ac_objext
23292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23293 (eval $ac_compile) 2>conftest.er1
23295 grep -v '^ *+' conftest.er1
>conftest.err
23297 cat conftest.err
>&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); } &&
23300 { ac_try
='test -z "$ac_c_werror_flag"
23301 || test ! -s conftest.err'
23302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23303 (eval $ac_try) 2>&5
23305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23306 (exit $ac_status); }; } &&
23307 { ac_try
='test -s conftest.$ac_objext'
23308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23309 (eval $ac_try) 2>&5
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); }; }; then
23313 gdb_cv_sys_syscall_h_has_tkill
=yes
23315 echo "$as_me: failed program was:" >&5
23316 sed 's/^/| /' conftest.
$ac_ext >&5
23318 gdb_cv_sys_syscall_h_has_tkill
=no
23321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23324 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
23325 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
23327 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
23329 cat >>confdefs.h
<<\_ACEOF
23330 #define HAVE_TKILL_SYSCALL 1
23337 # Check whether --with-sysroot or --without-sysroot was given.
23338 if test "${with_sysroot+set}" = set; then
23339 withval
="$with_sysroot"
23341 case ${with_sysroot} in
23342 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
23343 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
23346 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
23348 if test "x$prefix" = xNONE
; then
23349 test_prefix
=/usr
/local
23351 test_prefix
=$prefix
23353 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
23354 test_exec_prefix
=$test_prefix
23356 test_exec_prefix
=$exec_prefix
23358 case ${TARGET_SYSTEM_ROOT} in
23359 "${test_prefix}"|
"${test_prefix}/"*|\
23360 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
23361 '${prefix}'|
'${prefix}/'*|\
23362 '${exec_prefix}'|
'${exec_prefix}/'*)
23363 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
23364 TARGET_SYSTEM_ROOT_DEFINE
="$t"
23370 TARGET_SYSTEM_ROOT
=
23371 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
23377 # Check whether --enable-werror or --disable-werror was given.
23378 if test "${enable_werror+set}" = set; then
23379 enableval
="$enable_werror"
23380 case "${enableval}" in
23381 yes | y
) ERROR_ON_WARNING
="yes" ;;
23382 no | n
) ERROR_ON_WARNING
="no" ;;
23383 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
23384 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
23385 { (exit 1); exit 1; }; } ;;
23389 # Enable -Werror by default when using gcc
23390 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
23391 ERROR_ON_WARNING
=yes
23395 if test "${ERROR_ON_WARNING}" = yes ; then
23396 WERROR_CFLAGS
="-Werror"
23399 # The entries after -Wno-pointer-sign are disabled warnings which may
23400 # be enabled in the future, which can not currently be used to build
23402 # NOTE: If you change this list, remember to update
23403 # gdb/doc/gdbint.texinfo.
23404 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
23405 -Wformat-nonliteral -Wno-pointer-sign \
23406 -Wno-unused -Wno-switch -Wno-char-subscripts"
23408 # Check whether --enable-build-warnings or --disable-build-warnings was given.
23409 if test "${enable_build_warnings+set}" = set; then
23410 enableval
="$enable_build_warnings"
23411 case "${enableval}" in
23413 no
) build_warnings
="-w";;
23414 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
23415 build_warnings
="${build_warnings} ${t}";;
23416 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
23417 build_warnings
="${t} ${build_warnings}";;
23418 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
23420 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
23421 echo "Setting compiler warning flags = $build_warnings" 6>&1
23423 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
23424 if test "${enable_gdb_build_warnings+set}" = set; then
23425 enableval
="$enable_gdb_build_warnings"
23426 case "${enableval}" in
23428 no
) build_warnings
="-w";;
23429 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
23430 build_warnings
="${build_warnings} ${t}";;
23431 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
23432 build_warnings
="${t} ${build_warnings}";;
23433 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
23435 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
23436 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
23439 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
23441 echo "$as_me:$LINENO: checking compiler warning flags" >&5
23442 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
23443 # Separate out the -Werror flag as some files just cannot be
23444 # compiled with it enabled.
23445 for w
in ${build_warnings}; do
23447 -Werr*) WERROR_CFLAGS
=-Werror ;;
23448 *) # Check that GCC accepts it
23449 saved_CFLAGS
="$CFLAGS"
23450 CFLAGS
="$CFLAGS $w"
23451 cat >conftest.
$ac_ext <<_ACEOF
23454 cat confdefs.h
>>conftest.
$ac_ext
23455 cat >>conftest.
$ac_ext <<_ACEOF
23456 /* end confdefs.h. */
23466 rm -f conftest.
$ac_objext
23467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23468 (eval $ac_compile) 2>conftest.er1
23470 grep -v '^ *+' conftest.er1
>conftest.err
23472 cat conftest.err
>&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } &&
23475 { ac_try
='test -z "$ac_c_werror_flag"
23476 || test ! -s conftest.err'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; } &&
23482 { ac_try
='test -s conftest.$ac_objext'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; }; then
23488 WARN_CFLAGS
="${WARN_CFLAGS} $w"
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.
$ac_ext >&5
23494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23495 CFLAGS
="$saved_CFLAGS"
23498 echo "$as_me:$LINENO: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
23499 echo "${ECHO_T}${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6
23504 # In the Cygwin environment, we need some additional flags.
23505 echo "$as_me:$LINENO: checking for cygwin" >&5
23506 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
23507 if test "${gdb_cv_os_cygwin+set}" = set; then
23508 echo $ECHO_N "(cached) $ECHO_C" >&6
23510 cat >conftest.
$ac_ext <<_ACEOF
23513 cat confdefs.h
>>conftest.
$ac_ext
23514 cat >>conftest.
$ac_ext <<_ACEOF
23515 /* end confdefs.h. */
23517 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
23521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23522 $EGREP "lose" >/dev
/null
2>&1; then
23523 gdb_cv_os_cygwin
=yes
23525 gdb_cv_os_cygwin
=no
23530 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
23531 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
23534 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
23536 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
23537 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
23538 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
23542 # libreadline needs libuser32.a in a cygwin environment
23544 if test x
$gdb_cv_os_cygwin = xyes
; then
23545 WIN32LIBS
="-luser32"
23546 case "${target}" in
23547 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
23552 # The ser-tcp.c module requires sockets.
23556 cat >>confdefs.h
<<\_ACEOF
23557 #define USE_WIN32API 1
23560 WIN32LIBS
="$WIN32LIBS -lws2_32"
23565 # Add ELF support to GDB, but only if BFD includes ELF support.
23567 OLD_LDFLAGS
=$LDFLAGS
23569 CFLAGS
="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
23570 LDFLAGS
="$LDFLAGS -L../bfd -L../libiberty"
23571 intl
=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
23572 LIBS
="$LIBS -lbfd -liberty $intl"
23573 echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
23574 echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
23575 if test "${gdb_cv_var_elf+set}" = set; then
23576 echo $ECHO_N "(cached) $ECHO_C" >&6
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>
23586 #include "elf-bfd.h"
23591 bfd *abfd = NULL; bfd_get_elf_phdr_upper_bound (abfd);
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
23620 echo "$as_me: failed program was:" >&5
23621 sed 's/^/| /' conftest.
$ac_ext >&5
23625 rm -f conftest.err conftest.
$ac_objext \
23626 conftest
$ac_exeext conftest.
$ac_ext
23628 echo "$as_me:$LINENO: result: $gdb_cv_var_elf" >&5
23629 echo "${ECHO_T}$gdb_cv_var_elf" >&6
23630 if test $gdb_cv_var_elf = yes; then
23631 CONFIG_OBS
="$CONFIG_OBS elfread.o"
23633 cat >>confdefs.h
<<\_ACEOF
23639 LDFLAGS
=$OLD_LDFLAGS
23642 # Add any host-specific objects to GDB.
23643 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
23645 LIBGUI
="../libgui/src/libgui.a"
23646 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
23655 *-*-cygwin* |
*-*-mingw* )
23664 if test "${enable_gdbtk}" = "yes"; then
23666 # Gdbtk must have an absolute path to srcdir in order to run
23667 # properly when not installed.
23670 GDBTK_SRC_DIR
=`pwd`
23675 # Ok, lets find the tcl configuration
23676 # First, look for one uninstalled.
23677 # the alternative search directory is invoked by --with-tclconfig
23680 if test x
"${no_tcl}" = x
; then
23681 # we reset no_tcl in case something fails here
23684 # Check whether --with-tclconfig or --without-tclconfig was given.
23685 if test "${with_tclconfig+set}" = set; then
23686 withval
="$with_tclconfig"
23687 with_tclconfig
=${withval}
23689 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
23690 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
23691 if test "${ac_cv_c_tclconfig+set}" = set; then
23692 echo $ECHO_N "(cached) $ECHO_C" >&6
23696 # First check to see if --with-tclconfig was specified.
23697 if test x
"${with_tclconfig}" != x
; then
23698 if test -f "${with_tclconfig}/tclConfig.sh" ; then
23699 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
23701 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
23702 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
23703 { (exit 1); exit 1; }; }
23707 # then check for a private Tcl installation
23708 if test x
"${ac_cv_c_tclconfig}" = x
; then
23711 `ls -dr ../tcl[7-9]* 2>/dev/null` \
23713 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
23715 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
23716 if test -f "$i/${configdir}/tclConfig.sh" ; then
23717 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
23722 # check in a few common install locations
23723 if test x
"${ac_cv_c_tclconfig}" = x
; then
23724 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
23725 if test -f "$i/tclConfig.sh" ; then
23726 ac_cv_c_tclconfig
=`(cd $i; pwd)`
23731 # check in a few other private locations
23732 if test x
"${ac_cv_c_tclconfig}" = x
; then
23735 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
23736 if test -f "$i/${configdir}/tclConfig.sh" ; then
23737 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
23745 if test x
"${ac_cv_c_tclconfig}" = x
; then
23746 TCLCONFIG
="# no Tcl configs found"
23747 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
23748 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
23751 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
23752 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
23753 echo "${ECHO_T}found $TCLCONFIG" >&6
23757 if test -z "${no_tcl}"; then
23788 # Ok, lets find the tk configuration
23789 # First, look for one uninstalled.
23790 # the alternative search directory is invoked by --with-tkconfig
23793 if test x
"${no_tk}" = x
; then
23794 # we reset no_tk in case something fails here
23797 # Check whether --with-tkconfig or --without-tkconfig was given.
23798 if test "${with_tkconfig+set}" = set; then
23799 withval
="$with_tkconfig"
23800 with_tkconfig
=${withval}
23802 echo "$as_me:$LINENO: checking for Tk configuration" >&5
23803 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
23804 if test "${ac_cv_c_tkconfig+set}" = set; then
23805 echo $ECHO_N "(cached) $ECHO_C" >&6
23809 # First check to see if --with-tkconfig was specified.
23810 if test x
"${with_tkconfig}" != x
; then
23811 if test -f "${with_tkconfig}/tkConfig.sh" ; then
23812 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
23814 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
23815 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
23816 { (exit 1); exit 1; }; }
23820 # then check for a private Tk library
23821 if test x
"${ac_cv_c_tkconfig}" = x
; then
23824 `ls -dr ../tk[4-9]* 2>/dev/null` \
23826 `ls -dr ../../tk[4-9]* 2>/dev/null` \
23828 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
23829 if test -f "$i/${configdir}/tkConfig.sh" ; then
23830 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
23835 # check in a few common install locations
23836 if test x
"${ac_cv_c_tkconfig}" = x
; then
23837 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
23838 if test -f "$i/tkConfig.sh" ; then
23839 ac_cv_c_tkconfig
=`(cd $i; pwd)`
23844 # check in a few other private locations
23845 if test x
"${ac_cv_c_tkconfig}" = x
; then
23848 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
23849 if test -f "$i/${configdir}/tkConfig.sh" ; then
23850 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
23858 if test x
"${ac_cv_c_tkconfig}" = x
; then
23859 TKCONFIG
="# no Tk configs found"
23860 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
23861 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
23864 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
23865 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
23866 echo "${ECHO_T}found $TKCONFIG" >&6
23872 # now look for Tcl library stuff
23874 tcldir
="../tcl/${configdir}/"
23876 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
23878 # If $no_tk is nonempty, then we can't do Tk, and there is no
23879 # point to doing Tcl.
23880 if test -z "${no_tk}"; then
23882 if test -f "$TKCONFIG" ; then
23900 # Ok, lets find the tcl source trees so we can use the headers
23901 # Warning: transition of version 9 to 10 will break this algorithm
23902 # because 10 sorts before 9. We also look for just tcl. We have to
23903 # be careful that we don't match stuff like tclX by accident.
23904 # the alternative search directory is involked by --with-tclinclude
23908 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
23909 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
23911 # Check whether --with-tclinclude or --without-tclinclude was given.
23912 if test "${with_tclinclude+set}" = set; then
23913 withval
="$with_tclinclude"
23914 with_tclinclude
=${withval}
23916 if test "${ac_cv_c_tclh+set}" = set; then
23917 echo $ECHO_N "(cached) $ECHO_C" >&6
23920 # first check to see if --with-tclinclude was specified
23921 if test x
"${with_tclinclude}" != x
; then
23922 if test -f ${with_tclinclude}/tclInt.h
; then
23923 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
23924 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
23925 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
23927 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
23928 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
23929 { (exit 1); exit 1; }; }
23933 # next check if it came with Tcl configuration file
23934 if test x
"${ac_cv_c_tclconfig}" = x
; then
23935 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
23936 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
23940 # next check in private source directory
23942 # since ls returns lowest version numbers first, reverse its output
23943 if test x
"${ac_cv_c_tclh}" = x
; then
23946 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
23947 ${srcdir}/..
/..
/tcl \
23948 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
23949 ${srcdir}/..
/..
/..
/tcl \
23950 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
23951 if test -f $i/generic
/tclInt.h
; then
23952 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
23957 # finally check in a few common install locations
23959 # since ls returns lowest version numbers first, reverse its output
23960 if test x
"${ac_cv_c_tclh}" = x
; then
23962 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
23963 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
23964 /usr
/local
/src
/tcl \
23965 /usr
/local
/lib
/tcl \
23966 ${prefix}/include
; do
23967 if test -f $i/generic
/tclInt.h
; then
23968 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
23973 # see if one is installed
23974 if test x
"${ac_cv_c_tclh}" = x
; then
23975 if test "${ac_cv_header_tclInt_h+set}" = set; then
23976 echo "$as_me:$LINENO: checking for tclInt.h" >&5
23977 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
23978 if test "${ac_cv_header_tclInt_h+set}" = set; then
23979 echo $ECHO_N "(cached) $ECHO_C" >&6
23981 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
23982 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
23984 # Is the header compilable?
23985 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
23986 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
23987 cat >conftest.
$ac_ext <<_ACEOF
23990 cat confdefs.h
>>conftest.
$ac_ext
23991 cat >>conftest.
$ac_ext <<_ACEOF
23992 /* end confdefs.h. */
23993 $ac_includes_default
23994 #include <tclInt.h>
23996 rm -f conftest.
$ac_objext
23997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23998 (eval $ac_compile) 2>conftest.er1
24000 grep -v '^ *+' conftest.er1
>conftest.err
24002 cat conftest.err
>&5
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); } &&
24005 { ac_try
='test -z "$ac_c_werror_flag"
24006 || test ! -s conftest.err'
24007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24008 (eval $ac_try) 2>&5
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); }; } &&
24012 { ac_try
='test -s conftest.$ac_objext'
24013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24014 (eval $ac_try) 2>&5
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); }; }; then
24018 ac_header_compiler
=yes
24020 echo "$as_me: failed program was:" >&5
24021 sed 's/^/| /' conftest.
$ac_ext >&5
24023 ac_header_compiler
=no
24025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24027 echo "${ECHO_T}$ac_header_compiler" >&6
24029 # Is the header present?
24030 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
24031 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
24032 cat >conftest.
$ac_ext <<_ACEOF
24035 cat confdefs.h
>>conftest.
$ac_ext
24036 cat >>conftest.
$ac_ext <<_ACEOF
24037 /* end confdefs.h. */
24038 #include <tclInt.h>
24040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24041 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24043 grep -v '^ *+' conftest.er1
>conftest.err
24045 cat conftest.err
>&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); } >/dev
/null
; then
24048 if test -s conftest.err
; then
24049 ac_cpp_err
=$ac_c_preproc_warn_flag
24050 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24057 if test -z "$ac_cpp_err"; then
24058 ac_header_preproc
=yes
24060 echo "$as_me: failed program was:" >&5
24061 sed 's/^/| /' conftest.
$ac_ext >&5
24063 ac_header_preproc
=no
24065 rm -f conftest.err conftest.
$ac_ext
24066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24067 echo "${ECHO_T}$ac_header_preproc" >&6
24069 # So? What about this header?
24070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24072 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
24073 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24074 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
24075 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
24076 ac_header_preproc
=yes
24079 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
24080 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
24081 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
24082 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
24083 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
24084 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
24085 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
24086 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
24087 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
24088 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
24089 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
24090 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
24093 ## ------------------------------------------ ##
24094 ## Report this to the AC_PACKAGE_NAME lists. ##
24095 ## ------------------------------------------ ##
24098 sed "s/^/$as_me: WARNING: /" >&2
24101 echo "$as_me:$LINENO: checking for tclInt.h" >&5
24102 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
24103 if test "${ac_cv_header_tclInt_h+set}" = set; then
24104 echo $ECHO_N "(cached) $ECHO_C" >&6
24106 ac_cv_header_tclInt_h
=$ac_header_preproc
24108 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
24109 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
24112 if test $ac_cv_header_tclInt_h = yes; then
24113 ac_cv_c_tclh
=installed
24123 if test x
"${ac_cv_c_tclh}" = x
; then
24124 TCLHDIR
="# no Tcl private headers found"
24125 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
24126 echo "$as_me: error: Can't find Tcl private headers" >&2;}
24127 { (exit 1); exit 1; }; }
24129 if test x
"${ac_cv_c_tclh}" != x
; then
24131 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
24132 echo "$as_me:$LINENO: result: is installed" >&5
24133 echo "${ECHO_T}is installed" >&6
24136 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
24137 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
24138 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
24139 TCLHDIR
="-I${ac_cv_c_tclh}"
24147 # Ok, lets find the tk source trees so we can use the headers
24148 # If the directory (presumably symlink) named "tk" exists, use that one
24149 # in preference to any others. Same logic is used when choosing library
24150 # and again with Tcl. The search order is the best place to look first, then in
24151 # decreasing significance. The loop breaks if the trigger file is found.
24152 # Note the gross little conversion here of srcdir by cd'ing to the found
24153 # directory. This converts the path from a relative to an absolute, so
24154 # recursive cache variables for the path will work right. We check all
24155 # the possible paths in one loop rather than many seperate loops to speed
24157 # the alternative search directory is involked by --with-tkinclude
24160 echo "$as_me:$LINENO: checking for Tk private headers" >&5
24161 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
24163 # Check whether --with-tkinclude or --without-tkinclude was given.
24164 if test "${with_tkinclude+set}" = set; then
24165 withval
="$with_tkinclude"
24166 with_tkinclude
=${withval}
24168 if test "${ac_cv_c_tkh+set}" = set; then
24169 echo $ECHO_N "(cached) $ECHO_C" >&6
24172 # first check to see if --with-tkinclude was specified
24173 if test x
"${with_tkinclude}" != x
; then
24174 if test -f ${with_tkinclude}/tk.h
; then
24175 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
24176 elif test -f ${with_tkinclude}/generic
/tk.h
; then
24177 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
24179 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
24180 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
24181 { (exit 1); exit 1; }; }
24185 # next check if it came with Tk configuration file
24186 if test x
"${ac_cv_c_tkconfig}" = x
; then
24187 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
24188 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
24192 # next check in private source directory
24194 # since ls returns lowest version numbers first, reverse its output
24195 if test x
"${ac_cv_c_tkh}" = x
; then
24198 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
24199 ${srcdir}/..
/..
/tk \
24200 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
24201 ${srcdir}/..
/..
/..
/tk \
24202 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
24203 if test -f $i/generic
/tk.h
; then
24204 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
24209 # finally check in a few common install locations
24211 # since ls returns lowest version numbers first, reverse its output
24212 if test x
"${ac_cv_c_tkh}" = x
; then
24214 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
24215 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
24216 /usr
/local
/src
/tk \
24217 /usr
/local
/lib
/tk \
24218 ${prefix}/include
; do
24219 if test -f $i/generic
/tk.h
; then
24220 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
24225 # see if one is installed
24226 if test x
"${ac_cv_c_tkh}" = x
; then
24227 if test "${ac_cv_header_tk_h+set}" = set; then
24228 echo "$as_me:$LINENO: checking for tk.h" >&5
24229 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
24230 if test "${ac_cv_header_tk_h+set}" = set; then
24231 echo $ECHO_N "(cached) $ECHO_C" >&6
24233 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
24234 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
24236 # Is the header compilable?
24237 echo "$as_me:$LINENO: checking tk.h usability" >&5
24238 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
24239 cat >conftest.
$ac_ext <<_ACEOF
24242 cat confdefs.h
>>conftest.
$ac_ext
24243 cat >>conftest.
$ac_ext <<_ACEOF
24244 /* end confdefs.h. */
24245 $ac_includes_default
24248 rm -f conftest.
$ac_objext
24249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24250 (eval $ac_compile) 2>conftest.er1
24252 grep -v '^ *+' conftest.er1
>conftest.err
24254 cat conftest.err
>&5
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); } &&
24257 { ac_try
='test -z "$ac_c_werror_flag"
24258 || test ! -s conftest.err'
24259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24260 (eval $ac_try) 2>&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); }; } &&
24264 { ac_try
='test -s conftest.$ac_objext'
24265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24266 (eval $ac_try) 2>&5
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); }; }; then
24270 ac_header_compiler
=yes
24272 echo "$as_me: failed program was:" >&5
24273 sed 's/^/| /' conftest.
$ac_ext >&5
24275 ac_header_compiler
=no
24277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24279 echo "${ECHO_T}$ac_header_compiler" >&6
24281 # Is the header present?
24282 echo "$as_me:$LINENO: checking tk.h presence" >&5
24283 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
24284 cat >conftest.
$ac_ext <<_ACEOF
24287 cat confdefs.h
>>conftest.
$ac_ext
24288 cat >>conftest.
$ac_ext <<_ACEOF
24289 /* end confdefs.h. */
24292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24293 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24295 grep -v '^ *+' conftest.er1
>conftest.err
24297 cat conftest.err
>&5
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); } >/dev
/null
; then
24300 if test -s conftest.err
; then
24301 ac_cpp_err
=$ac_c_preproc_warn_flag
24302 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24309 if test -z "$ac_cpp_err"; then
24310 ac_header_preproc
=yes
24312 echo "$as_me: failed program was:" >&5
24313 sed 's/^/| /' conftest.
$ac_ext >&5
24315 ac_header_preproc
=no
24317 rm -f conftest.err conftest.
$ac_ext
24318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24319 echo "${ECHO_T}$ac_header_preproc" >&6
24321 # So? What about this header?
24322 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24324 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
24325 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24326 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
24327 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
24328 ac_header_preproc
=yes
24331 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
24332 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
24333 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
24334 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
24335 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
24336 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
24337 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
24338 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
24339 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
24340 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
24341 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
24342 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
24345 ## ------------------------------------------ ##
24346 ## Report this to the AC_PACKAGE_NAME lists. ##
24347 ## ------------------------------------------ ##
24350 sed "s/^/$as_me: WARNING: /" >&2
24353 echo "$as_me:$LINENO: checking for tk.h" >&5
24354 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
24355 if test "${ac_cv_header_tk_h+set}" = set; then
24356 echo $ECHO_N "(cached) $ECHO_C" >&6
24358 ac_cv_header_tk_h
=$ac_header_preproc
24360 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
24361 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
24364 if test $ac_cv_header_tk_h = yes; then
24365 ac_cv_c_tkh
=installed
24375 if test x
"${ac_cv_c_tkh}" != x
; then
24377 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
24378 echo "$as_me:$LINENO: result: is installed" >&5
24379 echo "${ECHO_T}is installed" >&6
24382 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
24383 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
24384 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
24385 TKHDIR
="-I${ac_cv_c_tkh}"
24388 TKHDIR
="# no Tk directory found"
24389 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
24390 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
24397 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
24398 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
24399 if test x
"${ac_cv_c_itclh}" = x
; then
24400 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
24401 if test -f $i/generic
/itcl.h
; then
24402 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
24407 if test x
"${ac_cv_c_itclh}" = x
; then
24408 ITCLHDIR
="# no Itcl private headers found"
24409 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
24410 echo "$as_me: error: Can't find Itcl private headers" >&2;}
24411 { (exit 1); exit 1; }; }
24413 if test x
"${ac_cv_c_itclh}" != x
; then
24414 ITCLHDIR
="-I${ac_cv_c_itclh}"
24416 # should always be here
24417 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
24422 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
24423 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
24424 if test x
"${ac_cv_c_itkh}" = x
; then
24425 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
24426 if test -f $i/generic
/itk.h
; then
24427 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
24432 if test x
"${ac_cv_c_itkh}" = x
; then
24433 ITKHDIR
="# no Itk private headers found"
24434 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
24435 echo "$as_me: error: Can't find Itk private headers" >&2;}
24436 { (exit 1); exit 1; }; }
24438 if test x
"${ac_cv_c_itkh}" != x
; then
24439 ITKHDIR
="-I${ac_cv_c_itkh}"
24441 # should always be here
24442 # ITKLIB="../itcl/itk/unix/libitk.a"
24448 # now look for Tk library stuff
24450 tkdir
="../tk/${configdir}/"
24452 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
24454 # now look for Itcl library stuff
24458 # Ok, lets find the itcl configuration
24459 # First, look for one uninstalled.
24460 # the alternative search directory is invoked by --with-itclconfig
24463 if test x
"${no_itcl}" = x
; then
24464 # we reset no_itcl in case something fails here
24467 # Check whether --with-itclconfig or --without-itclconfig was given.
24468 if test "${with_itclconfig+set}" = set; then
24469 withval
="$with_itclconfig"
24470 with_itclconfig
=${withval}
24472 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
24473 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
24474 if test "${ac_cv_c_itclconfig+set}" = set; then
24475 echo $ECHO_N "(cached) $ECHO_C" >&6
24479 # First check to see if --with-itclconfig was specified.
24480 if test x
"${with_itclconfig}" != x
; then
24481 if test -f "${with_itclconfig}/itclConfig.sh" ; then
24482 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
24484 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
24485 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
24486 { (exit 1); exit 1; }; }
24490 # then check for a private Itcl library
24491 if test x
"${ac_cv_c_itclconfig}" = x
; then
24494 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
24496 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
24498 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
24499 if test -f "$i/itclConfig.sh" ; then
24500 ac_cv_c_itclconfig
=`(cd $i; pwd)`
24505 # check in a few common install locations
24506 if test x
"${ac_cv_c_itclconfig}" = x
; then
24507 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
24508 if test -f "$i/itclConfig.sh" ; then
24509 ac_cv_c_itclconfig
=`(cd $i; pwd)`
24514 # check in a few other private locations
24515 if test x
"${ac_cv_c_itclconfig}" = x
; then
24517 ${srcdir}/..
/itcl
/itcl \
24518 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
24519 if test -f "$i/itclConfig.sh" ; then
24520 ac_cv_c_itclconfig
=`(cd $i; pwd)`
24528 if test x
"${ac_cv_c_itclconfig}" = x
; then
24529 ITCLCONFIG
="# no Itcl configs found"
24530 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
24531 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
24534 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
24535 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
24536 echo "${ECHO_T}found $ITCLCONFIG" >&6
24540 if test -z "${no_itcl}"; then
24542 if test -f "$ITCLCONFIG" ; then
24557 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
24558 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
24562 # now look for Itk library stuff
24565 # Ok, lets find the itk configuration
24566 # First, look for one uninstalled.
24567 # the alternative search directory is invoked by --with-itkconfig
24570 if test x
"${no_itk}" = x
; then
24571 # we reset no_itk in case something fails here
24574 # Check whether --with-itkconfig or --without-itkconfig was given.
24575 if test "${with_itkconfig+set}" = set; then
24576 withval
="$with_itkconfig"
24577 with_itkconfig
=${withval}
24579 echo "$as_me:$LINENO: checking for Itk configuration" >&5
24580 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
24581 if test "${ac_cv_c_itkconfig+set}" = set; then
24582 echo $ECHO_N "(cached) $ECHO_C" >&6
24586 # First check to see if --with-itkconfig was specified.
24587 if test x
"${with_itkconfig}" != x
; then
24588 if test -f "${with_itkconfig}/itkConfig.sh" ; then
24589 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
24591 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
24592 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
24593 { (exit 1); exit 1; }; }
24597 # then check for a private Itk library
24598 if test x
"${ac_cv_c_itkconfig}" = x
; then
24601 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
24603 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
24605 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
24606 if test -f "$i/itkConfig.sh" ; then
24607 ac_cv_c_itkconfig
=`(cd $i; pwd)`
24612 # check in a few common install locations
24613 if test x
"${ac_cv_c_itkconfig}" = x
; then
24614 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
24615 if test -f "$i/itkConfig.sh" ; then
24616 ac_cv_c_itkconfig
=`(cd $i; pwd)`
24621 # check in a few other private locations
24622 if test x
"${ac_cv_c_itkconfig}" = x
; then
24624 ${srcdir}/..
/itcl
/itk \
24625 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
24626 if test -f "$i/itkConfig.sh" ; then
24627 ac_cv_c_itkconfig
=`(cd $i; pwd)`
24635 if test x
"${ac_cv_c_itkconfig}" = x
; then
24636 ITKCONFIG
="# no Itk configs found"
24637 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
24638 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
24641 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
24642 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
24643 echo "${ECHO_T}found $ITKCONFIG" >&6
24648 if test -z "${no_itcl}"; then
24650 if test -f "$ITKCONFIG" ; then
24665 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
24666 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
24669 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
24671 # Include some libraries that Tcl and Tk want.
24672 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
24673 # Yes, the ordering seems wrong here. But it isn't.
24674 # TK_LIBS is the list of libraries that need to be linked
24675 # after Tcl/Tk. Note that this isn't put into LIBS. If it
24676 # were in LIBS then any link tests after this point would
24677 # try to include things like `$(LIBGUI)', which wouldn't work.
24678 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
24680 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
24681 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
24682 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
24683 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
24684 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
24685 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
24686 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
24688 if test x
$gdb_cv_os_cygwin = xyes
; then
24689 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
24690 WIN32LDAPP
="-Wl,--subsystem,console"
24691 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
24698 subdirs
="$subdirs gdbtk"
24715 echo "$as_me:$LINENO: checking for X" >&5
24716 echo $ECHO_N "checking for X... $ECHO_C" >&6
24719 # Check whether --with-x or --without-x was given.
24720 if test "${with_x+set}" = set; then
24724 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24725 if test "x$with_x" = xno
; then
24726 # The user explicitly disabled X.
24729 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24730 # Both variables are already set.
24733 if test "${ac_cv_have_x+set}" = set; then
24734 echo $ECHO_N "(cached) $ECHO_C" >&6
24736 # One or both of the vars are not set, and there is no cached value.
24737 ac_x_includes
=no ac_x_libraries
=no
24738 rm -fr conftest.dir
24739 if mkdir conftest.dir
; then
24741 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24742 cat >Imakefile
<<'_ACEOF'
24744 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24746 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24747 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24748 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24749 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24750 for ac_extension
in a so sl
; do
24751 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24752 test -f $ac_im_libdir/libX11.
$ac_extension; then
24753 ac_im_usrlibdir
=$ac_im_libdir; break
24756 # Screen out bogus values from the imake configuration. They are
24757 # bogus both because they are the default anyway, and because
24758 # using them would break gcc on systems where it needs fixed includes.
24759 case $ac_im_incroot in
24761 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24763 case $ac_im_usrlibdir in
24764 /usr
/lib |
/lib
) ;;
24765 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24769 rm -fr conftest.dir
24772 # Standard set of common directories for X headers.
24773 # Check X11 before X11Rn because it is often a symlink to the current release.
24785 /usr/local/X11/include
24786 /usr/local/X11R6/include
24787 /usr/local/X11R5/include
24788 /usr/local/X11R4/include
24790 /usr/local/include/X11
24791 /usr/local/include/X11R6
24792 /usr/local/include/X11R5
24793 /usr/local/include/X11R4
24797 /usr/XFree86/include/X11
24801 /usr/unsupported/include
24802 /usr/athena/include
24803 /usr/local/x11r5/include
24804 /usr/lpp/Xamples/include
24806 /usr/openwin/include
24807 /usr/openwin/share/include'
24809 if test "$ac_x_includes" = no
; then
24810 # Guess where to find include files, by looking for Intrinsic.h.
24811 # First, try using that file with no special directory specified.
24812 cat >conftest.
$ac_ext <<_ACEOF
24815 cat confdefs.h
>>conftest.
$ac_ext
24816 cat >>conftest.
$ac_ext <<_ACEOF
24817 /* end confdefs.h. */
24818 #include <X11/Intrinsic.h>
24820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24821 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24823 grep -v '^ *+' conftest.er1
>conftest.err
24825 cat conftest.err
>&5
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); } >/dev
/null
; then
24828 if test -s conftest.err
; then
24829 ac_cpp_err
=$ac_c_preproc_warn_flag
24830 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24837 if test -z "$ac_cpp_err"; then
24838 # We can compile using X headers with no special include directory.
24841 echo "$as_me: failed program was:" >&5
24842 sed 's/^/| /' conftest.
$ac_ext >&5
24844 for ac_dir
in $ac_x_header_dirs; do
24845 if test -r "$ac_dir/X11/Intrinsic.h"; then
24846 ac_x_includes
=$ac_dir
24851 rm -f conftest.err conftest.
$ac_ext
24852 fi # $ac_x_includes = no
24854 if test "$ac_x_libraries" = no
; then
24855 # Check for the libraries.
24856 # See if we find them without any special options.
24857 # Don't add to $LIBS permanently.
24860 cat >conftest.
$ac_ext <<_ACEOF
24863 cat confdefs.h
>>conftest.
$ac_ext
24864 cat >>conftest.
$ac_ext <<_ACEOF
24865 /* end confdefs.h. */
24866 #include <X11/Intrinsic.h>
24875 rm -f conftest.
$ac_objext conftest
$ac_exeext
24876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24877 (eval $ac_link) 2>conftest.er1
24879 grep -v '^ *+' conftest.er1
>conftest.err
24881 cat conftest.err
>&5
24882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24883 (exit $ac_status); } &&
24884 { ac_try
='test -z "$ac_c_werror_flag"
24885 || test ! -s conftest.err'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; } &&
24891 { ac_try
='test -s conftest$ac_exeext'
24892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24893 (eval $ac_try) 2>&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); }; }; then
24898 # We can link X programs with no special library path.
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.
$ac_ext >&5
24905 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24907 # Don't even attempt the hair of trying to link an X program!
24908 for ac_extension
in a so sl
; do
24909 if test -r $ac_dir/libXt.
$ac_extension; then
24910 ac_x_libraries
=$ac_dir
24916 rm -f conftest.err conftest.
$ac_objext \
24917 conftest
$ac_exeext conftest.
$ac_ext
24918 fi # $ac_x_libraries = no
24920 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
24921 # Didn't find X anywhere. Cache the known absence of X.
24922 ac_cv_have_x
="have_x=no"
24924 # Record where we found X for the cache.
24925 ac_cv_have_x
="have_x=yes \
24926 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24931 eval "$ac_cv_have_x"
24934 if test "$have_x" != yes; then
24935 echo "$as_me:$LINENO: result: $have_x" >&5
24936 echo "${ECHO_T}$have_x" >&6
24939 # If each of the values was on the command line, it overrides each guess.
24940 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24941 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24942 # Update the cache value to reflect the command line values.
24943 ac_cv_have_x
="have_x=yes \
24944 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24945 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24946 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24950 # Check whether we should enable the TUI, but only do so if we really
24952 if test x
"$enable_tui" = xyes
; then
24953 if test -d $srcdir/tui
; then
24954 if test "$ac_cv_search_waddstr" != no
; then
24955 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
24956 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
24957 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
24958 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
24959 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
24960 CONFIG_ALL
="${CONFIG_ALL} all-tui"
24961 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
24962 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
24963 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
24965 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
24966 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
24971 # Unlike the sim directory, whether a simulator is linked is controlled by
24972 # presence of a gdb_sim definition in the target configure.tgt entry.
24973 # This code just checks for a few cases where we'd like to ignore those
24974 # definitions, even when they're present in the '.mt' file. These cases
24975 # are when --disable-sim is specified, or if the simulator directory is
24976 # not part of the source tree.
24978 # Check whether --enable-sim or --disable-sim was given.
24979 if test "${enable_sim+set}" = set; then
24980 enableval
="$enable_sim"
24981 echo "enable_sim = $enable_sim";
24982 echo "enableval = ${enableval}";
24983 case "${enableval}" in
24984 yes) ignore_sim
=false
;;
24985 no
) ignore_sim
=true
;;
24986 *) ignore_sim
=false
;;
24992 if test ! -d "${srcdir}/../sim"; then
24998 if test "${ignore_sim}" = "false"; then
24999 if test x
"${gdb_sim}" != x
; then
25001 SIM_OBS
="remote-sim.o"
25003 cat >>confdefs.h
<<\_ACEOF
25023 # List of host floatformats.
25025 cat >>confdefs.h
<<_ACEOF
25026 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
25030 cat >>confdefs.h
<<_ACEOF
25031 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
25035 cat >>confdefs.h
<<_ACEOF
25036 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
25040 # target_subdir is used by the testsuite to find the target libraries.
25042 if test "${host}" != "${target}"; then
25043 target_subdir
="${target_alias}/"
25048 if test "${gdb_native}" = "yes"; then
25049 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
25050 if test ! -f ${host_makefile_frag}; then
25051 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
25052 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
25053 { (exit 1); exit 1; }; }
25055 frags
="$frags $host_makefile_frag"
25057 host_makefile_frag
=/dev
/null
25063 if test "${gdb_native}" = "yes"; then
25064 # We pick this up from the host configuration file (.mh) because we
25065 # do not have a native configuration Makefile fragment.
25066 nativefile
=`sed -n '
25067 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
25068 ' ${host_makefile_frag}`
25072 if test x
"${gdb_osabi}" != x
; then
25074 cat >>confdefs.h
<<_ACEOF
25075 #define GDB_OSABI_DEFAULT $gdb_osabi
25080 # Enable multi-ice-gdb-server.
25081 # Check whether --enable-multi-ice or --disable-multi-ice was given.
25082 if test "${enable_multi_ice+set}" = set; then
25083 enableval
="$enable_multi_ice"
25087 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
25088 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
25089 { (exit 1); exit 1; }; } ;;
25092 if test "x$enable_multi_ice" = xyes
; then
25095 subdirs
="$subdirs multi-ice"
25099 # We only build gdbserver automatically in a native configuration.
25100 if test "$gdb_native" = "yes"; then
25101 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
25102 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
25103 if test "x$build_gdbserver" = xyes
; then
25104 echo "$as_me:$LINENO: result: yes" >&5
25105 echo "${ECHO_T}yes" >&6
25108 subdirs
="$subdirs gdbserver"
25111 echo "$as_me:$LINENO: result: no" >&5
25112 echo "${ECHO_T}no" >&6
25116 # If nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
25117 # to an empty version.
25124 if test "${nativefile}" != ""; then
25126 case "${nativefile}" in
25127 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
25128 * ) GDB_NM_FILE
="${nativefile}"
25130 files
="${files} ${GDB_NM_FILE}"
25131 links
="${links} nm.h"
25133 cat >>confdefs.h
<<_ACEOF
25134 #define GDB_NM_FILE "${GDB_NM_FILE}"
25140 ac_sources
="$files"
25142 while test -n "$ac_sources"; do
25143 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
25144 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
25145 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
25147 ac_config_links
="$ac_config_links $ac_config_links_1"
25154 cat >>confdefs.h
<<\_ACEOF
25155 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
25162 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
25163 if test "${with_libiconv_prefix+set}" = set; then
25164 withval
="$with_libiconv_prefix"
25166 for dir
in `echo "$withval" | tr : ' '`; do
25167 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
25168 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
25173 echo "$as_me:$LINENO: checking for iconv" >&5
25174 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
25175 if test "${am_cv_func_iconv+set}" = set; then
25176 echo $ECHO_N "(cached) $ECHO_C" >&6
25179 am_cv_func_iconv
="no, consider installing GNU libiconv"
25181 cat >conftest.
$ac_ext <<_ACEOF
25184 cat confdefs.h
>>conftest.
$ac_ext
25185 cat >>conftest.
$ac_ext <<_ACEOF
25186 /* end confdefs.h. */
25187 #include <stdlib.h>
25192 iconv_t cd = iconv_open("","");
25193 iconv(cd,NULL,NULL,NULL,NULL);
25199 rm -f conftest.
$ac_objext conftest
$ac_exeext
25200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25201 (eval $ac_link) 2>conftest.er1
25203 grep -v '^ *+' conftest.er1
>conftest.err
25205 cat conftest.err
>&5
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); } &&
25208 { ac_try
='test -z "$ac_c_werror_flag"
25209 || test ! -s conftest.err'
25210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25211 (eval $ac_try) 2>&5
25213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214 (exit $ac_status); }; } &&
25215 { ac_try
='test -s conftest$ac_exeext'
25216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25217 (eval $ac_try) 2>&5
25219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220 (exit $ac_status); }; }; then
25221 am_cv_func_iconv
=yes
25223 echo "$as_me: failed program was:" >&5
25224 sed 's/^/| /' conftest.
$ac_ext >&5
25227 rm -f conftest.err conftest.
$ac_objext \
25228 conftest
$ac_exeext conftest.
$ac_ext
25229 if test "$am_cv_func_iconv" != yes; then
25230 am_save_LIBS
="$LIBS"
25231 LIBS
="$LIBS -liconv"
25232 cat >conftest.
$ac_ext <<_ACEOF
25235 cat confdefs.h
>>conftest.
$ac_ext
25236 cat >>conftest.
$ac_ext <<_ACEOF
25237 /* end confdefs.h. */
25238 #include <stdlib.h>
25243 iconv_t cd = iconv_open("","");
25244 iconv(cd,NULL,NULL,NULL,NULL);
25250 rm -f conftest.
$ac_objext conftest
$ac_exeext
25251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25252 (eval $ac_link) 2>conftest.er1
25254 grep -v '^ *+' conftest.er1
>conftest.err
25256 cat conftest.err
>&5
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); } &&
25259 { ac_try
='test -z "$ac_c_werror_flag"
25260 || test ! -s conftest.err'
25261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25262 (eval $ac_try) 2>&5
25264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25265 (exit $ac_status); }; } &&
25266 { ac_try
='test -s conftest$ac_exeext'
25267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25268 (eval $ac_try) 2>&5
25270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25271 (exit $ac_status); }; }; then
25272 am_cv_lib_iconv
=yes
25273 am_cv_func_iconv
=yes
25275 echo "$as_me: failed program was:" >&5
25276 sed 's/^/| /' conftest.
$ac_ext >&5
25279 rm -f conftest.err conftest.
$ac_objext \
25280 conftest
$ac_exeext conftest.
$ac_ext
25281 LIBS
="$am_save_LIBS"
25285 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
25286 echo "${ECHO_T}$am_cv_func_iconv" >&6
25287 if test "$am_cv_func_iconv" = yes; then
25289 cat >>confdefs.h
<<\_ACEOF
25290 #define HAVE_ICONV 1
25293 echo "$as_me:$LINENO: checking for iconv declaration" >&5
25294 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
25295 if test "${am_cv_proto_iconv+set}" = set; then
25296 echo $ECHO_N "(cached) $ECHO_C" >&6
25299 cat >conftest.
$ac_ext <<_ACEOF
25302 cat confdefs.h
>>conftest.
$ac_ext
25303 cat >>conftest.
$ac_ext <<_ACEOF
25304 /* end confdefs.h. */
25306 #include <stdlib.h>
25312 #if defined(__STDC__) || defined(__cplusplus)
25313 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
25326 rm -f conftest.
$ac_objext
25327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25328 (eval $ac_compile) 2>conftest.er1
25330 grep -v '^ *+' conftest.er1
>conftest.err
25332 cat conftest.err
>&5
25333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25334 (exit $ac_status); } &&
25335 { ac_try
='test -z "$ac_c_werror_flag"
25336 || test ! -s conftest.err'
25337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25338 (eval $ac_try) 2>&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); }; } &&
25342 { ac_try
='test -s conftest.$ac_objext'
25343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25344 (eval $ac_try) 2>&5
25346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347 (exit $ac_status); }; }; then
25348 am_cv_proto_iconv_arg1
=""
25350 echo "$as_me: failed program was:" >&5
25351 sed 's/^/| /' conftest.
$ac_ext >&5
25353 am_cv_proto_iconv_arg1
="const"
25355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25356 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);"
25359 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
25360 echo "$as_me:$LINENO: result: ${ac_t:-
25361 }$am_cv_proto_iconv" >&5
25362 echo "${ECHO_T}${ac_t:-
25363 }$am_cv_proto_iconv" >&6
25365 cat >>confdefs.h
<<_ACEOF
25366 #define ICONV_CONST $am_cv_proto_iconv_arg1
25371 if test "$am_cv_lib_iconv" = yes; then
25377 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in gnulib/Makefile"
25378 ac_config_commands
="$ac_config_commands default"
25379 cat >confcache
<<\_ACEOF
25380 # This file is a shell script that caches the results of configure
25381 # tests run on this system so they can be shared between configure
25382 # scripts and configure runs, see configure's option --config-cache.
25383 # It is not useful on other systems. If it contains results you don't
25384 # want to keep, you may remove or edit it.
25386 # config.status only pays attention to the cache file if you give it
25387 # the --recheck option to rerun configure.
25389 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25390 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25391 # following values.
25395 # The following way of writing the cache mishandles newlines in values,
25396 # but we know of no workaround that is simple, portable, and efficient.
25397 # So, don't put newlines in cache variables' values.
25398 # Ultrix sh set writes to stderr and can't be redirected directly,
25399 # and sets the high bit in the cache file unless we assign to the vars.
25402 case `(ac_space=' '; set | grep ac_space) 2>&1` in
25404 # `set' does not quote correctly, so add quotes (double-quote
25405 # substitution turns \\\\ into \\, and sed turns \\ into \).
25408 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25411 # `set' quotes correctly as required by POSIX, so do not add quotes.
25413 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25420 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25422 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25424 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
25425 if test -w $cache_file; then
25426 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25427 cat confcache
>$cache_file
25429 echo "not updating unwritable cache $cache_file"
25434 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25435 # Let make expand exec_prefix.
25436 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25438 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25439 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25440 # trailing colons and then remove the whole line if VPATH becomes empty
25441 # (actually we leave an empty line to preserve line numbers).
25442 if test "x$srcdir" = x.
; then
25443 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25444 s/:*\$(srcdir):*/:/;
25445 s/:*\${srcdir}:*/:/;
25447 s/^\([^=]*=[ ]*\):*/\1/;
25453 DEFS
=-DHAVE_CONFIG_H
25457 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25458 # 1. Remove the extension, and $U if already installed.
25459 ac_i
=`echo "$ac_i" |
25460 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
25462 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
25463 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
25465 LIBOBJS
=$ac_libobjs
25467 LTLIBOBJS
=$ac_ltlibobjs
25470 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25471 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
25472 Usually this means the macro was only invoked conditionally." >&5
25473 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
25474 Usually this means the macro was only invoked conditionally." >&2;}
25475 { (exit 1); exit 1; }; }
25477 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25478 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25479 Usually this means the macro was only invoked conditionally." >&5
25480 echo "$as_me: error: conditional \"AMDEP\" was never defined.
25481 Usually this means the macro was only invoked conditionally." >&2;}
25482 { (exit 1); exit 1; }; }
25484 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25485 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25486 Usually this means the macro was only invoked conditionally." >&5
25487 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25488 Usually this means the macro was only invoked conditionally." >&2;}
25489 { (exit 1); exit 1; }; }
25492 : ${CONFIG_STATUS=./config.status}
25493 ac_clean_files_save
=$ac_clean_files
25494 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25495 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25496 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25497 cat >$CONFIG_STATUS <<_ACEOF
25499 # Generated by $as_me.
25500 # Run this file to recreate the current configuration.
25501 # Compiler output produced by configure, useful for debugging
25502 # configure, is in config.log if it exists.
25505 ac_cs_recheck=false
25507 SHELL=\${CONFIG_SHELL-$SHELL}
25510 cat >>$CONFIG_STATUS <<\_ACEOF
25511 ## --------------------- ##
25512 ## M4sh Initialization. ##
25513 ## --------------------- ##
25515 # Be Bourne compatible
25516 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25519 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25520 # is contrary to our usage. Disable this feature.
25521 alias -g '${1+"$@"}'='"$@"'
25522 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25525 DUALCASE
=1; export DUALCASE
# for MKS sh
25527 # Support unset when possible.
25528 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
25535 # Work around bugs in pre-3.0 UWIN ksh.
25536 $as_unset ENV MAIL MAILPATH
25543 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25544 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25545 LC_TELEPHONE LC_TIME
25547 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25548 eval $as_var=C
; export $as_var
25554 # Required to use basename.
25555 if expr a
: '\(a\)' >/dev
/null
2>&1; then
25561 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
25562 as_basename
=basename
25568 # Name of the executable.
25569 as_me
=`$as_basename "$0" ||
25570 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25571 X"$0" : 'X\(//\)$' \| \
25572 X"$0" : 'X\(/\)$' \| \
25573 . : '\(.\)' 2>/dev/null ||
25575 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
25576 /^X\/\(\/\/\)$/{ s//\1/; q; }
25577 /^X\/\(\/\).*/{ s//\1/; q; }
25581 # PATH needs CR, and LINENO needs CR and PATH.
25582 # Avoid depending upon Character Ranges.
25583 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25584 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25585 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25586 as_cr_digits
='0123456789'
25587 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25589 # The user is always right.
25590 if test "${PATH_SEPARATOR+set}" != set; then
25591 echo "#! /bin/sh" >conf$$.sh
25592 echo "exit 0" >>conf$$.sh
25594 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
25603 as_lineno_1
=$LINENO
25604 as_lineno_2
=$LINENO
25605 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
25606 test "x$as_lineno_1" != "x$as_lineno_2" &&
25607 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
25608 # Find who we are. Look in the path if we contain no path at all
25611 *[\\/]* ) as_myself
=$0 ;;
25612 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25613 for as_dir
in $PATH
25616 test -z "$as_dir" && as_dir
=.
25617 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
25622 # We did not find ourselves, most probably we were run as `sh COMMAND'
25623 # in which case we are not to be found in the path.
25624 if test "x$as_myself" = x
; then
25627 if test ! -f "$as_myself"; then
25628 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
25629 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
25630 { (exit 1); exit 1; }; }
25632 case $CONFIG_SHELL in
25634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25635 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
25638 test -z "$as_dir" && as_dir
=.
25639 for as_base
in sh bash ksh sh5
; do
25642 if ("$as_dir/$as_base" -c '
25643 as_lineno_1=$LINENO
25644 as_lineno_2=$LINENO
25645 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25646 test "x$as_lineno_1" != "x$as_lineno_2" &&
25647 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
25648 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
25649 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
25650 CONFIG_SHELL
=$as_dir/$as_base
25651 export CONFIG_SHELL
25652 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
25660 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25661 # uniformly replaced by the line number. The first 'sed' inserts a
25662 # line-number line before each line; the second 'sed' does the real
25663 # work. The second script uses 'N' to pair each line-number line
25664 # with the numbered line, and appends trailing '-' during
25665 # substitution so that $LINENO is not a special case at line end.
25666 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25667 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
25668 sed '=' <$as_myself |
25673 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
25676 s,^['$as_cr_digits']*\n,,
25677 ' >$as_me.lineno
&&
25678 chmod +x
$as_me.lineno ||
25679 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
25680 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
25681 { (exit 1); exit 1; }; }
25683 # Don't try to exec as it changes $[0], causing all sort of problems
25684 # (the dirname of $[0] is not the place where we might find the
25685 # original and so on. Autoconf is especially sensible to this).
25687 # Exit status is that of the last command.
25692 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
25693 *c
*,-n*) ECHO_N
= ECHO_C
='
25695 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
25696 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
25699 if expr a
: '\(a\)' >/dev
/null
2>&1; then
25705 rm -f conf$$ conf$$.exe conf$$.
file
25707 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25708 # We could just check for DJGPP; but this test a) works b) is more generic
25709 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
25710 if test -f conf$$.exe
; then
25711 # Don't use ln at all; we don't have any links
25716 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25721 rm -f conf$$ conf$$.exe conf$$.
file
25723 if mkdir
-p .
2>/dev
/null
; then
25726 test -d .
/-p && rmdir .
/-p
25730 as_executable_p
="test -f"
25732 # Sed expression to map a string onto a valid CPP name.
25733 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25735 # Sed expression to map a string onto a valid variable name.
25736 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25740 # We need space, tab and new line, in precisely that order.
25750 # Open the log real soon, to keep \$[0] and so on meaningful, and to
25751 # report actual input values of CONFIG_FILES etc. instead of their
25752 # values after options handling. Logging --version etc. is OK.
25756 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25757 ## Running $as_me. ##
25762 This file was extended by $as_me, which was
25763 generated by GNU Autoconf 2.59. Invocation command line was
25765 CONFIG_FILES = $CONFIG_FILES
25766 CONFIG_HEADERS = $CONFIG_HEADERS
25767 CONFIG_LINKS = $CONFIG_LINKS
25768 CONFIG_COMMANDS = $CONFIG_COMMANDS
25772 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
25776 # Files that config.status was made for.
25777 if test -n "$ac_config_files"; then
25778 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
25781 if test -n "$ac_config_headers"; then
25782 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
25785 if test -n "$ac_config_links"; then
25786 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
25789 if test -n "$ac_config_commands"; then
25790 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
25793 cat >>$CONFIG_STATUS <<\_ACEOF
25796 \`$as_me' instantiates files from templates according to the
25797 current configuration.
25799 Usage: $0 [OPTIONS] [FILE]...
25801 -h, --help print this help, then exit
25802 -V, --version print version number, then exit
25803 -q, --quiet do not print progress messages
25804 -d, --debug don't remove temporary files
25805 --recheck update $as_me by reconfiguring in the same conditions
25806 --file=FILE[:TEMPLATE]
25807 instantiate the configuration file FILE
25808 --header=FILE[:TEMPLATE]
25809 instantiate the configuration header FILE
25811 Configuration files:
25814 Configuration headers:
25817 Configuration links:
25820 Configuration commands:
25823 Report bugs to <bug-autoconf@gnu.org>."
25826 cat >>$CONFIG_STATUS <<_ACEOF
25829 configured by $0, generated by GNU Autoconf 2.59,
25830 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
25832 Copyright (C) 2003 Free Software Foundation, Inc.
25833 This config.status script is free software; the Free Software Foundation
25834 gives unlimited permission to copy, distribute and modify it."
25839 cat >>$CONFIG_STATUS <<\_ACEOF
25840 # If no file are specified by the user, then we need to provide default
25841 # value. By we need to know if files were specified by the user.
25847 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
25848 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
25856 *) # This is not an option, so the user has probably given explicit
25859 ac_need_defaults
=false
;;
25863 # Handling of the options.
25865 cat >>$CONFIG_STATUS <<\_ACEOF
25866 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25868 --version |
--vers* |
-V )
25869 echo "$ac_cs_version"; exit 0 ;;
25871 # Conflict between --help and --header
25872 { { echo "$as_me:$LINENO: error: ambiguous option: $1
25873 Try \`$0 --help' for more information." >&5
25874 echo "$as_me: error: ambiguous option: $1
25875 Try \`$0 --help' for more information." >&2;}
25876 { (exit 1); exit 1; }; };;
25877 --help |
--hel |
-h )
25878 echo "$ac_cs_usage"; exit 0 ;;
25879 --debug |
--d* |
-d )
25881 --file |
--fil |
--fi |
--f )
25883 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
25884 ac_need_defaults
=false
;;
25885 --header |
--heade |
--head |
--hea )
25887 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
25888 ac_need_defaults
=false
;;
25889 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25890 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25893 # This is an error.
25894 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
25895 Try \`$0 --help' for more information." >&5
25896 echo "$as_me: error: unrecognized option: $1
25897 Try \`$0 --help' for more information." >&2;}
25898 { (exit 1); exit 1; }; } ;;
25900 *) ac_config_targets
="$ac_config_targets $1" ;;
25906 ac_configure_extra_args
=
25908 if $ac_cs_silent; then
25910 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25914 cat >>$CONFIG_STATUS <<_ACEOF
25915 if \$ac_cs_recheck; then
25916 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25917 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25922 cat >>$CONFIG_STATUS <<_ACEOF
25924 # INIT-COMMANDS section.
25927 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25931 acx_cv_header_stdint="$acx_cv_header_stdint"
25932 acx_cv_type_int8_t="$acx_cv_type_int8_t"
25933 acx_cv_type_int16_t="$acx_cv_type_int16_t"
25934 acx_cv_type_int32_t="$acx_cv_type_int32_t"
25935 acx_cv_type_int64_t="$acx_cv_type_int64_t"
25936 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
25937 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
25938 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
25939 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
25940 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
25941 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
25942 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
25943 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
25944 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
25947 gdb_host_cpu=$gdb_host_cpu
25948 nativefile=$nativefile
25955 cat >>$CONFIG_STATUS <<\_ACEOF
25956 for ac_config_target
in $ac_config_targets
25958 case "$ac_config_target" in
25959 # Handling of arguments.
25960 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25961 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
25962 "gnulib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gnulib/Makefile" ;;
25963 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
25964 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25965 "gdb_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gdb_stdint.h" ;;
25966 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
25967 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
25968 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25969 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25970 { (exit 1); exit 1; }; };;
25974 # If the user did not use the arguments to specify the items to instantiate,
25975 # then the envvar interface is used. Set only those that are not.
25976 # We use the long form for the default assignment because of an extremely
25977 # bizarre bug on SunOS 4.1.3.
25978 if $ac_need_defaults; then
25979 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25980 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25981 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
25982 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25985 # Have a temporary directory for convenience. Make it in the build tree
25986 # simply because there is no reason to put it here, and in addition,
25987 # creating and moving files from /tmp can sometimes cause problems.
25988 # Create a temporary directory, and hook for its removal unless debugging.
25991 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
25992 trap '{ (exit 1); exit 1; }' 1 2 13 15
25995 # Create a (secure) tmp directory for tmp files.
25998 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
25999 test -n "$tmp" && test -d "$tmp"
26002 tmp
=.
/confstat$$
-$RANDOM
26003 (umask 077 && mkdir
$tmp)
26006 echo "$me: cannot create a temporary directory in ." >&2
26007 { (exit 1); exit 1; }
26012 cat >>$CONFIG_STATUS <<_ACEOF
26015 # CONFIG_FILES section.
26018 # No need to generate the scripts if there are no CONFIG_FILES.
26019 # This happens for instance when ./config.status config.h
26020 if test -n "\$CONFIG_FILES"; then
26021 # Protect against being on the right side of a sed subst in config.status.
26022 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
26023 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
26024 s,@SHELL@,$SHELL,;t t
26025 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
26026 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
26027 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
26028 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
26029 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
26030 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
26031 s,@exec_prefix@,$exec_prefix,;t t
26032 s,@prefix@,$prefix,;t t
26033 s,@program_transform_name@,$program_transform_name,;t t
26034 s,@bindir@,$bindir,;t t
26035 s,@sbindir@,$sbindir,;t t
26036 s,@libexecdir@,$libexecdir,;t t
26037 s,@datadir@,$datadir,;t t
26038 s,@sysconfdir@,$sysconfdir,;t t
26039 s,@sharedstatedir@,$sharedstatedir,;t t
26040 s,@localstatedir@,$localstatedir,;t t
26041 s,@libdir@,$libdir,;t t
26042 s,@includedir@,$includedir,;t t
26043 s,@oldincludedir@,$oldincludedir,;t t
26044 s,@infodir@,$infodir,;t t
26045 s,@mandir@,$mandir,;t t
26046 s,@build_alias@,$build_alias,;t t
26047 s,@host_alias@,$host_alias,;t t
26048 s,@target_alias@,$target_alias,;t t
26049 s,@DEFS@,$DEFS,;t t
26050 s,@ECHO_C@,$ECHO_C,;t t
26051 s,@ECHO_N@,$ECHO_N,;t t
26052 s,@ECHO_T@,$ECHO_T,;t t
26053 s,@LIBS@,$LIBS,;t t
26054 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
26055 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
26056 s,@MAINT@,$MAINT,;t t
26058 s,@CFLAGS@,$CFLAGS,;t t
26059 s,@LDFLAGS@,$LDFLAGS,;t t
26060 s,@CPPFLAGS@,$CPPFLAGS,;t t
26061 s,@ac_ct_CC@,$ac_ct_CC,;t t
26062 s,@EXEEXT@,$EXEEXT,;t t
26063 s,@OBJEXT@,$OBJEXT,;t t
26065 s,@EGREP@,$EGREP,;t t
26066 s,@build@,$build,;t t
26067 s,@build_cpu@,$build_cpu,;t t
26068 s,@build_vendor@,$build_vendor,;t t
26069 s,@build_os@,$build_os,;t t
26070 s,@host@,$host,;t t
26071 s,@host_cpu@,$host_cpu,;t t
26072 s,@host_vendor@,$host_vendor,;t t
26073 s,@host_os@,$host_os,;t t
26074 s,@target@,$target,;t t
26075 s,@target_cpu@,$target_cpu,;t t
26076 s,@target_vendor@,$target_vendor,;t t
26077 s,@target_os@,$target_os,;t t
26078 s,@USE_NLS@,$USE_NLS,;t t
26079 s,@LIBINTL@,$LIBINTL,;t t
26080 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
26081 s,@INCINTL@,$INCINTL,;t t
26082 s,@XGETTEXT@,$XGETTEXT,;t t
26083 s,@GMSGFMT@,$GMSGFMT,;t t
26084 s,@POSUB@,$POSUB,;t t
26085 s,@CATALOGS@,$CATALOGS,;t t
26086 s,@DATADIRNAME@,$DATADIRNAME,;t t
26087 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
26088 s,@GENCAT@,$GENCAT,;t t
26089 s,@CATOBJEXT@,$CATOBJEXT,;t t
26090 s,@localedir@,$localedir,;t t
26091 s,@PACKAGE@,$PACKAGE,;t t
26092 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26093 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26094 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
26095 s,@CYGPATH_W@,$CYGPATH_W,;t t
26096 s,@VERSION@,$VERSION,;t t
26097 s,@ACLOCAL@,$ACLOCAL,;t t
26098 s,@AUTOCONF@,$AUTOCONF,;t t
26099 s,@AUTOMAKE@,$AUTOMAKE,;t t
26100 s,@AUTOHEADER@,$AUTOHEADER,;t t
26101 s,@MAKEINFO@,$MAKEINFO,;t t
26102 s,@install_sh@,$install_sh,;t t
26103 s,@STRIP@,$STRIP,;t t
26104 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
26105 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
26106 s,@mkdir_p@,$mkdir_p,;t t
26108 s,@SET_MAKE@,$SET_MAKE,;t t
26109 s,@am__leading_dot@,$am__leading_dot,;t t
26110 s,@AMTAR@,$AMTAR,;t t
26111 s,@am__tar@,$am__tar,;t t
26112 s,@am__untar@,$am__untar,;t t
26113 s,@DEPDIR@,$DEPDIR,;t t
26114 s,@am__include@,$am__include,;t t
26115 s,@am__quote@,$am__quote,;t t
26116 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
26117 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
26118 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
26119 s,@CCDEPMODE@,$CCDEPMODE,;t t
26120 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
26121 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
26122 s,@subdirs@,$subdirs,;t t
26123 s,@TARGET_OBS@,$TARGET_OBS,;t t
26124 s,@LN_S@,$LN_S,;t t
26125 s,@RANLIB@,$RANLIB,;t t
26126 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26127 s,@YACC@,$YACC,;t t
26129 s,@ac_ct_AR@,$ac_ct_AR,;t t
26130 s,@DLLTOOL@,$DLLTOOL,;t t
26131 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
26132 s,@WINDRES@,$WINDRES,;t t
26133 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
26135 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
26136 s,@READLINE@,$READLINE,;t t
26137 s,@READLINE_DEPS@,$READLINE_DEPS,;t t
26138 s,@READLINE_CFLAGS@,$READLINE_CFLAGS,;t t
26139 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
26140 s,@LIBEXPAT@,$LIBEXPAT,;t t
26141 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
26142 s,@ALLOCA@,$ALLOCA,;t t
26143 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
26144 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
26145 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
26146 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
26147 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
26148 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
26149 s,@WIN32LIBS@,$WIN32LIBS,;t t
26150 s,@LIBGUI@,$LIBGUI,;t t
26151 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
26152 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
26153 s,@TCL_VERSION@,$TCL_VERSION,;t t
26154 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
26155 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
26156 s,@TCL_CC@,$TCL_CC,;t t
26157 s,@TCL_DEFS@,$TCL_DEFS,;t t
26158 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
26159 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
26160 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
26161 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
26162 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
26163 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
26164 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
26165 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
26166 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
26167 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
26168 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
26169 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
26170 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
26171 s,@TK_VERSION@,$TK_VERSION,;t t
26172 s,@TK_DEFS@,$TK_DEFS,;t t
26173 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
26174 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
26175 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
26176 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
26177 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
26178 s,@TCLHDIR@,$TCLHDIR,;t t
26179 s,@TKHDIR@,$TKHDIR,;t t
26180 s,@ITCLHDIR@,$ITCLHDIR,;t t
26181 s,@ITKHDIR@,$ITKHDIR,;t t
26182 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
26183 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
26184 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
26185 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
26186 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
26187 s,@ITK_VERSION@,$ITK_VERSION,;t t
26188 s,@ITK_DEFS@,$ITK_DEFS,;t t
26189 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
26190 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
26191 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
26192 s,@X_CFLAGS@,$X_CFLAGS,;t t
26193 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
26194 s,@X_LIBS@,$X_LIBS,;t t
26195 s,@TCL_DEPS@,$TCL_DEPS,;t t
26196 s,@TK_DEPS@,$TK_DEPS,;t t
26197 s,@ITCLLIB@,$ITCLLIB,;t t
26198 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
26199 s,@ITKLIB@,$ITKLIB,;t t
26200 s,@ITK_DEPS@,$ITK_DEPS,;t t
26201 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
26202 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
26203 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
26205 s,@SIM_OBS@,$SIM_OBS,;t t
26206 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
26207 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
26208 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
26209 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
26210 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
26211 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
26212 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
26213 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
26214 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
26215 s,@target_subdir@,$target_subdir,;t t
26216 s,@frags@,$frags,;t t
26217 s,@nm_h@,$nm_h,;t t
26218 s,@LIBICONV@,$LIBICONV,;t t
26219 s,@LIBOBJS@,$LIBOBJS,;t t
26220 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
26221 /@host_makefile_frag@/r $host_makefile_frag
26222 s,@host_makefile_frag@,,;t t
26227 cat >>$CONFIG_STATUS <<\_ACEOF
26228 # Split the substitutions into bite-sized pieces for seds with
26229 # small command number limits, like on Digital OSF/1 and HP-UX.
26230 ac_max_sed_lines
=48
26231 ac_sed_frag
=1 # Number of current file.
26232 ac_beg
=1 # First line for current file.
26233 ac_end
=$ac_max_sed_lines # Line after last line for current file.
26236 while $ac_more_lines; do
26237 if test $ac_beg -gt 1; then
26238 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26240 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26242 if test ! -s $tmp/subs.frag
; then
26243 ac_more_lines
=false
26245 # The purpose of the label and of the branching condition is to
26246 # speed up the sed processing (if there are no `@' at all, there
26247 # is no need to browse any of the substitutions).
26248 # These are the two extra sed commands mentioned above.
26250 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
26251 if test -z "$ac_sed_cmds"; then
26252 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
26254 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
26256 ac_sed_frag
=`expr $ac_sed_frag + 1`
26258 ac_end
=`expr $ac_end + $ac_max_sed_lines`
26261 if test -z "$ac_sed_cmds"; then
26264 fi # test -n "$CONFIG_FILES"
26267 cat >>$CONFIG_STATUS <<\_ACEOF
26268 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
26269 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26271 - |
*:- |
*:-:* ) # input from stdin
26273 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26274 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26275 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26276 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26277 * ) ac_file_in
=$ac_file.
in ;;
26280 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
26281 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
26282 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26283 X"$ac_file" : 'X\(//\)[^/]' \| \
26284 X"$ac_file" : 'X\(//\)$' \| \
26285 X"$ac_file" : 'X\(/\)' \| \
26286 . : '\(.\)' 2>/dev/null ||
26288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26289 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26290 /^X\(\/\/\)$/{ s//\1/; q; }
26291 /^X\(\/\).*/{ s//\1/; q; }
26293 { if $as_mkdir_p; then
26298 while test ! -d "$as_dir"; do
26299 as_dirs
="$as_dir $as_dirs"
26300 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26302 X"$as_dir" : 'X\(//\)[^/]' \| \
26303 X"$as_dir" : 'X\(//\)$' \| \
26304 X"$as_dir" : 'X\(/\)' \| \
26305 . : '\(.\)' 2>/dev/null ||
26307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26308 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26309 /^X\(\/\/\)$/{ s//\1/; q; }
26310 /^X\(\/\).*/{ s//\1/; q; }
26313 test ! -n "$as_dirs" || mkdir
$as_dirs
26314 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26315 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26316 { (exit 1); exit 1; }; }; }
26320 if test "$ac_dir" != .
; then
26321 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26322 # A "../" for each directory in $ac_dir_suffix.
26323 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26325 ac_dir_suffix
= ac_top_builddir
=
26329 .
) # No --srcdir option. We are building in place.
26331 if test -z "$ac_top_builddir"; then
26334 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
26336 [\\/]* | ?
:[\\/]* ) # Absolute path.
26337 ac_srcdir
=$srcdir$ac_dir_suffix;
26338 ac_top_srcdir
=$srcdir ;;
26339 *) # Relative path.
26340 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
26341 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
26344 # Do not use `cd foo && pwd` to compute absolute paths, because
26345 # the directories may not exist.
26347 .
) ac_abs_builddir
="$ac_dir";;
26350 .
) ac_abs_builddir
=`pwd`;;
26351 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
26352 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
26355 case $ac_abs_builddir in
26356 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26358 case ${ac_top_builddir}.
in
26359 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
26360 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26361 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
26364 case $ac_abs_builddir in
26365 .
) ac_abs_srcdir
=$ac_srcdir;;
26368 .
) ac_abs_srcdir
=$ac_abs_builddir;;
26369 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
26370 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
26373 case $ac_abs_builddir in
26374 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
26376 case $ac_top_srcdir in
26377 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
26378 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
26379 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
26385 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26386 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
26389 if test x
"$ac_file" != x-
; then
26390 { echo "$as_me:$LINENO: creating $ac_file" >&5
26391 echo "$as_me: creating $ac_file" >&6;}
26394 # Let's still pretend it is `configure' which instantiates (i.e., don't
26395 # use $as_me), people would be surprised to read:
26396 # /* config.h. Generated by config.status. */
26397 if test x
"$ac_file" = x-
; then
26400 configure_input
="$ac_file. "
26402 configure_input
=$configure_input"Generated from `echo $ac_file_in |
26403 sed 's,.*/,,'` by configure."
26405 # First look for the input files in the build tree, otherwise in the
26407 ac_file_inputs
=`IFS=:
26408 for f in $ac_file_in; do
26410 -) echo $tmp/stdin ;;
26412 # Absolute (can't be DOS-style, as IFS=:)
26413 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26414 echo "$as_me: error: cannot find input file: $f" >&2;}
26415 { (exit 1); exit 1; }; }
26418 if test -f "$f"; then
26421 elif test -f "$srcdir/$f"; then
26426 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26427 echo "$as_me: error: cannot find input file: $f" >&2;}
26428 { (exit 1); exit 1; }; }
26431 done` ||
{ (exit 1); exit 1; }
26433 cat >>$CONFIG_STATUS <<_ACEOF
26437 cat >>$CONFIG_STATUS <<\_ACEOF
26439 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26440 s
,@configure_input@
,$configure_input,;t t
26441 s
,@srcdir@
,$ac_srcdir,;t t
26442 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
26443 s
,@top_srcdir@
,$ac_top_srcdir,;t t
26444 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
26445 s
,@builddir@
,$ac_builddir,;t t
26446 s
,@abs_builddir@
,$ac_abs_builddir,;t t
26447 s
,@top_builddir@
,$ac_top_builddir,;t t
26448 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
26449 s
,@INSTALL@
,$ac_INSTALL,;t t
26450 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
26452 if test x"$ac_file" != x-; then
26453 mv $tmp/out $ac_file
26461 cat >>$CONFIG_STATUS <<\_ACEOF
26464 # CONFIG_HEADER section.
26467 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
26468 # NAME is the cpp macro being defined and VALUE is the value it is being given.
26470 # ac_d sets the value in "#define NAME VALUE" lines.
26471 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
26472 ac_dB
='[ ].*$,\1#\2'
26475 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
26476 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
26477 ac_uB
='$,\1#\2define\3'
26481 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
26482 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26484 - |
*:- |
*:-:* ) # input from stdin
26486 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26487 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26488 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26489 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26490 * ) ac_file_in
=$ac_file.
in ;;
26493 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
26494 echo "$as_me: creating $ac_file" >&6;}
26496 # First look for the input files in the build tree, otherwise in the
26498 ac_file_inputs
=`IFS=:
26499 for f in $ac_file_in; do
26501 -) echo $tmp/stdin ;;
26503 # Absolute (can't be DOS-style, as IFS=:)
26504 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26505 echo "$as_me: error: cannot find input file: $f" >&2;}
26506 { (exit 1); exit 1; }; }
26507 # Do quote $f, to prevent DOS paths from being IFS'd.
26510 if test -f "$f"; then
26513 elif test -f "$srcdir/$f"; then
26518 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26519 echo "$as_me: error: cannot find input file: $f" >&2;}
26520 { (exit 1); exit 1; }; }
26523 done` ||
{ (exit 1); exit 1; }
26524 # Remove the trailing spaces.
26525 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
26529 # Transform confdefs.h into two sed scripts, `conftest.defines' and
26530 # `conftest.undefs', that substitutes the proper values into
26531 # config.h.in to produce config.h. The first handles `#define'
26532 # templates, and the second `#undef' templates.
26533 # And first: Protect against being on the right side of a sed subst in
26534 # config.status. Protect against being in an unquoted here document
26535 # in config.status.
26536 rm -f conftest.defines conftest.undefs
26537 # Using a here document instead of a string reduces the quoting nightmare.
26538 # Putting comments in sed scripts is not portable.
26540 # `end' is used to avoid that the second main sed command (meant for
26541 # 0-ary CPP macros) applies to n-ary macro definitions.
26542 # See the Autoconf documentation for `clear'.
26543 cat >confdef2sed.
sed <<\_ACEOF
26548 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
26550 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
26553 # If some macros were called several times there might be several times
26554 # the same #defines, which is useless. Nevertheless, we may not want to
26555 # sort them, since we want the *last* AC-DEFINE to be honored.
26556 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
26557 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
26558 rm -f confdef2sed.sed
26560 # This sed command replaces #undef with comments. This is necessary, for
26561 # example, in the case of _POSIX_SOURCE, which is predefined and required
26562 # on some systems where configure will not decide to define it.
26563 cat >>conftest.undefs <<\_ACEOF
26564 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
26567 # Break up conftest.defines because some shells have a limit on the size
26568 # of here documents, and old seds have small limits too (100 cmds).
26569 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
26570 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
26571 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
26572 echo ' :' >>$CONFIG_STATUS
26573 rm -f conftest.tail
26574 while grep . conftest.defines >/dev/null
26576 # Write a limited-size here document to $tmp/defines.sed.
26577 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
26578 # Speed up: don't consider the non `#define' lines.
26579 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
26580 # Work around the forget-to-reset-the-flag bug.
26581 echo 't clr' >>$CONFIG_STATUS
26582 echo ': clr' >>$CONFIG_STATUS
26583 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
26585 sed -f $tmp/defines.sed $tmp/in >$tmp/out
26587 mv $tmp/out $tmp/in
26589 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
26590 rm -f conftest.defines
26591 mv conftest.
tail conftest.defines
26593 rm -f conftest.defines
26594 echo ' fi # grep' >>$CONFIG_STATUS
26595 echo >>$CONFIG_STATUS
26597 # Break up conftest.undefs because some shells have a limit on the size
26598 # of here documents, and old seds have small limits too (100 cmds).
26599 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
26600 rm -f conftest.
tail
26601 while grep . conftest.undefs
>/dev
/null
26603 # Write a limited-size here document to $tmp/undefs.sed.
26604 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
26605 # Speed up: don't consider the non
`#undef'
26606 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
26607 # Work around the forget-to-reset-the-flag bug.
26608 echo 't clr' >>$CONFIG_STATUS
26609 echo ': clr' >>$CONFIG_STATUS
26610 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
26612 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
26614 mv $tmp/out $tmp/in
26616 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
26617 rm -f conftest.undefs
26618 mv conftest.tail conftest.undefs
26620 rm -f conftest.undefs
26622 cat >>$CONFIG_STATUS <<\_ACEOF
26623 # Let's still pretend it is `configure
' which instantiates (i.e., don't
26624 # use $as_me), people would be surprised to read:
26625 # /* config.h. Generated by config.status. */
26626 if test x
"$ac_file" = x-
; then
26627 echo "/* Generated by configure. */" >$tmp/config.h
26629 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
26631 cat $tmp/in >>$tmp/config.h
26633 if test x
"$ac_file" != x-
; then
26634 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
26635 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26636 echo "$as_me: $ac_file is unchanged" >&6;}
26638 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
26639 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26640 X"$ac_file" : 'X\(//\)[^/]' \| \
26641 X"$ac_file" : 'X\(//\)$' \| \
26642 X"$ac_file" : 'X\(/\)' \| \
26643 . : '\(.\)' 2>/dev/null ||
26645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26646 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26647 /^X\(\/\/\)$/{ s//\1/; q; }
26648 /^X\(\/\).*/{ s//\1/; q; }
26650 { if $as_mkdir_p; then
26655 while test ! -d "$as_dir"; do
26656 as_dirs
="$as_dir $as_dirs"
26657 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26658 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26659 X"$as_dir" : 'X\(//\)[^/]' \| \
26660 X"$as_dir" : 'X\(//\)$' \| \
26661 X"$as_dir" : 'X\(/\)' \| \
26662 . : '\(.\)' 2>/dev/null ||
26664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26665 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26666 /^X\(\/\/\)$/{ s//\1/; q; }
26667 /^X\(\/\).*/{ s//\1/; q; }
26670 test ! -n "$as_dirs" || mkdir
$as_dirs
26671 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26672 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26673 { (exit 1); exit 1; }; }; }
26676 mv $tmp/config.h
$ac_file
26680 rm -f $tmp/config.h
26682 # Compute $ac_file's index in $config_headers.
26684 for _am_header
in $config_headers :; do
26685 case $_am_header in
26686 $ac_file |
$ac_file:* )
26689 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26692 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
26693 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26694 X$ac_file : 'X\(//\)[^/]' \| \
26695 X$ac_file : 'X\(//\)$' \| \
26696 X$ac_file : 'X\(/\)' \| \
26697 . : '\(.\)' 2>/dev/null ||
26699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26700 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26701 /^X\(\/\/\)$/{ s//\1/; q; }
26702 /^X\(\/\).*/{ s//\1/; q; }
26703 s/.*/./; q'`/stamp-h
$_am_stamp_count
26706 cat >>$CONFIG_STATUS <<\_ACEOF
26709 # CONFIG_LINKS section.
26712 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
26713 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
26714 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26716 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
26717 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
26719 if test ! -r $srcdir/$ac_source; then
26720 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
26721 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
26722 { (exit 1); exit 1; }; }
26726 # Make relative symlinks.
26727 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
26728 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26729 X"$ac_dest" : 'X\(//\)[^/]' \| \
26730 X"$ac_dest" : 'X\(//\)$' \| \
26731 X"$ac_dest" : 'X\(/\)' \| \
26732 . : '\(.\)' 2>/dev/null ||
26734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26735 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26736 /^X\(\/\/\)$/{ s//\1/; q; }
26737 /^X\(\/\).*/{ s//\1/; q; }
26739 { if $as_mkdir_p; then
26740 mkdir
-p "$ac_dest_dir"
26742 as_dir
="$ac_dest_dir"
26744 while test ! -d "$as_dir"; do
26745 as_dirs
="$as_dir $as_dirs"
26746 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26747 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26748 X"$as_dir" : 'X\(//\)[^/]' \| \
26749 X"$as_dir" : 'X\(//\)$' \| \
26750 X"$as_dir" : 'X\(/\)' \| \
26751 . : '\(.\)' 2>/dev/null ||
26753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26754 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26755 /^X\(\/\/\)$/{ s//\1/; q; }
26756 /^X\(\/\).*/{ s//\1/; q; }
26759 test ! -n "$as_dirs" || mkdir
$as_dirs
26760 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
26761 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
26762 { (exit 1); exit 1; }; }; }
26766 if test "$ac_dest_dir" != .
; then
26767 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
26768 # A "../" for each directory in $ac_dir_suffix.
26769 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26771 ac_dir_suffix
= ac_top_builddir
=
26775 .
) # No --srcdir option. We are building in place.
26777 if test -z "$ac_top_builddir"; then
26780 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
26782 [\\/]* | ?
:[\\/]* ) # Absolute path.
26783 ac_srcdir
=$srcdir$ac_dir_suffix;
26784 ac_top_srcdir
=$srcdir ;;
26785 *) # Relative path.
26786 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
26787 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
26790 # Do not use `cd foo && pwd` to compute absolute paths, because
26791 # the directories may not exist.
26793 .
) ac_abs_builddir
="$ac_dest_dir";;
26795 case "$ac_dest_dir" in
26796 .
) ac_abs_builddir
=`pwd`;;
26797 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
26798 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
26801 case $ac_abs_builddir in
26802 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26804 case ${ac_top_builddir}.
in
26805 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
26806 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26807 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
26810 case $ac_abs_builddir in
26811 .
) ac_abs_srcdir
=$ac_srcdir;;
26814 .
) ac_abs_srcdir
=$ac_abs_builddir;;
26815 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
26816 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
26819 case $ac_abs_builddir in
26820 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
26822 case $ac_top_srcdir in
26823 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
26824 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
26825 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
26831 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
26832 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
26835 # Try a symlink, then a hard link, then a copy.
26836 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
26837 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
26838 cp -p $srcdir/$ac_source $ac_dest ||
26839 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
26840 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
26841 { (exit 1); exit 1; }; }
26844 cat >>$CONFIG_STATUS <<\_ACEOF
26847 # CONFIG_COMMANDS section.
26849 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
26850 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
26851 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26852 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
26853 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26854 X"$ac_dest" : 'X\(//\)[^/]' \| \
26855 X"$ac_dest" : 'X\(//\)$' \| \
26856 X"$ac_dest" : 'X\(/\)' \| \
26857 . : '\(.\)' 2>/dev/null ||
26859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26860 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26861 /^X\(\/\/\)$/{ s//\1/; q; }
26862 /^X\(\/\).*/{ s//\1/; q; }
26864 { if $as_mkdir_p; then
26869 while test ! -d "$as_dir"; do
26870 as_dirs
="$as_dir $as_dirs"
26871 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26872 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26873 X"$as_dir" : 'X\(//\)[^/]' \| \
26874 X"$as_dir" : 'X\(//\)$' \| \
26875 X"$as_dir" : 'X\(/\)' \| \
26876 . : '\(.\)' 2>/dev/null ||
26878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26879 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26880 /^X\(\/\/\)$/{ s//\1/; q; }
26881 /^X\(\/\).*/{ s//\1/; q; }
26884 test ! -n "$as_dirs" || mkdir
$as_dirs
26885 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26886 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26887 { (exit 1); exit 1; }; }; }
26891 if test "$ac_dir" != .
; then
26892 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26893 # A "../" for each directory in $ac_dir_suffix.
26894 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26896 ac_dir_suffix
= ac_top_builddir
=
26900 .
) # No --srcdir option. We are building in place.
26902 if test -z "$ac_top_builddir"; then
26905 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
26907 [\\/]* | ?
:[\\/]* ) # Absolute path.
26908 ac_srcdir
=$srcdir$ac_dir_suffix;
26909 ac_top_srcdir
=$srcdir ;;
26910 *) # Relative path.
26911 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
26912 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
26915 # Do not use `cd foo && pwd` to compute absolute paths, because
26916 # the directories may not exist.
26918 .
) ac_abs_builddir
="$ac_dir";;
26921 .
) ac_abs_builddir
=`pwd`;;
26922 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
26923 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
26926 case $ac_abs_builddir in
26927 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26929 case ${ac_top_builddir}.
in
26930 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
26931 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26932 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
26935 case $ac_abs_builddir in
26936 .
) ac_abs_srcdir
=$ac_srcdir;;
26939 .
) ac_abs_srcdir
=$ac_abs_builddir;;
26940 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
26941 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
26944 case $ac_abs_builddir in
26945 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
26947 case $ac_top_srcdir in
26948 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
26949 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
26950 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
26955 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
26956 echo "$as_me: executing $ac_dest commands" >&6;}
26958 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
26959 # Strip MF so we end up with the name of the file.
26960 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26961 # Check whether this is an Automake generated Makefile or not.
26962 # We used to match only the files named `Makefile.in', but
26963 # some people rename them; so instead we look at the file content.
26964 # Grep'ing the first line is not enough: some people post-process
26965 # each Makefile.in and add a new line on top of each file to say so.
26966 # So let's grep whole file.
26967 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
26968 dirpart
=`(dirname "$mf") 2>/dev/null ||
26969 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26970 X"$mf" : 'X\(//\)[^/]' \| \
26971 X"$mf" : 'X\(//\)$' \| \
26972 X"$mf" : 'X\(/\)' \| \
26973 . : '\(.\)' 2>/dev/null ||
26975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26976 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26977 /^X\(\/\/\)$/{ s//\1/; q; }
26978 /^X\(\/\).*/{ s//\1/; q; }
26983 # Extract the definition of DEPDIR, am__include, and am__quote
26984 # from the Makefile without running `make'.
26985 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26986 test -z "$DEPDIR" && continue
26987 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26988 test -z "am__include" && continue
26989 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26990 # When using ansi2knr, U may be empty or an underscore; expand it
26991 U
=`sed -n 's/^U = //p' < "$mf"`
26992 # Find all dependency output files, they are included files with
26993 # $(DEPDIR) in their names. We invoke sed twice because it is the
26994 # simplest approach to changing $(DEPDIR) to its actual value in the
26996 for file in `sed -n "
26997 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26998 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26999 # Make sure the directory exists.
27000 test -f "$dirpart/$file" && continue
27001 fdir
=`(dirname "$file") 2>/dev/null ||
27002 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27003 X"$file" : 'X\(//\)[^/]' \| \
27004 X"$file" : 'X\(//\)$' \| \
27005 X"$file" : 'X\(/\)' \| \
27006 . : '\(.\)' 2>/dev/null ||
27008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27010 /^X\(\/\/\)$/{ s//\1/; q; }
27011 /^X\(\/\).*/{ s//\1/; q; }
27013 { if $as_mkdir_p; then
27014 mkdir
-p $dirpart/$fdir
27016 as_dir
=$dirpart/$fdir
27018 while test ! -d "$as_dir"; do
27019 as_dirs
="$as_dir $as_dirs"
27020 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27022 X"$as_dir" : 'X\(//\)[^/]' \| \
27023 X"$as_dir" : 'X\(//\)$' \| \
27024 X"$as_dir" : 'X\(/\)' \| \
27025 . : '\(.\)' 2>/dev/null ||
27027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27028 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27029 /^X\(\/\/\)$/{ s//\1/; q; }
27030 /^X\(\/\).*/{ s//\1/; q; }
27033 test ! -n "$as_dirs" || mkdir
$as_dirs
27034 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
27035 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
27036 { (exit 1); exit 1; }; }; }
27038 # echo "creating $dirpart/$file"
27039 echo '# dummy' > "$dirpart/$file"
27044 if test "$GCC" = yes; then
27045 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27047 echo "/* generated for $CC */" > tmp-stdint.h
27050 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27052 #ifndef GCC_GENERATED_STDINT_H
27053 #define GCC_GENERATED_STDINT_H 1
27055 #include <sys/types.h>
27058 if test "$acx_cv_header_stdint" != stdint.h
; then
27059 echo "#include <stddef.h>" >> tmp-stdint.h
27061 if test "$acx_cv_header_stdint" != stddef.h
; then
27062 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27065 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27066 /* glibc uses these symbols as guards to prevent redefinitions. */
27067 #ifdef __int8_t_defined
27072 #ifdef __uint32_t_defined
27078 # ----------------- done header, emit basic int types -------------
27079 if test "$acx_cv_header_stdint" = stddef.h
; then
27080 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27084 #ifndef __uint8_t_defined
27085 #define __uint8_t_defined
27086 typedef unsigned $acx_cv_type_int8_t uint8_t;
27092 #ifndef __uint16_t_defined
27093 #define __uint16_t_defined
27094 typedef unsigned $acx_cv_type_int16_t uint16_t;
27100 #ifndef __uint32_t_defined
27101 #define __uint32_t_defined
27102 typedef unsigned $acx_cv_type_int32_t uint32_t;
27108 #ifndef __int8_t_defined
27109 #define __int8_t_defined
27110 typedef $acx_cv_type_int8_t int8_t;
27116 #ifndef __int16_t_defined
27117 #define __int16_t_defined
27118 typedef $acx_cv_type_int16_t int16_t;
27124 #ifndef __int32_t_defined
27125 #define __int32_t_defined
27126 typedef $acx_cv_type_int32_t int32_t;
27130 elif test "$ac_cv_type_u_int32_t" = yes; then
27131 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27133 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27146 #ifndef __uint8_t_defined
27147 #define __uint8_t_defined
27148 typedef u_int8_t uint8_t;
27154 #ifndef __uint16_t_defined
27155 #define __uint16_t_defined
27156 typedef u_int16_t uint16_t;
27162 #ifndef __uint32_t_defined
27163 #define __uint32_t_defined
27164 typedef u_int32_t uint32_t;
27169 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27171 /* Some systems have guard macros to prevent redefinitions, define them. */
27193 # ------------- done basic int types, emit int64_t types ------------
27194 if test "$ac_cv_type_uint64_t" = yes; then
27195 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27197 /* system headers have good uint64_t and int64_t */
27205 elif test "$ac_cv_type_u_int64_t" = yes; then
27206 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27208 /* system headers have an u_int64_t (and int64_t) */
27214 #ifndef __uint64_t_defined
27215 #define __uint64_t_defined
27216 typedef u_int64_t uint64_t;
27220 elif test -n "$acx_cv_type_int64_t"; then
27221 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27223 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27226 typedef $acx_cv_type_int64_t int64_t;
27230 #ifndef __uint64_t_defined
27231 #define __uint64_t_defined
27232 typedef unsigned $acx_cv_type_int64_t uint64_t;
27237 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27239 /* some common heuristics for int64_t, using compiler-specific tests */
27240 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27243 #ifndef __int64_t_defined
27244 typedef long long int64_t;
27249 typedef unsigned long long uint64_t;
27252 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27253 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27254 does not implement __extension__. But that compiler doesn't define
27256 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27257 # define __extension__
27262 __extension__ typedef long long int64_t;
27266 __extension__ typedef unsigned long long uint64_t;
27269 #elif !defined __STRICT_ANSI__
27270 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27274 typedef __int64 int64_t;
27278 typedef unsigned __int64 uint64_t;
27280 # endif /* compiler */
27282 #endif /* ANSI version */
27286 # ------------- done int64_t types, emit intptr types ------------
27287 if test "$ac_cv_type_uintptr_t" != yes; then
27288 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27290 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27291 #ifndef __uintptr_t_defined
27292 typedef u$acx_cv_type_intptr_t uintptr_t;
27294 #ifndef __intptr_t_defined
27295 typedef $acx_cv_type_intptr_t intptr_t;
27300 # ------------- done intptr types, emit int_least types ------------
27301 if test "$ac_cv_type_int_least32_t" != yes; then
27302 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27304 /* Define int_least types */
27305 typedef int8_t int_least8_t;
27306 typedef int16_t int_least16_t;
27307 typedef int32_t int_least32_t;
27309 typedef int64_t int_least64_t;
27312 typedef uint8_t uint_least8_t;
27313 typedef uint16_t uint_least16_t;
27314 typedef uint32_t uint_least32_t;
27316 typedef uint64_t uint_least64_t;
27321 # ------------- done intptr types, emit int_fast types ------------
27322 if test "$ac_cv_type_int_fast32_t" != yes; then
27323 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27325 /* Define int_fast types. short is often slow */
27326 typedef int8_t int_fast8_t;
27327 typedef int int_fast16_t;
27328 typedef int32_t int_fast32_t;
27330 typedef int64_t int_fast64_t;
27333 typedef uint8_t uint_fast8_t;
27334 typedef unsigned int uint_fast16_t;
27335 typedef uint32_t uint_fast32_t;
27337 typedef uint64_t uint_fast64_t;
27342 if test "$ac_cv_type_uintmax_t" != yes; then
27343 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27345 /* Define intmax based on what we found */
27347 typedef int64_t intmax_t;
27349 typedef long intmax_t;
27352 typedef uint64_t uintmax_t;
27354 typedef unsigned long uintmax_t;
27359 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27361 #endif /* GCC_GENERATED_STDINT_H */
27364 if test -r gdb_stdint.h
&& cmp -s tmp-stdint.h gdb_stdint.h
; then
27367 mv -f tmp-stdint.h gdb_stdint.h
27373 sed -e '/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
27374 mv -f Makefile.tmp Makefile
27377 case x
$CONFIG_HEADERS in
27378 xconfig.h
:config.
in)
27386 cat >>$CONFIG_STATUS <<\_ACEOF
27388 { (exit 0); exit 0; }
27390 chmod +x
$CONFIG_STATUS
27391 ac_clean_files
=$ac_clean_files_save
27394 # configure is writing to config.log, and then calls config.status.
27395 # config.status does its own redirection, appending to config.log.
27396 # Unfortunately, on DOS this fails, as config.log is still kept open
27397 # by configure, so config.status won't be able to write to it; its
27398 # output is simply discarded. So we exec the FD to /dev/null,
27399 # effectively closing config.log, so it can be properly (re)opened and
27400 # appended to by config.status. When coming back to configure, we
27401 # need to make the FD available again.
27402 if test "$no_create" != yes; then
27404 ac_config_status_args
=
27405 test "$silent" = yes &&
27406 ac_config_status_args
="$ac_config_status_args --quiet"
27408 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27410 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27411 # would make configure fail if this is the last instruction.
27412 $ac_cs_success ||
{ (exit 1); exit 1; }
27416 # CONFIG_SUBDIRS section.
27418 if test "$no_recursion" != yes; then
27420 # Remove --cache-file and --srcdir arguments so they do not pile up.
27421 ac_sub_configure_args
=
27423 for ac_arg
in $ac_configure_args; do
27424 if test -n "$ac_prev"; then
27429 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27430 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27431 ac_prev
=cache_file
;;
27432 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27433 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27436 --config-cache |
-C)
27438 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27440 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27442 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27444 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27446 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
27450 # Always prepend --prefix to ensure using the same prefix
27451 # in subdir configurations.
27452 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
27455 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
27457 # Do not complain, so a configure script can configure whichever
27458 # parts of a large source tree are present.
27459 test -d $srcdir/$ac_dir ||
continue
27461 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
27462 echo "$as_me: configuring in $ac_dir" >&6;}
27463 { if $as_mkdir_p; then
27468 while test ! -d "$as_dir"; do
27469 as_dirs
="$as_dir $as_dirs"
27470 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27471 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27472 X"$as_dir" : 'X\(//\)[^/]' \| \
27473 X"$as_dir" : 'X\(//\)$' \| \
27474 X"$as_dir" : 'X\(/\)' \| \
27475 . : '\(.\)' 2>/dev/null ||
27477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27478 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27479 /^X\(\/\/\)$/{ s//\1/; q; }
27480 /^X\(\/\).*/{ s//\1/; q; }
27483 test ! -n "$as_dirs" || mkdir
$as_dirs
27484 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27485 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27486 { (exit 1); exit 1; }; }; }
27490 if test "$ac_dir" != .
; then
27491 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27492 # A "../" for each directory in $ac_dir_suffix.
27493 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27495 ac_dir_suffix
= ac_top_builddir
=
27499 .
) # No --srcdir option. We are building in place.
27501 if test -z "$ac_top_builddir"; then
27504 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
27506 [\\/]* | ?
:[\\/]* ) # Absolute path.
27507 ac_srcdir
=$srcdir$ac_dir_suffix;
27508 ac_top_srcdir
=$srcdir ;;
27509 *) # Relative path.
27510 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
27511 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
27514 # Do not use `cd foo && pwd` to compute absolute paths, because
27515 # the directories may not exist.
27517 .
) ac_abs_builddir
="$ac_dir";;
27520 .
) ac_abs_builddir
=`pwd`;;
27521 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
27522 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
27525 case $ac_abs_builddir in
27526 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27528 case ${ac_top_builddir}.
in
27529 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
27530 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27531 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
27534 case $ac_abs_builddir in
27535 .
) ac_abs_srcdir
=$ac_srcdir;;
27538 .
) ac_abs_srcdir
=$ac_abs_builddir;;
27539 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
27540 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
27543 case $ac_abs_builddir in
27544 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
27546 case $ac_top_srcdir in
27547 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
27548 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
27549 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
27556 # Check for guested configure; otherwise get Cygnus style configure.
27557 if test -f $ac_srcdir/configure.gnu
; then
27558 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
27559 elif test -f $ac_srcdir/configure
; then
27560 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
27561 elif test -f $ac_srcdir/configure.
in; then
27562 ac_sub_configure
=$ac_configure
27564 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
27565 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
27569 # The recursion is here.
27570 if test -n "$ac_sub_configure"; then
27571 # Make the cache file name correct relative to the subdirectory.
27572 case $cache_file in
27573 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
27574 *) # Relative path.
27575 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
27578 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
27579 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
27580 # The eval makes quoting arguments work.
27581 eval $ac_sub_configure $ac_sub_configure_args \
27582 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
27583 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
27584 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
27585 { (exit 1); exit 1; }; }