2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="main.c"
275 ac_subdirs_all
="$ac_subdirs_all doc testsuite"
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subdirs_all
="$ac_subdirs_all gdbtk"
314 ac_subdirs_all
="$ac_subdirs_all multi-ice"
315 ac_subdirs_all
="$ac_subdirs_all gdbserver"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT localedir PACKAGE subdirs AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB YACC AR ac_ct_AR DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES MIG ac_ct_MIG HAVE_LIBEXPAT LIBEXPAT LTLIBEXPAT ALLOCA CONFIG_LDFLAGS TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS WERROR_CFLAGS SER_HARDWIRE WIN32LIBS LIBGUI GUI_CFLAGS_X WIN32LDAPP TCL_VERSION TCL_MAJOR_VERSION TCL_MINOR_VERSION TCL_CC TCL_DEFS TCL_SHLIB_CFLAGS TCL_SHLIB_LD TCL_SHLIB_LD_LIBS TCL_SHLIB_SUFFIX TCL_DL_LIBS TCL_LD_FLAGS TCL_LD_SEARCH_FLAGS TCL_CC_SEARCH_FLAGS TCL_COMPAT_OBJS TCL_RANLIB TCL_BUILD_LIB_SPEC TCL_LIB_SPEC TCL_LIB_VERSIONS_OK TK_VERSION TK_DEFS TK_BUILD_INCLUDES TK_XINCLUDES TK_XLIBSW TK_BUILD_LIB_SPEC TK_LIB_SPEC TCLHDIR TKHDIR ITCLHDIR ITKHDIR ITCL_VERSION ITCL_DEFS ITCL_BUILD_INCLUDES ITCL_BUILD_LIB_SPEC ITCL_LIB_SPEC ITK_VERSION ITK_DEFS ITK_BUILD_INCLUDES ITK_BUILD_LIB_SPEC ITK_LIB_SPEC X_CFLAGS X_LDFLAGS X_LIBS TCL_DEPS TK_DEPS ITCLLIB ITCL_DEPS ITKLIB ITK_DEPS GDBTKLIBS GDBTK_CFLAGS GDBTK_SRC_DIR IGNORE_SIM IGNORE_SIM_OBS ENABLE_CFLAGS PROFILE_CFLAGS CONFIG_OBS CONFIG_DEPS CONFIG_SRCS CONFIG_ALL CONFIG_CLEAN CONFIG_INSTALL CONFIG_UNINSTALL target_subdir frags xm_h tm_h nm_h LIBICONV LIBOBJS LTLIBOBJS'
317 ac_subst_files
='host_makefile_frag target_makefile_frag'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
375 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
378 -build |
--build |
--buil |
--bui |
--bu)
379 ac_prev
=build_alias
;;
380 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
384 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
385 ac_prev
=cache_file
;;
386 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
387 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
395 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* |
--disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* |
--enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
422 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
423 |
--exec |
--exe |
--ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
426 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
427 |
--exec=* |
--exe=* |
--ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas |
--gas |
--ga |
--g)
431 # Obsolete; use --with-gas.
434 -help |
--help |
--hel |
--he |
-h)
436 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
439 ac_init_help
=short
;;
441 -host |
--host |
--hos |
--ho)
442 ac_prev
=host_alias
;;
443 -host=* |
--host=* |
--hos=* |
--ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir |
--includedir |
--includedi |
--included |
--include \
447 |
--includ |
--inclu |
--incl |
--inc)
448 ac_prev
=includedir
;;
449 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
450 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
455 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir |
--libdir |
--libdi |
--libd)
460 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
463 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
464 |
--libexe |
--libex |
--libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
467 |
--libexe=* |
--libex=* |
--libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
471 |
--localstate |
--localstat |
--localsta |
--localst \
472 |
--locals |
--local |
--loca |
--loc |
--lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
475 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
476 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
481 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
485 # Obsolete; use --without-fp.
488 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
489 |
--no-cr |
--no-c |
-n)
492 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
493 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
496 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
497 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
498 |
--oldin |
--oldi |
--old |
--ol |
--o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
501 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
502 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
507 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
510 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
511 |
--program-pre |
--program-pr |
--program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
514 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
518 |
--program-suf |
--program-su |
--program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
521 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name |
--program-transform-name \
525 |
--program-transform-nam |
--program-transform-na \
526 |
--program-transform-n |
--program-transform- \
527 |
--program-transform |
--program-transfor \
528 |
--program-transfo |
--program-transf \
529 |
--program-trans |
--program-tran \
530 |
--progr-tra |
--program-tr |
--program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* |
--program-transform-name=* \
533 |
--program-transform-nam=* |
--program-transform-na=* \
534 |
--program-transform-n=* |
--program-transform-=* \
535 |
--program-transform=* |
--program-transfor=* \
536 |
--program-transfo=* |
--program-transf=* \
537 |
--program-trans=* |
--program-tran=* \
538 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
542 |
-silent |
--silent |
--silen |
--sile |
--sil)
545 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
547 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
552 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
553 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
557 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
558 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site |
--site |
--sit)
564 -site=* |
--site=* |
--sit=*)
567 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
569 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
572 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
573 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
576 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
580 ac_prev
=target_alias
;;
581 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
582 target_alias
=$ac_optarg ;;
584 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
587 -version |
--version |
--versio |
--versi |
--vers |
-V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* |
--without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
617 |
--x-incl |
--x-inc |
--x-in |
--x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
620 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
624 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
627 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
779 # Report the --help message.
781 if test "$ac_init_help" = "long"; then
782 # Omit some internal or obsolete options to make the list less imposing.
783 # This message is too long to be a string in the A/UX 3.1 sh.
785 \`configure' configures this package to adapt to many kinds of systems.
787 Usage: $0 [OPTION]... [VAR=VALUE]...
789 To assign environment variables (e.g., CC, CFLAGS...), specify them as
790 VAR=VALUE. See below for descriptions of some of the useful variables.
792 Defaults for the options are specified in brackets.
795 -h, --help display this help and exit
796 --help=short display options specific to this package
797 --help=recursive display the short help of all the included packages
798 -V, --version display version information and exit
799 -q, --quiet, --silent do not print \`checking...' messages
800 --cache-file=FILE cache test results in FILE [disabled]
801 -C, --config-cache alias for \`--cache-file=config.cache'
802 -n, --no-create do not create output files
803 --srcdir=DIR find the sources in DIR [configure dir or \`..']
808 Installation directories:
809 --prefix=PREFIX install architecture-independent files in PREFIX
811 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
814 By default, \`make install' will install all the files in
815 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
816 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
817 for instance \`--prefix=\$HOME'.
819 For better control, use the options below.
821 Fine tuning of the installation directories:
822 --bindir=DIR user executables [EPREFIX/bin]
823 --sbindir=DIR system admin executables [EPREFIX/sbin]
824 --libexecdir=DIR program executables [EPREFIX/libexec]
825 --datadir=DIR read-only architecture-independent data [PREFIX/share]
826 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
827 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
828 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
829 --libdir=DIR object code libraries [EPREFIX/lib]
830 --includedir=DIR C header files [PREFIX/include]
831 --oldincludedir=DIR C header files for non-gcc [/usr/include]
832 --infodir=DIR info documentation [PREFIX/info]
833 --mandir=DIR man documentation [PREFIX/man]
839 --program-prefix=PREFIX prepend PREFIX to installed program names
840 --program-suffix=SUFFIX append SUFFIX to installed program names
841 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
844 --x-includes=DIR X include files are
in DIR
845 --x-libraries=DIR X library files are
in DIR
848 --build=BUILD configure
for building on BUILD
[guessed
]
849 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
850 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
854 if test -n "$ac_init_help"; then
859 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
860 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
861 --enable-maintainer-mode enable make rules and dependencies not useful
862 (and sometimes confusing
) to the casual installer
863 --disable-gdbcli disable command-line interface
(CLI
)
864 --disable-gdbmi disable machine-interface
(MI
)
865 --enable-tui enable full-screen terminal user interface
(TUI
)
866 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
867 --enable-profiling enable profiling of GDB
868 --disable-rpath do not hardcode runtime library paths
869 --enable-werror treat compile warnings as errors
870 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
871 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
872 --enable-sim Link gdb with simulator
873 --enable-multi-ice build the multi-ice-gdb-server
876 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
877 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
878 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
879 --with-libunwind Use libunwind frame unwinding support
880 --with-gnu-ld assume the C compiler uses GNU ld default
=no
881 --with-libexpat-prefix[=DIR
] search
for libexpat
in DIR
/include and DIR
/lib
882 --without-libexpat-prefix don
't search for libexpat in includedir and libdir
883 --without-included-regex don't use included regex
; this is the default
884 on systems with version
2 of the GNU C library
885 (use with caution on other system
)
886 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
887 --with-tclconfig=DIR Directory containing tcl configuration
(tclConfig.sh
)
888 --with-tkconfig=DIR Directory containing tk configuration
(tkConfig.sh
)
889 --with-tclinclude=DIR Directory where tcl private headers are
890 --with-tkinclude=DIR Directory where tk private headers are
891 --with-itclconfig Directory containing itcl configuration
(itclConfig.sh
)
892 --with-itkconfig Directory containing itk configuration
(itkConfig.sh
)
893 --with-x use the X Window System
894 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
896 Some influential environment variables
:
897 CC C compiler
command
898 CFLAGS C compiler flags
899 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
900 nonstandard directory
<lib dir
>
901 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
902 headers
in a nonstandard directory
<include dir
>
905 Use these variables to override the choices made by
`configure' or to help
906 it to find libraries and programs with nonstandard names/locations.
911 if test "$ac_init_help" = "recursive"; then
912 # If there are subdirs, report their specific --help.
914 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
915 test -d $ac_dir || continue
918 if test "$ac_dir" != .; then
919 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
920 # A "../" for each directory in $ac_dir_suffix.
921 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
923 ac_dir_suffix= ac_top_builddir=
927 .) # No --srcdir option. We are building in place.
929 if test -z "$ac_top_builddir"; then
932 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
934 [\\/]* | ?:[\\/]* ) # Absolute path.
935 ac_srcdir=$srcdir$ac_dir_suffix;
936 ac_top_srcdir=$srcdir ;;
938 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
939 ac_top_srcdir=$ac_top_builddir$srcdir ;;
942 # Do not use `cd foo
&& pwd` to compute absolute paths, because
943 # the directories may not exist.
945 .) ac_abs_builddir="$ac_dir";;
948 .) ac_abs_builddir=`pwd`;;
949 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
950 *) ac_abs_builddir=`pwd`/"$ac_dir";;
953 case $ac_abs_builddir in
954 .) ac_abs_top_builddir=${ac_top_builddir}.;;
956 case ${ac_top_builddir}. in
957 .) ac_abs_top_builddir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
959 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
962 case $ac_abs_builddir in
963 .) ac_abs_srcdir=$ac_srcdir;;
966 .) ac_abs_srcdir=$ac_abs_builddir;;
967 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
968 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
971 case $ac_abs_builddir in
972 .) ac_abs_top_srcdir=$ac_top_srcdir;;
974 case $ac_top_srcdir in
975 .) ac_abs_top_srcdir=$ac_abs_builddir;;
976 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
977 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
982 # Check for guested configure; otherwise get Cygnus style configure.
983 if test -f $ac_srcdir/configure.gnu; then
985 $SHELL $ac_srcdir/configure.gnu --help=recursive
986 elif test -f $ac_srcdir/configure; then
988 $SHELL $ac_srcdir/configure --help=recursive
989 elif test -f $ac_srcdir/configure.ac ||
990 test -f $ac_srcdir/configure.in; then
994 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1000 test -n "$ac_init_help" && exit 0
1001 if $ac_init_version; then
1004 Copyright (C) 2003 Free Software Foundation, Inc.
1005 This configure script is free software; the Free Software Foundation
1006 gives unlimited permission to copy, distribute and modify it.
1012 This file contains any messages produced by compilers while
1013 running configure, to aid debugging if configure makes a mistake.
1015 It was created by $as_me, which was
1016 generated by GNU Autoconf 2.59. Invocation command line was
1027 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1028 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1029 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1030 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1031 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1033 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1034 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1036 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1037 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1038 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1039 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1040 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1041 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1042 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1050 test -z "$as_dir" && as_dir=.
1051 echo "PATH: $as_dir"
1066 # Keep a trace of the command line.
1067 # Strip out --no-create and --no-recursion so they do not pile up.
1068 # Strip out --silent because we don't want to record it for future runs.
1069 # Also quote any args containing shell meta-characters.
1070 # Make two passes to allow for proper duplicate-argument suppression.
1075 ac_must_keep_next=false
1081 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1082 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1083 | -silent | --silent | --silen | --sile | --sil)
1085 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1086 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1089 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1091 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1092 if test $ac_must_keep_next = true; then
1093 ac_must_keep_next=false # Got value, back to normal.
1096 *=* | --config-cache | -C | -disable-* | --disable-* \
1097 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1098 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1099 | -with-* | --with-* | -without-* | --without-* | --x)
1100 case "$ac_configure_args0 " in
1101 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1104 -* ) ac_must_keep_next=true ;;
1107 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1108 # Get rid of the leading space.
1114 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1115 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1117 # When interrupted or exit'd, cleanup temporary files, and complete
1118 # config.log. We remove comments because anyway the quotes in there
1119 # would cause problems or look ugly.
1120 # WARNING: Be sure not to use single quotes in there, as some shells,
1121 # such as our DU 5.0 friend, will then `close
' the trap.
1122 trap 'exit_status
=$?
1123 # Save into config.log some information that might help in debugging.
1128 ## ---------------- ##
1129 ## Cache variables. ##
1130 ## ---------------- ##
1133 # The following way of writing the cache mishandles newlines in values,
1136 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1139 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1140 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1144 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1151 ## ----------------- ##
1152 ## Output variables. ##
1153 ## ----------------- ##
1156 for ac_var
in $ac_subst_vars
1158 eval ac_val
=$
`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1163 if test -n "$ac_subst_files"; then
1170 for ac_var
in $ac_subst_files
1172 eval ac_val
=$
`echo $ac_var`
1173 echo "$ac_var='"'"'$ac_val'"'"'"
1178 if test -s confdefs.h
; then
1185 sed "/^$/d" confdefs.h |
sort
1188 test "$ac_signal" != 0 &&
1189 echo "$as_me: caught signal $ac_signal"
1190 echo "$as_me: exit $exit_status"
1192 rm -f core
*.core
&&
1193 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1196 for ac_signal in 1 2 13 15; do
1197 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1201 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1202 rm -rf conftest* confdefs.h
1203 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1206 # Predefined preprocessor variables.
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_NAME "$PACKAGE_NAME"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1218 cat >>confdefs.h <<_ACEOF
1219 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1223 cat >>confdefs.h <<_ACEOF
1224 #define PACKAGE_STRING "$PACKAGE_STRING"
1228 cat >>confdefs.h <<_ACEOF
1229 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1233 # Let the site file select an alternate cache file if it wants to.
1234 # Prefer explicitly selected file to automatically selected ones.
1235 if test -z "$CONFIG_SITE"; then
1236 if test "x$prefix" != xNONE; then
1237 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1239 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1242 for ac_site_file in $CONFIG_SITE; do
1243 if test -r "$ac_site_file"; then
1244 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1245 echo "$as_me: loading site script $ac_site_file" >&6;}
1246 sed 's
/^
/|
/' "$ac_site_file" >&5
1251 if test -r "$cache_file"; then
1252 # Some versions of bash will fail to source /dev/null (special
1253 # files actually), so we avoid doing that.
1254 if test -f "$cache_file"; then
1255 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1256 echo "$as_me: loading cache $cache_file" >&6;}
1258 [\\/]* | ?:[\\/]* ) . $cache_file;;
1259 *) . ./$cache_file;;
1263 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1264 echo "$as_me: creating cache $cache_file" >&6;}
1268 # Check that the precious variables saved in the cache have kept the same
1270 ac_cache_corrupted=false
1271 for ac_var in `(set) 2>&1 |
1272 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1273 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1274 eval ac_new_set=\$ac_env_${ac_var}_set
1275 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1276 eval ac_new_val="\$ac_env_${ac_var}_value"
1277 case $ac_old_set,$ac_new_set in
1279 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1280 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1281 ac_cache_corrupted=: ;;
1283 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1284 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1285 ac_cache_corrupted=: ;;
1288 if test "x$ac_old_val" != "x$ac_new_val"; then
1289 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1290 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1291 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1292 echo "$as_me: former value: $ac_old_val" >&2;}
1293 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1294 echo "$as_me: current value: $ac_new_val" >&2;}
1295 ac_cache_corrupted=:
1298 # Pass precious variables to config.status.
1299 if test "$ac_new_set" = set; then
1301 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1302 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1303 *) ac_arg=$ac_var=$ac_new_val ;;
1305 case " $ac_configure_args " in
1306 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1307 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1311 if $ac_cache_corrupted; then
1312 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1313 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1314 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1315 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1316 { (exit 1); exit 1; }; }
1320 ac_cpp='$CPP $CPPFLAGS'
1321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1322 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1343 ac_config_headers="$ac_config_headers config.h:config.in"
1345 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1346 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1347 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1348 if test "${enable_maintainer_mode+set}" = set; then
1349 enableval="$enable_maintainer_mode"
1350 USE_MAINTAINER_MODE=$enableval
1352 USE_MAINTAINER_MODE=no
1354 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1355 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1358 if test $USE_MAINTAINER_MODE = yes; then
1359 MAINTAINER_MODE_TRUE=
1360 MAINTAINER_MODE_FALSE='#'
1362 MAINTAINER_MODE_TRUE
='#'
1363 MAINTAINER_MODE_FALSE
=
1366 MAINT
=$MAINTAINER_MODE_TRUE
1371 ac_cpp
='$CPP $CPPFLAGS'
1372 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1373 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1374 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1375 if test -n "$ac_tool_prefix"; then
1376 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1377 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1378 echo "$as_me:$LINENO: checking for $ac_word" >&5
1379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1380 if test "${ac_cv_prog_CC+set}" = set; then
1381 echo $ECHO_N "(cached) $ECHO_C" >&6
1383 if test -n "$CC"; then
1384 ac_cv_prog_CC
="$CC" # Let the user override the test.
1386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1390 test -z "$as_dir" && as_dir
=.
1391 for ac_exec_ext
in '' $ac_executable_extensions; do
1392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1393 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1403 if test -n "$CC"; then
1404 echo "$as_me:$LINENO: result: $CC" >&5
1405 echo "${ECHO_T}$CC" >&6
1407 echo "$as_me:$LINENO: result: no" >&5
1408 echo "${ECHO_T}no" >&6
1412 if test -z "$ac_cv_prog_CC"; then
1414 # Extract the first word of "gcc", so it can be a program name with args.
1415 set dummy gcc
; ac_word
=$2
1416 echo "$as_me:$LINENO: checking for $ac_word" >&5
1417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1418 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1419 echo $ECHO_N "(cached) $ECHO_C" >&6
1421 if test -n "$ac_ct_CC"; then
1422 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1428 test -z "$as_dir" && as_dir
=.
1429 for ac_exec_ext
in '' $ac_executable_extensions; do
1430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1431 ac_cv_prog_ac_ct_CC
="gcc"
1432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1440 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1441 if test -n "$ac_ct_CC"; then
1442 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1443 echo "${ECHO_T}$ac_ct_CC" >&6
1445 echo "$as_me:$LINENO: result: no" >&5
1446 echo "${ECHO_T}no" >&6
1454 if test -z "$CC"; then
1455 if test -n "$ac_tool_prefix"; then
1456 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1457 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1458 echo "$as_me:$LINENO: checking for $ac_word" >&5
1459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1460 if test "${ac_cv_prog_CC+set}" = set; then
1461 echo $ECHO_N "(cached) $ECHO_C" >&6
1463 if test -n "$CC"; then
1464 ac_cv_prog_CC
="$CC" # Let the user override the test.
1466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1470 test -z "$as_dir" && as_dir
=.
1471 for ac_exec_ext
in '' $ac_executable_extensions; do
1472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1473 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1483 if test -n "$CC"; then
1484 echo "$as_me:$LINENO: result: $CC" >&5
1485 echo "${ECHO_T}$CC" >&6
1487 echo "$as_me:$LINENO: result: no" >&5
1488 echo "${ECHO_T}no" >&6
1492 if test -z "$ac_cv_prog_CC"; then
1494 # Extract the first word of "cc", so it can be a program name with args.
1495 set dummy cc
; ac_word
=$2
1496 echo "$as_me:$LINENO: checking for $ac_word" >&5
1497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1498 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 if test -n "$ac_ct_CC"; then
1502 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir
=.
1509 for ac_exec_ext
in '' $ac_executable_extensions; do
1510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1511 ac_cv_prog_ac_ct_CC
="cc"
1512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1520 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1521 if test -n "$ac_ct_CC"; then
1522 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1523 echo "${ECHO_T}$ac_ct_CC" >&6
1525 echo "$as_me:$LINENO: result: no" >&5
1526 echo "${ECHO_T}no" >&6
1535 if test -z "$CC"; then
1536 # Extract the first word of "cc", so it can be a program name with args.
1537 set dummy cc
; ac_word
=$2
1538 echo "$as_me:$LINENO: checking for $ac_word" >&5
1539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1540 if test "${ac_cv_prog_CC+set}" = set; then
1541 echo $ECHO_N "(cached) $ECHO_C" >&6
1543 if test -n "$CC"; then
1544 ac_cv_prog_CC
="$CC" # Let the user override the test.
1547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1551 test -z "$as_dir" && as_dir
=.
1552 for ac_exec_ext
in '' $ac_executable_extensions; do
1553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1554 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1555 ac_prog_rejected
=yes
1559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1565 if test $ac_prog_rejected = yes; then
1566 # We found a bogon in the path, so make sure we never use it.
1567 set dummy
$ac_cv_prog_CC
1569 if test $# != 0; then
1570 # We chose a different compiler from the bogus one.
1571 # However, it has the same basename, so the bogon will be chosen
1572 # first if we set CC to just the basename; use the full file name.
1574 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1580 if test -n "$CC"; then
1581 echo "$as_me:$LINENO: result: $CC" >&5
1582 echo "${ECHO_T}$CC" >&6
1584 echo "$as_me:$LINENO: result: no" >&5
1585 echo "${ECHO_T}no" >&6
1589 if test -z "$CC"; then
1590 if test -n "$ac_tool_prefix"; then
1593 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1594 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1595 echo "$as_me:$LINENO: checking for $ac_word" >&5
1596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1597 if test "${ac_cv_prog_CC+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 if test -n "$CC"; then
1601 ac_cv_prog_CC
="$CC" # Let the user override the test.
1603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1607 test -z "$as_dir" && as_dir
=.
1608 for ac_exec_ext
in '' $ac_executable_extensions; do
1609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1610 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1620 if test -n "$CC"; then
1621 echo "$as_me:$LINENO: result: $CC" >&5
1622 echo "${ECHO_T}$CC" >&6
1624 echo "$as_me:$LINENO: result: no" >&5
1625 echo "${ECHO_T}no" >&6
1628 test -n "$CC" && break
1631 if test -z "$CC"; then
1635 # Extract the first word of "$ac_prog", so it can be a program name with args.
1636 set dummy
$ac_prog; ac_word
=$2
1637 echo "$as_me:$LINENO: checking for $ac_word" >&5
1638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1639 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1640 echo $ECHO_N "(cached) $ECHO_C" >&6
1642 if test -n "$ac_ct_CC"; then
1643 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1649 test -z "$as_dir" && as_dir
=.
1650 for ac_exec_ext
in '' $ac_executable_extensions; do
1651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1652 ac_cv_prog_ac_ct_CC
="$ac_prog"
1653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1661 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1662 if test -n "$ac_ct_CC"; then
1663 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1664 echo "${ECHO_T}$ac_ct_CC" >&6
1666 echo "$as_me:$LINENO: result: no" >&5
1667 echo "${ECHO_T}no" >&6
1670 test -n "$ac_ct_CC" && break
1679 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1680 See \`config.log' for more details." >&5
1681 echo "$as_me: error: no acceptable C compiler found in \$PATH
1682 See \`config.log' for more details." >&2;}
1683 { (exit 1); exit 1; }; }
1685 # Provide some information about the compiler.
1686 echo "$as_me:$LINENO:" \
1687 "checking for C compiler version" >&5
1688 ac_compiler
=`set X $ac_compile; echo $2`
1689 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1690 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1693 (exit $ac_status); }
1694 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1695 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1698 (exit $ac_status); }
1699 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1700 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1703 (exit $ac_status); }
1705 cat >conftest.
$ac_ext <<_ACEOF
1708 cat confdefs.h
>>conftest.
$ac_ext
1709 cat >>conftest.
$ac_ext <<_ACEOF
1710 /* end confdefs.h. */
1720 ac_clean_files_save
=$ac_clean_files
1721 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1722 # Try to create an executable without -o first, disregard a.out.
1723 # It will help us diagnose broken compilers, and finding out an intuition
1725 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1726 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1727 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1728 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1729 (eval $ac_link_default) 2>&5
1731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1732 (exit $ac_status); }; then
1733 # Find the output, starting from the most likely. This scheme is
1734 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1737 # Be careful to initialize this variable, since it used to be cached.
1738 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1740 # b.out is created by i960 compilers.
1741 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1743 test -f "$ac_file" ||
continue
1745 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1748 # This is the source file.
1751 # We found the default executable, but exeext='' is most
1755 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1756 # FIXME: I believe we export ac_cv_exeext for Libtool,
1757 # but it would be cool to find out if it's true. Does anybody
1758 # maintain Libtool? --akim.
1766 echo "$as_me: failed program was:" >&5
1767 sed 's/^/| /' conftest.
$ac_ext >&5
1769 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1770 See \`config.log' for more details." >&5
1771 echo "$as_me: error: C compiler cannot create executables
1772 See \`config.log' for more details." >&2;}
1773 { (exit 77); exit 77; }; }
1776 ac_exeext
=$ac_cv_exeext
1777 echo "$as_me:$LINENO: result: $ac_file" >&5
1778 echo "${ECHO_T}$ac_file" >&6
1780 # Check the compiler produces executables we can run. If not, either
1781 # the compiler is broken, or we cross compile.
1782 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1783 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1784 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1785 # If not cross compiling, check that we can run a simple program.
1786 if test "$cross_compiling" != yes; then
1787 if { ac_try
='./$ac_file'
1788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }; }; then
1795 if test "$cross_compiling" = maybe
; then
1798 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1799 If you meant to cross compile, use \`--host'.
1800 See \`config.log' for more details." >&5
1801 echo "$as_me: error: cannot run C compiled programs.
1802 If you meant to cross compile, use \`--host'.
1803 See \`config.log' for more details." >&2;}
1804 { (exit 1); exit 1; }; }
1808 echo "$as_me:$LINENO: result: yes" >&5
1809 echo "${ECHO_T}yes" >&6
1811 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1812 ac_clean_files
=$ac_clean_files_save
1813 # Check the compiler produces executables we can run. If not, either
1814 # the compiler is broken, or we cross compile.
1815 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1816 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1817 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1818 echo "${ECHO_T}$cross_compiling" >&6
1820 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1821 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1823 (eval $ac_link) 2>&5
1825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1826 (exit $ac_status); }; then
1827 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1828 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1829 # work properly (i.e., refer to `conftest.exe'), while it won't with
1831 for ac_file
in conftest.exe conftest conftest.
*; do
1832 test -f "$ac_file" ||
continue
1834 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1835 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1842 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1843 See \`config.log' for more details." >&5
1844 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1845 See \`config.log' for more details." >&2;}
1846 { (exit 1); exit 1; }; }
1849 rm -f conftest
$ac_cv_exeext
1850 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1851 echo "${ECHO_T}$ac_cv_exeext" >&6
1853 rm -f conftest.
$ac_ext
1854 EXEEXT
=$ac_cv_exeext
1856 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1857 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1858 if test "${ac_cv_objext+set}" = set; then
1859 echo $ECHO_N "(cached) $ECHO_C" >&6
1861 cat >conftest.
$ac_ext <<_ACEOF
1864 cat confdefs.h
>>conftest.
$ac_ext
1865 cat >>conftest.
$ac_ext <<_ACEOF
1866 /* end confdefs.h. */
1876 rm -f conftest.o conftest.obj
1877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1878 (eval $ac_compile) 2>&5
1880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1881 (exit $ac_status); }; then
1882 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1884 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1885 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1890 echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.
$ac_ext >&5
1893 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1894 See \`config.log' for more details." >&5
1895 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1896 See \`config.log' for more details." >&2;}
1897 { (exit 1); exit 1; }; }
1900 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1902 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1903 echo "${ECHO_T}$ac_cv_objext" >&6
1904 OBJEXT
=$ac_cv_objext
1906 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1907 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1908 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1909 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 cat >conftest.
$ac_ext <<_ACEOF
1914 cat confdefs.h
>>conftest.
$ac_ext
1915 cat >>conftest.
$ac_ext <<_ACEOF
1916 /* end confdefs.h. */
1929 rm -f conftest.
$ac_objext
1930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1931 (eval $ac_compile) 2>conftest.er1
1933 grep -v '^ *+' conftest.er1
>conftest.err
1935 cat conftest.err
>&5
1936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1937 (exit $ac_status); } &&
1938 { ac_try
='test -z "$ac_c_werror_flag"
1939 || test ! -s conftest.err'
1940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }; } &&
1945 { ac_try
='test -s conftest.$ac_objext'
1946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950 (exit $ac_status); }; }; then
1953 echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.
$ac_ext >&5
1958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1959 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1962 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1963 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1964 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1965 ac_test_CFLAGS
=${CFLAGS+set}
1966 ac_save_CFLAGS
=$CFLAGS
1968 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1969 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1970 if test "${ac_cv_prog_cc_g+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 cat >conftest.
$ac_ext <<_ACEOF
1976 cat confdefs.h
>>conftest.
$ac_ext
1977 cat >>conftest.
$ac_ext <<_ACEOF
1978 /* end confdefs.h. */
1988 rm -f conftest.
$ac_objext
1989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1990 (eval $ac_compile) 2>conftest.er1
1992 grep -v '^ *+' conftest.er1
>conftest.err
1994 cat conftest.err
>&5
1995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1996 (exit $ac_status); } &&
1997 { ac_try
='test -z "$ac_c_werror_flag"
1998 || test ! -s conftest.err'
1999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }; } &&
2004 { ac_try
='test -s conftest.$ac_objext'
2005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); }; }; then
2012 echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.
$ac_ext >&5
2017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2019 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2020 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2021 if test "$ac_test_CFLAGS" = set; then
2022 CFLAGS
=$ac_save_CFLAGS
2023 elif test $ac_cv_prog_cc_g = yes; then
2024 if test "$GCC" = yes; then
2030 if test "$GCC" = yes; then
2036 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2037 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2038 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 ac_cv_prog_cc_stdc
=no
2043 cat >conftest.
$ac_ext <<_ACEOF
2046 cat confdefs.h
>>conftest.
$ac_ext
2047 cat >>conftest.
$ac_ext <<_ACEOF
2048 /* end confdefs.h. */
2051 #include <sys/types.h>
2052 #include <sys/stat.h>
2053 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2054 struct buf { int x; };
2055 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2056 static char *e (p, i)
2062 static char *f (char * (*g) (char **, int), char **p, ...)
2067 s = g (p, va_arg (v,int));
2072 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2073 function prototypes and stuff, but not '\xHH' hex character constants.
2074 These don't provoke an error unfortunately, instead are silently treated
2075 as 'x'. The following induces an error, until -std1 is added to get
2076 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2077 array size at least. It's necessary to write '\x00'==0 to get something
2078 that's true only with -std1. */
2079 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2081 int test (int i, double x);
2082 struct s1 {int (*f) (int a);};
2083 struct s2 {int (*f) (double a);};
2084 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2090 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2095 # Don't try gcc -ansi; that turns off useful extensions and
2096 # breaks some systems' header files.
2097 # AIX -qlanglvl=ansi
2098 # Ultrix and OSF/1 -std1
2099 # HP-UX 10.20 and later -Ae
2100 # HP-UX older versions -Aa -D_HPUX_SOURCE
2101 # SVR4 -Xc -D__EXTENSIONS__
2102 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2104 CC
="$ac_save_CC $ac_arg"
2105 rm -f conftest.
$ac_objext
2106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2107 (eval $ac_compile) 2>conftest.er1
2109 grep -v '^ *+' conftest.er1
>conftest.err
2111 cat conftest.err
>&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); } &&
2114 { ac_try
='test -z "$ac_c_werror_flag"
2115 || test ! -s conftest.err'
2116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; } &&
2121 { ac_try
='test -s conftest.$ac_objext'
2122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); }; }; then
2127 ac_cv_prog_cc_stdc
=$ac_arg
2130 echo "$as_me: failed program was:" >&5
2131 sed 's/^/| /' conftest.
$ac_ext >&5
2134 rm -f conftest.err conftest.
$ac_objext
2136 rm -f conftest.
$ac_ext conftest.
$ac_objext
2141 case "x$ac_cv_prog_cc_stdc" in
2143 echo "$as_me:$LINENO: result: none needed" >&5
2144 echo "${ECHO_T}none needed" >&6 ;;
2146 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2147 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2148 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2151 # Some people use a C++ compiler to compile C. Since we use `exit',
2152 # in C++ we need to declare it. In case someone uses the same compiler
2153 # for both compiling C and C++ we need to have the C++ compiler decide
2154 # the declaration of exit, since it's the most demanding environment.
2155 cat >conftest.
$ac_ext <<_ACEOF
2160 rm -f conftest.
$ac_objext
2161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2162 (eval $ac_compile) 2>conftest.er1
2164 grep -v '^ *+' conftest.er1
>conftest.err
2166 cat conftest.err
>&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); } &&
2169 { ac_try
='test -z "$ac_c_werror_flag"
2170 || test ! -s conftest.err'
2171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; } &&
2176 { ac_try
='test -s conftest.$ac_objext'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; }; then
2182 for ac_declaration
in \
2184 'extern "C" void std::exit (int) throw (); using std::exit;' \
2185 'extern "C" void std::exit (int); using std::exit;' \
2186 'extern "C" void exit (int) throw ();' \
2187 'extern "C" void exit (int);' \
2190 cat >conftest.
$ac_ext <<_ACEOF
2193 cat confdefs.h
>>conftest.
$ac_ext
2194 cat >>conftest.
$ac_ext <<_ACEOF
2195 /* end confdefs.h. */
2206 rm -f conftest.
$ac_objext
2207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2208 (eval $ac_compile) 2>conftest.er1
2210 grep -v '^ *+' conftest.er1
>conftest.err
2212 cat conftest.err
>&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); } &&
2215 { ac_try
='test -z "$ac_c_werror_flag"
2216 || test ! -s conftest.err'
2217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); }; } &&
2222 { ac_try
='test -s conftest.$ac_objext'
2223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); }; }; then
2230 echo "$as_me: failed program was:" >&5
2231 sed 's/^/| /' conftest.
$ac_ext >&5
2235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2236 cat >conftest.
$ac_ext <<_ACEOF
2239 cat confdefs.h
>>conftest.
$ac_ext
2240 cat >>conftest.
$ac_ext <<_ACEOF
2241 /* end confdefs.h. */
2251 rm -f conftest.
$ac_objext
2252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2253 (eval $ac_compile) 2>conftest.er1
2255 grep -v '^ *+' conftest.er1
>conftest.err
2257 cat conftest.err
>&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); } &&
2260 { ac_try
='test -z "$ac_c_werror_flag"
2261 || test ! -s conftest.err'
2262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); }; } &&
2267 { ac_try
='test -s conftest.$ac_objext'
2268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); }; }; then
2275 echo "$as_me: failed program was:" >&5
2276 sed 's/^/| /' conftest.
$ac_ext >&5
2279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2282 if test -n "$ac_declaration"; then
2283 echo '#ifdef __cplusplus' >>confdefs.h
2284 echo $ac_declaration >>confdefs.h
2285 echo '#endif' >>confdefs.h
2289 echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.
$ac_ext >&5
2293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2295 ac_cpp
='$CPP $CPPFLAGS'
2296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2301 cat >>confdefs.h
<<\_ACEOF
2302 #define _GNU_SOURCE 1
2308 ac_cpp
='$CPP $CPPFLAGS'
2309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2312 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2313 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2314 # On Suns, sometimes $CPP names a directory.
2315 if test -n "$CPP" && test -d "$CPP"; then
2318 if test -z "$CPP"; then
2319 if test "${ac_cv_prog_CPP+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 # Double quotes because CPP needs to be expanded
2323 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2326 for ac_c_preproc_warn_flag
in '' yes
2328 # Use a header file that comes with gcc, so configuring glibc
2329 # with a fresh cross-compiler works.
2330 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2331 # <limits.h> exists even on freestanding compilers.
2332 # On the NeXT, cc -E runs the code through the compiler's parser,
2333 # not just through cpp. "Syntax error" is here to catch this case.
2334 cat >conftest.
$ac_ext <<_ACEOF
2337 cat confdefs.h
>>conftest.
$ac_ext
2338 cat >>conftest.
$ac_ext <<_ACEOF
2339 /* end confdefs.h. */
2341 # include <limits.h>
2343 # include <assert.h>
2347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2350 grep -v '^ *+' conftest.er1
>conftest.err
2352 cat conftest.err
>&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); } >/dev
/null
; then
2355 if test -s conftest.err
; then
2356 ac_cpp_err
=$ac_c_preproc_warn_flag
2357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2364 if test -z "$ac_cpp_err"; then
2367 echo "$as_me: failed program was:" >&5
2368 sed 's/^/| /' conftest.
$ac_ext >&5
2370 # Broken: fails on valid input.
2373 rm -f conftest.err conftest.
$ac_ext
2375 # OK, works on sane cases. Now check whether non-existent headers
2376 # can be detected and how.
2377 cat >conftest.
$ac_ext <<_ACEOF
2380 cat confdefs.h
>>conftest.
$ac_ext
2381 cat >>conftest.
$ac_ext <<_ACEOF
2382 /* end confdefs.h. */
2383 #include <ac_nonexistent.h>
2385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2386 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2388 grep -v '^ *+' conftest.er1
>conftest.err
2390 cat conftest.err
>&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); } >/dev
/null
; then
2393 if test -s conftest.err
; then
2394 ac_cpp_err
=$ac_c_preproc_warn_flag
2395 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2402 if test -z "$ac_cpp_err"; then
2403 # Broken: success on invalid input.
2406 echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.
$ac_ext >&5
2409 # Passes both tests.
2413 rm -f conftest.err conftest.
$ac_ext
2416 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2417 rm -f conftest.err conftest.
$ac_ext
2418 if $ac_preproc_ok; then
2430 echo "$as_me:$LINENO: result: $CPP" >&5
2431 echo "${ECHO_T}$CPP" >&6
2433 for ac_c_preproc_warn_flag
in '' yes
2435 # Use a header file that comes with gcc, so configuring glibc
2436 # with a fresh cross-compiler works.
2437 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2438 # <limits.h> exists even on freestanding compilers.
2439 # On the NeXT, cc -E runs the code through the compiler's parser,
2440 # not just through cpp. "Syntax error" is here to catch this case.
2441 cat >conftest.
$ac_ext <<_ACEOF
2444 cat confdefs.h
>>conftest.
$ac_ext
2445 cat >>conftest.
$ac_ext <<_ACEOF
2446 /* end confdefs.h. */
2448 # include <limits.h>
2450 # include <assert.h>
2454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2455 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2457 grep -v '^ *+' conftest.er1
>conftest.err
2459 cat conftest.err
>&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); } >/dev
/null
; then
2462 if test -s conftest.err
; then
2463 ac_cpp_err
=$ac_c_preproc_warn_flag
2464 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2471 if test -z "$ac_cpp_err"; then
2474 echo "$as_me: failed program was:" >&5
2475 sed 's/^/| /' conftest.
$ac_ext >&5
2477 # Broken: fails on valid input.
2480 rm -f conftest.err conftest.
$ac_ext
2482 # OK, works on sane cases. Now check whether non-existent headers
2483 # can be detected and how.
2484 cat >conftest.
$ac_ext <<_ACEOF
2487 cat confdefs.h
>>conftest.
$ac_ext
2488 cat >>conftest.
$ac_ext <<_ACEOF
2489 /* end confdefs.h. */
2490 #include <ac_nonexistent.h>
2492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2493 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2495 grep -v '^ *+' conftest.er1
>conftest.err
2497 cat conftest.err
>&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); } >/dev
/null
; then
2500 if test -s conftest.err
; then
2501 ac_cpp_err
=$ac_c_preproc_warn_flag
2502 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2509 if test -z "$ac_cpp_err"; then
2510 # Broken: success on invalid input.
2513 echo "$as_me: failed program was:" >&5
2514 sed 's/^/| /' conftest.
$ac_ext >&5
2516 # Passes both tests.
2520 rm -f conftest.err conftest.
$ac_ext
2523 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2524 rm -f conftest.err conftest.
$ac_ext
2525 if $ac_preproc_ok; then
2528 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2529 See \`config.log' for more details." >&5
2530 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2531 See \`config.log' for more details." >&2;}
2532 { (exit 1); exit 1; }; }
2536 ac_cpp
='$CPP $CPPFLAGS'
2537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2542 echo "$as_me:$LINENO: checking for egrep" >&5
2543 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2544 if test "${ac_cv_prog_egrep+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2548 then ac_cv_prog_egrep
='grep -E'
2549 else ac_cv_prog_egrep
='egrep'
2552 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2553 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2554 EGREP
=$ac_cv_prog_egrep
2558 echo "$as_me:$LINENO: checking for AIX" >&5
2559 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2560 cat >conftest.
$ac_ext <<_ACEOF
2563 cat confdefs.h
>>conftest.
$ac_ext
2564 cat >>conftest.
$ac_ext <<_ACEOF
2565 /* end confdefs.h. */
2571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2572 $EGREP "yes" >/dev
/null
2>&1; then
2573 echo "$as_me:$LINENO: result: yes" >&5
2574 echo "${ECHO_T}yes" >&6
2575 cat >>confdefs.h
<<\_ACEOF
2576 #define _ALL_SOURCE 1
2580 echo "$as_me:$LINENO: result: no" >&5
2581 echo "${ECHO_T}no" >&6
2586 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2587 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2588 if test "${ac_cv_search_strerror+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 ac_func_search_save_LIBS
=$LIBS
2592 ac_cv_search_strerror
=no
2593 cat >conftest.
$ac_ext <<_ACEOF
2596 cat confdefs.h
>>conftest.
$ac_ext
2597 cat >>conftest.
$ac_ext <<_ACEOF
2598 /* end confdefs.h. */
2600 /* Override any gcc2 internal prototype to avoid an error. */
2604 /* We use char because int might match the return type of a gcc2
2605 builtin and then its argument prototype would still apply. */
2615 rm -f conftest.
$ac_objext conftest
$ac_exeext
2616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2617 (eval $ac_link) 2>conftest.er1
2619 grep -v '^ *+' conftest.er1
>conftest.err
2621 cat conftest.err
>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); } &&
2624 { ac_try
='test -z "$ac_c_werror_flag"
2625 || test ! -s conftest.err'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; } &&
2631 { ac_try
='test -s conftest$ac_exeext'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; }; then
2637 ac_cv_search_strerror
="none required"
2639 echo "$as_me: failed program was:" >&5
2640 sed 's/^/| /' conftest.
$ac_ext >&5
2643 rm -f conftest.err conftest.
$ac_objext \
2644 conftest
$ac_exeext conftest.
$ac_ext
2645 if test "$ac_cv_search_strerror" = no
; then
2646 for ac_lib
in cposix
; do
2647 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2648 cat >conftest.
$ac_ext <<_ACEOF
2651 cat confdefs.h
>>conftest.
$ac_ext
2652 cat >>conftest.
$ac_ext <<_ACEOF
2653 /* end confdefs.h. */
2655 /* Override any gcc2 internal prototype to avoid an error. */
2659 /* We use char because int might match the return type of a gcc2
2660 builtin and then its argument prototype would still apply. */
2670 rm -f conftest.
$ac_objext conftest
$ac_exeext
2671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2672 (eval $ac_link) 2>conftest.er1
2674 grep -v '^ *+' conftest.er1
>conftest.err
2676 cat conftest.err
>&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); } &&
2679 { ac_try
='test -z "$ac_c_werror_flag"
2680 || test ! -s conftest.err'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; } &&
2686 { ac_try
='test -s conftest$ac_exeext'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; }; then
2692 ac_cv_search_strerror
="-l$ac_lib"
2695 echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.
$ac_ext >&5
2699 rm -f conftest.err conftest.
$ac_objext \
2700 conftest
$ac_exeext conftest.
$ac_ext
2703 LIBS
=$ac_func_search_save_LIBS
2705 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2706 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2707 if test "$ac_cv_search_strerror" != no
; then
2708 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2715 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2716 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2717 if test "${am_cv_prog_cc_stdc+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 am_cv_prog_cc_stdc
=no
2722 # Don't try gcc -ansi; that turns off useful extensions and
2723 # breaks some systems' header files.
2724 # AIX -qlanglvl=ansi
2725 # Ultrix and OSF/1 -std1
2726 # HP-UX 10.20 and later -Ae
2727 # HP-UX older versions -Aa -D_HPUX_SOURCE
2728 # SVR4 -Xc -D__EXTENSIONS__
2729 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2731 CC
="$ac_save_CC $ac_arg"
2732 cat >conftest.
$ac_ext <<_ACEOF
2735 cat confdefs.h
>>conftest.
$ac_ext
2736 cat >>conftest.
$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2740 #include <sys/types.h>
2741 #include <sys/stat.h>
2742 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2743 struct buf { int x; };
2744 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2745 static char *e (p, i)
2751 static char *f (char * (*g) (char **, int), char **p, ...)
2756 s = g (p, va_arg (v,int));
2760 int test (int i, double x);
2761 struct s1 {int (*f) (int a);};
2762 struct s2 {int (*f) (double a);};
2763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2771 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2777 rm -f conftest.
$ac_objext
2778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2779 (eval $ac_compile) 2>conftest.er1
2781 grep -v '^ *+' conftest.er1
>conftest.err
2783 cat conftest.err
>&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); } &&
2786 { ac_try
='test -z "$ac_c_werror_flag"
2787 || test ! -s conftest.err'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; } &&
2793 { ac_try
='test -s conftest.$ac_objext'
2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; }; then
2799 am_cv_prog_cc_stdc
="$ac_arg"; break
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.
$ac_ext >&5
2805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2811 if test -z "$am_cv_prog_cc_stdc"; then
2812 echo "$as_me:$LINENO: result: none needed" >&5
2813 echo "${ECHO_T}none needed" >&6
2815 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2816 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2818 case "x$am_cv_prog_cc_stdc" in
2820 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2825 for ac_dir
in `cd $srcdir;pwd`/..
$srcdir/`cd $srcdir;pwd`/..
; do
2826 if test -f $ac_dir/install-sh
; then
2828 ac_install_sh
="$ac_aux_dir/install-sh -c"
2830 elif test -f $ac_dir/install.sh
; then
2832 ac_install_sh
="$ac_aux_dir/install.sh -c"
2834 elif test -f $ac_dir/shtool
; then
2836 ac_install_sh
="$ac_aux_dir/shtool install -c"
2840 if test -z "$ac_aux_dir"; then
2841 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&5
2842 echo "$as_me: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&2;}
2843 { (exit 1); exit 1; }; }
2845 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2846 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2847 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2849 # Make sure we can run config.sub.
2850 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2851 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2852 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2853 { (exit 1); exit 1; }; }
2855 echo "$as_me:$LINENO: checking build system type" >&5
2856 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2857 if test "${ac_cv_build+set}" = set; then
2858 echo $ECHO_N "(cached) $ECHO_C" >&6
2860 ac_cv_build_alias
=$build_alias
2861 test -z "$ac_cv_build_alias" &&
2862 ac_cv_build_alias
=`$ac_config_guess`
2863 test -z "$ac_cv_build_alias" &&
2864 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2865 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2866 { (exit 1); exit 1; }; }
2867 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2868 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2869 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2870 { (exit 1); exit 1; }; }
2873 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2874 echo "${ECHO_T}$ac_cv_build" >&6
2876 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2877 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2878 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2881 echo "$as_me:$LINENO: checking host system type" >&5
2882 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2883 if test "${ac_cv_host+set}" = set; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 ac_cv_host_alias
=$host_alias
2887 test -z "$ac_cv_host_alias" &&
2888 ac_cv_host_alias
=$ac_cv_build_alias
2889 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2890 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2891 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2892 { (exit 1); exit 1; }; }
2895 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2896 echo "${ECHO_T}$ac_cv_host" >&6
2898 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2899 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2900 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2903 echo "$as_me:$LINENO: checking target system type" >&5
2904 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2905 if test "${ac_cv_target+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2908 ac_cv_target_alias
=$target_alias
2909 test "x$ac_cv_target_alias" = "x" &&
2910 ac_cv_target_alias
=$ac_cv_host_alias
2911 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2912 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2913 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2914 { (exit 1); exit 1; }; }
2917 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2918 echo "${ECHO_T}$ac_cv_target" >&6
2919 target
=$ac_cv_target
2920 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2921 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2922 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2925 # The aliases save the names the user supplied, while $host etc.
2926 # will get canonicalized.
2927 test -n "$target_alias" &&
2928 test "$program_prefix$program_suffix$program_transform_name" = \
2930 program_prefix
=${target_alias}-
2943 # If we haven't got the data from the intl directory,
2944 # assume NLS is disabled.
2953 if test -f ..
/intl
/config.intl
; then
2954 . ..
/intl
/config.intl
2956 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2957 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2958 if test x
"$USE_NLS" != xyes
; then
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2962 echo "$as_me:$LINENO: result: yes" >&5
2963 echo "${ECHO_T}yes" >&6
2965 cat >>confdefs.h
<<\_ACEOF
2966 #define ENABLE_NLS 1
2970 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2971 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2972 # Look for .po and .gmo files in the source directory.
2975 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2976 # If there aren't any .gmo files the shell will give us the
2977 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2979 case "$cat" in *\
**)
2982 # The quadruple backslash is collapsed to a double backslash
2983 # by the backticks, then collapsed again by the double quotes,
2984 # leaving us with one backslash in the sed expression (right
2985 # before the dot that mustn't act as a wildcard).
2986 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2987 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2988 # The user is allowed to set LINGUAS to a list of languages to
2989 # install catalogs for. If it's empty that means "all of them."
2990 if test "x$LINGUAS" = x
; then
2991 CATALOGS
="$CATALOGS $cat"
2992 XLINGUAS
="$XLINGUAS $lang"
2994 case "$LINGUAS" in *$lang*)
2995 CATALOGS
="$CATALOGS $cat"
2996 XLINGUAS
="$XLINGUAS $lang"
3002 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3003 echo "${ECHO_T}$LINGUAS" >&6
3016 localedir
='${datadir}/locale'
3019 if test x
"$USE_NLS" = xyes
; then
3020 CONFIG_ALL
="$CONFIG_ALL all-po"
3021 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3022 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3023 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3028 cat >>confdefs.h
<<_ACEOF
3029 #define PACKAGE "$PACKAGE"
3034 debugdir
=${libdir}/debug
3037 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
3038 if test "${with_separate_debug_dir+set}" = set; then
3039 withval
="$with_separate_debug_dir"
3040 debugdir
="${withval}"
3044 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
3045 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3046 ac_define_dir
=`eval echo $debugdir`
3047 ac_define_dir
=`eval echo $ac_define_dir`
3049 cat >>confdefs.h
<<_ACEOF
3050 #define DEBUGDIR "$ac_define_dir"
3054 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
3058 subdirs
="$subdirs doc testsuite"
3061 # Provide defaults for some variables set by the per-host and per-target
3063 gdb_host_obs
=posix-hdep.o
3065 .
$srcdir/configure.
host
3067 .
$srcdir/configure.tgt
3069 # Fetch the default architecture and default target vector from BFD.
3070 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
3072 # We only want the first architecture, so strip off the others if
3073 # there is more than one.
3074 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
3076 if test "x$targ_archs" != x
; then
3078 cat >>confdefs.h
<<_ACEOF
3079 #define DEFAULT_BFD_ARCH $targ_archs
3083 if test "x$targ_defvec" != x
; then
3085 cat >>confdefs.h
<<_ACEOF
3086 #define DEFAULT_BFD_VEC $targ_defvec
3091 test "$program_prefix" != NONE
&&
3092 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3093 # Use a double $ so make ignores it.
3094 test "$program_suffix" != NONE
&&
3095 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3096 # Double any \ or $. echo might interpret backslashes.
3097 # By default was `s,x,x', remove it if useless.
3098 cat <<\_ACEOF
>conftest.
sed
3099 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3101 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3105 # The CLI cannot be disabled yet, but may be in the future.
3108 # Check whether --enable-gdbcli or --disable-gdbcli was given.
3109 if test "${enable_gdbcli+set}" = set; then
3110 enableval
="$enable_gdbcli"
3115 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
3116 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
3117 { (exit 1); exit 1; }; } ;;
3119 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
3120 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
3121 { (exit 1); exit 1; }; } ;;
3126 if test x
"$enable_gdbcli" = xyes
; then
3127 if test -d $srcdir/cli
; then
3128 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
3129 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
3130 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
3131 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
3136 # Check whether --enable-gdbmi or --disable-gdbmi was given.
3137 if test "${enable_gdbmi+set}" = set; then
3138 enableval
="$enable_gdbmi"
3143 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
3144 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
3145 { (exit 1); exit 1; }; } ;;
3150 if test x
"$enable_gdbmi" = xyes
; then
3151 if test -d $srcdir/mi
; then
3152 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
3153 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
3154 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
3155 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
3160 # Check whether --enable-tui or --disable-tui was given.
3161 if test "${enable_tui+set}" = set; then
3162 enableval
="$enable_tui"
3167 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
3168 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
3169 { (exit 1); exit 1; }; } ;;
3176 # Check whether --enable-gdbtk or --disable-gdbtk was given.
3177 if test "${enable_gdbtk+set}" = set; then
3178 enableval
="$enable_gdbtk"
3183 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
3184 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
3185 { (exit 1); exit 1; }; } ;;
3188 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
3194 # We unconditionally disable gdbtk tests on selected platforms.
3197 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
3198 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
3202 # Libunwind support.
3203 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3204 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3205 if test "${ac_cv_header_stdc+set}" = set; then
3206 echo $ECHO_N "(cached) $ECHO_C" >&6
3208 cat >conftest.
$ac_ext <<_ACEOF
3211 cat confdefs.h
>>conftest.
$ac_ext
3212 cat >>conftest.
$ac_ext <<_ACEOF
3213 /* end confdefs.h. */
3227 rm -f conftest.
$ac_objext
3228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3229 (eval $ac_compile) 2>conftest.er1
3231 grep -v '^ *+' conftest.er1
>conftest.err
3233 cat conftest.err
>&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); } &&
3236 { ac_try
='test -z "$ac_c_werror_flag"
3237 || test ! -s conftest.err'
3238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); }; } &&
3243 { ac_try
='test -s conftest.$ac_objext'
3244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }; }; then
3249 ac_cv_header_stdc
=yes
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.
$ac_ext >&5
3254 ac_cv_header_stdc
=no
3256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3258 if test $ac_cv_header_stdc = yes; then
3259 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3260 cat >conftest.
$ac_ext <<_ACEOF
3263 cat confdefs.h
>>conftest.
$ac_ext
3264 cat >>conftest.
$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3270 $EGREP "memchr" >/dev
/null
2>&1; then
3273 ac_cv_header_stdc
=no
3279 if test $ac_cv_header_stdc = yes; then
3280 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3281 cat >conftest.
$ac_ext <<_ACEOF
3284 cat confdefs.h
>>conftest.
$ac_ext
3285 cat >>conftest.
$ac_ext <<_ACEOF
3286 /* end confdefs.h. */
3290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3291 $EGREP "free" >/dev
/null
2>&1; then
3294 ac_cv_header_stdc
=no
3300 if test $ac_cv_header_stdc = yes; then
3301 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3302 if test "$cross_compiling" = yes; then
3305 cat >conftest.
$ac_ext <<_ACEOF
3308 cat confdefs.h
>>conftest.
$ac_ext
3309 cat >>conftest.
$ac_ext <<_ACEOF
3310 /* end confdefs.h. */
3312 #if ((' ' & 0x0FF) == 0x020)
3313 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3314 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3316 # define ISLOWER(c) \
3317 (('a' <= (c) && (c) <= 'i') \
3318 || ('j' <= (c) && (c) <= 'r') \
3319 || ('s' <= (c) && (c) <= 'z'))
3320 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3323 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3328 for (i = 0; i < 256; i++)
3329 if (XOR (islower (i), ISLOWER (i))
3330 || toupper (i) != TOUPPER (i))
3335 rm -f conftest
$ac_exeext
3336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3337 (eval $ac_link) 2>&5
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }; }; then
3348 echo "$as_me: program exited with status $ac_status" >&5
3349 echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.
$ac_ext >&5
3353 ac_cv_header_stdc
=no
3355 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3359 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3360 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3361 if test $ac_cv_header_stdc = yes; then
3363 cat >>confdefs.h
<<\_ACEOF
3364 #define STDC_HEADERS 1
3369 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3379 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3380 inttypes.h stdint.h unistd.h
3382 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3383 echo "$as_me:$LINENO: checking for $ac_header" >&5
3384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3386 echo $ECHO_N "(cached) $ECHO_C" >&6
3388 cat >conftest.
$ac_ext <<_ACEOF
3391 cat confdefs.h
>>conftest.
$ac_ext
3392 cat >>conftest.
$ac_ext <<_ACEOF
3393 /* end confdefs.h. */
3394 $ac_includes_default
3396 #include <$ac_header>
3398 rm -f conftest.
$ac_objext
3399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3400 (eval $ac_compile) 2>conftest.er1
3402 grep -v '^ *+' conftest.er1
>conftest.err
3404 cat conftest.err
>&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } &&
3407 { ac_try
='test -z "$ac_c_werror_flag"
3408 || test ! -s conftest.err'
3409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); }; } &&
3414 { ac_try
='test -s conftest.$ac_objext'
3415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; }; then
3420 eval "$as_ac_Header=yes"
3422 echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.
$ac_ext >&5
3425 eval "$as_ac_Header=no"
3427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3432 cat >>confdefs.h
<<_ACEOF
3433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3442 # Check whether --with-libunwind or --without-libunwind was given.
3443 if test "${with_libunwind+set}" = set; then
3444 withval
="$with_libunwind"
3445 case "${withval}" in
3446 yes) enable_libunwind
=yes ;;
3447 no
) enable_libunwind
=no
;;
3448 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
3449 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
3450 { (exit 1); exit 1; }; } ;;
3455 for ac_header
in libunwind.h
3457 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3459 echo "$as_me:$LINENO: checking for $ac_header" >&5
3460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3467 # Is the header compilable?
3468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3470 cat >conftest.
$ac_ext <<_ACEOF
3473 cat confdefs.h
>>conftest.
$ac_ext
3474 cat >>conftest.
$ac_ext <<_ACEOF
3475 /* end confdefs.h. */
3476 $ac_includes_default
3477 #include <$ac_header>
3479 rm -f conftest.
$ac_objext
3480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3481 (eval $ac_compile) 2>conftest.er1
3483 grep -v '^ *+' conftest.er1
>conftest.err
3485 cat conftest.err
>&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); } &&
3488 { ac_try
='test -z "$ac_c_werror_flag"
3489 || test ! -s conftest.err'
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; } &&
3495 { ac_try
='test -s conftest.$ac_objext'
3496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); }; }; then
3501 ac_header_compiler
=yes
3503 echo "$as_me: failed program was:" >&5
3504 sed 's/^/| /' conftest.
$ac_ext >&5
3506 ac_header_compiler
=no
3508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3510 echo "${ECHO_T}$ac_header_compiler" >&6
3512 # Is the header present?
3513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3515 cat >conftest.
$ac_ext <<_ACEOF
3518 cat confdefs.h
>>conftest.
$ac_ext
3519 cat >>conftest.
$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3521 #include <$ac_header>
3523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3524 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3526 grep -v '^ *+' conftest.er1
>conftest.err
3528 cat conftest.err
>&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); } >/dev
/null
; then
3531 if test -s conftest.err
; then
3532 ac_cpp_err
=$ac_c_preproc_warn_flag
3533 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3540 if test -z "$ac_cpp_err"; then
3541 ac_header_preproc
=yes
3543 echo "$as_me: failed program was:" >&5
3544 sed 's/^/| /' conftest.
$ac_ext >&5
3546 ac_header_preproc
=no
3548 rm -f conftest.err conftest.
$ac_ext
3549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3550 echo "${ECHO_T}$ac_header_preproc" >&6
3552 # So? What about this header?
3553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3559 ac_header_preproc
=yes
3562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3576 ## ------------------------------------------ ##
3577 ## Report this to the AC_PACKAGE_NAME lists. ##
3578 ## ------------------------------------------ ##
3581 sed "s/^/$as_me: WARNING: /" >&2
3584 echo "$as_me:$LINENO: checking for $ac_header" >&5
3585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 eval "$as_ac_Header=\$ac_header_preproc"
3591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3596 cat >>confdefs.h
<<_ACEOF
3597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3605 for ac_header
in libunwind-ia64.h
3607 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3609 echo "$as_me:$LINENO: checking for $ac_header" >&5
3610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3612 echo $ECHO_N "(cached) $ECHO_C" >&6
3614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3617 # Is the header compilable?
3618 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3619 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3620 cat >conftest.
$ac_ext <<_ACEOF
3623 cat confdefs.h
>>conftest.
$ac_ext
3624 cat >>conftest.
$ac_ext <<_ACEOF
3625 /* end confdefs.h. */
3626 $ac_includes_default
3627 #include <$ac_header>
3629 rm -f conftest.
$ac_objext
3630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3631 (eval $ac_compile) 2>conftest.er1
3633 grep -v '^ *+' conftest.er1
>conftest.err
3635 cat conftest.err
>&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); } &&
3638 { ac_try
='test -z "$ac_c_werror_flag"
3639 || test ! -s conftest.err'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; } &&
3645 { ac_try
='test -s conftest.$ac_objext'
3646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; }; then
3651 ac_header_compiler
=yes
3653 echo "$as_me: failed program was:" >&5
3654 sed 's/^/| /' conftest.
$ac_ext >&5
3656 ac_header_compiler
=no
3658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3659 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3660 echo "${ECHO_T}$ac_header_compiler" >&6
3662 # Is the header present?
3663 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3664 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3665 cat >conftest.
$ac_ext <<_ACEOF
3668 cat confdefs.h
>>conftest.
$ac_ext
3669 cat >>conftest.
$ac_ext <<_ACEOF
3670 /* end confdefs.h. */
3671 #include <$ac_header>
3673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3674 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3676 grep -v '^ *+' conftest.er1
>conftest.err
3678 cat conftest.err
>&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); } >/dev
/null
; then
3681 if test -s conftest.err
; then
3682 ac_cpp_err
=$ac_c_preproc_warn_flag
3683 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3690 if test -z "$ac_cpp_err"; then
3691 ac_header_preproc
=yes
3693 echo "$as_me: failed program was:" >&5
3694 sed 's/^/| /' conftest.
$ac_ext >&5
3696 ac_header_preproc
=no
3698 rm -f conftest.err conftest.
$ac_ext
3699 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3700 echo "${ECHO_T}$ac_header_preproc" >&6
3702 # So? What about this header?
3703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3705 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3706 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3708 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3709 ac_header_preproc
=yes
3712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3716 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3717 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3718 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3719 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3722 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3723 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3726 ## ------------------------------------------ ##
3727 ## Report this to the AC_PACKAGE_NAME lists. ##
3728 ## ------------------------------------------ ##
3731 sed "s/^/$as_me: WARNING: /" >&2
3734 echo "$as_me:$LINENO: checking for $ac_header" >&5
3735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 eval "$as_ac_Header=\$ac_header_preproc"
3741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3746 cat >>confdefs.h
<<_ACEOF
3747 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3754 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
3755 enable_libunwind
=yes;
3760 if test x
"$enable_libunwind" = xyes
; then
3762 for ac_header
in libunwind.h
3764 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3766 echo "$as_me:$LINENO: checking for $ac_header" >&5
3767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3774 # Is the header compilable?
3775 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3777 cat >conftest.
$ac_ext <<_ACEOF
3780 cat confdefs.h
>>conftest.
$ac_ext
3781 cat >>conftest.
$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3783 $ac_includes_default
3784 #include <$ac_header>
3786 rm -f conftest.
$ac_objext
3787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3788 (eval $ac_compile) 2>conftest.er1
3790 grep -v '^ *+' conftest.er1
>conftest.err
3792 cat conftest.err
>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } &&
3795 { ac_try
='test -z "$ac_c_werror_flag"
3796 || test ! -s conftest.err'
3797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; } &&
3802 { ac_try
='test -s conftest.$ac_objext'
3803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }; }; then
3808 ac_header_compiler
=yes
3810 echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.
$ac_ext >&5
3813 ac_header_compiler
=no
3815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3817 echo "${ECHO_T}$ac_header_compiler" >&6
3819 # Is the header present?
3820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3822 cat >conftest.
$ac_ext <<_ACEOF
3825 cat confdefs.h
>>conftest.
$ac_ext
3826 cat >>conftest.
$ac_ext <<_ACEOF
3827 /* end confdefs.h. */
3828 #include <$ac_header>
3830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3833 grep -v '^ *+' conftest.er1
>conftest.err
3835 cat conftest.err
>&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); } >/dev
/null
; then
3838 if test -s conftest.err
; then
3839 ac_cpp_err
=$ac_c_preproc_warn_flag
3840 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3847 if test -z "$ac_cpp_err"; then
3848 ac_header_preproc
=yes
3850 echo "$as_me: failed program was:" >&5
3851 sed 's/^/| /' conftest.
$ac_ext >&5
3853 ac_header_preproc
=no
3855 rm -f conftest.err conftest.
$ac_ext
3856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3857 echo "${ECHO_T}$ac_header_preproc" >&6
3859 # So? What about this header?
3860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3865 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3866 ac_header_preproc
=yes
3869 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3870 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3871 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3872 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3873 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3874 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3875 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3876 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3879 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3880 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3883 ## ------------------------------------------ ##
3884 ## Report this to the AC_PACKAGE_NAME lists. ##
3885 ## ------------------------------------------ ##
3888 sed "s/^/$as_me: WARNING: /" >&2
3891 echo "$as_me:$LINENO: checking for $ac_header" >&5
3892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 eval "$as_ac_Header=\$ac_header_preproc"
3898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3903 cat >>confdefs.h
<<_ACEOF
3904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3912 for ac_header
in libunwind-ia64.h
3914 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3916 echo "$as_me:$LINENO: checking for $ac_header" >&5
3917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3924 # Is the header compilable?
3925 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3926 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3927 cat >conftest.
$ac_ext <<_ACEOF
3930 cat confdefs.h
>>conftest.
$ac_ext
3931 cat >>conftest.
$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3933 $ac_includes_default
3934 #include <$ac_header>
3936 rm -f conftest.
$ac_objext
3937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3938 (eval $ac_compile) 2>conftest.er1
3940 grep -v '^ *+' conftest.er1
>conftest.err
3942 cat conftest.err
>&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); } &&
3945 { ac_try
='test -z "$ac_c_werror_flag"
3946 || test ! -s conftest.err'
3947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); }; } &&
3952 { ac_try
='test -s conftest.$ac_objext'
3953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); }; }; then
3958 ac_header_compiler
=yes
3960 echo "$as_me: failed program was:" >&5
3961 sed 's/^/| /' conftest.
$ac_ext >&5
3963 ac_header_compiler
=no
3965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3967 echo "${ECHO_T}$ac_header_compiler" >&6
3969 # Is the header present?
3970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3972 cat >conftest.
$ac_ext <<_ACEOF
3975 cat confdefs.h
>>conftest.
$ac_ext
3976 cat >>conftest.
$ac_ext <<_ACEOF
3977 /* end confdefs.h. */
3978 #include <$ac_header>
3980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3981 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3983 grep -v '^ *+' conftest.er1
>conftest.err
3985 cat conftest.err
>&5
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); } >/dev
/null
; then
3988 if test -s conftest.err
; then
3989 ac_cpp_err
=$ac_c_preproc_warn_flag
3990 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3997 if test -z "$ac_cpp_err"; then
3998 ac_header_preproc
=yes
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.
$ac_ext >&5
4003 ac_header_preproc
=no
4005 rm -f conftest.err conftest.
$ac_ext
4006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4007 echo "${ECHO_T}$ac_header_preproc" >&6
4009 # So? What about this header?
4010 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4015 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4016 ac_header_preproc
=yes
4019 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4020 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4021 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4022 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4023 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4024 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4025 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4026 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4029 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4030 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4033 ## ------------------------------------------ ##
4034 ## Report this to the AC_PACKAGE_NAME lists. ##
4035 ## ------------------------------------------ ##
4038 sed "s/^/$as_me: WARNING: /" >&2
4041 echo "$as_me:$LINENO: checking for $ac_header" >&5
4042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4046 eval "$as_ac_Header=\$ac_header_preproc"
4048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4053 cat >>confdefs.h
<<_ACEOF
4054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4062 cat >>confdefs.h
<<\_ACEOF
4063 #define HAVE_LIBUNWIND 1
4066 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
4067 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
4068 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
4071 # Profiling support.
4072 # Check whether --enable-profiling or --disable-profiling was given.
4073 if test "${enable_profiling+set}" = set; then
4074 enableval
="$enable_profiling"
4079 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
4080 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
4081 { (exit 1); exit 1; }; } ;;
4089 for ac_func
in monstartup _mcleanup
4091 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4092 echo "$as_me:$LINENO: checking for $ac_func" >&5
4093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4094 if eval "test \"\${$as_ac_var+set}\" = set"; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 cat >conftest.
$ac_ext <<_ACEOF
4100 cat confdefs.h
>>conftest.
$ac_ext
4101 cat >>conftest.
$ac_ext <<_ACEOF
4102 /* end confdefs.h. */
4103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4105 #define $ac_func innocuous_$ac_func
4107 /* System header to define __stub macros and hopefully few prototypes,
4108 which can conflict with char $ac_func (); below.
4109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4110 <limits.h> exists even on freestanding compilers. */
4113 # include <limits.h>
4115 # include <assert.h>
4120 /* Override any gcc2 internal prototype to avoid an error. */
4125 /* We use char because int might match the return type of a gcc2
4126 builtin and then its argument prototype would still apply. */
4128 /* The GNU C library defines this for functions which it implements
4129 to always fail with ENOSYS. Some functions are actually named
4130 something starting with __ and the normal name is an alias. */
4131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4134 char (*f) () = $ac_func;
4143 return f != $ac_func;
4148 rm -f conftest.
$ac_objext conftest
$ac_exeext
4149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4150 (eval $ac_link) 2>conftest.er1
4152 grep -v '^ *+' conftest.er1
>conftest.err
4154 cat conftest.err
>&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } &&
4157 { ac_try
='test -z "$ac_c_werror_flag"
4158 || test ! -s conftest.err'
4159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); }; } &&
4164 { ac_try
='test -s conftest$ac_exeext'
4165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); }; }; then
4170 eval "$as_ac_var=yes"
4172 echo "$as_me: failed program was:" >&5
4173 sed 's/^/| /' conftest.
$ac_ext >&5
4175 eval "$as_ac_var=no"
4177 rm -f conftest.err conftest.
$ac_objext \
4178 conftest
$ac_exeext conftest.
$ac_ext
4180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4182 if test `eval echo '${'$as_ac_var'}'` = yes; then
4183 cat >>confdefs.h
<<_ACEOF
4184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4190 echo "$as_me:$LINENO: checking for _etext" >&5
4191 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
4192 if test "${ac_cv_var__etext+set}" = set; then
4193 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 cat >conftest.
$ac_ext <<_ACEOF
4198 cat confdefs.h
>>conftest.
$ac_ext
4199 cat >>conftest.
$ac_ext <<_ACEOF
4200 /* end confdefs.h. */
4212 rm -f conftest.
$ac_objext conftest
$ac_exeext
4213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4214 (eval $ac_link) 2>conftest.er1
4216 grep -v '^ *+' conftest.er1
>conftest.err
4218 cat conftest.err
>&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); } &&
4221 { ac_try
='test -z "$ac_c_werror_flag"
4222 || test ! -s conftest.err'
4223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; } &&
4228 { ac_try
='test -s conftest$ac_exeext'
4229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }; }; then
4234 ac_cv_var__etext
=yes
4236 echo "$as_me: failed program was:" >&5
4237 sed 's/^/| /' conftest.
$ac_ext >&5
4241 rm -f conftest.err conftest.
$ac_objext \
4242 conftest
$ac_exeext conftest.
$ac_ext
4244 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
4245 echo "${ECHO_T}$ac_cv_var__etext" >&6
4246 if test $ac_cv_var__etext = yes; then
4248 cat >>confdefs.h
<<\_ACEOF
4249 #define HAVE__ETEXT 1
4253 if test "$enable_profiling" = yes ; then
4254 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
4255 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
4256 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
4257 { (exit 1); exit 1; }; }
4260 OLD_CFLAGS
="$CFLAGS"
4261 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
4263 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
4264 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
4265 if test "${ac_cv_cc_supports_pg+set}" = set; then
4266 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 cat >conftest.
$ac_ext <<_ACEOF
4271 cat confdefs.h
>>conftest.
$ac_ext
4272 cat >>conftest.
$ac_ext <<_ACEOF
4273 /* end confdefs.h. */
4283 rm -f conftest.
$ac_objext
4284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4285 (eval $ac_compile) 2>conftest.er1
4287 grep -v '^ *+' conftest.er1
>conftest.err
4289 cat conftest.err
>&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); } &&
4292 { ac_try
='test -z "$ac_c_werror_flag"
4293 || test ! -s conftest.err'
4294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); }; } &&
4299 { ac_try
='test -s conftest.$ac_objext'
4300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; }; then
4305 ac_cv_cc_supports_pg
=yes
4307 echo "$as_me: failed program was:" >&5
4308 sed 's/^/| /' conftest.
$ac_ext >&5
4310 ac_cv_cc_supports_pg
=no
4312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4314 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
4315 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
4317 if test $ac_cv_cc_supports_pg = no
; then
4318 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
4319 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
4320 { (exit 1); exit 1; }; }
4323 CFLAGS
="$OLD_CFLAGS"
4326 # --------------------- #
4327 # Checks for programs. #
4328 # --------------------- #
4330 for ac_prog
in gawk mawk nawk
awk
4332 # Extract the first word of "$ac_prog", so it can be a program name with args.
4333 set dummy
$ac_prog; ac_word
=$2
4334 echo "$as_me:$LINENO: checking for $ac_word" >&5
4335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4336 if test "${ac_cv_prog_AWK+set}" = set; then
4337 echo $ECHO_N "(cached) $ECHO_C" >&6
4339 if test -n "$AWK"; then
4340 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4346 test -z "$as_dir" && as_dir
=.
4347 for ac_exec_ext
in '' $ac_executable_extensions; do
4348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349 ac_cv_prog_AWK
="$ac_prog"
4350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4359 if test -n "$AWK"; then
4360 echo "$as_me:$LINENO: result: $AWK" >&5
4361 echo "${ECHO_T}$AWK" >&6
4363 echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6
4367 test -n "$AWK" && break
4370 # Find a good install program. We prefer a C program (faster),
4371 # so one script is as good as another. But avoid the broken or
4372 # incompatible versions:
4373 # SysV /etc/install, /usr/sbin/install
4374 # SunOS /usr/etc/install
4375 # IRIX /sbin/install
4377 # AmigaOS /C/install, which installs bootblocks on floppy discs
4378 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4379 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4380 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4381 # OS/2's system install, which has a completely different semantic
4382 # ./install, which can be erroneously created by make from ./install.sh.
4383 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4384 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4385 if test -z "$INSTALL"; then
4386 if test "${ac_cv_path_install+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4393 test -z "$as_dir" && as_dir
=.
4394 # Account for people who put trailing slashes in PATH elements.
4396 .
/ | .
// |
/cC
/* | \
4397 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4398 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4401 # OSF1 and SCO ODT 3.0 have their own names for install.
4402 # Don't use installbsd from OSF since it installs stuff as root
4404 for ac_prog
in ginstall scoinst
install; do
4405 for ac_exec_ext
in '' $ac_executable_extensions; do
4406 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4407 if test $ac_prog = install &&
4408 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4409 # AIX install. It has an incompatible calling convention.
4411 elif test $ac_prog = install &&
4412 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4413 # program-specific install script used by HP pwplus--don't use.
4416 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4428 if test "${ac_cv_path_install+set}" = set; then
4429 INSTALL
=$ac_cv_path_install
4431 # As a last resort, use the slow shell script. We don't cache a
4432 # path for INSTALL within a source directory, because that will
4433 # break other packages using the cache if that directory is
4434 # removed, or if the path is relative.
4435 INSTALL
=$ac_install_sh
4438 echo "$as_me:$LINENO: result: $INSTALL" >&5
4439 echo "${ECHO_T}$INSTALL" >&6
4441 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4442 # It thinks the first close brace ends the variable substitution.
4443 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4445 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4447 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4449 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4450 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4452 if test "$LN_S" = "ln -s"; then
4453 echo "$as_me:$LINENO: result: yes" >&5
4454 echo "${ECHO_T}yes" >&6
4456 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4457 echo "${ECHO_T}no, using $LN_S" >&6
4460 if test -n "$ac_tool_prefix"; then
4461 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4462 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4463 echo "$as_me:$LINENO: checking for $ac_word" >&5
4464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4465 if test "${ac_cv_prog_RANLIB+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 if test -n "$RANLIB"; then
4469 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir
=.
4476 for ac_exec_ext
in '' $ac_executable_extensions; do
4477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4478 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 RANLIB
=$ac_cv_prog_RANLIB
4488 if test -n "$RANLIB"; then
4489 echo "$as_me:$LINENO: result: $RANLIB" >&5
4490 echo "${ECHO_T}$RANLIB" >&6
4492 echo "$as_me:$LINENO: result: no" >&5
4493 echo "${ECHO_T}no" >&6
4497 if test -z "$ac_cv_prog_RANLIB"; then
4498 ac_ct_RANLIB
=$RANLIB
4499 # Extract the first word of "ranlib", so it can be a program name with args.
4500 set dummy ranlib
; ac_word
=$2
4501 echo "$as_me:$LINENO: checking for $ac_word" >&5
4502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4503 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4504 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 if test -n "$ac_ct_RANLIB"; then
4507 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir
=.
4514 for ac_exec_ext
in '' $ac_executable_extensions; do
4515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4516 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4526 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4527 if test -n "$ac_ct_RANLIB"; then
4528 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4529 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4535 RANLIB
=$ac_ct_RANLIB
4537 RANLIB
="$ac_cv_prog_RANLIB"
4540 for ac_prog
in 'bison -y' byacc
4542 # Extract the first word of "$ac_prog", so it can be a program name with args.
4543 set dummy
$ac_prog; ac_word
=$2
4544 echo "$as_me:$LINENO: checking for $ac_word" >&5
4545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4546 if test "${ac_cv_prog_YACC+set}" = set; then
4547 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 if test -n "$YACC"; then
4550 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4556 test -z "$as_dir" && as_dir
=.
4557 for ac_exec_ext
in '' $ac_executable_extensions; do
4558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_prog_YACC
="$ac_prog"
4560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 YACC
=$ac_cv_prog_YACC
4569 if test -n "$YACC"; then
4570 echo "$as_me:$LINENO: result: $YACC" >&5
4571 echo "${ECHO_T}$YACC" >&6
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4577 test -n "$YACC" && break
4579 test -n "$YACC" || YACC
="yacc"
4582 if test -n "$ac_tool_prefix"; then
4583 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4584 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4585 echo "$as_me:$LINENO: checking for $ac_word" >&5
4586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4587 if test "${ac_cv_prog_AR+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4590 if test -n "$AR"; then
4591 ac_cv_prog_AR
="$AR" # Let the user override the test.
4593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4597 test -z "$as_dir" && as_dir
=.
4598 for ac_exec_ext
in '' $ac_executable_extensions; do
4599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4600 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 if test -n "$AR"; then
4611 echo "$as_me:$LINENO: result: $AR" >&5
4612 echo "${ECHO_T}$AR" >&6
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4619 if test -z "$ac_cv_prog_AR"; then
4621 # Extract the first word of "ar", so it can be a program name with args.
4622 set dummy
ar; ac_word
=$2
4623 echo "$as_me:$LINENO: checking for $ac_word" >&5
4624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4625 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4626 echo $ECHO_N "(cached) $ECHO_C" >&6
4628 if test -n "$ac_ct_AR"; then
4629 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4635 test -z "$as_dir" && as_dir
=.
4636 for ac_exec_ext
in '' $ac_executable_extensions; do
4637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4638 ac_cv_prog_ac_ct_AR
="ar"
4639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4647 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4648 if test -n "$ac_ct_AR"; then
4649 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4650 echo "${ECHO_T}$ac_ct_AR" >&6
4652 echo "$as_me:$LINENO: result: no" >&5
4653 echo "${ECHO_T}no" >&6
4661 if test -n "$ac_tool_prefix"; then
4662 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4663 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4664 echo "$as_me:$LINENO: checking for $ac_word" >&5
4665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4666 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 if test -n "$DLLTOOL"; then
4670 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4676 test -z "$as_dir" && as_dir
=.
4677 for ac_exec_ext
in '' $ac_executable_extensions; do
4678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4679 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 DLLTOOL
=$ac_cv_prog_DLLTOOL
4689 if test -n "$DLLTOOL"; then
4690 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4691 echo "${ECHO_T}$DLLTOOL" >&6
4693 echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6
4698 if test -z "$ac_cv_prog_DLLTOOL"; then
4699 ac_ct_DLLTOOL
=$DLLTOOL
4700 # Extract the first word of "dlltool", so it can be a program name with args.
4701 set dummy dlltool
; ac_word
=$2
4702 echo "$as_me:$LINENO: checking for $ac_word" >&5
4703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4704 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4705 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 if test -n "$ac_ct_DLLTOOL"; then
4708 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4714 test -z "$as_dir" && as_dir
=.
4715 for ac_exec_ext
in '' $ac_executable_extensions; do
4716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4717 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4727 if test -n "$ac_ct_DLLTOOL"; then
4728 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4729 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4731 echo "$as_me:$LINENO: result: no" >&5
4732 echo "${ECHO_T}no" >&6
4735 DLLTOOL
=$ac_ct_DLLTOOL
4737 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4740 if test -n "$ac_tool_prefix"; then
4741 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4742 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4743 echo "$as_me:$LINENO: checking for $ac_word" >&5
4744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4745 if test "${ac_cv_prog_WINDRES+set}" = set; then
4746 echo $ECHO_N "(cached) $ECHO_C" >&6
4748 if test -n "$WINDRES"; then
4749 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4755 test -z "$as_dir" && as_dir
=.
4756 for ac_exec_ext
in '' $ac_executable_extensions; do
4757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4758 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4767 WINDRES
=$ac_cv_prog_WINDRES
4768 if test -n "$WINDRES"; then
4769 echo "$as_me:$LINENO: result: $WINDRES" >&5
4770 echo "${ECHO_T}$WINDRES" >&6
4772 echo "$as_me:$LINENO: result: no" >&5
4773 echo "${ECHO_T}no" >&6
4777 if test -z "$ac_cv_prog_WINDRES"; then
4778 ac_ct_WINDRES
=$WINDRES
4779 # Extract the first word of "windres", so it can be a program name with args.
4780 set dummy windres
; ac_word
=$2
4781 echo "$as_me:$LINENO: checking for $ac_word" >&5
4782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4783 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4784 echo $ECHO_N "(cached) $ECHO_C" >&6
4786 if test -n "$ac_ct_WINDRES"; then
4787 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4793 test -z "$as_dir" && as_dir
=.
4794 for ac_exec_ext
in '' $ac_executable_extensions; do
4795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4796 ac_cv_prog_ac_ct_WINDRES
="windres"
4797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4806 if test -n "$ac_ct_WINDRES"; then
4807 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4808 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4810 echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6
4814 WINDRES
=$ac_ct_WINDRES
4816 WINDRES
="$ac_cv_prog_WINDRES"
4820 # Needed for GNU/Hurd.
4821 if test -n "$ac_tool_prefix"; then
4822 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
4823 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
4824 echo "$as_me:$LINENO: checking for $ac_word" >&5
4825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4826 if test "${ac_cv_prog_MIG+set}" = set; then
4827 echo $ECHO_N "(cached) $ECHO_C" >&6
4829 if test -n "$MIG"; then
4830 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
4832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4836 test -z "$as_dir" && as_dir
=.
4837 for ac_exec_ext
in '' $ac_executable_extensions; do
4838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4839 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
4840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 if test -n "$MIG"; then
4850 echo "$as_me:$LINENO: result: $MIG" >&5
4851 echo "${ECHO_T}$MIG" >&6
4853 echo "$as_me:$LINENO: result: no" >&5
4854 echo "${ECHO_T}no" >&6
4858 if test -z "$ac_cv_prog_MIG"; then
4860 # Extract the first word of "mig", so it can be a program name with args.
4861 set dummy mig
; ac_word
=$2
4862 echo "$as_me:$LINENO: checking for $ac_word" >&5
4863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4864 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
4865 echo $ECHO_N "(cached) $ECHO_C" >&6
4867 if test -n "$ac_ct_MIG"; then
4868 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
4870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir
=.
4875 for ac_exec_ext
in '' $ac_executable_extensions; do
4876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4877 ac_cv_prog_ac_ct_MIG
="mig"
4878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4886 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
4887 if test -n "$ac_ct_MIG"; then
4888 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
4889 echo "${ECHO_T}$ac_ct_MIG" >&6
4891 echo "$as_me:$LINENO: result: no" >&5
4892 echo "${ECHO_T}no" >&6
4897 MIG
="$ac_cv_prog_MIG"
4901 # ---------------------- #
4902 # Checks for libraries. #
4903 # ---------------------- #
4905 # We might need to link with -lm; most simulators need it.
4907 echo "$as_me:$LINENO: checking for main in -lm" >&5
4908 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4909 if test "${ac_cv_lib_m_main+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4912 ac_check_lib_save_LIBS
=$LIBS
4914 cat >conftest.
$ac_ext <<_ACEOF
4917 cat confdefs.h
>>conftest.
$ac_ext
4918 cat >>conftest.
$ac_ext <<_ACEOF
4919 /* end confdefs.h. */
4930 rm -f conftest.
$ac_objext conftest
$ac_exeext
4931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4932 (eval $ac_link) 2>conftest.er1
4934 grep -v '^ *+' conftest.er1
>conftest.err
4936 cat conftest.err
>&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); } &&
4939 { ac_try
='test -z "$ac_c_werror_flag"
4940 || test ! -s conftest.err'
4941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); }; } &&
4946 { ac_try
='test -s conftest$ac_exeext'
4947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); }; }; then
4952 ac_cv_lib_m_main
=yes
4954 echo "$as_me: failed program was:" >&5
4955 sed 's/^/| /' conftest.
$ac_ext >&5
4959 rm -f conftest.err conftest.
$ac_objext \
4960 conftest
$ac_exeext conftest.
$ac_ext
4961 LIBS
=$ac_check_lib_save_LIBS
4963 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4964 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4965 if test $ac_cv_lib_m_main = yes; then
4966 cat >>confdefs.h
<<_ACEOF
4975 # We need to link with -lw to get `wctype' on Solaris before Solaris
4976 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
4977 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
4978 # is known to have this problem). Therefore we avoid libw if we can.
4979 echo "$as_me:$LINENO: checking for wctype" >&5
4980 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
4981 if test "${ac_cv_func_wctype+set}" = set; then
4982 echo $ECHO_N "(cached) $ECHO_C" >&6
4984 cat >conftest.
$ac_ext <<_ACEOF
4987 cat confdefs.h
>>conftest.
$ac_ext
4988 cat >>conftest.
$ac_ext <<_ACEOF
4989 /* end confdefs.h. */
4990 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
4991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4992 #define wctype innocuous_wctype
4994 /* System header to define __stub macros and hopefully few prototypes,
4995 which can conflict with char wctype (); below.
4996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4997 <limits.h> exists even on freestanding compilers. */
5000 # include <limits.h>
5002 # include <assert.h>
5007 /* Override any gcc2 internal prototype to avoid an error. */
5012 /* We use char because int might match the return type of a gcc2
5013 builtin and then its argument prototype would still apply. */
5015 /* The GNU C library defines this for functions which it implements
5016 to always fail with ENOSYS. Some functions are actually named
5017 something starting with __ and the normal name is an alias. */
5018 #if defined (__stub_wctype) || defined (__stub___wctype)
5021 char (*f) () = wctype;
5035 rm -f conftest.
$ac_objext conftest
$ac_exeext
5036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5037 (eval $ac_link) 2>conftest.er1
5039 grep -v '^ *+' conftest.er1
>conftest.err
5041 cat conftest.err
>&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); } &&
5044 { ac_try
='test -z "$ac_c_werror_flag"
5045 || test ! -s conftest.err'
5046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050 (exit $ac_status); }; } &&
5051 { ac_try
='test -s conftest$ac_exeext'
5052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); }; }; then
5057 ac_cv_func_wctype
=yes
5059 echo "$as_me: failed program was:" >&5
5060 sed 's/^/| /' conftest.
$ac_ext >&5
5062 ac_cv_func_wctype
=no
5064 rm -f conftest.err conftest.
$ac_objext \
5065 conftest
$ac_exeext conftest.
$ac_ext
5067 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
5068 echo "${ECHO_T}$ac_cv_func_wctype" >&6
5069 if test $ac_cv_func_wctype = yes; then
5073 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
5074 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
5075 if test "${ac_cv_lib_w_wctype+set}" = set; then
5076 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 ac_check_lib_save_LIBS
=$LIBS
5080 cat >conftest.
$ac_ext <<_ACEOF
5083 cat confdefs.h
>>conftest.
$ac_ext
5084 cat >>conftest.
$ac_ext <<_ACEOF
5085 /* end confdefs.h. */
5087 /* Override any gcc2 internal prototype to avoid an error. */
5091 /* We use char because int might match the return type of a gcc2
5092 builtin and then its argument prototype would still apply. */
5102 rm -f conftest.
$ac_objext conftest
$ac_exeext
5103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5104 (eval $ac_link) 2>conftest.er1
5106 grep -v '^ *+' conftest.er1
>conftest.err
5108 cat conftest.err
>&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); } &&
5111 { ac_try
='test -z "$ac_c_werror_flag"
5112 || test ! -s conftest.err'
5113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); }; } &&
5118 { ac_try
='test -s conftest$ac_exeext'
5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; }; then
5124 ac_cv_lib_w_wctype
=yes
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.
$ac_ext >&5
5129 ac_cv_lib_w_wctype
=no
5131 rm -f conftest.err conftest.
$ac_objext \
5132 conftest
$ac_exeext conftest.
$ac_ext
5133 LIBS
=$ac_check_lib_save_LIBS
5135 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
5136 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
5137 if test $ac_cv_lib_w_wctype = yes; then
5138 cat >>confdefs.h
<<_ACEOF
5149 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
5150 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
5151 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
5152 if test "${ac_cv_search_gethostbyname+set}" = set; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 ac_func_search_save_LIBS
=$LIBS
5156 ac_cv_search_gethostbyname
=no
5157 cat >conftest.
$ac_ext <<_ACEOF
5160 cat confdefs.h
>>conftest.
$ac_ext
5161 cat >>conftest.
$ac_ext <<_ACEOF
5162 /* end confdefs.h. */
5164 /* Override any gcc2 internal prototype to avoid an error. */
5168 /* We use char because int might match the return type of a gcc2
5169 builtin and then its argument prototype would still apply. */
5170 char gethostbyname ();
5179 rm -f conftest.
$ac_objext conftest
$ac_exeext
5180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5181 (eval $ac_link) 2>conftest.er1
5183 grep -v '^ *+' conftest.er1
>conftest.err
5185 cat conftest.err
>&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); } &&
5188 { ac_try
='test -z "$ac_c_werror_flag"
5189 || test ! -s conftest.err'
5190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); }; } &&
5195 { ac_try
='test -s conftest$ac_exeext'
5196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); }; }; then
5201 ac_cv_search_gethostbyname
="none required"
5203 echo "$as_me: failed program was:" >&5
5204 sed 's/^/| /' conftest.
$ac_ext >&5
5207 rm -f conftest.err conftest.
$ac_objext \
5208 conftest
$ac_exeext conftest.
$ac_ext
5209 if test "$ac_cv_search_gethostbyname" = no
; then
5210 for ac_lib
in nsl
; do
5211 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5212 cat >conftest.
$ac_ext <<_ACEOF
5215 cat confdefs.h
>>conftest.
$ac_ext
5216 cat >>conftest.
$ac_ext <<_ACEOF
5217 /* end confdefs.h. */
5219 /* Override any gcc2 internal prototype to avoid an error. */
5223 /* We use char because int might match the return type of a gcc2
5224 builtin and then its argument prototype would still apply. */
5225 char gethostbyname ();
5234 rm -f conftest.
$ac_objext conftest
$ac_exeext
5235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5236 (eval $ac_link) 2>conftest.er1
5238 grep -v '^ *+' conftest.er1
>conftest.err
5240 cat conftest.err
>&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } &&
5243 { ac_try
='test -z "$ac_c_werror_flag"
5244 || test ! -s conftest.err'
5245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); }; } &&
5250 { ac_try
='test -s conftest$ac_exeext'
5251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); }; }; then
5256 ac_cv_search_gethostbyname
="-l$ac_lib"
5259 echo "$as_me: failed program was:" >&5
5260 sed 's/^/| /' conftest.
$ac_ext >&5
5263 rm -f conftest.err conftest.
$ac_objext \
5264 conftest
$ac_exeext conftest.
$ac_ext
5267 LIBS
=$ac_func_search_save_LIBS
5269 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
5270 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
5271 if test "$ac_cv_search_gethostbyname" != no
; then
5272 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
5277 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
5278 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
5279 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
5280 if test "${ac_cv_search_socketpair+set}" = set; then
5281 echo $ECHO_N "(cached) $ECHO_C" >&6
5283 ac_func_search_save_LIBS
=$LIBS
5284 ac_cv_search_socketpair
=no
5285 cat >conftest.
$ac_ext <<_ACEOF
5288 cat confdefs.h
>>conftest.
$ac_ext
5289 cat >>conftest.
$ac_ext <<_ACEOF
5290 /* end confdefs.h. */
5292 /* Override any gcc2 internal prototype to avoid an error. */
5296 /* We use char because int might match the return type of a gcc2
5297 builtin and then its argument prototype would still apply. */
5307 rm -f conftest.
$ac_objext conftest
$ac_exeext
5308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5309 (eval $ac_link) 2>conftest.er1
5311 grep -v '^ *+' conftest.er1
>conftest.err
5313 cat conftest.err
>&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); } &&
5316 { ac_try
='test -z "$ac_c_werror_flag"
5317 || test ! -s conftest.err'
5318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); }; } &&
5323 { ac_try
='test -s conftest$ac_exeext'
5324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); }; }; then
5329 ac_cv_search_socketpair
="none required"
5331 echo "$as_me: failed program was:" >&5
5332 sed 's/^/| /' conftest.
$ac_ext >&5
5335 rm -f conftest.err conftest.
$ac_objext \
5336 conftest
$ac_exeext conftest.
$ac_ext
5337 if test "$ac_cv_search_socketpair" = no
; then
5338 for ac_lib
in socket
; do
5339 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5340 cat >conftest.
$ac_ext <<_ACEOF
5343 cat confdefs.h
>>conftest.
$ac_ext
5344 cat >>conftest.
$ac_ext <<_ACEOF
5345 /* end confdefs.h. */
5347 /* Override any gcc2 internal prototype to avoid an error. */
5351 /* We use char because int might match the return type of a gcc2
5352 builtin and then its argument prototype would still apply. */
5362 rm -f conftest.
$ac_objext conftest
$ac_exeext
5363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5364 (eval $ac_link) 2>conftest.er1
5366 grep -v '^ *+' conftest.er1
>conftest.err
5368 cat conftest.err
>&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); } &&
5371 { ac_try
='test -z "$ac_c_werror_flag"
5372 || test ! -s conftest.err'
5373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }; } &&
5378 { ac_try
='test -s conftest$ac_exeext'
5379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); }; }; then
5384 ac_cv_search_socketpair
="-l$ac_lib"
5387 echo "$as_me: failed program was:" >&5
5388 sed 's/^/| /' conftest.
$ac_ext >&5
5391 rm -f conftest.err conftest.
$ac_objext \
5392 conftest
$ac_exeext conftest.
$ac_ext
5395 LIBS
=$ac_func_search_save_LIBS
5397 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
5398 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
5399 if test "$ac_cv_search_socketpair" != no
; then
5400 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
5405 # For the TUI, we need enhanced curses functionality.
5407 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
5408 # curses library because the latter might not provide all the
5409 # functionality we need. However, this leads to problems on systems
5410 # where the linker searches /usr/local/lib, but the compiler doesn't
5411 # search /usr/local/include, if ncurses is installed in /usr/local. A
5412 # default installation of ncurses on alpha*-dec-osf* will lead to such
5414 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
5415 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
5416 if test "${ac_cv_search_waddstr+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 ac_func_search_save_LIBS
=$LIBS
5420 ac_cv_search_waddstr
=no
5421 cat >conftest.
$ac_ext <<_ACEOF
5424 cat confdefs.h
>>conftest.
$ac_ext
5425 cat >>conftest.
$ac_ext <<_ACEOF
5426 /* end confdefs.h. */
5428 /* Override any gcc2 internal prototype to avoid an error. */
5432 /* We use char because int might match the return type of a gcc2
5433 builtin and then its argument prototype would still apply. */
5443 rm -f conftest.
$ac_objext conftest
$ac_exeext
5444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5445 (eval $ac_link) 2>conftest.er1
5447 grep -v '^ *+' conftest.er1
>conftest.err
5449 cat conftest.err
>&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); } &&
5452 { ac_try
='test -z "$ac_c_werror_flag"
5453 || test ! -s conftest.err'
5454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 (exit $ac_status); }; } &&
5459 { ac_try
='test -s conftest$ac_exeext'
5460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 (exit $ac_status); }; }; then
5465 ac_cv_search_waddstr
="none required"
5467 echo "$as_me: failed program was:" >&5
5468 sed 's/^/| /' conftest.
$ac_ext >&5
5471 rm -f conftest.err conftest.
$ac_objext \
5472 conftest
$ac_exeext conftest.
$ac_ext
5473 if test "$ac_cv_search_waddstr" = no
; then
5474 for ac_lib
in ncurses cursesX curses
; do
5475 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5476 cat >conftest.
$ac_ext <<_ACEOF
5479 cat confdefs.h
>>conftest.
$ac_ext
5480 cat >>conftest.
$ac_ext <<_ACEOF
5481 /* end confdefs.h. */
5483 /* Override any gcc2 internal prototype to avoid an error. */
5487 /* We use char because int might match the return type of a gcc2
5488 builtin and then its argument prototype would still apply. */
5498 rm -f conftest.
$ac_objext conftest
$ac_exeext
5499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5500 (eval $ac_link) 2>conftest.er1
5502 grep -v '^ *+' conftest.er1
>conftest.err
5504 cat conftest.err
>&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); } &&
5507 { ac_try
='test -z "$ac_c_werror_flag"
5508 || test ! -s conftest.err'
5509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); }; } &&
5514 { ac_try
='test -s conftest$ac_exeext'
5515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5519 (exit $ac_status); }; }; then
5520 ac_cv_search_waddstr
="-l$ac_lib"
5523 echo "$as_me: failed program was:" >&5
5524 sed 's/^/| /' conftest.
$ac_ext >&5
5527 rm -f conftest.err conftest.
$ac_objext \
5528 conftest
$ac_exeext conftest.
$ac_ext
5531 LIBS
=$ac_func_search_save_LIBS
5533 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
5534 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
5535 if test "$ac_cv_search_waddstr" != no
; then
5536 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
5541 # Since GDB uses Readline, we need termcap functionality. In many
5542 # cases this will be provided by the curses library, but some systems
5543 # have a seperate termcap library, or no curses library at all.
5547 if test -d $srcdir/libtermcap
; then
5548 LIBS
="../libtermcap/libtermcap.a $LIBS"
5549 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
5552 ac_cv_search_tgetent
="none required"
5555 ac_cv_search_tgetent
="none required"
5556 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
5560 # These are the libraries checked by Readline.
5561 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
5562 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
5563 if test "${ac_cv_search_tgetent+set}" = set; then
5564 echo $ECHO_N "(cached) $ECHO_C" >&6
5566 ac_func_search_save_LIBS
=$LIBS
5567 ac_cv_search_tgetent
=no
5568 cat >conftest.
$ac_ext <<_ACEOF
5571 cat confdefs.h
>>conftest.
$ac_ext
5572 cat >>conftest.
$ac_ext <<_ACEOF
5573 /* end confdefs.h. */
5575 /* Override any gcc2 internal prototype to avoid an error. */
5579 /* We use char because int might match the return type of a gcc2
5580 builtin and then its argument prototype would still apply. */
5590 rm -f conftest.
$ac_objext conftest
$ac_exeext
5591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5592 (eval $ac_link) 2>conftest.er1
5594 grep -v '^ *+' conftest.er1
>conftest.err
5596 cat conftest.err
>&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } &&
5599 { ac_try
='test -z "$ac_c_werror_flag"
5600 || test ! -s conftest.err'
5601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; } &&
5606 { ac_try
='test -s conftest$ac_exeext'
5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; }; then
5612 ac_cv_search_tgetent
="none required"
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.
$ac_ext >&5
5618 rm -f conftest.err conftest.
$ac_objext \
5619 conftest
$ac_exeext conftest.
$ac_ext
5620 if test "$ac_cv_search_tgetent" = no
; then
5621 for ac_lib
in termcap tinfo curses ncurses
; do
5622 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5623 cat >conftest.
$ac_ext <<_ACEOF
5626 cat confdefs.h
>>conftest.
$ac_ext
5627 cat >>conftest.
$ac_ext <<_ACEOF
5628 /* end confdefs.h. */
5630 /* Override any gcc2 internal prototype to avoid an error. */
5634 /* We use char because int might match the return type of a gcc2
5635 builtin and then its argument prototype would still apply. */
5645 rm -f conftest.
$ac_objext conftest
$ac_exeext
5646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5647 (eval $ac_link) 2>conftest.er1
5649 grep -v '^ *+' conftest.er1
>conftest.err
5651 cat conftest.err
>&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); } &&
5654 { ac_try
='test -z "$ac_c_werror_flag"
5655 || test ! -s conftest.err'
5656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); }; } &&
5661 { ac_try
='test -s conftest$ac_exeext'
5662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); }; }; then
5667 ac_cv_search_tgetent
="-l$ac_lib"
5670 echo "$as_me: failed program was:" >&5
5671 sed 's/^/| /' conftest.
$ac_ext >&5
5674 rm -f conftest.err conftest.
$ac_objext \
5675 conftest
$ac_exeext conftest.
$ac_ext
5678 LIBS
=$ac_func_search_save_LIBS
5680 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
5681 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
5682 if test "$ac_cv_search_tgetent" != no
; then
5683 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
5688 if test "$ac_cv_search_tgetent" = no
; then
5689 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
5690 echo "$as_me: error: no termcap library found" >&2;}
5691 { (exit 1); exit 1; }; }
5695 if test "X$prefix" = "XNONE"; then
5696 acl_final_prefix
="$ac_default_prefix"
5698 acl_final_prefix
="$prefix"
5700 if test "X$exec_prefix" = "XNONE"; then
5701 acl_final_exec_prefix
='${prefix}'
5703 acl_final_exec_prefix
="$exec_prefix"
5705 acl_save_prefix
="$prefix"
5706 prefix
="$acl_final_prefix"
5707 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5708 prefix
="$acl_save_prefix"
5711 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5712 if test "${with_gnu_ld+set}" = set; then
5713 withval
="$with_gnu_ld"
5714 test "$withval" = no || with_gnu_ld
=yes
5718 # Prepare PATH_SEPARATOR.
5719 # The user is always right.
5720 if test "${PATH_SEPARATOR+set}" != set; then
5721 echo "#! /bin/sh" >conf$$.sh
5722 echo "exit 0" >>conf$$.sh
5724 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5732 if test "$GCC" = yes; then
5733 # Check if gcc -print-prog-name=ld gives a path.
5734 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5735 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5738 # gcc leaves a trailing carriage return which upsets mingw
5739 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5741 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5744 # Accept absolute paths.
5745 [\\/]* |
[A-Za-z
]:[\\/]*)
5746 re_direlt
='/[^/][^/]*/\.\./'
5747 # Canonicalize the path of ld
5748 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5749 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5750 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5752 test -z "$LD" && LD
="$ac_prog"
5755 # If it fails, then pretend we aren't using GCC.
5759 # If it is relative, then search for the first ld in PATH.
5763 elif test "$with_gnu_ld" = yes; then
5764 echo "$as_me:$LINENO: checking for GNU ld" >&5
5765 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5767 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5768 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5770 if test "${acl_cv_path_LD+set}" = set; then
5771 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 if test -z "$LD"; then
5774 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5775 for ac_dir
in $PATH; do
5776 test -z "$ac_dir" && ac_dir
=.
5777 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5778 acl_cv_path_LD
="$ac_dir/$ac_prog"
5779 # Check to see if the program is GNU ld. I'd rather use --version,
5780 # but apparently some GNU ld's only accept -v.
5781 # Break only if it was the GNU/non-GNU ld that we prefer.
5782 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5783 test "$with_gnu_ld" != no
&& break
5785 test "$with_gnu_ld" != yes && break
5791 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5795 LD
="$acl_cv_path_LD"
5796 if test -n "$LD"; then
5797 echo "$as_me:$LINENO: result: $LD" >&5
5798 echo "${ECHO_T}$LD" >&6
5800 echo "$as_me:$LINENO: result: no" >&5
5801 echo "${ECHO_T}no" >&6
5803 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5804 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5805 { (exit 1); exit 1; }; }
5806 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5807 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5808 if test "${acl_cv_prog_gnu_ld+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5812 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5813 acl_cv_prog_gnu_ld
=yes
5815 acl_cv_prog_gnu_ld
=no
5818 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
5819 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
5820 with_gnu_ld
=$acl_cv_prog_gnu_ld
5824 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
5825 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
5826 if test "${acl_cv_rpath+set}" = set; then
5827 echo $ECHO_N "(cached) $ECHO_C" >&6
5830 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5831 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5837 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
5838 echo "${ECHO_T}$acl_cv_rpath" >&6
5840 libext
="$acl_cv_libext"
5841 shlibext
="$acl_cv_shlibext"
5842 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5843 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5844 hardcode_direct
="$acl_cv_hardcode_direct"
5845 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5846 # Check whether --enable-rpath or --disable-rpath was given.
5847 if test "${enable_rpath+set}" = set; then
5848 enableval
="$enable_rpath"
5864 acl_save_prefix
="$prefix"
5865 prefix
="$acl_final_prefix"
5866 acl_save_exec_prefix
="$exec_prefix"
5867 exec_prefix
="$acl_final_exec_prefix"
5869 eval additional_includedir
=\"$includedir\"
5870 eval additional_libdir
=\"$libdir\"
5872 exec_prefix
="$acl_save_exec_prefix"
5873 prefix
="$acl_save_prefix"
5876 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
5877 if test "${with_libexpat_prefix+set}" = set; then
5878 withval
="$with_libexpat_prefix"
5880 if test "X$withval" = "Xno"; then
5883 if test "X$withval" = "X"; then
5885 acl_save_prefix
="$prefix"
5886 prefix
="$acl_final_prefix"
5887 acl_save_exec_prefix
="$exec_prefix"
5888 exec_prefix
="$acl_final_exec_prefix"
5890 eval additional_includedir
=\"$includedir\"
5891 eval additional_libdir
=\"$libdir\"
5893 exec_prefix
="$acl_save_exec_prefix"
5894 prefix
="$acl_save_prefix"
5897 additional_includedir
="$withval/include"
5898 additional_libdir
="$withval/lib"
5908 names_already_handled
=
5909 names_next_round
='expat '
5910 while test -n "$names_next_round"; do
5911 names_this_round
="$names_next_round"
5913 for name
in $names_this_round; do
5915 for n
in $names_already_handled; do
5916 if test "$n" = "$name"; then
5921 if test -z "$already_handled"; then
5922 names_already_handled
="$names_already_handled $name"
5923 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5924 eval value
=\"\
$HAVE_LIB$uppername\"
5925 if test -n "$value"; then
5926 if test "$value" = yes; then
5927 eval value
=\"\
$LIB$uppername\"
5928 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
5929 eval value
=\"\
$LTLIB$uppername\"
5930 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
5939 if test $use_additional = yes; then
5940 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5941 found_dir
="$additional_libdir"
5942 found_so
="$additional_libdir/lib$name.$shlibext"
5943 if test -f "$additional_libdir/lib$name.la"; then
5944 found_la
="$additional_libdir/lib$name.la"
5947 if test -f "$additional_libdir/lib$name.$libext"; then
5948 found_dir
="$additional_libdir"
5949 found_a
="$additional_libdir/lib$name.$libext"
5950 if test -f "$additional_libdir/lib$name.la"; then
5951 found_la
="$additional_libdir/lib$name.la"
5956 if test "X$found_dir" = "X"; then
5957 for x
in $LDFLAGS $LTLIBEXPAT; do
5959 acl_save_prefix
="$prefix"
5960 prefix
="$acl_final_prefix"
5961 acl_save_exec_prefix
="$exec_prefix"
5962 exec_prefix
="$acl_final_exec_prefix"
5964 exec_prefix
="$acl_save_exec_prefix"
5965 prefix
="$acl_save_prefix"
5969 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5970 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5972 found_so
="$dir/lib$name.$shlibext"
5973 if test -f "$dir/lib$name.la"; then
5974 found_la
="$dir/lib$name.la"
5977 if test -f "$dir/lib$name.$libext"; then
5979 found_a
="$dir/lib$name.$libext"
5980 if test -f "$dir/lib$name.la"; then
5981 found_la
="$dir/lib$name.la"
5987 if test "X$found_dir" != "X"; then
5992 if test "X$found_dir" != "X"; then
5993 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
5994 if test "X$found_so" != "X"; then
5995 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
5996 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
5999 for x
in $ltrpathdirs; do
6000 if test "X$x" = "X$found_dir"; then
6005 if test -z "$haveit"; then
6006 ltrpathdirs
="$ltrpathdirs $found_dir"
6008 if test "$hardcode_direct" = yes; then
6009 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6011 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6012 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6014 for x
in $rpathdirs; do
6015 if test "X$x" = "X$found_dir"; then
6020 if test -z "$haveit"; then
6021 rpathdirs
="$rpathdirs $found_dir"
6025 for x
in $LDFLAGS $LIBEXPAT; do
6027 acl_save_prefix
="$prefix"
6028 prefix
="$acl_final_prefix"
6029 acl_save_exec_prefix
="$exec_prefix"
6030 exec_prefix
="$acl_final_exec_prefix"
6032 exec_prefix
="$acl_save_exec_prefix"
6033 prefix
="$acl_save_prefix"
6035 if test "X$x" = "X-L$found_dir"; then
6040 if test -z "$haveit"; then
6041 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
6043 if test "$hardcode_minus_L" != no
; then
6044 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6046 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
6052 if test "X$found_a" != "X"; then
6053 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
6055 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
6058 additional_includedir
=
6059 case "$found_dir" in
6061 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6062 additional_includedir
="$basedir/include"
6065 if test "X$additional_includedir" != "X"; then
6066 if test "X$additional_includedir" != "X/usr/include"; then
6068 if test "X$additional_includedir" = "X/usr/local/include"; then
6069 if test -n "$GCC"; then
6071 linux
*) haveit
=yes;;
6075 if test -z "$haveit"; then
6076 for x
in $CPPFLAGS $INCEXPAT; do
6078 acl_save_prefix
="$prefix"
6079 prefix
="$acl_final_prefix"
6080 acl_save_exec_prefix
="$exec_prefix"
6081 exec_prefix
="$acl_final_exec_prefix"
6083 exec_prefix
="$acl_save_exec_prefix"
6084 prefix
="$acl_save_prefix"
6086 if test "X$x" = "X-I$additional_includedir"; then
6091 if test -z "$haveit"; then
6092 if test -d "$additional_includedir"; then
6093 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
6099 if test -n "$found_la"; then
6100 save_libdir
="$libdir"
6102 */* |
*\\*) .
"$found_la" ;;
6103 *) .
"./$found_la" ;;
6105 libdir
="$save_libdir"
6106 for dep
in $dependency_libs; do
6109 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6110 if test "X$additional_libdir" != "X/usr/lib"; then
6112 if test "X$additional_libdir" = "X/usr/local/lib"; then
6113 if test -n "$GCC"; then
6115 linux
*) haveit
=yes;;
6119 if test -z "$haveit"; then
6121 for x
in $LDFLAGS $LIBEXPAT; do
6123 acl_save_prefix
="$prefix"
6124 prefix
="$acl_final_prefix"
6125 acl_save_exec_prefix
="$exec_prefix"
6126 exec_prefix
="$acl_final_exec_prefix"
6128 exec_prefix
="$acl_save_exec_prefix"
6129 prefix
="$acl_save_prefix"
6131 if test "X$x" = "X-L$additional_libdir"; then
6136 if test -z "$haveit"; then
6137 if test -d "$additional_libdir"; then
6138 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
6142 for x
in $LDFLAGS $LTLIBEXPAT; do
6144 acl_save_prefix
="$prefix"
6145 prefix
="$acl_final_prefix"
6146 acl_save_exec_prefix
="$exec_prefix"
6147 exec_prefix
="$acl_final_exec_prefix"
6149 exec_prefix
="$acl_save_exec_prefix"
6150 prefix
="$acl_save_prefix"
6152 if test "X$x" = "X-L$additional_libdir"; then
6157 if test -z "$haveit"; then
6158 if test -d "$additional_libdir"; then
6159 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
6166 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6167 if test "$enable_rpath" != no
; then
6169 for x
in $rpathdirs; do
6170 if test "X$x" = "X$dir"; then
6175 if test -z "$haveit"; then
6176 rpathdirs
="$rpathdirs $dir"
6179 for x
in $ltrpathdirs; do
6180 if test "X$x" = "X$dir"; then
6185 if test -z "$haveit"; then
6186 ltrpathdirs
="$ltrpathdirs $dir"
6191 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6194 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6197 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
6198 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
6204 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
6205 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
6211 if test "X$rpathdirs" != "X"; then
6212 if test -n "$hardcode_libdir_separator"; then
6214 for found_dir
in $rpathdirs; do
6215 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6217 acl_save_libdir
="$libdir"
6219 eval flag
=\"$hardcode_libdir_flag_spec\"
6220 libdir
="$acl_save_libdir"
6221 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
6223 for found_dir
in $rpathdirs; do
6224 acl_save_libdir
="$libdir"
6226 eval flag
=\"$hardcode_libdir_flag_spec\"
6227 libdir
="$acl_save_libdir"
6228 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
6232 if test "X$ltrpathdirs" != "X"; then
6233 for found_dir
in $ltrpathdirs; do
6234 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
6239 ac_save_CPPFLAGS
="$CPPFLAGS"
6241 for element
in $INCEXPAT; do
6243 for x
in $CPPFLAGS; do
6245 acl_save_prefix
="$prefix"
6246 prefix
="$acl_final_prefix"
6247 acl_save_exec_prefix
="$exec_prefix"
6248 exec_prefix
="$acl_final_exec_prefix"
6250 exec_prefix
="$acl_save_exec_prefix"
6251 prefix
="$acl_save_prefix"
6253 if test "X$x" = "X$element"; then
6258 if test -z "$haveit"; then
6259 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6264 echo "$as_me:$LINENO: checking for libexpat" >&5
6265 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
6266 if test "${ac_cv_libexpat+set}" = set; then
6267 echo $ECHO_N "(cached) $ECHO_C" >&6
6270 ac_save_LIBS
="$LIBS"
6271 LIBS
="$LIBS $LIBEXPAT"
6272 cat >conftest.
$ac_ext <<_ACEOF
6275 cat confdefs.h
>>conftest.
$ac_ext
6276 cat >>conftest.
$ac_ext <<_ACEOF
6277 /* end confdefs.h. */
6282 XML_Parser p = XML_ParserCreate (0);
6287 rm -f conftest.
$ac_objext conftest
$ac_exeext
6288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6289 (eval $ac_link) 2>conftest.er1
6291 grep -v '^ *+' conftest.er1
>conftest.err
6293 cat conftest.err
>&5
6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295 (exit $ac_status); } &&
6296 { ac_try
='test -z "$ac_c_werror_flag"
6297 || test ! -s conftest.err'
6298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); }; } &&
6303 { ac_try
='test -s conftest$ac_exeext'
6304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }; }; then
6311 echo "$as_me: failed program was:" >&5
6312 sed 's/^/| /' conftest.
$ac_ext >&5
6316 rm -f conftest.err conftest.
$ac_objext \
6317 conftest
$ac_exeext conftest.
$ac_ext
6318 LIBS
="$ac_save_LIBS"
6321 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
6322 echo "${ECHO_T}$ac_cv_libexpat" >&6
6323 if test "$ac_cv_libexpat" = yes; then
6326 cat >>confdefs.h
<<\_ACEOF
6327 #define HAVE_LIBEXPAT 1
6330 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
6331 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
6332 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
6333 echo "${ECHO_T}$LIBEXPAT" >&6
6336 CPPFLAGS
="$ac_save_CPPFLAGS"
6346 if test "$HAVE_LIBEXPAT" != yes; then
6347 { echo "$as_me:$LINENO: WARNING: expat is missing or unusable; some features may be disabled." >&5
6348 echo "$as_me: WARNING: expat is missing or unusable; some features may be disabled." >&2;}
6351 # ------------------------- #
6352 # Checks for header files. #
6353 # ------------------------- #
6361 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6362 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6363 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6364 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6366 echo $ECHO_N "(cached) $ECHO_C" >&6
6368 cat >conftest.
$ac_ext <<_ACEOF
6371 cat confdefs.h
>>conftest.
$ac_ext
6372 cat >>conftest.
$ac_ext <<_ACEOF
6373 /* end confdefs.h. */
6374 #include <sys/types.h>
6386 rm -f conftest.
$ac_objext
6387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6388 (eval $ac_compile) 2>conftest.er1
6390 grep -v '^ *+' conftest.er1
>conftest.err
6392 cat conftest.err
>&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } &&
6395 { ac_try
='test -z "$ac_c_werror_flag"
6396 || test ! -s conftest.err'
6397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); }; } &&
6402 { ac_try
='test -s conftest.$ac_objext'
6403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; }; then
6408 eval "$as_ac_Header=yes"
6410 echo "$as_me: failed program was:" >&5
6411 sed 's/^/| /' conftest.
$ac_ext >&5
6413 eval "$as_ac_Header=no"
6415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6420 cat >>confdefs.h
<<_ACEOF
6421 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6424 ac_header_dirent
=$ac_hdr; break
6428 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6429 if test $ac_header_dirent = dirent.h
; then
6430 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6431 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6432 if test "${ac_cv_search_opendir+set}" = set; then
6433 echo $ECHO_N "(cached) $ECHO_C" >&6
6435 ac_func_search_save_LIBS
=$LIBS
6436 ac_cv_search_opendir
=no
6437 cat >conftest.
$ac_ext <<_ACEOF
6440 cat confdefs.h
>>conftest.
$ac_ext
6441 cat >>conftest.
$ac_ext <<_ACEOF
6442 /* end confdefs.h. */
6444 /* Override any gcc2 internal prototype to avoid an error. */
6448 /* We use char because int might match the return type of a gcc2
6449 builtin and then its argument prototype would still apply. */
6459 rm -f conftest.
$ac_objext conftest
$ac_exeext
6460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6461 (eval $ac_link) 2>conftest.er1
6463 grep -v '^ *+' conftest.er1
>conftest.err
6465 cat conftest.err
>&5
6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); } &&
6468 { ac_try
='test -z "$ac_c_werror_flag"
6469 || test ! -s conftest.err'
6470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); }; } &&
6475 { ac_try
='test -s conftest$ac_exeext'
6476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); }; }; then
6481 ac_cv_search_opendir
="none required"
6483 echo "$as_me: failed program was:" >&5
6484 sed 's/^/| /' conftest.
$ac_ext >&5
6487 rm -f conftest.err conftest.
$ac_objext \
6488 conftest
$ac_exeext conftest.
$ac_ext
6489 if test "$ac_cv_search_opendir" = no
; then
6490 for ac_lib
in dir
; do
6491 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6492 cat >conftest.
$ac_ext <<_ACEOF
6495 cat confdefs.h
>>conftest.
$ac_ext
6496 cat >>conftest.
$ac_ext <<_ACEOF
6497 /* end confdefs.h. */
6499 /* Override any gcc2 internal prototype to avoid an error. */
6503 /* We use char because int might match the return type of a gcc2
6504 builtin and then its argument prototype would still apply. */
6514 rm -f conftest.
$ac_objext conftest
$ac_exeext
6515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6516 (eval $ac_link) 2>conftest.er1
6518 grep -v '^ *+' conftest.er1
>conftest.err
6520 cat conftest.err
>&5
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); } &&
6523 { ac_try
='test -z "$ac_c_werror_flag"
6524 || test ! -s conftest.err'
6525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); }; } &&
6530 { ac_try
='test -s conftest$ac_exeext'
6531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); }; }; then
6536 ac_cv_search_opendir
="-l$ac_lib"
6539 echo "$as_me: failed program was:" >&5
6540 sed 's/^/| /' conftest.
$ac_ext >&5
6543 rm -f conftest.err conftest.
$ac_objext \
6544 conftest
$ac_exeext conftest.
$ac_ext
6547 LIBS
=$ac_func_search_save_LIBS
6549 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6550 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6551 if test "$ac_cv_search_opendir" != no
; then
6552 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6557 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6558 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6559 if test "${ac_cv_search_opendir+set}" = set; then
6560 echo $ECHO_N "(cached) $ECHO_C" >&6
6562 ac_func_search_save_LIBS
=$LIBS
6563 ac_cv_search_opendir
=no
6564 cat >conftest.
$ac_ext <<_ACEOF
6567 cat confdefs.h
>>conftest.
$ac_ext
6568 cat >>conftest.
$ac_ext <<_ACEOF
6569 /* end confdefs.h. */
6571 /* Override any gcc2 internal prototype to avoid an error. */
6575 /* We use char because int might match the return type of a gcc2
6576 builtin and then its argument prototype would still apply. */
6586 rm -f conftest.
$ac_objext conftest
$ac_exeext
6587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6588 (eval $ac_link) 2>conftest.er1
6590 grep -v '^ *+' conftest.er1
>conftest.err
6592 cat conftest.err
>&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); } &&
6595 { ac_try
='test -z "$ac_c_werror_flag"
6596 || test ! -s conftest.err'
6597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601 (exit $ac_status); }; } &&
6602 { ac_try
='test -s conftest$ac_exeext'
6603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); }; }; then
6608 ac_cv_search_opendir
="none required"
6610 echo "$as_me: failed program was:" >&5
6611 sed 's/^/| /' conftest.
$ac_ext >&5
6614 rm -f conftest.err conftest.
$ac_objext \
6615 conftest
$ac_exeext conftest.
$ac_ext
6616 if test "$ac_cv_search_opendir" = no
; then
6618 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6619 cat >conftest.
$ac_ext <<_ACEOF
6622 cat confdefs.h
>>conftest.
$ac_ext
6623 cat >>conftest.
$ac_ext <<_ACEOF
6624 /* end confdefs.h. */
6626 /* Override any gcc2 internal prototype to avoid an error. */
6630 /* We use char because int might match the return type of a gcc2
6631 builtin and then its argument prototype would still apply. */
6641 rm -f conftest.
$ac_objext conftest
$ac_exeext
6642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6643 (eval $ac_link) 2>conftest.er1
6645 grep -v '^ *+' conftest.er1
>conftest.err
6647 cat conftest.err
>&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); } &&
6650 { ac_try
='test -z "$ac_c_werror_flag"
6651 || test ! -s conftest.err'
6652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656 (exit $ac_status); }; } &&
6657 { ac_try
='test -s conftest$ac_exeext'
6658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); }; }; then
6663 ac_cv_search_opendir
="-l$ac_lib"
6666 echo "$as_me: failed program was:" >&5
6667 sed 's/^/| /' conftest.
$ac_ext >&5
6670 rm -f conftest.err conftest.
$ac_objext \
6671 conftest
$ac_exeext conftest.
$ac_ext
6674 LIBS
=$ac_func_search_save_LIBS
6676 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6677 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6678 if test "$ac_cv_search_opendir" != no
; then
6679 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6685 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6686 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
6687 if test "${ac_cv_header_stat_broken+set}" = set; then
6688 echo $ECHO_N "(cached) $ECHO_C" >&6
6690 cat >conftest.
$ac_ext <<_ACEOF
6693 cat confdefs.h
>>conftest.
$ac_ext
6694 cat >>conftest.
$ac_ext <<_ACEOF
6695 /* end confdefs.h. */
6696 #include <sys/types.h>
6697 #include <sys/stat.h>
6699 #if defined(S_ISBLK) && defined(S_IFDIR)
6700 # if S_ISBLK (S_IFDIR)
6705 #if defined(S_ISBLK) && defined(S_IFCHR)
6706 # if S_ISBLK (S_IFCHR)
6711 #if defined(S_ISLNK) && defined(S_IFREG)
6712 # if S_ISLNK (S_IFREG)
6717 #if defined(S_ISSOCK) && defined(S_IFREG)
6718 # if S_ISSOCK (S_IFREG)
6724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6725 $EGREP "You lose" >/dev
/null
2>&1; then
6726 ac_cv_header_stat_broken
=yes
6728 ac_cv_header_stat_broken
=no
6733 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6734 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
6735 if test $ac_cv_header_stat_broken = yes; then
6737 cat >>confdefs.h
<<\_ACEOF
6738 #define STAT_MACROS_BROKEN 1
6743 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6744 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6745 if test "${ac_cv_header_stdc+set}" = set; then
6746 echo $ECHO_N "(cached) $ECHO_C" >&6
6748 cat >conftest.
$ac_ext <<_ACEOF
6751 cat confdefs.h
>>conftest.
$ac_ext
6752 cat >>conftest.
$ac_ext <<_ACEOF
6753 /* end confdefs.h. */
6767 rm -f conftest.
$ac_objext
6768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6769 (eval $ac_compile) 2>conftest.er1
6771 grep -v '^ *+' conftest.er1
>conftest.err
6773 cat conftest.err
>&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); } &&
6776 { ac_try
='test -z "$ac_c_werror_flag"
6777 || test ! -s conftest.err'
6778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); }; } &&
6783 { ac_try
='test -s conftest.$ac_objext'
6784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 (exit $ac_status); }; }; then
6789 ac_cv_header_stdc
=yes
6791 echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.
$ac_ext >&5
6794 ac_cv_header_stdc
=no
6796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6798 if test $ac_cv_header_stdc = yes; then
6799 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6800 cat >conftest.
$ac_ext <<_ACEOF
6803 cat confdefs.h
>>conftest.
$ac_ext
6804 cat >>conftest.
$ac_ext <<_ACEOF
6805 /* end confdefs.h. */
6809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6810 $EGREP "memchr" >/dev
/null
2>&1; then
6813 ac_cv_header_stdc
=no
6819 if test $ac_cv_header_stdc = yes; then
6820 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6821 cat >conftest.
$ac_ext <<_ACEOF
6824 cat confdefs.h
>>conftest.
$ac_ext
6825 cat >>conftest.
$ac_ext <<_ACEOF
6826 /* end confdefs.h. */
6830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6831 $EGREP "free" >/dev
/null
2>&1; then
6834 ac_cv_header_stdc
=no
6840 if test $ac_cv_header_stdc = yes; then
6841 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6842 if test "$cross_compiling" = yes; then
6845 cat >conftest.
$ac_ext <<_ACEOF
6848 cat confdefs.h
>>conftest.
$ac_ext
6849 cat >>conftest.
$ac_ext <<_ACEOF
6850 /* end confdefs.h. */
6852 #if ((' ' & 0x0FF) == 0x020)
6853 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6854 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6856 # define ISLOWER(c) \
6857 (('a' <= (c) && (c) <= 'i') \
6858 || ('j' <= (c) && (c) <= 'r') \
6859 || ('s' <= (c) && (c) <= 'z'))
6860 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6863 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6868 for (i = 0; i < 256; i++)
6869 if (XOR (islower (i), ISLOWER (i))
6870 || toupper (i) != TOUPPER (i))
6875 rm -f conftest
$ac_exeext
6876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6877 (eval $ac_link) 2>&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); }; }; then
6888 echo "$as_me: program exited with status $ac_status" >&5
6889 echo "$as_me: failed program was:" >&5
6890 sed 's/^/| /' conftest.
$ac_ext >&5
6893 ac_cv_header_stdc
=no
6895 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6899 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6900 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6901 if test $ac_cv_header_stdc = yes; then
6903 cat >>confdefs.h
<<\_ACEOF
6904 #define STDC_HEADERS 1
6910 for ac_header
in nlist.h
6912 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6914 echo "$as_me:$LINENO: checking for $ac_header" >&5
6915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6917 echo $ECHO_N "(cached) $ECHO_C" >&6
6919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6922 # Is the header compilable?
6923 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6924 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6925 cat >conftest.
$ac_ext <<_ACEOF
6928 cat confdefs.h
>>conftest.
$ac_ext
6929 cat >>conftest.
$ac_ext <<_ACEOF
6930 /* end confdefs.h. */
6931 $ac_includes_default
6932 #include <$ac_header>
6934 rm -f conftest.
$ac_objext
6935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6936 (eval $ac_compile) 2>conftest.er1
6938 grep -v '^ *+' conftest.er1
>conftest.err
6940 cat conftest.err
>&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); } &&
6943 { ac_try
='test -z "$ac_c_werror_flag"
6944 || test ! -s conftest.err'
6945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949 (exit $ac_status); }; } &&
6950 { ac_try
='test -s conftest.$ac_objext'
6951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955 (exit $ac_status); }; }; then
6956 ac_header_compiler
=yes
6958 echo "$as_me: failed program was:" >&5
6959 sed 's/^/| /' conftest.
$ac_ext >&5
6961 ac_header_compiler
=no
6963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6965 echo "${ECHO_T}$ac_header_compiler" >&6
6967 # Is the header present?
6968 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6969 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6970 cat >conftest.
$ac_ext <<_ACEOF
6973 cat confdefs.h
>>conftest.
$ac_ext
6974 cat >>conftest.
$ac_ext <<_ACEOF
6975 /* end confdefs.h. */
6976 #include <$ac_header>
6978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6979 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6981 grep -v '^ *+' conftest.er1
>conftest.err
6983 cat conftest.err
>&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } >/dev
/null
; then
6986 if test -s conftest.err
; then
6987 ac_cpp_err
=$ac_c_preproc_warn_flag
6988 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6995 if test -z "$ac_cpp_err"; then
6996 ac_header_preproc
=yes
6998 echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.
$ac_ext >&5
7001 ac_header_preproc
=no
7003 rm -f conftest.err conftest.
$ac_ext
7004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7005 echo "${ECHO_T}$ac_header_preproc" >&6
7007 # So? What about this header?
7008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7010 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7011 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7013 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7014 ac_header_preproc
=yes
7017 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7018 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7019 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7020 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7021 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7022 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7023 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7024 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7026 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7027 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7028 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7031 ## ------------------------------------------ ##
7032 ## Report this to the AC_PACKAGE_NAME lists. ##
7033 ## ------------------------------------------ ##
7036 sed "s/^/$as_me: WARNING: /" >&2
7039 echo "$as_me:$LINENO: checking for $ac_header" >&5
7040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7042 echo $ECHO_N "(cached) $ECHO_C" >&6
7044 eval "$as_ac_Header=\$ac_header_preproc"
7046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7051 cat >>confdefs.h
<<_ACEOF
7052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7060 for ac_header
in link.h
7062 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7063 echo "$as_me:$LINENO: checking for $ac_header" >&5
7064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7066 echo $ECHO_N "(cached) $ECHO_C" >&6
7068 cat >conftest.
$ac_ext <<_ACEOF
7071 cat confdefs.h
>>conftest.
$ac_ext
7072 cat >>conftest.
$ac_ext <<_ACEOF
7073 /* end confdefs.h. */
7074 #if HAVE_SYS_TYPES_H
7075 # include <sys/types.h>
7082 #include <$ac_header>
7084 rm -f conftest.
$ac_objext
7085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7086 (eval $ac_compile) 2>conftest.er1
7088 grep -v '^ *+' conftest.er1
>conftest.err
7090 cat conftest.err
>&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); } &&
7093 { ac_try
='test -z "$ac_c_werror_flag"
7094 || test ! -s conftest.err'
7095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); }; } &&
7100 { ac_try
='test -s conftest.$ac_objext'
7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); }; }; then
7106 eval "$as_ac_Header=yes"
7108 echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.
$ac_ext >&5
7111 eval "$as_ac_Header=no"
7113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7118 cat >>confdefs.h
<<_ACEOF
7119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7127 for ac_header
in machine
/reg.h
7129 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7131 echo "$as_me:$LINENO: checking for $ac_header" >&5
7132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7134 echo $ECHO_N "(cached) $ECHO_C" >&6
7136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7139 # Is the header compilable?
7140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7142 cat >conftest.
$ac_ext <<_ACEOF
7145 cat confdefs.h
>>conftest.
$ac_ext
7146 cat >>conftest.
$ac_ext <<_ACEOF
7147 /* end confdefs.h. */
7148 $ac_includes_default
7149 #include <$ac_header>
7151 rm -f conftest.
$ac_objext
7152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7153 (eval $ac_compile) 2>conftest.er1
7155 grep -v '^ *+' conftest.er1
>conftest.err
7157 cat conftest.err
>&5
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); } &&
7160 { ac_try
='test -z "$ac_c_werror_flag"
7161 || test ! -s conftest.err'
7162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); }; } &&
7167 { ac_try
='test -s conftest.$ac_objext'
7168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); }; }; then
7173 ac_header_compiler
=yes
7175 echo "$as_me: failed program was:" >&5
7176 sed 's/^/| /' conftest.
$ac_ext >&5
7178 ac_header_compiler
=no
7180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7182 echo "${ECHO_T}$ac_header_compiler" >&6
7184 # Is the header present?
7185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7187 cat >conftest.
$ac_ext <<_ACEOF
7190 cat confdefs.h
>>conftest.
$ac_ext
7191 cat >>conftest.
$ac_ext <<_ACEOF
7192 /* end confdefs.h. */
7193 #include <$ac_header>
7195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7196 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7198 grep -v '^ *+' conftest.er1
>conftest.err
7200 cat conftest.err
>&5
7201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7202 (exit $ac_status); } >/dev
/null
; then
7203 if test -s conftest.err
; then
7204 ac_cpp_err
=$ac_c_preproc_warn_flag
7205 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7212 if test -z "$ac_cpp_err"; then
7213 ac_header_preproc
=yes
7215 echo "$as_me: failed program was:" >&5
7216 sed 's/^/| /' conftest.
$ac_ext >&5
7218 ac_header_preproc
=no
7220 rm -f conftest.err conftest.
$ac_ext
7221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7222 echo "${ECHO_T}$ac_header_preproc" >&6
7224 # So? What about this header?
7225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7231 ac_header_preproc
=yes
7234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7248 ## ------------------------------------------ ##
7249 ## Report this to the AC_PACKAGE_NAME lists. ##
7250 ## ------------------------------------------ ##
7253 sed "s/^/$as_me: WARNING: /" >&2
7256 echo "$as_me:$LINENO: checking for $ac_header" >&5
7257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7259 echo $ECHO_N "(cached) $ECHO_C" >&6
7261 eval "$as_ac_Header=\$ac_header_preproc"
7263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7268 cat >>confdefs.h
<<_ACEOF
7269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7278 for ac_header
in poll.h sys
/poll.h
7280 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7282 echo "$as_me:$LINENO: checking for $ac_header" >&5
7283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7285 echo $ECHO_N "(cached) $ECHO_C" >&6
7287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7290 # Is the header compilable?
7291 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7292 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7293 cat >conftest.
$ac_ext <<_ACEOF
7296 cat confdefs.h
>>conftest.
$ac_ext
7297 cat >>conftest.
$ac_ext <<_ACEOF
7298 /* end confdefs.h. */
7299 $ac_includes_default
7300 #include <$ac_header>
7302 rm -f conftest.
$ac_objext
7303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7304 (eval $ac_compile) 2>conftest.er1
7306 grep -v '^ *+' conftest.er1
>conftest.err
7308 cat conftest.err
>&5
7309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); } &&
7311 { ac_try
='test -z "$ac_c_werror_flag"
7312 || test ! -s conftest.err'
7313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); }; } &&
7318 { ac_try
='test -s conftest.$ac_objext'
7319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); }; }; then
7324 ac_header_compiler
=yes
7326 echo "$as_me: failed program was:" >&5
7327 sed 's/^/| /' conftest.
$ac_ext >&5
7329 ac_header_compiler
=no
7331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7333 echo "${ECHO_T}$ac_header_compiler" >&6
7335 # Is the header present?
7336 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7338 cat >conftest.
$ac_ext <<_ACEOF
7341 cat confdefs.h
>>conftest.
$ac_ext
7342 cat >>conftest.
$ac_ext <<_ACEOF
7343 /* end confdefs.h. */
7344 #include <$ac_header>
7346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7347 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7349 grep -v '^ *+' conftest.er1
>conftest.err
7351 cat conftest.err
>&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); } >/dev
/null
; then
7354 if test -s conftest.err
; then
7355 ac_cpp_err
=$ac_c_preproc_warn_flag
7356 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7363 if test -z "$ac_cpp_err"; then
7364 ac_header_preproc
=yes
7366 echo "$as_me: failed program was:" >&5
7367 sed 's/^/| /' conftest.
$ac_ext >&5
7369 ac_header_preproc
=no
7371 rm -f conftest.err conftest.
$ac_ext
7372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7373 echo "${ECHO_T}$ac_header_preproc" >&6
7375 # So? What about this header?
7376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7378 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7379 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7381 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7382 ac_header_preproc
=yes
7385 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7386 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7387 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7388 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7389 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7390 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7391 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7392 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7395 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7396 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7399 ## ------------------------------------------ ##
7400 ## Report this to the AC_PACKAGE_NAME lists. ##
7401 ## ------------------------------------------ ##
7404 sed "s/^/$as_me: WARNING: /" >&2
7407 echo "$as_me:$LINENO: checking for $ac_header" >&5
7408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7410 echo $ECHO_N "(cached) $ECHO_C" >&6
7412 eval "$as_ac_Header=\$ac_header_preproc"
7414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7419 cat >>confdefs.h
<<_ACEOF
7420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7430 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
7432 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7434 echo "$as_me:$LINENO: checking for $ac_header" >&5
7435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7437 echo $ECHO_N "(cached) $ECHO_C" >&6
7439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7442 # Is the header compilable?
7443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7445 cat >conftest.
$ac_ext <<_ACEOF
7448 cat confdefs.h
>>conftest.
$ac_ext
7449 cat >>conftest.
$ac_ext <<_ACEOF
7450 /* end confdefs.h. */
7451 $ac_includes_default
7452 #include <$ac_header>
7454 rm -f conftest.
$ac_objext
7455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7456 (eval $ac_compile) 2>conftest.er1
7458 grep -v '^ *+' conftest.er1
>conftest.err
7460 cat conftest.err
>&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); } &&
7463 { ac_try
='test -z "$ac_c_werror_flag"
7464 || test ! -s conftest.err'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; } &&
7470 { ac_try
='test -s conftest.$ac_objext'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then
7476 ac_header_compiler
=yes
7478 echo "$as_me: failed program was:" >&5
7479 sed 's/^/| /' conftest.
$ac_ext >&5
7481 ac_header_compiler
=no
7483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7485 echo "${ECHO_T}$ac_header_compiler" >&6
7487 # Is the header present?
7488 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7490 cat >conftest.
$ac_ext <<_ACEOF
7493 cat confdefs.h
>>conftest.
$ac_ext
7494 cat >>conftest.
$ac_ext <<_ACEOF
7495 /* end confdefs.h. */
7496 #include <$ac_header>
7498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7501 grep -v '^ *+' conftest.er1
>conftest.err
7503 cat conftest.err
>&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); } >/dev
/null
; then
7506 if test -s conftest.err
; then
7507 ac_cpp_err
=$ac_c_preproc_warn_flag
7508 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7515 if test -z "$ac_cpp_err"; then
7516 ac_header_preproc
=yes
7518 echo "$as_me: failed program was:" >&5
7519 sed 's/^/| /' conftest.
$ac_ext >&5
7521 ac_header_preproc
=no
7523 rm -f conftest.err conftest.
$ac_ext
7524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7525 echo "${ECHO_T}$ac_header_preproc" >&6
7527 # So? What about this header?
7528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7534 ac_header_preproc
=yes
7537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7551 ## ------------------------------------------ ##
7552 ## Report this to the AC_PACKAGE_NAME lists. ##
7553 ## ------------------------------------------ ##
7556 sed "s/^/$as_me: WARNING: /" >&2
7559 echo "$as_me:$LINENO: checking for $ac_header" >&5
7560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7562 echo $ECHO_N "(cached) $ECHO_C" >&6
7564 eval "$as_ac_Header=\$ac_header_preproc"
7566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7571 cat >>confdefs.h
<<_ACEOF
7572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7580 for ac_header
in stddef.h
7582 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7584 echo "$as_me:$LINENO: checking for $ac_header" >&5
7585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7587 echo $ECHO_N "(cached) $ECHO_C" >&6
7589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7592 # Is the header compilable?
7593 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7594 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7595 cat >conftest.
$ac_ext <<_ACEOF
7598 cat confdefs.h
>>conftest.
$ac_ext
7599 cat >>conftest.
$ac_ext <<_ACEOF
7600 /* end confdefs.h. */
7601 $ac_includes_default
7602 #include <$ac_header>
7604 rm -f conftest.
$ac_objext
7605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7606 (eval $ac_compile) 2>conftest.er1
7608 grep -v '^ *+' conftest.er1
>conftest.err
7610 cat conftest.err
>&5
7611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7612 (exit $ac_status); } &&
7613 { ac_try
='test -z "$ac_c_werror_flag"
7614 || test ! -s conftest.err'
7615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619 (exit $ac_status); }; } &&
7620 { ac_try
='test -s conftest.$ac_objext'
7621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7625 (exit $ac_status); }; }; then
7626 ac_header_compiler
=yes
7628 echo "$as_me: failed program was:" >&5
7629 sed 's/^/| /' conftest.
$ac_ext >&5
7631 ac_header_compiler
=no
7633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7635 echo "${ECHO_T}$ac_header_compiler" >&6
7637 # Is the header present?
7638 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7640 cat >conftest.
$ac_ext <<_ACEOF
7643 cat confdefs.h
>>conftest.
$ac_ext
7644 cat >>conftest.
$ac_ext <<_ACEOF
7645 /* end confdefs.h. */
7646 #include <$ac_header>
7648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7649 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7651 grep -v '^ *+' conftest.er1
>conftest.err
7653 cat conftest.err
>&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } >/dev
/null
; then
7656 if test -s conftest.err
; then
7657 ac_cpp_err
=$ac_c_preproc_warn_flag
7658 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7665 if test -z "$ac_cpp_err"; then
7666 ac_header_preproc
=yes
7668 echo "$as_me: failed program was:" >&5
7669 sed 's/^/| /' conftest.
$ac_ext >&5
7671 ac_header_preproc
=no
7673 rm -f conftest.err conftest.
$ac_ext
7674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7675 echo "${ECHO_T}$ac_header_preproc" >&6
7677 # So? What about this header?
7678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7680 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7683 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7684 ac_header_preproc
=yes
7687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7691 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7692 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7693 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7694 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7697 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7698 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7701 ## ------------------------------------------ ##
7702 ## Report this to the AC_PACKAGE_NAME lists. ##
7703 ## ------------------------------------------ ##
7706 sed "s/^/$as_me: WARNING: /" >&2
7709 echo "$as_me:$LINENO: checking for $ac_header" >&5
7710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7712 echo $ECHO_N "(cached) $ECHO_C" >&6
7714 eval "$as_ac_Header=\$ac_header_preproc"
7716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7721 cat >>confdefs.h
<<_ACEOF
7722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7730 for ac_header
in stdlib.h
7732 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7734 echo "$as_me:$LINENO: checking for $ac_header" >&5
7735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7737 echo $ECHO_N "(cached) $ECHO_C" >&6
7739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7742 # Is the header compilable?
7743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7745 cat >conftest.
$ac_ext <<_ACEOF
7748 cat confdefs.h
>>conftest.
$ac_ext
7749 cat >>conftest.
$ac_ext <<_ACEOF
7750 /* end confdefs.h. */
7751 $ac_includes_default
7752 #include <$ac_header>
7754 rm -f conftest.
$ac_objext
7755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7756 (eval $ac_compile) 2>conftest.er1
7758 grep -v '^ *+' conftest.er1
>conftest.err
7760 cat conftest.err
>&5
7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); } &&
7763 { ac_try
='test -z "$ac_c_werror_flag"
7764 || test ! -s conftest.err'
7765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769 (exit $ac_status); }; } &&
7770 { ac_try
='test -s conftest.$ac_objext'
7771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); }; }; then
7776 ac_header_compiler
=yes
7778 echo "$as_me: failed program was:" >&5
7779 sed 's/^/| /' conftest.
$ac_ext >&5
7781 ac_header_compiler
=no
7783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7785 echo "${ECHO_T}$ac_header_compiler" >&6
7787 # Is the header present?
7788 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7790 cat >conftest.
$ac_ext <<_ACEOF
7793 cat confdefs.h
>>conftest.
$ac_ext
7794 cat >>conftest.
$ac_ext <<_ACEOF
7795 /* end confdefs.h. */
7796 #include <$ac_header>
7798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7799 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7801 grep -v '^ *+' conftest.er1
>conftest.err
7803 cat conftest.err
>&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } >/dev
/null
; then
7806 if test -s conftest.err
; then
7807 ac_cpp_err
=$ac_c_preproc_warn_flag
7808 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7815 if test -z "$ac_cpp_err"; then
7816 ac_header_preproc
=yes
7818 echo "$as_me: failed program was:" >&5
7819 sed 's/^/| /' conftest.
$ac_ext >&5
7821 ac_header_preproc
=no
7823 rm -f conftest.err conftest.
$ac_ext
7824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7825 echo "${ECHO_T}$ac_header_preproc" >&6
7827 # So? What about this header?
7828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7831 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7833 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7834 ac_header_preproc
=yes
7837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7841 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7842 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7843 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7844 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7847 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7848 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7851 ## ------------------------------------------ ##
7852 ## Report this to the AC_PACKAGE_NAME lists. ##
7853 ## ------------------------------------------ ##
7856 sed "s/^/$as_me: WARNING: /" >&2
7859 echo "$as_me:$LINENO: checking for $ac_header" >&5
7860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7862 echo $ECHO_N "(cached) $ECHO_C" >&6
7864 eval "$as_ac_Header=\$ac_header_preproc"
7866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7867 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_header" | $as_tr_cpp` 1
7880 for ac_header
in stdint.h
7882 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7884 echo "$as_me:$LINENO: checking for $ac_header" >&5
7885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7887 echo $ECHO_N "(cached) $ECHO_C" >&6
7889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7892 # Is the header compilable?
7893 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7895 cat >conftest.
$ac_ext <<_ACEOF
7898 cat confdefs.h
>>conftest.
$ac_ext
7899 cat >>conftest.
$ac_ext <<_ACEOF
7900 /* end confdefs.h. */
7901 $ac_includes_default
7902 #include <$ac_header>
7904 rm -f conftest.
$ac_objext
7905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7906 (eval $ac_compile) 2>conftest.er1
7908 grep -v '^ *+' conftest.er1
>conftest.err
7910 cat conftest.err
>&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); } &&
7913 { ac_try
='test -z "$ac_c_werror_flag"
7914 || test ! -s conftest.err'
7915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); }; } &&
7920 { ac_try
='test -s conftest.$ac_objext'
7921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); }; }; then
7926 ac_header_compiler
=yes
7928 echo "$as_me: failed program was:" >&5
7929 sed 's/^/| /' conftest.
$ac_ext >&5
7931 ac_header_compiler
=no
7933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7935 echo "${ECHO_T}$ac_header_compiler" >&6
7937 # Is the header present?
7938 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7940 cat >conftest.
$ac_ext <<_ACEOF
7943 cat confdefs.h
>>conftest.
$ac_ext
7944 cat >>conftest.
$ac_ext <<_ACEOF
7945 /* end confdefs.h. */
7946 #include <$ac_header>
7948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7949 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7951 grep -v '^ *+' conftest.er1
>conftest.err
7953 cat conftest.err
>&5
7954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); } >/dev
/null
; then
7956 if test -s conftest.err
; then
7957 ac_cpp_err
=$ac_c_preproc_warn_flag
7958 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7965 if test -z "$ac_cpp_err"; then
7966 ac_header_preproc
=yes
7968 echo "$as_me: failed program was:" >&5
7969 sed 's/^/| /' conftest.
$ac_ext >&5
7971 ac_header_preproc
=no
7973 rm -f conftest.err conftest.
$ac_ext
7974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7975 echo "${ECHO_T}$ac_header_preproc" >&6
7977 # So? What about this header?
7978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7984 ac_header_preproc
=yes
7987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8001 ## ------------------------------------------ ##
8002 ## Report this to the AC_PACKAGE_NAME lists. ##
8003 ## ------------------------------------------ ##
8006 sed "s/^/$as_me: WARNING: /" >&2
8009 echo "$as_me:$LINENO: checking for $ac_header" >&5
8010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8012 echo $ECHO_N "(cached) $ECHO_C" >&6
8014 eval "$as_ac_Header=\$ac_header_preproc"
8016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8021 cat >>confdefs.h
<<_ACEOF
8022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8032 for ac_header
in string.h memory.h
strings.h
8034 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8036 echo "$as_me:$LINENO: checking for $ac_header" >&5
8037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8039 echo $ECHO_N "(cached) $ECHO_C" >&6
8041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8044 # Is the header compilable?
8045 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8046 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8047 cat >conftest.
$ac_ext <<_ACEOF
8050 cat confdefs.h
>>conftest.
$ac_ext
8051 cat >>conftest.
$ac_ext <<_ACEOF
8052 /* end confdefs.h. */
8053 $ac_includes_default
8054 #include <$ac_header>
8056 rm -f conftest.
$ac_objext
8057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8058 (eval $ac_compile) 2>conftest.er1
8060 grep -v '^ *+' conftest.er1
>conftest.err
8062 cat conftest.err
>&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); } &&
8065 { ac_try
='test -z "$ac_c_werror_flag"
8066 || test ! -s conftest.err'
8067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); }; } &&
8072 { ac_try
='test -s conftest.$ac_objext'
8073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); }; }; then
8078 ac_header_compiler
=yes
8080 echo "$as_me: failed program was:" >&5
8081 sed 's/^/| /' conftest.
$ac_ext >&5
8083 ac_header_compiler
=no
8085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8087 echo "${ECHO_T}$ac_header_compiler" >&6
8089 # Is the header present?
8090 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8092 cat >conftest.
$ac_ext <<_ACEOF
8095 cat confdefs.h
>>conftest.
$ac_ext
8096 cat >>conftest.
$ac_ext <<_ACEOF
8097 /* end confdefs.h. */
8098 #include <$ac_header>
8100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8101 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8103 grep -v '^ *+' conftest.er1
>conftest.err
8105 cat conftest.err
>&5
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); } >/dev
/null
; then
8108 if test -s conftest.err
; then
8109 ac_cpp_err
=$ac_c_preproc_warn_flag
8110 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8117 if test -z "$ac_cpp_err"; then
8118 ac_header_preproc
=yes
8120 echo "$as_me: failed program was:" >&5
8121 sed 's/^/| /' conftest.
$ac_ext >&5
8123 ac_header_preproc
=no
8125 rm -f conftest.err conftest.
$ac_ext
8126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8127 echo "${ECHO_T}$ac_header_preproc" >&6
8129 # So? What about this header?
8130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8132 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8133 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8135 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8136 ac_header_preproc
=yes
8139 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8140 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8141 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8142 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8143 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8144 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8145 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8146 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8148 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8149 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8150 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8153 ## ------------------------------------------ ##
8154 ## Report this to the AC_PACKAGE_NAME lists. ##
8155 ## ------------------------------------------ ##
8158 sed "s/^/$as_me: WARNING: /" >&2
8161 echo "$as_me:$LINENO: checking for $ac_header" >&5
8162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8164 echo $ECHO_N "(cached) $ECHO_C" >&6
8166 eval "$as_ac_Header=\$ac_header_preproc"
8168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8173 cat >>confdefs.h
<<_ACEOF
8174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8182 for ac_header
in sys
/fault.h
8184 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8186 echo "$as_me:$LINENO: checking for $ac_header" >&5
8187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8189 echo $ECHO_N "(cached) $ECHO_C" >&6
8191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8194 # Is the header compilable?
8195 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8197 cat >conftest.
$ac_ext <<_ACEOF
8200 cat confdefs.h
>>conftest.
$ac_ext
8201 cat >>conftest.
$ac_ext <<_ACEOF
8202 /* end confdefs.h. */
8203 $ac_includes_default
8204 #include <$ac_header>
8206 rm -f conftest.
$ac_objext
8207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8208 (eval $ac_compile) 2>conftest.er1
8210 grep -v '^ *+' conftest.er1
>conftest.err
8212 cat conftest.err
>&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); } &&
8215 { ac_try
='test -z "$ac_c_werror_flag"
8216 || test ! -s conftest.err'
8217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); }; } &&
8222 { ac_try
='test -s conftest.$ac_objext'
8223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); }; }; then
8228 ac_header_compiler
=yes
8230 echo "$as_me: failed program was:" >&5
8231 sed 's/^/| /' conftest.
$ac_ext >&5
8233 ac_header_compiler
=no
8235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8237 echo "${ECHO_T}$ac_header_compiler" >&6
8239 # Is the header present?
8240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8242 cat >conftest.
$ac_ext <<_ACEOF
8245 cat confdefs.h
>>conftest.
$ac_ext
8246 cat >>conftest.
$ac_ext <<_ACEOF
8247 /* end confdefs.h. */
8248 #include <$ac_header>
8250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8251 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8253 grep -v '^ *+' conftest.er1
>conftest.err
8255 cat conftest.err
>&5
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); } >/dev
/null
; then
8258 if test -s conftest.err
; then
8259 ac_cpp_err
=$ac_c_preproc_warn_flag
8260 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8267 if test -z "$ac_cpp_err"; then
8268 ac_header_preproc
=yes
8270 echo "$as_me: failed program was:" >&5
8271 sed 's/^/| /' conftest.
$ac_ext >&5
8273 ac_header_preproc
=no
8275 rm -f conftest.err conftest.
$ac_ext
8276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8277 echo "${ECHO_T}$ac_header_preproc" >&6
8279 # So? What about this header?
8280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8286 ac_header_preproc
=yes
8289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8303 ## ------------------------------------------ ##
8304 ## Report this to the AC_PACKAGE_NAME lists. ##
8305 ## ------------------------------------------ ##
8308 sed "s/^/$as_me: WARNING: /" >&2
8311 echo "$as_me:$LINENO: checking for $ac_header" >&5
8312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8314 echo $ECHO_N "(cached) $ECHO_C" >&6
8316 eval "$as_ac_Header=\$ac_header_preproc"
8318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8323 cat >>confdefs.h
<<_ACEOF
8324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8332 for ac_header
in sys
/file.h
8334 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8336 echo "$as_me:$LINENO: checking for $ac_header" >&5
8337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8339 echo $ECHO_N "(cached) $ECHO_C" >&6
8341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8344 # Is the header compilable?
8345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8347 cat >conftest.
$ac_ext <<_ACEOF
8350 cat confdefs.h
>>conftest.
$ac_ext
8351 cat >>conftest.
$ac_ext <<_ACEOF
8352 /* end confdefs.h. */
8353 $ac_includes_default
8354 #include <$ac_header>
8356 rm -f conftest.
$ac_objext
8357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8358 (eval $ac_compile) 2>conftest.er1
8360 grep -v '^ *+' conftest.er1
>conftest.err
8362 cat conftest.err
>&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); } &&
8365 { ac_try
='test -z "$ac_c_werror_flag"
8366 || test ! -s conftest.err'
8367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); }; } &&
8372 { ac_try
='test -s conftest.$ac_objext'
8373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); }; }; then
8378 ac_header_compiler
=yes
8380 echo "$as_me: failed program was:" >&5
8381 sed 's/^/| /' conftest.
$ac_ext >&5
8383 ac_header_compiler
=no
8385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8387 echo "${ECHO_T}$ac_header_compiler" >&6
8389 # Is the header present?
8390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8392 cat >conftest.
$ac_ext <<_ACEOF
8395 cat confdefs.h
>>conftest.
$ac_ext
8396 cat >>conftest.
$ac_ext <<_ACEOF
8397 /* end confdefs.h. */
8398 #include <$ac_header>
8400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8403 grep -v '^ *+' conftest.er1
>conftest.err
8405 cat conftest.err
>&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); } >/dev
/null
; then
8408 if test -s conftest.err
; then
8409 ac_cpp_err
=$ac_c_preproc_warn_flag
8410 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8417 if test -z "$ac_cpp_err"; then
8418 ac_header_preproc
=yes
8420 echo "$as_me: failed program was:" >&5
8421 sed 's/^/| /' conftest.
$ac_ext >&5
8423 ac_header_preproc
=no
8425 rm -f conftest.err conftest.
$ac_ext
8426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8427 echo "${ECHO_T}$ac_header_preproc" >&6
8429 # So? What about this header?
8430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8436 ac_header_preproc
=yes
8439 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8441 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8442 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8443 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8445 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8446 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8449 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8453 ## ------------------------------------------ ##
8454 ## Report this to the AC_PACKAGE_NAME lists. ##
8455 ## ------------------------------------------ ##
8458 sed "s/^/$as_me: WARNING: /" >&2
8461 echo "$as_me:$LINENO: checking for $ac_header" >&5
8462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8464 echo $ECHO_N "(cached) $ECHO_C" >&6
8466 eval "$as_ac_Header=\$ac_header_preproc"
8468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8473 cat >>confdefs.h
<<_ACEOF
8474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8482 for ac_header
in sys
/filio.h
8484 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8486 echo "$as_me:$LINENO: checking for $ac_header" >&5
8487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8494 # Is the header compilable?
8495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8497 cat >conftest.
$ac_ext <<_ACEOF
8500 cat confdefs.h
>>conftest.
$ac_ext
8501 cat >>conftest.
$ac_ext <<_ACEOF
8502 /* end confdefs.h. */
8503 $ac_includes_default
8504 #include <$ac_header>
8506 rm -f conftest.
$ac_objext
8507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8508 (eval $ac_compile) 2>conftest.er1
8510 grep -v '^ *+' conftest.er1
>conftest.err
8512 cat conftest.err
>&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); } &&
8515 { ac_try
='test -z "$ac_c_werror_flag"
8516 || test ! -s conftest.err'
8517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); }; } &&
8522 { ac_try
='test -s conftest.$ac_objext'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; }; then
8528 ac_header_compiler
=yes
8530 echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.
$ac_ext >&5
8533 ac_header_compiler
=no
8535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8537 echo "${ECHO_T}$ac_header_compiler" >&6
8539 # Is the header present?
8540 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8542 cat >conftest.
$ac_ext <<_ACEOF
8545 cat confdefs.h
>>conftest.
$ac_ext
8546 cat >>conftest.
$ac_ext <<_ACEOF
8547 /* end confdefs.h. */
8548 #include <$ac_header>
8550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8551 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8553 grep -v '^ *+' conftest.er1
>conftest.err
8555 cat conftest.err
>&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); } >/dev
/null
; then
8558 if test -s conftest.err
; then
8559 ac_cpp_err
=$ac_c_preproc_warn_flag
8560 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8567 if test -z "$ac_cpp_err"; then
8568 ac_header_preproc
=yes
8570 echo "$as_me: failed program was:" >&5
8571 sed 's/^/| /' conftest.
$ac_ext >&5
8573 ac_header_preproc
=no
8575 rm -f conftest.err conftest.
$ac_ext
8576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8577 echo "${ECHO_T}$ac_header_preproc" >&6
8579 # So? What about this header?
8580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8586 ac_header_preproc
=yes
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8603 ## ------------------------------------------ ##
8604 ## Report this to the AC_PACKAGE_NAME lists. ##
8605 ## ------------------------------------------ ##
8608 sed "s/^/$as_me: WARNING: /" >&2
8611 echo "$as_me:$LINENO: checking for $ac_header" >&5
8612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8614 echo $ECHO_N "(cached) $ECHO_C" >&6
8616 eval "$as_ac_Header=\$ac_header_preproc"
8618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8623 cat >>confdefs.h
<<_ACEOF
8624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8632 for ac_header
in sys
/ioctl.h
8634 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8636 echo "$as_me:$LINENO: checking for $ac_header" >&5
8637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8639 echo $ECHO_N "(cached) $ECHO_C" >&6
8641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8644 # Is the header compilable?
8645 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8646 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8647 cat >conftest.
$ac_ext <<_ACEOF
8650 cat confdefs.h
>>conftest.
$ac_ext
8651 cat >>conftest.
$ac_ext <<_ACEOF
8652 /* end confdefs.h. */
8653 $ac_includes_default
8654 #include <$ac_header>
8656 rm -f conftest.
$ac_objext
8657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8658 (eval $ac_compile) 2>conftest.er1
8660 grep -v '^ *+' conftest.er1
>conftest.err
8662 cat conftest.err
>&5
8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8664 (exit $ac_status); } &&
8665 { ac_try
='test -z "$ac_c_werror_flag"
8666 || test ! -s conftest.err'
8667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 (exit $ac_status); }; } &&
8672 { ac_try
='test -s conftest.$ac_objext'
8673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677 (exit $ac_status); }; }; then
8678 ac_header_compiler
=yes
8680 echo "$as_me: failed program was:" >&5
8681 sed 's/^/| /' conftest.
$ac_ext >&5
8683 ac_header_compiler
=no
8685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8687 echo "${ECHO_T}$ac_header_compiler" >&6
8689 # Is the header present?
8690 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8691 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8692 cat >conftest.
$ac_ext <<_ACEOF
8695 cat confdefs.h
>>conftest.
$ac_ext
8696 cat >>conftest.
$ac_ext <<_ACEOF
8697 /* end confdefs.h. */
8698 #include <$ac_header>
8700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8701 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8703 grep -v '^ *+' conftest.er1
>conftest.err
8705 cat conftest.err
>&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); } >/dev
/null
; then
8708 if test -s conftest.err
; then
8709 ac_cpp_err
=$ac_c_preproc_warn_flag
8710 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8717 if test -z "$ac_cpp_err"; then
8718 ac_header_preproc
=yes
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.
$ac_ext >&5
8723 ac_header_preproc
=no
8725 rm -f conftest.err conftest.
$ac_ext
8726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8727 echo "${ECHO_T}$ac_header_preproc" >&6
8729 # So? What about this header?
8730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8732 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8733 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8735 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8736 ac_header_preproc
=yes
8739 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8740 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8741 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8742 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8743 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8744 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8745 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8746 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8749 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8750 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8753 ## ------------------------------------------ ##
8754 ## Report this to the AC_PACKAGE_NAME lists. ##
8755 ## ------------------------------------------ ##
8758 sed "s/^/$as_me: WARNING: /" >&2
8761 echo "$as_me:$LINENO: checking for $ac_header" >&5
8762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8764 echo $ECHO_N "(cached) $ECHO_C" >&6
8766 eval "$as_ac_Header=\$ac_header_preproc"
8768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8773 cat >>confdefs.h
<<_ACEOF
8774 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8782 for ac_header
in sys
/param.h
8784 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8786 echo "$as_me:$LINENO: checking for $ac_header" >&5
8787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8794 # Is the header compilable?
8795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8797 cat >conftest.
$ac_ext <<_ACEOF
8800 cat confdefs.h
>>conftest.
$ac_ext
8801 cat >>conftest.
$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8803 $ac_includes_default
8804 #include <$ac_header>
8806 rm -f conftest.
$ac_objext
8807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8808 (eval $ac_compile) 2>conftest.er1
8810 grep -v '^ *+' conftest.er1
>conftest.err
8812 cat conftest.err
>&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); } &&
8815 { ac_try
='test -z "$ac_c_werror_flag"
8816 || test ! -s conftest.err'
8817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); }; } &&
8822 { ac_try
='test -s conftest.$ac_objext'
8823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); }; }; then
8828 ac_header_compiler
=yes
8830 echo "$as_me: failed program was:" >&5
8831 sed 's/^/| /' conftest.
$ac_ext >&5
8833 ac_header_compiler
=no
8835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8837 echo "${ECHO_T}$ac_header_compiler" >&6
8839 # Is the header present?
8840 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8842 cat >conftest.
$ac_ext <<_ACEOF
8845 cat confdefs.h
>>conftest.
$ac_ext
8846 cat >>conftest.
$ac_ext <<_ACEOF
8847 /* end confdefs.h. */
8848 #include <$ac_header>
8850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8853 grep -v '^ *+' conftest.er1
>conftest.err
8855 cat conftest.err
>&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); } >/dev
/null
; then
8858 if test -s conftest.err
; then
8859 ac_cpp_err
=$ac_c_preproc_warn_flag
8860 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8867 if test -z "$ac_cpp_err"; then
8868 ac_header_preproc
=yes
8870 echo "$as_me: failed program was:" >&5
8871 sed 's/^/| /' conftest.
$ac_ext >&5
8873 ac_header_preproc
=no
8875 rm -f conftest.err conftest.
$ac_ext
8876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8877 echo "${ECHO_T}$ac_header_preproc" >&6
8879 # So? What about this header?
8880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8886 ac_header_preproc
=yes
8889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8893 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8895 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8896 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8899 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8903 ## ------------------------------------------ ##
8904 ## Report this to the AC_PACKAGE_NAME lists. ##
8905 ## ------------------------------------------ ##
8908 sed "s/^/$as_me: WARNING: /" >&2
8911 echo "$as_me:$LINENO: checking for $ac_header" >&5
8912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8914 echo $ECHO_N "(cached) $ECHO_C" >&6
8916 eval "$as_ac_Header=\$ac_header_preproc"
8918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8923 cat >>confdefs.h
<<_ACEOF
8924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8932 for ac_header
in sys
/proc.h
8934 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8935 echo "$as_me:$LINENO: checking for $ac_header" >&5
8936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8940 cat >conftest.
$ac_ext <<_ACEOF
8943 cat confdefs.h
>>conftest.
$ac_ext
8944 cat >>conftest.
$ac_ext <<_ACEOF
8945 /* end confdefs.h. */
8946 #if HAVE_SYS_PARAM_H
8947 # include <sys/param.h>
8951 #include <$ac_header>
8953 rm -f conftest.
$ac_objext
8954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8955 (eval $ac_compile) 2>conftest.er1
8957 grep -v '^ *+' conftest.er1
>conftest.err
8959 cat conftest.err
>&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } &&
8962 { ac_try
='test -z "$ac_c_werror_flag"
8963 || test ! -s conftest.err'
8964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); }; } &&
8969 { ac_try
='test -s conftest.$ac_objext'
8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); }; }; then
8975 eval "$as_ac_Header=yes"
8977 echo "$as_me: failed program was:" >&5
8978 sed 's/^/| /' conftest.
$ac_ext >&5
8980 eval "$as_ac_Header=no"
8982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8987 cat >>confdefs.h
<<_ACEOF
8988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8996 for ac_header
in sys
/procfs.h
8998 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9000 echo "$as_me:$LINENO: checking for $ac_header" >&5
9001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9003 echo $ECHO_N "(cached) $ECHO_C" >&6
9005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9008 # Is the header compilable?
9009 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9010 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9011 cat >conftest.
$ac_ext <<_ACEOF
9014 cat confdefs.h
>>conftest.
$ac_ext
9015 cat >>conftest.
$ac_ext <<_ACEOF
9016 /* end confdefs.h. */
9017 $ac_includes_default
9018 #include <$ac_header>
9020 rm -f conftest.
$ac_objext
9021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9022 (eval $ac_compile) 2>conftest.er1
9024 grep -v '^ *+' conftest.er1
>conftest.err
9026 cat conftest.err
>&5
9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 (exit $ac_status); } &&
9029 { ac_try
='test -z "$ac_c_werror_flag"
9030 || test ! -s conftest.err'
9031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 (exit $ac_status); }; } &&
9036 { ac_try
='test -s conftest.$ac_objext'
9037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9041 (exit $ac_status); }; }; then
9042 ac_header_compiler
=yes
9044 echo "$as_me: failed program was:" >&5
9045 sed 's/^/| /' conftest.
$ac_ext >&5
9047 ac_header_compiler
=no
9049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9050 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9051 echo "${ECHO_T}$ac_header_compiler" >&6
9053 # Is the header present?
9054 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9055 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9056 cat >conftest.
$ac_ext <<_ACEOF
9059 cat confdefs.h
>>conftest.
$ac_ext
9060 cat >>conftest.
$ac_ext <<_ACEOF
9061 /* end confdefs.h. */
9062 #include <$ac_header>
9064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9065 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9067 grep -v '^ *+' conftest.er1
>conftest.err
9069 cat conftest.err
>&5
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); } >/dev
/null
; then
9072 if test -s conftest.err
; then
9073 ac_cpp_err
=$ac_c_preproc_warn_flag
9074 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9081 if test -z "$ac_cpp_err"; then
9082 ac_header_preproc
=yes
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.
$ac_ext >&5
9087 ac_header_preproc
=no
9089 rm -f conftest.err conftest.
$ac_ext
9090 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9091 echo "${ECHO_T}$ac_header_preproc" >&6
9093 # So? What about this header?
9094 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9096 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9097 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9099 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9100 ac_header_preproc
=yes
9103 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9104 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9105 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9106 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9107 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9108 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9109 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9110 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9112 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9113 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9114 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9117 ## ------------------------------------------ ##
9118 ## Report this to the AC_PACKAGE_NAME lists. ##
9119 ## ------------------------------------------ ##
9122 sed "s/^/$as_me: WARNING: /" >&2
9125 echo "$as_me:$LINENO: checking for $ac_header" >&5
9126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9128 echo $ECHO_N "(cached) $ECHO_C" >&6
9130 eval "$as_ac_Header=\$ac_header_preproc"
9132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9137 cat >>confdefs.h
<<_ACEOF
9138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9147 for ac_header
in sys
/ptrace.h ptrace.h
9149 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9151 echo "$as_me:$LINENO: checking for $ac_header" >&5
9152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9154 echo $ECHO_N "(cached) $ECHO_C" >&6
9156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9159 # Is the header compilable?
9160 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9161 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9162 cat >conftest.
$ac_ext <<_ACEOF
9165 cat confdefs.h
>>conftest.
$ac_ext
9166 cat >>conftest.
$ac_ext <<_ACEOF
9167 /* end confdefs.h. */
9168 $ac_includes_default
9169 #include <$ac_header>
9171 rm -f conftest.
$ac_objext
9172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9173 (eval $ac_compile) 2>conftest.er1
9175 grep -v '^ *+' conftest.er1
>conftest.err
9177 cat conftest.err
>&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); } &&
9180 { ac_try
='test -z "$ac_c_werror_flag"
9181 || test ! -s conftest.err'
9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; } &&
9187 { ac_try
='test -s conftest.$ac_objext'
9188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); }; }; then
9193 ac_header_compiler
=yes
9195 echo "$as_me: failed program was:" >&5
9196 sed 's/^/| /' conftest.
$ac_ext >&5
9198 ac_header_compiler
=no
9200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9202 echo "${ECHO_T}$ac_header_compiler" >&6
9204 # Is the header present?
9205 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9206 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9207 cat >conftest.
$ac_ext <<_ACEOF
9210 cat confdefs.h
>>conftest.
$ac_ext
9211 cat >>conftest.
$ac_ext <<_ACEOF
9212 /* end confdefs.h. */
9213 #include <$ac_header>
9215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9218 grep -v '^ *+' conftest.er1
>conftest.err
9220 cat conftest.err
>&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); } >/dev
/null
; then
9223 if test -s conftest.err
; then
9224 ac_cpp_err
=$ac_c_preproc_warn_flag
9225 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9232 if test -z "$ac_cpp_err"; then
9233 ac_header_preproc
=yes
9235 echo "$as_me: failed program was:" >&5
9236 sed 's/^/| /' conftest.
$ac_ext >&5
9238 ac_header_preproc
=no
9240 rm -f conftest.err conftest.
$ac_ext
9241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9242 echo "${ECHO_T}$ac_header_preproc" >&6
9244 # So? What about this header?
9245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9247 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9248 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9250 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9251 ac_header_preproc
=yes
9254 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9255 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9256 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9257 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9258 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9259 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9260 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9261 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9264 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9265 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9268 ## ------------------------------------------ ##
9269 ## Report this to the AC_PACKAGE_NAME lists. ##
9270 ## ------------------------------------------ ##
9273 sed "s/^/$as_me: WARNING: /" >&2
9276 echo "$as_me:$LINENO: checking for $ac_header" >&5
9277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9279 echo $ECHO_N "(cached) $ECHO_C" >&6
9281 eval "$as_ac_Header=\$ac_header_preproc"
9283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9288 cat >>confdefs.h
<<_ACEOF
9289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9298 for ac_header
in sys
/reg.h sys
/debugreg.h
9300 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9302 echo "$as_me:$LINENO: checking for $ac_header" >&5
9303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9305 echo $ECHO_N "(cached) $ECHO_C" >&6
9307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9310 # Is the header compilable?
9311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9313 cat >conftest.
$ac_ext <<_ACEOF
9316 cat confdefs.h
>>conftest.
$ac_ext
9317 cat >>conftest.
$ac_ext <<_ACEOF
9318 /* end confdefs.h. */
9319 $ac_includes_default
9320 #include <$ac_header>
9322 rm -f conftest.
$ac_objext
9323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9324 (eval $ac_compile) 2>conftest.er1
9326 grep -v '^ *+' conftest.er1
>conftest.err
9328 cat conftest.err
>&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); } &&
9331 { ac_try
='test -z "$ac_c_werror_flag"
9332 || test ! -s conftest.err'
9333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); }; } &&
9338 { ac_try
='test -s conftest.$ac_objext'
9339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); }; }; then
9344 ac_header_compiler
=yes
9346 echo "$as_me: failed program was:" >&5
9347 sed 's/^/| /' conftest.
$ac_ext >&5
9349 ac_header_compiler
=no
9351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9353 echo "${ECHO_T}$ac_header_compiler" >&6
9355 # Is the header present?
9356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9358 cat >conftest.
$ac_ext <<_ACEOF
9361 cat confdefs.h
>>conftest.
$ac_ext
9362 cat >>conftest.
$ac_ext <<_ACEOF
9363 /* end confdefs.h. */
9364 #include <$ac_header>
9366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9369 grep -v '^ *+' conftest.er1
>conftest.err
9371 cat conftest.err
>&5
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); } >/dev
/null
; then
9374 if test -s conftest.err
; then
9375 ac_cpp_err
=$ac_c_preproc_warn_flag
9376 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9383 if test -z "$ac_cpp_err"; then
9384 ac_header_preproc
=yes
9386 echo "$as_me: failed program was:" >&5
9387 sed 's/^/| /' conftest.
$ac_ext >&5
9389 ac_header_preproc
=no
9391 rm -f conftest.err conftest.
$ac_ext
9392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9393 echo "${ECHO_T}$ac_header_preproc" >&6
9395 # So? What about this header?
9396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9398 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9401 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9402 ac_header_preproc
=yes
9405 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9406 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9407 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9408 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9409 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9410 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9411 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9412 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9415 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9416 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9419 ## ------------------------------------------ ##
9420 ## Report this to the AC_PACKAGE_NAME lists. ##
9421 ## ------------------------------------------ ##
9424 sed "s/^/$as_me: WARNING: /" >&2
9427 echo "$as_me:$LINENO: checking for $ac_header" >&5
9428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9430 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 eval "$as_ac_Header=\$ac_header_preproc"
9434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9439 cat >>confdefs.h
<<_ACEOF
9440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9448 for ac_header
in sys
/select.h
9450 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9452 echo "$as_me:$LINENO: checking for $ac_header" >&5
9453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9455 echo $ECHO_N "(cached) $ECHO_C" >&6
9457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9460 # Is the header compilable?
9461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9463 cat >conftest.
$ac_ext <<_ACEOF
9466 cat confdefs.h
>>conftest.
$ac_ext
9467 cat >>conftest.
$ac_ext <<_ACEOF
9468 /* end confdefs.h. */
9469 $ac_includes_default
9470 #include <$ac_header>
9472 rm -f conftest.
$ac_objext
9473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9474 (eval $ac_compile) 2>conftest.er1
9476 grep -v '^ *+' conftest.er1
>conftest.err
9478 cat conftest.err
>&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); } &&
9481 { ac_try
='test -z "$ac_c_werror_flag"
9482 || test ! -s conftest.err'
9483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 (exit $ac_status); }; } &&
9488 { ac_try
='test -s conftest.$ac_objext'
9489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493 (exit $ac_status); }; }; then
9494 ac_header_compiler
=yes
9496 echo "$as_me: failed program was:" >&5
9497 sed 's/^/| /' conftest.
$ac_ext >&5
9499 ac_header_compiler
=no
9501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9503 echo "${ECHO_T}$ac_header_compiler" >&6
9505 # Is the header present?
9506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9508 cat >conftest.
$ac_ext <<_ACEOF
9511 cat confdefs.h
>>conftest.
$ac_ext
9512 cat >>conftest.
$ac_ext <<_ACEOF
9513 /* end confdefs.h. */
9514 #include <$ac_header>
9516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9519 grep -v '^ *+' conftest.er1
>conftest.err
9521 cat conftest.err
>&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } >/dev
/null
; then
9524 if test -s conftest.err
; then
9525 ac_cpp_err
=$ac_c_preproc_warn_flag
9526 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9533 if test -z "$ac_cpp_err"; then
9534 ac_header_preproc
=yes
9536 echo "$as_me: failed program was:" >&5
9537 sed 's/^/| /' conftest.
$ac_ext >&5
9539 ac_header_preproc
=no
9541 rm -f conftest.err conftest.
$ac_ext
9542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9543 echo "${ECHO_T}$ac_header_preproc" >&6
9545 # So? What about this header?
9546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9552 ac_header_preproc
=yes
9555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9569 ## ------------------------------------------ ##
9570 ## Report this to the AC_PACKAGE_NAME lists. ##
9571 ## ------------------------------------------ ##
9574 sed "s/^/$as_me: WARNING: /" >&2
9577 echo "$as_me:$LINENO: checking for $ac_header" >&5
9578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9580 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 eval "$as_ac_Header=\$ac_header_preproc"
9584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9589 cat >>confdefs.h
<<_ACEOF
9590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9598 for ac_header
in sys
/syscall.h
9600 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9602 echo "$as_me:$LINENO: checking for $ac_header" >&5
9603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9605 echo $ECHO_N "(cached) $ECHO_C" >&6
9607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9610 # Is the header compilable?
9611 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9612 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9613 cat >conftest.
$ac_ext <<_ACEOF
9616 cat confdefs.h
>>conftest.
$ac_ext
9617 cat >>conftest.
$ac_ext <<_ACEOF
9618 /* end confdefs.h. */
9619 $ac_includes_default
9620 #include <$ac_header>
9622 rm -f conftest.
$ac_objext
9623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9624 (eval $ac_compile) 2>conftest.er1
9626 grep -v '^ *+' conftest.er1
>conftest.err
9628 cat conftest.err
>&5
9629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630 (exit $ac_status); } &&
9631 { ac_try
='test -z "$ac_c_werror_flag"
9632 || test ! -s conftest.err'
9633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 (exit $ac_status); }; } &&
9638 { ac_try
='test -s conftest.$ac_objext'
9639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); }; }; then
9644 ac_header_compiler
=yes
9646 echo "$as_me: failed program was:" >&5
9647 sed 's/^/| /' conftest.
$ac_ext >&5
9649 ac_header_compiler
=no
9651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9653 echo "${ECHO_T}$ac_header_compiler" >&6
9655 # Is the header present?
9656 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9658 cat >conftest.
$ac_ext <<_ACEOF
9661 cat confdefs.h
>>conftest.
$ac_ext
9662 cat >>conftest.
$ac_ext <<_ACEOF
9663 /* end confdefs.h. */
9664 #include <$ac_header>
9666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9667 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9669 grep -v '^ *+' conftest.er1
>conftest.err
9671 cat conftest.err
>&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); } >/dev
/null
; then
9674 if test -s conftest.err
; then
9675 ac_cpp_err
=$ac_c_preproc_warn_flag
9676 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9683 if test -z "$ac_cpp_err"; then
9684 ac_header_preproc
=yes
9686 echo "$as_me: failed program was:" >&5
9687 sed 's/^/| /' conftest.
$ac_ext >&5
9689 ac_header_preproc
=no
9691 rm -f conftest.err conftest.
$ac_ext
9692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9693 echo "${ECHO_T}$ac_header_preproc" >&6
9695 # So? What about this header?
9696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9701 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9702 ac_header_preproc
=yes
9705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9709 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9710 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9711 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9712 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9715 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9719 ## ------------------------------------------ ##
9720 ## Report this to the AC_PACKAGE_NAME lists. ##
9721 ## ------------------------------------------ ##
9724 sed "s/^/$as_me: WARNING: /" >&2
9727 echo "$as_me:$LINENO: checking for $ac_header" >&5
9728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9730 echo $ECHO_N "(cached) $ECHO_C" >&6
9732 eval "$as_ac_Header=\$ac_header_preproc"
9734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9739 cat >>confdefs.h
<<_ACEOF
9740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9748 for ac_header
in sys
/types.h
9750 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9752 echo "$as_me:$LINENO: checking for $ac_header" >&5
9753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9755 echo $ECHO_N "(cached) $ECHO_C" >&6
9757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9760 # Is the header compilable?
9761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9763 cat >conftest.
$ac_ext <<_ACEOF
9766 cat confdefs.h
>>conftest.
$ac_ext
9767 cat >>conftest.
$ac_ext <<_ACEOF
9768 /* end confdefs.h. */
9769 $ac_includes_default
9770 #include <$ac_header>
9772 rm -f conftest.
$ac_objext
9773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9774 (eval $ac_compile) 2>conftest.er1
9776 grep -v '^ *+' conftest.er1
>conftest.err
9778 cat conftest.err
>&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); } &&
9781 { ac_try
='test -z "$ac_c_werror_flag"
9782 || test ! -s conftest.err'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); }; } &&
9788 { ac_try
='test -s conftest.$ac_objext'
9789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); }; }; then
9794 ac_header_compiler
=yes
9796 echo "$as_me: failed program was:" >&5
9797 sed 's/^/| /' conftest.
$ac_ext >&5
9799 ac_header_compiler
=no
9801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9803 echo "${ECHO_T}$ac_header_compiler" >&6
9805 # Is the header present?
9806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9808 cat >conftest.
$ac_ext <<_ACEOF
9811 cat confdefs.h
>>conftest.
$ac_ext
9812 cat >>conftest.
$ac_ext <<_ACEOF
9813 /* end confdefs.h. */
9814 #include <$ac_header>
9816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9817 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9819 grep -v '^ *+' conftest.er1
>conftest.err
9821 cat conftest.err
>&5
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); } >/dev
/null
; then
9824 if test -s conftest.err
; then
9825 ac_cpp_err
=$ac_c_preproc_warn_flag
9826 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9833 if test -z "$ac_cpp_err"; then
9834 ac_header_preproc
=yes
9836 echo "$as_me: failed program was:" >&5
9837 sed 's/^/| /' conftest.
$ac_ext >&5
9839 ac_header_preproc
=no
9841 rm -f conftest.err conftest.
$ac_ext
9842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9843 echo "${ECHO_T}$ac_header_preproc" >&6
9845 # So? What about this header?
9846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9851 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9852 ac_header_preproc
=yes
9855 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9856 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9857 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9858 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9859 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9860 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9861 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9862 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9865 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9866 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9869 ## ------------------------------------------ ##
9870 ## Report this to the AC_PACKAGE_NAME lists. ##
9871 ## ------------------------------------------ ##
9874 sed "s/^/$as_me: WARNING: /" >&2
9877 echo "$as_me:$LINENO: checking for $ac_header" >&5
9878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9880 echo $ECHO_N "(cached) $ECHO_C" >&6
9882 eval "$as_ac_Header=\$ac_header_preproc"
9884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9889 cat >>confdefs.h
<<_ACEOF
9890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9898 for ac_header
in sys
/user.h
9900 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9901 echo "$as_me:$LINENO: checking for $ac_header" >&5
9902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9904 echo $ECHO_N "(cached) $ECHO_C" >&6
9906 cat >conftest.
$ac_ext <<_ACEOF
9909 cat confdefs.h
>>conftest.
$ac_ext
9910 cat >>conftest.
$ac_ext <<_ACEOF
9911 /* end confdefs.h. */
9912 #if HAVE_SYS_PARAM_H
9913 # include <sys/param.h>
9917 #include <$ac_header>
9919 rm -f conftest.
$ac_objext
9920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9921 (eval $ac_compile) 2>conftest.er1
9923 grep -v '^ *+' conftest.er1
>conftest.err
9925 cat conftest.err
>&5
9926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9927 (exit $ac_status); } &&
9928 { ac_try
='test -z "$ac_c_werror_flag"
9929 || test ! -s conftest.err'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; } &&
9935 { ac_try
='test -s conftest.$ac_objext'
9936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); }; }; then
9941 eval "$as_ac_Header=yes"
9943 echo "$as_me: failed program was:" >&5
9944 sed 's/^/| /' conftest.
$ac_ext >&5
9946 eval "$as_ac_Header=no"
9948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9953 cat >>confdefs.h
<<_ACEOF
9954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9963 for ac_header
in sys
/wait.h
wait.h
9965 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9967 echo "$as_me:$LINENO: checking for $ac_header" >&5
9968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9970 echo $ECHO_N "(cached) $ECHO_C" >&6
9972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9975 # Is the header compilable?
9976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9978 cat >conftest.
$ac_ext <<_ACEOF
9981 cat confdefs.h
>>conftest.
$ac_ext
9982 cat >>conftest.
$ac_ext <<_ACEOF
9983 /* end confdefs.h. */
9984 $ac_includes_default
9985 #include <$ac_header>
9987 rm -f conftest.
$ac_objext
9988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9989 (eval $ac_compile) 2>conftest.er1
9991 grep -v '^ *+' conftest.er1
>conftest.err
9993 cat conftest.err
>&5
9994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 (exit $ac_status); } &&
9996 { ac_try
='test -z "$ac_c_werror_flag"
9997 || test ! -s conftest.err'
9998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); }; } &&
10003 { ac_try
='test -s conftest.$ac_objext'
10004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10005 (eval $ac_try) 2>&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); }; }; then
10009 ac_header_compiler
=yes
10011 echo "$as_me: failed program was:" >&5
10012 sed 's/^/| /' conftest.
$ac_ext >&5
10014 ac_header_compiler
=no
10016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10018 echo "${ECHO_T}$ac_header_compiler" >&6
10020 # Is the header present?
10021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10023 cat >conftest.
$ac_ext <<_ACEOF
10026 cat confdefs.h
>>conftest.
$ac_ext
10027 cat >>conftest.
$ac_ext <<_ACEOF
10028 /* end confdefs.h. */
10029 #include <$ac_header>
10031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10034 grep -v '^ *+' conftest.er1
>conftest.err
10036 cat conftest.err
>&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); } >/dev
/null
; then
10039 if test -s conftest.err
; then
10040 ac_cpp_err
=$ac_c_preproc_warn_flag
10041 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10048 if test -z "$ac_cpp_err"; then
10049 ac_header_preproc
=yes
10051 echo "$as_me: failed program was:" >&5
10052 sed 's/^/| /' conftest.
$ac_ext >&5
10054 ac_header_preproc
=no
10056 rm -f conftest.err conftest.
$ac_ext
10057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10058 echo "${ECHO_T}$ac_header_preproc" >&6
10060 # So? What about this header?
10061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10067 ac_header_preproc
=yes
10070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10084 ## ------------------------------------------ ##
10085 ## Report this to the AC_PACKAGE_NAME lists. ##
10086 ## ------------------------------------------ ##
10089 sed "s/^/$as_me: WARNING: /" >&2
10092 echo "$as_me:$LINENO: checking for $ac_header" >&5
10093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10095 echo $ECHO_N "(cached) $ECHO_C" >&6
10097 eval "$as_ac_Header=\$ac_header_preproc"
10099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10104 cat >>confdefs.h
<<_ACEOF
10105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10115 for ac_header
in termios.h termio.h sgtty.h
10117 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10119 echo "$as_me:$LINENO: checking for $ac_header" >&5
10120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10122 echo $ECHO_N "(cached) $ECHO_C" >&6
10124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10127 # Is the header compilable?
10128 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10129 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10130 cat >conftest.
$ac_ext <<_ACEOF
10133 cat confdefs.h
>>conftest.
$ac_ext
10134 cat >>conftest.
$ac_ext <<_ACEOF
10135 /* end confdefs.h. */
10136 $ac_includes_default
10137 #include <$ac_header>
10139 rm -f conftest.
$ac_objext
10140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10141 (eval $ac_compile) 2>conftest.er1
10143 grep -v '^ *+' conftest.er1
>conftest.err
10145 cat conftest.err
>&5
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); } &&
10148 { ac_try
='test -z "$ac_c_werror_flag"
10149 || test ! -s conftest.err'
10150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10151 (eval $ac_try) 2>&5
10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154 (exit $ac_status); }; } &&
10155 { ac_try
='test -s conftest.$ac_objext'
10156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10157 (eval $ac_try) 2>&5
10159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160 (exit $ac_status); }; }; then
10161 ac_header_compiler
=yes
10163 echo "$as_me: failed program was:" >&5
10164 sed 's/^/| /' conftest.
$ac_ext >&5
10166 ac_header_compiler
=no
10168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10170 echo "${ECHO_T}$ac_header_compiler" >&6
10172 # Is the header present?
10173 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10174 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10175 cat >conftest.
$ac_ext <<_ACEOF
10178 cat confdefs.h
>>conftest.
$ac_ext
10179 cat >>conftest.
$ac_ext <<_ACEOF
10180 /* end confdefs.h. */
10181 #include <$ac_header>
10183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10184 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10186 grep -v '^ *+' conftest.er1
>conftest.err
10188 cat conftest.err
>&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); } >/dev
/null
; then
10191 if test -s conftest.err
; then
10192 ac_cpp_err
=$ac_c_preproc_warn_flag
10193 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10200 if test -z "$ac_cpp_err"; then
10201 ac_header_preproc
=yes
10203 echo "$as_me: failed program was:" >&5
10204 sed 's/^/| /' conftest.
$ac_ext >&5
10206 ac_header_preproc
=no
10208 rm -f conftest.err conftest.
$ac_ext
10209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10210 echo "${ECHO_T}$ac_header_preproc" >&6
10212 # So? What about this header?
10213 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10215 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10216 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10218 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10219 ac_header_preproc
=yes
10222 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10223 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10224 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10225 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10226 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10227 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10228 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10229 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10231 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10232 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10233 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10236 ## ------------------------------------------ ##
10237 ## Report this to the AC_PACKAGE_NAME lists. ##
10238 ## ------------------------------------------ ##
10241 sed "s/^/$as_me: WARNING: /" >&2
10244 echo "$as_me:$LINENO: checking for $ac_header" >&5
10245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10247 echo $ECHO_N "(cached) $ECHO_C" >&6
10249 eval "$as_ac_Header=\$ac_header_preproc"
10251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10256 cat >>confdefs.h
<<_ACEOF
10257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10265 for ac_header
in unistd.h
10267 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10269 echo "$as_me:$LINENO: checking for $ac_header" >&5
10270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10272 echo $ECHO_N "(cached) $ECHO_C" >&6
10274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10277 # Is the header compilable?
10278 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10279 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10280 cat >conftest.
$ac_ext <<_ACEOF
10283 cat confdefs.h
>>conftest.
$ac_ext
10284 cat >>conftest.
$ac_ext <<_ACEOF
10285 /* end confdefs.h. */
10286 $ac_includes_default
10287 #include <$ac_header>
10289 rm -f conftest.
$ac_objext
10290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10291 (eval $ac_compile) 2>conftest.er1
10293 grep -v '^ *+' conftest.er1
>conftest.err
10295 cat conftest.err
>&5
10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); } &&
10298 { ac_try
='test -z "$ac_c_werror_flag"
10299 || test ! -s conftest.err'
10300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10301 (eval $ac_try) 2>&5
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); }; } &&
10305 { ac_try
='test -s conftest.$ac_objext'
10306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307 (eval $ac_try) 2>&5
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); }; }; then
10311 ac_header_compiler
=yes
10313 echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.
$ac_ext >&5
10316 ac_header_compiler
=no
10318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10319 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10320 echo "${ECHO_T}$ac_header_compiler" >&6
10322 # Is the header present?
10323 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10324 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10325 cat >conftest.
$ac_ext <<_ACEOF
10328 cat confdefs.h
>>conftest.
$ac_ext
10329 cat >>conftest.
$ac_ext <<_ACEOF
10330 /* end confdefs.h. */
10331 #include <$ac_header>
10333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10334 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10336 grep -v '^ *+' conftest.er1
>conftest.err
10338 cat conftest.err
>&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); } >/dev
/null
; then
10341 if test -s conftest.err
; then
10342 ac_cpp_err
=$ac_c_preproc_warn_flag
10343 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10350 if test -z "$ac_cpp_err"; then
10351 ac_header_preproc
=yes
10353 echo "$as_me: failed program was:" >&5
10354 sed 's/^/| /' conftest.
$ac_ext >&5
10356 ac_header_preproc
=no
10358 rm -f conftest.err conftest.
$ac_ext
10359 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10360 echo "${ECHO_T}$ac_header_preproc" >&6
10362 # So? What about this header?
10363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10365 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10366 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10368 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10369 ac_header_preproc
=yes
10372 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10374 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10376 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10377 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10378 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10379 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10381 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10382 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10383 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10386 ## ------------------------------------------ ##
10387 ## Report this to the AC_PACKAGE_NAME lists. ##
10388 ## ------------------------------------------ ##
10391 sed "s/^/$as_me: WARNING: /" >&2
10394 echo "$as_me:$LINENO: checking for $ac_header" >&5
10395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10397 echo $ECHO_N "(cached) $ECHO_C" >&6
10399 eval "$as_ac_Header=\$ac_header_preproc"
10401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10406 cat >>confdefs.h
<<_ACEOF
10407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10415 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
10416 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
10417 # think that we don't have <curses.h> if we're using GCC.
10420 if test "$GCC" = yes; then
10422 cat >>confdefs.h
<<\_ACEOF
10423 #define _MSE_INT_H 1
10432 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
10434 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10436 echo "$as_me:$LINENO: checking for $ac_header" >&5
10437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10439 echo $ECHO_N "(cached) $ECHO_C" >&6
10441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10444 # Is the header compilable?
10445 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10447 cat >conftest.
$ac_ext <<_ACEOF
10450 cat confdefs.h
>>conftest.
$ac_ext
10451 cat >>conftest.
$ac_ext <<_ACEOF
10452 /* end confdefs.h. */
10453 $ac_includes_default
10454 #include <$ac_header>
10456 rm -f conftest.
$ac_objext
10457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10458 (eval $ac_compile) 2>conftest.er1
10460 grep -v '^ *+' conftest.er1
>conftest.err
10462 cat conftest.err
>&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); } &&
10465 { ac_try
='test -z "$ac_c_werror_flag"
10466 || test ! -s conftest.err'
10467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10468 (eval $ac_try) 2>&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); }; } &&
10472 { ac_try
='test -s conftest.$ac_objext'
10473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10474 (eval $ac_try) 2>&5
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 (exit $ac_status); }; }; then
10478 ac_header_compiler
=yes
10480 echo "$as_me: failed program was:" >&5
10481 sed 's/^/| /' conftest.
$ac_ext >&5
10483 ac_header_compiler
=no
10485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10487 echo "${ECHO_T}$ac_header_compiler" >&6
10489 # Is the header present?
10490 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10492 cat >conftest.
$ac_ext <<_ACEOF
10495 cat confdefs.h
>>conftest.
$ac_ext
10496 cat >>conftest.
$ac_ext <<_ACEOF
10497 /* end confdefs.h. */
10498 #include <$ac_header>
10500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10503 grep -v '^ *+' conftest.er1
>conftest.err
10505 cat conftest.err
>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); } >/dev
/null
; then
10508 if test -s conftest.err
; then
10509 ac_cpp_err
=$ac_c_preproc_warn_flag
10510 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10517 if test -z "$ac_cpp_err"; then
10518 ac_header_preproc
=yes
10520 echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.
$ac_ext >&5
10523 ac_header_preproc
=no
10525 rm -f conftest.err conftest.
$ac_ext
10526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10527 echo "${ECHO_T}$ac_header_preproc" >&6
10529 # So? What about this header?
10530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10533 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10535 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10536 ac_header_preproc
=yes
10539 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10540 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10541 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10542 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10543 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10544 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10545 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10546 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10548 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10549 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10550 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10553 ## ------------------------------------------ ##
10554 ## Report this to the AC_PACKAGE_NAME lists. ##
10555 ## ------------------------------------------ ##
10558 sed "s/^/$as_me: WARNING: /" >&2
10561 echo "$as_me:$LINENO: checking for $ac_header" >&5
10562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10564 echo $ECHO_N "(cached) $ECHO_C" >&6
10566 eval "$as_ac_Header=\$ac_header_preproc"
10568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10573 cat >>confdefs.h
<<_ACEOF
10574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10582 for ac_header
in ncurses
/term.h
10584 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10586 echo "$as_me:$LINENO: checking for $ac_header" >&5
10587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10589 echo $ECHO_N "(cached) $ECHO_C" >&6
10591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10594 # Is the header compilable?
10595 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10596 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10597 cat >conftest.
$ac_ext <<_ACEOF
10600 cat confdefs.h
>>conftest.
$ac_ext
10601 cat >>conftest.
$ac_ext <<_ACEOF
10602 /* end confdefs.h. */
10603 $ac_includes_default
10604 #include <$ac_header>
10606 rm -f conftest.
$ac_objext
10607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10608 (eval $ac_compile) 2>conftest.er1
10610 grep -v '^ *+' conftest.er1
>conftest.err
10612 cat conftest.err
>&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); } &&
10615 { ac_try
='test -z "$ac_c_werror_flag"
10616 || test ! -s conftest.err'
10617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10618 (eval $ac_try) 2>&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); }; } &&
10622 { ac_try
='test -s conftest.$ac_objext'
10623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10624 (eval $ac_try) 2>&5
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); }; }; then
10628 ac_header_compiler
=yes
10630 echo "$as_me: failed program was:" >&5
10631 sed 's/^/| /' conftest.
$ac_ext >&5
10633 ac_header_compiler
=no
10635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10637 echo "${ECHO_T}$ac_header_compiler" >&6
10639 # Is the header present?
10640 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10641 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10642 cat >conftest.
$ac_ext <<_ACEOF
10645 cat confdefs.h
>>conftest.
$ac_ext
10646 cat >>conftest.
$ac_ext <<_ACEOF
10647 /* end confdefs.h. */
10648 #include <$ac_header>
10650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10651 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10653 grep -v '^ *+' conftest.er1
>conftest.err
10655 cat conftest.err
>&5
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); } >/dev
/null
; then
10658 if test -s conftest.err
; then
10659 ac_cpp_err
=$ac_c_preproc_warn_flag
10660 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10667 if test -z "$ac_cpp_err"; then
10668 ac_header_preproc
=yes
10670 echo "$as_me: failed program was:" >&5
10671 sed 's/^/| /' conftest.
$ac_ext >&5
10673 ac_header_preproc
=no
10675 rm -f conftest.err conftest.
$ac_ext
10676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10677 echo "${ECHO_T}$ac_header_preproc" >&6
10679 # So? What about this header?
10680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10682 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10683 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10685 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10686 ac_header_preproc
=yes
10689 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10690 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10691 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10692 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10693 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10694 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10695 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10696 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10698 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10699 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10700 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10703 ## ------------------------------------------ ##
10704 ## Report this to the AC_PACKAGE_NAME lists. ##
10705 ## ------------------------------------------ ##
10708 sed "s/^/$as_me: WARNING: /" >&2
10711 echo "$as_me:$LINENO: checking for $ac_header" >&5
10712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10716 eval "$as_ac_Header=\$ac_header_preproc"
10718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10722 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10723 cat >>confdefs.h
<<_ACEOF
10724 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10732 for ac_header
in term.h
10734 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10735 echo "$as_me:$LINENO: checking for $ac_header" >&5
10736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10738 echo $ECHO_N "(cached) $ECHO_C" >&6
10740 cat >conftest.
$ac_ext <<_ACEOF
10743 cat confdefs.h
>>conftest.
$ac_ext
10744 cat >>conftest.
$ac_ext <<_ACEOF
10745 /* end confdefs.h. */
10747 # include <curses.h>
10751 #include <$ac_header>
10753 rm -f conftest.
$ac_objext
10754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10755 (eval $ac_compile) 2>conftest.er1
10757 grep -v '^ *+' conftest.er1
>conftest.err
10759 cat conftest.err
>&5
10760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761 (exit $ac_status); } &&
10762 { ac_try
='test -z "$ac_c_werror_flag"
10763 || test ! -s conftest.err'
10764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10765 (eval $ac_try) 2>&5
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); }; } &&
10769 { ac_try
='test -s conftest.$ac_objext'
10770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); }; }; then
10775 eval "$as_ac_Header=yes"
10777 echo "$as_me: failed program was:" >&5
10778 sed 's/^/| /' conftest.
$ac_ext >&5
10780 eval "$as_ac_Header=no"
10782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10787 cat >>confdefs.h
<<_ACEOF
10788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10796 # FIXME: kettenis/20030102: In most cases we include these
10797 # unconditionally, so what's the point in checking these?
10800 for ac_header
in ctype.h
time.h
10802 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10804 echo "$as_me:$LINENO: checking for $ac_header" >&5
10805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10812 # Is the header compilable?
10813 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10814 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10815 cat >conftest.
$ac_ext <<_ACEOF
10818 cat confdefs.h
>>conftest.
$ac_ext
10819 cat >>conftest.
$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10821 $ac_includes_default
10822 #include <$ac_header>
10824 rm -f conftest.
$ac_objext
10825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10826 (eval $ac_compile) 2>conftest.er1
10828 grep -v '^ *+' conftest.er1
>conftest.err
10830 cat conftest.err
>&5
10831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10832 (exit $ac_status); } &&
10833 { ac_try
='test -z "$ac_c_werror_flag"
10834 || test ! -s conftest.err'
10835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10836 (eval $ac_try) 2>&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); }; } &&
10840 { ac_try
='test -s conftest.$ac_objext'
10841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10842 (eval $ac_try) 2>&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); }; }; then
10846 ac_header_compiler
=yes
10848 echo "$as_me: failed program was:" >&5
10849 sed 's/^/| /' conftest.
$ac_ext >&5
10851 ac_header_compiler
=no
10853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10855 echo "${ECHO_T}$ac_header_compiler" >&6
10857 # Is the header present?
10858 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10860 cat >conftest.
$ac_ext <<_ACEOF
10863 cat confdefs.h
>>conftest.
$ac_ext
10864 cat >>conftest.
$ac_ext <<_ACEOF
10865 /* end confdefs.h. */
10866 #include <$ac_header>
10868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10869 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10871 grep -v '^ *+' conftest.er1
>conftest.err
10873 cat conftest.err
>&5
10874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875 (exit $ac_status); } >/dev
/null
; then
10876 if test -s conftest.err
; then
10877 ac_cpp_err
=$ac_c_preproc_warn_flag
10878 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10885 if test -z "$ac_cpp_err"; then
10886 ac_header_preproc
=yes
10888 echo "$as_me: failed program was:" >&5
10889 sed 's/^/| /' conftest.
$ac_ext >&5
10891 ac_header_preproc
=no
10893 rm -f conftest.err conftest.
$ac_ext
10894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10895 echo "${ECHO_T}$ac_header_preproc" >&6
10897 # So? What about this header?
10898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10903 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10904 ac_header_preproc
=yes
10907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10911 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10912 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10913 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10914 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10917 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10918 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10921 ## ------------------------------------------ ##
10922 ## Report this to the AC_PACKAGE_NAME lists. ##
10923 ## ------------------------------------------ ##
10926 sed "s/^/$as_me: WARNING: /" >&2
10929 echo "$as_me:$LINENO: checking for $ac_header" >&5
10930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10934 eval "$as_ac_Header=\$ac_header_preproc"
10936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10941 cat >>confdefs.h
<<_ACEOF
10942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10950 # Create a header we can use portably to get the standard integer types.
10953 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
10955 acx_cv_header_stdint
=stddef.h
10956 acx_cv_header_stdint_kind
="(already complete)"
10957 for i
in stdint.h
$inttype_headers; do
10958 unset ac_cv_type_uintptr_t
10959 unset ac_cv_type_uintmax_t
10960 unset ac_cv_type_int_least32_t
10961 unset ac_cv_type_int_fast32_t
10962 unset ac_cv_type_uint64_t
10963 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
10964 echo "$as_me:$LINENO: checking for uintmax_t" >&5
10965 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
10966 if test "${ac_cv_type_uintmax_t+set}" = set; then
10967 echo $ECHO_N "(cached) $ECHO_C" >&6
10969 cat >conftest.
$ac_ext <<_ACEOF
10972 cat confdefs.h
>>conftest.
$ac_ext
10973 cat >>conftest.
$ac_ext <<_ACEOF
10974 /* end confdefs.h. */
10975 #include <sys/types.h>
10981 if ((uintmax_t *) 0)
10983 if (sizeof (uintmax_t))
10989 rm -f conftest.
$ac_objext
10990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10991 (eval $ac_compile) 2>conftest.er1
10993 grep -v '^ *+' conftest.er1
>conftest.err
10995 cat conftest.err
>&5
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); } &&
10998 { ac_try
='test -z "$ac_c_werror_flag"
10999 || test ! -s conftest.err'
11000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11001 (eval $ac_try) 2>&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); }; } &&
11005 { ac_try
='test -s conftest.$ac_objext'
11006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11007 (eval $ac_try) 2>&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); }; }; then
11011 ac_cv_type_uintmax_t
=yes
11013 echo "$as_me: failed program was:" >&5
11014 sed 's/^/| /' conftest.
$ac_ext >&5
11016 ac_cv_type_uintmax_t
=no
11018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11020 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
11021 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
11022 if test $ac_cv_type_uintmax_t = yes; then
11023 acx_cv_header_stdint
=$i
11028 echo "$as_me:$LINENO: checking for uintptr_t" >&5
11029 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
11030 if test "${ac_cv_type_uintptr_t+set}" = set; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 cat >conftest.
$ac_ext <<_ACEOF
11036 cat confdefs.h
>>conftest.
$ac_ext
11037 cat >>conftest.
$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11039 #include <sys/types.h>
11045 if ((uintptr_t *) 0)
11047 if (sizeof (uintptr_t))
11053 rm -f conftest.
$ac_objext
11054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11055 (eval $ac_compile) 2>conftest.er1
11057 grep -v '^ *+' conftest.er1
>conftest.err
11059 cat conftest.err
>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); } &&
11062 { ac_try
='test -z "$ac_c_werror_flag"
11063 || test ! -s conftest.err'
11064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 (eval $ac_try) 2>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); }; } &&
11069 { ac_try
='test -s conftest.$ac_objext'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; }; then
11075 ac_cv_type_uintptr_t
=yes
11077 echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.
$ac_ext >&5
11080 ac_cv_type_uintptr_t
=no
11082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11084 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11085 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
11086 if test $ac_cv_type_uintptr_t = yes; then
11089 acx_cv_header_stdint_kind
="(mostly complete)"
11092 echo "$as_me:$LINENO: checking for int_least32_t" >&5
11093 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
11094 if test "${ac_cv_type_int_least32_t+set}" = set; then
11095 echo $ECHO_N "(cached) $ECHO_C" >&6
11097 cat >conftest.
$ac_ext <<_ACEOF
11100 cat confdefs.h
>>conftest.
$ac_ext
11101 cat >>conftest.
$ac_ext <<_ACEOF
11102 /* end confdefs.h. */
11103 #include <sys/types.h>
11109 if ((int_least32_t *) 0)
11111 if (sizeof (int_least32_t))
11117 rm -f conftest.
$ac_objext
11118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119 (eval $ac_compile) 2>conftest.er1
11121 grep -v '^ *+' conftest.er1
>conftest.err
11123 cat conftest.err
>&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); } &&
11126 { ac_try
='test -z "$ac_c_werror_flag"
11127 || test ! -s conftest.err'
11128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129 (eval $ac_try) 2>&5
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); }; } &&
11133 { ac_try
='test -s conftest.$ac_objext'
11134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11135 (eval $ac_try) 2>&5
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; }; then
11139 ac_cv_type_int_least32_t
=yes
11141 echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.
$ac_ext >&5
11144 ac_cv_type_int_least32_t
=no
11146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11148 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
11149 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
11150 if test $ac_cv_type_int_least32_t = yes; then
11153 acx_cv_header_stdint_kind
="(mostly complete)"
11156 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
11157 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
11158 if test "${ac_cv_type_int_fast32_t+set}" = set; then
11159 echo $ECHO_N "(cached) $ECHO_C" >&6
11161 cat >conftest.
$ac_ext <<_ACEOF
11164 cat confdefs.h
>>conftest.
$ac_ext
11165 cat >>conftest.
$ac_ext <<_ACEOF
11166 /* end confdefs.h. */
11167 #include <sys/types.h>
11173 if ((int_fast32_t *) 0)
11175 if (sizeof (int_fast32_t))
11181 rm -f conftest.
$ac_objext
11182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11183 (eval $ac_compile) 2>conftest.er1
11185 grep -v '^ *+' conftest.er1
>conftest.err
11187 cat conftest.err
>&5
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); } &&
11190 { ac_try
='test -z "$ac_c_werror_flag"
11191 || test ! -s conftest.err'
11192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11193 (eval $ac_try) 2>&5
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196 (exit $ac_status); }; } &&
11197 { ac_try
='test -s conftest.$ac_objext'
11198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11199 (eval $ac_try) 2>&5
11201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11202 (exit $ac_status); }; }; then
11203 ac_cv_type_int_fast32_t
=yes
11205 echo "$as_me: failed program was:" >&5
11206 sed 's/^/| /' conftest.
$ac_ext >&5
11208 ac_cv_type_int_fast32_t
=no
11210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11212 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
11213 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
11214 if test $ac_cv_type_int_fast32_t = yes; then
11217 acx_cv_header_stdint_kind
="(mostly complete)"
11220 echo "$as_me:$LINENO: checking for uint64_t" >&5
11221 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
11222 if test "${ac_cv_type_uint64_t+set}" = set; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 cat >conftest.
$ac_ext <<_ACEOF
11228 cat confdefs.h
>>conftest.
$ac_ext
11229 cat >>conftest.
$ac_ext <<_ACEOF
11230 /* end confdefs.h. */
11231 #include <sys/types.h>
11237 if ((uint64_t *) 0)
11239 if (sizeof (uint64_t))
11245 rm -f conftest.
$ac_objext
11246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11247 (eval $ac_compile) 2>conftest.er1
11249 grep -v '^ *+' conftest.er1
>conftest.err
11251 cat conftest.err
>&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); } &&
11254 { ac_try
='test -z "$ac_c_werror_flag"
11255 || test ! -s conftest.err'
11256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11257 (eval $ac_try) 2>&5
11259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 (exit $ac_status); }; } &&
11261 { ac_try
='test -s conftest.$ac_objext'
11262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11263 (eval $ac_try) 2>&5
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); }; }; then
11267 ac_cv_type_uint64_t
=yes
11269 echo "$as_me: failed program was:" >&5
11270 sed 's/^/| /' conftest.
$ac_ext >&5
11272 ac_cv_type_uint64_t
=no
11274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11276 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
11277 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
11278 if test $ac_cv_type_uint64_t = yes; then
11281 acx_cv_header_stdint_kind
="(lacks uint64_t)"
11286 if test "$acx_cv_header_stdint" = stddef.h
; then
11287 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
11288 for i
in stdint.h
$inttype_headers; do
11289 unset ac_cv_type_uintptr_t
11290 unset ac_cv_type_uint32_t
11291 unset ac_cv_type_uint64_t
11292 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
11293 echo "$as_me:$LINENO: checking for uint32_t" >&5
11294 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
11295 if test "${ac_cv_type_uint32_t+set}" = set; then
11296 echo $ECHO_N "(cached) $ECHO_C" >&6
11298 cat >conftest.
$ac_ext <<_ACEOF
11301 cat confdefs.h
>>conftest.
$ac_ext
11302 cat >>conftest.
$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11304 #include <sys/types.h>
11310 if ((uint32_t *) 0)
11312 if (sizeof (uint32_t))
11318 rm -f conftest.
$ac_objext
11319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11320 (eval $ac_compile) 2>conftest.er1
11322 grep -v '^ *+' conftest.er1
>conftest.err
11324 cat conftest.err
>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); } &&
11327 { ac_try
='test -z "$ac_c_werror_flag"
11328 || test ! -s conftest.err'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; } &&
11334 { ac_try
='test -s conftest.$ac_objext'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; }; then
11340 ac_cv_type_uint32_t
=yes
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.
$ac_ext >&5
11345 ac_cv_type_uint32_t
=no
11347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11349 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
11350 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
11351 if test $ac_cv_type_uint32_t = yes; then
11352 acx_cv_header_stdint
=$i
11357 echo "$as_me:$LINENO: checking for uint64_t" >&5
11358 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
11359 if test "${ac_cv_type_uint64_t+set}" = set; then
11360 echo $ECHO_N "(cached) $ECHO_C" >&6
11362 cat >conftest.
$ac_ext <<_ACEOF
11365 cat confdefs.h
>>conftest.
$ac_ext
11366 cat >>conftest.
$ac_ext <<_ACEOF
11367 /* end confdefs.h. */
11368 #include <sys/types.h>
11374 if ((uint64_t *) 0)
11376 if (sizeof (uint64_t))
11382 rm -f conftest.
$ac_objext
11383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11384 (eval $ac_compile) 2>conftest.er1
11386 grep -v '^ *+' conftest.er1
>conftest.err
11388 cat conftest.err
>&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); } &&
11391 { ac_try
='test -z "$ac_c_werror_flag"
11392 || test ! -s conftest.err'
11393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11394 (eval $ac_try) 2>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); }; } &&
11398 { ac_try
='test -s conftest.$ac_objext'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; }; then
11404 ac_cv_type_uint64_t
=yes
11406 echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.
$ac_ext >&5
11409 ac_cv_type_uint64_t
=no
11411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11413 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
11414 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
11416 echo "$as_me:$LINENO: checking for uintptr_t" >&5
11417 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
11418 if test "${ac_cv_type_uintptr_t+set}" = set; then
11419 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 cat >conftest.
$ac_ext <<_ACEOF
11424 cat confdefs.h
>>conftest.
$ac_ext
11425 cat >>conftest.
$ac_ext <<_ACEOF
11426 /* end confdefs.h. */
11427 #include <sys/types.h>
11433 if ((uintptr_t *) 0)
11435 if (sizeof (uintptr_t))
11441 rm -f conftest.
$ac_objext
11442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11443 (eval $ac_compile) 2>conftest.er1
11445 grep -v '^ *+' conftest.er1
>conftest.err
11447 cat conftest.err
>&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } &&
11450 { ac_try
='test -z "$ac_c_werror_flag"
11451 || test ! -s conftest.err'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; } &&
11457 { ac_try
='test -s conftest.$ac_objext'
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; }; then
11463 ac_cv_type_uintptr_t
=yes
11465 echo "$as_me: failed program was:" >&5
11466 sed 's/^/| /' conftest.
$ac_ext >&5
11468 ac_cv_type_uintptr_t
=no
11470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11472 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11473 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
11478 if test "$acx_cv_header_stdint" = stddef.h
; then
11479 acx_cv_header_stdint_kind
="(u_intXX_t style)"
11480 for i
in sys
/types.h
$inttype_headers; do
11481 unset ac_cv_type_u_int32_t
11482 unset ac_cv_type_u_int64_t
11483 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
11484 echo "$as_me:$LINENO: checking for u_int32_t" >&5
11485 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
11486 if test "${ac_cv_type_u_int32_t+set}" = set; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11489 cat >conftest.
$ac_ext <<_ACEOF
11492 cat confdefs.h
>>conftest.
$ac_ext
11493 cat >>conftest.
$ac_ext <<_ACEOF
11494 /* end confdefs.h. */
11495 #include <sys/types.h>
11501 if ((u_int32_t *) 0)
11503 if (sizeof (u_int32_t))
11509 rm -f conftest.
$ac_objext
11510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11511 (eval $ac_compile) 2>conftest.er1
11513 grep -v '^ *+' conftest.er1
>conftest.err
11515 cat conftest.err
>&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } &&
11518 { ac_try
='test -z "$ac_c_werror_flag"
11519 || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try
='test -s conftest.$ac_objext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 ac_cv_type_u_int32_t
=yes
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.
$ac_ext >&5
11536 ac_cv_type_u_int32_t
=no
11538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11540 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
11541 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
11542 if test $ac_cv_type_u_int32_t = yes; then
11543 acx_cv_header_stdint
=$i
11548 echo "$as_me:$LINENO: checking for u_int64_t" >&5
11549 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
11550 if test "${ac_cv_type_u_int64_t+set}" = set; then
11551 echo $ECHO_N "(cached) $ECHO_C" >&6
11553 cat >conftest.
$ac_ext <<_ACEOF
11556 cat confdefs.h
>>conftest.
$ac_ext
11557 cat >>conftest.
$ac_ext <<_ACEOF
11558 /* end confdefs.h. */
11559 #include <sys/types.h>
11565 if ((u_int64_t *) 0)
11567 if (sizeof (u_int64_t))
11573 rm -f conftest.
$ac_objext
11574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11575 (eval $ac_compile) 2>conftest.er1
11577 grep -v '^ *+' conftest.er1
>conftest.err
11579 cat conftest.err
>&5
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); } &&
11582 { ac_try
='test -z "$ac_c_werror_flag"
11583 || test ! -s conftest.err'
11584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11585 (eval $ac_try) 2>&5
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); }; } &&
11589 { ac_try
='test -s conftest.$ac_objext'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; }; then
11595 ac_cv_type_u_int64_t
=yes
11597 echo "$as_me: failed program was:" >&5
11598 sed 's/^/| /' conftest.
$ac_ext >&5
11600 ac_cv_type_u_int64_t
=no
11602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11604 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
11605 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
11610 if test "$acx_cv_header_stdint" = stddef.h
; then
11611 acx_cv_header_stdint_kind
="(using manual detection)"
11614 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
11615 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
11616 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
11617 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
11618 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
11620 # ----------------- Summarize what we found so far
11622 echo "$as_me:$LINENO: checking what to include in gdb_stdint.h" >&5
11623 echo $ECHO_N "checking what to include in gdb_stdint.h... $ECHO_C" >&6
11625 case `$as_basename gdb_stdint.h ||
11626 $as_expr X/gdb_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
11627 Xgdb_stdint.h : 'X\(//\)$' \| \
11628 Xgdb_stdint.h : 'X\(/\)$' \| \
11629 . : '\(.\)' 2>/dev/null ||
11630 echo X/gdb_stdint.h |
11631 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11632 /^X\/\(\/\/\)$/{ s//\1/; q; }
11633 /^X\/\(\/\).*/{ s//\1/; q; }
11635 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
11636 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
11637 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
11638 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
11642 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
11643 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
11645 # ----------------- done included file, check C basic types --------
11647 # Lacking an uintptr_t? Test size of void *
11648 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
11649 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
11650 echo $ECHO_N "checking for void *... $ECHO_C" >&6
11651 if test "${ac_cv_type_void_p+set}" = set; then
11652 echo $ECHO_N "(cached) $ECHO_C" >&6
11654 cat >conftest.
$ac_ext <<_ACEOF
11657 cat confdefs.h
>>conftest.
$ac_ext
11658 cat >>conftest.
$ac_ext <<_ACEOF
11659 /* end confdefs.h. */
11660 $ac_includes_default
11666 if (sizeof (void *))
11672 rm -f conftest.
$ac_objext
11673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11674 (eval $ac_compile) 2>conftest.er1
11676 grep -v '^ *+' conftest.er1
>conftest.err
11678 cat conftest.err
>&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); } &&
11681 { ac_try
='test -z "$ac_c_werror_flag"
11682 || test ! -s conftest.err'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; } &&
11688 { ac_try
='test -s conftest.$ac_objext'
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; }; then
11694 ac_cv_type_void_p
=yes
11696 echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.
$ac_ext >&5
11699 ac_cv_type_void_p
=no
11701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11703 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
11704 echo "${ECHO_T}$ac_cv_type_void_p" >&6
11706 echo "$as_me:$LINENO: checking size of void *" >&5
11707 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
11708 if test "${ac_cv_sizeof_void_p+set}" = set; then
11709 echo $ECHO_N "(cached) $ECHO_C" >&6
11711 if test "$ac_cv_type_void_p" = yes; then
11712 # The cast to unsigned long works around a bug in the HP C Compiler
11713 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11714 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11715 # This bug is HP SR number 8606223364.
11716 if test "$cross_compiling" = yes; then
11717 # Depending upon the size, compute the lo and hi bounds.
11718 cat >conftest.
$ac_ext <<_ACEOF
11721 cat confdefs.h
>>conftest.
$ac_ext
11722 cat >>conftest.
$ac_ext <<_ACEOF
11723 /* end confdefs.h. */
11724 $ac_includes_default
11728 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
11735 rm -f conftest.
$ac_objext
11736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11737 (eval $ac_compile) 2>conftest.er1
11739 grep -v '^ *+' conftest.er1
>conftest.err
11741 cat conftest.err
>&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); } &&
11744 { ac_try
='test -z "$ac_c_werror_flag"
11745 || test ! -s conftest.err'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; } &&
11751 { ac_try
='test -s conftest.$ac_objext'
11752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11753 (eval $ac_try) 2>&5
11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756 (exit $ac_status); }; }; then
11759 cat >conftest.
$ac_ext <<_ACEOF
11762 cat confdefs.h
>>conftest.
$ac_ext
11763 cat >>conftest.
$ac_ext <<_ACEOF
11764 /* end confdefs.h. */
11765 $ac_includes_default
11769 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
11776 rm -f conftest.
$ac_objext
11777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11778 (eval $ac_compile) 2>conftest.er1
11780 grep -v '^ *+' conftest.er1
>conftest.err
11782 cat conftest.err
>&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); } &&
11785 { ac_try
='test -z "$ac_c_werror_flag"
11786 || test ! -s conftest.err'
11787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11788 (eval $ac_try) 2>&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); }; } &&
11792 { ac_try
='test -s conftest.$ac_objext'
11793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11794 (eval $ac_try) 2>&5
11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 (exit $ac_status); }; }; then
11798 ac_hi
=$ac_mid; break
11800 echo "$as_me: failed program was:" >&5
11801 sed 's/^/| /' conftest.
$ac_ext >&5
11803 ac_lo
=`expr $ac_mid + 1`
11804 if test $ac_lo -le $ac_mid; then
11808 ac_mid
=`expr 2 '*' $ac_mid + 1`
11810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11813 echo "$as_me: failed program was:" >&5
11814 sed 's/^/| /' conftest.
$ac_ext >&5
11816 cat >conftest.
$ac_ext <<_ACEOF
11819 cat confdefs.h
>>conftest.
$ac_ext
11820 cat >>conftest.
$ac_ext <<_ACEOF
11821 /* end confdefs.h. */
11822 $ac_includes_default
11826 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
11833 rm -f conftest.
$ac_objext
11834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11835 (eval $ac_compile) 2>conftest.er1
11837 grep -v '^ *+' conftest.er1
>conftest.err
11839 cat conftest.err
>&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); } &&
11842 { ac_try
='test -z "$ac_c_werror_flag"
11843 || test ! -s conftest.err'
11844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11845 (eval $ac_try) 2>&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); }; } &&
11849 { ac_try
='test -s conftest.$ac_objext'
11850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11851 (eval $ac_try) 2>&5
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); }; }; then
11857 cat >conftest.
$ac_ext <<_ACEOF
11860 cat confdefs.h
>>conftest.
$ac_ext
11861 cat >>conftest.
$ac_ext <<_ACEOF
11862 /* end confdefs.h. */
11863 $ac_includes_default
11867 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
11874 rm -f conftest.
$ac_objext
11875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11876 (eval $ac_compile) 2>conftest.er1
11878 grep -v '^ *+' conftest.er1
>conftest.err
11880 cat conftest.err
>&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); } &&
11883 { ac_try
='test -z "$ac_c_werror_flag"
11884 || test ! -s conftest.err'
11885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11886 (eval $ac_try) 2>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); }; } &&
11890 { ac_try
='test -s conftest.$ac_objext'
11891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; }; then
11896 ac_lo
=$ac_mid; break
11898 echo "$as_me: failed program was:" >&5
11899 sed 's/^/| /' conftest.
$ac_ext >&5
11901 ac_hi
=`expr '(' $ac_mid ')' - 1`
11902 if test $ac_mid -le $ac_hi; then
11906 ac_mid
=`expr 2 '*' $ac_mid`
11908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.
$ac_ext >&5
11916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11919 # Binary search between lo and hi bounds.
11920 while test "x$ac_lo" != "x$ac_hi"; do
11921 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11922 cat >conftest.
$ac_ext <<_ACEOF
11925 cat confdefs.h
>>conftest.
$ac_ext
11926 cat >>conftest.
$ac_ext <<_ACEOF
11927 /* end confdefs.h. */
11928 $ac_includes_default
11932 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
11939 rm -f conftest.
$ac_objext
11940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11941 (eval $ac_compile) 2>conftest.er1
11943 grep -v '^ *+' conftest.er1
>conftest.err
11945 cat conftest.err
>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } &&
11948 { ac_try
='test -z "$ac_c_werror_flag"
11949 || test ! -s conftest.err'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; } &&
11955 { ac_try
='test -s conftest.$ac_objext'
11956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11957 (eval $ac_try) 2>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); }; }; then
11963 echo "$as_me: failed program was:" >&5
11964 sed 's/^/| /' conftest.
$ac_ext >&5
11966 ac_lo
=`expr '(' $ac_mid ')' + 1`
11968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11971 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
11972 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
11973 See \`config.log' for more details." >&5
11974 echo "$as_me: error: cannot compute sizeof (void *), 77
11975 See \`config.log' for more details." >&2;}
11976 { (exit 1); exit 1; }; } ;;
11979 if test "$cross_compiling" = yes; then
11980 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11981 See \`config.log' for more details." >&5
11982 echo "$as_me: error: cannot run test program while cross compiling
11983 See \`config.log' for more details." >&2;}
11984 { (exit 1); exit 1; }; }
11986 cat >conftest.
$ac_ext <<_ACEOF
11989 cat confdefs.h
>>conftest.
$ac_ext
11990 cat >>conftest.
$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11992 $ac_includes_default
11993 long longval () { return (long) (sizeof (void *)); }
11994 unsigned long ulongval () { return (long) (sizeof (void *)); }
11996 #include <stdlib.h>
12001 FILE *f = fopen ("conftest.val", "w");
12004 if (((long) (sizeof (void *))) < 0)
12006 long i = longval ();
12007 if (i != ((long) (sizeof (void *))))
12009 fprintf (f, "%ld\n", i);
12013 unsigned long i = ulongval ();
12014 if (i != ((long) (sizeof (void *))))
12016 fprintf (f, "%lu\n", i);
12018 exit (ferror (f) || fclose (f) != 0);
12024 rm -f conftest
$ac_exeext
12025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12026 (eval $ac_link) 2>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12031 (eval $ac_try) 2>&5
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); }; }; then
12035 ac_cv_sizeof_void_p
=`cat conftest.val`
12037 echo "$as_me: program exited with status $ac_status" >&5
12038 echo "$as_me: failed program was:" >&5
12039 sed 's/^/| /' conftest.
$ac_ext >&5
12041 ( exit $ac_status )
12042 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12043 See \`config.log' for more details." >&5
12044 echo "$as_me: error: cannot compute sizeof (void *), 77
12045 See \`config.log' for more details." >&2;}
12046 { (exit 1); exit 1; }; }
12048 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12053 ac_cv_sizeof_void_p
=0
12056 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
12057 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
12058 cat >>confdefs.h
<<_ACEOF
12059 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12065 # Lacking an uint64_t? Test size of long
12066 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
12067 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
12068 echo $ECHO_N "checking for long... $ECHO_C" >&6
12069 if test "${ac_cv_type_long+set}" = set; then
12070 echo $ECHO_N "(cached) $ECHO_C" >&6
12072 cat >conftest.
$ac_ext <<_ACEOF
12075 cat confdefs.h
>>conftest.
$ac_ext
12076 cat >>conftest.
$ac_ext <<_ACEOF
12077 /* end confdefs.h. */
12078 $ac_includes_default
12090 rm -f conftest.
$ac_objext
12091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12092 (eval $ac_compile) 2>conftest.er1
12094 grep -v '^ *+' conftest.er1
>conftest.err
12096 cat conftest.err
>&5
12097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12098 (exit $ac_status); } &&
12099 { ac_try
='test -z "$ac_c_werror_flag"
12100 || test ! -s conftest.err'
12101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12102 (eval $ac_try) 2>&5
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); }; } &&
12106 { ac_try
='test -s conftest.$ac_objext'
12107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12108 (eval $ac_try) 2>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; }; then
12112 ac_cv_type_long
=yes
12114 echo "$as_me: failed program was:" >&5
12115 sed 's/^/| /' conftest.
$ac_ext >&5
12119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12121 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12122 echo "${ECHO_T}$ac_cv_type_long" >&6
12124 echo "$as_me:$LINENO: checking size of long" >&5
12125 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12126 if test "${ac_cv_sizeof_long+set}" = set; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12129 if test "$ac_cv_type_long" = yes; then
12130 # The cast to unsigned long works around a bug in the HP C Compiler
12131 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12132 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12133 # This bug is HP SR number 8606223364.
12134 if test "$cross_compiling" = yes; then
12135 # Depending upon the size, compute the lo and hi bounds.
12136 cat >conftest.
$ac_ext <<_ACEOF
12139 cat confdefs.h
>>conftest.
$ac_ext
12140 cat >>conftest.
$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12142 $ac_includes_default
12146 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12153 rm -f conftest.
$ac_objext
12154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12155 (eval $ac_compile) 2>conftest.er1
12157 grep -v '^ *+' conftest.er1
>conftest.err
12159 cat conftest.err
>&5
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); } &&
12162 { ac_try
='test -z "$ac_c_werror_flag"
12163 || test ! -s conftest.err'
12164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12165 (eval $ac_try) 2>&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); }; } &&
12169 { ac_try
='test -s conftest.$ac_objext'
12170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12171 (eval $ac_try) 2>&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); }; }; then
12177 cat >conftest.
$ac_ext <<_ACEOF
12180 cat confdefs.h
>>conftest.
$ac_ext
12181 cat >>conftest.
$ac_ext <<_ACEOF
12182 /* end confdefs.h. */
12183 $ac_includes_default
12187 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12194 rm -f conftest.
$ac_objext
12195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12196 (eval $ac_compile) 2>conftest.er1
12198 grep -v '^ *+' conftest.er1
>conftest.err
12200 cat conftest.err
>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); } &&
12203 { ac_try
='test -z "$ac_c_werror_flag"
12204 || test ! -s conftest.err'
12205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12206 (eval $ac_try) 2>&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); }; } &&
12210 { ac_try
='test -s conftest.$ac_objext'
12211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12212 (eval $ac_try) 2>&5
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); }; }; then
12216 ac_hi
=$ac_mid; break
12218 echo "$as_me: failed program was:" >&5
12219 sed 's/^/| /' conftest.
$ac_ext >&5
12221 ac_lo
=`expr $ac_mid + 1`
12222 if test $ac_lo -le $ac_mid; then
12226 ac_mid
=`expr 2 '*' $ac_mid + 1`
12228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12231 echo "$as_me: failed program was:" >&5
12232 sed 's/^/| /' conftest.
$ac_ext >&5
12234 cat >conftest.
$ac_ext <<_ACEOF
12237 cat confdefs.h
>>conftest.
$ac_ext
12238 cat >>conftest.
$ac_ext <<_ACEOF
12239 /* end confdefs.h. */
12240 $ac_includes_default
12244 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12251 rm -f conftest.
$ac_objext
12252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12253 (eval $ac_compile) 2>conftest.er1
12255 grep -v '^ *+' conftest.er1
>conftest.err
12257 cat conftest.err
>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); } &&
12260 { ac_try
='test -z "$ac_c_werror_flag"
12261 || test ! -s conftest.err'
12262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12263 (eval $ac_try) 2>&5
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); }; } &&
12267 { ac_try
='test -s conftest.$ac_objext'
12268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269 (eval $ac_try) 2>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; }; then
12275 cat >conftest.
$ac_ext <<_ACEOF
12278 cat confdefs.h
>>conftest.
$ac_ext
12279 cat >>conftest.
$ac_ext <<_ACEOF
12280 /* end confdefs.h. */
12281 $ac_includes_default
12285 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12292 rm -f conftest.
$ac_objext
12293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12294 (eval $ac_compile) 2>conftest.er1
12296 grep -v '^ *+' conftest.er1
>conftest.err
12298 cat conftest.err
>&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); } &&
12301 { ac_try
='test -z "$ac_c_werror_flag"
12302 || test ! -s conftest.err'
12303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304 (eval $ac_try) 2>&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; } &&
12308 { ac_try
='test -s conftest.$ac_objext'
12309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12310 (eval $ac_try) 2>&5
12312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313 (exit $ac_status); }; }; then
12314 ac_lo
=$ac_mid; break
12316 echo "$as_me: failed program was:" >&5
12317 sed 's/^/| /' conftest.
$ac_ext >&5
12319 ac_hi
=`expr '(' $ac_mid ')' - 1`
12320 if test $ac_mid -le $ac_hi; then
12324 ac_mid
=`expr 2 '*' $ac_mid`
12326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12329 echo "$as_me: failed program was:" >&5
12330 sed 's/^/| /' conftest.
$ac_ext >&5
12334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12337 # Binary search between lo and hi bounds.
12338 while test "x$ac_lo" != "x$ac_hi"; do
12339 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12340 cat >conftest.
$ac_ext <<_ACEOF
12343 cat confdefs.h
>>conftest.
$ac_ext
12344 cat >>conftest.
$ac_ext <<_ACEOF
12345 /* end confdefs.h. */
12346 $ac_includes_default
12350 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
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
12381 echo "$as_me: failed program was:" >&5
12382 sed 's/^/| /' conftest.
$ac_ext >&5
12384 ac_lo
=`expr '(' $ac_mid ')' + 1`
12386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12389 ?
*) ac_cv_sizeof_long
=$ac_lo;;
12390 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12391 See \`config.log' for more details." >&5
12392 echo "$as_me: error: cannot compute sizeof (long), 77
12393 See \`config.log' for more details." >&2;}
12394 { (exit 1); exit 1; }; } ;;
12397 if test "$cross_compiling" = yes; then
12398 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12399 See \`config.log' for more details." >&5
12400 echo "$as_me: error: cannot run test program while cross compiling
12401 See \`config.log' for more details." >&2;}
12402 { (exit 1); exit 1; }; }
12404 cat >conftest.
$ac_ext <<_ACEOF
12407 cat confdefs.h
>>conftest.
$ac_ext
12408 cat >>conftest.
$ac_ext <<_ACEOF
12409 /* end confdefs.h. */
12410 $ac_includes_default
12411 long longval () { return (long) (sizeof (long)); }
12412 unsigned long ulongval () { return (long) (sizeof (long)); }
12414 #include <stdlib.h>
12419 FILE *f = fopen ("conftest.val", "w");
12422 if (((long) (sizeof (long))) < 0)
12424 long i = longval ();
12425 if (i != ((long) (sizeof (long))))
12427 fprintf (f, "%ld\n", i);
12431 unsigned long i = ulongval ();
12432 if (i != ((long) (sizeof (long))))
12434 fprintf (f, "%lu\n", i);
12436 exit (ferror (f) || fclose (f) != 0);
12442 rm -f conftest
$ac_exeext
12443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12444 (eval $ac_link) 2>&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 ac_cv_sizeof_long
=`cat conftest.val`
12455 echo "$as_me: program exited with status $ac_status" >&5
12456 echo "$as_me: failed program was:" >&5
12457 sed 's/^/| /' conftest.
$ac_ext >&5
12459 ( exit $ac_status )
12460 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12461 See \`config.log' for more details." >&5
12462 echo "$as_me: error: cannot compute sizeof (long), 77
12463 See \`config.log' for more details." >&2;}
12464 { (exit 1); exit 1; }; }
12466 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12471 ac_cv_sizeof_long
=0
12474 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12475 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12476 cat >>confdefs.h
<<_ACEOF
12477 #define SIZEOF_LONG $ac_cv_sizeof_long
12483 if test $acx_cv_header_stdint = stddef.h
; then
12484 # Lacking a good header? Test size of everything and deduce all types.
12485 echo "$as_me:$LINENO: checking for int" >&5
12486 echo $ECHO_N "checking for int... $ECHO_C" >&6
12487 if test "${ac_cv_type_int+set}" = set; then
12488 echo $ECHO_N "(cached) $ECHO_C" >&6
12490 cat >conftest.
$ac_ext <<_ACEOF
12493 cat confdefs.h
>>conftest.
$ac_ext
12494 cat >>conftest.
$ac_ext <<_ACEOF
12495 /* end confdefs.h. */
12496 $ac_includes_default
12508 rm -f conftest.
$ac_objext
12509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12510 (eval $ac_compile) 2>conftest.er1
12512 grep -v '^ *+' conftest.er1
>conftest.err
12514 cat conftest.err
>&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } &&
12517 { ac_try
='test -z "$ac_c_werror_flag"
12518 || test ! -s conftest.err'
12519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12520 (eval $ac_try) 2>&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); }; } &&
12524 { ac_try
='test -s conftest.$ac_objext'
12525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526 (eval $ac_try) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); }; }; then
12532 echo "$as_me: failed program was:" >&5
12533 sed 's/^/| /' conftest.
$ac_ext >&5
12537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12539 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
12540 echo "${ECHO_T}$ac_cv_type_int" >&6
12542 echo "$as_me:$LINENO: checking size of int" >&5
12543 echo $ECHO_N "checking size of int... $ECHO_C" >&6
12544 if test "${ac_cv_sizeof_int+set}" = set; then
12545 echo $ECHO_N "(cached) $ECHO_C" >&6
12547 if test "$ac_cv_type_int" = yes; then
12548 # The cast to unsigned long works around a bug in the HP C Compiler
12549 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12550 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12551 # This bug is HP SR number 8606223364.
12552 if test "$cross_compiling" = yes; then
12553 # Depending upon the size, compute the lo and hi bounds.
12554 cat >conftest.
$ac_ext <<_ACEOF
12557 cat confdefs.h
>>conftest.
$ac_ext
12558 cat >>conftest.
$ac_ext <<_ACEOF
12559 /* end confdefs.h. */
12560 $ac_includes_default
12564 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
12571 rm -f conftest.
$ac_objext
12572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12573 (eval $ac_compile) 2>conftest.er1
12575 grep -v '^ *+' conftest.er1
>conftest.err
12577 cat conftest.err
>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } &&
12580 { ac_try
='test -z "$ac_c_werror_flag"
12581 || test ! -s conftest.err'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; } &&
12587 { ac_try
='test -s conftest.$ac_objext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12595 cat >conftest.
$ac_ext <<_ACEOF
12598 cat confdefs.h
>>conftest.
$ac_ext
12599 cat >>conftest.
$ac_ext <<_ACEOF
12600 /* end confdefs.h. */
12601 $ac_includes_default
12605 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
12612 rm -f conftest.
$ac_objext
12613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12614 (eval $ac_compile) 2>conftest.er1
12616 grep -v '^ *+' conftest.er1
>conftest.err
12618 cat conftest.err
>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); } &&
12621 { ac_try
='test -z "$ac_c_werror_flag"
12622 || test ! -s conftest.err'
12623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624 (eval $ac_try) 2>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; } &&
12628 { ac_try
='test -s conftest.$ac_objext'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; }; then
12634 ac_hi
=$ac_mid; break
12636 echo "$as_me: failed program was:" >&5
12637 sed 's/^/| /' conftest.
$ac_ext >&5
12639 ac_lo
=`expr $ac_mid + 1`
12640 if test $ac_lo -le $ac_mid; then
12644 ac_mid
=`expr 2 '*' $ac_mid + 1`
12646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12649 echo "$as_me: failed program was:" >&5
12650 sed 's/^/| /' conftest.
$ac_ext >&5
12652 cat >conftest.
$ac_ext <<_ACEOF
12655 cat confdefs.h
>>conftest.
$ac_ext
12656 cat >>conftest.
$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12658 $ac_includes_default
12662 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
12669 rm -f conftest.
$ac_objext
12670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12671 (eval $ac_compile) 2>conftest.er1
12673 grep -v '^ *+' conftest.er1
>conftest.err
12675 cat conftest.err
>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); } &&
12678 { ac_try
='test -z "$ac_c_werror_flag"
12679 || test ! -s conftest.err'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; } &&
12685 { ac_try
='test -s conftest.$ac_objext'
12686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12687 (eval $ac_try) 2>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); }; }; then
12693 cat >conftest.
$ac_ext <<_ACEOF
12696 cat confdefs.h
>>conftest.
$ac_ext
12697 cat >>conftest.
$ac_ext <<_ACEOF
12698 /* end confdefs.h. */
12699 $ac_includes_default
12703 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
12710 rm -f conftest.
$ac_objext
12711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12712 (eval $ac_compile) 2>conftest.er1
12714 grep -v '^ *+' conftest.er1
>conftest.err
12716 cat conftest.err
>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); } &&
12719 { ac_try
='test -z "$ac_c_werror_flag"
12720 || test ! -s conftest.err'
12721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12722 (eval $ac_try) 2>&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); }; } &&
12726 { ac_try
='test -s conftest.$ac_objext'
12727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12728 (eval $ac_try) 2>&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); }; }; then
12732 ac_lo
=$ac_mid; break
12734 echo "$as_me: failed program was:" >&5
12735 sed 's/^/| /' conftest.
$ac_ext >&5
12737 ac_hi
=`expr '(' $ac_mid ')' - 1`
12738 if test $ac_mid -le $ac_hi; then
12742 ac_mid
=`expr 2 '*' $ac_mid`
12744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12747 echo "$as_me: failed program was:" >&5
12748 sed 's/^/| /' conftest.
$ac_ext >&5
12752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12755 # Binary search between lo and hi bounds.
12756 while test "x$ac_lo" != "x$ac_hi"; do
12757 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12758 cat >conftest.
$ac_ext <<_ACEOF
12761 cat confdefs.h
>>conftest.
$ac_ext
12762 cat >>conftest.
$ac_ext <<_ACEOF
12763 /* end confdefs.h. */
12764 $ac_includes_default
12768 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
12775 rm -f conftest.
$ac_objext
12776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12777 (eval $ac_compile) 2>conftest.er1
12779 grep -v '^ *+' conftest.er1
>conftest.err
12781 cat conftest.err
>&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } &&
12784 { ac_try
='test -z "$ac_c_werror_flag"
12785 || test ! -s conftest.err'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; } &&
12791 { ac_try
='test -s conftest.$ac_objext'
12792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12793 (eval $ac_try) 2>&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); }; }; then
12799 echo "$as_me: failed program was:" >&5
12800 sed 's/^/| /' conftest.
$ac_ext >&5
12802 ac_lo
=`expr '(' $ac_mid ')' + 1`
12804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12807 ?
*) ac_cv_sizeof_int
=$ac_lo;;
12808 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
12809 See \`config.log' for more details." >&5
12810 echo "$as_me: error: cannot compute sizeof (int), 77
12811 See \`config.log' for more details." >&2;}
12812 { (exit 1); exit 1; }; } ;;
12815 if test "$cross_compiling" = yes; then
12816 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12817 See \`config.log' for more details." >&5
12818 echo "$as_me: error: cannot run test program while cross compiling
12819 See \`config.log' for more details." >&2;}
12820 { (exit 1); exit 1; }; }
12822 cat >conftest.
$ac_ext <<_ACEOF
12825 cat confdefs.h
>>conftest.
$ac_ext
12826 cat >>conftest.
$ac_ext <<_ACEOF
12827 /* end confdefs.h. */
12828 $ac_includes_default
12829 long longval () { return (long) (sizeof (int)); }
12830 unsigned long ulongval () { return (long) (sizeof (int)); }
12832 #include <stdlib.h>
12837 FILE *f = fopen ("conftest.val", "w");
12840 if (((long) (sizeof (int))) < 0)
12842 long i = longval ();
12843 if (i != ((long) (sizeof (int))))
12845 fprintf (f, "%ld\n", i);
12849 unsigned long i = ulongval ();
12850 if (i != ((long) (sizeof (int))))
12852 fprintf (f, "%lu\n", i);
12854 exit (ferror (f) || fclose (f) != 0);
12860 rm -f conftest
$ac_exeext
12861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12862 (eval $ac_link) 2>&5
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12867 (eval $ac_try) 2>&5
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); }; }; then
12871 ac_cv_sizeof_int
=`cat conftest.val`
12873 echo "$as_me: program exited with status $ac_status" >&5
12874 echo "$as_me: failed program was:" >&5
12875 sed 's/^/| /' conftest.
$ac_ext >&5
12877 ( exit $ac_status )
12878 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
12879 See \`config.log' for more details." >&5
12880 echo "$as_me: error: cannot compute sizeof (int), 77
12881 See \`config.log' for more details." >&2;}
12882 { (exit 1); exit 1; }; }
12884 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12892 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
12893 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
12894 cat >>confdefs.h
<<_ACEOF
12895 #define SIZEOF_INT $ac_cv_sizeof_int
12899 echo "$as_me:$LINENO: checking for short" >&5
12900 echo $ECHO_N "checking for short... $ECHO_C" >&6
12901 if test "${ac_cv_type_short+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12904 cat >conftest.
$ac_ext <<_ACEOF
12907 cat confdefs.h
>>conftest.
$ac_ext
12908 cat >>conftest.
$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12910 $ac_includes_default
12916 if (sizeof (short))
12922 rm -f conftest.
$ac_objext
12923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12924 (eval $ac_compile) 2>conftest.er1
12926 grep -v '^ *+' conftest.er1
>conftest.err
12928 cat conftest.err
>&5
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); } &&
12931 { ac_try
='test -z "$ac_c_werror_flag"
12932 || test ! -s conftest.err'
12933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12934 (eval $ac_try) 2>&5
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); }; } &&
12938 { ac_try
='test -s conftest.$ac_objext'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; }; then
12944 ac_cv_type_short
=yes
12946 echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.
$ac_ext >&5
12949 ac_cv_type_short
=no
12951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12953 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
12954 echo "${ECHO_T}$ac_cv_type_short" >&6
12956 echo "$as_me:$LINENO: checking size of short" >&5
12957 echo $ECHO_N "checking size of short... $ECHO_C" >&6
12958 if test "${ac_cv_sizeof_short+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12961 if test "$ac_cv_type_short" = yes; then
12962 # The cast to unsigned long works around a bug in the HP C Compiler
12963 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12964 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12965 # This bug is HP SR number 8606223364.
12966 if test "$cross_compiling" = yes; then
12967 # Depending upon the size, compute the lo and hi bounds.
12968 cat >conftest.
$ac_ext <<_ACEOF
12971 cat confdefs.h
>>conftest.
$ac_ext
12972 cat >>conftest.
$ac_ext <<_ACEOF
12973 /* end confdefs.h. */
12974 $ac_includes_default
12978 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
12985 rm -f conftest.
$ac_objext
12986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12987 (eval $ac_compile) 2>conftest.er1
12989 grep -v '^ *+' conftest.er1
>conftest.err
12991 cat conftest.err
>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); } &&
12994 { ac_try
='test -z "$ac_c_werror_flag"
12995 || test ! -s conftest.err'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; } &&
13001 { ac_try
='test -s conftest.$ac_objext'
13002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13003 (eval $ac_try) 2>&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; }; then
13009 cat >conftest.
$ac_ext <<_ACEOF
13012 cat confdefs.h
>>conftest.
$ac_ext
13013 cat >>conftest.
$ac_ext <<_ACEOF
13014 /* end confdefs.h. */
13015 $ac_includes_default
13019 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13026 rm -f conftest.
$ac_objext
13027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13028 (eval $ac_compile) 2>conftest.er1
13030 grep -v '^ *+' conftest.er1
>conftest.err
13032 cat conftest.err
>&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); } &&
13035 { ac_try
='test -z "$ac_c_werror_flag"
13036 || test ! -s conftest.err'
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); }; } &&
13042 { ac_try
='test -s conftest.$ac_objext'
13043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13044 (eval $ac_try) 2>&5
13046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13047 (exit $ac_status); }; }; then
13048 ac_hi
=$ac_mid; break
13050 echo "$as_me: failed program was:" >&5
13051 sed 's/^/| /' conftest.
$ac_ext >&5
13053 ac_lo
=`expr $ac_mid + 1`
13054 if test $ac_lo -le $ac_mid; then
13058 ac_mid
=`expr 2 '*' $ac_mid + 1`
13060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13063 echo "$as_me: failed program was:" >&5
13064 sed 's/^/| /' conftest.
$ac_ext >&5
13066 cat >conftest.
$ac_ext <<_ACEOF
13069 cat confdefs.h
>>conftest.
$ac_ext
13070 cat >>conftest.
$ac_ext <<_ACEOF
13071 /* end confdefs.h. */
13072 $ac_includes_default
13076 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
13083 rm -f conftest.
$ac_objext
13084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13085 (eval $ac_compile) 2>conftest.er1
13087 grep -v '^ *+' conftest.er1
>conftest.err
13089 cat conftest.err
>&5
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); } &&
13092 { ac_try
='test -z "$ac_c_werror_flag"
13093 || test ! -s conftest.err'
13094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13095 (eval $ac_try) 2>&5
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); }; } &&
13099 { ac_try
='test -s conftest.$ac_objext'
13100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13101 (eval $ac_try) 2>&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); }; }; then
13107 cat >conftest.
$ac_ext <<_ACEOF
13110 cat confdefs.h
>>conftest.
$ac_ext
13111 cat >>conftest.
$ac_ext <<_ACEOF
13112 /* end confdefs.h. */
13113 $ac_includes_default
13117 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
13124 rm -f conftest.
$ac_objext
13125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13126 (eval $ac_compile) 2>conftest.er1
13128 grep -v '^ *+' conftest.er1
>conftest.err
13130 cat conftest.err
>&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); } &&
13133 { ac_try
='test -z "$ac_c_werror_flag"
13134 || test ! -s conftest.err'
13135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136 (eval $ac_try) 2>&5
13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); }; } &&
13140 { ac_try
='test -s conftest.$ac_objext'
13141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142 (eval $ac_try) 2>&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); }; }; then
13146 ac_lo
=$ac_mid; break
13148 echo "$as_me: failed program was:" >&5
13149 sed 's/^/| /' conftest.
$ac_ext >&5
13151 ac_hi
=`expr '(' $ac_mid ')' - 1`
13152 if test $ac_mid -le $ac_hi; then
13156 ac_mid
=`expr 2 '*' $ac_mid`
13158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13161 echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.
$ac_ext >&5
13166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13169 # Binary search between lo and hi bounds.
13170 while test "x$ac_lo" != "x$ac_hi"; do
13171 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13172 cat >conftest.
$ac_ext <<_ACEOF
13175 cat confdefs.h
>>conftest.
$ac_ext
13176 cat >>conftest.
$ac_ext <<_ACEOF
13177 /* end confdefs.h. */
13178 $ac_includes_default
13182 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13189 rm -f conftest.
$ac_objext
13190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13191 (eval $ac_compile) 2>conftest.er1
13193 grep -v '^ *+' conftest.er1
>conftest.err
13195 cat conftest.err
>&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); } &&
13198 { ac_try
='test -z "$ac_c_werror_flag"
13199 || test ! -s conftest.err'
13200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13201 (eval $ac_try) 2>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); }; } &&
13205 { ac_try
='test -s conftest.$ac_objext'
13206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13207 (eval $ac_try) 2>&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); }; }; then
13213 echo "$as_me: failed program was:" >&5
13214 sed 's/^/| /' conftest.
$ac_ext >&5
13216 ac_lo
=`expr '(' $ac_mid ')' + 1`
13218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13221 ?
*) ac_cv_sizeof_short
=$ac_lo;;
13222 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
13223 See \`config.log' for more details." >&5
13224 echo "$as_me: error: cannot compute sizeof (short), 77
13225 See \`config.log' for more details." >&2;}
13226 { (exit 1); exit 1; }; } ;;
13229 if test "$cross_compiling" = yes; then
13230 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13231 See \`config.log' for more details." >&5
13232 echo "$as_me: error: cannot run test program while cross compiling
13233 See \`config.log' for more details." >&2;}
13234 { (exit 1); exit 1; }; }
13236 cat >conftest.
$ac_ext <<_ACEOF
13239 cat confdefs.h
>>conftest.
$ac_ext
13240 cat >>conftest.
$ac_ext <<_ACEOF
13241 /* end confdefs.h. */
13242 $ac_includes_default
13243 long longval () { return (long) (sizeof (short)); }
13244 unsigned long ulongval () { return (long) (sizeof (short)); }
13246 #include <stdlib.h>
13251 FILE *f = fopen ("conftest.val", "w");
13254 if (((long) (sizeof (short))) < 0)
13256 long i = longval ();
13257 if (i != ((long) (sizeof (short))))
13259 fprintf (f, "%ld\n", i);
13263 unsigned long i = ulongval ();
13264 if (i != ((long) (sizeof (short))))
13266 fprintf (f, "%lu\n", i);
13268 exit (ferror (f) || fclose (f) != 0);
13274 rm -f conftest
$ac_exeext
13275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13276 (eval $ac_link) 2>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; }; then
13285 ac_cv_sizeof_short
=`cat conftest.val`
13287 echo "$as_me: program exited with status $ac_status" >&5
13288 echo "$as_me: failed program was:" >&5
13289 sed 's/^/| /' conftest.
$ac_ext >&5
13291 ( exit $ac_status )
13292 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
13293 See \`config.log' for more details." >&5
13294 echo "$as_me: error: cannot compute sizeof (short), 77
13295 See \`config.log' for more details." >&2;}
13296 { (exit 1); exit 1; }; }
13298 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13303 ac_cv_sizeof_short
=0
13306 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
13307 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
13308 cat >>confdefs.h
<<_ACEOF
13309 #define SIZEOF_SHORT $ac_cv_sizeof_short
13313 echo "$as_me:$LINENO: checking for char" >&5
13314 echo $ECHO_N "checking for char... $ECHO_C" >&6
13315 if test "${ac_cv_type_char+set}" = set; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6
13318 cat >conftest.
$ac_ext <<_ACEOF
13321 cat confdefs.h
>>conftest.
$ac_ext
13322 cat >>conftest.
$ac_ext <<_ACEOF
13323 /* end confdefs.h. */
13324 $ac_includes_default
13336 rm -f conftest.
$ac_objext
13337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13338 (eval $ac_compile) 2>conftest.er1
13340 grep -v '^ *+' conftest.er1
>conftest.err
13342 cat conftest.err
>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); } &&
13345 { ac_try
='test -z "$ac_c_werror_flag"
13346 || test ! -s conftest.err'
13347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13348 (eval $ac_try) 2>&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); }; } &&
13352 { ac_try
='test -s conftest.$ac_objext'
13353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13354 (eval $ac_try) 2>&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); }; }; then
13358 ac_cv_type_char
=yes
13360 echo "$as_me: failed program was:" >&5
13361 sed 's/^/| /' conftest.
$ac_ext >&5
13365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13367 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13368 echo "${ECHO_T}$ac_cv_type_char" >&6
13370 echo "$as_me:$LINENO: checking size of char" >&5
13371 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13372 if test "${ac_cv_sizeof_char+set}" = set; then
13373 echo $ECHO_N "(cached) $ECHO_C" >&6
13375 if test "$ac_cv_type_char" = yes; then
13376 # The cast to unsigned long works around a bug in the HP C Compiler
13377 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13378 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13379 # This bug is HP SR number 8606223364.
13380 if test "$cross_compiling" = yes; then
13381 # Depending upon the size, compute the lo and hi bounds.
13382 cat >conftest.
$ac_ext <<_ACEOF
13385 cat confdefs.h
>>conftest.
$ac_ext
13386 cat >>conftest.
$ac_ext <<_ACEOF
13387 /* end confdefs.h. */
13388 $ac_includes_default
13392 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13399 rm -f conftest.
$ac_objext
13400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13401 (eval $ac_compile) 2>conftest.er1
13403 grep -v '^ *+' conftest.er1
>conftest.err
13405 cat conftest.err
>&5
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); } &&
13408 { ac_try
='test -z "$ac_c_werror_flag"
13409 || test ! -s conftest.err'
13410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13411 (eval $ac_try) 2>&5
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); }; } &&
13415 { ac_try
='test -s conftest.$ac_objext'
13416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13417 (eval $ac_try) 2>&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); }; }; then
13423 cat >conftest.
$ac_ext <<_ACEOF
13426 cat confdefs.h
>>conftest.
$ac_ext
13427 cat >>conftest.
$ac_ext <<_ACEOF
13428 /* end confdefs.h. */
13429 $ac_includes_default
13433 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13440 rm -f conftest.
$ac_objext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13442 (eval $ac_compile) 2>conftest.er1
13444 grep -v '^ *+' conftest.er1
>conftest.err
13446 cat conftest.err
>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } &&
13449 { ac_try
='test -z "$ac_c_werror_flag"
13450 || test ! -s conftest.err'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; } &&
13456 { ac_try
='test -s conftest.$ac_objext'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; }; then
13462 ac_hi
=$ac_mid; break
13464 echo "$as_me: failed program was:" >&5
13465 sed 's/^/| /' conftest.
$ac_ext >&5
13467 ac_lo
=`expr $ac_mid + 1`
13468 if test $ac_lo -le $ac_mid; then
13472 ac_mid
=`expr 2 '*' $ac_mid + 1`
13474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.
$ac_ext >&5
13480 cat >conftest.
$ac_ext <<_ACEOF
13483 cat confdefs.h
>>conftest.
$ac_ext
13484 cat >>conftest.
$ac_ext <<_ACEOF
13485 /* end confdefs.h. */
13486 $ac_includes_default
13490 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13497 rm -f conftest.
$ac_objext
13498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13499 (eval $ac_compile) 2>conftest.er1
13501 grep -v '^ *+' conftest.er1
>conftest.err
13503 cat conftest.err
>&5
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); } &&
13506 { ac_try
='test -z "$ac_c_werror_flag"
13507 || test ! -s conftest.err'
13508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13509 (eval $ac_try) 2>&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); }; } &&
13513 { ac_try
='test -s conftest.$ac_objext'
13514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13515 (eval $ac_try) 2>&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); }; }; then
13521 cat >conftest.
$ac_ext <<_ACEOF
13524 cat confdefs.h
>>conftest.
$ac_ext
13525 cat >>conftest.
$ac_ext <<_ACEOF
13526 /* end confdefs.h. */
13527 $ac_includes_default
13531 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13538 rm -f conftest.
$ac_objext
13539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13540 (eval $ac_compile) 2>conftest.er1
13542 grep -v '^ *+' conftest.er1
>conftest.err
13544 cat conftest.err
>&5
13545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13546 (exit $ac_status); } &&
13547 { ac_try
='test -z "$ac_c_werror_flag"
13548 || test ! -s conftest.err'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; } &&
13554 { ac_try
='test -s conftest.$ac_objext'
13555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13556 (eval $ac_try) 2>&5
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); }; }; then
13560 ac_lo
=$ac_mid; break
13562 echo "$as_me: failed program was:" >&5
13563 sed 's/^/| /' conftest.
$ac_ext >&5
13565 ac_hi
=`expr '(' $ac_mid ')' - 1`
13566 if test $ac_mid -le $ac_hi; then
13570 ac_mid
=`expr 2 '*' $ac_mid`
13572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13575 echo "$as_me: failed program was:" >&5
13576 sed 's/^/| /' conftest.
$ac_ext >&5
13580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13583 # Binary search between lo and hi bounds.
13584 while test "x$ac_lo" != "x$ac_hi"; do
13585 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13586 cat >conftest.
$ac_ext <<_ACEOF
13589 cat confdefs.h
>>conftest.
$ac_ext
13590 cat >>conftest.
$ac_ext <<_ACEOF
13591 /* end confdefs.h. */
13592 $ac_includes_default
13596 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13603 rm -f conftest.
$ac_objext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13605 (eval $ac_compile) 2>conftest.er1
13607 grep -v '^ *+' conftest.er1
>conftest.err
13609 cat conftest.err
>&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try
='test -z "$ac_c_werror_flag"
13613 || test ! -s conftest.err'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; } &&
13619 { ac_try
='test -s conftest.$ac_objext'
13620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13621 (eval $ac_try) 2>&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); }; }; then
13627 echo "$as_me: failed program was:" >&5
13628 sed 's/^/| /' conftest.
$ac_ext >&5
13630 ac_lo
=`expr '(' $ac_mid ')' + 1`
13632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13635 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13636 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13637 See \`config.log' for more details." >&5
13638 echo "$as_me: error: cannot compute sizeof (char), 77
13639 See \`config.log' for more details." >&2;}
13640 { (exit 1); exit 1; }; } ;;
13643 if test "$cross_compiling" = yes; then
13644 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13645 See \`config.log' for more details." >&5
13646 echo "$as_me: error: cannot run test program while cross compiling
13647 See \`config.log' for more details." >&2;}
13648 { (exit 1); exit 1; }; }
13650 cat >conftest.
$ac_ext <<_ACEOF
13653 cat confdefs.h
>>conftest.
$ac_ext
13654 cat >>conftest.
$ac_ext <<_ACEOF
13655 /* end confdefs.h. */
13656 $ac_includes_default
13657 long longval () { return (long) (sizeof (char)); }
13658 unsigned long ulongval () { return (long) (sizeof (char)); }
13660 #include <stdlib.h>
13665 FILE *f = fopen ("conftest.val", "w");
13668 if (((long) (sizeof (char))) < 0)
13670 long i = longval ();
13671 if (i != ((long) (sizeof (char))))
13673 fprintf (f, "%ld\n", i);
13677 unsigned long i = ulongval ();
13678 if (i != ((long) (sizeof (char))))
13680 fprintf (f, "%lu\n", i);
13682 exit (ferror (f) || fclose (f) != 0);
13688 rm -f conftest
$ac_exeext
13689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13690 (eval $ac_link) 2>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; }; then
13699 ac_cv_sizeof_char
=`cat conftest.val`
13701 echo "$as_me: program exited with status $ac_status" >&5
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.
$ac_ext >&5
13705 ( exit $ac_status )
13706 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13707 See \`config.log' for more details." >&5
13708 echo "$as_me: error: cannot compute sizeof (char), 77
13709 See \`config.log' for more details." >&2;}
13710 { (exit 1); exit 1; }; }
13712 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13717 ac_cv_sizeof_char
=0
13720 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13721 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13722 cat >>confdefs.h
<<_ACEOF
13723 #define SIZEOF_CHAR $ac_cv_sizeof_char
13728 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
13729 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
13730 case "$ac_cv_sizeof_char" in
13731 1) acx_cv_type_int8_t
=char
;;
13732 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
13733 echo "$as_me: error: no 8-bit type" >&2;}
13734 { (exit please report a bug
); exit please report a bug
; }; }
13736 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
13737 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
13739 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
13740 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
13741 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
13742 2:*) acx_cv_type_int16_t
=int
;;
13743 *:2) acx_cv_type_int16_t
=short
;;
13744 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
13745 echo "$as_me: error: no 16-bit type" >&2;}
13746 { (exit please report a bug
); exit please report a bug
; }; }
13748 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
13749 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
13751 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
13752 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
13753 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
13754 4:*) acx_cv_type_int32_t
=int
;;
13755 *:4) acx_cv_type_int32_t
=long
;;
13756 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
13757 echo "$as_me: error: no 32-bit type" >&2;}
13758 { (exit please report a bug
); exit please report a bug
; }; }
13760 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
13761 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
13764 # These tests are here to make the output prettier
13766 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
13767 case "$ac_cv_sizeof_long" in
13768 8) acx_cv_type_int64_t
=long
;;
13770 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
13771 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
13772 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
13773 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
13776 # Now we can use the above types
13778 if test "$ac_cv_type_uintptr_t" != yes; then
13779 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
13780 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
13781 case $ac_cv_sizeof_void_p in
13782 2) acx_cv_type_intptr_t
=int16_t
;;
13783 4) acx_cv_type_intptr_t
=int32_t
;;
13784 8) acx_cv_type_intptr_t
=int64_t
;;
13785 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
13786 echo "$as_me: error: no equivalent for intptr_t" >&2;}
13787 { (exit please report a bug
); exit please report a bug
; }; }
13789 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
13790 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
13793 # ----------------- done all checks, emit header -------------
13794 ac_config_commands
="$ac_config_commands gdb_stdint.h"
13799 # ------------------------- #
13800 # Checks for declarations. #
13801 # ------------------------- #
13803 echo "$as_me:$LINENO: checking whether free is declared" >&5
13804 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
13805 if test "${ac_cv_have_decl_free+set}" = set; then
13806 echo $ECHO_N "(cached) $ECHO_C" >&6
13808 cat >conftest.
$ac_ext <<_ACEOF
13811 cat confdefs.h
>>conftest.
$ac_ext
13812 cat >>conftest.
$ac_ext <<_ACEOF
13813 /* end confdefs.h. */
13814 $ac_includes_default
13819 char *p = (char *) free;
13826 rm -f conftest.
$ac_objext
13827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13828 (eval $ac_compile) 2>conftest.er1
13830 grep -v '^ *+' conftest.er1
>conftest.err
13832 cat conftest.err
>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); } &&
13835 { ac_try
='test -z "$ac_c_werror_flag"
13836 || test ! -s conftest.err'
13837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13838 (eval $ac_try) 2>&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); }; } &&
13842 { ac_try
='test -s conftest.$ac_objext'
13843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13844 (eval $ac_try) 2>&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; }; then
13848 ac_cv_have_decl_free
=yes
13850 echo "$as_me: failed program was:" >&5
13851 sed 's/^/| /' conftest.
$ac_ext >&5
13853 ac_cv_have_decl_free
=no
13855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13857 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
13858 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
13859 if test $ac_cv_have_decl_free = yes; then
13861 cat >>confdefs.h
<<_ACEOF
13862 #define HAVE_DECL_FREE 1
13867 cat >>confdefs.h
<<_ACEOF
13868 #define HAVE_DECL_FREE 0
13873 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
13874 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
13875 if test "${ac_cv_have_decl_malloc+set}" = set; then
13876 echo $ECHO_N "(cached) $ECHO_C" >&6
13878 cat >conftest.
$ac_ext <<_ACEOF
13881 cat confdefs.h
>>conftest.
$ac_ext
13882 cat >>conftest.
$ac_ext <<_ACEOF
13883 /* end confdefs.h. */
13884 $ac_includes_default
13889 char *p = (char *) malloc;
13896 rm -f conftest.
$ac_objext
13897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13898 (eval $ac_compile) 2>conftest.er1
13900 grep -v '^ *+' conftest.er1
>conftest.err
13902 cat conftest.err
>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); } &&
13905 { ac_try
='test -z "$ac_c_werror_flag"
13906 || test ! -s conftest.err'
13907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13908 (eval $ac_try) 2>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; } &&
13912 { ac_try
='test -s conftest.$ac_objext'
13913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914 (eval $ac_try) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }; }; then
13918 ac_cv_have_decl_malloc
=yes
13920 echo "$as_me: failed program was:" >&5
13921 sed 's/^/| /' conftest.
$ac_ext >&5
13923 ac_cv_have_decl_malloc
=no
13925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13927 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
13928 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
13929 if test $ac_cv_have_decl_malloc = yes; then
13931 cat >>confdefs.h
<<_ACEOF
13932 #define HAVE_DECL_MALLOC 1
13937 cat >>confdefs.h
<<_ACEOF
13938 #define HAVE_DECL_MALLOC 0
13943 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
13944 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
13945 if test "${ac_cv_have_decl_realloc+set}" = set; then
13946 echo $ECHO_N "(cached) $ECHO_C" >&6
13948 cat >conftest.
$ac_ext <<_ACEOF
13951 cat confdefs.h
>>conftest.
$ac_ext
13952 cat >>conftest.
$ac_ext <<_ACEOF
13953 /* end confdefs.h. */
13954 $ac_includes_default
13959 char *p = (char *) realloc;
13966 rm -f conftest.
$ac_objext
13967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13968 (eval $ac_compile) 2>conftest.er1
13970 grep -v '^ *+' conftest.er1
>conftest.err
13972 cat conftest.err
>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); } &&
13975 { ac_try
='test -z "$ac_c_werror_flag"
13976 || test ! -s conftest.err'
13977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978 (eval $ac_try) 2>&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); }; } &&
13982 { ac_try
='test -s conftest.$ac_objext'
13983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13984 (eval $ac_try) 2>&5
13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); }; }; then
13988 ac_cv_have_decl_realloc
=yes
13990 echo "$as_me: failed program was:" >&5
13991 sed 's/^/| /' conftest.
$ac_ext >&5
13993 ac_cv_have_decl_realloc
=no
13995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13997 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
13998 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
13999 if test $ac_cv_have_decl_realloc = yes; then
14001 cat >>confdefs.h
<<_ACEOF
14002 #define HAVE_DECL_REALLOC 1
14007 cat >>confdefs.h
<<_ACEOF
14008 #define HAVE_DECL_REALLOC 0
14015 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
14016 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
14017 if test "${ac_cv_have_decl_strerror+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14020 cat >conftest.
$ac_ext <<_ACEOF
14023 cat confdefs.h
>>conftest.
$ac_ext
14024 cat >>conftest.
$ac_ext <<_ACEOF
14025 /* end confdefs.h. */
14026 $ac_includes_default
14031 char *p = (char *) strerror;
14038 rm -f conftest.
$ac_objext
14039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14040 (eval $ac_compile) 2>conftest.er1
14042 grep -v '^ *+' conftest.er1
>conftest.err
14044 cat conftest.err
>&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); } &&
14047 { ac_try
='test -z "$ac_c_werror_flag"
14048 || test ! -s conftest.err'
14049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14050 (eval $ac_try) 2>&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); }; } &&
14054 { ac_try
='test -s conftest.$ac_objext'
14055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14056 (eval $ac_try) 2>&5
14058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059 (exit $ac_status); }; }; then
14060 ac_cv_have_decl_strerror
=yes
14062 echo "$as_me: failed program was:" >&5
14063 sed 's/^/| /' conftest.
$ac_ext >&5
14065 ac_cv_have_decl_strerror
=no
14067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14069 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
14070 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
14071 if test $ac_cv_have_decl_strerror = yes; then
14073 cat >>confdefs.h
<<_ACEOF
14074 #define HAVE_DECL_STRERROR 1
14079 cat >>confdefs.h
<<_ACEOF
14080 #define HAVE_DECL_STRERROR 0
14085 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
14086 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
14087 if test "${ac_cv_have_decl_strstr+set}" = set; then
14088 echo $ECHO_N "(cached) $ECHO_C" >&6
14090 cat >conftest.
$ac_ext <<_ACEOF
14093 cat confdefs.h
>>conftest.
$ac_ext
14094 cat >>conftest.
$ac_ext <<_ACEOF
14095 /* end confdefs.h. */
14096 $ac_includes_default
14101 char *p = (char *) strstr;
14108 rm -f conftest.
$ac_objext
14109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14110 (eval $ac_compile) 2>conftest.er1
14112 grep -v '^ *+' conftest.er1
>conftest.err
14114 cat conftest.err
>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } &&
14117 { ac_try
='test -z "$ac_c_werror_flag"
14118 || test ! -s conftest.err'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; } &&
14124 { ac_try
='test -s conftest.$ac_objext'
14125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126 (eval $ac_try) 2>&5
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); }; }; then
14130 ac_cv_have_decl_strstr
=yes
14132 echo "$as_me: failed program was:" >&5
14133 sed 's/^/| /' conftest.
$ac_ext >&5
14135 ac_cv_have_decl_strstr
=no
14137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14139 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
14140 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
14141 if test $ac_cv_have_decl_strstr = yes; then
14143 cat >>confdefs.h
<<_ACEOF
14144 #define HAVE_DECL_STRSTR 1
14149 cat >>confdefs.h
<<_ACEOF
14150 #define HAVE_DECL_STRSTR 0
14157 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
14158 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
14159 if test "${ac_cv_have_decl_getopt+set}" = set; then
14160 echo $ECHO_N "(cached) $ECHO_C" >&6
14162 cat >conftest.
$ac_ext <<_ACEOF
14165 cat confdefs.h
>>conftest.
$ac_ext
14166 cat >>conftest.
$ac_ext <<_ACEOF
14167 /* end confdefs.h. */
14168 $ac_includes_default
14173 char *p = (char *) getopt;
14180 rm -f conftest.
$ac_objext
14181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14182 (eval $ac_compile) 2>conftest.er1
14184 grep -v '^ *+' conftest.er1
>conftest.err
14186 cat conftest.err
>&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } &&
14189 { ac_try
='test -z "$ac_c_werror_flag"
14190 || test ! -s conftest.err'
14191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192 (eval $ac_try) 2>&5
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); }; } &&
14196 { ac_try
='test -s conftest.$ac_objext'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; }; then
14202 ac_cv_have_decl_getopt
=yes
14204 echo "$as_me: failed program was:" >&5
14205 sed 's/^/| /' conftest.
$ac_ext >&5
14207 ac_cv_have_decl_getopt
=no
14209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14211 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
14212 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
14213 if test $ac_cv_have_decl_getopt = yes; then
14215 cat >>confdefs.h
<<_ACEOF
14216 #define HAVE_DECL_GETOPT 1
14221 cat >>confdefs.h
<<_ACEOF
14222 #define HAVE_DECL_GETOPT 0
14227 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
14228 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
14229 if test "${ac_cv_have_decl_snprintf+set}" = set; then
14230 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 cat >conftest.
$ac_ext <<_ACEOF
14235 cat confdefs.h
>>conftest.
$ac_ext
14236 cat >>conftest.
$ac_ext <<_ACEOF
14237 /* end confdefs.h. */
14238 $ac_includes_default
14243 char *p = (char *) snprintf;
14250 rm -f conftest.
$ac_objext
14251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14252 (eval $ac_compile) 2>conftest.er1
14254 grep -v '^ *+' conftest.er1
>conftest.err
14256 cat conftest.err
>&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); } &&
14259 { ac_try
='test -z "$ac_c_werror_flag"
14260 || test ! -s conftest.err'
14261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262 (eval $ac_try) 2>&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); }; } &&
14266 { ac_try
='test -s conftest.$ac_objext'
14267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14268 (eval $ac_try) 2>&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); }; }; then
14272 ac_cv_have_decl_snprintf
=yes
14274 echo "$as_me: failed program was:" >&5
14275 sed 's/^/| /' conftest.
$ac_ext >&5
14277 ac_cv_have_decl_snprintf
=no
14279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14281 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
14282 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
14283 if test $ac_cv_have_decl_snprintf = yes; then
14285 cat >>confdefs.h
<<_ACEOF
14286 #define HAVE_DECL_SNPRINTF 1
14291 cat >>confdefs.h
<<_ACEOF
14292 #define HAVE_DECL_SNPRINTF 0
14297 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
14298 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
14299 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
14300 echo $ECHO_N "(cached) $ECHO_C" >&6
14302 cat >conftest.
$ac_ext <<_ACEOF
14305 cat confdefs.h
>>conftest.
$ac_ext
14306 cat >>conftest.
$ac_ext <<_ACEOF
14307 /* end confdefs.h. */
14308 $ac_includes_default
14313 char *p = (char *) vsnprintf;
14320 rm -f conftest.
$ac_objext
14321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14322 (eval $ac_compile) 2>conftest.er1
14324 grep -v '^ *+' conftest.er1
>conftest.err
14326 cat conftest.err
>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); } &&
14329 { ac_try
='test -z "$ac_c_werror_flag"
14330 || test ! -s conftest.err'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; } &&
14336 { ac_try
='test -s conftest.$ac_objext'
14337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14338 (eval $ac_try) 2>&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); }; }; then
14342 ac_cv_have_decl_vsnprintf
=yes
14344 echo "$as_me: failed program was:" >&5
14345 sed 's/^/| /' conftest.
$ac_ext >&5
14347 ac_cv_have_decl_vsnprintf
=no
14349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14351 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
14352 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
14353 if test $ac_cv_have_decl_vsnprintf = yes; then
14355 cat >>confdefs.h
<<_ACEOF
14356 #define HAVE_DECL_VSNPRINTF 1
14361 cat >>confdefs.h
<<_ACEOF
14362 #define HAVE_DECL_VSNPRINTF 0
14370 # ----------------------- #
14371 # Checks for structures. #
14372 # ----------------------- #
14374 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
14375 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
14376 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
14377 echo $ECHO_N "(cached) $ECHO_C" >&6
14379 cat >conftest.
$ac_ext <<_ACEOF
14382 cat confdefs.h
>>conftest.
$ac_ext
14383 cat >>conftest.
$ac_ext <<_ACEOF
14384 /* end confdefs.h. */
14385 $ac_includes_default
14389 static struct stat ac_aggr;
14390 if (ac_aggr.st_blocks)
14396 rm -f conftest.
$ac_objext
14397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14398 (eval $ac_compile) 2>conftest.er1
14400 grep -v '^ *+' conftest.er1
>conftest.err
14402 cat conftest.err
>&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); } &&
14405 { ac_try
='test -z "$ac_c_werror_flag"
14406 || test ! -s conftest.err'
14407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14408 (eval $ac_try) 2>&5
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }; } &&
14412 { ac_try
='test -s conftest.$ac_objext'
14413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14414 (eval $ac_try) 2>&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); }; }; then
14418 ac_cv_member_struct_stat_st_blocks
=yes
14420 echo "$as_me: failed program was:" >&5
14421 sed 's/^/| /' conftest.
$ac_ext >&5
14423 cat >conftest.
$ac_ext <<_ACEOF
14426 cat confdefs.h
>>conftest.
$ac_ext
14427 cat >>conftest.
$ac_ext <<_ACEOF
14428 /* end confdefs.h. */
14429 $ac_includes_default
14433 static struct stat ac_aggr;
14434 if (sizeof ac_aggr.st_blocks)
14440 rm -f conftest.
$ac_objext
14441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14442 (eval $ac_compile) 2>conftest.er1
14444 grep -v '^ *+' conftest.er1
>conftest.err
14446 cat conftest.err
>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); } &&
14449 { ac_try
='test -z "$ac_c_werror_flag"
14450 || test ! -s conftest.err'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; } &&
14456 { ac_try
='test -s conftest.$ac_objext'
14457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14458 (eval $ac_try) 2>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); }; }; then
14462 ac_cv_member_struct_stat_st_blocks
=yes
14464 echo "$as_me: failed program was:" >&5
14465 sed 's/^/| /' conftest.
$ac_ext >&5
14467 ac_cv_member_struct_stat_st_blocks
=no
14469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14473 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
14474 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
14475 if test $ac_cv_member_struct_stat_st_blocks = yes; then
14477 cat >>confdefs.h
<<_ACEOF
14478 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14484 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
14485 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
14486 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
14487 echo $ECHO_N "(cached) $ECHO_C" >&6
14489 cat >conftest.
$ac_ext <<_ACEOF
14492 cat confdefs.h
>>conftest.
$ac_ext
14493 cat >>conftest.
$ac_ext <<_ACEOF
14494 /* end confdefs.h. */
14495 $ac_includes_default
14499 static struct stat ac_aggr;
14500 if (ac_aggr.st_blksize)
14506 rm -f conftest.
$ac_objext
14507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14508 (eval $ac_compile) 2>conftest.er1
14510 grep -v '^ *+' conftest.er1
>conftest.err
14512 cat conftest.err
>&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); } &&
14515 { ac_try
='test -z "$ac_c_werror_flag"
14516 || test ! -s conftest.err'
14517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14518 (eval $ac_try) 2>&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); }; } &&
14522 { ac_try
='test -s conftest.$ac_objext'
14523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; }; then
14528 ac_cv_member_struct_stat_st_blksize
=yes
14530 echo "$as_me: failed program was:" >&5
14531 sed 's/^/| /' conftest.
$ac_ext >&5
14533 cat >conftest.
$ac_ext <<_ACEOF
14536 cat confdefs.h
>>conftest.
$ac_ext
14537 cat >>conftest.
$ac_ext <<_ACEOF
14538 /* end confdefs.h. */
14539 $ac_includes_default
14543 static struct stat ac_aggr;
14544 if (sizeof ac_aggr.st_blksize)
14550 rm -f conftest.
$ac_objext
14551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14552 (eval $ac_compile) 2>conftest.er1
14554 grep -v '^ *+' conftest.er1
>conftest.err
14556 cat conftest.err
>&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); } &&
14559 { ac_try
='test -z "$ac_c_werror_flag"
14560 || test ! -s conftest.err'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; } &&
14566 { ac_try
='test -s conftest.$ac_objext'
14567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14568 (eval $ac_try) 2>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; }; then
14572 ac_cv_member_struct_stat_st_blksize
=yes
14574 echo "$as_me: failed program was:" >&5
14575 sed 's/^/| /' conftest.
$ac_ext >&5
14577 ac_cv_member_struct_stat_st_blksize
=no
14579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14583 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
14584 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
14585 if test $ac_cv_member_struct_stat_st_blksize = yes; then
14587 cat >>confdefs.h
<<_ACEOF
14588 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
14595 # ------------------ #
14596 # Checks for types. #
14597 # ------------------ #
14599 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
14600 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
14601 if test "${ac_cv_type_signal+set}" = set; then
14602 echo $ECHO_N "(cached) $ECHO_C" >&6
14604 cat >conftest.
$ac_ext <<_ACEOF
14607 cat confdefs.h
>>conftest.
$ac_ext
14608 cat >>conftest.
$ac_ext <<_ACEOF
14609 /* end confdefs.h. */
14610 #include <sys/types.h>
14611 #include <signal.h>
14616 extern "C" void (*signal (int, void (*)(int)))(int);
14618 void (*signal ()) ();
14629 rm -f conftest.
$ac_objext
14630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14631 (eval $ac_compile) 2>conftest.er1
14633 grep -v '^ *+' conftest.er1
>conftest.err
14635 cat conftest.err
>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } &&
14638 { ac_try
='test -z "$ac_c_werror_flag"
14639 || test ! -s conftest.err'
14640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641 (eval $ac_try) 2>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; } &&
14645 { ac_try
='test -s conftest.$ac_objext'
14646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 (eval $ac_try) 2>&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); }; }; then
14651 ac_cv_type_signal
=void
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.
$ac_ext >&5
14656 ac_cv_type_signal
=int
14658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14660 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
14661 echo "${ECHO_T}$ac_cv_type_signal" >&6
14663 cat >>confdefs.h
<<_ACEOF
14664 #define RETSIGTYPE $ac_cv_type_signal
14668 echo "$as_me:$LINENO: checking for socklen_t" >&5
14669 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
14670 if test "${ac_cv_type_socklen_t+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 cat >conftest.
$ac_ext <<_ACEOF
14676 cat confdefs.h
>>conftest.
$ac_ext
14677 cat >>conftest.
$ac_ext <<_ACEOF
14678 /* end confdefs.h. */
14679 #include <sys/types.h>
14680 #include <sys/socket.h>
14686 if ((socklen_t *) 0)
14688 if (sizeof (socklen_t))
14694 rm -f conftest.
$ac_objext
14695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14696 (eval $ac_compile) 2>conftest.er1
14698 grep -v '^ *+' conftest.er1
>conftest.err
14700 cat conftest.err
>&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); } &&
14703 { ac_try
='test -z "$ac_c_werror_flag"
14704 || test ! -s conftest.err'
14705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14706 (eval $ac_try) 2>&5
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); }; } &&
14710 { ac_try
='test -s conftest.$ac_objext'
14711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14712 (eval $ac_try) 2>&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); }; }; then
14716 ac_cv_type_socklen_t
=yes
14718 echo "$as_me: failed program was:" >&5
14719 sed 's/^/| /' conftest.
$ac_ext >&5
14721 ac_cv_type_socklen_t
=no
14723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14725 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
14726 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
14727 if test $ac_cv_type_socklen_t = yes; then
14729 cat >>confdefs.h
<<_ACEOF
14730 #define HAVE_SOCKLEN_T 1
14736 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14737 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14738 if test "${ac_cv_type_uintptr_t+set}" = set; then
14739 echo $ECHO_N "(cached) $ECHO_C" >&6
14741 cat >conftest.
$ac_ext <<_ACEOF
14744 cat confdefs.h
>>conftest.
$ac_ext
14745 cat >>conftest.
$ac_ext <<_ACEOF
14746 /* end confdefs.h. */
14747 #include <stdint.h>
14752 if ((uintptr_t *) 0)
14754 if (sizeof (uintptr_t))
14760 rm -f conftest.
$ac_objext
14761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14762 (eval $ac_compile) 2>conftest.er1
14764 grep -v '^ *+' conftest.er1
>conftest.err
14766 cat conftest.err
>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } &&
14769 { ac_try
='test -z "$ac_c_werror_flag"
14770 || test ! -s conftest.err'
14771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14772 (eval $ac_try) 2>&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); }; } &&
14776 { ac_try
='test -s conftest.$ac_objext'
14777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14778 (eval $ac_try) 2>&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); }; }; then
14782 ac_cv_type_uintptr_t
=yes
14784 echo "$as_me: failed program was:" >&5
14785 sed 's/^/| /' conftest.
$ac_ext >&5
14787 ac_cv_type_uintptr_t
=no
14789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14791 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14792 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14793 if test $ac_cv_type_uintptr_t = yes; then
14795 cat >>confdefs.h
<<_ACEOF
14796 #define HAVE_UINTPTR_T 1
14803 # ------------------------------------- #
14804 # Checks for compiler characteristics. #
14805 # ------------------------------------- #
14807 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14808 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14809 if test "${ac_cv_c_const+set}" = set; then
14810 echo $ECHO_N "(cached) $ECHO_C" >&6
14812 cat >conftest.
$ac_ext <<_ACEOF
14815 cat confdefs.h
>>conftest.
$ac_ext
14816 cat >>conftest.
$ac_ext <<_ACEOF
14817 /* end confdefs.h. */
14822 /* FIXME: Include the comments suggested by Paul. */
14823 #ifndef __cplusplus
14824 /* Ultrix mips cc rejects this. */
14825 typedef int charset[2];
14827 /* SunOS 4.1.1 cc rejects this. */
14828 char const *const *ccp;
14830 /* NEC SVR4.0.2 mips cc rejects this. */
14831 struct point {int x, y;};
14832 static struct point const zero = {0,0};
14833 /* AIX XL C 1.02.0.0 rejects this.
14834 It does not let you subtract one const X* pointer from another in
14835 an arm of an if-expression whose if-part is not a constant
14837 const char *g = "string";
14838 ccp = &g + (g ? g-g : 0);
14839 /* HPUX 7.0 cc rejects these. */
14842 ccp = (char const *const *) p;
14843 { /* SCO 3.2v4 cc rejects this. */
14845 char const *s = 0 ? (char *) 0 : (char const *) 0;
14849 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14850 int x[] = {25, 17};
14851 const int *foo = &x[0];
14854 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14855 typedef const int *iptr;
14859 { /* AIX XL C 1.02.0.0 rejects this saying
14860 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14861 struct s { int j; const int *ap[3]; };
14862 struct s *b; b->j = 5;
14864 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14865 const int foo = 10;
14873 rm -f conftest.
$ac_objext
14874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14875 (eval $ac_compile) 2>conftest.er1
14877 grep -v '^ *+' conftest.er1
>conftest.err
14879 cat conftest.err
>&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } &&
14882 { ac_try
='test -z "$ac_c_werror_flag"
14883 || test ! -s conftest.err'
14884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14885 (eval $ac_try) 2>&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); }; } &&
14889 { ac_try
='test -s conftest.$ac_objext'
14890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14891 (eval $ac_try) 2>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); }; }; then
14897 echo "$as_me: failed program was:" >&5
14898 sed 's/^/| /' conftest.
$ac_ext >&5
14902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14904 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14905 echo "${ECHO_T}$ac_cv_c_const" >&6
14906 if test $ac_cv_c_const = no
; then
14908 cat >>confdefs.h
<<\_ACEOF
14914 echo "$as_me:$LINENO: checking for inline" >&5
14915 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14916 if test "${ac_cv_c_inline+set}" = set; then
14917 echo $ECHO_N "(cached) $ECHO_C" >&6
14920 for ac_kw
in inline __inline__ __inline
; do
14921 cat >conftest.
$ac_ext <<_ACEOF
14924 cat confdefs.h
>>conftest.
$ac_ext
14925 cat >>conftest.
$ac_ext <<_ACEOF
14926 /* end confdefs.h. */
14927 #ifndef __cplusplus
14929 static $ac_kw foo_t static_foo () {return 0; }
14930 $ac_kw foo_t foo () {return 0; }
14934 rm -f conftest.
$ac_objext
14935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14936 (eval $ac_compile) 2>conftest.er1
14938 grep -v '^ *+' conftest.er1
>conftest.err
14940 cat conftest.err
>&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); } &&
14943 { ac_try
='test -z "$ac_c_werror_flag"
14944 || test ! -s conftest.err'
14945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14946 (eval $ac_try) 2>&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); }; } &&
14950 { ac_try
='test -s conftest.$ac_objext'
14951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14952 (eval $ac_try) 2>&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); }; }; then
14956 ac_cv_c_inline
=$ac_kw; break
14958 echo "$as_me: failed program was:" >&5
14959 sed 's/^/| /' conftest.
$ac_ext >&5
14962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14966 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14967 echo "${ECHO_T}$ac_cv_c_inline" >&6
14970 case $ac_cv_c_inline in
14973 case $ac_cv_c_inline in
14975 *) ac_val
=$ac_cv_c_inline;;
14977 cat >>confdefs.h
<<_ACEOF
14978 #ifndef __cplusplus
14979 #define inline $ac_val
14986 # ------------------------------ #
14987 # Checks for library functions. #
14988 # ------------------------------ #
14990 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14991 # for constant arguments. Useless!
14992 echo "$as_me:$LINENO: checking for working alloca.h" >&5
14993 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
14994 if test "${ac_cv_working_alloca_h+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 cat >conftest.
$ac_ext <<_ACEOF
15000 cat confdefs.h
>>conftest.
$ac_ext
15001 cat >>conftest.
$ac_ext <<_ACEOF
15002 /* end confdefs.h. */
15003 #include <alloca.h>
15007 char *p = (char *) alloca (2 * sizeof (int));
15012 rm -f conftest.
$ac_objext conftest
$ac_exeext
15013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15014 (eval $ac_link) 2>conftest.er1
15016 grep -v '^ *+' conftest.er1
>conftest.err
15018 cat conftest.err
>&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); } &&
15021 { ac_try
='test -z "$ac_c_werror_flag"
15022 || test ! -s conftest.err'
15023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15024 (eval $ac_try) 2>&5
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); }; } &&
15028 { ac_try
='test -s conftest$ac_exeext'
15029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15030 (eval $ac_try) 2>&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); }; }; then
15034 ac_cv_working_alloca_h
=yes
15036 echo "$as_me: failed program was:" >&5
15037 sed 's/^/| /' conftest.
$ac_ext >&5
15039 ac_cv_working_alloca_h
=no
15041 rm -f conftest.err conftest.
$ac_objext \
15042 conftest
$ac_exeext conftest.
$ac_ext
15044 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15045 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15046 if test $ac_cv_working_alloca_h = yes; then
15048 cat >>confdefs.h
<<\_ACEOF
15049 #define HAVE_ALLOCA_H 1
15054 echo "$as_me:$LINENO: checking for alloca" >&5
15055 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15056 if test "${ac_cv_func_alloca_works+set}" = set; then
15057 echo $ECHO_N "(cached) $ECHO_C" >&6
15059 cat >conftest.
$ac_ext <<_ACEOF
15062 cat confdefs.h
>>conftest.
$ac_ext
15063 cat >>conftest.
$ac_ext <<_ACEOF
15064 /* end confdefs.h. */
15066 # define alloca __builtin_alloca
15069 # include <malloc.h>
15070 # define alloca _alloca
15073 # include <alloca.h>
15078 # ifndef alloca /* predefined by HP cc +Olibcalls */
15089 char *p = (char *) alloca (1);
15094 rm -f conftest.
$ac_objext conftest
$ac_exeext
15095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15096 (eval $ac_link) 2>conftest.er1
15098 grep -v '^ *+' conftest.er1
>conftest.err
15100 cat conftest.err
>&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); } &&
15103 { ac_try
='test -z "$ac_c_werror_flag"
15104 || test ! -s conftest.err'
15105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15106 (eval $ac_try) 2>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; } &&
15110 { ac_try
='test -s conftest$ac_exeext'
15111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15112 (eval $ac_try) 2>&5
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; }; then
15116 ac_cv_func_alloca_works
=yes
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.
$ac_ext >&5
15121 ac_cv_func_alloca_works
=no
15123 rm -f conftest.err conftest.
$ac_objext \
15124 conftest
$ac_exeext conftest.
$ac_ext
15126 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15127 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15129 if test $ac_cv_func_alloca_works = yes; then
15131 cat >>confdefs.h
<<\_ACEOF
15132 #define HAVE_ALLOCA 1
15136 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15137 # that cause trouble. Some versions do not even contain alloca or
15138 # contain a buggy version. If you still want to use their alloca,
15139 # use ar to extract alloca.o from them instead of compiling alloca.c.
15141 ALLOCA
=alloca.
$ac_objext
15143 cat >>confdefs.h
<<\_ACEOF
15148 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15149 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15150 if test "${ac_cv_os_cray+set}" = set; then
15151 echo $ECHO_N "(cached) $ECHO_C" >&6
15153 cat >conftest.
$ac_ext <<_ACEOF
15156 cat confdefs.h
>>conftest.
$ac_ext
15157 cat >>conftest.
$ac_ext <<_ACEOF
15158 /* end confdefs.h. */
15159 #if defined(CRAY) && ! defined(CRAY2)
15166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15167 $EGREP "webecray" >/dev
/null
2>&1; then
15175 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15176 echo "${ECHO_T}$ac_cv_os_cray" >&6
15177 if test $ac_cv_os_cray = yes; then
15178 for ac_func
in _getb67 GETB67 getb67
; do
15179 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15180 echo "$as_me:$LINENO: checking for $ac_func" >&5
15181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15182 if eval "test \"\${$as_ac_var+set}\" = set"; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 cat >conftest.
$ac_ext <<_ACEOF
15188 cat confdefs.h
>>conftest.
$ac_ext
15189 cat >>conftest.
$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15193 #define $ac_func innocuous_$ac_func
15195 /* System header to define __stub macros and hopefully few prototypes,
15196 which can conflict with char $ac_func (); below.
15197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15198 <limits.h> exists even on freestanding compilers. */
15201 # include <limits.h>
15203 # include <assert.h>
15208 /* Override any gcc2 internal prototype to avoid an error. */
15213 /* We use char because int might match the return type of a gcc2
15214 builtin and then its argument prototype would still apply. */
15216 /* The GNU C library defines this for functions which it implements
15217 to always fail with ENOSYS. Some functions are actually named
15218 something starting with __ and the normal name is an alias. */
15219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15222 char (*f) () = $ac_func;
15231 return f != $ac_func;
15236 rm -f conftest.
$ac_objext conftest
$ac_exeext
15237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15238 (eval $ac_link) 2>conftest.er1
15240 grep -v '^ *+' conftest.er1
>conftest.err
15242 cat conftest.err
>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); } &&
15245 { ac_try
='test -z "$ac_c_werror_flag"
15246 || test ! -s conftest.err'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; } &&
15252 { ac_try
='test -s conftest$ac_exeext'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 eval "$as_ac_var=yes"
15260 echo "$as_me: failed program was:" >&5
15261 sed 's/^/| /' conftest.
$ac_ext >&5
15263 eval "$as_ac_var=no"
15265 rm -f conftest.err conftest.
$ac_objext \
15266 conftest
$ac_exeext conftest.
$ac_ext
15268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15270 if test `eval echo '${'$as_ac_var'}'` = yes; then
15272 cat >>confdefs.h
<<_ACEOF
15273 #define CRAY_STACKSEG_END $ac_func
15282 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15283 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15284 if test "${ac_cv_c_stack_direction+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15287 if test "$cross_compiling" = yes; then
15288 ac_cv_c_stack_direction
=0
15290 cat >conftest.
$ac_ext <<_ACEOF
15293 cat confdefs.h
>>conftest.
$ac_ext
15294 cat >>conftest.
$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15297 find_stack_direction ()
15299 static char *addr = 0;
15304 return find_stack_direction ();
15307 return (&dummy > addr) ? 1 : -1;
15313 exit (find_stack_direction () < 0);
15316 rm -f conftest
$ac_exeext
15317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15318 (eval $ac_link) 2>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; }; then
15327 ac_cv_c_stack_direction
=1
15329 echo "$as_me: program exited with status $ac_status" >&5
15330 echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.
$ac_ext >&5
15333 ( exit $ac_status )
15334 ac_cv_c_stack_direction
=-1
15336 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15339 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15340 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15342 cat >>confdefs.h
<<_ACEOF
15343 #define STACK_DIRECTION $ac_cv_c_stack_direction
15351 for ac_header
in stdlib.h unistd.h
15353 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15355 echo "$as_me:$LINENO: checking for $ac_header" >&5
15356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15358 echo $ECHO_N "(cached) $ECHO_C" >&6
15360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15363 # Is the header compilable?
15364 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15366 cat >conftest.
$ac_ext <<_ACEOF
15369 cat confdefs.h
>>conftest.
$ac_ext
15370 cat >>conftest.
$ac_ext <<_ACEOF
15371 /* end confdefs.h. */
15372 $ac_includes_default
15373 #include <$ac_header>
15375 rm -f conftest.
$ac_objext
15376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15377 (eval $ac_compile) 2>conftest.er1
15379 grep -v '^ *+' conftest.er1
>conftest.err
15381 cat conftest.err
>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } &&
15384 { ac_try
='test -z "$ac_c_werror_flag"
15385 || test ! -s conftest.err'
15386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15387 (eval $ac_try) 2>&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); }; } &&
15391 { ac_try
='test -s conftest.$ac_objext'
15392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15393 (eval $ac_try) 2>&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); }; }; then
15397 ac_header_compiler
=yes
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.
$ac_ext >&5
15402 ac_header_compiler
=no
15404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15406 echo "${ECHO_T}$ac_header_compiler" >&6
15408 # Is the header present?
15409 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15411 cat >conftest.
$ac_ext <<_ACEOF
15414 cat confdefs.h
>>conftest.
$ac_ext
15415 cat >>conftest.
$ac_ext <<_ACEOF
15416 /* end confdefs.h. */
15417 #include <$ac_header>
15419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15422 grep -v '^ *+' conftest.er1
>conftest.err
15424 cat conftest.err
>&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); } >/dev
/null
; then
15427 if test -s conftest.err
; then
15428 ac_cpp_err
=$ac_c_preproc_warn_flag
15429 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15436 if test -z "$ac_cpp_err"; then
15437 ac_header_preproc
=yes
15439 echo "$as_me: failed program was:" >&5
15440 sed 's/^/| /' conftest.
$ac_ext >&5
15442 ac_header_preproc
=no
15444 rm -f conftest.err conftest.
$ac_ext
15445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15446 echo "${ECHO_T}$ac_header_preproc" >&6
15448 # So? What about this header?
15449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15451 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15454 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15455 ac_header_preproc
=yes
15458 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15459 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15460 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15461 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15462 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15463 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15464 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15465 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15468 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15469 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15472 ## ------------------------------------------ ##
15473 ## Report this to the AC_PACKAGE_NAME lists. ##
15474 ## ------------------------------------------ ##
15477 sed "s/^/$as_me: WARNING: /" >&2
15480 echo "$as_me:$LINENO: checking for $ac_header" >&5
15481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15483 echo $ECHO_N "(cached) $ECHO_C" >&6
15485 eval "$as_ac_Header=\$ac_header_preproc"
15487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15492 cat >>confdefs.h
<<_ACEOF
15493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15501 for ac_func
in getpagesize
15503 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15504 echo "$as_me:$LINENO: checking for $ac_func" >&5
15505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15506 if eval "test \"\${$as_ac_var+set}\" = set"; then
15507 echo $ECHO_N "(cached) $ECHO_C" >&6
15509 cat >conftest.
$ac_ext <<_ACEOF
15512 cat confdefs.h
>>conftest.
$ac_ext
15513 cat >>conftest.
$ac_ext <<_ACEOF
15514 /* end confdefs.h. */
15515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15517 #define $ac_func innocuous_$ac_func
15519 /* System header to define __stub macros and hopefully few prototypes,
15520 which can conflict with char $ac_func (); below.
15521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15522 <limits.h> exists even on freestanding compilers. */
15525 # include <limits.h>
15527 # include <assert.h>
15532 /* Override any gcc2 internal prototype to avoid an error. */
15537 /* We use char because int might match the return type of a gcc2
15538 builtin and then its argument prototype would still apply. */
15540 /* The GNU C library defines this for functions which it implements
15541 to always fail with ENOSYS. Some functions are actually named
15542 something starting with __ and the normal name is an alias. */
15543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15546 char (*f) () = $ac_func;
15555 return f != $ac_func;
15560 rm -f conftest.
$ac_objext conftest
$ac_exeext
15561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15562 (eval $ac_link) 2>conftest.er1
15564 grep -v '^ *+' conftest.er1
>conftest.err
15566 cat conftest.err
>&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } &&
15569 { ac_try
='test -z "$ac_c_werror_flag"
15570 || test ! -s conftest.err'
15571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15572 (eval $ac_try) 2>&5
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; } &&
15576 { ac_try
='test -s conftest$ac_exeext'
15577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15578 (eval $ac_try) 2>&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); }; }; then
15582 eval "$as_ac_var=yes"
15584 echo "$as_me: failed program was:" >&5
15585 sed 's/^/| /' conftest.
$ac_ext >&5
15587 eval "$as_ac_var=no"
15589 rm -f conftest.err conftest.
$ac_objext \
15590 conftest
$ac_exeext conftest.
$ac_ext
15592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15594 if test `eval echo '${'$as_ac_var'}'` = yes; then
15595 cat >>confdefs.h
<<_ACEOF
15596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15602 echo "$as_me:$LINENO: checking for working mmap" >&5
15603 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
15604 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
15605 echo $ECHO_N "(cached) $ECHO_C" >&6
15607 if test "$cross_compiling" = yes; then
15608 ac_cv_func_mmap_fixed_mapped
=no
15610 cat >conftest.
$ac_ext <<_ACEOF
15613 cat confdefs.h
>>conftest.
$ac_ext
15614 cat >>conftest.
$ac_ext <<_ACEOF
15615 /* end confdefs.h. */
15616 $ac_includes_default
15617 /* malloc might have been renamed as rpl_malloc. */
15620 /* Thanks to Mike Haertel and Jim Avera for this test.
15621 Here is a matrix of mmap possibilities:
15622 mmap private not fixed
15623 mmap private fixed at somewhere currently unmapped
15624 mmap private fixed at somewhere already mapped
15625 mmap shared not fixed
15626 mmap shared fixed at somewhere currently unmapped
15627 mmap shared fixed at somewhere already mapped
15628 For private mappings, we should verify that changes cannot be read()
15629 back from the file, nor mmap's back from the file at a different
15630 address. (There have been systems where private was not correctly
15631 implemented like the infamous i386 svr4.0, and systems where the
15632 VM page cache was not coherent with the file system buffer cache
15633 like early versions of FreeBSD and possibly contemporary NetBSD.)
15634 For shared mappings, we should conversely verify that changes get
15635 propagated back to all the places they're supposed to be.
15637 Grep wants private fixed already mapped.
15638 The main things grep needs to know about mmap are:
15639 * does it exist and is it safe to write into the mmap'd area
15640 * how to use it (BSD variants) */
15643 #include <sys/mman.h>
15645 #if !STDC_HEADERS && !HAVE_STDLIB_H
15649 /* This mess was copied from the GNU getpagesize.h. */
15650 #if !HAVE_GETPAGESIZE
15651 /* Assume that all systems that can run configure have sys/param.h. */
15652 # if !HAVE_SYS_PARAM_H
15653 # define HAVE_SYS_PARAM_H 1
15656 # ifdef _SC_PAGESIZE
15657 # define getpagesize() sysconf(_SC_PAGESIZE)
15658 # else /* no _SC_PAGESIZE */
15659 # if HAVE_SYS_PARAM_H
15660 # include <sys/param.h>
15661 # ifdef EXEC_PAGESIZE
15662 # define getpagesize() EXEC_PAGESIZE
15663 # else /* no EXEC_PAGESIZE */
15665 # define getpagesize() NBPG * CLSIZE
15668 # endif /* no CLSIZE */
15669 # else /* no NBPG */
15671 # define getpagesize() NBPC
15672 # else /* no NBPC */
15674 # define getpagesize() PAGESIZE
15675 # endif /* PAGESIZE */
15676 # endif /* no NBPC */
15677 # endif /* no NBPG */
15678 # endif /* no EXEC_PAGESIZE */
15679 # else /* no HAVE_SYS_PARAM_H */
15680 # define getpagesize() 8192 /* punt totally */
15681 # endif /* no HAVE_SYS_PARAM_H */
15682 # endif /* no _SC_PAGESIZE */
15684 #endif /* no HAVE_GETPAGESIZE */
15689 char *data, *data2, *data3;
15693 pagesize = getpagesize ();
15695 /* First, make a file with some known garbage in it. */
15696 data = (char *) malloc (pagesize);
15699 for (i = 0; i < pagesize; ++i)
15700 *(data + i) = rand ();
15702 fd = creat ("conftest.mmap", 0600);
15705 if (write (fd, data, pagesize) != pagesize)
15709 /* Next, try to mmap the file at a fixed address which already has
15710 something else allocated at it. If we can, also make sure that
15711 we see the same garbage. */
15712 fd = open ("conftest.mmap", O_RDWR);
15715 data2 = (char *) malloc (2 * pagesize);
15718 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
15719 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
15720 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15722 for (i = 0; i < pagesize; ++i)
15723 if (*(data + i) != *(data2 + i))
15726 /* Finally, make sure that changes to the mapped area do not
15727 percolate back to the file as seen by read(). (This is a bug on
15728 some variants of i386 svr4.0.) */
15729 for (i = 0; i < pagesize; ++i)
15730 *(data2 + i) = *(data2 + i) + 1;
15731 data3 = (char *) malloc (pagesize);
15734 if (read (fd, data3, pagesize) != pagesize)
15736 for (i = 0; i < pagesize; ++i)
15737 if (*(data + i) != *(data3 + i))
15743 rm -f conftest
$ac_exeext
15744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15745 (eval $ac_link) 2>&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15754 ac_cv_func_mmap_fixed_mapped
=yes
15756 echo "$as_me: program exited with status $ac_status" >&5
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.
$ac_ext >&5
15760 ( exit $ac_status )
15761 ac_cv_func_mmap_fixed_mapped
=no
15763 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15766 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
15767 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
15768 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15770 cat >>confdefs.h
<<\_ACEOF
15771 #define HAVE_MMAP 1
15775 rm -f conftest.mmap
15777 echo "$as_me:$LINENO: checking for pid_t" >&5
15778 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
15779 if test "${ac_cv_type_pid_t+set}" = set; then
15780 echo $ECHO_N "(cached) $ECHO_C" >&6
15782 cat >conftest.
$ac_ext <<_ACEOF
15785 cat confdefs.h
>>conftest.
$ac_ext
15786 cat >>conftest.
$ac_ext <<_ACEOF
15787 /* end confdefs.h. */
15788 $ac_includes_default
15794 if (sizeof (pid_t))
15800 rm -f conftest.
$ac_objext
15801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15802 (eval $ac_compile) 2>conftest.er1
15804 grep -v '^ *+' conftest.er1
>conftest.err
15806 cat conftest.err
>&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } &&
15809 { ac_try
='test -z "$ac_c_werror_flag"
15810 || test ! -s conftest.err'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; } &&
15816 { ac_try
='test -s conftest.$ac_objext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_cv_type_pid_t
=yes
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.
$ac_ext >&5
15827 ac_cv_type_pid_t
=no
15829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15831 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
15832 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
15833 if test $ac_cv_type_pid_t = yes; then
15837 cat >>confdefs.h
<<_ACEOF
15845 for ac_header
in unistd.h vfork.h
15847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15849 echo "$as_me:$LINENO: checking for $ac_header" >&5
15850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15852 echo $ECHO_N "(cached) $ECHO_C" >&6
15854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15857 # Is the header compilable?
15858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15860 cat >conftest.
$ac_ext <<_ACEOF
15863 cat confdefs.h
>>conftest.
$ac_ext
15864 cat >>conftest.
$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15866 $ac_includes_default
15867 #include <$ac_header>
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_header_compiler
=yes
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.
$ac_ext >&5
15896 ac_header_compiler
=no
15898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15900 echo "${ECHO_T}$ac_header_compiler" >&6
15902 # Is the header present?
15903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15905 cat >conftest.
$ac_ext <<_ACEOF
15908 cat confdefs.h
>>conftest.
$ac_ext
15909 cat >>conftest.
$ac_ext <<_ACEOF
15910 /* end confdefs.h. */
15911 #include <$ac_header>
15913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15914 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15916 grep -v '^ *+' conftest.er1
>conftest.err
15918 cat conftest.err
>&5
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); } >/dev
/null
; then
15921 if test -s conftest.err
; then
15922 ac_cpp_err
=$ac_c_preproc_warn_flag
15923 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15930 if test -z "$ac_cpp_err"; then
15931 ac_header_preproc
=yes
15933 echo "$as_me: failed program was:" >&5
15934 sed 's/^/| /' conftest.
$ac_ext >&5
15936 ac_header_preproc
=no
15938 rm -f conftest.err conftest.
$ac_ext
15939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15940 echo "${ECHO_T}$ac_header_preproc" >&6
15942 # So? What about this header?
15943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15949 ac_header_preproc
=yes
15952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15956 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15958 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15959 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15962 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15966 ## ------------------------------------------ ##
15967 ## Report this to the AC_PACKAGE_NAME lists. ##
15968 ## ------------------------------------------ ##
15971 sed "s/^/$as_me: WARNING: /" >&2
15974 echo "$as_me:$LINENO: checking for $ac_header" >&5
15975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15979 eval "$as_ac_Header=\$ac_header_preproc"
15981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15986 cat >>confdefs.h
<<_ACEOF
15987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15996 for ac_func
in fork vfork
15998 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15999 echo "$as_me:$LINENO: checking for $ac_func" >&5
16000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16001 if eval "test \"\${$as_ac_var+set}\" = set"; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16004 cat >conftest.
$ac_ext <<_ACEOF
16007 cat confdefs.h
>>conftest.
$ac_ext
16008 cat >>conftest.
$ac_ext <<_ACEOF
16009 /* end confdefs.h. */
16010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16012 #define $ac_func innocuous_$ac_func
16014 /* System header to define __stub macros and hopefully few prototypes,
16015 which can conflict with char $ac_func (); below.
16016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16017 <limits.h> exists even on freestanding compilers. */
16020 # include <limits.h>
16022 # include <assert.h>
16027 /* Override any gcc2 internal prototype to avoid an error. */
16032 /* We use char because int might match the return type of a gcc2
16033 builtin and then its argument prototype would still apply. */
16035 /* The GNU C library defines this for functions which it implements
16036 to always fail with ENOSYS. Some functions are actually named
16037 something starting with __ and the normal name is an alias. */
16038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16041 char (*f) () = $ac_func;
16050 return f != $ac_func;
16055 rm -f conftest.
$ac_objext conftest
$ac_exeext
16056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16057 (eval $ac_link) 2>conftest.er1
16059 grep -v '^ *+' conftest.er1
>conftest.err
16061 cat conftest.err
>&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); } &&
16064 { ac_try
='test -z "$ac_c_werror_flag"
16065 || test ! -s conftest.err'
16066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16067 (eval $ac_try) 2>&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); }; } &&
16071 { ac_try
='test -s conftest$ac_exeext'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; }; then
16077 eval "$as_ac_var=yes"
16079 echo "$as_me: failed program was:" >&5
16080 sed 's/^/| /' conftest.
$ac_ext >&5
16082 eval "$as_ac_var=no"
16084 rm -f conftest.err conftest.
$ac_objext \
16085 conftest
$ac_exeext conftest.
$ac_ext
16087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16089 if test `eval echo '${'$as_ac_var'}'` = yes; then
16090 cat >>confdefs.h
<<_ACEOF
16091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16097 if test "x$ac_cv_func_fork" = xyes
; then
16098 echo "$as_me:$LINENO: checking for working fork" >&5
16099 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
16100 if test "${ac_cv_func_fork_works+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16103 if test "$cross_compiling" = yes; then
16104 ac_cv_func_fork_works
=cross
16106 cat >conftest.
$ac_ext <<_ACEOF
16107 /* By Ruediger Kuhlmann. */
16108 #include <sys/types.h>
16110 # include <unistd.h>
16112 /* Some systems only have a dummy stub for fork() */
16120 rm -f conftest
$ac_exeext
16121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16122 (eval $ac_link) 2>&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127 (eval $ac_try) 2>&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); }; }; then
16131 ac_cv_func_fork_works
=yes
16133 echo "$as_me: program exited with status $ac_status" >&5
16134 echo "$as_me: failed program was:" >&5
16135 sed 's/^/| /' conftest.
$ac_ext >&5
16137 ( exit $ac_status )
16138 ac_cv_func_fork_works
=no
16140 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16143 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
16144 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
16147 ac_cv_func_fork_works
=$ac_cv_func_fork
16149 if test "x$ac_cv_func_fork_works" = xcross
; then
16151 *-*-amigaos* |
*-*-msdosdjgpp*)
16152 # Override, as these systems have only a dummy fork() stub
16153 ac_cv_func_fork_works
=no
16156 ac_cv_func_fork_works
=yes
16159 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
16160 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
16162 ac_cv_func_vfork_works
=$ac_cv_func_vfork
16163 if test "x$ac_cv_func_vfork" = xyes
; then
16164 echo "$as_me:$LINENO: checking for working vfork" >&5
16165 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
16166 if test "${ac_cv_func_vfork_works+set}" = set; then
16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16169 if test "$cross_compiling" = yes; then
16170 ac_cv_func_vfork_works
=cross
16172 cat >conftest.
$ac_ext <<_ACEOF
16175 cat confdefs.h
>>conftest.
$ac_ext
16176 cat >>conftest.
$ac_ext <<_ACEOF
16177 /* end confdefs.h. */
16178 /* Thanks to Paul Eggert for this test. */
16180 #include <stdlib.h>
16181 #include <sys/types.h>
16182 #include <sys/stat.h>
16183 #include <sys/wait.h>
16185 # include <unistd.h>
16188 # include <vfork.h>
16190 /* On some sparc systems, changes by the child to local and incoming
16191 argument registers are propagated back to the parent. The compiler
16192 is told about this with #include <vfork.h>, but some compilers
16193 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
16194 static variable whose address is put into a register that is
16195 clobbered by the vfork. */
16198 sparc_address_test (int arg)
16200 sparc_address_test (arg) int arg;
16203 static pid_t child;
16221 pid_t parent = getpid ();
16224 sparc_address_test (0);
16229 /* Here is another test for sparc vfork register problems. This
16230 test uses lots of local variables, at least as many local
16231 variables as main has allocated so far including compiler
16232 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
16233 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
16234 reuse the register of parent for one of the local variables,
16235 since it will think that parent can't possibly be used any more
16236 in this routine. Assigning to the local variable will thus
16237 munge parent in the parent process. */
16239 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
16240 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
16241 /* Convince the compiler that p..p7 are live; otherwise, it might
16242 use the same hardware register for all 8 local variables. */
16243 if (p != p1 || p != p2 || p != p3 || p != p4
16244 || p != p5 || p != p6 || p != p7)
16247 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
16248 from child file descriptors. If the child closes a descriptor
16249 before it execs or exits, this munges the parent's descriptor
16250 as well. Test for this by closing stdout in the child. */
16251 _exit(close(fileno(stdout)) != 0);
16256 while (wait(&status) != child)
16259 /* Was there some problem with vforking? */
16262 /* Did the child fail? (This shouldn't happen.) */
16265 /* Did the vfork/compiler bug occur? */
16266 || parent != getpid()
16268 /* Did the file descriptor bug occur? */
16269 || fstat(fileno(stdout), &st) != 0
16274 rm -f conftest
$ac_exeext
16275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16276 (eval $ac_link) 2>&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; }; then
16285 ac_cv_func_vfork_works
=yes
16287 echo "$as_me: program exited with status $ac_status" >&5
16288 echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.
$ac_ext >&5
16291 ( exit $ac_status )
16292 ac_cv_func_vfork_works
=no
16294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16297 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
16298 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
16301 if test "x$ac_cv_func_fork_works" = xcross
; then
16302 ac_cv_func_vfork_works
=$ac_cv_func_vfork
16303 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
16304 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
16307 if test "x$ac_cv_func_vfork_works" = xyes
; then
16309 cat >>confdefs.h
<<\_ACEOF
16310 #define HAVE_WORKING_VFORK 1
16315 cat >>confdefs.h
<<\_ACEOF
16320 if test "x$ac_cv_func_fork_works" = xyes
; then
16322 cat >>confdefs.h
<<\_ACEOF
16323 #define HAVE_WORKING_FORK 1
16330 for ac_func
in canonicalize_file_name realpath
16332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16333 echo "$as_me:$LINENO: checking for $ac_func" >&5
16334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16335 if eval "test \"\${$as_ac_var+set}\" = set"; then
16336 echo $ECHO_N "(cached) $ECHO_C" >&6
16338 cat >conftest.
$ac_ext <<_ACEOF
16341 cat confdefs.h
>>conftest.
$ac_ext
16342 cat >>conftest.
$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16346 #define $ac_func innocuous_$ac_func
16348 /* System header to define __stub macros and hopefully few prototypes,
16349 which can conflict with char $ac_func (); below.
16350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16351 <limits.h> exists even on freestanding compilers. */
16354 # include <limits.h>
16356 # include <assert.h>
16361 /* Override any gcc2 internal prototype to avoid an error. */
16366 /* We use char because int might match the return type of a gcc2
16367 builtin and then its argument prototype would still apply. */
16369 /* The GNU C library defines this for functions which it implements
16370 to always fail with ENOSYS. Some functions are actually named
16371 something starting with __ and the normal name is an alias. */
16372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16375 char (*f) () = $ac_func;
16384 return f != $ac_func;
16389 rm -f conftest.
$ac_objext conftest
$ac_exeext
16390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16391 (eval $ac_link) 2>conftest.er1
16393 grep -v '^ *+' conftest.er1
>conftest.err
16395 cat conftest.err
>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); } &&
16398 { ac_try
='test -z "$ac_c_werror_flag"
16399 || test ! -s conftest.err'
16400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16401 (eval $ac_try) 2>&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); }; } &&
16405 { ac_try
='test -s conftest$ac_exeext'
16406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407 (eval $ac_try) 2>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; }; then
16411 eval "$as_ac_var=yes"
16413 echo "$as_me: failed program was:" >&5
16414 sed 's/^/| /' conftest.
$ac_ext >&5
16416 eval "$as_ac_var=no"
16418 rm -f conftest.err conftest.
$ac_objext \
16419 conftest
$ac_exeext conftest.
$ac_ext
16421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16423 if test `eval echo '${'$as_ac_var'}'` = yes; then
16424 cat >>confdefs.h
<<_ACEOF
16425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16433 for ac_func
in getuid getgid
16435 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16436 echo "$as_me:$LINENO: checking for $ac_func" >&5
16437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16438 if eval "test \"\${$as_ac_var+set}\" = set"; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16441 cat >conftest.
$ac_ext <<_ACEOF
16444 cat confdefs.h
>>conftest.
$ac_ext
16445 cat >>conftest.
$ac_ext <<_ACEOF
16446 /* end confdefs.h. */
16447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16449 #define $ac_func innocuous_$ac_func
16451 /* System header to define __stub macros and hopefully few prototypes,
16452 which can conflict with char $ac_func (); below.
16453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16454 <limits.h> exists even on freestanding compilers. */
16457 # include <limits.h>
16459 # include <assert.h>
16464 /* Override any gcc2 internal prototype to avoid an error. */
16469 /* We use char because int might match the return type of a gcc2
16470 builtin and then its argument prototype would still apply. */
16472 /* The GNU C library defines this for functions which it implements
16473 to always fail with ENOSYS. Some functions are actually named
16474 something starting with __ and the normal name is an alias. */
16475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16478 char (*f) () = $ac_func;
16487 return f != $ac_func;
16492 rm -f conftest.
$ac_objext conftest
$ac_exeext
16493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16494 (eval $ac_link) 2>conftest.er1
16496 grep -v '^ *+' conftest.er1
>conftest.err
16498 cat conftest.err
>&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); } &&
16501 { ac_try
='test -z "$ac_c_werror_flag"
16502 || test ! -s conftest.err'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; } &&
16508 { ac_try
='test -s conftest$ac_exeext'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; }; then
16514 eval "$as_ac_var=yes"
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.
$ac_ext >&5
16519 eval "$as_ac_var=no"
16521 rm -f conftest.err conftest.
$ac_objext \
16522 conftest
$ac_exeext conftest.
$ac_ext
16524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16526 if test `eval echo '${'$as_ac_var'}'` = yes; then
16527 cat >>confdefs.h
<<_ACEOF
16528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16535 for ac_func
in poll
16537 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16538 echo "$as_me:$LINENO: checking for $ac_func" >&5
16539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16540 if eval "test \"\${$as_ac_var+set}\" = set"; then
16541 echo $ECHO_N "(cached) $ECHO_C" >&6
16543 cat >conftest.
$ac_ext <<_ACEOF
16546 cat confdefs.h
>>conftest.
$ac_ext
16547 cat >>conftest.
$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16551 #define $ac_func innocuous_$ac_func
16553 /* System header to define __stub macros and hopefully few prototypes,
16554 which can conflict with char $ac_func (); below.
16555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16556 <limits.h> exists even on freestanding compilers. */
16559 # include <limits.h>
16561 # include <assert.h>
16566 /* Override any gcc2 internal prototype to avoid an error. */
16571 /* We use char because int might match the return type of a gcc2
16572 builtin and then its argument prototype would still apply. */
16574 /* The GNU C library defines this for functions which it implements
16575 to always fail with ENOSYS. Some functions are actually named
16576 something starting with __ and the normal name is an alias. */
16577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16580 char (*f) () = $ac_func;
16589 return f != $ac_func;
16594 rm -f conftest.
$ac_objext conftest
$ac_exeext
16595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16596 (eval $ac_link) 2>conftest.er1
16598 grep -v '^ *+' conftest.er1
>conftest.err
16600 cat conftest.err
>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); } &&
16603 { ac_try
='test -z "$ac_c_werror_flag"
16604 || test ! -s conftest.err'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; } &&
16610 { ac_try
='test -s conftest$ac_exeext'
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; }; then
16616 eval "$as_ac_var=yes"
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.
$ac_ext >&5
16621 eval "$as_ac_var=no"
16623 rm -f conftest.err conftest.
$ac_objext \
16624 conftest
$ac_exeext conftest.
$ac_ext
16626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16628 if test `eval echo '${'$as_ac_var'}'` = yes; then
16629 cat >>confdefs.h
<<_ACEOF
16630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16637 for ac_func
in pread64
16639 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16640 echo "$as_me:$LINENO: checking for $ac_func" >&5
16641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16642 if eval "test \"\${$as_ac_var+set}\" = set"; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 cat >conftest.
$ac_ext <<_ACEOF
16648 cat confdefs.h
>>conftest.
$ac_ext
16649 cat >>conftest.
$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16653 #define $ac_func innocuous_$ac_func
16655 /* System header to define __stub macros and hopefully few prototypes,
16656 which can conflict with char $ac_func (); below.
16657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16658 <limits.h> exists even on freestanding compilers. */
16661 # include <limits.h>
16663 # include <assert.h>
16668 /* Override any gcc2 internal prototype to avoid an error. */
16673 /* We use char because int might match the return type of a gcc2
16674 builtin and then its argument prototype would still apply. */
16676 /* The GNU C library defines this for functions which it implements
16677 to always fail with ENOSYS. Some functions are actually named
16678 something starting with __ and the normal name is an alias. */
16679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16682 char (*f) () = $ac_func;
16691 return f != $ac_func;
16696 rm -f conftest.
$ac_objext conftest
$ac_exeext
16697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16698 (eval $ac_link) 2>conftest.er1
16700 grep -v '^ *+' conftest.er1
>conftest.err
16702 cat conftest.err
>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } &&
16705 { ac_try
='test -z "$ac_c_werror_flag"
16706 || test ! -s conftest.err'
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; } &&
16712 { ac_try
='test -s conftest$ac_exeext'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; }; then
16718 eval "$as_ac_var=yes"
16720 echo "$as_me: failed program was:" >&5
16721 sed 's/^/| /' conftest.
$ac_ext >&5
16723 eval "$as_ac_var=no"
16725 rm -f conftest.err conftest.
$ac_objext \
16726 conftest
$ac_exeext conftest.
$ac_ext
16728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16730 if test `eval echo '${'$as_ac_var'}'` = yes; then
16731 cat >>confdefs.h
<<_ACEOF
16732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16739 for ac_func
in sbrk
16741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16742 echo "$as_me:$LINENO: checking for $ac_func" >&5
16743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16744 if eval "test \"\${$as_ac_var+set}\" = set"; then
16745 echo $ECHO_N "(cached) $ECHO_C" >&6
16747 cat >conftest.
$ac_ext <<_ACEOF
16750 cat confdefs.h
>>conftest.
$ac_ext
16751 cat >>conftest.
$ac_ext <<_ACEOF
16752 /* end confdefs.h. */
16753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16755 #define $ac_func innocuous_$ac_func
16757 /* System header to define __stub macros and hopefully few prototypes,
16758 which can conflict with char $ac_func (); below.
16759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16760 <limits.h> exists even on freestanding compilers. */
16763 # include <limits.h>
16765 # include <assert.h>
16770 /* Override any gcc2 internal prototype to avoid an error. */
16775 /* We use char because int might match the return type of a gcc2
16776 builtin and then its argument prototype would still apply. */
16778 /* The GNU C library defines this for functions which it implements
16779 to always fail with ENOSYS. Some functions are actually named
16780 something starting with __ and the normal name is an alias. */
16781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16784 char (*f) () = $ac_func;
16793 return f != $ac_func;
16798 rm -f conftest.
$ac_objext conftest
$ac_exeext
16799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16800 (eval $ac_link) 2>conftest.er1
16802 grep -v '^ *+' conftest.er1
>conftest.err
16804 cat conftest.err
>&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); } &&
16807 { ac_try
='test -z "$ac_c_werror_flag"
16808 || test ! -s conftest.err'
16809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16810 (eval $ac_try) 2>&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); }; } &&
16814 { ac_try
='test -s conftest$ac_exeext'
16815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16816 (eval $ac_try) 2>&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); }; }; then
16820 eval "$as_ac_var=yes"
16822 echo "$as_me: failed program was:" >&5
16823 sed 's/^/| /' conftest.
$ac_ext >&5
16825 eval "$as_ac_var=no"
16827 rm -f conftest.err conftest.
$ac_objext \
16828 conftest
$ac_exeext conftest.
$ac_ext
16830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16832 if test `eval echo '${'$as_ac_var'}'` = yes; then
16833 cat >>confdefs.h
<<_ACEOF
16834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16842 for ac_func
in setpgid setpgrp
16844 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16845 echo "$as_me:$LINENO: checking for $ac_func" >&5
16846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16847 if eval "test \"\${$as_ac_var+set}\" = set"; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16850 cat >conftest.
$ac_ext <<_ACEOF
16853 cat confdefs.h
>>conftest.
$ac_ext
16854 cat >>conftest.
$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16858 #define $ac_func innocuous_$ac_func
16860 /* System header to define __stub macros and hopefully few prototypes,
16861 which can conflict with char $ac_func (); below.
16862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16863 <limits.h> exists even on freestanding compilers. */
16866 # include <limits.h>
16868 # include <assert.h>
16873 /* Override any gcc2 internal prototype to avoid an error. */
16878 /* We use char because int might match the return type of a gcc2
16879 builtin and then its argument prototype would still apply. */
16881 /* The GNU C library defines this for functions which it implements
16882 to always fail with ENOSYS. Some functions are actually named
16883 something starting with __ and the normal name is an alias. */
16884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16887 char (*f) () = $ac_func;
16896 return f != $ac_func;
16901 rm -f conftest.
$ac_objext conftest
$ac_exeext
16902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16903 (eval $ac_link) 2>conftest.er1
16905 grep -v '^ *+' conftest.er1
>conftest.err
16907 cat conftest.err
>&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } &&
16910 { ac_try
='test -z "$ac_c_werror_flag"
16911 || test ! -s conftest.err'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; } &&
16917 { ac_try
='test -s conftest$ac_exeext'
16918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16919 (eval $ac_try) 2>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; }; then
16923 eval "$as_ac_var=yes"
16925 echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.
$ac_ext >&5
16928 eval "$as_ac_var=no"
16930 rm -f conftest.err conftest.
$ac_objext \
16931 conftest
$ac_exeext conftest.
$ac_ext
16933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16935 if test `eval echo '${'$as_ac_var'}'` = yes; then
16936 cat >>confdefs.h
<<_ACEOF
16937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16946 for ac_func
in sigaction sigprocmask sigsetmask
16948 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16949 echo "$as_me:$LINENO: checking for $ac_func" >&5
16950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16951 if eval "test \"\${$as_ac_var+set}\" = set"; then
16952 echo $ECHO_N "(cached) $ECHO_C" >&6
16954 cat >conftest.
$ac_ext <<_ACEOF
16957 cat confdefs.h
>>conftest.
$ac_ext
16958 cat >>conftest.
$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16962 #define $ac_func innocuous_$ac_func
16964 /* System header to define __stub macros and hopefully few prototypes,
16965 which can conflict with char $ac_func (); below.
16966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16967 <limits.h> exists even on freestanding compilers. */
16970 # include <limits.h>
16972 # include <assert.h>
16977 /* Override any gcc2 internal prototype to avoid an error. */
16982 /* We use char because int might match the return type of a gcc2
16983 builtin and then its argument prototype would still apply. */
16985 /* The GNU C library defines this for functions which it implements
16986 to always fail with ENOSYS. Some functions are actually named
16987 something starting with __ and the normal name is an alias. */
16988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16991 char (*f) () = $ac_func;
17000 return f != $ac_func;
17005 rm -f conftest.
$ac_objext conftest
$ac_exeext
17006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17007 (eval $ac_link) 2>conftest.er1
17009 grep -v '^ *+' conftest.er1
>conftest.err
17011 cat conftest.err
>&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } &&
17014 { ac_try
='test -z "$ac_c_werror_flag"
17015 || test ! -s conftest.err'
17016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017 (eval $ac_try) 2>&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); }; } &&
17021 { ac_try
='test -s conftest$ac_exeext'
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; }; then
17027 eval "$as_ac_var=yes"
17029 echo "$as_me: failed program was:" >&5
17030 sed 's/^/| /' conftest.
$ac_ext >&5
17032 eval "$as_ac_var=no"
17034 rm -f conftest.err conftest.
$ac_objext \
17035 conftest
$ac_exeext conftest.
$ac_ext
17037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17039 if test `eval echo '${'$as_ac_var'}'` = yes; then
17040 cat >>confdefs.h
<<_ACEOF
17041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17048 for ac_func
in socketpair
17050 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17051 echo "$as_me:$LINENO: checking for $ac_func" >&5
17052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17053 if eval "test \"\${$as_ac_var+set}\" = set"; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 cat >conftest.
$ac_ext <<_ACEOF
17059 cat confdefs.h
>>conftest.
$ac_ext
17060 cat >>conftest.
$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17064 #define $ac_func innocuous_$ac_func
17066 /* System header to define __stub macros and hopefully few prototypes,
17067 which can conflict with char $ac_func (); below.
17068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17069 <limits.h> exists even on freestanding compilers. */
17072 # include <limits.h>
17074 # include <assert.h>
17079 /* Override any gcc2 internal prototype to avoid an error. */
17084 /* We use char because int might match the return type of a gcc2
17085 builtin and then its argument prototype would still apply. */
17087 /* The GNU C library defines this for functions which it implements
17088 to always fail with ENOSYS. Some functions are actually named
17089 something starting with __ and the normal name is an alias. */
17090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17093 char (*f) () = $ac_func;
17102 return f != $ac_func;
17107 rm -f conftest.
$ac_objext conftest
$ac_exeext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17109 (eval $ac_link) 2>conftest.er1
17111 grep -v '^ *+' conftest.er1
>conftest.err
17113 cat conftest.err
>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } &&
17116 { ac_try
='test -z "$ac_c_werror_flag"
17117 || test ! -s conftest.err'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; } &&
17123 { ac_try
='test -s conftest$ac_exeext'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; }; then
17129 eval "$as_ac_var=yes"
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.
$ac_ext >&5
17134 eval "$as_ac_var=no"
17136 rm -f conftest.err conftest.
$ac_objext \
17137 conftest
$ac_exeext conftest.
$ac_ext
17139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17141 if test `eval echo '${'$as_ac_var'}'` = yes; then
17142 cat >>confdefs.h
<<_ACEOF
17143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17150 for ac_func
in syscall
17152 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17153 echo "$as_me:$LINENO: checking for $ac_func" >&5
17154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17155 if eval "test \"\${$as_ac_var+set}\" = set"; then
17156 echo $ECHO_N "(cached) $ECHO_C" >&6
17158 cat >conftest.
$ac_ext <<_ACEOF
17161 cat confdefs.h
>>conftest.
$ac_ext
17162 cat >>conftest.
$ac_ext <<_ACEOF
17163 /* end confdefs.h. */
17164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17166 #define $ac_func innocuous_$ac_func
17168 /* System header to define __stub macros and hopefully few prototypes,
17169 which can conflict with char $ac_func (); below.
17170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17171 <limits.h> exists even on freestanding compilers. */
17174 # include <limits.h>
17176 # include <assert.h>
17181 /* Override any gcc2 internal prototype to avoid an error. */
17186 /* We use char because int might match the return type of a gcc2
17187 builtin and then its argument prototype would still apply. */
17189 /* The GNU C library defines this for functions which it implements
17190 to always fail with ENOSYS. Some functions are actually named
17191 something starting with __ and the normal name is an alias. */
17192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17195 char (*f) () = $ac_func;
17204 return f != $ac_func;
17209 rm -f conftest.
$ac_objext conftest
$ac_exeext
17210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17211 (eval $ac_link) 2>conftest.er1
17213 grep -v '^ *+' conftest.er1
>conftest.err
17215 cat conftest.err
>&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); } &&
17218 { ac_try
='test -z "$ac_c_werror_flag"
17219 || test ! -s conftest.err'
17220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221 (eval $ac_try) 2>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; } &&
17225 { ac_try
='test -s conftest$ac_exeext'
17226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17227 (eval $ac_try) 2>&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); }; }; then
17231 eval "$as_ac_var=yes"
17233 echo "$as_me: failed program was:" >&5
17234 sed 's/^/| /' conftest.
$ac_ext >&5
17236 eval "$as_ac_var=no"
17238 rm -f conftest.err conftest.
$ac_objext \
17239 conftest
$ac_exeext conftest.
$ac_ext
17241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17243 if test `eval echo '${'$as_ac_var'}'` = yes; then
17244 cat >>confdefs.h
<<_ACEOF
17245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17252 for ac_func
in ttrace
17254 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17255 echo "$as_me:$LINENO: checking for $ac_func" >&5
17256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17257 if eval "test \"\${$as_ac_var+set}\" = set"; then
17258 echo $ECHO_N "(cached) $ECHO_C" >&6
17260 cat >conftest.
$ac_ext <<_ACEOF
17263 cat confdefs.h
>>conftest.
$ac_ext
17264 cat >>conftest.
$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17268 #define $ac_func innocuous_$ac_func
17270 /* System header to define __stub macros and hopefully few prototypes,
17271 which can conflict with char $ac_func (); below.
17272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17273 <limits.h> exists even on freestanding compilers. */
17276 # include <limits.h>
17278 # include <assert.h>
17283 /* Override any gcc2 internal prototype to avoid an error. */
17288 /* We use char because int might match the return type of a gcc2
17289 builtin and then its argument prototype would still apply. */
17291 /* The GNU C library defines this for functions which it implements
17292 to always fail with ENOSYS. Some functions are actually named
17293 something starting with __ and the normal name is an alias. */
17294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17297 char (*f) () = $ac_func;
17306 return f != $ac_func;
17311 rm -f conftest.
$ac_objext conftest
$ac_exeext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17313 (eval $ac_link) 2>conftest.er1
17315 grep -v '^ *+' conftest.er1
>conftest.err
17317 cat conftest.err
>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try
='test -z "$ac_c_werror_flag"
17321 || test ! -s conftest.err'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try
='test -s conftest$ac_exeext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17333 eval "$as_ac_var=yes"
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.
$ac_ext >&5
17338 eval "$as_ac_var=no"
17340 rm -f conftest.err conftest.
$ac_objext \
17341 conftest
$ac_exeext conftest.
$ac_ext
17343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17345 if test `eval echo '${'$as_ac_var'}'` = yes; then
17346 cat >>confdefs.h
<<_ACEOF
17347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17354 for ac_func
in wborder
17356 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17357 echo "$as_me:$LINENO: checking for $ac_func" >&5
17358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17359 if eval "test \"\${$as_ac_var+set}\" = set"; then
17360 echo $ECHO_N "(cached) $ECHO_C" >&6
17362 cat >conftest.
$ac_ext <<_ACEOF
17365 cat confdefs.h
>>conftest.
$ac_ext
17366 cat >>conftest.
$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17370 #define $ac_func innocuous_$ac_func
17372 /* System header to define __stub macros and hopefully few prototypes,
17373 which can conflict with char $ac_func (); below.
17374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17375 <limits.h> exists even on freestanding compilers. */
17378 # include <limits.h>
17380 # include <assert.h>
17385 /* Override any gcc2 internal prototype to avoid an error. */
17390 /* We use char because int might match the return type of a gcc2
17391 builtin and then its argument prototype would still apply. */
17393 /* The GNU C library defines this for functions which it implements
17394 to always fail with ENOSYS. Some functions are actually named
17395 something starting with __ and the normal name is an alias. */
17396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17399 char (*f) () = $ac_func;
17408 return f != $ac_func;
17413 rm -f conftest.
$ac_objext conftest
$ac_exeext
17414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17415 (eval $ac_link) 2>conftest.er1
17417 grep -v '^ *+' conftest.er1
>conftest.err
17419 cat conftest.err
>&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); } &&
17422 { ac_try
='test -z "$ac_c_werror_flag"
17423 || test ! -s conftest.err'
17424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17425 (eval $ac_try) 2>&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); }; } &&
17429 { ac_try
='test -s conftest$ac_exeext'
17430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431 (eval $ac_try) 2>&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; }; then
17435 eval "$as_ac_var=yes"
17437 echo "$as_me: failed program was:" >&5
17438 sed 's/^/| /' conftest.
$ac_ext >&5
17440 eval "$as_ac_var=no"
17442 rm -f conftest.err conftest.
$ac_objext \
17443 conftest
$ac_exeext conftest.
$ac_ext
17445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17447 if test `eval echo '${'$as_ac_var'}'` = yes; then
17448 cat >>confdefs.h
<<_ACEOF
17449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17456 # Check the return and argument types of ptrace. No canned test for
17457 # this, so roll our own.
17458 gdb_ptrace_headers
='
17459 #if HAVE_SYS_TYPES_H
17460 # include <sys/types.h>
17462 #if HAVE_SYS_PTRACE_H
17463 # include <sys/ptrace.h>
17466 # include <unistd.h>
17469 # There is no point in checking if we don't have a prototype.
17470 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
17471 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
17472 if test "${ac_cv_have_decl_ptrace+set}" = set; then
17473 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 cat >conftest.
$ac_ext <<_ACEOF
17478 cat confdefs.h
>>conftest.
$ac_ext
17479 cat >>conftest.
$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17481 $gdb_ptrace_headers
17487 char *p = (char *) ptrace;
17494 rm -f conftest.
$ac_objext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17496 (eval $ac_compile) 2>conftest.er1
17498 grep -v '^ *+' conftest.er1
>conftest.err
17500 cat conftest.err
>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } &&
17503 { ac_try
='test -z "$ac_c_werror_flag"
17504 || test ! -s conftest.err'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; } &&
17510 { ac_try
='test -s conftest.$ac_objext'
17511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512 (eval $ac_try) 2>&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); }; }; then
17516 ac_cv_have_decl_ptrace
=yes
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.
$ac_ext >&5
17521 ac_cv_have_decl_ptrace
=no
17523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17525 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
17526 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
17527 if test $ac_cv_have_decl_ptrace = yes; then
17529 cat >>confdefs.h
<<_ACEOF
17530 #define HAVE_DECL_PTRACE 1
17535 cat >>confdefs.h
<<_ACEOF
17536 #define HAVE_DECL_PTRACE 0
17540 : ${gdb_cv_func_ptrace_ret='int'}
17541 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
17546 # Check return type.
17547 echo "$as_me:$LINENO: checking return type of ptrace" >&5
17548 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
17549 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
17550 echo $ECHO_N "(cached) $ECHO_C" >&6
17552 cat >conftest.
$ac_ext <<_ACEOF
17555 cat confdefs.h
>>conftest.
$ac_ext
17556 cat >>conftest.
$ac_ext <<_ACEOF
17557 /* end confdefs.h. */
17558 $gdb_ptrace_headers
17562 extern int ptrace ();
17567 rm -f conftest.
$ac_objext
17568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17569 (eval $ac_compile) 2>conftest.er1
17571 grep -v '^ *+' conftest.er1
>conftest.err
17573 cat conftest.err
>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } &&
17576 { ac_try
='test -z "$ac_c_werror_flag"
17577 || test ! -s conftest.err'
17578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579 (eval $ac_try) 2>&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; } &&
17583 { ac_try
='test -s conftest.$ac_objext'
17584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17585 (eval $ac_try) 2>&5
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); }; }; then
17589 gdb_cv_func_ptrace_ret
='int'
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.
$ac_ext >&5
17594 gdb_cv_func_ptrace_ret
='long'
17596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17598 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
17599 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
17601 cat >>confdefs.h
<<_ACEOF
17602 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
17605 # Check argument types.
17606 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
17607 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
17608 if test "${gdb_cv_func_ptrace_args+set}" = set; then
17609 echo $ECHO_N "(cached) $ECHO_C" >&6
17612 for gdb_arg1
in 'int' 'long'; do
17613 for gdb_arg2
in 'pid_t' 'int' 'long'; do
17614 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long'; do
17615 for gdb_arg4
in 'int' 'long'; do
17616 cat >conftest.
$ac_ext <<_ACEOF
17619 cat confdefs.h
>>conftest.
$ac_ext
17620 cat >>conftest.
$ac_ext <<_ACEOF
17621 /* end confdefs.h. */
17622 $gdb_ptrace_headers
17627 extern $gdb_cv_func_ptrace_ret
17628 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
17634 rm -f conftest.
$ac_objext
17635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17636 (eval $ac_compile) 2>conftest.er1
17638 grep -v '^ *+' conftest.er1
>conftest.err
17640 cat conftest.err
>&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } &&
17643 { ac_try
='test -z "$ac_c_werror_flag"
17644 || test ! -s conftest.err'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; } &&
17650 { ac_try
='test -s conftest.$ac_objext'
17651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17652 (eval $ac_try) 2>&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); }; }; then
17656 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.
$ac_ext >&5
17663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17664 for gdb_arg5
in 'int *' 'int' 'long'; do
17665 cat >conftest.
$ac_ext <<_ACEOF
17668 cat confdefs.h
>>conftest.
$ac_ext
17669 cat >>conftest.
$ac_ext <<_ACEOF
17670 /* end confdefs.h. */
17671 $gdb_ptrace_headers
17676 extern $gdb_cv_func_ptrace_ret
17677 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
17683 rm -f conftest.
$ac_objext
17684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17685 (eval $ac_compile) 2>conftest.er1
17687 grep -v '^ *+' conftest.er1
>conftest.err
17689 cat conftest.err
>&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); } &&
17692 { ac_try
='test -z "$ac_c_werror_flag"
17693 || test ! -s conftest.err'
17694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17695 (eval $ac_try) 2>&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); }; } &&
17699 { ac_try
='test -s conftest.$ac_objext'
17700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701 (eval $ac_try) 2>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; }; then
17706 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
17709 echo "$as_me: failed program was:" >&5
17710 sed 's/^/| /' conftest.
$ac_ext >&5
17713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17719 # Provide a safe default value.
17720 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
17723 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
17724 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
17725 ac_save_IFS
=$IFS; IFS
=','
17726 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
17730 cat >>confdefs.h
<<_ACEOF
17731 #define PTRACE_TYPE_ARG3 $3
17734 if test -n "$5"; then
17736 cat >>confdefs.h
<<_ACEOF
17737 #define PTRACE_TYPE_ARG5 $5
17742 if test "$cross_compiling" = no
; then
17743 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
17744 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
17745 if test "${ac_cv_func_setpgrp_void+set}" = set; then
17746 echo $ECHO_N "(cached) $ECHO_C" >&6
17748 if test "$cross_compiling" = yes; then
17749 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
17750 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
17751 { (exit 1); exit 1; }; }
17753 cat >conftest.
$ac_ext <<_ACEOF
17756 cat confdefs.h
>>conftest.
$ac_ext
17757 cat >>conftest.
$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17760 # include <unistd.h>
17766 /* If this system has a BSD-style setpgrp which takes arguments,
17767 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
17768 exit successfully. */
17769 exit (setpgrp (1,1) == -1 ? 0 : 1);
17774 rm -f conftest
$ac_exeext
17775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17776 (eval $ac_link) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; }; then
17785 ac_cv_func_setpgrp_void
=no
17787 echo "$as_me: program exited with status $ac_status" >&5
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.
$ac_ext >&5
17791 ( exit $ac_status )
17792 ac_cv_func_setpgrp_void
=yes
17794 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17797 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
17798 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
17799 if test $ac_cv_func_setpgrp_void = yes; then
17801 cat >>confdefs.h
<<\_ACEOF
17802 #define SETPGRP_VOID 1
17808 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
17809 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
17810 if test "${ac_cv_func_setpgrp_void+set}" = set; then
17811 echo $ECHO_N "(cached) $ECHO_C" >&6
17813 cat >conftest.
$ac_ext <<_ACEOF
17816 cat confdefs.h
>>conftest.
$ac_ext
17817 cat >>conftest.
$ac_ext <<_ACEOF
17818 /* end confdefs.h. */
17820 #include <unistd.h>
17826 if (setpgrp(1,1) == -1)
17835 rm -f conftest.
$ac_objext
17836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17837 (eval $ac_compile) 2>conftest.er1
17839 grep -v '^ *+' conftest.er1
>conftest.err
17841 cat conftest.err
>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } &&
17844 { ac_try
='test -z "$ac_c_werror_flag"
17845 || test ! -s conftest.err'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; } &&
17851 { ac_try
='test -s conftest.$ac_objext'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; }; then
17857 ac_cv_func_setpgrp_void
=no
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.
$ac_ext >&5
17862 ac_cv_func_setpgrp_void
=yes
17864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17866 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
17867 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
17868 if test $ac_cv_func_setpgrp_void = yes; then
17869 cat >>confdefs.h
<<\_ACEOF
17870 #define SETPGRP_VOID 1
17876 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
17877 # since sigsetjmp might only be defined as a macro.
17878 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
17879 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
17880 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17883 cat >conftest.
$ac_ext <<_ACEOF
17886 cat confdefs.h
>>conftest.
$ac_ext
17887 cat >>conftest.
$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17890 #include <setjmp.h>
17895 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
17900 rm -f conftest.
$ac_objext
17901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17902 (eval $ac_compile) 2>conftest.er1
17904 grep -v '^ *+' conftest.er1
>conftest.err
17906 cat conftest.err
>&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); } &&
17909 { ac_try
='test -z "$ac_c_werror_flag"
17910 || test ! -s conftest.err'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; } &&
17916 { ac_try
='test -s conftest.$ac_objext'
17917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918 (eval $ac_try) 2>&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); }; }; then
17922 gdb_cv_func_sigsetjmp
=yes
17924 echo "$as_me: failed program was:" >&5
17925 sed 's/^/| /' conftest.
$ac_ext >&5
17927 gdb_cv_func_sigsetjmp
=no
17929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17931 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
17932 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
17933 if test $gdb_cv_func_sigsetjmp = yes; then
17935 cat >>confdefs.h
<<\_ACEOF
17936 #define HAVE_SIGSETJMP 1
17941 # Assume we'll default to using the included libiberty regex.
17942 gdb_use_included_regex
=yes
17944 # However, if the system regex is GNU regex, then default to *not*
17945 # using the included regex.
17946 echo "$as_me:$LINENO: checking for GNU regex" >&5
17947 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
17948 if test "${gdb_cv_have_gnu_regex+set}" = set; then
17949 echo $ECHO_N "(cached) $ECHO_C" >&6
17951 cat >conftest.
$ac_ext <<_ACEOF
17954 cat confdefs.h
>>conftest.
$ac_ext
17955 cat >>conftest.
$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17957 #include <gnu-versions.h>
17961 #define REGEX_INTERFACE_VERSION 1
17962 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
17963 # error "Version mismatch"
17969 rm -f conftest.
$ac_objext
17970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17971 (eval $ac_compile) 2>conftest.er1
17973 grep -v '^ *+' conftest.er1
>conftest.err
17975 cat conftest.err
>&5
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); } &&
17978 { ac_try
='test -z "$ac_c_werror_flag"
17979 || test ! -s conftest.err'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; } &&
17985 { ac_try
='test -s conftest.$ac_objext'
17986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987 (eval $ac_try) 2>&5
17989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); }; }; then
17991 gdb_cv_have_gnu_regex
=yes
17993 echo "$as_me: failed program was:" >&5
17994 sed 's/^/| /' conftest.
$ac_ext >&5
17996 gdb_cv_have_gnu_regex
=no
17998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18000 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
18001 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
18002 if test $gdb_cv_have_gnu_regex = yes; then
18003 gdb_use_included_regex
=no
18007 # Check whether --with-included-regex or --without-included-regex was given.
18008 if test "${with_included_regex+set}" = set; then
18009 withval
="$with_included_regex"
18010 gdb_with_regex
=$withval
18012 gdb_with_regex
=$gdb_use_included_regex
18014 if test "$gdb_with_regex" = yes; then
18016 cat >>confdefs.h
<<\_ACEOF
18017 #define USE_INCLUDED_REGEX 1
18022 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
18023 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
18024 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
18025 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
18026 echo $ECHO_N "(cached) $ECHO_C" >&6
18028 cat >conftest.
$ac_ext <<_ACEOF
18031 cat confdefs.h
>>conftest.
$ac_ext
18032 cat >>conftest.
$ac_ext <<_ACEOF
18033 /* end confdefs.h. */
18034 #include <sys/param.h>
18035 #include <sys/proc.h>
18041 static struct thread ac_aggr;
18042 if (ac_aggr.td_pcb)
18048 rm -f conftest.
$ac_objext
18049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18050 (eval $ac_compile) 2>conftest.er1
18052 grep -v '^ *+' conftest.er1
>conftest.err
18054 cat conftest.err
>&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); } &&
18057 { ac_try
='test -z "$ac_c_werror_flag"
18058 || test ! -s conftest.err'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; } &&
18064 { ac_try
='test -s conftest.$ac_objext'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; }; then
18070 ac_cv_member_struct_thread_td_pcb
=yes
18072 echo "$as_me: failed program was:" >&5
18073 sed 's/^/| /' conftest.
$ac_ext >&5
18075 cat >conftest.
$ac_ext <<_ACEOF
18078 cat confdefs.h
>>conftest.
$ac_ext
18079 cat >>conftest.
$ac_ext <<_ACEOF
18080 /* end confdefs.h. */
18081 #include <sys/param.h>
18082 #include <sys/proc.h>
18088 static struct thread ac_aggr;
18089 if (sizeof ac_aggr.td_pcb)
18095 rm -f conftest.
$ac_objext
18096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18097 (eval $ac_compile) 2>conftest.er1
18099 grep -v '^ *+' conftest.er1
>conftest.err
18101 cat conftest.err
>&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); } &&
18104 { ac_try
='test -z "$ac_c_werror_flag"
18105 || test ! -s conftest.err'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; } &&
18111 { ac_try
='test -s conftest.$ac_objext'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; }; then
18117 ac_cv_member_struct_thread_td_pcb
=yes
18119 echo "$as_me: failed program was:" >&5
18120 sed 's/^/| /' conftest.
$ac_ext >&5
18122 ac_cv_member_struct_thread_td_pcb
=no
18124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18128 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
18129 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
18130 if test $ac_cv_member_struct_thread_td_pcb = yes; then
18132 cat >>confdefs.h
<<_ACEOF
18133 #define HAVE_STRUCT_THREAD_TD_PCB 1
18140 # See if <sys/lwp.h> defines `struct lwp`.
18141 echo "$as_me:$LINENO: checking for struct lwp" >&5
18142 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
18143 if test "${gdb_cv_struct_lwp+set}" = set; then
18144 echo $ECHO_N "(cached) $ECHO_C" >&6
18146 cat >conftest.
$ac_ext <<_ACEOF
18149 cat confdefs.h
>>conftest.
$ac_ext
18150 cat >>conftest.
$ac_ext <<_ACEOF
18151 /* end confdefs.h. */
18152 #include <sys/param.h>
18153 #include <sys/lwp.h>
18162 rm -f conftest.
$ac_objext
18163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18164 (eval $ac_compile) 2>conftest.er1
18166 grep -v '^ *+' conftest.er1
>conftest.err
18168 cat conftest.err
>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); } &&
18171 { ac_try
='test -z "$ac_c_werror_flag"
18172 || test ! -s conftest.err'
18173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18174 (eval $ac_try) 2>&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); }; } &&
18178 { ac_try
='test -s conftest.$ac_objext'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; }; then
18184 gdb_cv_struct_lwp
=yes
18186 echo "$as_me: failed program was:" >&5
18187 sed 's/^/| /' conftest.
$ac_ext >&5
18189 gdb_cv_struct_lwp
=no
18191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18193 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
18194 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
18195 if test $gdb_cv_struct_lwp = yes; then
18197 cat >>confdefs.h
<<\_ACEOF
18198 #define HAVE_STRUCT_LWP 1
18203 # See if <machine/reg.h> degines `struct reg'.
18204 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
18205 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
18206 if test "${gdb_cv_struct_reg+set}" = set; then
18207 echo $ECHO_N "(cached) $ECHO_C" >&6
18209 cat >conftest.
$ac_ext <<_ACEOF
18212 cat confdefs.h
>>conftest.
$ac_ext
18213 cat >>conftest.
$ac_ext <<_ACEOF
18214 /* end confdefs.h. */
18215 #include <sys/types.h>
18216 #include <machine/reg.h>
18225 rm -f conftest.
$ac_objext
18226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18227 (eval $ac_compile) 2>conftest.er1
18229 grep -v '^ *+' conftest.er1
>conftest.err
18231 cat conftest.err
>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); } &&
18234 { ac_try
='test -z "$ac_c_werror_flag"
18235 || test ! -s conftest.err'
18236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18237 (eval $ac_try) 2>&5
18239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240 (exit $ac_status); }; } &&
18241 { ac_try
='test -s conftest.$ac_objext'
18242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18243 (eval $ac_try) 2>&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); }; }; then
18247 gdb_cv_struct_reg
=yes
18249 echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.
$ac_ext >&5
18252 gdb_cv_struct_reg
=no
18254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18256 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
18257 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
18258 if test $gdb_cv_struct_reg = yes; then
18260 cat >>confdefs.h
<<\_ACEOF
18261 #define HAVE_STRUCT_REG 1
18266 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
18267 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
18268 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
18269 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
18270 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
18271 echo $ECHO_N "(cached) $ECHO_C" >&6
18273 cat >conftest.
$ac_ext <<_ACEOF
18276 cat confdefs.h
>>conftest.
$ac_ext
18277 cat >>conftest.
$ac_ext <<_ACEOF
18278 /* end confdefs.h. */
18279 #include <machine/reg.h>
18284 static struct reg ac_aggr;
18291 rm -f conftest.
$ac_objext
18292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18293 (eval $ac_compile) 2>conftest.er1
18295 grep -v '^ *+' conftest.er1
>conftest.err
18297 cat conftest.err
>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); } &&
18300 { ac_try
='test -z "$ac_c_werror_flag"
18301 || test ! -s conftest.err'
18302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303 (eval $ac_try) 2>&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); }; } &&
18307 { ac_try
='test -s conftest.$ac_objext'
18308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18309 (eval $ac_try) 2>&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); }; }; then
18313 ac_cv_member_struct_reg_r_fs
=yes
18315 echo "$as_me: failed program was:" >&5
18316 sed 's/^/| /' conftest.
$ac_ext >&5
18318 cat >conftest.
$ac_ext <<_ACEOF
18321 cat confdefs.h
>>conftest.
$ac_ext
18322 cat >>conftest.
$ac_ext <<_ACEOF
18323 /* end confdefs.h. */
18324 #include <machine/reg.h>
18329 static struct reg ac_aggr;
18330 if (sizeof ac_aggr.r_fs)
18336 rm -f conftest.
$ac_objext
18337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18338 (eval $ac_compile) 2>conftest.er1
18340 grep -v '^ *+' conftest.er1
>conftest.err
18342 cat conftest.err
>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); } &&
18345 { ac_try
='test -z "$ac_c_werror_flag"
18346 || test ! -s conftest.err'
18347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18348 (eval $ac_try) 2>&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); }; } &&
18352 { ac_try
='test -s conftest.$ac_objext'
18353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18354 (eval $ac_try) 2>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); }; }; then
18358 ac_cv_member_struct_reg_r_fs
=yes
18360 echo "$as_me: failed program was:" >&5
18361 sed 's/^/| /' conftest.
$ac_ext >&5
18363 ac_cv_member_struct_reg_r_fs
=no
18365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18369 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
18370 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
18371 if test $ac_cv_member_struct_reg_r_fs = yes; then
18373 cat >>confdefs.h
<<_ACEOF
18374 #define HAVE_STRUCT_REG_R_FS 1
18379 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
18380 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
18381 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
18382 echo $ECHO_N "(cached) $ECHO_C" >&6
18384 cat >conftest.
$ac_ext <<_ACEOF
18387 cat confdefs.h
>>conftest.
$ac_ext
18388 cat >>conftest.
$ac_ext <<_ACEOF
18389 /* end confdefs.h. */
18390 #include <machine/reg.h>
18395 static struct reg ac_aggr;
18402 rm -f conftest.
$ac_objext
18403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18404 (eval $ac_compile) 2>conftest.er1
18406 grep -v '^ *+' conftest.er1
>conftest.err
18408 cat conftest.err
>&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } &&
18411 { ac_try
='test -z "$ac_c_werror_flag"
18412 || test ! -s conftest.err'
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); }; } &&
18418 { ac_try
='test -s conftest.$ac_objext'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; }; then
18424 ac_cv_member_struct_reg_r_gs
=yes
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.
$ac_ext >&5
18429 cat >conftest.
$ac_ext <<_ACEOF
18432 cat confdefs.h
>>conftest.
$ac_ext
18433 cat >>conftest.
$ac_ext <<_ACEOF
18434 /* end confdefs.h. */
18435 #include <machine/reg.h>
18440 static struct reg ac_aggr;
18441 if (sizeof ac_aggr.r_gs)
18447 rm -f conftest.
$ac_objext
18448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18449 (eval $ac_compile) 2>conftest.er1
18451 grep -v '^ *+' conftest.er1
>conftest.err
18453 cat conftest.err
>&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } &&
18456 { ac_try
='test -z "$ac_c_werror_flag"
18457 || test ! -s conftest.err'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; } &&
18463 { ac_try
='test -s conftest.$ac_objext'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; }; then
18469 ac_cv_member_struct_reg_r_gs
=yes
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.
$ac_ext >&5
18474 ac_cv_member_struct_reg_r_gs
=no
18476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18480 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
18481 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
18482 if test $ac_cv_member_struct_reg_r_gs = yes; then
18484 cat >>confdefs.h
<<_ACEOF
18485 #define HAVE_STRUCT_REG_R_GS 1
18492 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
18493 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
18494 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
18495 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
18496 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 cat >conftest.
$ac_ext <<_ACEOF
18501 cat confdefs.h
>>conftest.
$ac_ext
18502 cat >>conftest.
$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 #include <sys/ptrace.h>
18513 rm -f conftest.
$ac_objext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18515 (eval $ac_compile) 2>conftest.er1
18517 grep -v '^ *+' conftest.er1
>conftest.err
18519 cat conftest.err
>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try
='test -z "$ac_c_werror_flag"
18523 || test ! -s conftest.err'
18524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18525 (eval $ac_try) 2>&5
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); }; } &&
18529 { ac_try
='test -s conftest.$ac_objext'
18530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18531 (eval $ac_try) 2>&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); }; }; then
18535 gdb_cv_have_ptrace_getregs
=yes
18537 echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.
$ac_ext >&5
18540 gdb_cv_have_ptrace_getregs
=no
18542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18545 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
18546 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
18547 if test $gdb_cv_have_ptrace_getregs = yes; then
18549 cat >>confdefs.h
<<\_ACEOF
18550 #define HAVE_PTRACE_GETREGS 1
18555 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
18556 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
18557 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
18558 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
18559 echo $ECHO_N "(cached) $ECHO_C" >&6
18561 cat >conftest.
$ac_ext <<_ACEOF
18564 cat confdefs.h
>>conftest.
$ac_ext
18565 cat >>conftest.
$ac_ext <<_ACEOF
18566 /* end confdefs.h. */
18567 #include <sys/ptrace.h>
18576 rm -f conftest.
$ac_objext
18577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18578 (eval $ac_compile) 2>conftest.er1
18580 grep -v '^ *+' conftest.er1
>conftest.err
18582 cat conftest.err
>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); } &&
18585 { ac_try
='test -z "$ac_c_werror_flag"
18586 || test ! -s conftest.err'
18587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18588 (eval $ac_try) 2>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); }; } &&
18592 { ac_try
='test -s conftest.$ac_objext'
18593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18594 (eval $ac_try) 2>&5
18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597 (exit $ac_status); }; }; then
18598 gdb_cv_have_ptrace_getfpxregs
=yes
18600 echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.
$ac_ext >&5
18603 gdb_cv_have_ptrace_getfpxregs
=no
18605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18608 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
18609 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
18610 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
18612 cat >>confdefs.h
<<\_ACEOF
18613 #define HAVE_PTRACE_GETFPXREGS 1
18618 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
18619 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
18620 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
18621 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
18622 echo $ECHO_N "(cached) $ECHO_C" >&6
18624 cat >conftest.
$ac_ext <<_ACEOF
18627 cat confdefs.h
>>conftest.
$ac_ext
18628 cat >>conftest.
$ac_ext <<_ACEOF
18629 /* end confdefs.h. */
18630 #include <sys/types.h>
18631 #include <sys/ptrace.h>
18640 rm -f conftest.
$ac_objext
18641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18642 (eval $ac_compile) 2>conftest.er1
18644 grep -v '^ *+' conftest.er1
>conftest.err
18646 cat conftest.err
>&5
18647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18648 (exit $ac_status); } &&
18649 { ac_try
='test -z "$ac_c_werror_flag"
18650 || test ! -s conftest.err'
18651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18652 (eval $ac_try) 2>&5
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); }; } &&
18656 { ac_try
='test -s conftest.$ac_objext'
18657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18658 (eval $ac_try) 2>&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); }; }; then
18662 gdb_cv_have_pt_getdbregs
=yes
18664 echo "$as_me: failed program was:" >&5
18665 sed 's/^/| /' conftest.
$ac_ext >&5
18667 gdb_cv_have_pt_getdbregs
=no
18669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18672 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
18673 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
18674 if test $gdb_cv_have_pt_getdbregs = yes; then
18676 cat >>confdefs.h
<<\_ACEOF
18677 #define HAVE_PT_GETDBREGS 1
18682 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
18683 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
18684 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
18685 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
18686 echo $ECHO_N "(cached) $ECHO_C" >&6
18688 cat >conftest.
$ac_ext <<_ACEOF
18691 cat confdefs.h
>>conftest.
$ac_ext
18692 cat >>conftest.
$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 #include <sys/types.h>
18695 #include <sys/ptrace.h>
18704 rm -f conftest.
$ac_objext
18705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18706 (eval $ac_compile) 2>conftest.er1
18708 grep -v '^ *+' conftest.er1
>conftest.err
18710 cat conftest.err
>&5
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); } &&
18713 { ac_try
='test -z "$ac_c_werror_flag"
18714 || test ! -s conftest.err'
18715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18716 (eval $ac_try) 2>&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); }; } &&
18720 { ac_try
='test -s conftest.$ac_objext'
18721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18722 (eval $ac_try) 2>&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); }; }; then
18726 gdb_cv_have_pt_getxmmregs
=yes
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.
$ac_ext >&5
18731 gdb_cv_have_pt_getxmmregs
=no
18733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18736 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
18737 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
18738 if test $gdb_cv_have_pt_getxmmregs = yes; then
18740 cat >>confdefs.h
<<\_ACEOF
18741 #define HAVE_PT_GETXMMREGS 1
18746 # If we are configured native on GNU/Linux, work around problems with
18748 # Also detect which type of /proc is in use, such as for Unixware or Solaris.
18750 if test "${target}" = "${host}"; then
18752 i
[3456]86-*-linux*)
18754 cat >>confdefs.h
<<\_ACEOF
18755 #define START_INFERIOR_TRAPS_EXPECTED 2
18759 cat >>confdefs.h
<<\_ACEOF
18760 #define sys_quotactl 1
18764 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
18766 cat >>confdefs.h
<<\_ACEOF
18767 #define NEW_PROC_API 1
18771 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9])
18773 cat >>confdefs.h
<<\_ACEOF
18774 #define NEW_PROC_API 1
18779 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
18781 cat >>confdefs.h
<<\_ACEOF
18782 #define _KMEMUSER 1
18789 if test "$ac_cv_header_sys_procfs_h" = yes; then
18790 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
18791 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
18792 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
18793 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 cat >conftest.
$ac_ext <<_ACEOF
18798 cat confdefs.h
>>conftest.
$ac_ext
18799 cat >>conftest.
$ac_ext <<_ACEOF
18800 /* end confdefs.h. */
18803 #include <sys/procfs.h>
18812 rm -f conftest.
$ac_objext
18813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18814 (eval $ac_compile) 2>conftest.er1
18816 grep -v '^ *+' conftest.er1
>conftest.err
18818 cat conftest.err
>&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); } &&
18821 { ac_try
='test -z "$ac_c_werror_flag"
18822 || test ! -s conftest.err'
18823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18824 (eval $ac_try) 2>&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); }; } &&
18828 { ac_try
='test -s conftest.$ac_objext'
18829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18830 (eval $ac_try) 2>&5
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); }; }; then
18834 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
18836 echo "$as_me: failed program was:" >&5
18837 sed 's/^/| /' conftest.
$ac_ext >&5
18839 bfd_cv_have_sys_procfs_type_pstatus_t
=no
18842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18845 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
18847 cat >>confdefs.h
<<\_ACEOF
18848 #define HAVE_PSTATUS_T 1
18852 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
18853 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
18855 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
18856 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
18857 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
18858 echo $ECHO_N "(cached) $ECHO_C" >&6
18860 cat >conftest.
$ac_ext <<_ACEOF
18863 cat confdefs.h
>>conftest.
$ac_ext
18864 cat >>conftest.
$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18868 #include <sys/procfs.h>
18877 rm -f conftest.
$ac_objext
18878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18879 (eval $ac_compile) 2>conftest.er1
18881 grep -v '^ *+' conftest.er1
>conftest.err
18883 cat conftest.err
>&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } &&
18886 { ac_try
='test -z "$ac_c_werror_flag"
18887 || test ! -s conftest.err'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; } &&
18893 { ac_try
='test -s conftest.$ac_objext'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; }; then
18899 bfd_cv_have_sys_procfs_type_prrun_t
=yes
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.
$ac_ext >&5
18904 bfd_cv_have_sys_procfs_type_prrun_t
=no
18907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18910 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
18912 cat >>confdefs.h
<<\_ACEOF
18913 #define HAVE_PRRUN_T 1
18917 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
18918 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
18920 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
18921 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
18922 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
18923 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 cat >conftest.
$ac_ext <<_ACEOF
18928 cat confdefs.h
>>conftest.
$ac_ext
18929 cat >>conftest.
$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18933 #include <sys/procfs.h>
18942 rm -f conftest.
$ac_objext
18943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18944 (eval $ac_compile) 2>conftest.er1
18946 grep -v '^ *+' conftest.er1
>conftest.err
18948 cat conftest.err
>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try
='test -z "$ac_c_werror_flag"
18952 || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try
='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18964 bfd_cv_have_sys_procfs_type_gregset_t
=yes
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.
$ac_ext >&5
18969 bfd_cv_have_sys_procfs_type_gregset_t
=no
18972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18975 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
18977 cat >>confdefs.h
<<\_ACEOF
18978 #define HAVE_GREGSET_T 1
18982 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
18983 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
18985 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
18986 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
18987 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
18988 echo $ECHO_N "(cached) $ECHO_C" >&6
18990 cat >conftest.
$ac_ext <<_ACEOF
18993 cat confdefs.h
>>conftest.
$ac_ext
18994 cat >>conftest.
$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18998 #include <sys/procfs.h>
19007 rm -f conftest.
$ac_objext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19009 (eval $ac_compile) 2>conftest.er1
19011 grep -v '^ *+' conftest.er1
>conftest.err
19013 cat conftest.err
>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try
='test -z "$ac_c_werror_flag"
19017 || test ! -s conftest.err'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; } &&
19023 { ac_try
='test -s conftest.$ac_objext'
19024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19025 (eval $ac_try) 2>&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); }; }; then
19029 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
19031 echo "$as_me: failed program was:" >&5
19032 sed 's/^/| /' conftest.
$ac_ext >&5
19034 bfd_cv_have_sys_procfs_type_fpregset_t
=no
19037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19040 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
19042 cat >>confdefs.h
<<\_ACEOF
19043 #define HAVE_FPREGSET_T 1
19047 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
19048 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
19050 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
19051 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
19052 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19055 cat >conftest.
$ac_ext <<_ACEOF
19058 cat confdefs.h
>>conftest.
$ac_ext
19059 cat >>conftest.
$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19063 #include <sys/procfs.h>
19072 rm -f conftest.
$ac_objext
19073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19074 (eval $ac_compile) 2>conftest.er1
19076 grep -v '^ *+' conftest.er1
>conftest.err
19078 cat conftest.err
>&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); } &&
19081 { ac_try
='test -z "$ac_c_werror_flag"
19082 || test ! -s conftest.err'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; } &&
19088 { ac_try
='test -s conftest.$ac_objext'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; }; then
19094 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
19096 echo "$as_me: failed program was:" >&5
19097 sed 's/^/| /' conftest.
$ac_ext >&5
19099 bfd_cv_have_sys_procfs_type_prgregset_t
=no
19102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19105 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
19107 cat >>confdefs.h
<<\_ACEOF
19108 #define HAVE_PRGREGSET_T 1
19112 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
19113 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
19115 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
19116 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
19117 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
19118 echo $ECHO_N "(cached) $ECHO_C" >&6
19120 cat >conftest.
$ac_ext <<_ACEOF
19123 cat confdefs.h
>>conftest.
$ac_ext
19124 cat >>conftest.
$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19128 #include <sys/procfs.h>
19137 rm -f conftest.
$ac_objext
19138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19139 (eval $ac_compile) 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_objext'
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 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.
$ac_ext >&5
19164 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
19167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19170 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
19172 cat >>confdefs.h
<<\_ACEOF
19173 #define HAVE_PRFPREGSET_T 1
19177 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
19178 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
19180 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
19181 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
19182 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
19183 echo $ECHO_N "(cached) $ECHO_C" >&6
19185 cat >conftest.
$ac_ext <<_ACEOF
19188 cat confdefs.h
>>conftest.
$ac_ext
19189 cat >>conftest.
$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19193 #include <sys/procfs.h>
19202 rm -f conftest.
$ac_objext
19203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19204 (eval $ac_compile) 2>conftest.er1
19206 grep -v '^ *+' conftest.er1
>conftest.err
19208 cat conftest.err
>&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); } &&
19211 { ac_try
='test -z "$ac_c_werror_flag"
19212 || test ! -s conftest.err'
19213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19214 (eval $ac_try) 2>&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); }; } &&
19218 { ac_try
='test -s conftest.$ac_objext'
19219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19220 (eval $ac_try) 2>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); }; }; then
19224 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
19226 echo "$as_me: failed program was:" >&5
19227 sed 's/^/| /' conftest.
$ac_ext >&5
19229 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
19232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19235 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
19237 cat >>confdefs.h
<<\_ACEOF
19238 #define HAVE_PRGREGSET32_T 1
19242 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
19243 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
19245 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
19246 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
19247 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
19248 echo $ECHO_N "(cached) $ECHO_C" >&6
19250 cat >conftest.
$ac_ext <<_ACEOF
19253 cat confdefs.h
>>conftest.
$ac_ext
19254 cat >>conftest.
$ac_ext <<_ACEOF
19255 /* end confdefs.h. */
19258 #include <sys/procfs.h>
19262 prfpregset32_t avar
19267 rm -f conftest.
$ac_objext
19268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19269 (eval $ac_compile) 2>conftest.er1
19271 grep -v '^ *+' conftest.er1
>conftest.err
19273 cat conftest.err
>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } &&
19276 { ac_try
='test -z "$ac_c_werror_flag"
19277 || test ! -s conftest.err'
19278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19279 (eval $ac_try) 2>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); }; } &&
19283 { ac_try
='test -s conftest.$ac_objext'
19284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285 (eval $ac_try) 2>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); }; }; then
19289 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.
$ac_ext >&5
19294 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
19297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19300 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
19302 cat >>confdefs.h
<<\_ACEOF
19303 #define HAVE_PRFPREGSET32_T 1
19307 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
19308 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
19310 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
19311 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
19312 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
19313 echo $ECHO_N "(cached) $ECHO_C" >&6
19315 cat >conftest.
$ac_ext <<_ACEOF
19318 cat confdefs.h
>>conftest.
$ac_ext
19319 cat >>conftest.
$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19323 #include <sys/procfs.h>
19332 rm -f conftest.
$ac_objext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19334 (eval $ac_compile) 2>conftest.er1
19336 grep -v '^ *+' conftest.er1
>conftest.err
19338 cat conftest.err
>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); } &&
19341 { ac_try
='test -z "$ac_c_werror_flag"
19342 || test ! -s conftest.err'
19343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19344 (eval $ac_try) 2>&5
19346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19347 (exit $ac_status); }; } &&
19348 { ac_try
='test -s conftest.$ac_objext'
19349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19350 (eval $ac_try) 2>&5
19352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353 (exit $ac_status); }; }; then
19354 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
19356 echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.
$ac_ext >&5
19359 bfd_cv_have_sys_procfs_type_lwpid_t
=no
19362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19365 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
19367 cat >>confdefs.h
<<\_ACEOF
19368 #define HAVE_LWPID_T 1
19372 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
19373 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
19375 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
19376 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
19377 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19380 cat >conftest.
$ac_ext <<_ACEOF
19383 cat confdefs.h
>>conftest.
$ac_ext
19384 cat >>conftest.
$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19388 #include <sys/procfs.h>
19397 rm -f conftest.
$ac_objext
19398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19399 (eval $ac_compile) 2>conftest.er1
19401 grep -v '^ *+' conftest.er1
>conftest.err
19403 cat conftest.err
>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); } &&
19406 { ac_try
='test -z "$ac_c_werror_flag"
19407 || test ! -s conftest.err'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; } &&
19413 { ac_try
='test -s conftest.$ac_objext'
19414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415 (eval $ac_try) 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; }; then
19419 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
19421 echo "$as_me: failed program was:" >&5
19422 sed 's/^/| /' conftest.
$ac_ext >&5
19424 bfd_cv_have_sys_procfs_type_psaddr_t
=no
19427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19430 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
19432 cat >>confdefs.h
<<\_ACEOF
19433 #define HAVE_PSADDR_T 1
19437 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
19438 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
19440 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
19441 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
19442 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
19443 echo $ECHO_N "(cached) $ECHO_C" >&6
19445 cat >conftest.
$ac_ext <<_ACEOF
19448 cat confdefs.h
>>conftest.
$ac_ext
19449 cat >>conftest.
$ac_ext <<_ACEOF
19450 /* end confdefs.h. */
19453 #include <sys/procfs.h>
19462 rm -f conftest.
$ac_objext
19463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19464 (eval $ac_compile) 2>conftest.er1
19466 grep -v '^ *+' conftest.er1
>conftest.err
19468 cat conftest.err
>&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); } &&
19471 { ac_try
='test -z "$ac_c_werror_flag"
19472 || test ! -s conftest.err'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; } &&
19478 { ac_try
='test -s conftest.$ac_objext'
19479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480 (eval $ac_try) 2>&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; }; then
19484 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.
$ac_ext >&5
19489 bfd_cv_have_sys_procfs_type_prsysent_t
=no
19492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19495 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
19497 cat >>confdefs.h
<<\_ACEOF
19498 #define HAVE_PRSYSENT_T 1
19502 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
19503 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
19505 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
19506 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
19507 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19510 cat >conftest.
$ac_ext <<_ACEOF
19513 cat confdefs.h
>>conftest.
$ac_ext
19514 cat >>conftest.
$ac_ext <<_ACEOF
19515 /* end confdefs.h. */
19518 #include <sys/procfs.h>
19527 rm -f conftest.
$ac_objext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19529 (eval $ac_compile) 2>conftest.er1
19531 grep -v '^ *+' conftest.er1
>conftest.err
19533 cat conftest.err
>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } &&
19536 { ac_try
='test -z "$ac_c_werror_flag"
19537 || test ! -s conftest.err'
19538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539 (eval $ac_try) 2>&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); }; } &&
19543 { ac_try
='test -s conftest.$ac_objext'
19544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19545 (eval $ac_try) 2>&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); }; }; then
19549 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.
$ac_ext >&5
19554 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
19557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19560 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
19562 cat >>confdefs.h
<<\_ACEOF
19563 #define HAVE_PR_SIGSET_T 1
19567 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
19568 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
19570 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
19571 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
19572 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
19573 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 cat >conftest.
$ac_ext <<_ACEOF
19578 cat confdefs.h
>>conftest.
$ac_ext
19579 cat >>conftest.
$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19583 #include <sys/procfs.h>
19587 pr_sigaction64_t avar
19592 rm -f conftest.
$ac_objext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19594 (eval $ac_compile) 2>conftest.er1
19596 grep -v '^ *+' conftest.er1
>conftest.err
19598 cat conftest.err
>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try
='test -z "$ac_c_werror_flag"
19602 || test ! -s conftest.err'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; } &&
19608 { ac_try
='test -s conftest.$ac_objext'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; }; then
19614 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
19616 echo "$as_me: failed program was:" >&5
19617 sed 's/^/| /' conftest.
$ac_ext >&5
19619 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
19622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19625 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
19627 cat >>confdefs.h
<<\_ACEOF
19628 #define HAVE_PR_SIGACTION64_T 1
19632 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
19633 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
19635 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
19636 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
19637 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
19638 echo $ECHO_N "(cached) $ECHO_C" >&6
19640 cat >conftest.
$ac_ext <<_ACEOF
19643 cat confdefs.h
>>conftest.
$ac_ext
19644 cat >>conftest.
$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19648 #include <sys/procfs.h>
19652 pr_siginfo64_t avar
19657 rm -f conftest.
$ac_objext
19658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19659 (eval $ac_compile) 2>conftest.er1
19661 grep -v '^ *+' conftest.er1
>conftest.err
19663 cat conftest.err
>&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } &&
19666 { ac_try
='test -z "$ac_c_werror_flag"
19667 || test ! -s conftest.err'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; } &&
19673 { ac_try
='test -s conftest.$ac_objext'
19674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 (eval $ac_try) 2>&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; }; then
19679 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
19681 echo "$as_me: failed program was:" >&5
19682 sed 's/^/| /' conftest.
$ac_ext >&5
19684 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
19687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19690 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
19692 cat >>confdefs.h
<<\_ACEOF
19693 #define HAVE_PR_SIGINFO64_T 1
19697 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
19698 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
19704 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
19705 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
19706 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
19707 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
19708 echo $ECHO_N "(cached) $ECHO_C" >&6
19710 if test "$cross_compiling" = yes; then
19711 gdb_cv_prfpregset_t_broken
=yes
19713 cat >conftest.
$ac_ext <<_ACEOF
19716 cat confdefs.h
>>conftest.
$ac_ext
19717 cat >>conftest.
$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 #include <sys/procfs.h>
19722 if (sizeof (prfpregset_t) == sizeof (void *))
19727 rm -f conftest
$ac_exeext
19728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19729 (eval $ac_link) 2>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; }; then
19738 gdb_cv_prfpregset_t_broken
=no
19740 echo "$as_me: program exited with status $ac_status" >&5
19741 echo "$as_me: failed program was:" >&5
19742 sed 's/^/| /' conftest.
$ac_ext >&5
19744 ( exit $ac_status )
19745 gdb_cv_prfpregset_t_broken
=yes
19747 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19751 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
19752 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
19753 if test $gdb_cv_prfpregset_t_broken = yes; then
19755 cat >>confdefs.h
<<\_ACEOF
19756 #define PRFPREGSET_T_BROKEN 1
19763 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
19764 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
19765 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
19766 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 cat >conftest.
$ac_ext <<_ACEOF
19771 cat confdefs.h
>>conftest.
$ac_ext
19772 cat >>conftest.
$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 #include <unistd.h>
19775 #include <sys/types.h>
19776 #include <sys/procfs.h>
19783 dummy = ioctl(0, PIOCSET, &dummy);
19789 rm -f conftest.
$ac_objext
19790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19791 (eval $ac_compile) 2>conftest.er1
19793 grep -v '^ *+' conftest.er1
>conftest.err
19795 cat conftest.err
>&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); } &&
19798 { ac_try
='test -z "$ac_c_werror_flag"
19799 || test ! -s conftest.err'
19800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19801 (eval $ac_try) 2>&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); }; } &&
19805 { ac_try
='test -s conftest.$ac_objext'
19806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807 (eval $ac_try) 2>&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); }; }; then
19811 gdb_cv_have_procfs_piocset
=yes
19813 echo "$as_me: failed program was:" >&5
19814 sed 's/^/| /' conftest.
$ac_ext >&5
19816 gdb_cv_have_procfs_piocset
=no
19818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19821 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
19822 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
19823 if test $gdb_cv_have_procfs_piocset = yes; then
19825 cat >>confdefs.h
<<\_ACEOF
19826 #define HAVE_PROCFS_PIOCSET 1
19832 if test ${host} = ${target} ; then
19834 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
19835 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
19836 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
19837 echo $ECHO_N "(cached) $ECHO_C" >&6
19839 cat >conftest.
$ac_ext <<_ACEOF
19842 cat confdefs.h
>>conftest.
$ac_ext
19843 cat >>conftest.
$ac_ext <<_ACEOF
19844 /* end confdefs.h. */
19849 struct link_map lm; (void) lm.l_addr;
19854 rm -f conftest.
$ac_objext
19855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19856 (eval $ac_compile) 2>conftest.er1
19858 grep -v '^ *+' conftest.er1
>conftest.err
19860 cat conftest.err
>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } &&
19863 { ac_try
='test -z "$ac_c_werror_flag"
19864 || test ! -s conftest.err'
19865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19866 (eval $ac_try) 2>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); }; } &&
19870 { ac_try
='test -s conftest.$ac_objext'
19871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19872 (eval $ac_try) 2>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); }; }; then
19876 gdb_cv_have_struct_link_map_with_l_members
=yes
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.
$ac_ext >&5
19881 gdb_cv_have_struct_link_map_with_l_members
=no
19883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19886 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
19887 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
19888 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
19890 cat >>confdefs.h
<<\_ACEOF
19891 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
19897 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
19898 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
19899 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
19900 echo $ECHO_N "(cached) $ECHO_C" >&6
19902 cat >conftest.
$ac_ext <<_ACEOF
19905 cat confdefs.h
>>conftest.
$ac_ext
19906 cat >>conftest.
$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19908 #include <sys/types.h>
19913 struct link_map lm; (void) lm.lm_addr;
19918 rm -f conftest.
$ac_objext
19919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19920 (eval $ac_compile) 2>conftest.er1
19922 grep -v '^ *+' conftest.er1
>conftest.err
19924 cat conftest.err
>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } &&
19927 { ac_try
='test -z "$ac_c_werror_flag"
19928 || test ! -s conftest.err'
19929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930 (eval $ac_try) 2>&5
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); }; } &&
19934 { ac_try
='test -s conftest.$ac_objext'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; }; then
19940 gdb_cv_have_struct_link_map_with_lm_members
=yes
19942 echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.
$ac_ext >&5
19945 gdb_cv_have_struct_link_map_with_lm_members
=no
19947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19950 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
19951 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
19952 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
19954 cat >>confdefs.h
<<\_ACEOF
19955 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
19961 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
19962 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
19963 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19966 cat >conftest.
$ac_ext <<_ACEOF
19969 cat confdefs.h
>>conftest.
$ac_ext
19970 cat >>conftest.
$ac_ext <<_ACEOF
19971 /* end confdefs.h. */
19972 #include <sys/types.h>
19973 #ifdef HAVE_NLIST_H
19980 struct so_map lm; (void) lm.som_addr;
19985 rm -f conftest.
$ac_objext
19986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19987 (eval $ac_compile) 2>conftest.er1
19989 grep -v '^ *+' conftest.er1
>conftest.err
19991 cat conftest.err
>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } &&
19994 { ac_try
='test -z "$ac_c_werror_flag"
19995 || test ! -s conftest.err'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; } &&
20001 { ac_try
='test -s conftest.$ac_objext'
20002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003 (eval $ac_try) 2>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; }; then
20007 gdb_cv_have_struct_so_map_with_som_members
=yes
20009 echo "$as_me: failed program was:" >&5
20010 sed 's/^/| /' conftest.
$ac_ext >&5
20012 gdb_cv_have_struct_so_map_with_som_members
=no
20014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20017 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
20018 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
20019 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
20021 cat >>confdefs.h
<<\_ACEOF
20022 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
20028 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
20029 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
20030 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
20031 echo $ECHO_N "(cached) $ECHO_C" >&6
20033 cat >conftest.
$ac_ext <<_ACEOF
20036 cat confdefs.h
>>conftest.
$ac_ext
20037 cat >>conftest.
$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20040 #include <sys/link.h>
20044 struct link_map32 l;
20049 rm -f conftest.
$ac_objext
20050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20051 (eval $ac_compile) 2>conftest.er1
20053 grep -v '^ *+' conftest.er1
>conftest.err
20055 cat conftest.err
>&5
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); } &&
20058 { ac_try
='test -z "$ac_c_werror_flag"
20059 || test ! -s conftest.err'
20060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20061 (eval $ac_try) 2>&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); }; } &&
20065 { ac_try
='test -s conftest.$ac_objext'
20066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20067 (eval $ac_try) 2>&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); }; }; then
20071 gdb_cv_have_struct_link_map32
=yes
20073 echo "$as_me: failed program was:" >&5
20074 sed 's/^/| /' conftest.
$ac_ext >&5
20076 gdb_cv_have_struct_link_map32
=no
20078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20081 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
20082 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
20083 if test $gdb_cv_have_struct_link_map32 = yes; then
20085 cat >>confdefs.h
<<\_ACEOF
20086 #define HAVE_STRUCT_LINK_MAP32 1
20090 cat >>confdefs.h
<<\_ACEOF
20091 #define _SYSCALL32 1
20097 # Check if the compiler supports the `long long' type.
20099 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
20100 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
20101 if test "${gdb_cv_c_long_long+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 cat >conftest.
$ac_ext <<_ACEOF
20107 cat confdefs.h
>>conftest.
$ac_ext
20108 cat >>conftest.
$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 extern long long foo;
20114 switch (foo & 2) { case 0: return 1; }
20119 rm -f conftest.
$ac_objext
20120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20121 (eval $ac_compile) 2>conftest.er1
20123 grep -v '^ *+' conftest.er1
>conftest.err
20125 cat conftest.err
>&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } &&
20128 { ac_try
='test -z "$ac_c_werror_flag"
20129 || test ! -s conftest.err'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; } &&
20135 { ac_try
='test -s conftest.$ac_objext'
20136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 (eval $ac_try) 2>&5
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); }; }; then
20141 gdb_cv_c_long_long
=yes
20143 echo "$as_me: failed program was:" >&5
20144 sed 's/^/| /' conftest.
$ac_ext >&5
20146 gdb_cv_c_long_long
=no
20148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20150 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
20151 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
20152 if test $gdb_cv_c_long_long = yes; then
20154 cat >>confdefs.h
<<\_ACEOF
20155 #define CC_HAS_LONG_LONG 1
20160 # Check if the compiler and runtime support printing long longs.
20162 echo "$as_me:$LINENO: checking for long long support in printf" >&5
20163 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
20164 if test "${gdb_cv_printf_has_long_long+set}" = set; then
20165 echo $ECHO_N "(cached) $ECHO_C" >&6
20167 if test "$cross_compiling" = yes; then
20168 gdb_cv_printf_has_long_long
=no
20170 cat >conftest.
$ac_ext <<_ACEOF
20173 cat confdefs.h
>>conftest.
$ac_ext
20174 cat >>conftest.
$ac_ext <<_ACEOF
20175 /* end confdefs.h. */
20176 $ac_includes_default
20182 l = (l << 16) + 0x0123;
20183 l = (l << 16) + 0x4567;
20184 l = (l << 16) + 0x89ab;
20185 l = (l << 16) + 0xcdef;
20186 sprintf (buf, "0x%016llx", l);
20187 return (strcmp ("0x0123456789abcdef", buf));
20192 rm -f conftest
$ac_exeext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20194 (eval $ac_link) 2>&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; }; then
20203 gdb_cv_printf_has_long_long
=yes
20205 echo "$as_me: program exited with status $ac_status" >&5
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.
$ac_ext >&5
20209 ( exit $ac_status )
20210 gdb_cv_printf_has_long_long
=no
20212 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20215 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
20216 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
20217 if test $gdb_cv_printf_has_long_long = yes; then
20219 cat >>confdefs.h
<<\_ACEOF
20220 #define PRINTF_HAS_LONG_LONG 1
20225 # Check if the compiler supports the `long double' type. We can't use
20226 # AC_C_LONG_DOUBLE because that one does additional checks on the
20227 # constants defined in <float.h> that fail on some systems,
20228 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
20230 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
20231 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
20232 if test "${gdb_cv_c_long_double+set}" = set; then
20233 echo $ECHO_N "(cached) $ECHO_C" >&6
20235 cat >conftest.
$ac_ext <<_ACEOF
20238 cat confdefs.h
>>conftest.
$ac_ext
20239 cat >>conftest.
$ac_ext <<_ACEOF
20240 /* end confdefs.h. */
20243 rm -f conftest.
$ac_objext
20244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20245 (eval $ac_compile) 2>conftest.er1
20247 grep -v '^ *+' conftest.er1
>conftest.err
20249 cat conftest.err
>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); } &&
20252 { ac_try
='test -z "$ac_c_werror_flag"
20253 || test ! -s conftest.err'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; } &&
20259 { ac_try
='test -s conftest.$ac_objext'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; }; then
20265 gdb_cv_c_long_double
=yes
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.
$ac_ext >&5
20270 gdb_cv_c_long_double
=no
20272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20274 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
20275 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
20276 if test $gdb_cv_c_long_double = yes; then
20278 cat >>confdefs.h
<<\_ACEOF
20279 #define HAVE_LONG_DOUBLE 1
20284 # Check if the compiler and runtime support printing long doubles.
20286 echo "$as_me:$LINENO: checking for long double support in printf" >&5
20287 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
20288 if test "${gdb_cv_printf_has_long_double+set}" = set; then
20289 echo $ECHO_N "(cached) $ECHO_C" >&6
20291 if test "$cross_compiling" = yes; then
20292 gdb_cv_printf_has_long_double
=no
20294 cat >conftest.
$ac_ext <<_ACEOF
20297 cat confdefs.h
>>conftest.
$ac_ext
20298 cat >>conftest.
$ac_ext <<_ACEOF
20299 /* end confdefs.h. */
20300 $ac_includes_default
20305 long double f = 3.141592653;
20306 sprintf (buf, "%Lg", f);
20307 return (strncmp ("3.14159", buf, 7));
20312 rm -f conftest
$ac_exeext
20313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20314 (eval $ac_link) 2>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; }; then
20323 gdb_cv_printf_has_long_double
=yes
20325 echo "$as_me: program exited with status $ac_status" >&5
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.
$ac_ext >&5
20329 ( exit $ac_status )
20330 gdb_cv_printf_has_long_double
=no
20332 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20335 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
20336 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
20337 if test $gdb_cv_printf_has_long_double = yes; then
20339 cat >>confdefs.h
<<\_ACEOF
20340 #define PRINTF_HAS_LONG_DOUBLE 1
20345 # Check if the compiler and runtime support scanning long doubles.
20347 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
20348 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
20349 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
20350 echo $ECHO_N "(cached) $ECHO_C" >&6
20352 if test "$cross_compiling" = yes; then
20353 gdb_cv_scanf_has_long_double
=no
20355 cat >conftest.
$ac_ext <<_ACEOF
20358 cat confdefs.h
>>conftest.
$ac_ext
20359 cat >>conftest.
$ac_ext <<_ACEOF
20360 /* end confdefs.h. */
20365 char *buf = "3.141592653";
20367 sscanf (buf, "%Lg", &f);
20368 return !(f > 3.14159 && f < 3.14160);
20373 rm -f conftest
$ac_exeext
20374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20375 (eval $ac_link) 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20380 (eval $ac_try) 2>&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); }; }; then
20384 gdb_cv_scanf_has_long_double
=yes
20386 echo "$as_me: program exited with status $ac_status" >&5
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.
$ac_ext >&5
20390 ( exit $ac_status )
20391 gdb_cv_scanf_has_long_double
=no
20393 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20396 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
20397 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
20398 if test $gdb_cv_scanf_has_long_double = yes; then
20400 cat >>confdefs.h
<<\_ACEOF
20401 #define SCANF_HAS_LONG_DOUBLE 1
20408 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
20409 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
20410 if test "${gdb_cv_bigtoc+set}" = set; then
20411 echo $ECHO_N "(cached) $ECHO_C" >&6
20414 SAVE_LDFLAGS
=$LDFLAGS
20417 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
20418 *) gdb_cv_bigtoc
=-bbigtoc ;;
20421 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
20422 cat >conftest.
$ac_ext <<_ACEOF
20425 cat confdefs.h
>>conftest.
$ac_ext
20426 cat >>conftest.
$ac_ext <<_ACEOF
20427 /* end confdefs.h. */
20437 rm -f conftest.
$ac_objext conftest
$ac_exeext
20438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20439 (eval $ac_link) 2>conftest.er1
20441 grep -v '^ *+' conftest.er1
>conftest.err
20443 cat conftest.err
>&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); } &&
20446 { ac_try
='test -z "$ac_c_werror_flag"
20447 || test ! -s conftest.err'
20448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449 (eval $ac_try) 2>&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); }; } &&
20453 { ac_try
='test -s conftest$ac_exeext'
20454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20455 (eval $ac_try) 2>&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); }; }; then
20461 echo "$as_me: failed program was:" >&5
20462 sed 's/^/| /' conftest.
$ac_ext >&5
20466 rm -f conftest.err conftest.
$ac_objext \
20467 conftest
$ac_exeext conftest.
$ac_ext
20468 LDFLAGS
="${SAVE_LDFLAGS}"
20471 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
20472 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
20473 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
20479 if test ${build} = ${host} -a ${host} = ${target} ; then
20482 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
20483 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
20484 if test -f /usr
/include
/dce
/cma_config.h
; then
20485 if test "$GCC" = "yes" ; then
20486 echo "$as_me:$LINENO: result: yes" >&5
20487 echo "${ECHO_T}yes" >&6
20489 cat >>confdefs.h
<<\_ACEOF
20490 #define HAVE_HPUX_THREAD_SUPPORT 1
20493 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
20494 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
20496 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
20497 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
20500 echo "$as_me:$LINENO: result: no" >&5
20501 echo "${ECHO_T}no" >&6
20505 # See if thread_db library is around for Solaris thread debugging.
20506 # Note that we must explicitly test for version 1 of the library
20507 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
20509 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
20510 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
20511 if test -f /usr
/lib
/libthread_db.so
.1 ; then
20512 echo "$as_me:$LINENO: result: yes" >&5
20513 echo "${ECHO_T}yes" >&6
20515 cat >>confdefs.h
<<\_ACEOF
20516 #define HAVE_THREAD_DB_LIB 1
20519 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
20520 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
20522 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20523 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
20524 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20525 echo $ECHO_N "(cached) $ECHO_C" >&6
20527 ac_check_lib_save_LIBS
=$LIBS
20529 cat >conftest.
$ac_ext <<_ACEOF
20532 cat confdefs.h
>>conftest.
$ac_ext
20533 cat >>conftest.
$ac_ext <<_ACEOF
20534 /* end confdefs.h. */
20536 /* Override any gcc2 internal prototype to avoid an error. */
20540 /* We use char because int might match the return type of a gcc2
20541 builtin and then its argument prototype would still apply. */
20551 rm -f conftest.
$ac_objext conftest
$ac_exeext
20552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20553 (eval $ac_link) 2>conftest.er1
20555 grep -v '^ *+' conftest.er1
>conftest.err
20557 cat conftest.err
>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); } &&
20560 { ac_try
='test -z "$ac_c_werror_flag"
20561 || test ! -s conftest.err'
20562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563 (eval $ac_try) 2>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; } &&
20567 { ac_try
='test -s conftest$ac_exeext'
20568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20569 (eval $ac_try) 2>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); }; }; then
20573 ac_cv_lib_dl_dlopen
=yes
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.
$ac_ext >&5
20578 ac_cv_lib_dl_dlopen
=no
20580 rm -f conftest.err conftest.
$ac_objext \
20581 conftest
$ac_exeext conftest.
$ac_ext
20582 LIBS
=$ac_check_lib_save_LIBS
20584 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20585 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20586 if test $ac_cv_lib_dl_dlopen = yes; then
20587 cat >>confdefs.h
<<_ACEOF
20588 #define HAVE_LIBDL 1
20595 if test "$GCC" = "yes" ; then
20596 # The GNU linker requires the -export-dynamic option to make
20597 # all symbols visible in the dynamic symbol table.
20598 hold_ldflags
=$LDFLAGS
20599 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
20600 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
20601 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
20602 cat >conftest.
$ac_ext <<_ACEOF
20605 cat confdefs.h
>>conftest.
$ac_ext
20606 cat >>conftest.
$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20617 rm -f conftest.
$ac_objext conftest
$ac_exeext
20618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20619 (eval $ac_link) 2>conftest.er1
20621 grep -v '^ *+' conftest.er1
>conftest.err
20623 cat conftest.err
>&5
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); } &&
20626 { ac_try
='test -z "$ac_c_werror_flag"
20627 || test ! -s conftest.err'
20628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20629 (eval $ac_try) 2>&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); }; } &&
20633 { ac_try
='test -s conftest$ac_exeext'
20634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20635 (eval $ac_try) 2>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); }; }; then
20641 echo "$as_me: failed program was:" >&5
20642 sed 's/^/| /' conftest.
$ac_ext >&5
20646 rm -f conftest.err conftest.
$ac_objext \
20647 conftest
$ac_exeext conftest.
$ac_ext
20648 LDFLAGS
=$hold_ldflags
20649 echo "$as_me:$LINENO: result: $found" >&5
20650 echo "${ECHO_T}$found" >&6
20651 if test $found = yes; then
20652 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
20655 # Sun randomly tweaked the prototypes in <proc_service.h>
20657 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
20658 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
20659 if test "${gdb_cv_proc_service_is_old+set}" = set; then
20660 echo $ECHO_N "(cached) $ECHO_C" >&6
20663 cat >conftest.
$ac_ext <<_ACEOF
20666 cat confdefs.h
>>conftest.
$ac_ext
20667 cat >>conftest.
$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20670 #include <proc_service.h>
20671 ps_err_e ps_pdwrite
20672 (struct ps_prochandle*, psaddr_t, const void*, size_t);
20682 rm -f conftest.
$ac_objext
20683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20684 (eval $ac_compile) 2>conftest.er1
20686 grep -v '^ *+' conftest.er1
>conftest.err
20688 cat conftest.err
>&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } &&
20691 { ac_try
='test -z "$ac_c_werror_flag"
20692 || test ! -s conftest.err'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; } &&
20698 { ac_try
='test -s conftest.$ac_objext'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; }; then
20704 gdb_cv_proc_service_is_old
=no
20706 echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.
$ac_ext >&5
20709 gdb_cv_proc_service_is_old
=yes
20711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20715 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
20716 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
20717 if test $gdb_cv_proc_service_is_old = yes; then
20719 cat >>confdefs.h
<<\_ACEOF
20720 #define PROC_SERVICE_IS_OLD 1
20725 echo "$as_me:$LINENO: result: no" >&5
20726 echo "${ECHO_T}no" >&6
20730 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
20731 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
20732 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
20733 echo $ECHO_N "(cached) $ECHO_C" >&6
20735 cat >conftest.
$ac_ext <<_ACEOF
20738 cat confdefs.h
>>conftest.
$ac_ext
20739 cat >>conftest.
$ac_ext <<_ACEOF
20740 /* end confdefs.h. */
20741 #include <sys/pthdebug.h>
20745 #ifndef PTHDB_VERSION_3
20752 rm -f conftest.
$ac_objext
20753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20754 (eval $ac_compile) 2>conftest.er1
20756 grep -v '^ *+' conftest.er1
>conftest.err
20758 cat conftest.err
>&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } &&
20761 { ac_try
='test -z "$ac_c_werror_flag"
20762 || test ! -s conftest.err'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; } &&
20768 { ac_try
='test -s conftest.$ac_objext'
20769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20770 (eval $ac_try) 2>&5
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); }; }; then
20774 gdb_cv_have_aix_thread_debug
=yes
20776 echo "$as_me: failed program was:" >&5
20777 sed 's/^/| /' conftest.
$ac_ext >&5
20779 gdb_cv_have_aix_thread_debug
=no
20781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20784 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
20785 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
20786 if test $gdb_cv_have_aix_thread_debug = yes; then
20787 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
20788 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
20789 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
20796 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
20797 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
20798 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
20799 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
20800 echo $ECHO_N "(cached) $ECHO_C" >&6
20802 cat >conftest.
$ac_ext <<_ACEOF
20805 cat confdefs.h
>>conftest.
$ac_ext
20806 cat >>conftest.
$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20808 #include <thread_db.h>
20812 int i = TD_NOTALLOC;
20817 rm -f conftest.
$ac_objext
20818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20819 (eval $ac_compile) 2>conftest.er1
20821 grep -v '^ *+' conftest.er1
>conftest.err
20823 cat conftest.err
>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } &&
20826 { ac_try
='test -z "$ac_c_werror_flag"
20827 || test ! -s conftest.err'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; } &&
20833 { ac_try
='test -s conftest.$ac_objext'
20834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835 (eval $ac_try) 2>&5
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); }; }; then
20839 gdb_cv_thread_db_h_has_td_notalloc
=yes
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.
$ac_ext >&5
20844 gdb_cv_thread_db_h_has_td_notalloc
=no
20847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20850 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
20851 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
20853 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
20855 cat >>confdefs.h
<<\_ACEOF
20856 #define THREAD_DB_HAS_TD_NOTALLOC 1
20861 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
20862 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
20863 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
20864 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20867 cat >conftest.
$ac_ext <<_ACEOF
20870 cat confdefs.h
>>conftest.
$ac_ext
20871 cat >>conftest.
$ac_ext <<_ACEOF
20872 /* end confdefs.h. */
20873 #include <sys/syscall.h>
20877 int i = __NR_tkill;
20882 rm -f conftest.
$ac_objext
20883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20884 (eval $ac_compile) 2>conftest.er1
20886 grep -v '^ *+' conftest.er1
>conftest.err
20888 cat conftest.err
>&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); } &&
20891 { ac_try
='test -z "$ac_c_werror_flag"
20892 || test ! -s conftest.err'
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); }; } &&
20898 { ac_try
='test -s conftest.$ac_objext'
20899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20900 (eval $ac_try) 2>&5
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); }; }; then
20904 gdb_cv_sys_syscall_h_has_tkill
=yes
20906 echo "$as_me: failed program was:" >&5
20907 sed 's/^/| /' conftest.
$ac_ext >&5
20909 gdb_cv_sys_syscall_h_has_tkill
=no
20912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20915 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
20916 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
20918 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
20920 cat >>confdefs.h
<<\_ACEOF
20921 #define HAVE_TKILL_SYSCALL 1
20928 # Check whether --with-sysroot or --without-sysroot was given.
20929 if test "${with_sysroot+set}" = set; then
20930 withval
="$with_sysroot"
20932 case ${with_sysroot} in
20933 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
20934 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
20937 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
20939 if test "x$exec_prefix" = xNONE
; then
20940 if test "x$prefix" = xNONE
; then
20941 test_prefix
=/usr
/local
20943 test_prefix
=$prefix
20946 test_prefix
=$exec_prefix
20948 case ${TARGET_SYSTEM_ROOT} in
20949 "${test_prefix}"|
"${test_prefix}/"*|\
20950 '${exec_prefix}'|
'${exec_prefix}/'*)
20951 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
20952 TARGET_SYSTEM_ROOT_DEFINE
="$t"
20958 TARGET_SYSTEM_ROOT
=
20959 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
20965 # Check whether --enable-werror or --disable-werror was given.
20966 if test "${enable_werror+set}" = set; then
20967 enableval
="$enable_werror"
20968 case "${enableval}" in
20969 yes | y
) ERROR_ON_WARNING
="yes" ;;
20970 no | n
) ERROR_ON_WARNING
="no" ;;
20971 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
20972 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
20973 { (exit 1); exit 1; }; } ;;
20977 # Enable -Werror by default when using gcc
20978 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
20979 ERROR_ON_WARNING
=yes
20983 if test "${ERROR_ON_WARNING}" = yes ; then
20984 WERROR_CFLAGS
="-Werror"
20987 # NOTE: Don't add -Wall or -Wunused, they both include
20988 # -Wunused-parameter which reports bogus warnings.
20989 # NOTE: If you add to this list, remember to update
20990 # gdb/doc/gdbint.texinfo.
20991 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
20992 -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral \
20993 -Wunused-label -Wunused-function -Wno-pointer-sign"
20995 # GCC supports -Wuninitialized only with -O or -On, n != 0.
20996 if test x
${CFLAGS+set} = xset
; then
20997 case "${CFLAGS}" in
21000 build_warnings
="${build_warnings} -Wuninitialized"
21004 build_warnings
="${build_warnings} -Wuninitialized"
21007 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
21008 # -Wunused-function -Wunused-variable -Wunused-value
21009 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
21010 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
21011 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
21012 # -Woverloaded-virtual -Winline -Werror"
21013 # Check whether --enable-build-warnings or --disable-build-warnings was given.
21014 if test "${enable_build_warnings+set}" = set; then
21015 enableval
="$enable_build_warnings"
21016 case "${enableval}" in
21018 no
) build_warnings
="-w";;
21019 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21020 build_warnings
="${build_warnings} ${t}";;
21021 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21022 build_warnings
="${t} ${build_warnings}";;
21023 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
21025 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
21026 echo "Setting compiler warning flags = $build_warnings" 6>&1
21028 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
21029 if test "${enable_gdb_build_warnings+set}" = set; then
21030 enableval
="$enable_gdb_build_warnings"
21031 case "${enableval}" in
21033 no
) build_warnings
="-w";;
21034 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21035 build_warnings
="${build_warnings} ${t}";;
21036 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21037 build_warnings
="${t} ${build_warnings}";;
21038 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
21040 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
21041 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
21044 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
21046 echo "$as_me:$LINENO: checking compiler warning flags" >&5
21047 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
21048 # Separate out the -Werror flag as some files just cannot be
21049 # compiled with it enabled.
21050 for w
in ${build_warnings}; do
21052 -Werr*) WERROR_CFLAGS
=-Werror ;;
21053 *) # Check that GCC accepts it
21054 saved_CFLAGS
="$CFLAGS"
21055 CFLAGS
="$CFLAGS $w"
21056 cat >conftest.
$ac_ext <<_ACEOF
21059 cat confdefs.h
>>conftest.
$ac_ext
21060 cat >>conftest.
$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21071 rm -f conftest.
$ac_objext
21072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21073 (eval $ac_compile) 2>conftest.er1
21075 grep -v '^ *+' conftest.er1
>conftest.err
21077 cat conftest.err
>&5
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); } &&
21080 { ac_try
='test -z "$ac_c_werror_flag"
21081 || test ! -s conftest.err'
21082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21083 (eval $ac_try) 2>&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); }; } &&
21087 { ac_try
='test -s conftest.$ac_objext'
21088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21089 (eval $ac_try) 2>&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; }; then
21093 WARN_CFLAGS
="${WARN_CFLAGS} $w"
21095 echo "$as_me: failed program was:" >&5
21096 sed 's/^/| /' conftest.
$ac_ext >&5
21099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21100 CFLAGS
="$saved_CFLAGS"
21103 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
21104 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
21109 # In the Cygwin environment, we need some additional flags.
21110 echo "$as_me:$LINENO: checking for cygwin" >&5
21111 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
21112 if test "${gdb_cv_os_cygwin+set}" = set; then
21113 echo $ECHO_N "(cached) $ECHO_C" >&6
21115 cat >conftest.
$ac_ext <<_ACEOF
21118 cat confdefs.h
>>conftest.
$ac_ext
21119 cat >>conftest.
$ac_ext <<_ACEOF
21120 /* end confdefs.h. */
21122 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
21126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21127 $EGREP "lose" >/dev
/null
2>&1; then
21128 gdb_cv_os_cygwin
=yes
21130 gdb_cv_os_cygwin
=no
21135 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
21136 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
21139 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
21141 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
21142 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
21143 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
21147 # libreadline needs libuser32.a in a cygwin environment
21149 if test x
$gdb_cv_os_cygwin = xyes
; then
21150 WIN32LIBS
="-luser32"
21151 case "${target}" in
21152 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
21157 # The ser-tcp.c module requires sockets.
21161 cat >>confdefs.h
<<\_ACEOF
21162 #define USE_WIN32API 1
21165 WIN32LIBS
="$WIN32LIBS -lws2_32"
21170 # Add any host-specific objects to GDB.
21171 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
21173 LIBGUI
="../libgui/src/libgui.a"
21174 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
21192 if test "${enable_gdbtk}" = "yes"; then
21194 # Gdbtk must have an absolute path to srcdir in order to run
21195 # properly when not installed.
21198 GDBTK_SRC_DIR
=`pwd`
21203 # Ok, lets find the tcl configuration
21204 # First, look for one uninstalled.
21205 # the alternative search directory is invoked by --with-tclconfig
21208 if test x
"${no_tcl}" = x
; then
21209 # we reset no_tcl in case something fails here
21212 # Check whether --with-tclconfig or --without-tclconfig was given.
21213 if test "${with_tclconfig+set}" = set; then
21214 withval
="$with_tclconfig"
21215 with_tclconfig
=${withval}
21217 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
21218 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
21219 if test "${ac_cv_c_tclconfig+set}" = set; then
21220 echo $ECHO_N "(cached) $ECHO_C" >&6
21224 # First check to see if --with-tclconfig was specified.
21225 if test x
"${with_tclconfig}" != x
; then
21226 if test -f "${with_tclconfig}/tclConfig.sh" ; then
21227 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
21229 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
21230 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
21231 { (exit 1); exit 1; }; }
21235 # then check for a private Tcl installation
21236 if test x
"${ac_cv_c_tclconfig}" = x
; then
21239 `ls -dr ../tcl[7-9]* 2>/dev/null` \
21241 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
21243 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
21244 if test -f "$i/${configdir}/tclConfig.sh" ; then
21245 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
21250 # check in a few common install locations
21251 if test x
"${ac_cv_c_tclconfig}" = x
; then
21252 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
21253 if test -f "$i/tclConfig.sh" ; then
21254 ac_cv_c_tclconfig
=`(cd $i; pwd)`
21259 # check in a few other private locations
21260 if test x
"${ac_cv_c_tclconfig}" = x
; then
21263 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
21264 if test -f "$i/${configdir}/tclConfig.sh" ; then
21265 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
21273 if test x
"${ac_cv_c_tclconfig}" = x
; then
21274 TCLCONFIG
="# no Tcl configs found"
21275 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
21276 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
21279 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
21280 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
21281 echo "${ECHO_T}found $TCLCONFIG" >&6
21285 if test -z "${no_tcl}"; then
21316 # Ok, lets find the tk configuration
21317 # First, look for one uninstalled.
21318 # the alternative search directory is invoked by --with-tkconfig
21321 if test x
"${no_tk}" = x
; then
21322 # we reset no_tk in case something fails here
21325 # Check whether --with-tkconfig or --without-tkconfig was given.
21326 if test "${with_tkconfig+set}" = set; then
21327 withval
="$with_tkconfig"
21328 with_tkconfig
=${withval}
21330 echo "$as_me:$LINENO: checking for Tk configuration" >&5
21331 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
21332 if test "${ac_cv_c_tkconfig+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21337 # First check to see if --with-tkconfig was specified.
21338 if test x
"${with_tkconfig}" != x
; then
21339 if test -f "${with_tkconfig}/tkConfig.sh" ; then
21340 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
21342 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
21343 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
21344 { (exit 1); exit 1; }; }
21348 # then check for a private Tk library
21349 if test x
"${ac_cv_c_tkconfig}" = x
; then
21352 `ls -dr ../tk[4-9]* 2>/dev/null` \
21354 `ls -dr ../../tk[4-9]* 2>/dev/null` \
21356 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
21357 if test -f "$i/${configdir}/tkConfig.sh" ; then
21358 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
21363 # check in a few common install locations
21364 if test x
"${ac_cv_c_tkconfig}" = x
; then
21365 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
21366 if test -f "$i/tkConfig.sh" ; then
21367 ac_cv_c_tkconfig
=`(cd $i; pwd)`
21372 # check in a few other private locations
21373 if test x
"${ac_cv_c_tkconfig}" = x
; then
21376 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
21377 if test -f "$i/${configdir}/tkConfig.sh" ; then
21378 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
21386 if test x
"${ac_cv_c_tkconfig}" = x
; then
21387 TKCONFIG
="# no Tk configs found"
21388 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
21389 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
21392 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
21393 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
21394 echo "${ECHO_T}found $TKCONFIG" >&6
21400 # now look for Tcl library stuff
21402 tcldir
="../tcl/${configdir}/"
21404 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
21406 # If $no_tk is nonempty, then we can't do Tk, and there is no
21407 # point to doing Tcl.
21408 if test -z "${no_tk}"; then
21410 if test -f "$TKCONFIG" ; then
21428 # Ok, lets find the tcl source trees so we can use the headers
21429 # Warning: transition of version 9 to 10 will break this algorithm
21430 # because 10 sorts before 9. We also look for just tcl. We have to
21431 # be careful that we don't match stuff like tclX by accident.
21432 # the alternative search directory is involked by --with-tclinclude
21436 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
21437 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
21439 # Check whether --with-tclinclude or --without-tclinclude was given.
21440 if test "${with_tclinclude+set}" = set; then
21441 withval
="$with_tclinclude"
21442 with_tclinclude
=${withval}
21444 if test "${ac_cv_c_tclh+set}" = set; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21448 # first check to see if --with-tclinclude was specified
21449 if test x
"${with_tclinclude}" != x
; then
21450 if test -f ${with_tclinclude}/tclInt.h
; then
21451 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
21452 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
21453 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
21455 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
21456 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
21457 { (exit 1); exit 1; }; }
21461 # next check if it came with Tcl configuration file
21462 if test x
"${ac_cv_c_tclconfig}" = x
; then
21463 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
21464 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
21468 # next check in private source directory
21470 # since ls returns lowest version numbers first, reverse its output
21471 if test x
"${ac_cv_c_tclh}" = x
; then
21474 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
21475 ${srcdir}/..
/..
/tcl \
21476 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
21477 ${srcdir}/..
/..
/..
/tcl \
21478 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
21479 if test -f $i/generic
/tclInt.h
; then
21480 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
21485 # finally check in a few common install locations
21487 # since ls returns lowest version numbers first, reverse its output
21488 if test x
"${ac_cv_c_tclh}" = x
; then
21490 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
21491 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
21492 /usr
/local
/src
/tcl \
21493 /usr
/local
/lib
/tcl \
21494 ${prefix}/include
; do
21495 if test -f $i/generic
/tclInt.h
; then
21496 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
21501 # see if one is installed
21502 if test x
"${ac_cv_c_tclh}" = x
; then
21503 if test "${ac_cv_header_tclInt_h+set}" = set; then
21504 echo "$as_me:$LINENO: checking for tclInt.h" >&5
21505 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
21506 if test "${ac_cv_header_tclInt_h+set}" = set; then
21507 echo $ECHO_N "(cached) $ECHO_C" >&6
21509 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
21510 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
21512 # Is the header compilable?
21513 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
21514 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
21515 cat >conftest.
$ac_ext <<_ACEOF
21518 cat confdefs.h
>>conftest.
$ac_ext
21519 cat >>conftest.
$ac_ext <<_ACEOF
21520 /* end confdefs.h. */
21521 $ac_includes_default
21522 #include <tclInt.h>
21524 rm -f conftest.
$ac_objext
21525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21526 (eval $ac_compile) 2>conftest.er1
21528 grep -v '^ *+' conftest.er1
>conftest.err
21530 cat conftest.err
>&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); } &&
21533 { ac_try
='test -z "$ac_c_werror_flag"
21534 || test ! -s conftest.err'
21535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21536 (eval $ac_try) 2>&5
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); }; } &&
21540 { ac_try
='test -s conftest.$ac_objext'
21541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21542 (eval $ac_try) 2>&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); }; }; then
21546 ac_header_compiler
=yes
21548 echo "$as_me: failed program was:" >&5
21549 sed 's/^/| /' conftest.
$ac_ext >&5
21551 ac_header_compiler
=no
21553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21554 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21555 echo "${ECHO_T}$ac_header_compiler" >&6
21557 # Is the header present?
21558 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
21559 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
21560 cat >conftest.
$ac_ext <<_ACEOF
21563 cat confdefs.h
>>conftest.
$ac_ext
21564 cat >>conftest.
$ac_ext <<_ACEOF
21565 /* end confdefs.h. */
21566 #include <tclInt.h>
21568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21569 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21571 grep -v '^ *+' conftest.er1
>conftest.err
21573 cat conftest.err
>&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } >/dev
/null
; then
21576 if test -s conftest.err
; then
21577 ac_cpp_err
=$ac_c_preproc_warn_flag
21578 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21585 if test -z "$ac_cpp_err"; then
21586 ac_header_preproc
=yes
21588 echo "$as_me: failed program was:" >&5
21589 sed 's/^/| /' conftest.
$ac_ext >&5
21591 ac_header_preproc
=no
21593 rm -f conftest.err conftest.
$ac_ext
21594 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21595 echo "${ECHO_T}$ac_header_preproc" >&6
21597 # So? What about this header?
21598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21600 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
21601 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21602 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
21603 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
21604 ac_header_preproc
=yes
21607 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
21608 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
21609 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
21610 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
21611 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
21612 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
21613 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
21614 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
21615 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
21616 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
21617 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
21618 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
21621 ## ------------------------------------------ ##
21622 ## Report this to the AC_PACKAGE_NAME lists. ##
21623 ## ------------------------------------------ ##
21626 sed "s/^/$as_me: WARNING: /" >&2
21629 echo "$as_me:$LINENO: checking for tclInt.h" >&5
21630 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
21631 if test "${ac_cv_header_tclInt_h+set}" = set; then
21632 echo $ECHO_N "(cached) $ECHO_C" >&6
21634 ac_cv_header_tclInt_h
=$ac_header_preproc
21636 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
21637 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
21640 if test $ac_cv_header_tclInt_h = yes; then
21641 ac_cv_c_tclh
=installed
21651 if test x
"${ac_cv_c_tclh}" = x
; then
21652 TCLHDIR
="# no Tcl private headers found"
21653 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
21654 echo "$as_me: error: Can't find Tcl private headers" >&2;}
21655 { (exit 1); exit 1; }; }
21657 if test x
"${ac_cv_c_tclh}" != x
; then
21659 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
21660 echo "$as_me:$LINENO: result: is installed" >&5
21661 echo "${ECHO_T}is installed" >&6
21664 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
21665 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
21666 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
21667 TCLHDIR
="-I${ac_cv_c_tclh}"
21675 # Ok, lets find the tk source trees so we can use the headers
21676 # If the directory (presumably symlink) named "tk" exists, use that one
21677 # in preference to any others. Same logic is used when choosing library
21678 # and again with Tcl. The search order is the best place to look first, then in
21679 # decreasing significance. The loop breaks if the trigger file is found.
21680 # Note the gross little conversion here of srcdir by cd'ing to the found
21681 # directory. This converts the path from a relative to an absolute, so
21682 # recursive cache variables for the path will work right. We check all
21683 # the possible paths in one loop rather than many seperate loops to speed
21685 # the alternative search directory is involked by --with-tkinclude
21688 echo "$as_me:$LINENO: checking for Tk private headers" >&5
21689 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
21691 # Check whether --with-tkinclude or --without-tkinclude was given.
21692 if test "${with_tkinclude+set}" = set; then
21693 withval
="$with_tkinclude"
21694 with_tkinclude
=${withval}
21696 if test "${ac_cv_c_tkh+set}" = set; then
21697 echo $ECHO_N "(cached) $ECHO_C" >&6
21700 # first check to see if --with-tkinclude was specified
21701 if test x
"${with_tkinclude}" != x
; then
21702 if test -f ${with_tkinclude}/tk.h
; then
21703 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
21704 elif test -f ${with_tkinclude}/generic
/tk.h
; then
21705 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
21707 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
21708 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
21709 { (exit 1); exit 1; }; }
21713 # next check if it came with Tk configuration file
21714 if test x
"${ac_cv_c_tkconfig}" = x
; then
21715 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
21716 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
21720 # next check in private source directory
21722 # since ls returns lowest version numbers first, reverse its output
21723 if test x
"${ac_cv_c_tkh}" = x
; then
21726 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
21727 ${srcdir}/..
/..
/tk \
21728 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
21729 ${srcdir}/..
/..
/..
/tk \
21730 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
21731 if test -f $i/generic
/tk.h
; then
21732 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
21737 # finally check in a few common install locations
21739 # since ls returns lowest version numbers first, reverse its output
21740 if test x
"${ac_cv_c_tkh}" = x
; then
21742 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
21743 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
21744 /usr
/local
/src
/tk \
21745 /usr
/local
/lib
/tk \
21746 ${prefix}/include
; do
21747 if test -f $i/generic
/tk.h
; then
21748 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
21753 # see if one is installed
21754 if test x
"${ac_cv_c_tkh}" = x
; then
21755 if test "${ac_cv_header_tk_h+set}" = set; then
21756 echo "$as_me:$LINENO: checking for tk.h" >&5
21757 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
21758 if test "${ac_cv_header_tk_h+set}" = set; then
21759 echo $ECHO_N "(cached) $ECHO_C" >&6
21761 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
21762 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
21764 # Is the header compilable?
21765 echo "$as_me:$LINENO: checking tk.h usability" >&5
21766 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
21767 cat >conftest.
$ac_ext <<_ACEOF
21770 cat confdefs.h
>>conftest.
$ac_ext
21771 cat >>conftest.
$ac_ext <<_ACEOF
21772 /* end confdefs.h. */
21773 $ac_includes_default
21776 rm -f conftest.
$ac_objext
21777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21778 (eval $ac_compile) 2>conftest.er1
21780 grep -v '^ *+' conftest.er1
>conftest.err
21782 cat conftest.err
>&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); } &&
21785 { ac_try
='test -z "$ac_c_werror_flag"
21786 || test ! -s conftest.err'
21787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21788 (eval $ac_try) 2>&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); }; } &&
21792 { ac_try
='test -s conftest.$ac_objext'
21793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21794 (eval $ac_try) 2>&5
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); }; }; then
21798 ac_header_compiler
=yes
21800 echo "$as_me: failed program was:" >&5
21801 sed 's/^/| /' conftest.
$ac_ext >&5
21803 ac_header_compiler
=no
21805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21806 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21807 echo "${ECHO_T}$ac_header_compiler" >&6
21809 # Is the header present?
21810 echo "$as_me:$LINENO: checking tk.h presence" >&5
21811 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
21812 cat >conftest.
$ac_ext <<_ACEOF
21815 cat confdefs.h
>>conftest.
$ac_ext
21816 cat >>conftest.
$ac_ext <<_ACEOF
21817 /* end confdefs.h. */
21820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21821 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21823 grep -v '^ *+' conftest.er1
>conftest.err
21825 cat conftest.err
>&5
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); } >/dev
/null
; then
21828 if test -s conftest.err
; then
21829 ac_cpp_err
=$ac_c_preproc_warn_flag
21830 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21837 if test -z "$ac_cpp_err"; then
21838 ac_header_preproc
=yes
21840 echo "$as_me: failed program was:" >&5
21841 sed 's/^/| /' conftest.
$ac_ext >&5
21843 ac_header_preproc
=no
21845 rm -f conftest.err conftest.
$ac_ext
21846 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21847 echo "${ECHO_T}$ac_header_preproc" >&6
21849 # So? What about this header?
21850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21852 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
21853 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21854 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
21855 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
21856 ac_header_preproc
=yes
21859 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
21860 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
21861 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
21862 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
21863 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
21864 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
21865 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
21866 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
21867 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
21868 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
21869 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
21870 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
21873 ## ------------------------------------------ ##
21874 ## Report this to the AC_PACKAGE_NAME lists. ##
21875 ## ------------------------------------------ ##
21878 sed "s/^/$as_me: WARNING: /" >&2
21881 echo "$as_me:$LINENO: checking for tk.h" >&5
21882 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
21883 if test "${ac_cv_header_tk_h+set}" = set; then
21884 echo $ECHO_N "(cached) $ECHO_C" >&6
21886 ac_cv_header_tk_h
=$ac_header_preproc
21888 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
21889 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
21892 if test $ac_cv_header_tk_h = yes; then
21893 ac_cv_c_tkh
=installed
21903 if test x
"${ac_cv_c_tkh}" != x
; then
21905 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
21906 echo "$as_me:$LINENO: result: is installed" >&5
21907 echo "${ECHO_T}is installed" >&6
21910 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
21911 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
21912 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
21913 TKHDIR
="-I${ac_cv_c_tkh}"
21916 TKHDIR
="# no Tk directory found"
21917 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
21918 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
21925 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
21926 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
21927 if test x
"${ac_cv_c_itclh}" = x
; then
21928 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
21929 if test -f $i/generic
/itcl.h
; then
21930 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
21935 if test x
"${ac_cv_c_itclh}" = x
; then
21936 ITCLHDIR
="# no Itcl private headers found"
21937 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
21938 echo "$as_me: error: Can't find Itcl private headers" >&2;}
21939 { (exit 1); exit 1; }; }
21941 if test x
"${ac_cv_c_itclh}" != x
; then
21942 ITCLHDIR
="-I${ac_cv_c_itclh}"
21944 # should always be here
21945 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
21950 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
21951 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
21952 if test x
"${ac_cv_c_itkh}" = x
; then
21953 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
21954 if test -f $i/generic
/itk.h
; then
21955 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
21960 if test x
"${ac_cv_c_itkh}" = x
; then
21961 ITKHDIR
="# no Itk private headers found"
21962 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
21963 echo "$as_me: error: Can't find Itk private headers" >&2;}
21964 { (exit 1); exit 1; }; }
21966 if test x
"${ac_cv_c_itkh}" != x
; then
21967 ITKHDIR
="-I${ac_cv_c_itkh}"
21969 # should always be here
21970 # ITKLIB="../itcl/itk/unix/libitk.a"
21976 # now look for Tk library stuff
21978 tkdir
="../tk/${configdir}/"
21980 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
21982 # now look for Itcl library stuff
21986 # Ok, lets find the itcl configuration
21987 # First, look for one uninstalled.
21988 # the alternative search directory is invoked by --with-itclconfig
21991 if test x
"${no_itcl}" = x
; then
21992 # we reset no_itcl in case something fails here
21995 # Check whether --with-itclconfig or --without-itclconfig was given.
21996 if test "${with_itclconfig+set}" = set; then
21997 withval
="$with_itclconfig"
21998 with_itclconfig
=${withval}
22000 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
22001 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
22002 if test "${ac_cv_c_itclconfig+set}" = set; then
22003 echo $ECHO_N "(cached) $ECHO_C" >&6
22007 # First check to see if --with-itclconfig was specified.
22008 if test x
"${with_itclconfig}" != x
; then
22009 if test -f "${with_itclconfig}/itclConfig.sh" ; then
22010 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
22012 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
22013 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
22014 { (exit 1); exit 1; }; }
22018 # then check for a private Itcl library
22019 if test x
"${ac_cv_c_itclconfig}" = x
; then
22022 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
22024 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
22026 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
22027 if test -f "$i/itclConfig.sh" ; then
22028 ac_cv_c_itclconfig
=`(cd $i; pwd)`
22033 # check in a few common install locations
22034 if test x
"${ac_cv_c_itclconfig}" = x
; then
22035 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22036 if test -f "$i/itclConfig.sh" ; then
22037 ac_cv_c_itclconfig
=`(cd $i; pwd)`
22042 # check in a few other private locations
22043 if test x
"${ac_cv_c_itclconfig}" = x
; then
22045 ${srcdir}/..
/itcl
/itcl \
22046 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
22047 if test -f "$i/itclConfig.sh" ; then
22048 ac_cv_c_itclconfig
=`(cd $i; pwd)`
22056 if test x
"${ac_cv_c_itclconfig}" = x
; then
22057 ITCLCONFIG
="# no Itcl configs found"
22058 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
22059 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
22062 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
22063 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
22064 echo "${ECHO_T}found $ITCLCONFIG" >&6
22068 if test -z "${no_itcl}"; then
22070 if test -f "$ITCLCONFIG" ; then
22085 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
22086 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
22090 # now look for Itk library stuff
22093 # Ok, lets find the itk configuration
22094 # First, look for one uninstalled.
22095 # the alternative search directory is invoked by --with-itkconfig
22098 if test x
"${no_itk}" = x
; then
22099 # we reset no_itk in case something fails here
22102 # Check whether --with-itkconfig or --without-itkconfig was given.
22103 if test "${with_itkconfig+set}" = set; then
22104 withval
="$with_itkconfig"
22105 with_itkconfig
=${withval}
22107 echo "$as_me:$LINENO: checking for Itk configuration" >&5
22108 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
22109 if test "${ac_cv_c_itkconfig+set}" = set; then
22110 echo $ECHO_N "(cached) $ECHO_C" >&6
22114 # First check to see if --with-itkconfig was specified.
22115 if test x
"${with_itkconfig}" != x
; then
22116 if test -f "${with_itkconfig}/itkConfig.sh" ; then
22117 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
22119 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
22120 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
22121 { (exit 1); exit 1; }; }
22125 # then check for a private Itk library
22126 if test x
"${ac_cv_c_itkconfig}" = x
; then
22129 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
22131 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
22133 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
22134 if test -f "$i/itkConfig.sh" ; then
22135 ac_cv_c_itkconfig
=`(cd $i; pwd)`
22140 # check in a few common install locations
22141 if test x
"${ac_cv_c_itkconfig}" = x
; then
22142 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22143 if test -f "$i/itkConfig.sh" ; then
22144 ac_cv_c_itkconfig
=`(cd $i; pwd)`
22149 # check in a few other private locations
22150 if test x
"${ac_cv_c_itkconfig}" = x
; then
22152 ${srcdir}/..
/itcl
/itk \
22153 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
22154 if test -f "$i/itkConfig.sh" ; then
22155 ac_cv_c_itkconfig
=`(cd $i; pwd)`
22163 if test x
"${ac_cv_c_itkconfig}" = x
; then
22164 ITKCONFIG
="# no Itk configs found"
22165 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
22166 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
22169 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
22170 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
22171 echo "${ECHO_T}found $ITKCONFIG" >&6
22176 if test -z "${no_itcl}"; then
22178 if test -f "$ITKCONFIG" ; then
22193 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
22194 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
22197 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
22199 # Include some libraries that Tcl and Tk want.
22200 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
22201 # Yes, the ordering seems wrong here. But it isn't.
22202 # TK_LIBS is the list of libraries that need to be linked
22203 # after Tcl/Tk. Note that this isn't put into LIBS. If it
22204 # were in LIBS then any link tests after this point would
22205 # try to include things like `$(LIBGUI)', which wouldn't work.
22206 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
22208 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
22209 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
22210 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
22211 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
22212 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
22213 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
22214 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
22216 if test x
$gdb_cv_os_cygwin = xyes
; then
22217 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
22218 WIN32LDAPP
="-Wl,--subsystem,console"
22219 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
22226 subdirs
="$subdirs gdbtk"
22243 echo "$as_me:$LINENO: checking for X" >&5
22244 echo $ECHO_N "checking for X... $ECHO_C" >&6
22247 # Check whether --with-x or --without-x was given.
22248 if test "${with_x+set}" = set; then
22252 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22253 if test "x$with_x" = xno
; then
22254 # The user explicitly disabled X.
22257 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
22258 # Both variables are already set.
22261 if test "${ac_cv_have_x+set}" = set; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22264 # One or both of the vars are not set, and there is no cached value.
22265 ac_x_includes
=no ac_x_libraries
=no
22266 rm -fr conftest.dir
22267 if mkdir conftest.dir
; then
22269 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22270 cat >Imakefile
<<'_ACEOF'
22272 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22274 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
22275 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22276 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22277 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22278 for ac_extension
in a so sl
; do
22279 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
22280 test -f $ac_im_libdir/libX11.
$ac_extension; then
22281 ac_im_usrlibdir
=$ac_im_libdir; break
22284 # Screen out bogus values from the imake configuration. They are
22285 # bogus both because they are the default anyway, and because
22286 # using them would break gcc on systems where it needs fixed includes.
22287 case $ac_im_incroot in
22289 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
22291 case $ac_im_usrlibdir in
22292 /usr
/lib |
/lib
) ;;
22293 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
22297 rm -fr conftest.dir
22300 # Standard set of common directories for X headers.
22301 # Check X11 before X11Rn because it is often a symlink to the current release.
22313 /usr/local/X11/include
22314 /usr/local/X11R6/include
22315 /usr/local/X11R5/include
22316 /usr/local/X11R4/include
22318 /usr/local/include/X11
22319 /usr/local/include/X11R6
22320 /usr/local/include/X11R5
22321 /usr/local/include/X11R4
22325 /usr/XFree86/include/X11
22329 /usr/unsupported/include
22330 /usr/athena/include
22331 /usr/local/x11r5/include
22332 /usr/lpp/Xamples/include
22334 /usr/openwin/include
22335 /usr/openwin/share/include'
22337 if test "$ac_x_includes" = no
; then
22338 # Guess where to find include files, by looking for Intrinsic.h.
22339 # First, try using that file with no special directory specified.
22340 cat >conftest.
$ac_ext <<_ACEOF
22343 cat confdefs.h
>>conftest.
$ac_ext
22344 cat >>conftest.
$ac_ext <<_ACEOF
22345 /* end confdefs.h. */
22346 #include <X11/Intrinsic.h>
22348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22349 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22351 grep -v '^ *+' conftest.er1
>conftest.err
22353 cat conftest.err
>&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } >/dev
/null
; then
22356 if test -s conftest.err
; then
22357 ac_cpp_err
=$ac_c_preproc_warn_flag
22358 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22365 if test -z "$ac_cpp_err"; then
22366 # We can compile using X headers with no special include directory.
22369 echo "$as_me: failed program was:" >&5
22370 sed 's/^/| /' conftest.
$ac_ext >&5
22372 for ac_dir
in $ac_x_header_dirs; do
22373 if test -r "$ac_dir/X11/Intrinsic.h"; then
22374 ac_x_includes
=$ac_dir
22379 rm -f conftest.err conftest.
$ac_ext
22380 fi # $ac_x_includes = no
22382 if test "$ac_x_libraries" = no
; then
22383 # Check for the libraries.
22384 # See if we find them without any special options.
22385 # Don't add to $LIBS permanently.
22388 cat >conftest.
$ac_ext <<_ACEOF
22391 cat confdefs.h
>>conftest.
$ac_ext
22392 cat >>conftest.
$ac_ext <<_ACEOF
22393 /* end confdefs.h. */
22394 #include <X11/Intrinsic.h>
22403 rm -f conftest.
$ac_objext conftest
$ac_exeext
22404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22405 (eval $ac_link) 2>conftest.er1
22407 grep -v '^ *+' conftest.er1
>conftest.err
22409 cat conftest.err
>&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } &&
22412 { ac_try
='test -z "$ac_c_werror_flag"
22413 || test ! -s conftest.err'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; } &&
22419 { ac_try
='test -s 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
22426 # We can link X programs with no special library path.
22429 echo "$as_me: failed program was:" >&5
22430 sed 's/^/| /' conftest.
$ac_ext >&5
22433 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22435 # Don't even attempt the hair of trying to link an X program!
22436 for ac_extension
in a so sl
; do
22437 if test -r $ac_dir/libXt.
$ac_extension; then
22438 ac_x_libraries
=$ac_dir
22444 rm -f conftest.err conftest.
$ac_objext \
22445 conftest
$ac_exeext conftest.
$ac_ext
22446 fi # $ac_x_libraries = no
22448 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
22449 # Didn't find X anywhere. Cache the known absence of X.
22450 ac_cv_have_x
="have_x=no"
22452 # Record where we found X for the cache.
22453 ac_cv_have_x
="have_x=yes \
22454 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22459 eval "$ac_cv_have_x"
22462 if test "$have_x" != yes; then
22463 echo "$as_me:$LINENO: result: $have_x" >&5
22464 echo "${ECHO_T}$have_x" >&6
22467 # If each of the values was on the command line, it overrides each guess.
22468 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
22469 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
22470 # Update the cache value to reflect the command line values.
22471 ac_cv_have_x
="have_x=yes \
22472 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22473 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22474 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22478 # Check whether we should enable the TUI, but only do so if we really
22480 if test x
"$enable_tui" = xyes
; then
22481 if test -d $srcdir/tui
; then
22482 if test "$ac_cv_search_waddstr" != no
; then
22483 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
22484 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
22485 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
22486 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
22487 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
22488 CONFIG_ALL
="${CONFIG_ALL} all-tui"
22489 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
22490 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
22491 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
22493 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
22494 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
22499 # Unlike the sim directory, whether a simulator is linked is controlled by
22500 # presence of a SIM= and a SIM_OBS= definition in the target '.mt' file.
22501 # This code just checks for a few cases where we'd like to ignore those
22502 # definitions, even when they're present in the '.mt' file. These cases
22503 # are when --disable-sim is specified, or if the simulator directory is
22504 # not part of the source tree.
22506 # Check whether --enable-sim or --disable-sim was given.
22507 if test "${enable_sim+set}" = set; then
22508 enableval
="$enable_sim"
22509 echo "enable_sim = $enable_sim";
22510 echo "enableval = ${enableval}";
22511 case "${enableval}" in
22512 yes) ignore_sim
=false
;;
22513 no
) ignore_sim
=true
;;
22514 *) ignore_sim
=false
;;
22520 if test ! -d "${srcdir}/../sim"; then
22524 if test "${ignore_sim}" = "true"; then
22526 IGNORE_SIM_OBS
="SIM_OBS="
22531 cat >>confdefs.h
<<\_ACEOF
22550 # List of host floatformats.
22552 cat >>confdefs.h
<<_ACEOF
22553 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
22557 cat >>confdefs.h
<<_ACEOF
22558 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
22562 cat >>confdefs.h
<<_ACEOF
22563 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
22567 # target_subdir is used by the testsuite to find the target libraries.
22569 if test "${host}" != "${target}"; then
22570 target_subdir
="${target_alias}/"
22575 if test "${target}" = "${host}"; then
22576 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
22577 if test ! -f ${host_makefile_frag}; then
22578 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
22579 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
22580 { (exit 1); exit 1; }; }
22582 frags
="$frags $host_makefile_frag"
22584 host_makefile_frag
=/dev
/null
22587 target_makefile_frag
=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
22588 if test ! -f ${target_makefile_frag}; then
22589 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support target ${target}\"" >&5
22590 echo "$as_me: error: \"*** Gdb does not support target ${target}\"" >&2;}
22591 { (exit 1); exit 1; }; }
22593 frags
="$frags $target_makefile_frag"
22600 s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
22601 ' ${host_makefile_frag}`
22603 targetfile
=`sed -n '
22604 s/DEPRECATED_TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
22605 ' ${target_makefile_frag}`
22607 if test "${target}" = "${host}"; then
22608 # We pick this up from the host configuration file (.mh) because we
22609 # do not have a native configuration Makefile fragment.
22610 nativefile
=`sed -n '
22611 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
22612 ' ${host_makefile_frag}`
22616 if test x
"${gdb_osabi}" != x
; then
22618 cat >>confdefs.h
<<_ACEOF
22619 #define GDB_OSABI_DEFAULT $gdb_osabi
22624 # Enable multi-ice-gdb-server.
22625 # Check whether --enable-multi-ice or --disable-multi-ice was given.
22626 if test "${enable_multi_ice+set}" = set; then
22627 enableval
="$enable_multi_ice"
22631 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
22632 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
22633 { (exit 1); exit 1; }; } ;;
22636 if test "x$enable_multi_ice" = xyes
; then
22639 subdirs
="$subdirs multi-ice"
22643 # We only build gdbserver automatically if host and target are the same.
22644 if test "x$target" = "x$host"; then
22645 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
22646 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
22647 if test "x$build_gdbserver" = xyes
; then
22648 echo "$as_me:$LINENO: result: yes" >&5
22649 echo "${ECHO_T}yes" >&6
22652 subdirs
="$subdirs gdbserver"
22655 echo "$as_me:$LINENO: result: no" >&5
22656 echo "${ECHO_T}no" >&6
22660 # If hostfile (XM_FILE) and/or targetfile (DEPRECATED_TM_FILE) and/or
22661 # nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
22662 # to an empty version.
22669 if test "${hostfile}" != ""; then
22671 case "${hostfile}" in
22672 xm-
*.h
) GDB_XM_FILE
="config/${gdb_host_cpu}/${hostfile}" ;;
22673 * ) GDB_XM_FILE
="${hostfile}"
22675 files
="${files} ${GDB_XM_FILE}"
22676 links
="${links} xm.h"
22678 cat >>confdefs.h
<<_ACEOF
22679 #define GDB_XM_FILE "${GDB_XM_FILE}"
22687 if test "${targetfile}" != ""; then
22689 case "${targetfile}" in
22690 tm-
*.h
) GDB_TM_FILE
="config/${gdb_target_cpu}/${targetfile}" ;;
22691 * ) GDB_TM_FILE
="${targetfile}"
22693 files
="${files} ${GDB_TM_FILE}"
22694 links
="${links} tm.h"
22696 cat >>confdefs.h
<<_ACEOF
22697 #define GDB_TM_FILE "${GDB_TM_FILE}"
22705 if test "${nativefile}" != ""; then
22707 case "${nativefile}" in
22708 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
22709 * ) GDB_NM_FILE
="${nativefile}"
22711 files
="${files} ${GDB_NM_FILE}"
22712 links
="${links} nm.h"
22714 cat >>confdefs.h
<<_ACEOF
22715 #define GDB_NM_FILE "${GDB_NM_FILE}"
22721 ac_sources
="$files"
22723 while test -n "$ac_sources"; do
22724 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
22725 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
22726 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
22728 ac_config_links
="$ac_config_links $ac_config_links_1"
22735 cat >>confdefs.h
<<\_ACEOF
22736 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
22743 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
22744 if test "${with_libiconv_prefix+set}" = set; then
22745 withval
="$with_libiconv_prefix"
22747 for dir
in `echo "$withval" | tr : ' '`; do
22748 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
22749 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
22754 echo "$as_me:$LINENO: checking for iconv" >&5
22755 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
22756 if test "${am_cv_func_iconv+set}" = set; then
22757 echo $ECHO_N "(cached) $ECHO_C" >&6
22760 am_cv_func_iconv
="no, consider installing GNU libiconv"
22762 cat >conftest.
$ac_ext <<_ACEOF
22765 cat confdefs.h
>>conftest.
$ac_ext
22766 cat >>conftest.
$ac_ext <<_ACEOF
22767 /* end confdefs.h. */
22768 #include <stdlib.h>
22773 iconv_t cd = iconv_open("","");
22774 iconv(cd,NULL,NULL,NULL,NULL);
22780 rm -f conftest.
$ac_objext conftest
$ac_exeext
22781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22782 (eval $ac_link) 2>conftest.er1
22784 grep -v '^ *+' conftest.er1
>conftest.err
22786 cat conftest.err
>&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } &&
22789 { ac_try
='test -z "$ac_c_werror_flag"
22790 || test ! -s conftest.err'
22791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22792 (eval $ac_try) 2>&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); }; } &&
22796 { ac_try
='test -s conftest$ac_exeext'
22797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22798 (eval $ac_try) 2>&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; }; then
22802 am_cv_func_iconv
=yes
22804 echo "$as_me: failed program was:" >&5
22805 sed 's/^/| /' conftest.
$ac_ext >&5
22808 rm -f conftest.err conftest.
$ac_objext \
22809 conftest
$ac_exeext conftest.
$ac_ext
22810 if test "$am_cv_func_iconv" != yes; then
22811 am_save_LIBS
="$LIBS"
22812 LIBS
="$LIBS -liconv"
22813 cat >conftest.
$ac_ext <<_ACEOF
22816 cat confdefs.h
>>conftest.
$ac_ext
22817 cat >>conftest.
$ac_ext <<_ACEOF
22818 /* end confdefs.h. */
22819 #include <stdlib.h>
22824 iconv_t cd = iconv_open("","");
22825 iconv(cd,NULL,NULL,NULL,NULL);
22831 rm -f conftest.
$ac_objext conftest
$ac_exeext
22832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22833 (eval $ac_link) 2>conftest.er1
22835 grep -v '^ *+' conftest.er1
>conftest.err
22837 cat conftest.err
>&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); } &&
22840 { ac_try
='test -z "$ac_c_werror_flag"
22841 || test ! -s conftest.err'
22842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22843 (eval $ac_try) 2>&5
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); }; } &&
22847 { ac_try
='test -s conftest$ac_exeext'
22848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22849 (eval $ac_try) 2>&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); }; }; then
22853 am_cv_lib_iconv
=yes
22854 am_cv_func_iconv
=yes
22856 echo "$as_me: failed program was:" >&5
22857 sed 's/^/| /' conftest.
$ac_ext >&5
22860 rm -f conftest.err conftest.
$ac_objext \
22861 conftest
$ac_exeext conftest.
$ac_ext
22862 LIBS
="$am_save_LIBS"
22866 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22867 echo "${ECHO_T}$am_cv_func_iconv" >&6
22868 if test "$am_cv_func_iconv" = yes; then
22870 cat >>confdefs.h
<<\_ACEOF
22871 #define HAVE_ICONV 1
22874 echo "$as_me:$LINENO: checking for iconv declaration" >&5
22875 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
22876 if test "${am_cv_proto_iconv+set}" = set; then
22877 echo $ECHO_N "(cached) $ECHO_C" >&6
22880 cat >conftest.
$ac_ext <<_ACEOF
22883 cat confdefs.h
>>conftest.
$ac_ext
22884 cat >>conftest.
$ac_ext <<_ACEOF
22885 /* end confdefs.h. */
22887 #include <stdlib.h>
22893 #if defined(__STDC__) || defined(__cplusplus)
22894 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22907 rm -f conftest.
$ac_objext
22908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22909 (eval $ac_compile) 2>conftest.er1
22911 grep -v '^ *+' conftest.er1
>conftest.err
22913 cat conftest.err
>&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); } &&
22916 { ac_try
='test -z "$ac_c_werror_flag"
22917 || test ! -s conftest.err'
22918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22919 (eval $ac_try) 2>&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); }; } &&
22923 { ac_try
='test -s conftest.$ac_objext'
22924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925 (eval $ac_try) 2>&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); }; }; then
22929 am_cv_proto_iconv_arg1
=""
22931 echo "$as_me: failed program was:" >&5
22932 sed 's/^/| /' conftest.
$ac_ext >&5
22934 am_cv_proto_iconv_arg1
="const"
22936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22937 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);"
22940 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22941 echo "$as_me:$LINENO: result: ${ac_t:-
22942 }$am_cv_proto_iconv" >&5
22943 echo "${ECHO_T}${ac_t:-
22944 }$am_cv_proto_iconv" >&6
22946 cat >>confdefs.h
<<_ACEOF
22947 #define ICONV_CONST $am_cv_proto_iconv_arg1
22952 if test "$am_cv_lib_iconv" = yes; then
22958 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in"
22959 ac_config_commands
="$ac_config_commands default"
22960 cat >confcache
<<\_ACEOF
22961 # This file is a shell script that caches the results of configure
22962 # tests run on this system so they can be shared between configure
22963 # scripts and configure runs, see configure's option --config-cache.
22964 # It is not useful on other systems. If it contains results you don't
22965 # want to keep, you may remove or edit it.
22967 # config.status only pays attention to the cache file if you give it
22968 # the --recheck option to rerun configure.
22970 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22971 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22972 # following values.
22976 # The following way of writing the cache mishandles newlines in values,
22977 # but we know of no workaround that is simple, portable, and efficient.
22978 # So, don't put newlines in cache variables' values.
22979 # Ultrix sh set writes to stderr and can't be redirected directly,
22980 # and sets the high bit in the cache file unless we assign to the vars.
22983 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22985 # `set' does not quote correctly, so add quotes (double-quote
22986 # substitution turns \\\\ into \\, and sed turns \\ into \).
22989 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22992 # `set' quotes correctly as required by POSIX, so do not add quotes.
22994 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23001 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23003 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23005 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23006 if test -w $cache_file; then
23007 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23008 cat confcache
>$cache_file
23010 echo "not updating unwritable cache $cache_file"
23015 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23016 # Let make expand exec_prefix.
23017 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23019 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23020 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23021 # trailing colons and then remove the whole line if VPATH becomes empty
23022 # (actually we leave an empty line to preserve line numbers).
23023 if test "x$srcdir" = x.
; then
23024 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23025 s/:*\$(srcdir):*/:/;
23026 s/:*\${srcdir}:*/:/;
23028 s/^\([^=]*=[ ]*\):*/\1/;
23034 DEFS
=-DHAVE_CONFIG_H
23038 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23039 # 1. Remove the extension, and $U if already installed.
23040 ac_i
=`echo "$ac_i" |
23041 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23043 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
23044 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
23046 LIBOBJS
=$ac_libobjs
23048 LTLIBOBJS
=$ac_ltlibobjs
23051 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23052 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23053 Usually this means the macro was only invoked conditionally." >&5
23054 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23055 Usually this means the macro was only invoked conditionally." >&2;}
23056 { (exit 1); exit 1; }; }
23059 : ${CONFIG_STATUS=./config.status}
23060 ac_clean_files_save
=$ac_clean_files
23061 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23062 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23063 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23064 cat >$CONFIG_STATUS <<_ACEOF
23066 # Generated by $as_me.
23067 # Run this file to recreate the current configuration.
23068 # Compiler output produced by configure, useful for debugging
23069 # configure, is in config.log if it exists.
23072 ac_cs_recheck=false
23074 SHELL=\${CONFIG_SHELL-$SHELL}
23077 cat >>$CONFIG_STATUS <<\_ACEOF
23078 ## --------------------- ##
23079 ## M4sh Initialization. ##
23080 ## --------------------- ##
23082 # Be Bourne compatible
23083 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23086 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23087 # is contrary to our usage. Disable this feature.
23088 alias -g '${1+"$@"}'='"$@"'
23089 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
23092 DUALCASE
=1; export DUALCASE
# for MKS sh
23094 # Support unset when possible.
23095 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23102 # Work around bugs in pre-3.0 UWIN ksh.
23103 $as_unset ENV MAIL MAILPATH
23110 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23111 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23112 LC_TELEPHONE LC_TIME
23114 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23115 eval $as_var=C
; export $as_var
23121 # Required to use basename.
23122 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23128 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
23129 as_basename
=basename
23135 # Name of the executable.
23136 as_me
=`$as_basename "$0" ||
23137 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23138 X"$0" : 'X\(//\)$' \| \
23139 X"$0" : 'X\(/\)$' \| \
23140 . : '\(.\)' 2>/dev/null ||
23142 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23143 /^X\/\(\/\/\)$/{ s//\1/; q; }
23144 /^X\/\(\/\).*/{ s//\1/; q; }
23148 # PATH needs CR, and LINENO needs CR and PATH.
23149 # Avoid depending upon Character Ranges.
23150 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23151 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23152 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23153 as_cr_digits
='0123456789'
23154 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23156 # The user is always right.
23157 if test "${PATH_SEPARATOR+set}" != set; then
23158 echo "#! /bin/sh" >conf$$.sh
23159 echo "exit 0" >>conf$$.sh
23161 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23170 as_lineno_1
=$LINENO
23171 as_lineno_2
=$LINENO
23172 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
23173 test "x$as_lineno_1" != "x$as_lineno_2" &&
23174 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
23175 # Find who we are. Look in the path if we contain no path at all
23178 *[\\/]* ) as_myself
=$0 ;;
23179 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23180 for as_dir
in $PATH
23183 test -z "$as_dir" && as_dir
=.
23184 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23189 # We did not find ourselves, most probably we were run as `sh COMMAND'
23190 # in which case we are not to be found in the path.
23191 if test "x$as_myself" = x
; then
23194 if test ! -f "$as_myself"; then
23195 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23196 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23197 { (exit 1); exit 1; }; }
23199 case $CONFIG_SHELL in
23201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23202 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
23205 test -z "$as_dir" && as_dir
=.
23206 for as_base
in sh bash ksh sh5
; do
23209 if ("$as_dir/$as_base" -c '
23210 as_lineno_1=$LINENO
23211 as_lineno_2=$LINENO
23212 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23213 test "x$as_lineno_1" != "x$as_lineno_2" &&
23214 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
23215 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
23216 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
23217 CONFIG_SHELL
=$as_dir/$as_base
23218 export CONFIG_SHELL
23219 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23227 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23228 # uniformly replaced by the line number. The first 'sed' inserts a
23229 # line-number line before each line; the second 'sed' does the real
23230 # work. The second script uses 'N' to pair each line-number line
23231 # with the numbered line, and appends trailing '-' during
23232 # substitution so that $LINENO is not a special case at line end.
23233 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23234 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23235 sed '=' <$as_myself |
23240 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23243 s,^['$as_cr_digits']*\n,,
23244 ' >$as_me.lineno
&&
23245 chmod +x
$as_me.lineno ||
23246 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23247 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23248 { (exit 1); exit 1; }; }
23250 # Don't try to exec as it changes $[0], causing all sort of problems
23251 # (the dirname of $[0] is not the place where we might find the
23252 # original and so on. Autoconf is especially sensible to this).
23254 # Exit status is that of the last command.
23259 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23260 *c
*,-n*) ECHO_N
= ECHO_C
='
23262 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
23263 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
23266 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23272 rm -f conf$$ conf$$.exe conf$$.
file
23274 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23275 # We could just check for DJGPP; but this test a) works b) is more generic
23276 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23277 if test -f conf$$.exe
; then
23278 # Don't use ln at all; we don't have any links
23283 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23288 rm -f conf$$ conf$$.exe conf$$.
file
23290 if mkdir
-p .
2>/dev
/null
; then
23293 test -d .
/-p && rmdir .
/-p
23297 as_executable_p
="test -f"
23299 # Sed expression to map a string onto a valid CPP name.
23300 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23302 # Sed expression to map a string onto a valid variable name.
23303 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23307 # We need space, tab and new line, in precisely that order.
23317 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23318 # report actual input values of CONFIG_FILES etc. instead of their
23319 # values after options handling. Logging --version etc. is OK.
23323 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23324 ## Running $as_me. ##
23329 This file was extended by $as_me, which was
23330 generated by GNU Autoconf 2.59. Invocation command line was
23332 CONFIG_FILES = $CONFIG_FILES
23333 CONFIG_HEADERS = $CONFIG_HEADERS
23334 CONFIG_LINKS = $CONFIG_LINKS
23335 CONFIG_COMMANDS = $CONFIG_COMMANDS
23339 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23343 # Files that config.status was made for.
23344 if test -n "$ac_config_files"; then
23345 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23348 if test -n "$ac_config_headers"; then
23349 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23352 if test -n "$ac_config_links"; then
23353 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23356 if test -n "$ac_config_commands"; then
23357 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23360 cat >>$CONFIG_STATUS <<\_ACEOF
23363 \`$as_me' instantiates files from templates according to the
23364 current configuration.
23366 Usage: $0 [OPTIONS] [FILE]...
23368 -h, --help print this help, then exit
23369 -V, --version print version number, then exit
23370 -q, --quiet do not print progress messages
23371 -d, --debug don't remove temporary files
23372 --recheck update $as_me by reconfiguring in the same conditions
23373 --file=FILE[:TEMPLATE]
23374 instantiate the configuration file FILE
23375 --header=FILE[:TEMPLATE]
23376 instantiate the configuration header FILE
23378 Configuration files:
23381 Configuration headers:
23384 Configuration links:
23387 Configuration commands:
23390 Report bugs to <bug-autoconf@gnu.org>."
23393 cat >>$CONFIG_STATUS <<_ACEOF
23396 configured by $0, generated by GNU Autoconf 2.59,
23397 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23399 Copyright (C) 2003 Free Software Foundation, Inc.
23400 This config.status script is free software; the Free Software Foundation
23401 gives unlimited permission to copy, distribute and modify it."
23406 cat >>$CONFIG_STATUS <<\_ACEOF
23407 # If no file are specified by the user, then we need to provide default
23408 # value. By we need to know if files were specified by the user.
23414 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
23415 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
23423 *) # This is not an option, so the user has probably given explicit
23426 ac_need_defaults
=false
;;
23430 # Handling of the options.
23432 cat >>$CONFIG_STATUS <<\_ACEOF
23433 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23435 --version |
--vers* |
-V )
23436 echo "$ac_cs_version"; exit 0 ;;
23438 # Conflict between --help and --header
23439 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23440 Try \`$0 --help' for more information." >&5
23441 echo "$as_me: error: ambiguous option: $1
23442 Try \`$0 --help' for more information." >&2;}
23443 { (exit 1); exit 1; }; };;
23444 --help |
--hel |
-h )
23445 echo "$ac_cs_usage"; exit 0 ;;
23446 --debug |
--d* |
-d )
23448 --file |
--fil |
--fi |
--f )
23450 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23451 ac_need_defaults
=false
;;
23452 --header |
--heade |
--head |
--hea )
23454 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23455 ac_need_defaults
=false
;;
23456 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23457 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23460 # This is an error.
23461 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23462 Try \`$0 --help' for more information." >&5
23463 echo "$as_me: error: unrecognized option: $1
23464 Try \`$0 --help' for more information." >&2;}
23465 { (exit 1); exit 1; }; } ;;
23467 *) ac_config_targets
="$ac_config_targets $1" ;;
23473 ac_configure_extra_args
=
23475 if $ac_cs_silent; then
23477 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23481 cat >>$CONFIG_STATUS <<_ACEOF
23482 if \$ac_cs_recheck; then
23483 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23484 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23489 cat >>$CONFIG_STATUS <<_ACEOF
23491 # INIT-COMMANDS section.
23497 acx_cv_header_stdint="$acx_cv_header_stdint"
23498 acx_cv_type_int8_t="$acx_cv_type_int8_t"
23499 acx_cv_type_int16_t="$acx_cv_type_int16_t"
23500 acx_cv_type_int32_t="$acx_cv_type_int32_t"
23501 acx_cv_type_int64_t="$acx_cv_type_int64_t"
23502 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
23503 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
23504 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
23505 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
23506 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
23507 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
23508 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
23509 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
23510 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
23513 gdb_host_cpu=$gdb_host_cpu
23514 gdb_target_cpu=$gdb_target_cpu
23515 nativefile=$nativefile
23522 cat >>$CONFIG_STATUS <<\_ACEOF
23523 for ac_config_target
in $ac_config_targets
23525 case "$ac_config_target" in
23526 # Handling of arguments.
23527 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23528 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
23529 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
23530 "gdb_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gdb_stdint.h" ;;
23531 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
23532 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
23533 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23534 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23535 { (exit 1); exit 1; }; };;
23539 # If the user did not use the arguments to specify the items to instantiate,
23540 # then the envvar interface is used. Set only those that are not.
23541 # We use the long form for the default assignment because of an extremely
23542 # bizarre bug on SunOS 4.1.3.
23543 if $ac_need_defaults; then
23544 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23545 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23546 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
23547 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23550 # Have a temporary directory for convenience. Make it in the build tree
23551 # simply because there is no reason to put it here, and in addition,
23552 # creating and moving files from /tmp can sometimes cause problems.
23553 # Create a temporary directory, and hook for its removal unless debugging.
23556 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23557 trap '{ (exit 1); exit 1; }' 1 2 13 15
23560 # Create a (secure) tmp directory for tmp files.
23563 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23564 test -n "$tmp" && test -d "$tmp"
23567 tmp
=.
/confstat$$
-$RANDOM
23568 (umask 077 && mkdir
$tmp)
23571 echo "$me: cannot create a temporary directory in ." >&2
23572 { (exit 1); exit 1; }
23577 cat >>$CONFIG_STATUS <<_ACEOF
23580 # CONFIG_FILES section.
23583 # No need to generate the scripts if there are no CONFIG_FILES.
23584 # This happens for instance when ./config.status config.h
23585 if test -n "\$CONFIG_FILES"; then
23586 # Protect against being on the right side of a sed subst in config.status.
23587 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23588 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23589 s,@SHELL@,$SHELL,;t t
23590 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23591 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23592 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23593 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23594 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23595 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23596 s,@exec_prefix@,$exec_prefix,;t t
23597 s,@prefix@,$prefix,;t t
23598 s,@program_transform_name@,$program_transform_name,;t t
23599 s,@bindir@,$bindir,;t t
23600 s,@sbindir@,$sbindir,;t t
23601 s,@libexecdir@,$libexecdir,;t t
23602 s,@datadir@,$datadir,;t t
23603 s,@sysconfdir@,$sysconfdir,;t t
23604 s,@sharedstatedir@,$sharedstatedir,;t t
23605 s,@localstatedir@,$localstatedir,;t t
23606 s,@libdir@,$libdir,;t t
23607 s,@includedir@,$includedir,;t t
23608 s,@oldincludedir@,$oldincludedir,;t t
23609 s,@infodir@,$infodir,;t t
23610 s,@mandir@,$mandir,;t t
23611 s,@build_alias@,$build_alias,;t t
23612 s,@host_alias@,$host_alias,;t t
23613 s,@target_alias@,$target_alias,;t t
23614 s,@DEFS@,$DEFS,;t t
23615 s,@ECHO_C@,$ECHO_C,;t t
23616 s,@ECHO_N@,$ECHO_N,;t t
23617 s,@ECHO_T@,$ECHO_T,;t t
23618 s,@LIBS@,$LIBS,;t t
23619 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
23620 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
23621 s,@MAINT@,$MAINT,;t t
23623 s,@CFLAGS@,$CFLAGS,;t t
23624 s,@LDFLAGS@,$LDFLAGS,;t t
23625 s,@CPPFLAGS@,$CPPFLAGS,;t t
23626 s,@ac_ct_CC@,$ac_ct_CC,;t t
23627 s,@EXEEXT@,$EXEEXT,;t t
23628 s,@OBJEXT@,$OBJEXT,;t t
23630 s,@EGREP@,$EGREP,;t t
23631 s,@build@,$build,;t t
23632 s,@build_cpu@,$build_cpu,;t t
23633 s,@build_vendor@,$build_vendor,;t t
23634 s,@build_os@,$build_os,;t t
23635 s,@host@,$host,;t t
23636 s,@host_cpu@,$host_cpu,;t t
23637 s,@host_vendor@,$host_vendor,;t t
23638 s,@host_os@,$host_os,;t t
23639 s,@target@,$target,;t t
23640 s,@target_cpu@,$target_cpu,;t t
23641 s,@target_vendor@,$target_vendor,;t t
23642 s,@target_os@,$target_os,;t t
23643 s,@USE_NLS@,$USE_NLS,;t t
23644 s,@LIBINTL@,$LIBINTL,;t t
23645 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
23646 s,@INCINTL@,$INCINTL,;t t
23647 s,@XGETTEXT@,$XGETTEXT,;t t
23648 s,@GMSGFMT@,$GMSGFMT,;t t
23649 s,@POSUB@,$POSUB,;t t
23650 s,@CATALOGS@,$CATALOGS,;t t
23651 s,@DATADIRNAME@,$DATADIRNAME,;t t
23652 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
23653 s,@GENCAT@,$GENCAT,;t t
23654 s,@CATOBJEXT@,$CATOBJEXT,;t t
23655 s,@localedir@,$localedir,;t t
23656 s,@PACKAGE@,$PACKAGE,;t t
23657 s,@subdirs@,$subdirs,;t t
23659 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23660 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23661 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23662 s,@LN_S@,$LN_S,;t t
23663 s,@RANLIB@,$RANLIB,;t t
23664 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23665 s,@YACC@,$YACC,;t t
23667 s,@ac_ct_AR@,$ac_ct_AR,;t t
23668 s,@DLLTOOL@,$DLLTOOL,;t t
23669 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
23670 s,@WINDRES@,$WINDRES,;t t
23671 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
23673 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
23674 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
23675 s,@LIBEXPAT@,$LIBEXPAT,;t t
23676 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
23677 s,@ALLOCA@,$ALLOCA,;t t
23678 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
23679 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
23680 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
23681 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
23682 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
23683 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
23684 s,@WIN32LIBS@,$WIN32LIBS,;t t
23685 s,@LIBGUI@,$LIBGUI,;t t
23686 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
23687 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
23688 s,@TCL_VERSION@,$TCL_VERSION,;t t
23689 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
23690 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
23691 s,@TCL_CC@,$TCL_CC,;t t
23692 s,@TCL_DEFS@,$TCL_DEFS,;t t
23693 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
23694 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
23695 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
23696 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
23697 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
23698 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
23699 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
23700 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
23701 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
23702 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
23703 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
23704 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
23705 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
23706 s,@TK_VERSION@,$TK_VERSION,;t t
23707 s,@TK_DEFS@,$TK_DEFS,;t t
23708 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
23709 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
23710 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
23711 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
23712 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
23713 s,@TCLHDIR@,$TCLHDIR,;t t
23714 s,@TKHDIR@,$TKHDIR,;t t
23715 s,@ITCLHDIR@,$ITCLHDIR,;t t
23716 s,@ITKHDIR@,$ITKHDIR,;t t
23717 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
23718 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
23719 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
23720 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
23721 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
23722 s,@ITK_VERSION@,$ITK_VERSION,;t t
23723 s,@ITK_DEFS@,$ITK_DEFS,;t t
23724 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
23725 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
23726 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
23727 s,@X_CFLAGS@,$X_CFLAGS,;t t
23728 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
23729 s,@X_LIBS@,$X_LIBS,;t t
23730 s,@TCL_DEPS@,$TCL_DEPS,;t t
23731 s,@TK_DEPS@,$TK_DEPS,;t t
23732 s,@ITCLLIB@,$ITCLLIB,;t t
23733 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
23734 s,@ITKLIB@,$ITKLIB,;t t
23735 s,@ITK_DEPS@,$ITK_DEPS,;t t
23736 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
23737 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
23738 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
23739 s,@IGNORE_SIM@,$IGNORE_SIM,;t t
23740 s,@IGNORE_SIM_OBS@,$IGNORE_SIM_OBS,;t t
23741 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
23742 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
23743 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
23744 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
23745 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
23746 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
23747 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
23748 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
23749 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
23750 s,@target_subdir@,$target_subdir,;t t
23751 s,@frags@,$frags,;t t
23752 s,@xm_h@,$xm_h,;t t
23753 s,@tm_h@,$tm_h,;t t
23754 s,@nm_h@,$nm_h,;t t
23755 s,@LIBICONV@,$LIBICONV,;t t
23756 s,@LIBOBJS@,$LIBOBJS,;t t
23757 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23758 /@host_makefile_frag@/r $host_makefile_frag
23759 s,@host_makefile_frag@,,;t t
23760 /@target_makefile_frag@/r $target_makefile_frag
23761 s,@target_makefile_frag@,,;t t
23766 cat >>$CONFIG_STATUS <<\_ACEOF
23767 # Split the substitutions into bite-sized pieces for seds with
23768 # small command number limits, like on Digital OSF/1 and HP-UX.
23769 ac_max_sed_lines
=48
23770 ac_sed_frag
=1 # Number of current file.
23771 ac_beg
=1 # First line for current file.
23772 ac_end
=$ac_max_sed_lines # Line after last line for current file.
23775 while $ac_more_lines; do
23776 if test $ac_beg -gt 1; then
23777 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23779 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23781 if test ! -s $tmp/subs.frag
; then
23782 ac_more_lines
=false
23784 # The purpose of the label and of the branching condition is to
23785 # speed up the sed processing (if there are no `@' at all, there
23786 # is no need to browse any of the substitutions).
23787 # These are the two extra sed commands mentioned above.
23789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
23790 if test -z "$ac_sed_cmds"; then
23791 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
23793 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23795 ac_sed_frag
=`expr $ac_sed_frag + 1`
23797 ac_end
=`expr $ac_end + $ac_max_sed_lines`
23800 if test -z "$ac_sed_cmds"; then
23803 fi # test -n "$CONFIG_FILES"
23806 cat >>$CONFIG_STATUS <<\_ACEOF
23807 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
23808 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23810 - |
*:- |
*:-:* ) # input from stdin
23812 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23813 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23814 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23815 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23816 * ) ac_file_in
=$ac_file.
in ;;
23819 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23820 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23821 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23822 X"$ac_file" : 'X\(//\)[^/]' \| \
23823 X"$ac_file" : 'X\(//\)$' \| \
23824 X"$ac_file" : 'X\(/\)' \| \
23825 . : '\(.\)' 2>/dev/null ||
23827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23828 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23829 /^X\(\/\/\)$/{ s//\1/; q; }
23830 /^X\(\/\).*/{ s//\1/; q; }
23832 { if $as_mkdir_p; then
23837 while test ! -d "$as_dir"; do
23838 as_dirs
="$as_dir $as_dirs"
23839 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23841 X"$as_dir" : 'X\(//\)[^/]' \| \
23842 X"$as_dir" : 'X\(//\)$' \| \
23843 X"$as_dir" : 'X\(/\)' \| \
23844 . : '\(.\)' 2>/dev/null ||
23846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23848 /^X\(\/\/\)$/{ s//\1/; q; }
23849 /^X\(\/\).*/{ s//\1/; q; }
23852 test ! -n "$as_dirs" || mkdir
$as_dirs
23853 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23854 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23855 { (exit 1); exit 1; }; }; }
23859 if test "$ac_dir" != .
; then
23860 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23861 # A "../" for each directory in $ac_dir_suffix.
23862 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23864 ac_dir_suffix
= ac_top_builddir
=
23868 .
) # No --srcdir option. We are building in place.
23870 if test -z "$ac_top_builddir"; then
23873 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23875 [\\/]* | ?
:[\\/]* ) # Absolute path.
23876 ac_srcdir
=$srcdir$ac_dir_suffix;
23877 ac_top_srcdir
=$srcdir ;;
23878 *) # Relative path.
23879 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23880 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23883 # Do not use `cd foo && pwd` to compute absolute paths, because
23884 # the directories may not exist.
23886 .
) ac_abs_builddir
="$ac_dir";;
23889 .
) ac_abs_builddir
=`pwd`;;
23890 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23891 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23894 case $ac_abs_builddir in
23895 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23897 case ${ac_top_builddir}.
in
23898 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23899 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23900 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23903 case $ac_abs_builddir in
23904 .
) ac_abs_srcdir
=$ac_srcdir;;
23907 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23908 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23909 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23912 case $ac_abs_builddir in
23913 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23915 case $ac_top_srcdir in
23916 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23917 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23918 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23924 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23925 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
23928 if test x
"$ac_file" != x-
; then
23929 { echo "$as_me:$LINENO: creating $ac_file" >&5
23930 echo "$as_me: creating $ac_file" >&6;}
23933 # Let's still pretend it is `configure' which instantiates (i.e., don't
23934 # use $as_me), people would be surprised to read:
23935 # /* config.h. Generated by config.status. */
23936 if test x
"$ac_file" = x-
; then
23939 configure_input
="$ac_file. "
23941 configure_input
=$configure_input"Generated from `echo $ac_file_in |
23942 sed 's,.*/,,'` by configure."
23944 # First look for the input files in the build tree, otherwise in the
23946 ac_file_inputs
=`IFS=:
23947 for f in $ac_file_in; do
23949 -) echo $tmp/stdin ;;
23951 # Absolute (can't be DOS-style, as IFS=:)
23952 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23953 echo "$as_me: error: cannot find input file: $f" >&2;}
23954 { (exit 1); exit 1; }; }
23957 if test -f "$f"; then
23960 elif test -f "$srcdir/$f"; then
23965 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23966 echo "$as_me: error: cannot find input file: $f" >&2;}
23967 { (exit 1); exit 1; }; }
23970 done` ||
{ (exit 1); exit 1; }
23972 cat >>$CONFIG_STATUS <<_ACEOF
23976 cat >>$CONFIG_STATUS <<\_ACEOF
23978 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23979 s
,@configure_input@
,$configure_input,;t t
23980 s
,@srcdir@
,$ac_srcdir,;t t
23981 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23982 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23983 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23984 s
,@builddir@
,$ac_builddir,;t t
23985 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23986 s
,@top_builddir@
,$ac_top_builddir,;t t
23987 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23988 s
,@INSTALL@
,$ac_INSTALL,;t t
23989 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23991 if test x"$ac_file" != x-; then
23992 mv $tmp/out $ac_file
24000 cat >>$CONFIG_STATUS <<\_ACEOF
24003 # CONFIG_HEADER section.
24006 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
24007 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24009 # ac_d sets the value in "#define NAME VALUE" lines.
24010 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24011 ac_dB
='[ ].*$,\1#\2'
24014 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24015 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24016 ac_uB
='$,\1#\2define\3'
24020 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
24021 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24023 - |
*:- |
*:-:* ) # input from stdin
24025 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24026 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24027 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24028 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24029 * ) ac_file_in
=$ac_file.
in ;;
24032 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
24033 echo "$as_me: creating $ac_file" >&6;}
24035 # First look for the input files in the build tree, otherwise in the
24037 ac_file_inputs
=`IFS=:
24038 for f in $ac_file_in; do
24040 -) echo $tmp/stdin ;;
24042 # Absolute (can't be DOS-style, as IFS=:)
24043 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24044 echo "$as_me: error: cannot find input file: $f" >&2;}
24045 { (exit 1); exit 1; }; }
24046 # Do quote $f, to prevent DOS paths from being IFS'd.
24049 if test -f "$f"; then
24052 elif test -f "$srcdir/$f"; then
24057 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24058 echo "$as_me: error: cannot find input file: $f" >&2;}
24059 { (exit 1); exit 1; }; }
24062 done` ||
{ (exit 1); exit 1; }
24063 # Remove the trailing spaces.
24064 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24068 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24069 # `conftest.undefs', that substitutes the proper values into
24070 # config.h.in to produce config.h. The first handles `#define'
24071 # templates, and the second `#undef' templates.
24072 # And first: Protect against being on the right side of a sed subst in
24073 # config.status. Protect against being in an unquoted here document
24074 # in config.status.
24075 rm -f conftest.defines conftest.undefs
24076 # Using a here document instead of a string reduces the quoting nightmare.
24077 # Putting comments in sed scripts is not portable.
24079 # `end' is used to avoid that the second main sed command (meant for
24080 # 0-ary CPP macros) applies to n-ary macro definitions.
24081 # See the Autoconf documentation for `clear'.
24082 cat >confdef2sed.
sed <<\_ACEOF
24087 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24089 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24092 # If some macros were called several times there might be several times
24093 # the same #defines, which is useless. Nevertheless, we may not want to
24094 # sort them, since we want the *last* AC-DEFINE to be honored.
24095 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24096 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24097 rm -f confdef2sed.sed
24099 # This sed command replaces #undef with comments. This is necessary, for
24100 # example, in the case of _POSIX_SOURCE, which is predefined and required
24101 # on some systems where configure will not decide to define it.
24102 cat >>conftest.undefs <<\_ACEOF
24103 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24106 # Break up conftest.defines because some shells have a limit on the size
24107 # of here documents, and old seds have small limits too (100 cmds).
24108 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24109 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24110 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24111 echo ' :' >>$CONFIG_STATUS
24112 rm -f conftest.tail
24113 while grep . conftest.defines >/dev/null
24115 # Write a limited-size here document to $tmp/defines.sed.
24116 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24117 # Speed up: don't consider the non `#define' lines.
24118 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24119 # Work around the forget-to-reset-the-flag bug.
24120 echo 't clr' >>$CONFIG_STATUS
24121 echo ': clr' >>$CONFIG_STATUS
24122 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
24124 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24126 mv $tmp/out $tmp/in
24128 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
24129 rm -f conftest.defines
24130 mv conftest.
tail conftest.defines
24132 rm -f conftest.defines
24133 echo ' fi # grep' >>$CONFIG_STATUS
24134 echo >>$CONFIG_STATUS
24136 # Break up conftest.undefs because some shells have a limit on the size
24137 # of here documents, and old seds have small limits too (100 cmds).
24138 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24139 rm -f conftest.
tail
24140 while grep . conftest.undefs
>/dev
/null
24142 # Write a limited-size here document to $tmp/undefs.sed.
24143 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24144 # Speed up: don't consider the non
`#undef'
24145 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24146 # Work around the forget-to-reset-the-flag bug.
24147 echo 't clr' >>$CONFIG_STATUS
24148 echo ': clr' >>$CONFIG_STATUS
24149 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24151 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24153 mv $tmp/out $tmp/in
24155 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24156 rm -f conftest.undefs
24157 mv conftest.tail conftest.undefs
24159 rm -f conftest.undefs
24161 cat >>$CONFIG_STATUS <<\_ACEOF
24162 # Let's still pretend it is `configure
' which instantiates (i.e., don't
24163 # use $as_me), people would be surprised to read:
24164 # /* config.h. Generated by config.status. */
24165 if test x
"$ac_file" = x-
; then
24166 echo "/* Generated by configure. */" >$tmp/config.h
24168 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24170 cat $tmp/in >>$tmp/config.h
24172 if test x
"$ac_file" != x-
; then
24173 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
24174 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24175 echo "$as_me: $ac_file is unchanged" >&6;}
24177 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24178 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24179 X"$ac_file" : 'X\(//\)[^/]' \| \
24180 X"$ac_file" : 'X\(//\)$' \| \
24181 X"$ac_file" : 'X\(/\)' \| \
24182 . : '\(.\)' 2>/dev/null ||
24184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24185 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24186 /^X\(\/\/\)$/{ s//\1/; q; }
24187 /^X\(\/\).*/{ s//\1/; q; }
24189 { if $as_mkdir_p; then
24194 while test ! -d "$as_dir"; do
24195 as_dirs
="$as_dir $as_dirs"
24196 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24197 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24198 X"$as_dir" : 'X\(//\)[^/]' \| \
24199 X"$as_dir" : 'X\(//\)$' \| \
24200 X"$as_dir" : 'X\(/\)' \| \
24201 . : '\(.\)' 2>/dev/null ||
24203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24204 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24205 /^X\(\/\/\)$/{ s//\1/; q; }
24206 /^X\(\/\).*/{ s//\1/; q; }
24209 test ! -n "$as_dirs" || mkdir
$as_dirs
24210 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24211 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24212 { (exit 1); exit 1; }; }; }
24215 mv $tmp/config.h
$ac_file
24219 rm -f $tmp/config.h
24223 cat >>$CONFIG_STATUS <<\_ACEOF
24226 # CONFIG_LINKS section.
24229 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
24230 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
24231 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24233 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
24234 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
24236 if test ! -r $srcdir/$ac_source; then
24237 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
24238 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
24239 { (exit 1); exit 1; }; }
24243 # Make relative symlinks.
24244 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
24245 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24246 X"$ac_dest" : 'X\(//\)[^/]' \| \
24247 X"$ac_dest" : 'X\(//\)$' \| \
24248 X"$ac_dest" : 'X\(/\)' \| \
24249 . : '\(.\)' 2>/dev/null ||
24251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24252 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24253 /^X\(\/\/\)$/{ s//\1/; q; }
24254 /^X\(\/\).*/{ s//\1/; q; }
24256 { if $as_mkdir_p; then
24257 mkdir
-p "$ac_dest_dir"
24259 as_dir
="$ac_dest_dir"
24261 while test ! -d "$as_dir"; do
24262 as_dirs
="$as_dir $as_dirs"
24263 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24264 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24265 X"$as_dir" : 'X\(//\)[^/]' \| \
24266 X"$as_dir" : 'X\(//\)$' \| \
24267 X"$as_dir" : 'X\(/\)' \| \
24268 . : '\(.\)' 2>/dev/null ||
24270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24271 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24272 /^X\(\/\/\)$/{ s//\1/; q; }
24273 /^X\(\/\).*/{ s//\1/; q; }
24276 test ! -n "$as_dirs" || mkdir
$as_dirs
24277 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
24278 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
24279 { (exit 1); exit 1; }; }; }
24283 if test "$ac_dest_dir" != .
; then
24284 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
24285 # A "../" for each directory in $ac_dir_suffix.
24286 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24288 ac_dir_suffix
= ac_top_builddir
=
24292 .
) # No --srcdir option. We are building in place.
24294 if test -z "$ac_top_builddir"; then
24297 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24299 [\\/]* | ?
:[\\/]* ) # Absolute path.
24300 ac_srcdir
=$srcdir$ac_dir_suffix;
24301 ac_top_srcdir
=$srcdir ;;
24302 *) # Relative path.
24303 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24304 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24307 # Do not use `cd foo && pwd` to compute absolute paths, because
24308 # the directories may not exist.
24310 .
) ac_abs_builddir
="$ac_dest_dir";;
24312 case "$ac_dest_dir" in
24313 .
) ac_abs_builddir
=`pwd`;;
24314 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
24315 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
24318 case $ac_abs_builddir in
24319 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24321 case ${ac_top_builddir}.
in
24322 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24323 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24324 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24327 case $ac_abs_builddir in
24328 .
) ac_abs_srcdir
=$ac_srcdir;;
24331 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24332 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24333 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24336 case $ac_abs_builddir in
24337 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24339 case $ac_top_srcdir in
24340 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24341 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24342 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24348 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
24349 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
24352 # Try a symlink, then a hard link, then a copy.
24353 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
24354 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
24355 cp -p $srcdir/$ac_source $ac_dest ||
24356 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
24357 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
24358 { (exit 1); exit 1; }; }
24361 cat >>$CONFIG_STATUS <<\_ACEOF
24364 # CONFIG_COMMANDS section.
24366 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
24367 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
24368 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24369 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
24370 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24371 X"$ac_dest" : 'X\(//\)[^/]' \| \
24372 X"$ac_dest" : 'X\(//\)$' \| \
24373 X"$ac_dest" : 'X\(/\)' \| \
24374 . : '\(.\)' 2>/dev/null ||
24376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24377 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24378 /^X\(\/\/\)$/{ s//\1/; q; }
24379 /^X\(\/\).*/{ s//\1/; q; }
24381 { if $as_mkdir_p; then
24386 while test ! -d "$as_dir"; do
24387 as_dirs
="$as_dir $as_dirs"
24388 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24389 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24390 X"$as_dir" : 'X\(//\)[^/]' \| \
24391 X"$as_dir" : 'X\(//\)$' \| \
24392 X"$as_dir" : 'X\(/\)' \| \
24393 . : '\(.\)' 2>/dev/null ||
24395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24396 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24397 /^X\(\/\/\)$/{ s//\1/; q; }
24398 /^X\(\/\).*/{ s//\1/; q; }
24401 test ! -n "$as_dirs" || mkdir
$as_dirs
24402 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24403 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24404 { (exit 1); exit 1; }; }; }
24408 if test "$ac_dir" != .
; then
24409 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24410 # A "../" for each directory in $ac_dir_suffix.
24411 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24413 ac_dir_suffix
= ac_top_builddir
=
24417 .
) # No --srcdir option. We are building in place.
24419 if test -z "$ac_top_builddir"; then
24422 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24424 [\\/]* | ?
:[\\/]* ) # Absolute path.
24425 ac_srcdir
=$srcdir$ac_dir_suffix;
24426 ac_top_srcdir
=$srcdir ;;
24427 *) # Relative path.
24428 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24429 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24432 # Do not use `cd foo && pwd` to compute absolute paths, because
24433 # the directories may not exist.
24435 .
) ac_abs_builddir
="$ac_dir";;
24438 .
) ac_abs_builddir
=`pwd`;;
24439 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24440 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24443 case $ac_abs_builddir in
24444 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24446 case ${ac_top_builddir}.
in
24447 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24448 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24449 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24452 case $ac_abs_builddir in
24453 .
) ac_abs_srcdir
=$ac_srcdir;;
24456 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24457 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24458 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24461 case $ac_abs_builddir in
24462 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24464 case $ac_top_srcdir in
24465 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24466 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24467 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24472 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24473 echo "$as_me: executing $ac_dest commands" >&6;}
24476 if test "$GCC" = yes; then
24477 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
24479 echo "/* generated for $CC */" > tmp-stdint.h
24482 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24484 #ifndef GCC_GENERATED_STDINT_H
24485 #define GCC_GENERATED_STDINT_H 1
24487 #include <sys/types.h>
24490 if test "$acx_cv_header_stdint" != stdint.h
; then
24491 echo "#include <stddef.h>" >> tmp-stdint.h
24493 if test "$acx_cv_header_stdint" != stddef.h
; then
24494 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
24497 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24498 /* glibc uses these symbols as guards to prevent redefinitions. */
24499 #ifdef __int8_t_defined
24504 #ifdef __uint32_t_defined
24510 # ----------------- done header, emit basic int types -------------
24511 if test "$acx_cv_header_stdint" = stddef.h
; then
24512 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24516 typedef unsigned $acx_cv_type_int8_t uint8_t;
24521 typedef unsigned $acx_cv_type_int16_t uint16_t;
24526 typedef unsigned $acx_cv_type_int32_t uint32_t;
24531 typedef $acx_cv_type_int8_t int8_t;
24536 typedef $acx_cv_type_int16_t int16_t;
24541 typedef $acx_cv_type_int32_t int32_t;
24544 elif test "$ac_cv_type_u_int32_t" = yes; then
24545 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24547 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
24560 typedef u_int8_t uint8_t;
24565 typedef u_int16_t uint16_t;
24570 typedef u_int32_t uint32_t;
24574 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24576 /* Some systems have guard macros to prevent redefinitions, define them. */
24598 # ------------- done basic int types, emit int64_t types ------------
24599 if test "$ac_cv_type_uint64_t" = yes; then
24600 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24602 /* system headers have good uint64_t and int64_t */
24610 elif test "$ac_cv_type_u_int64_t" = yes; then
24611 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24613 /* system headers have an u_int64_t (and int64_t) */
24619 typedef u_int64_t uint64_t;
24622 elif test -n "$acx_cv_type_int64_t"; then
24623 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24625 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
24628 typedef $acx_cv_type_int64_t int64_t;
24632 typedef unsigned $acx_cv_type_int64_t uint64_t;
24636 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24638 /* some common heuristics for int64_t, using compiler-specific tests */
24639 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
24642 typedef long long int64_t;
24646 typedef unsigned long long uint64_t;
24649 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
24650 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
24651 does not implement __extension__. But that compiler doesn't define
24653 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
24654 # define __extension__
24659 __extension__ typedef long long int64_t;
24663 __extension__ typedef unsigned long long uint64_t;
24666 #elif !defined __STRICT_ANSI__
24667 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
24671 typedef __int64 int64_t;
24675 typedef unsigned __int64 uint64_t;
24677 # endif /* compiler */
24679 #endif /* ANSI version */
24683 # ------------- done int64_t types, emit intptr types ------------
24684 if test "$ac_cv_type_uintptr_t" != yes; then
24685 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24687 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
24688 typedef u$acx_cv_type_intptr_t uintptr_t;
24689 typedef $acx_cv_type_intptr_t intptr_t;
24693 # ------------- done intptr types, emit int_least types ------------
24694 if test "$ac_cv_type_int_least32_t" != yes; then
24695 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24697 /* Define int_least types */
24698 typedef int8_t int_least8_t;
24699 typedef int16_t int_least16_t;
24700 typedef int32_t int_least32_t;
24702 typedef int64_t int_least64_t;
24705 typedef uint8_t uint_least8_t;
24706 typedef uint16_t uint_least16_t;
24707 typedef uint32_t uint_least32_t;
24709 typedef uint64_t uint_least64_t;
24714 # ------------- done intptr types, emit int_fast types ------------
24715 if test "$ac_cv_type_int_fast32_t" != yes; then
24716 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24718 /* Define int_fast types. short is often slow */
24719 typedef int8_t int_fast8_t;
24720 typedef int int_fast16_t;
24721 typedef int32_t int_fast32_t;
24723 typedef int64_t int_fast64_t;
24726 typedef uint8_t uint_fast8_t;
24727 typedef unsigned int uint_fast16_t;
24728 typedef uint32_t uint_fast32_t;
24730 typedef uint64_t uint_fast64_t;
24735 if test "$ac_cv_type_uintmax_t" != yes; then
24736 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24738 /* Define intmax based on what we found */
24740 typedef int64_t intmax_t;
24742 typedef long intmax_t;
24745 typedef uint64_t uintmax_t;
24747 typedef unsigned long uintmax_t;
24752 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24754 #endif /* GCC_GENERATED_STDINT_H */
24757 if test -r gdb_stdint.h
&& cmp -s tmp-stdint.h gdb_stdint.h
; then
24760 mv -f tmp-stdint.h gdb_stdint.h
24766 sed -e '/^DEPRECATED_TM_FILE[ ]*=/s,^DEPRECATED_TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
24767 /^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
24768 /^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
24769 mv -f Makefile.tmp Makefile
24772 case x
$CONFIG_HEADERS in
24773 xconfig.h
:config.
in)
24781 cat >>$CONFIG_STATUS <<\_ACEOF
24783 { (exit 0); exit 0; }
24785 chmod +x
$CONFIG_STATUS
24786 ac_clean_files
=$ac_clean_files_save
24789 # configure is writing to config.log, and then calls config.status.
24790 # config.status does its own redirection, appending to config.log.
24791 # Unfortunately, on DOS this fails, as config.log is still kept open
24792 # by configure, so config.status won't be able to write to it; its
24793 # output is simply discarded. So we exec the FD to /dev/null,
24794 # effectively closing config.log, so it can be properly (re)opened and
24795 # appended to by config.status. When coming back to configure, we
24796 # need to make the FD available again.
24797 if test "$no_create" != yes; then
24799 ac_config_status_args
=
24800 test "$silent" = yes &&
24801 ac_config_status_args
="$ac_config_status_args --quiet"
24803 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24805 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24806 # would make configure fail if this is the last instruction.
24807 $ac_cs_success ||
{ (exit 1); exit 1; }
24811 # CONFIG_SUBDIRS section.
24813 if test "$no_recursion" != yes; then
24815 # Remove --cache-file and --srcdir arguments so they do not pile up.
24816 ac_sub_configure_args
=
24818 for ac_arg
in $ac_configure_args; do
24819 if test -n "$ac_prev"; then
24824 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
24825 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
24826 ac_prev
=cache_file
;;
24827 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
24828 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
24831 --config-cache |
-C)
24833 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
24835 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
24837 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
24839 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
24841 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
24845 # Always prepend --prefix to ensure using the same prefix
24846 # in subdir configurations.
24847 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
24850 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
24852 # Do not complain, so a configure script can configure whichever
24853 # parts of a large source tree are present.
24854 test -d $srcdir/$ac_dir ||
continue
24856 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
24857 echo "$as_me: configuring in $ac_dir" >&6;}
24858 { if $as_mkdir_p; then
24863 while test ! -d "$as_dir"; do
24864 as_dirs
="$as_dir $as_dirs"
24865 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24867 X"$as_dir" : 'X\(//\)[^/]' \| \
24868 X"$as_dir" : 'X\(//\)$' \| \
24869 X"$as_dir" : 'X\(/\)' \| \
24870 . : '\(.\)' 2>/dev/null ||
24872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24874 /^X\(\/\/\)$/{ s//\1/; q; }
24875 /^X\(\/\).*/{ s//\1/; q; }
24878 test ! -n "$as_dirs" || mkdir
$as_dirs
24879 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24880 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24881 { (exit 1); exit 1; }; }; }
24885 if test "$ac_dir" != .
; then
24886 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24887 # A "../" for each directory in $ac_dir_suffix.
24888 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24890 ac_dir_suffix
= ac_top_builddir
=
24894 .
) # No --srcdir option. We are building in place.
24896 if test -z "$ac_top_builddir"; then
24899 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24901 [\\/]* | ?
:[\\/]* ) # Absolute path.
24902 ac_srcdir
=$srcdir$ac_dir_suffix;
24903 ac_top_srcdir
=$srcdir ;;
24904 *) # Relative path.
24905 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24906 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24909 # Do not use `cd foo && pwd` to compute absolute paths, because
24910 # the directories may not exist.
24912 .
) ac_abs_builddir
="$ac_dir";;
24915 .
) ac_abs_builddir
=`pwd`;;
24916 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24917 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24920 case $ac_abs_builddir in
24921 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24923 case ${ac_top_builddir}.
in
24924 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24925 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24926 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24929 case $ac_abs_builddir in
24930 .
) ac_abs_srcdir
=$ac_srcdir;;
24933 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24934 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24935 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24938 case $ac_abs_builddir in
24939 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24941 case $ac_top_srcdir in
24942 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24943 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24944 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24951 # Check for guested configure; otherwise get Cygnus style configure.
24952 if test -f $ac_srcdir/configure.gnu
; then
24953 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
24954 elif test -f $ac_srcdir/configure
; then
24955 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
24956 elif test -f $ac_srcdir/configure.
in; then
24957 ac_sub_configure
=$ac_configure
24959 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24960 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24964 # The recursion is here.
24965 if test -n "$ac_sub_configure"; then
24966 # Make the cache file name correct relative to the subdirectory.
24967 case $cache_file in
24968 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
24969 *) # Relative path.
24970 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
24973 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24974 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24975 # The eval makes quoting arguments work.
24976 eval $ac_sub_configure $ac_sub_configure_args \
24977 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
24978 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24979 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24980 { (exit 1); exit 1; }; }