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 TARGET_OBS AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB YACC AR ac_ct_AR DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES MIG ac_ct_MIG READLINE READLINE_DEPS READLINE_CFLAGS HAVE_LIBEXPAT LIBEXPAT LTLIBEXPAT ALLOCA CONFIG_LDFLAGS TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS WERROR_CFLAGS SER_HARDWIRE WIN32LIBS LIBGUI GUI_CFLAGS_X WIN32LDAPP TCL_VERSION TCL_MAJOR_VERSION TCL_MINOR_VERSION TCL_CC TCL_DEFS TCL_SHLIB_CFLAGS TCL_SHLIB_LD TCL_SHLIB_LD_LIBS TCL_SHLIB_SUFFIX TCL_DL_LIBS TCL_LD_FLAGS TCL_LD_SEARCH_FLAGS TCL_CC_SEARCH_FLAGS TCL_COMPAT_OBJS TCL_RANLIB TCL_BUILD_LIB_SPEC TCL_LIB_SPEC TCL_LIB_VERSIONS_OK TK_VERSION TK_DEFS TK_BUILD_INCLUDES TK_XINCLUDES TK_XLIBSW TK_BUILD_LIB_SPEC TK_LIB_SPEC TCLHDIR TKHDIR ITCLHDIR ITKHDIR ITCL_VERSION ITCL_DEFS ITCL_BUILD_INCLUDES ITCL_BUILD_LIB_SPEC ITCL_LIB_SPEC ITK_VERSION ITK_DEFS ITK_BUILD_INCLUDES ITK_BUILD_LIB_SPEC ITK_LIB_SPEC X_CFLAGS X_LDFLAGS X_LIBS TCL_DEPS TK_DEPS ITCLLIB ITCL_DEPS ITKLIB ITK_DEPS GDBTKLIBS GDBTK_CFLAGS GDBTK_SRC_DIR SIM SIM_OBS ENABLE_CFLAGS PROFILE_CFLAGS CONFIG_OBS CONFIG_DEPS CONFIG_SRCS CONFIG_ALL CONFIG_CLEAN CONFIG_INSTALL CONFIG_UNINSTALL target_subdir frags nm_h LIBICONV LIBOBJS LTLIBOBJS'
317 ac_subst_files
='host_makefile_frag'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
375 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
378 -build |
--build |
--buil |
--bui |
--bu)
379 ac_prev
=build_alias
;;
380 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
384 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
385 ac_prev
=cache_file
;;
386 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
387 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
395 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* |
--disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* |
--enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
422 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
423 |
--exec |
--exe |
--ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
426 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
427 |
--exec=* |
--exe=* |
--ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas |
--gas |
--ga |
--g)
431 # Obsolete; use --with-gas.
434 -help |
--help |
--hel |
--he |
-h)
436 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
439 ac_init_help
=short
;;
441 -host |
--host |
--hos |
--ho)
442 ac_prev
=host_alias
;;
443 -host=* |
--host=* |
--hos=* |
--ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir |
--includedir |
--includedi |
--included |
--include \
447 |
--includ |
--inclu |
--incl |
--inc)
448 ac_prev
=includedir
;;
449 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
450 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
455 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir |
--libdir |
--libdi |
--libd)
460 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
463 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
464 |
--libexe |
--libex |
--libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
467 |
--libexe=* |
--libex=* |
--libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
471 |
--localstate |
--localstat |
--localsta |
--localst \
472 |
--locals |
--local |
--loca |
--loc |
--lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
475 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
476 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
481 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
485 # Obsolete; use --without-fp.
488 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
489 |
--no-cr |
--no-c |
-n)
492 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
493 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
496 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
497 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
498 |
--oldin |
--oldi |
--old |
--ol |
--o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
501 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
502 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
507 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
510 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
511 |
--program-pre |
--program-pr |
--program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
514 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
518 |
--program-suf |
--program-su |
--program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
521 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name |
--program-transform-name \
525 |
--program-transform-nam |
--program-transform-na \
526 |
--program-transform-n |
--program-transform- \
527 |
--program-transform |
--program-transfor \
528 |
--program-transfo |
--program-transf \
529 |
--program-trans |
--program-tran \
530 |
--progr-tra |
--program-tr |
--program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* |
--program-transform-name=* \
533 |
--program-transform-nam=* |
--program-transform-na=* \
534 |
--program-transform-n=* |
--program-transform-=* \
535 |
--program-transform=* |
--program-transfor=* \
536 |
--program-transfo=* |
--program-transf=* \
537 |
--program-trans=* |
--program-tran=* \
538 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
542 |
-silent |
--silent |
--silen |
--sile |
--sil)
545 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
547 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
552 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
553 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
557 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
558 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site |
--site |
--sit)
564 -site=* |
--site=* |
--sit=*)
567 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
569 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
572 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
573 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
576 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
580 ac_prev
=target_alias
;;
581 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
582 target_alias
=$ac_optarg ;;
584 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
587 -version |
--version |
--versio |
--versi |
--vers |
-V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* |
--without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
617 |
--x-incl |
--x-inc |
--x-in |
--x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
620 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
624 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
627 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
779 # Report the --help message.
781 if test "$ac_init_help" = "long"; then
782 # Omit some internal or obsolete options to make the list less imposing.
783 # This message is too long to be a string in the A/UX 3.1 sh.
785 \`configure' configures this package to adapt to many kinds of systems.
787 Usage: $0 [OPTION]... [VAR=VALUE]...
789 To assign environment variables (e.g., CC, CFLAGS...), specify them as
790 VAR=VALUE. See below for descriptions of some of the useful variables.
792 Defaults for the options are specified in brackets.
795 -h, --help display this help and exit
796 --help=short display options specific to this package
797 --help=recursive display the short help of all the included packages
798 -V, --version display version information and exit
799 -q, --quiet, --silent do not print \`checking...' messages
800 --cache-file=FILE cache test results in FILE [disabled]
801 -C, --config-cache alias for \`--cache-file=config.cache'
802 -n, --no-create do not create output files
803 --srcdir=DIR find the sources in DIR [configure dir or \`..']
808 Installation directories:
809 --prefix=PREFIX install architecture-independent files in PREFIX
811 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
814 By default, \`make install' will install all the files in
815 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
816 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
817 for instance \`--prefix=\$HOME'.
819 For better control, use the options below.
821 Fine tuning of the installation directories:
822 --bindir=DIR user executables [EPREFIX/bin]
823 --sbindir=DIR system admin executables [EPREFIX/sbin]
824 --libexecdir=DIR program executables [EPREFIX/libexec]
825 --datadir=DIR read-only architecture-independent data [PREFIX/share]
826 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
827 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
828 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
829 --libdir=DIR object code libraries [EPREFIX/lib]
830 --includedir=DIR C header files [PREFIX/include]
831 --oldincludedir=DIR C header files for non-gcc [/usr/include]
832 --infodir=DIR info documentation [PREFIX/info]
833 --mandir=DIR man documentation [PREFIX/man]
839 --program-prefix=PREFIX prepend PREFIX to installed program names
840 --program-suffix=SUFFIX append SUFFIX to installed program names
841 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
844 --x-includes=DIR X include files are
in DIR
845 --x-libraries=DIR X library files are
in DIR
848 --build=BUILD configure
for building on BUILD
[guessed
]
849 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
850 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
854 if test -n "$ac_init_help"; then
859 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
860 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
861 --enable-maintainer-mode enable make rules and dependencies not useful
862 (and sometimes confusing
) to the casual installer
863 --disable-gdbcli disable command-line interface
(CLI
)
864 --disable-gdbmi disable machine-interface
(MI
)
865 --enable-tui enable full-screen terminal user interface
(TUI
)
866 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
867 --enable-profiling enable profiling of GDB
868 --disable-rpath do not hardcode runtime library paths
869 --enable-werror treat compile warnings as errors
870 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
871 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
872 --enable-sim Link gdb with simulator
873 --enable-multi-ice build the multi-ice-gdb-server
876 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
877 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
878 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
879 --with-libunwind Use libunwind frame unwinding support
880 --with-system-readline use installed readline library
881 --with-expat include expat support
(auto
/yes
/no
)
882 --with-gnu-ld assume the C compiler uses GNU ld default
=no
883 --with-libexpat-prefix[=DIR
] search
for libexpat
in DIR
/include and DIR
/lib
884 --without-libexpat-prefix don
't search for libexpat in includedir and libdir
885 --without-included-regex don't use included regex
; this is the default
886 on systems with version
2 of the GNU C library
887 (use with caution on other system
)
888 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
889 --with-tclconfig=DIR Directory containing tcl configuration
(tclConfig.sh
)
890 --with-tkconfig=DIR Directory containing tk configuration
(tkConfig.sh
)
891 --with-tclinclude=DIR Directory where tcl private headers are
892 --with-tkinclude=DIR Directory where tk private headers are
893 --with-itclconfig Directory containing itcl configuration
(itclConfig.sh
)
894 --with-itkconfig Directory containing itk configuration
(itkConfig.sh
)
895 --with-x use the X Window System
896 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
898 Some influential environment variables
:
899 CC C compiler
command
900 CFLAGS C compiler flags
901 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
902 nonstandard directory
<lib dir
>
903 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
904 headers
in a nonstandard directory
<include dir
>
907 Use these variables to override the choices made by
`configure' or to help
908 it to find libraries and programs with nonstandard names/locations.
913 if test "$ac_init_help" = "recursive"; then
914 # If there are subdirs, report their specific --help.
916 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
917 test -d $ac_dir || continue
920 if test "$ac_dir" != .; then
921 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
922 # A "../" for each directory in $ac_dir_suffix.
923 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
925 ac_dir_suffix= ac_top_builddir=
929 .) # No --srcdir option. We are building in place.
931 if test -z "$ac_top_builddir"; then
934 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
936 [\\/]* | ?:[\\/]* ) # Absolute path.
937 ac_srcdir=$srcdir$ac_dir_suffix;
938 ac_top_srcdir=$srcdir ;;
940 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
941 ac_top_srcdir=$ac_top_builddir$srcdir ;;
944 # Do not use `cd foo
&& pwd` to compute absolute paths, because
945 # the directories may not exist.
947 .) ac_abs_builddir="$ac_dir";;
950 .) ac_abs_builddir=`pwd`;;
951 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
952 *) ac_abs_builddir=`pwd`/"$ac_dir";;
955 case $ac_abs_builddir in
956 .) ac_abs_top_builddir=${ac_top_builddir}.;;
958 case ${ac_top_builddir}. in
959 .) ac_abs_top_builddir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
961 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
964 case $ac_abs_builddir in
965 .) ac_abs_srcdir=$ac_srcdir;;
968 .) ac_abs_srcdir=$ac_abs_builddir;;
969 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
970 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
973 case $ac_abs_builddir in
974 .) ac_abs_top_srcdir=$ac_top_srcdir;;
976 case $ac_top_srcdir in
977 .) ac_abs_top_srcdir=$ac_abs_builddir;;
978 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
979 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
984 # Check for guested configure; otherwise get Cygnus style configure.
985 if test -f $ac_srcdir/configure.gnu; then
987 $SHELL $ac_srcdir/configure.gnu --help=recursive
988 elif test -f $ac_srcdir/configure; then
990 $SHELL $ac_srcdir/configure --help=recursive
991 elif test -f $ac_srcdir/configure.ac ||
992 test -f $ac_srcdir/configure.in; then
996 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1002 test -n "$ac_init_help" && exit 0
1003 if $ac_init_version; then
1006 Copyright (C) 2003 Free Software Foundation, Inc.
1007 This configure script is free software; the Free Software Foundation
1008 gives unlimited permission to copy, distribute and modify it.
1014 This file contains any messages produced by compilers while
1015 running configure, to aid debugging if configure makes a mistake.
1017 It was created by $as_me, which was
1018 generated by GNU Autoconf 2.59. Invocation command line was
1029 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1030 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1031 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1032 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1033 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1035 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1036 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1038 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1039 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1040 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1041 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1042 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1043 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1044 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1052 test -z "$as_dir" && as_dir=.
1053 echo "PATH: $as_dir"
1068 # Keep a trace of the command line.
1069 # Strip out --no-create and --no-recursion so they do not pile up.
1070 # Strip out --silent because we don't want to record it for future runs.
1071 # Also quote any args containing shell meta-characters.
1072 # Make two passes to allow for proper duplicate-argument suppression.
1077 ac_must_keep_next=false
1083 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085 | -silent | --silent | --silen | --sile | --sil)
1087 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1088 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1091 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1093 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1094 if test $ac_must_keep_next = true; then
1095 ac_must_keep_next=false # Got value, back to normal.
1098 *=* | --config-cache | -C | -disable-* | --disable-* \
1099 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1100 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1101 | -with-* | --with-* | -without-* | --without-* | --x)
1102 case "$ac_configure_args0 " in
1103 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1106 -* ) ac_must_keep_next=true ;;
1109 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1110 # Get rid of the leading space.
1116 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1117 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1119 # When interrupted or exit'd, cleanup temporary files, and complete
1120 # config.log. We remove comments because anyway the quotes in there
1121 # would cause problems or look ugly.
1122 # WARNING: Be sure not to use single quotes in there, as some shells,
1123 # such as our DU 5.0 friend, will then `close
' the trap.
1124 trap 'exit_status
=$?
1125 # Save into config.log some information that might help in debugging.
1130 ## ---------------- ##
1131 ## Cache variables. ##
1132 ## ---------------- ##
1135 # The following way of writing the cache mishandles newlines in values,
1138 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1141 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1142 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1146 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1153 ## ----------------- ##
1154 ## Output variables. ##
1155 ## ----------------- ##
1158 for ac_var
in $ac_subst_vars
1160 eval ac_val
=$
`echo $ac_var`
1161 echo "$ac_var='"'"'$ac_val'"'"'"
1165 if test -n "$ac_subst_files"; then
1172 for ac_var
in $ac_subst_files
1174 eval ac_val
=$
`echo $ac_var`
1175 echo "$ac_var='"'"'$ac_val'"'"'"
1180 if test -s confdefs.h
; then
1187 sed "/^$/d" confdefs.h |
sort
1190 test "$ac_signal" != 0 &&
1191 echo "$as_me: caught signal $ac_signal"
1192 echo "$as_me: exit $exit_status"
1194 rm -f core
*.core
&&
1195 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1198 for ac_signal in 1 2 13 15; do
1199 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1203 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1204 rm -rf conftest* confdefs.h
1205 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1208 # Predefined preprocessor variables.
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_NAME "$PACKAGE_NAME"
1215 cat >>confdefs.h <<_ACEOF
1216 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1220 cat >>confdefs.h <<_ACEOF
1221 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_STRING "$PACKAGE_STRING"
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1235 # Let the site file select an alternate cache file if it wants to.
1236 # Prefer explicitly selected file to automatically selected ones.
1237 if test -z "$CONFIG_SITE"; then
1238 if test "x$prefix" != xNONE; then
1239 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1241 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1244 for ac_site_file in $CONFIG_SITE; do
1245 if test -r "$ac_site_file"; then
1246 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1247 echo "$as_me: loading site script $ac_site_file" >&6;}
1248 sed 's
/^
/|
/' "$ac_site_file" >&5
1253 if test -r "$cache_file"; then
1254 # Some versions of bash will fail to source /dev/null (special
1255 # files actually), so we avoid doing that.
1256 if test -f "$cache_file"; then
1257 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1258 echo "$as_me: loading cache $cache_file" >&6;}
1260 [\\/]* | ?:[\\/]* ) . $cache_file;;
1261 *) . ./$cache_file;;
1265 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1266 echo "$as_me: creating cache $cache_file" >&6;}
1270 # Check that the precious variables saved in the cache have kept the same
1272 ac_cache_corrupted=false
1273 for ac_var in `(set) 2>&1 |
1274 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1275 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1276 eval ac_new_set=\$ac_env_${ac_var}_set
1277 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1278 eval ac_new_val="\$ac_env_${ac_var}_value"
1279 case $ac_old_set,$ac_new_set in
1281 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1282 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1283 ac_cache_corrupted=: ;;
1285 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1286 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1287 ac_cache_corrupted=: ;;
1290 if test "x$ac_old_val" != "x$ac_new_val"; then
1291 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1292 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1293 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1294 echo "$as_me: former value: $ac_old_val" >&2;}
1295 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1296 echo "$as_me: current value: $ac_new_val" >&2;}
1297 ac_cache_corrupted=:
1300 # Pass precious variables to config.status.
1301 if test "$ac_new_set" = set; then
1303 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1304 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1305 *) ac_arg=$ac_var=$ac_new_val ;;
1307 case " $ac_configure_args " in
1308 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1309 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1313 if $ac_cache_corrupted; then
1314 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1315 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1316 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1317 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1318 { (exit 1); exit 1; }; }
1322 ac_cpp='$CPP $CPPFLAGS'
1323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1324 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1345 ac_config_headers="$ac_config_headers config.h:config.in"
1347 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1348 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1349 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1350 if test "${enable_maintainer_mode+set}" = set; then
1351 enableval="$enable_maintainer_mode"
1352 USE_MAINTAINER_MODE=$enableval
1354 USE_MAINTAINER_MODE=no
1356 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1357 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1360 if test $USE_MAINTAINER_MODE = yes; then
1361 MAINTAINER_MODE_TRUE=
1362 MAINTAINER_MODE_FALSE='#'
1364 MAINTAINER_MODE_TRUE
='#'
1365 MAINTAINER_MODE_FALSE
=
1368 MAINT
=$MAINTAINER_MODE_TRUE
1373 ac_cpp
='$CPP $CPPFLAGS'
1374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1377 if test -n "$ac_tool_prefix"; then
1378 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1379 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1380 echo "$as_me:$LINENO: checking for $ac_word" >&5
1381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1382 if test "${ac_cv_prog_CC+set}" = set; then
1383 echo $ECHO_N "(cached) $ECHO_C" >&6
1385 if test -n "$CC"; then
1386 ac_cv_prog_CC
="$CC" # Let the user override the test.
1388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1392 test -z "$as_dir" && as_dir
=.
1393 for ac_exec_ext
in '' $ac_executable_extensions; do
1394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1395 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1405 if test -n "$CC"; then
1406 echo "$as_me:$LINENO: result: $CC" >&5
1407 echo "${ECHO_T}$CC" >&6
1409 echo "$as_me:$LINENO: result: no" >&5
1410 echo "${ECHO_T}no" >&6
1414 if test -z "$ac_cv_prog_CC"; then
1416 # Extract the first word of "gcc", so it can be a program name with args.
1417 set dummy gcc
; ac_word
=$2
1418 echo "$as_me:$LINENO: checking for $ac_word" >&5
1419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1421 echo $ECHO_N "(cached) $ECHO_C" >&6
1423 if test -n "$ac_ct_CC"; then
1424 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1430 test -z "$as_dir" && as_dir
=.
1431 for ac_exec_ext
in '' $ac_executable_extensions; do
1432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1433 ac_cv_prog_ac_ct_CC
="gcc"
1434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1442 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1443 if test -n "$ac_ct_CC"; then
1444 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1445 echo "${ECHO_T}$ac_ct_CC" >&6
1447 echo "$as_me:$LINENO: result: no" >&5
1448 echo "${ECHO_T}no" >&6
1456 if test -z "$CC"; then
1457 if test -n "$ac_tool_prefix"; then
1458 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1459 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1460 echo "$as_me:$LINENO: checking for $ac_word" >&5
1461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1462 if test "${ac_cv_prog_CC+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 if test -n "$CC"; then
1466 ac_cv_prog_CC
="$CC" # Let the user override the test.
1468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1472 test -z "$as_dir" && as_dir
=.
1473 for ac_exec_ext
in '' $ac_executable_extensions; do
1474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1475 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1485 if test -n "$CC"; then
1486 echo "$as_me:$LINENO: result: $CC" >&5
1487 echo "${ECHO_T}$CC" >&6
1489 echo "$as_me:$LINENO: result: no" >&5
1490 echo "${ECHO_T}no" >&6
1494 if test -z "$ac_cv_prog_CC"; then
1496 # Extract the first word of "cc", so it can be a program name with args.
1497 set dummy cc
; ac_word
=$2
1498 echo "$as_me:$LINENO: checking for $ac_word" >&5
1499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1500 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1501 echo $ECHO_N "(cached) $ECHO_C" >&6
1503 if test -n "$ac_ct_CC"; then
1504 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1510 test -z "$as_dir" && as_dir
=.
1511 for ac_exec_ext
in '' $ac_executable_extensions; do
1512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1513 ac_cv_prog_ac_ct_CC
="cc"
1514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1522 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1523 if test -n "$ac_ct_CC"; then
1524 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1525 echo "${ECHO_T}$ac_ct_CC" >&6
1527 echo "$as_me:$LINENO: result: no" >&5
1528 echo "${ECHO_T}no" >&6
1537 if test -z "$CC"; then
1538 # Extract the first word of "cc", so it can be a program name with args.
1539 set dummy cc
; ac_word
=$2
1540 echo "$as_me:$LINENO: checking for $ac_word" >&5
1541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1542 if test "${ac_cv_prog_CC+set}" = set; then
1543 echo $ECHO_N "(cached) $ECHO_C" >&6
1545 if test -n "$CC"; then
1546 ac_cv_prog_CC
="$CC" # Let the user override the test.
1549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1553 test -z "$as_dir" && as_dir
=.
1554 for ac_exec_ext
in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1557 ac_prog_rejected
=yes
1561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1567 if test $ac_prog_rejected = yes; then
1568 # We found a bogon in the path, so make sure we never use it.
1569 set dummy
$ac_cv_prog_CC
1571 if test $# != 0; then
1572 # We chose a different compiler from the bogus one.
1573 # However, it has the same basename, so the bogon will be chosen
1574 # first if we set CC to just the basename; use the full file name.
1576 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1582 if test -n "$CC"; then
1583 echo "$as_me:$LINENO: result: $CC" >&5
1584 echo "${ECHO_T}$CC" >&6
1586 echo "$as_me:$LINENO: result: no" >&5
1587 echo "${ECHO_T}no" >&6
1591 if test -z "$CC"; then
1592 if test -n "$ac_tool_prefix"; then
1595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1596 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1597 echo "$as_me:$LINENO: checking for $ac_word" >&5
1598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1599 if test "${ac_cv_prog_CC+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 if test -n "$CC"; then
1603 ac_cv_prog_CC
="$CC" # Let the user override the test.
1605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1609 test -z "$as_dir" && as_dir
=.
1610 for ac_exec_ext
in '' $ac_executable_extensions; do
1611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1612 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1622 if test -n "$CC"; then
1623 echo "$as_me:$LINENO: result: $CC" >&5
1624 echo "${ECHO_T}$CC" >&6
1626 echo "$as_me:$LINENO: result: no" >&5
1627 echo "${ECHO_T}no" >&6
1630 test -n "$CC" && break
1633 if test -z "$CC"; then
1637 # Extract the first word of "$ac_prog", so it can be a program name with args.
1638 set dummy
$ac_prog; ac_word
=$2
1639 echo "$as_me:$LINENO: checking for $ac_word" >&5
1640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1644 if test -n "$ac_ct_CC"; then
1645 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1651 test -z "$as_dir" && as_dir
=.
1652 for ac_exec_ext
in '' $ac_executable_extensions; do
1653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1654 ac_cv_prog_ac_ct_CC
="$ac_prog"
1655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1664 if test -n "$ac_ct_CC"; then
1665 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1666 echo "${ECHO_T}$ac_ct_CC" >&6
1668 echo "$as_me:$LINENO: result: no" >&5
1669 echo "${ECHO_T}no" >&6
1672 test -n "$ac_ct_CC" && break
1681 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1682 See \`config.log' for more details." >&5
1683 echo "$as_me: error: no acceptable C compiler found in \$PATH
1684 See \`config.log' for more details." >&2;}
1685 { (exit 1); exit 1; }; }
1687 # Provide some information about the compiler.
1688 echo "$as_me:$LINENO:" \
1689 "checking for C compiler version" >&5
1690 ac_compiler
=`set X $ac_compile; echo $2`
1691 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1692 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1695 (exit $ac_status); }
1696 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1697 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1700 (exit $ac_status); }
1701 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1702 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1705 (exit $ac_status); }
1707 cat >conftest.
$ac_ext <<_ACEOF
1710 cat confdefs.h
>>conftest.
$ac_ext
1711 cat >>conftest.
$ac_ext <<_ACEOF
1712 /* end confdefs.h. */
1722 ac_clean_files_save
=$ac_clean_files
1723 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1724 # Try to create an executable without -o first, disregard a.out.
1725 # It will help us diagnose broken compilers, and finding out an intuition
1727 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1728 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1729 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1730 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1731 (eval $ac_link_default) 2>&5
1733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1734 (exit $ac_status); }; then
1735 # Find the output, starting from the most likely. This scheme is
1736 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1739 # Be careful to initialize this variable, since it used to be cached.
1740 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1742 # b.out is created by i960 compilers.
1743 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1745 test -f "$ac_file" ||
continue
1747 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1750 # This is the source file.
1753 # We found the default executable, but exeext='' is most
1757 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1758 # FIXME: I believe we export ac_cv_exeext for Libtool,
1759 # but it would be cool to find out if it's true. Does anybody
1760 # maintain Libtool? --akim.
1768 echo "$as_me: failed program was:" >&5
1769 sed 's/^/| /' conftest.
$ac_ext >&5
1771 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1772 See \`config.log' for more details." >&5
1773 echo "$as_me: error: C compiler cannot create executables
1774 See \`config.log' for more details." >&2;}
1775 { (exit 77); exit 77; }; }
1778 ac_exeext
=$ac_cv_exeext
1779 echo "$as_me:$LINENO: result: $ac_file" >&5
1780 echo "${ECHO_T}$ac_file" >&6
1782 # Check the compiler produces executables we can run. If not, either
1783 # the compiler is broken, or we cross compile.
1784 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1785 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1786 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1787 # If not cross compiling, check that we can run a simple program.
1788 if test "$cross_compiling" != yes; then
1789 if { ac_try
='./$ac_file'
1790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1794 (exit $ac_status); }; }; then
1797 if test "$cross_compiling" = maybe
; then
1800 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1801 If you meant to cross compile, use \`--host'.
1802 See \`config.log' for more details." >&5
1803 echo "$as_me: error: cannot run C compiled programs.
1804 If you meant to cross compile, use \`--host'.
1805 See \`config.log' for more details." >&2;}
1806 { (exit 1); exit 1; }; }
1810 echo "$as_me:$LINENO: result: yes" >&5
1811 echo "${ECHO_T}yes" >&6
1813 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1814 ac_clean_files
=$ac_clean_files_save
1815 # Check the compiler produces executables we can run. If not, either
1816 # the compiler is broken, or we cross compile.
1817 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1818 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1819 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1820 echo "${ECHO_T}$cross_compiling" >&6
1822 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1823 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1825 (eval $ac_link) 2>&5
1827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1828 (exit $ac_status); }; then
1829 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1830 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1831 # work properly (i.e., refer to `conftest.exe'), while it won't with
1833 for ac_file
in conftest.exe conftest conftest.
*; do
1834 test -f "$ac_file" ||
continue
1836 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1837 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1844 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1845 See \`config.log' for more details." >&5
1846 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1847 See \`config.log' for more details." >&2;}
1848 { (exit 1); exit 1; }; }
1851 rm -f conftest
$ac_cv_exeext
1852 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1853 echo "${ECHO_T}$ac_cv_exeext" >&6
1855 rm -f conftest.
$ac_ext
1856 EXEEXT
=$ac_cv_exeext
1858 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1859 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1860 if test "${ac_cv_objext+set}" = set; then
1861 echo $ECHO_N "(cached) $ECHO_C" >&6
1863 cat >conftest.
$ac_ext <<_ACEOF
1866 cat confdefs.h
>>conftest.
$ac_ext
1867 cat >>conftest.
$ac_ext <<_ACEOF
1868 /* end confdefs.h. */
1878 rm -f conftest.o conftest.obj
1879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1880 (eval $ac_compile) 2>&5
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); }; then
1884 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1886 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1887 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1892 echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.
$ac_ext >&5
1895 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1896 See \`config.log' for more details." >&5
1897 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1898 See \`config.log' for more details." >&2;}
1899 { (exit 1); exit 1; }; }
1902 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1904 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1905 echo "${ECHO_T}$ac_cv_objext" >&6
1906 OBJEXT
=$ac_cv_objext
1908 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1909 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1910 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1911 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 cat >conftest.
$ac_ext <<_ACEOF
1916 cat confdefs.h
>>conftest.
$ac_ext
1917 cat >>conftest.
$ac_ext <<_ACEOF
1918 /* end confdefs.h. */
1931 rm -f conftest.
$ac_objext
1932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1933 (eval $ac_compile) 2>conftest.er1
1935 grep -v '^ *+' conftest.er1
>conftest.err
1937 cat conftest.err
>&5
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939 (exit $ac_status); } &&
1940 { ac_try
='test -z "$ac_c_werror_flag"
1941 || test ! -s conftest.err'
1942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; } &&
1947 { ac_try
='test -s conftest.$ac_objext'
1948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952 (exit $ac_status); }; }; then
1955 echo "$as_me: failed program was:" >&5
1956 sed 's/^/| /' conftest.
$ac_ext >&5
1960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1961 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1964 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1965 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1966 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1967 ac_test_CFLAGS
=${CFLAGS+set}
1968 ac_save_CFLAGS
=$CFLAGS
1970 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1971 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1972 if test "${ac_cv_prog_cc_g+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 cat >conftest.
$ac_ext <<_ACEOF
1978 cat confdefs.h
>>conftest.
$ac_ext
1979 cat >>conftest.
$ac_ext <<_ACEOF
1980 /* end confdefs.h. */
1990 rm -f conftest.
$ac_objext
1991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1992 (eval $ac_compile) 2>conftest.er1
1994 grep -v '^ *+' conftest.er1
>conftest.err
1996 cat conftest.err
>&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); } &&
1999 { ac_try
='test -z "$ac_c_werror_flag"
2000 || test ! -s conftest.err'
2001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 (exit $ac_status); }; } &&
2006 { ac_try
='test -s conftest.$ac_objext'
2007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }; }; then
2014 echo "$as_me: failed program was:" >&5
2015 sed 's/^/| /' conftest.
$ac_ext >&5
2019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2021 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2022 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2023 if test "$ac_test_CFLAGS" = set; then
2024 CFLAGS
=$ac_save_CFLAGS
2025 elif test $ac_cv_prog_cc_g = yes; then
2026 if test "$GCC" = yes; then
2032 if test "$GCC" = yes; then
2038 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2039 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2040 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2041 echo $ECHO_N "(cached) $ECHO_C" >&6
2043 ac_cv_prog_cc_stdc
=no
2045 cat >conftest.
$ac_ext <<_ACEOF
2048 cat confdefs.h
>>conftest.
$ac_ext
2049 cat >>conftest.
$ac_ext <<_ACEOF
2050 /* end confdefs.h. */
2053 #include <sys/types.h>
2054 #include <sys/stat.h>
2055 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2056 struct buf { int x; };
2057 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2058 static char *e (p, i)
2064 static char *f (char * (*g) (char **, int), char **p, ...)
2069 s = g (p, va_arg (v,int));
2074 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2075 function prototypes and stuff, but not '\xHH' hex character constants.
2076 These don't provoke an error unfortunately, instead are silently treated
2077 as 'x'. The following induces an error, until -std1 is added to get
2078 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2079 array size at least. It's necessary to write '\x00'==0 to get something
2080 that's true only with -std1. */
2081 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2083 int test (int i, double x);
2084 struct s1 {int (*f) (int a);};
2085 struct s2 {int (*f) (double a);};
2086 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2092 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2097 # Don't try gcc -ansi; that turns off useful extensions and
2098 # breaks some systems' header files.
2099 # AIX -qlanglvl=ansi
2100 # Ultrix and OSF/1 -std1
2101 # HP-UX 10.20 and later -Ae
2102 # HP-UX older versions -Aa -D_HPUX_SOURCE
2103 # SVR4 -Xc -D__EXTENSIONS__
2104 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2106 CC
="$ac_save_CC $ac_arg"
2107 rm -f conftest.
$ac_objext
2108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2109 (eval $ac_compile) 2>conftest.er1
2111 grep -v '^ *+' conftest.er1
>conftest.err
2113 cat conftest.err
>&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); } &&
2116 { ac_try
='test -z "$ac_c_werror_flag"
2117 || test ! -s conftest.err'
2118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); }; } &&
2123 { ac_try
='test -s conftest.$ac_objext'
2124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }; }; then
2129 ac_cv_prog_cc_stdc
=$ac_arg
2132 echo "$as_me: failed program was:" >&5
2133 sed 's/^/| /' conftest.
$ac_ext >&5
2136 rm -f conftest.err conftest.
$ac_objext
2138 rm -f conftest.
$ac_ext conftest.
$ac_objext
2143 case "x$ac_cv_prog_cc_stdc" in
2145 echo "$as_me:$LINENO: result: none needed" >&5
2146 echo "${ECHO_T}none needed" >&6 ;;
2148 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2149 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2150 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2153 # Some people use a C++ compiler to compile C. Since we use `exit',
2154 # in C++ we need to declare it. In case someone uses the same compiler
2155 # for both compiling C and C++ we need to have the C++ compiler decide
2156 # the declaration of exit, since it's the most demanding environment.
2157 cat >conftest.
$ac_ext <<_ACEOF
2162 rm -f conftest.
$ac_objext
2163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2164 (eval $ac_compile) 2>conftest.er1
2166 grep -v '^ *+' conftest.er1
>conftest.err
2168 cat conftest.err
>&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); } &&
2171 { ac_try
='test -z "$ac_c_werror_flag"
2172 || test ! -s conftest.err'
2173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }; } &&
2178 { ac_try
='test -s conftest.$ac_objext'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; }; then
2184 for ac_declaration
in \
2186 'extern "C" void std::exit (int) throw (); using std::exit;' \
2187 'extern "C" void std::exit (int); using std::exit;' \
2188 'extern "C" void exit (int) throw ();' \
2189 'extern "C" void exit (int);' \
2192 cat >conftest.
$ac_ext <<_ACEOF
2195 cat confdefs.h
>>conftest.
$ac_ext
2196 cat >>conftest.
$ac_ext <<_ACEOF
2197 /* end confdefs.h. */
2208 rm -f conftest.
$ac_objext
2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2210 (eval $ac_compile) 2>conftest.er1
2212 grep -v '^ *+' conftest.er1
>conftest.err
2214 cat conftest.err
>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); } &&
2217 { ac_try
='test -z "$ac_c_werror_flag"
2218 || test ! -s conftest.err'
2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; } &&
2224 { ac_try
='test -s conftest.$ac_objext'
2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); }; }; then
2232 echo "$as_me: failed program was:" >&5
2233 sed 's/^/| /' conftest.
$ac_ext >&5
2237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2238 cat >conftest.
$ac_ext <<_ACEOF
2241 cat confdefs.h
>>conftest.
$ac_ext
2242 cat >>conftest.
$ac_ext <<_ACEOF
2243 /* end confdefs.h. */
2253 rm -f conftest.
$ac_objext
2254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2255 (eval $ac_compile) 2>conftest.er1
2257 grep -v '^ *+' conftest.er1
>conftest.err
2259 cat conftest.err
>&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); } &&
2262 { ac_try
='test -z "$ac_c_werror_flag"
2263 || test ! -s conftest.err'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; } &&
2269 { ac_try
='test -s conftest.$ac_objext'
2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; }; then
2277 echo "$as_me: failed program was:" >&5
2278 sed 's/^/| /' conftest.
$ac_ext >&5
2281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2284 if test -n "$ac_declaration"; then
2285 echo '#ifdef __cplusplus' >>confdefs.h
2286 echo $ac_declaration >>confdefs.h
2287 echo '#endif' >>confdefs.h
2291 echo "$as_me: failed program was:" >&5
2292 sed 's/^/| /' conftest.
$ac_ext >&5
2295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2297 ac_cpp
='$CPP $CPPFLAGS'
2298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2303 cat >>confdefs.h
<<\_ACEOF
2304 #define _GNU_SOURCE 1
2310 ac_cpp
='$CPP $CPPFLAGS'
2311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2314 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2315 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2316 # On Suns, sometimes $CPP names a directory.
2317 if test -n "$CPP" && test -d "$CPP"; then
2320 if test -z "$CPP"; then
2321 if test "${ac_cv_prog_CPP+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 # Double quotes because CPP needs to be expanded
2325 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2328 for ac_c_preproc_warn_flag
in '' yes
2330 # Use a header file that comes with gcc, so configuring glibc
2331 # with a fresh cross-compiler works.
2332 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2333 # <limits.h> exists even on freestanding compilers.
2334 # On the NeXT, cc -E runs the code through the compiler's parser,
2335 # not just through cpp. "Syntax error" is here to catch this case.
2336 cat >conftest.
$ac_ext <<_ACEOF
2339 cat confdefs.h
>>conftest.
$ac_ext
2340 cat >>conftest.
$ac_ext <<_ACEOF
2341 /* end confdefs.h. */
2343 # include <limits.h>
2345 # include <assert.h>
2349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2350 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2352 grep -v '^ *+' conftest.er1
>conftest.err
2354 cat conftest.err
>&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); } >/dev
/null
; then
2357 if test -s conftest.err
; then
2358 ac_cpp_err
=$ac_c_preproc_warn_flag
2359 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2366 if test -z "$ac_cpp_err"; then
2369 echo "$as_me: failed program was:" >&5
2370 sed 's/^/| /' conftest.
$ac_ext >&5
2372 # Broken: fails on valid input.
2375 rm -f conftest.err conftest.
$ac_ext
2377 # OK, works on sane cases. Now check whether non-existent headers
2378 # can be detected and how.
2379 cat >conftest.
$ac_ext <<_ACEOF
2382 cat confdefs.h
>>conftest.
$ac_ext
2383 cat >>conftest.
$ac_ext <<_ACEOF
2384 /* end confdefs.h. */
2385 #include <ac_nonexistent.h>
2387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2388 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1
>conftest.err
2392 cat conftest.err
>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } >/dev
/null
; then
2395 if test -s conftest.err
; then
2396 ac_cpp_err
=$ac_c_preproc_warn_flag
2397 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2404 if test -z "$ac_cpp_err"; then
2405 # Broken: success on invalid input.
2408 echo "$as_me: failed program was:" >&5
2409 sed 's/^/| /' conftest.
$ac_ext >&5
2411 # Passes both tests.
2415 rm -f conftest.err conftest.
$ac_ext
2418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2419 rm -f conftest.err conftest.
$ac_ext
2420 if $ac_preproc_ok; then
2432 echo "$as_me:$LINENO: result: $CPP" >&5
2433 echo "${ECHO_T}$CPP" >&6
2435 for ac_c_preproc_warn_flag
in '' yes
2437 # Use a header file that comes with gcc, so configuring glibc
2438 # with a fresh cross-compiler works.
2439 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2440 # <limits.h> exists even on freestanding compilers.
2441 # On the NeXT, cc -E runs the code through the compiler's parser,
2442 # not just through cpp. "Syntax error" is here to catch this case.
2443 cat >conftest.
$ac_ext <<_ACEOF
2446 cat confdefs.h
>>conftest.
$ac_ext
2447 cat >>conftest.
$ac_ext <<_ACEOF
2448 /* end confdefs.h. */
2450 # include <limits.h>
2452 # include <assert.h>
2456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2457 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2459 grep -v '^ *+' conftest.er1
>conftest.err
2461 cat conftest.err
>&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); } >/dev
/null
; then
2464 if test -s conftest.err
; then
2465 ac_cpp_err
=$ac_c_preproc_warn_flag
2466 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2473 if test -z "$ac_cpp_err"; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.
$ac_ext >&5
2479 # Broken: fails on valid input.
2482 rm -f conftest.err conftest.
$ac_ext
2484 # OK, works on sane cases. Now check whether non-existent headers
2485 # can be detected and how.
2486 cat >conftest.
$ac_ext <<_ACEOF
2489 cat confdefs.h
>>conftest.
$ac_ext
2490 cat >>conftest.
$ac_ext <<_ACEOF
2491 /* end confdefs.h. */
2492 #include <ac_nonexistent.h>
2494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2495 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2497 grep -v '^ *+' conftest.er1
>conftest.err
2499 cat conftest.err
>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); } >/dev
/null
; then
2502 if test -s conftest.err
; then
2503 ac_cpp_err
=$ac_c_preproc_warn_flag
2504 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2511 if test -z "$ac_cpp_err"; then
2512 # Broken: success on invalid input.
2515 echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.
$ac_ext >&5
2518 # Passes both tests.
2522 rm -f conftest.err conftest.
$ac_ext
2525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2526 rm -f conftest.err conftest.
$ac_ext
2527 if $ac_preproc_ok; then
2530 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2531 See \`config.log' for more details." >&5
2532 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2533 See \`config.log' for more details." >&2;}
2534 { (exit 1); exit 1; }; }
2538 ac_cpp
='$CPP $CPPFLAGS'
2539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2544 echo "$as_me:$LINENO: checking for egrep" >&5
2545 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2546 if test "${ac_cv_prog_egrep+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2550 then ac_cv_prog_egrep
='grep -E'
2551 else ac_cv_prog_egrep
='egrep'
2554 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2555 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2556 EGREP
=$ac_cv_prog_egrep
2560 echo "$as_me:$LINENO: checking for AIX" >&5
2561 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2562 cat >conftest.
$ac_ext <<_ACEOF
2565 cat confdefs.h
>>conftest.
$ac_ext
2566 cat >>conftest.
$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2574 $EGREP "yes" >/dev
/null
2>&1; then
2575 echo "$as_me:$LINENO: result: yes" >&5
2576 echo "${ECHO_T}yes" >&6
2577 cat >>confdefs.h
<<\_ACEOF
2578 #define _ALL_SOURCE 1
2582 echo "$as_me:$LINENO: result: no" >&5
2583 echo "${ECHO_T}no" >&6
2588 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2589 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2590 if test "${ac_cv_search_strerror+set}" = set; then
2591 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 ac_func_search_save_LIBS
=$LIBS
2594 ac_cv_search_strerror
=no
2595 cat >conftest.
$ac_ext <<_ACEOF
2598 cat confdefs.h
>>conftest.
$ac_ext
2599 cat >>conftest.
$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2602 /* Override any gcc2 internal prototype to avoid an error. */
2606 /* We use char because int might match the return type of a gcc2
2607 builtin and then its argument prototype would still apply. */
2617 rm -f conftest.
$ac_objext conftest
$ac_exeext
2618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2619 (eval $ac_link) 2>conftest.er1
2621 grep -v '^ *+' conftest.er1
>conftest.err
2623 cat conftest.err
>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); } &&
2626 { ac_try
='test -z "$ac_c_werror_flag"
2627 || test ! -s conftest.err'
2628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); }; } &&
2633 { ac_try
='test -s conftest$ac_exeext'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2639 ac_cv_search_strerror
="none required"
2641 echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.
$ac_ext >&5
2645 rm -f conftest.err conftest.
$ac_objext \
2646 conftest
$ac_exeext conftest.
$ac_ext
2647 if test "$ac_cv_search_strerror" = no
; then
2648 for ac_lib
in cposix
; do
2649 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2650 cat >conftest.
$ac_ext <<_ACEOF
2653 cat confdefs.h
>>conftest.
$ac_ext
2654 cat >>conftest.
$ac_ext <<_ACEOF
2655 /* end confdefs.h. */
2657 /* Override any gcc2 internal prototype to avoid an error. */
2661 /* We use char because int might match the return type of a gcc2
2662 builtin and then its argument prototype would still apply. */
2672 rm -f conftest.
$ac_objext conftest
$ac_exeext
2673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2674 (eval $ac_link) 2>conftest.er1
2676 grep -v '^ *+' conftest.er1
>conftest.err
2678 cat conftest.err
>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); } &&
2681 { ac_try
='test -z "$ac_c_werror_flag"
2682 || test ! -s conftest.err'
2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; } &&
2688 { ac_try
='test -s conftest$ac_exeext'
2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2694 ac_cv_search_strerror
="-l$ac_lib"
2697 echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.
$ac_ext >&5
2701 rm -f conftest.err conftest.
$ac_objext \
2702 conftest
$ac_exeext conftest.
$ac_ext
2705 LIBS
=$ac_func_search_save_LIBS
2707 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2708 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2709 if test "$ac_cv_search_strerror" != no
; then
2710 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2717 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2718 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2719 if test "${am_cv_prog_cc_stdc+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 am_cv_prog_cc_stdc
=no
2724 # Don't try gcc -ansi; that turns off useful extensions and
2725 # breaks some systems' header files.
2726 # AIX -qlanglvl=ansi
2727 # Ultrix and OSF/1 -std1
2728 # HP-UX 10.20 and later -Ae
2729 # HP-UX older versions -Aa -D_HPUX_SOURCE
2730 # SVR4 -Xc -D__EXTENSIONS__
2731 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2733 CC
="$ac_save_CC $ac_arg"
2734 cat >conftest.
$ac_ext <<_ACEOF
2737 cat confdefs.h
>>conftest.
$ac_ext
2738 cat >>conftest.
$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2742 #include <sys/types.h>
2743 #include <sys/stat.h>
2744 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2745 struct buf { int x; };
2746 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2747 static char *e (p, i)
2753 static char *f (char * (*g) (char **, int), char **p, ...)
2758 s = g (p, va_arg (v,int));
2762 int test (int i, double x);
2763 struct s1 {int (*f) (int a);};
2764 struct s2 {int (*f) (double a);};
2765 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2773 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2779 rm -f conftest.
$ac_objext
2780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2781 (eval $ac_compile) 2>conftest.er1
2783 grep -v '^ *+' conftest.er1
>conftest.err
2785 cat conftest.err
>&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); } &&
2788 { ac_try
='test -z "$ac_c_werror_flag"
2789 || test ! -s conftest.err'
2790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; } &&
2795 { ac_try
='test -s conftest.$ac_objext'
2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; }; then
2801 am_cv_prog_cc_stdc
="$ac_arg"; break
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.
$ac_ext >&5
2807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2813 if test -z "$am_cv_prog_cc_stdc"; then
2814 echo "$as_me:$LINENO: result: none needed" >&5
2815 echo "${ECHO_T}none needed" >&6
2817 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2818 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2820 case "x$am_cv_prog_cc_stdc" in
2822 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2827 for ac_dir
in `cd $srcdir;pwd`/..
$srcdir/`cd $srcdir;pwd`/..
; do
2828 if test -f $ac_dir/install-sh
; then
2830 ac_install_sh
="$ac_aux_dir/install-sh -c"
2832 elif test -f $ac_dir/install.sh
; then
2834 ac_install_sh
="$ac_aux_dir/install.sh -c"
2836 elif test -f $ac_dir/shtool
; then
2838 ac_install_sh
="$ac_aux_dir/shtool install -c"
2842 if test -z "$ac_aux_dir"; then
2843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&5
2844 echo "$as_me: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&2;}
2845 { (exit 1); exit 1; }; }
2847 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2848 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2849 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2851 # Make sure we can run config.sub.
2852 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2853 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2854 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2855 { (exit 1); exit 1; }; }
2857 echo "$as_me:$LINENO: checking build system type" >&5
2858 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2859 if test "${ac_cv_build+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 ac_cv_build_alias
=$build_alias
2863 test -z "$ac_cv_build_alias" &&
2864 ac_cv_build_alias
=`$ac_config_guess`
2865 test -z "$ac_cv_build_alias" &&
2866 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2867 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2868 { (exit 1); exit 1; }; }
2869 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2870 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2871 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2872 { (exit 1); exit 1; }; }
2875 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2876 echo "${ECHO_T}$ac_cv_build" >&6
2878 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2879 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2880 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2883 echo "$as_me:$LINENO: checking host system type" >&5
2884 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2885 if test "${ac_cv_host+set}" = set; then
2886 echo $ECHO_N "(cached) $ECHO_C" >&6
2888 ac_cv_host_alias
=$host_alias
2889 test -z "$ac_cv_host_alias" &&
2890 ac_cv_host_alias
=$ac_cv_build_alias
2891 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2892 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2893 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2894 { (exit 1); exit 1; }; }
2897 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2898 echo "${ECHO_T}$ac_cv_host" >&6
2900 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2901 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2902 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2905 echo "$as_me:$LINENO: checking target system type" >&5
2906 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2907 if test "${ac_cv_target+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 ac_cv_target_alias
=$target_alias
2911 test "x$ac_cv_target_alias" = "x" &&
2912 ac_cv_target_alias
=$ac_cv_host_alias
2913 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2914 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2915 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2916 { (exit 1); exit 1; }; }
2919 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2920 echo "${ECHO_T}$ac_cv_target" >&6
2921 target
=$ac_cv_target
2922 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2923 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2924 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2927 # The aliases save the names the user supplied, while $host etc.
2928 # will get canonicalized.
2929 test -n "$target_alias" &&
2930 test "$program_prefix$program_suffix$program_transform_name" = \
2932 program_prefix
=${target_alias}-
2945 # If we haven't got the data from the intl directory,
2946 # assume NLS is disabled.
2955 if test -f ..
/intl
/config.intl
; then
2956 . ..
/intl
/config.intl
2958 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2959 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2960 if test x
"$USE_NLS" != xyes
; then
2961 echo "$as_me:$LINENO: result: no" >&5
2962 echo "${ECHO_T}no" >&6
2964 echo "$as_me:$LINENO: result: yes" >&5
2965 echo "${ECHO_T}yes" >&6
2967 cat >>confdefs.h
<<\_ACEOF
2968 #define ENABLE_NLS 1
2972 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2973 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2974 # Look for .po and .gmo files in the source directory.
2977 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2978 # If there aren't any .gmo files the shell will give us the
2979 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2981 case "$cat" in *\
**)
2984 # The quadruple backslash is collapsed to a double backslash
2985 # by the backticks, then collapsed again by the double quotes,
2986 # leaving us with one backslash in the sed expression (right
2987 # before the dot that mustn't act as a wildcard).
2988 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2989 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2990 # The user is allowed to set LINGUAS to a list of languages to
2991 # install catalogs for. If it's empty that means "all of them."
2992 if test "x$LINGUAS" = x
; then
2993 CATALOGS
="$CATALOGS $cat"
2994 XLINGUAS
="$XLINGUAS $lang"
2996 case "$LINGUAS" in *$lang*)
2997 CATALOGS
="$CATALOGS $cat"
2998 XLINGUAS
="$XLINGUAS $lang"
3004 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3005 echo "${ECHO_T}$LINGUAS" >&6
3018 localedir
='${datadir}/locale'
3021 if test x
"$USE_NLS" = xyes
; then
3022 CONFIG_ALL
="$CONFIG_ALL all-po"
3023 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3024 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3025 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3030 cat >>confdefs.h
<<_ACEOF
3031 #define PACKAGE "$PACKAGE"
3036 debugdir
=${libdir}/debug
3039 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
3040 if test "${with_separate_debug_dir+set}" = set; then
3041 withval
="$with_separate_debug_dir"
3042 debugdir
="${withval}"
3046 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
3047 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3048 ac_define_dir
=`eval echo $debugdir`
3049 ac_define_dir
=`eval echo $ac_define_dir`
3051 cat >>confdefs.h
<<_ACEOF
3052 #define DEBUGDIR "$ac_define_dir"
3056 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
3058 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
3059 if test "x$prefix" = xNONE
; then
3060 test_prefix
=/usr
/local
3065 test_prefix
=$exec_prefix
3068 "${test_prefix}"|
"${test_prefix}/"*|\
3069 '${exec_prefix}'|
'${exec_prefix}/'*)
3071 cat >>confdefs.h
<<\_ACEOF
3072 #define DEBUGDIR_RELOCATABLE 1
3080 subdirs
="$subdirs doc testsuite"
3083 # Provide defaults for some variables set by the per-host and per-target
3085 gdb_host_obs
=posix-hdep.o
3087 if test "${target}" = "${host}"; then
3093 .
$srcdir/configure.
host
3095 .
$srcdir/configure.tgt
3097 # Fetch the default architecture and default target vector from BFD.
3098 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
3100 # We only want the first architecture, so strip off the others if
3101 # there is more than one.
3102 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
3104 if test "x$targ_archs" != x
; then
3106 cat >>confdefs.h
<<_ACEOF
3107 #define DEFAULT_BFD_ARCH $targ_archs
3111 if test "x$targ_defvec" != x
; then
3113 cat >>confdefs.h
<<_ACEOF
3114 #define DEFAULT_BFD_VEC $targ_defvec
3119 TARGET_OBS
="${gdb_target_obs}"
3122 test "$program_prefix" != NONE
&&
3123 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3124 # Use a double $ so make ignores it.
3125 test "$program_suffix" != NONE
&&
3126 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3127 # Double any \ or $. echo might interpret backslashes.
3128 # By default was `s,x,x', remove it if useless.
3129 cat <<\_ACEOF
>conftest.
sed
3130 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3132 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3136 # The CLI cannot be disabled yet, but may be in the future.
3139 # Check whether --enable-gdbcli or --disable-gdbcli was given.
3140 if test "${enable_gdbcli+set}" = set; then
3141 enableval
="$enable_gdbcli"
3146 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
3147 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
3148 { (exit 1); exit 1; }; } ;;
3150 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
3151 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
3152 { (exit 1); exit 1; }; } ;;
3157 if test x
"$enable_gdbcli" = xyes
; then
3158 if test -d $srcdir/cli
; then
3159 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
3160 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
3161 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
3162 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
3167 # Check whether --enable-gdbmi or --disable-gdbmi was given.
3168 if test "${enable_gdbmi+set}" = set; then
3169 enableval
="$enable_gdbmi"
3174 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
3175 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
3176 { (exit 1); exit 1; }; } ;;
3181 if test x
"$enable_gdbmi" = xyes
; then
3182 if test -d $srcdir/mi
; then
3183 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
3184 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
3185 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
3186 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
3191 # Check whether --enable-tui or --disable-tui was given.
3192 if test "${enable_tui+set}" = set; then
3193 enableval
="$enable_tui"
3198 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
3199 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
3200 { (exit 1); exit 1; }; } ;;
3207 # Check whether --enable-gdbtk or --disable-gdbtk was given.
3208 if test "${enable_gdbtk+set}" = set; then
3209 enableval
="$enable_gdbtk"
3214 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
3215 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
3216 { (exit 1); exit 1; }; } ;;
3219 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
3225 # We unconditionally disable gdbtk tests on selected platforms.
3228 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
3229 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
3233 # Libunwind support.
3234 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3235 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3236 if test "${ac_cv_header_stdc+set}" = set; then
3237 echo $ECHO_N "(cached) $ECHO_C" >&6
3239 cat >conftest.
$ac_ext <<_ACEOF
3242 cat confdefs.h
>>conftest.
$ac_ext
3243 cat >>conftest.
$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3258 rm -f conftest.
$ac_objext
3259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3260 (eval $ac_compile) 2>conftest.er1
3262 grep -v '^ *+' conftest.er1
>conftest.err
3264 cat conftest.err
>&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); } &&
3267 { ac_try
='test -z "$ac_c_werror_flag"
3268 || test ! -s conftest.err'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; } &&
3274 { ac_try
='test -s conftest.$ac_objext'
3275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); }; }; then
3280 ac_cv_header_stdc
=yes
3282 echo "$as_me: failed program was:" >&5
3283 sed 's/^/| /' conftest.
$ac_ext >&5
3285 ac_cv_header_stdc
=no
3287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3289 if test $ac_cv_header_stdc = yes; then
3290 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3291 cat >conftest.
$ac_ext <<_ACEOF
3294 cat confdefs.h
>>conftest.
$ac_ext
3295 cat >>conftest.
$ac_ext <<_ACEOF
3296 /* end confdefs.h. */
3300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3301 $EGREP "memchr" >/dev
/null
2>&1; then
3304 ac_cv_header_stdc
=no
3310 if test $ac_cv_header_stdc = yes; then
3311 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3312 cat >conftest.
$ac_ext <<_ACEOF
3315 cat confdefs.h
>>conftest.
$ac_ext
3316 cat >>conftest.
$ac_ext <<_ACEOF
3317 /* end confdefs.h. */
3321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3322 $EGREP "free" >/dev
/null
2>&1; then
3325 ac_cv_header_stdc
=no
3331 if test $ac_cv_header_stdc = yes; then
3332 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3333 if test "$cross_compiling" = yes; then
3336 cat >conftest.
$ac_ext <<_ACEOF
3339 cat confdefs.h
>>conftest.
$ac_ext
3340 cat >>conftest.
$ac_ext <<_ACEOF
3341 /* end confdefs.h. */
3343 #if ((' ' & 0x0FF) == 0x020)
3344 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3345 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3347 # define ISLOWER(c) \
3348 (('a' <= (c) && (c) <= 'i') \
3349 || ('j' <= (c) && (c) <= 'r') \
3350 || ('s' <= (c) && (c) <= 'z'))
3351 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3354 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3359 for (i = 0; i < 256; i++)
3360 if (XOR (islower (i), ISLOWER (i))
3361 || toupper (i) != TOUPPER (i))
3366 rm -f conftest
$ac_exeext
3367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3368 (eval $ac_link) 2>&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); }; }; then
3379 echo "$as_me: program exited with status $ac_status" >&5
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.
$ac_ext >&5
3384 ac_cv_header_stdc
=no
3386 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3390 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3391 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3392 if test $ac_cv_header_stdc = yes; then
3394 cat >>confdefs.h
<<\_ACEOF
3395 #define STDC_HEADERS 1
3400 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3410 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3411 inttypes.h stdint.h unistd.h
3413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3414 echo "$as_me:$LINENO: checking for $ac_header" >&5
3415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3417 echo $ECHO_N "(cached) $ECHO_C" >&6
3419 cat >conftest.
$ac_ext <<_ACEOF
3422 cat confdefs.h
>>conftest.
$ac_ext
3423 cat >>conftest.
$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3425 $ac_includes_default
3427 #include <$ac_header>
3429 rm -f conftest.
$ac_objext
3430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3431 (eval $ac_compile) 2>conftest.er1
3433 grep -v '^ *+' conftest.er1
>conftest.err
3435 cat conftest.err
>&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); } &&
3438 { ac_try
='test -z "$ac_c_werror_flag"
3439 || test ! -s conftest.err'
3440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }; } &&
3445 { ac_try
='test -s conftest.$ac_objext'
3446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); }; }; then
3451 eval "$as_ac_Header=yes"
3453 echo "$as_me: failed program was:" >&5
3454 sed 's/^/| /' conftest.
$ac_ext >&5
3456 eval "$as_ac_Header=no"
3458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3463 cat >>confdefs.h
<<_ACEOF
3464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3473 # Check whether --with-libunwind or --without-libunwind was given.
3474 if test "${with_libunwind+set}" = set; then
3475 withval
="$with_libunwind"
3476 case "${withval}" in
3477 yes) enable_libunwind
=yes ;;
3478 no
) enable_libunwind
=no
;;
3479 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
3480 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
3481 { (exit 1); exit 1; }; } ;;
3486 for ac_header
in libunwind.h
3488 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3490 echo "$as_me:$LINENO: checking for $ac_header" >&5
3491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3493 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3498 # Is the header compilable?
3499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3501 cat >conftest.
$ac_ext <<_ACEOF
3504 cat confdefs.h
>>conftest.
$ac_ext
3505 cat >>conftest.
$ac_ext <<_ACEOF
3506 /* end confdefs.h. */
3507 $ac_includes_default
3508 #include <$ac_header>
3510 rm -f conftest.
$ac_objext
3511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3512 (eval $ac_compile) 2>conftest.er1
3514 grep -v '^ *+' conftest.er1
>conftest.err
3516 cat conftest.err
>&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } &&
3519 { ac_try
='test -z "$ac_c_werror_flag"
3520 || test ! -s conftest.err'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; } &&
3526 { ac_try
='test -s conftest.$ac_objext'
3527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }; }; then
3532 ac_header_compiler
=yes
3534 echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.
$ac_ext >&5
3537 ac_header_compiler
=no
3539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3541 echo "${ECHO_T}$ac_header_compiler" >&6
3543 # Is the header present?
3544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3546 cat >conftest.
$ac_ext <<_ACEOF
3549 cat confdefs.h
>>conftest.
$ac_ext
3550 cat >>conftest.
$ac_ext <<_ACEOF
3551 /* end confdefs.h. */
3552 #include <$ac_header>
3554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3555 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3557 grep -v '^ *+' conftest.er1
>conftest.err
3559 cat conftest.err
>&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); } >/dev
/null
; then
3562 if test -s conftest.err
; then
3563 ac_cpp_err
=$ac_c_preproc_warn_flag
3564 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3571 if test -z "$ac_cpp_err"; then
3572 ac_header_preproc
=yes
3574 echo "$as_me: failed program was:" >&5
3575 sed 's/^/| /' conftest.
$ac_ext >&5
3577 ac_header_preproc
=no
3579 rm -f conftest.err conftest.
$ac_ext
3580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3581 echo "${ECHO_T}$ac_header_preproc" >&6
3583 # So? What about this header?
3584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3590 ac_header_preproc
=yes
3593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3607 ## ------------------------------------------ ##
3608 ## Report this to the AC_PACKAGE_NAME lists. ##
3609 ## ------------------------------------------ ##
3612 sed "s/^/$as_me: WARNING: /" >&2
3615 echo "$as_me:$LINENO: checking for $ac_header" >&5
3616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3618 echo $ECHO_N "(cached) $ECHO_C" >&6
3620 eval "$as_ac_Header=\$ac_header_preproc"
3622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3627 cat >>confdefs.h
<<_ACEOF
3628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3636 for ac_header
in libunwind-ia64.h
3638 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3640 echo "$as_me:$LINENO: checking for $ac_header" >&5
3641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3643 echo $ECHO_N "(cached) $ECHO_C" >&6
3645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3648 # Is the header compilable?
3649 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3651 cat >conftest.
$ac_ext <<_ACEOF
3654 cat confdefs.h
>>conftest.
$ac_ext
3655 cat >>conftest.
$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3657 $ac_includes_default
3658 #include <$ac_header>
3660 rm -f conftest.
$ac_objext
3661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3662 (eval $ac_compile) 2>conftest.er1
3664 grep -v '^ *+' conftest.er1
>conftest.err
3666 cat conftest.err
>&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); } &&
3669 { ac_try
='test -z "$ac_c_werror_flag"
3670 || test ! -s conftest.err'
3671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); }; } &&
3676 { ac_try
='test -s conftest.$ac_objext'
3677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); }; }; then
3682 ac_header_compiler
=yes
3684 echo "$as_me: failed program was:" >&5
3685 sed 's/^/| /' conftest.
$ac_ext >&5
3687 ac_header_compiler
=no
3689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3690 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3691 echo "${ECHO_T}$ac_header_compiler" >&6
3693 # Is the header present?
3694 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3696 cat >conftest.
$ac_ext <<_ACEOF
3699 cat confdefs.h
>>conftest.
$ac_ext
3700 cat >>conftest.
$ac_ext <<_ACEOF
3701 /* end confdefs.h. */
3702 #include <$ac_header>
3704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3705 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3707 grep -v '^ *+' conftest.er1
>conftest.err
3709 cat conftest.err
>&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); } >/dev
/null
; then
3712 if test -s conftest.err
; then
3713 ac_cpp_err
=$ac_c_preproc_warn_flag
3714 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3721 if test -z "$ac_cpp_err"; then
3722 ac_header_preproc
=yes
3724 echo "$as_me: failed program was:" >&5
3725 sed 's/^/| /' conftest.
$ac_ext >&5
3727 ac_header_preproc
=no
3729 rm -f conftest.err conftest.
$ac_ext
3730 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3731 echo "${ECHO_T}$ac_header_preproc" >&6
3733 # So? What about this header?
3734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3736 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3737 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3739 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3740 ac_header_preproc
=yes
3743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3747 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3748 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3749 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3750 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3753 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3754 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3757 ## ------------------------------------------ ##
3758 ## Report this to the AC_PACKAGE_NAME lists. ##
3759 ## ------------------------------------------ ##
3762 sed "s/^/$as_me: WARNING: /" >&2
3765 echo "$as_me:$LINENO: checking for $ac_header" >&5
3766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 eval "$as_ac_Header=\$ac_header_preproc"
3772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3777 cat >>confdefs.h
<<_ACEOF
3778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3785 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
3786 enable_libunwind
=yes;
3791 if test x
"$enable_libunwind" = xyes
; then
3793 for ac_header
in libunwind.h
3795 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3797 echo "$as_me:$LINENO: checking for $ac_header" >&5
3798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3805 # Is the header compilable?
3806 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3808 cat >conftest.
$ac_ext <<_ACEOF
3811 cat confdefs.h
>>conftest.
$ac_ext
3812 cat >>conftest.
$ac_ext <<_ACEOF
3813 /* end confdefs.h. */
3814 $ac_includes_default
3815 #include <$ac_header>
3817 rm -f conftest.
$ac_objext
3818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3819 (eval $ac_compile) 2>conftest.er1
3821 grep -v '^ *+' conftest.er1
>conftest.err
3823 cat conftest.err
>&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); } &&
3826 { ac_try
='test -z "$ac_c_werror_flag"
3827 || test ! -s conftest.err'
3828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); }; } &&
3833 { ac_try
='test -s conftest.$ac_objext'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; }; then
3839 ac_header_compiler
=yes
3841 echo "$as_me: failed program was:" >&5
3842 sed 's/^/| /' conftest.
$ac_ext >&5
3844 ac_header_compiler
=no
3846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3848 echo "${ECHO_T}$ac_header_compiler" >&6
3850 # Is the header present?
3851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3853 cat >conftest.
$ac_ext <<_ACEOF
3856 cat confdefs.h
>>conftest.
$ac_ext
3857 cat >>conftest.
$ac_ext <<_ACEOF
3858 /* end confdefs.h. */
3859 #include <$ac_header>
3861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3862 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3864 grep -v '^ *+' conftest.er1
>conftest.err
3866 cat conftest.err
>&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); } >/dev
/null
; then
3869 if test -s conftest.err
; then
3870 ac_cpp_err
=$ac_c_preproc_warn_flag
3871 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3878 if test -z "$ac_cpp_err"; then
3879 ac_header_preproc
=yes
3881 echo "$as_me: failed program was:" >&5
3882 sed 's/^/| /' conftest.
$ac_ext >&5
3884 ac_header_preproc
=no
3886 rm -f conftest.err conftest.
$ac_ext
3887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3888 echo "${ECHO_T}$ac_header_preproc" >&6
3890 # So? What about this header?
3891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3897 ac_header_preproc
=yes
3900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3914 ## ------------------------------------------ ##
3915 ## Report this to the AC_PACKAGE_NAME lists. ##
3916 ## ------------------------------------------ ##
3919 sed "s/^/$as_me: WARNING: /" >&2
3922 echo "$as_me:$LINENO: checking for $ac_header" >&5
3923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 eval "$as_ac_Header=\$ac_header_preproc"
3929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3934 cat >>confdefs.h
<<_ACEOF
3935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3943 for ac_header
in libunwind-ia64.h
3945 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3947 echo "$as_me:$LINENO: checking for $ac_header" >&5
3948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3955 # Is the header compilable?
3956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3958 cat >conftest.
$ac_ext <<_ACEOF
3961 cat confdefs.h
>>conftest.
$ac_ext
3962 cat >>conftest.
$ac_ext <<_ACEOF
3963 /* end confdefs.h. */
3964 $ac_includes_default
3965 #include <$ac_header>
3967 rm -f conftest.
$ac_objext
3968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3969 (eval $ac_compile) 2>conftest.er1
3971 grep -v '^ *+' conftest.er1
>conftest.err
3973 cat conftest.err
>&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); } &&
3976 { ac_try
='test -z "$ac_c_werror_flag"
3977 || test ! -s conftest.err'
3978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); }; } &&
3983 { ac_try
='test -s conftest.$ac_objext'
3984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); }; }; then
3989 ac_header_compiler
=yes
3991 echo "$as_me: failed program was:" >&5
3992 sed 's/^/| /' conftest.
$ac_ext >&5
3994 ac_header_compiler
=no
3996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3998 echo "${ECHO_T}$ac_header_compiler" >&6
4000 # Is the header present?
4001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4003 cat >conftest.
$ac_ext <<_ACEOF
4006 cat confdefs.h
>>conftest.
$ac_ext
4007 cat >>conftest.
$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4009 #include <$ac_header>
4011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4012 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4014 grep -v '^ *+' conftest.er1
>conftest.err
4016 cat conftest.err
>&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); } >/dev
/null
; then
4019 if test -s conftest.err
; then
4020 ac_cpp_err
=$ac_c_preproc_warn_flag
4021 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4028 if test -z "$ac_cpp_err"; then
4029 ac_header_preproc
=yes
4031 echo "$as_me: failed program was:" >&5
4032 sed 's/^/| /' conftest.
$ac_ext >&5
4034 ac_header_preproc
=no
4036 rm -f conftest.err conftest.
$ac_ext
4037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4038 echo "${ECHO_T}$ac_header_preproc" >&6
4040 # So? What about this header?
4041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4047 ac_header_preproc
=yes
4050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4064 ## ------------------------------------------ ##
4065 ## Report this to the AC_PACKAGE_NAME lists. ##
4066 ## ------------------------------------------ ##
4069 sed "s/^/$as_me: WARNING: /" >&2
4072 echo "$as_me:$LINENO: checking for $ac_header" >&5
4073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4077 eval "$as_ac_Header=\$ac_header_preproc"
4079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4084 cat >>confdefs.h
<<_ACEOF
4085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4093 cat >>confdefs.h
<<\_ACEOF
4094 #define HAVE_LIBUNWIND 1
4097 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
4098 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
4099 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
4102 # Profiling support.
4103 # Check whether --enable-profiling or --disable-profiling was given.
4104 if test "${enable_profiling+set}" = set; then
4105 enableval
="$enable_profiling"
4110 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
4111 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
4112 { (exit 1); exit 1; }; } ;;
4120 for ac_func
in monstartup _mcleanup
4122 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4123 echo "$as_me:$LINENO: checking for $ac_func" >&5
4124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4125 if eval "test \"\${$as_ac_var+set}\" = set"; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 cat >conftest.
$ac_ext <<_ACEOF
4131 cat confdefs.h
>>conftest.
$ac_ext
4132 cat >>conftest.
$ac_ext <<_ACEOF
4133 /* end confdefs.h. */
4134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4136 #define $ac_func innocuous_$ac_func
4138 /* System header to define __stub macros and hopefully few prototypes,
4139 which can conflict with char $ac_func (); below.
4140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4141 <limits.h> exists even on freestanding compilers. */
4144 # include <limits.h>
4146 # include <assert.h>
4151 /* Override any gcc2 internal prototype to avoid an error. */
4156 /* We use char because int might match the return type of a gcc2
4157 builtin and then its argument prototype would still apply. */
4159 /* The GNU C library defines this for functions which it implements
4160 to always fail with ENOSYS. Some functions are actually named
4161 something starting with __ and the normal name is an alias. */
4162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4165 char (*f) () = $ac_func;
4174 return f != $ac_func;
4179 rm -f conftest.
$ac_objext conftest
$ac_exeext
4180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4181 (eval $ac_link) 2>conftest.er1
4183 grep -v '^ *+' conftest.er1
>conftest.err
4185 cat conftest.err
>&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); } &&
4188 { ac_try
='test -z "$ac_c_werror_flag"
4189 || test ! -s conftest.err'
4190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; } &&
4195 { ac_try
='test -s conftest$ac_exeext'
4196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); }; }; then
4201 eval "$as_ac_var=yes"
4203 echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.
$ac_ext >&5
4206 eval "$as_ac_var=no"
4208 rm -f conftest.err conftest.
$ac_objext \
4209 conftest
$ac_exeext conftest.
$ac_ext
4211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4213 if test `eval echo '${'$as_ac_var'}'` = yes; then
4214 cat >>confdefs.h
<<_ACEOF
4215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4221 echo "$as_me:$LINENO: checking for _etext" >&5
4222 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
4223 if test "${ac_cv_var__etext+set}" = set; then
4224 echo $ECHO_N "(cached) $ECHO_C" >&6
4226 cat >conftest.
$ac_ext <<_ACEOF
4229 cat confdefs.h
>>conftest.
$ac_ext
4230 cat >>conftest.
$ac_ext <<_ACEOF
4231 /* end confdefs.h. */
4243 rm -f conftest.
$ac_objext conftest
$ac_exeext
4244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4245 (eval $ac_link) 2>conftest.er1
4247 grep -v '^ *+' conftest.er1
>conftest.err
4249 cat conftest.err
>&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } &&
4252 { ac_try
='test -z "$ac_c_werror_flag"
4253 || test ! -s conftest.err'
4254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); }; } &&
4259 { ac_try
='test -s conftest$ac_exeext'
4260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); }; }; then
4265 ac_cv_var__etext
=yes
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.
$ac_ext >&5
4272 rm -f conftest.err conftest.
$ac_objext \
4273 conftest
$ac_exeext conftest.
$ac_ext
4275 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
4276 echo "${ECHO_T}$ac_cv_var__etext" >&6
4277 if test $ac_cv_var__etext = yes; then
4279 cat >>confdefs.h
<<\_ACEOF
4280 #define HAVE__ETEXT 1
4284 echo "$as_me:$LINENO: checking for etext" >&5
4285 echo $ECHO_N "checking for etext... $ECHO_C" >&6
4286 if test "${ac_cv_var_etext+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 cat >conftest.
$ac_ext <<_ACEOF
4292 cat confdefs.h
>>conftest.
$ac_ext
4293 cat >>conftest.
$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4306 rm -f conftest.
$ac_objext conftest
$ac_exeext
4307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4308 (eval $ac_link) 2>conftest.er1
4310 grep -v '^ *+' conftest.er1
>conftest.err
4312 cat conftest.err
>&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); } &&
4315 { ac_try
='test -z "$ac_c_werror_flag"
4316 || test ! -s conftest.err'
4317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4321 (exit $ac_status); }; } &&
4322 { ac_try
='test -s conftest$ac_exeext'
4323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); }; }; then
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.
$ac_ext >&5
4335 rm -f conftest.err conftest.
$ac_objext \
4336 conftest
$ac_exeext conftest.
$ac_ext
4338 echo "$as_me:$LINENO: result: $ac_cv_var_etext" >&5
4339 echo "${ECHO_T}$ac_cv_var_etext" >&6
4340 if test $ac_cv_var_etext = yes; then
4342 cat >>confdefs.h
<<\_ACEOF
4343 #define HAVE_ETEXT 1
4347 if test "$enable_profiling" = yes ; then
4348 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
4349 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
4350 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
4351 { (exit 1); exit 1; }; }
4354 OLD_CFLAGS
="$CFLAGS"
4355 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
4357 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
4358 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
4359 if test "${ac_cv_cc_supports_pg+set}" = set; then
4360 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 cat >conftest.
$ac_ext <<_ACEOF
4365 cat confdefs.h
>>conftest.
$ac_ext
4366 cat >>conftest.
$ac_ext <<_ACEOF
4367 /* end confdefs.h. */
4377 rm -f conftest.
$ac_objext
4378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4379 (eval $ac_compile) 2>conftest.er1
4381 grep -v '^ *+' conftest.er1
>conftest.err
4383 cat conftest.err
>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } &&
4386 { ac_try
='test -z "$ac_c_werror_flag"
4387 || test ! -s conftest.err'
4388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; } &&
4393 { ac_try
='test -s conftest.$ac_objext'
4394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; }; then
4399 ac_cv_cc_supports_pg
=yes
4401 echo "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.
$ac_ext >&5
4404 ac_cv_cc_supports_pg
=no
4406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4408 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
4409 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
4411 if test $ac_cv_cc_supports_pg = no
; then
4412 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
4413 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
4414 { (exit 1); exit 1; }; }
4417 CFLAGS
="$OLD_CFLAGS"
4420 # --------------------- #
4421 # Checks for programs. #
4422 # --------------------- #
4424 for ac_prog
in gawk mawk nawk
awk
4426 # Extract the first word of "$ac_prog", so it can be a program name with args.
4427 set dummy
$ac_prog; ac_word
=$2
4428 echo "$as_me:$LINENO: checking for $ac_word" >&5
4429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4430 if test "${ac_cv_prog_AWK+set}" = set; then
4431 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 if test -n "$AWK"; then
4434 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4440 test -z "$as_dir" && as_dir
=.
4441 for ac_exec_ext
in '' $ac_executable_extensions; do
4442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4443 ac_cv_prog_AWK
="$ac_prog"
4444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 if test -n "$AWK"; then
4454 echo "$as_me:$LINENO: result: $AWK" >&5
4455 echo "${ECHO_T}$AWK" >&6
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4461 test -n "$AWK" && break
4464 # Find a good install program. We prefer a C program (faster),
4465 # so one script is as good as another. But avoid the broken or
4466 # incompatible versions:
4467 # SysV /etc/install, /usr/sbin/install
4468 # SunOS /usr/etc/install
4469 # IRIX /sbin/install
4471 # AmigaOS /C/install, which installs bootblocks on floppy discs
4472 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4473 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4474 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4475 # OS/2's system install, which has a completely different semantic
4476 # ./install, which can be erroneously created by make from ./install.sh.
4477 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4478 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4479 if test -z "$INSTALL"; then
4480 if test "${ac_cv_path_install+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4487 test -z "$as_dir" && as_dir
=.
4488 # Account for people who put trailing slashes in PATH elements.
4490 .
/ | .
// |
/cC
/* | \
4491 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4492 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4495 # OSF1 and SCO ODT 3.0 have their own names for install.
4496 # Don't use installbsd from OSF since it installs stuff as root
4498 for ac_prog
in ginstall scoinst
install; do
4499 for ac_exec_ext
in '' $ac_executable_extensions; do
4500 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4501 if test $ac_prog = install &&
4502 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4503 # AIX install. It has an incompatible calling convention.
4505 elif test $ac_prog = install &&
4506 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4507 # program-specific install script used by HP pwplus--don't use.
4510 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4522 if test "${ac_cv_path_install+set}" = set; then
4523 INSTALL
=$ac_cv_path_install
4525 # As a last resort, use the slow shell script. We don't cache a
4526 # path for INSTALL within a source directory, because that will
4527 # break other packages using the cache if that directory is
4528 # removed, or if the path is relative.
4529 INSTALL
=$ac_install_sh
4532 echo "$as_me:$LINENO: result: $INSTALL" >&5
4533 echo "${ECHO_T}$INSTALL" >&6
4535 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4536 # It thinks the first close brace ends the variable substitution.
4537 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4539 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4541 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4543 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4544 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4546 if test "$LN_S" = "ln -s"; then
4547 echo "$as_me:$LINENO: result: yes" >&5
4548 echo "${ECHO_T}yes" >&6
4550 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4551 echo "${ECHO_T}no, using $LN_S" >&6
4554 if test -n "$ac_tool_prefix"; then
4555 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4556 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4557 echo "$as_me:$LINENO: checking for $ac_word" >&5
4558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4559 if test "${ac_cv_prog_RANLIB+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4562 if test -n "$RANLIB"; then
4563 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4569 test -z "$as_dir" && as_dir
=.
4570 for ac_exec_ext
in '' $ac_executable_extensions; do
4571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4572 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 RANLIB
=$ac_cv_prog_RANLIB
4582 if test -n "$RANLIB"; then
4583 echo "$as_me:$LINENO: result: $RANLIB" >&5
4584 echo "${ECHO_T}$RANLIB" >&6
4586 echo "$as_me:$LINENO: result: no" >&5
4587 echo "${ECHO_T}no" >&6
4591 if test -z "$ac_cv_prog_RANLIB"; then
4592 ac_ct_RANLIB
=$RANLIB
4593 # Extract the first word of "ranlib", so it can be a program name with args.
4594 set dummy ranlib
; ac_word
=$2
4595 echo "$as_me:$LINENO: checking for $ac_word" >&5
4596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4597 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4598 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 if test -n "$ac_ct_RANLIB"; then
4601 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4607 test -z "$as_dir" && as_dir
=.
4608 for ac_exec_ext
in '' $ac_executable_extensions; do
4609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4620 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4621 if test -n "$ac_ct_RANLIB"; then
4622 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4623 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4629 RANLIB
=$ac_ct_RANLIB
4631 RANLIB
="$ac_cv_prog_RANLIB"
4634 for ac_prog
in 'bison -y' byacc
4636 # Extract the first word of "$ac_prog", so it can be a program name with args.
4637 set dummy
$ac_prog; ac_word
=$2
4638 echo "$as_me:$LINENO: checking for $ac_word" >&5
4639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4640 if test "${ac_cv_prog_YACC+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 if test -n "$YACC"; then
4644 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4650 test -z "$as_dir" && as_dir
=.
4651 for ac_exec_ext
in '' $ac_executable_extensions; do
4652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4653 ac_cv_prog_YACC
="$ac_prog"
4654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 YACC
=$ac_cv_prog_YACC
4663 if test -n "$YACC"; then
4664 echo "$as_me:$LINENO: result: $YACC" >&5
4665 echo "${ECHO_T}$YACC" >&6
4667 echo "$as_me:$LINENO: result: no" >&5
4668 echo "${ECHO_T}no" >&6
4671 test -n "$YACC" && break
4673 test -n "$YACC" || YACC
="yacc"
4676 if test -n "$ac_tool_prefix"; then
4677 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4678 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4679 echo "$as_me:$LINENO: checking for $ac_word" >&5
4680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4681 if test "${ac_cv_prog_AR+set}" = set; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 if test -n "$AR"; then
4685 ac_cv_prog_AR
="$AR" # Let the user override the test.
4687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4691 test -z "$as_dir" && as_dir
=.
4692 for ac_exec_ext
in '' $ac_executable_extensions; do
4693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4694 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4704 if test -n "$AR"; then
4705 echo "$as_me:$LINENO: result: $AR" >&5
4706 echo "${ECHO_T}$AR" >&6
4708 echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4713 if test -z "$ac_cv_prog_AR"; then
4715 # Extract the first word of "ar", so it can be a program name with args.
4716 set dummy
ar; ac_word
=$2
4717 echo "$as_me:$LINENO: checking for $ac_word" >&5
4718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4719 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 if test -n "$ac_ct_AR"; then
4723 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4729 test -z "$as_dir" && as_dir
=.
4730 for ac_exec_ext
in '' $ac_executable_extensions; do
4731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4732 ac_cv_prog_ac_ct_AR
="ar"
4733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4741 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4742 if test -n "$ac_ct_AR"; then
4743 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4744 echo "${ECHO_T}$ac_ct_AR" >&6
4746 echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6
4755 if test -n "$ac_tool_prefix"; then
4756 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4757 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4758 echo "$as_me:$LINENO: checking for $ac_word" >&5
4759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4760 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 if test -n "$DLLTOOL"; then
4764 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4770 test -z "$as_dir" && as_dir
=.
4771 for ac_exec_ext
in '' $ac_executable_extensions; do
4772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4782 DLLTOOL
=$ac_cv_prog_DLLTOOL
4783 if test -n "$DLLTOOL"; then
4784 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4785 echo "${ECHO_T}$DLLTOOL" >&6
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4792 if test -z "$ac_cv_prog_DLLTOOL"; then
4793 ac_ct_DLLTOOL
=$DLLTOOL
4794 # Extract the first word of "dlltool", so it can be a program name with args.
4795 set dummy dlltool
; ac_word
=$2
4796 echo "$as_me:$LINENO: checking for $ac_word" >&5
4797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4798 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4799 echo $ECHO_N "(cached) $ECHO_C" >&6
4801 if test -n "$ac_ct_DLLTOOL"; then
4802 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4811 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4821 if test -n "$ac_ct_DLLTOOL"; then
4822 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4823 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4825 echo "$as_me:$LINENO: result: no" >&5
4826 echo "${ECHO_T}no" >&6
4829 DLLTOOL
=$ac_ct_DLLTOOL
4831 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4834 if test -n "$ac_tool_prefix"; then
4835 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4836 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4837 echo "$as_me:$LINENO: checking for $ac_word" >&5
4838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4839 if test "${ac_cv_prog_WINDRES+set}" = set; then
4840 echo $ECHO_N "(cached) $ECHO_C" >&6
4842 if test -n "$WINDRES"; then
4843 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4849 test -z "$as_dir" && as_dir
=.
4850 for ac_exec_ext
in '' $ac_executable_extensions; do
4851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4852 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4861 WINDRES
=$ac_cv_prog_WINDRES
4862 if test -n "$WINDRES"; then
4863 echo "$as_me:$LINENO: result: $WINDRES" >&5
4864 echo "${ECHO_T}$WINDRES" >&6
4866 echo "$as_me:$LINENO: result: no" >&5
4867 echo "${ECHO_T}no" >&6
4871 if test -z "$ac_cv_prog_WINDRES"; then
4872 ac_ct_WINDRES
=$WINDRES
4873 # Extract the first word of "windres", so it can be a program name with args.
4874 set dummy windres
; ac_word
=$2
4875 echo "$as_me:$LINENO: checking for $ac_word" >&5
4876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4877 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 if test -n "$ac_ct_WINDRES"; then
4881 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4887 test -z "$as_dir" && as_dir
=.
4888 for ac_exec_ext
in '' $ac_executable_extensions; do
4889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4890 ac_cv_prog_ac_ct_WINDRES
="windres"
4891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4900 if test -n "$ac_ct_WINDRES"; then
4901 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4902 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4904 echo "$as_me:$LINENO: result: no" >&5
4905 echo "${ECHO_T}no" >&6
4908 WINDRES
=$ac_ct_WINDRES
4910 WINDRES
="$ac_cv_prog_WINDRES"
4914 # Needed for GNU/Hurd.
4915 if test -n "$ac_tool_prefix"; then
4916 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
4917 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
4918 echo "$as_me:$LINENO: checking for $ac_word" >&5
4919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4920 if test "${ac_cv_prog_MIG+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 if test -n "$MIG"; then
4924 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
4926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir
=.
4931 for ac_exec_ext
in '' $ac_executable_extensions; do
4932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
4934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 if test -n "$MIG"; then
4944 echo "$as_me:$LINENO: result: $MIG" >&5
4945 echo "${ECHO_T}$MIG" >&6
4947 echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6
4952 if test -z "$ac_cv_prog_MIG"; then
4954 # Extract the first word of "mig", so it can be a program name with args.
4955 set dummy mig
; ac_word
=$2
4956 echo "$as_me:$LINENO: checking for $ac_word" >&5
4957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4958 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
4959 echo $ECHO_N "(cached) $ECHO_C" >&6
4961 if test -n "$ac_ct_MIG"; then
4962 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
4964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4968 test -z "$as_dir" && as_dir
=.
4969 for ac_exec_ext
in '' $ac_executable_extensions; do
4970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4971 ac_cv_prog_ac_ct_MIG
="mig"
4972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
4981 if test -n "$ac_ct_MIG"; then
4982 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
4983 echo "${ECHO_T}$ac_ct_MIG" >&6
4985 echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6
4991 MIG
="$ac_cv_prog_MIG"
4995 # ---------------------- #
4996 # Checks for libraries. #
4997 # ---------------------- #
4999 # We might need to link with -lm; most simulators need it.
5001 echo "$as_me:$LINENO: checking for main in -lm" >&5
5002 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
5003 if test "${ac_cv_lib_m_main+set}" = set; then
5004 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 ac_check_lib_save_LIBS
=$LIBS
5008 cat >conftest.
$ac_ext <<_ACEOF
5011 cat confdefs.h
>>conftest.
$ac_ext
5012 cat >>conftest.
$ac_ext <<_ACEOF
5013 /* end confdefs.h. */
5024 rm -f conftest.
$ac_objext conftest
$ac_exeext
5025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5026 (eval $ac_link) 2>conftest.er1
5028 grep -v '^ *+' conftest.er1
>conftest.err
5030 cat conftest.err
>&5
5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); } &&
5033 { ac_try
='test -z "$ac_c_werror_flag"
5034 || test ! -s conftest.err'
5035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); }; } &&
5040 { ac_try
='test -s conftest$ac_exeext'
5041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; }; then
5046 ac_cv_lib_m_main
=yes
5048 echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.
$ac_ext >&5
5053 rm -f conftest.err conftest.
$ac_objext \
5054 conftest
$ac_exeext conftest.
$ac_ext
5055 LIBS
=$ac_check_lib_save_LIBS
5057 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
5058 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
5059 if test $ac_cv_lib_m_main = yes; then
5060 cat >>confdefs.h
<<_ACEOF
5069 # We need to link with -lw to get `wctype' on Solaris before Solaris
5070 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
5071 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
5072 # is known to have this problem). Therefore we avoid libw if we can.
5073 echo "$as_me:$LINENO: checking for wctype" >&5
5074 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
5075 if test "${ac_cv_func_wctype+set}" = set; then
5076 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 cat >conftest.
$ac_ext <<_ACEOF
5081 cat confdefs.h
>>conftest.
$ac_ext
5082 cat >>conftest.
$ac_ext <<_ACEOF
5083 /* end confdefs.h. */
5084 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
5085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5086 #define wctype innocuous_wctype
5088 /* System header to define __stub macros and hopefully few prototypes,
5089 which can conflict with char wctype (); below.
5090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5091 <limits.h> exists even on freestanding compilers. */
5094 # include <limits.h>
5096 # include <assert.h>
5101 /* Override any gcc2 internal prototype to avoid an error. */
5106 /* We use char because int might match the return type of a gcc2
5107 builtin and then its argument prototype would still apply. */
5109 /* The GNU C library defines this for functions which it implements
5110 to always fail with ENOSYS. Some functions are actually named
5111 something starting with __ and the normal name is an alias. */
5112 #if defined (__stub_wctype) || defined (__stub___wctype)
5115 char (*f) () = wctype;
5129 rm -f conftest.
$ac_objext conftest
$ac_exeext
5130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5131 (eval $ac_link) 2>conftest.er1
5133 grep -v '^ *+' conftest.er1
>conftest.err
5135 cat conftest.err
>&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } &&
5138 { ac_try
='test -z "$ac_c_werror_flag"
5139 || test ! -s conftest.err'
5140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); }; } &&
5145 { ac_try
='test -s conftest$ac_exeext'
5146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); }; }; then
5151 ac_cv_func_wctype
=yes
5153 echo "$as_me: failed program was:" >&5
5154 sed 's/^/| /' conftest.
$ac_ext >&5
5156 ac_cv_func_wctype
=no
5158 rm -f conftest.err conftest.
$ac_objext \
5159 conftest
$ac_exeext conftest.
$ac_ext
5161 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
5162 echo "${ECHO_T}$ac_cv_func_wctype" >&6
5163 if test $ac_cv_func_wctype = yes; then
5167 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
5168 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
5169 if test "${ac_cv_lib_w_wctype+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 ac_check_lib_save_LIBS
=$LIBS
5174 cat >conftest.
$ac_ext <<_ACEOF
5177 cat confdefs.h
>>conftest.
$ac_ext
5178 cat >>conftest.
$ac_ext <<_ACEOF
5179 /* end confdefs.h. */
5181 /* Override any gcc2 internal prototype to avoid an error. */
5185 /* We use char because int might match the return type of a gcc2
5186 builtin and then its argument prototype would still apply. */
5196 rm -f conftest.
$ac_objext conftest
$ac_exeext
5197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5198 (eval $ac_link) 2>conftest.er1
5200 grep -v '^ *+' conftest.er1
>conftest.err
5202 cat conftest.err
>&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); } &&
5205 { ac_try
='test -z "$ac_c_werror_flag"
5206 || test ! -s conftest.err'
5207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); }; } &&
5212 { ac_try
='test -s conftest$ac_exeext'
5213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); }; }; then
5218 ac_cv_lib_w_wctype
=yes
5220 echo "$as_me: failed program was:" >&5
5221 sed 's/^/| /' conftest.
$ac_ext >&5
5223 ac_cv_lib_w_wctype
=no
5225 rm -f conftest.err conftest.
$ac_objext \
5226 conftest
$ac_exeext conftest.
$ac_ext
5227 LIBS
=$ac_check_lib_save_LIBS
5229 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
5230 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
5231 if test $ac_cv_lib_w_wctype = yes; then
5232 cat >>confdefs.h
<<_ACEOF
5243 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
5244 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
5245 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
5246 if test "${ac_cv_search_gethostbyname+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 ac_func_search_save_LIBS
=$LIBS
5250 ac_cv_search_gethostbyname
=no
5251 cat >conftest.
$ac_ext <<_ACEOF
5254 cat confdefs.h
>>conftest.
$ac_ext
5255 cat >>conftest.
$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5258 /* Override any gcc2 internal prototype to avoid an error. */
5262 /* We use char because int might match the return type of a gcc2
5263 builtin and then its argument prototype would still apply. */
5264 char gethostbyname ();
5273 rm -f conftest.
$ac_objext conftest
$ac_exeext
5274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5275 (eval $ac_link) 2>conftest.er1
5277 grep -v '^ *+' conftest.er1
>conftest.err
5279 cat conftest.err
>&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } &&
5282 { ac_try
='test -z "$ac_c_werror_flag"
5283 || test ! -s conftest.err'
5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; } &&
5289 { ac_try
='test -s conftest$ac_exeext'
5290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); }; }; then
5295 ac_cv_search_gethostbyname
="none required"
5297 echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.
$ac_ext >&5
5301 rm -f conftest.err conftest.
$ac_objext \
5302 conftest
$ac_exeext conftest.
$ac_ext
5303 if test "$ac_cv_search_gethostbyname" = no
; then
5304 for ac_lib
in nsl
; do
5305 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5306 cat >conftest.
$ac_ext <<_ACEOF
5309 cat confdefs.h
>>conftest.
$ac_ext
5310 cat >>conftest.
$ac_ext <<_ACEOF
5311 /* end confdefs.h. */
5313 /* Override any gcc2 internal prototype to avoid an error. */
5317 /* We use char because int might match the return type of a gcc2
5318 builtin and then its argument prototype would still apply. */
5319 char gethostbyname ();
5328 rm -f conftest.
$ac_objext conftest
$ac_exeext
5329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5330 (eval $ac_link) 2>conftest.er1
5332 grep -v '^ *+' conftest.er1
>conftest.err
5334 cat conftest.err
>&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); } &&
5337 { ac_try
='test -z "$ac_c_werror_flag"
5338 || test ! -s conftest.err'
5339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); }; } &&
5344 { ac_try
='test -s conftest$ac_exeext'
5345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); }; }; then
5350 ac_cv_search_gethostbyname
="-l$ac_lib"
5353 echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.
$ac_ext >&5
5357 rm -f conftest.err conftest.
$ac_objext \
5358 conftest
$ac_exeext conftest.
$ac_ext
5361 LIBS
=$ac_func_search_save_LIBS
5363 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
5364 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
5365 if test "$ac_cv_search_gethostbyname" != no
; then
5366 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
5371 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
5372 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
5373 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
5374 if test "${ac_cv_search_socketpair+set}" = set; then
5375 echo $ECHO_N "(cached) $ECHO_C" >&6
5377 ac_func_search_save_LIBS
=$LIBS
5378 ac_cv_search_socketpair
=no
5379 cat >conftest.
$ac_ext <<_ACEOF
5382 cat confdefs.h
>>conftest.
$ac_ext
5383 cat >>conftest.
$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5386 /* Override any gcc2 internal prototype to avoid an error. */
5390 /* We use char because int might match the return type of a gcc2
5391 builtin and then its argument prototype would still apply. */
5401 rm -f conftest.
$ac_objext conftest
$ac_exeext
5402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5403 (eval $ac_link) 2>conftest.er1
5405 grep -v '^ *+' conftest.er1
>conftest.err
5407 cat conftest.err
>&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); } &&
5410 { ac_try
='test -z "$ac_c_werror_flag"
5411 || test ! -s conftest.err'
5412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); }; } &&
5417 { ac_try
='test -s conftest$ac_exeext'
5418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); }; }; then
5423 ac_cv_search_socketpair
="none required"
5425 echo "$as_me: failed program was:" >&5
5426 sed 's/^/| /' conftest.
$ac_ext >&5
5429 rm -f conftest.err conftest.
$ac_objext \
5430 conftest
$ac_exeext conftest.
$ac_ext
5431 if test "$ac_cv_search_socketpair" = no
; then
5432 for ac_lib
in socket
; do
5433 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5434 cat >conftest.
$ac_ext <<_ACEOF
5437 cat confdefs.h
>>conftest.
$ac_ext
5438 cat >>conftest.
$ac_ext <<_ACEOF
5439 /* end confdefs.h. */
5441 /* Override any gcc2 internal prototype to avoid an error. */
5445 /* We use char because int might match the return type of a gcc2
5446 builtin and then its argument prototype would still apply. */
5456 rm -f conftest.
$ac_objext conftest
$ac_exeext
5457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5458 (eval $ac_link) 2>conftest.er1
5460 grep -v '^ *+' conftest.er1
>conftest.err
5462 cat conftest.err
>&5
5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 (exit $ac_status); } &&
5465 { ac_try
='test -z "$ac_c_werror_flag"
5466 || test ! -s conftest.err'
5467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); }; } &&
5472 { ac_try
='test -s conftest$ac_exeext'
5473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); }; }; then
5478 ac_cv_search_socketpair
="-l$ac_lib"
5481 echo "$as_me: failed program was:" >&5
5482 sed 's/^/| /' conftest.
$ac_ext >&5
5485 rm -f conftest.err conftest.
$ac_objext \
5486 conftest
$ac_exeext conftest.
$ac_ext
5489 LIBS
=$ac_func_search_save_LIBS
5491 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
5492 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
5493 if test "$ac_cv_search_socketpair" != no
; then
5494 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
5499 # For the TUI, we need enhanced curses functionality.
5501 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
5502 # curses library because the latter might not provide all the
5503 # functionality we need. However, this leads to problems on systems
5504 # where the linker searches /usr/local/lib, but the compiler doesn't
5505 # search /usr/local/include, if ncurses is installed in /usr/local. A
5506 # default installation of ncurses on alpha*-dec-osf* will lead to such
5508 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
5509 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
5510 if test "${ac_cv_search_waddstr+set}" = set; then
5511 echo $ECHO_N "(cached) $ECHO_C" >&6
5513 ac_func_search_save_LIBS
=$LIBS
5514 ac_cv_search_waddstr
=no
5515 cat >conftest.
$ac_ext <<_ACEOF
5518 cat confdefs.h
>>conftest.
$ac_ext
5519 cat >>conftest.
$ac_ext <<_ACEOF
5520 /* end confdefs.h. */
5522 /* Override any gcc2 internal prototype to avoid an error. */
5526 /* We use char because int might match the return type of a gcc2
5527 builtin and then its argument prototype would still apply. */
5537 rm -f conftest.
$ac_objext conftest
$ac_exeext
5538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5539 (eval $ac_link) 2>conftest.er1
5541 grep -v '^ *+' conftest.er1
>conftest.err
5543 cat conftest.err
>&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); } &&
5546 { ac_try
='test -z "$ac_c_werror_flag"
5547 || test ! -s conftest.err'
5548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; } &&
5553 { ac_try
='test -s conftest$ac_exeext'
5554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; }; then
5559 ac_cv_search_waddstr
="none required"
5561 echo "$as_me: failed program was:" >&5
5562 sed 's/^/| /' conftest.
$ac_ext >&5
5565 rm -f conftest.err conftest.
$ac_objext \
5566 conftest
$ac_exeext conftest.
$ac_ext
5567 if test "$ac_cv_search_waddstr" = no
; then
5568 for ac_lib
in ncurses cursesX curses
; do
5569 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5570 cat >conftest.
$ac_ext <<_ACEOF
5573 cat confdefs.h
>>conftest.
$ac_ext
5574 cat >>conftest.
$ac_ext <<_ACEOF
5575 /* end confdefs.h. */
5577 /* Override any gcc2 internal prototype to avoid an error. */
5581 /* We use char because int might match the return type of a gcc2
5582 builtin and then its argument prototype would still apply. */
5592 rm -f conftest.
$ac_objext conftest
$ac_exeext
5593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5594 (eval $ac_link) 2>conftest.er1
5596 grep -v '^ *+' conftest.er1
>conftest.err
5598 cat conftest.err
>&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } &&
5601 { ac_try
='test -z "$ac_c_werror_flag"
5602 || test ! -s conftest.err'
5603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); }; } &&
5608 { ac_try
='test -s conftest$ac_exeext'
5609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); }; }; then
5614 ac_cv_search_waddstr
="-l$ac_lib"
5617 echo "$as_me: failed program was:" >&5
5618 sed 's/^/| /' conftest.
$ac_ext >&5
5621 rm -f conftest.err conftest.
$ac_objext \
5622 conftest
$ac_exeext conftest.
$ac_ext
5625 LIBS
=$ac_func_search_save_LIBS
5627 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
5628 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
5629 if test "$ac_cv_search_waddstr" != no
; then
5630 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
5635 # On HP/UX we may need libxpdl for dlgetmodinfo (used by solib-pa64.c).
5636 echo "$as_me:$LINENO: checking for library containing dlgetmodinfo" >&5
5637 echo $ECHO_N "checking for library containing dlgetmodinfo... $ECHO_C" >&6
5638 if test "${ac_cv_search_dlgetmodinfo+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 ac_func_search_save_LIBS
=$LIBS
5642 ac_cv_search_dlgetmodinfo
=no
5643 cat >conftest.
$ac_ext <<_ACEOF
5646 cat confdefs.h
>>conftest.
$ac_ext
5647 cat >>conftest.
$ac_ext <<_ACEOF
5648 /* end confdefs.h. */
5650 /* Override any gcc2 internal prototype to avoid an error. */
5654 /* We use char because int might match the return type of a gcc2
5655 builtin and then its argument prototype would still apply. */
5656 char dlgetmodinfo ();
5665 rm -f conftest.
$ac_objext conftest
$ac_exeext
5666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5667 (eval $ac_link) 2>conftest.er1
5669 grep -v '^ *+' conftest.er1
>conftest.err
5671 cat conftest.err
>&5
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); } &&
5674 { ac_try
='test -z "$ac_c_werror_flag"
5675 || test ! -s conftest.err'
5676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); }; } &&
5681 { ac_try
='test -s conftest$ac_exeext'
5682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 (exit $ac_status); }; }; then
5687 ac_cv_search_dlgetmodinfo
="none required"
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.
$ac_ext >&5
5693 rm -f conftest.err conftest.
$ac_objext \
5694 conftest
$ac_exeext conftest.
$ac_ext
5695 if test "$ac_cv_search_dlgetmodinfo" = no
; then
5696 for ac_lib
in dl xpdl
; do
5697 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5698 cat >conftest.
$ac_ext <<_ACEOF
5701 cat confdefs.h
>>conftest.
$ac_ext
5702 cat >>conftest.
$ac_ext <<_ACEOF
5703 /* end confdefs.h. */
5705 /* Override any gcc2 internal prototype to avoid an error. */
5709 /* We use char because int might match the return type of a gcc2
5710 builtin and then its argument prototype would still apply. */
5711 char dlgetmodinfo ();
5720 rm -f conftest.
$ac_objext conftest
$ac_exeext
5721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5722 (eval $ac_link) 2>conftest.er1
5724 grep -v '^ *+' conftest.er1
>conftest.err
5726 cat conftest.err
>&5
5727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728 (exit $ac_status); } &&
5729 { ac_try
='test -z "$ac_c_werror_flag"
5730 || test ! -s conftest.err'
5731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); }; } &&
5736 { ac_try
='test -s conftest$ac_exeext'
5737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; }; then
5742 ac_cv_search_dlgetmodinfo
="-l$ac_lib"
5745 echo "$as_me: failed program was:" >&5
5746 sed 's/^/| /' conftest.
$ac_ext >&5
5749 rm -f conftest.err conftest.
$ac_objext \
5750 conftest
$ac_exeext conftest.
$ac_ext
5753 LIBS
=$ac_func_search_save_LIBS
5755 echo "$as_me:$LINENO: result: $ac_cv_search_dlgetmodinfo" >&5
5756 echo "${ECHO_T}$ac_cv_search_dlgetmodinfo" >&6
5757 if test "$ac_cv_search_dlgetmodinfo" != no
; then
5758 test "$ac_cv_search_dlgetmodinfo" = "none required" || LIBS
="$ac_cv_search_dlgetmodinfo $LIBS"
5763 # Since GDB uses Readline, we need termcap functionality. In many
5764 # cases this will be provided by the curses library, but some systems
5765 # have a seperate termcap library, or no curses library at all.
5769 if test -d $srcdir/libtermcap
; then
5770 LIBS
="../libtermcap/libtermcap.a $LIBS"
5771 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
5774 ac_cv_search_tgetent
="none required"
5777 ac_cv_search_tgetent
="none required"
5778 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
5782 # These are the libraries checked by Readline.
5783 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
5784 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
5785 if test "${ac_cv_search_tgetent+set}" = set; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 ac_func_search_save_LIBS
=$LIBS
5789 ac_cv_search_tgetent
=no
5790 cat >conftest.
$ac_ext <<_ACEOF
5793 cat confdefs.h
>>conftest.
$ac_ext
5794 cat >>conftest.
$ac_ext <<_ACEOF
5795 /* end confdefs.h. */
5797 /* Override any gcc2 internal prototype to avoid an error. */
5801 /* We use char because int might match the return type of a gcc2
5802 builtin and then its argument prototype would still apply. */
5812 rm -f conftest.
$ac_objext conftest
$ac_exeext
5813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5814 (eval $ac_link) 2>conftest.er1
5816 grep -v '^ *+' conftest.er1
>conftest.err
5818 cat conftest.err
>&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); } &&
5821 { ac_try
='test -z "$ac_c_werror_flag"
5822 || test ! -s conftest.err'
5823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); }; } &&
5828 { ac_try
='test -s conftest$ac_exeext'
5829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); }; }; then
5834 ac_cv_search_tgetent
="none required"
5836 echo "$as_me: failed program was:" >&5
5837 sed 's/^/| /' conftest.
$ac_ext >&5
5840 rm -f conftest.err conftest.
$ac_objext \
5841 conftest
$ac_exeext conftest.
$ac_ext
5842 if test "$ac_cv_search_tgetent" = no
; then
5843 for ac_lib
in termcap tinfo curses ncurses
; do
5844 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5845 cat >conftest.
$ac_ext <<_ACEOF
5848 cat confdefs.h
>>conftest.
$ac_ext
5849 cat >>conftest.
$ac_ext <<_ACEOF
5850 /* end confdefs.h. */
5852 /* Override any gcc2 internal prototype to avoid an error. */
5856 /* We use char because int might match the return type of a gcc2
5857 builtin and then its argument prototype would still apply. */
5867 rm -f conftest.
$ac_objext conftest
$ac_exeext
5868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5869 (eval $ac_link) 2>conftest.er1
5871 grep -v '^ *+' conftest.er1
>conftest.err
5873 cat conftest.err
>&5
5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); } &&
5876 { ac_try
='test -z "$ac_c_werror_flag"
5877 || test ! -s conftest.err'
5878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); }; } &&
5883 { ac_try
='test -s conftest$ac_exeext'
5884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5888 (exit $ac_status); }; }; then
5889 ac_cv_search_tgetent
="-l$ac_lib"
5892 echo "$as_me: failed program was:" >&5
5893 sed 's/^/| /' conftest.
$ac_ext >&5
5896 rm -f conftest.err conftest.
$ac_objext \
5897 conftest
$ac_exeext conftest.
$ac_ext
5900 LIBS
=$ac_func_search_save_LIBS
5902 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
5903 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
5904 if test "$ac_cv_search_tgetent" != no
; then
5905 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
5910 if test "$ac_cv_search_tgetent" = no
; then
5911 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
5912 echo "$as_me: error: no termcap library found" >&2;}
5913 { (exit 1); exit 1; }; }
5917 # Check whether --with-system-readline or --without-system-readline was given.
5918 if test "${with_system_readline+set}" = set; then
5919 withval
="$with_system_readline"
5923 if test "$with_system_readline" = yes; then
5928 READLINE
='$(READLINE_DIR)/libreadline.a'
5929 READLINE_DEPS
='$(READLINE)'
5930 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
5937 # Check whether --with-expat or --without-expat was given.
5938 if test "${with_expat+set}" = set; then
5939 withval
="$with_expat"
5944 echo "$as_me:$LINENO: checking whether to use expat" >&5
5945 echo $ECHO_N "checking whether to use expat... $ECHO_C" >&6
5946 echo "$as_me:$LINENO: result: $with_expat" >&5
5947 echo "${ECHO_T}$with_expat" >&6
5949 if test "${with_expat}" = no
; then
5950 { echo "$as_me:$LINENO: WARNING: expat support disabled; some features may be unavailable." >&5
5951 echo "$as_me: WARNING: expat support disabled; some features may be unavailable." >&2;}
5955 if test "X$prefix" = "XNONE"; then
5956 acl_final_prefix
="$ac_default_prefix"
5958 acl_final_prefix
="$prefix"
5960 if test "X$exec_prefix" = "XNONE"; then
5961 acl_final_exec_prefix
='${prefix}'
5963 acl_final_exec_prefix
="$exec_prefix"
5965 acl_save_prefix
="$prefix"
5966 prefix
="$acl_final_prefix"
5967 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5968 prefix
="$acl_save_prefix"
5971 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5972 if test "${with_gnu_ld+set}" = set; then
5973 withval
="$with_gnu_ld"
5974 test "$withval" = no || with_gnu_ld
=yes
5978 # Prepare PATH_SEPARATOR.
5979 # The user is always right.
5980 if test "${PATH_SEPARATOR+set}" != set; then
5981 echo "#! /bin/sh" >conf$$.sh
5982 echo "exit 0" >>conf$$.sh
5984 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5992 if test "$GCC" = yes; then
5993 # Check if gcc -print-prog-name=ld gives a path.
5994 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5995 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5998 # gcc leaves a trailing carriage return which upsets mingw
5999 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6001 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6004 # Accept absolute paths.
6005 [\\/]* |
[A-Za-z
]:[\\/]*)
6006 re_direlt
='/[^/][^/]*/\.\./'
6007 # Canonicalize the path of ld
6008 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6009 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6010 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6012 test -z "$LD" && LD
="$ac_prog"
6015 # If it fails, then pretend we aren't using GCC.
6019 # If it is relative, then search for the first ld in PATH.
6023 elif test "$with_gnu_ld" = yes; then
6024 echo "$as_me:$LINENO: checking for GNU ld" >&5
6025 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6027 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6028 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6030 if test "${acl_cv_path_LD+set}" = set; then
6031 echo $ECHO_N "(cached) $ECHO_C" >&6
6033 if test -z "$LD"; then
6034 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6035 for ac_dir
in $PATH; do
6036 test -z "$ac_dir" && ac_dir
=.
6037 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6038 acl_cv_path_LD
="$ac_dir/$ac_prog"
6039 # Check to see if the program is GNU ld. I'd rather use --version,
6040 # but apparently some GNU ld's only accept -v.
6041 # Break only if it was the GNU/non-GNU ld that we prefer.
6042 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
6043 test "$with_gnu_ld" != no
&& break
6045 test "$with_gnu_ld" != yes && break
6051 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
6055 LD
="$acl_cv_path_LD"
6056 if test -n "$LD"; then
6057 echo "$as_me:$LINENO: result: $LD" >&5
6058 echo "${ECHO_T}$LD" >&6
6060 echo "$as_me:$LINENO: result: no" >&5
6061 echo "${ECHO_T}no" >&6
6063 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6064 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6065 { (exit 1); exit 1; }; }
6066 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6067 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6068 if test "${acl_cv_prog_gnu_ld+set}" = set; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6072 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
6073 acl_cv_prog_gnu_ld
=yes
6075 acl_cv_prog_gnu_ld
=no
6078 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
6079 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
6080 with_gnu_ld
=$acl_cv_prog_gnu_ld
6084 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
6085 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
6086 if test "${acl_cv_rpath+set}" = set; then
6087 echo $ECHO_N "(cached) $ECHO_C" >&6
6090 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
6091 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6097 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
6098 echo "${ECHO_T}$acl_cv_rpath" >&6
6100 libext
="$acl_cv_libext"
6101 shlibext
="$acl_cv_shlibext"
6102 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
6103 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
6104 hardcode_direct
="$acl_cv_hardcode_direct"
6105 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
6106 # Check whether --enable-rpath or --disable-rpath was given.
6107 if test "${enable_rpath+set}" = set; then
6108 enableval
="$enable_rpath"
6124 acl_save_prefix
="$prefix"
6125 prefix
="$acl_final_prefix"
6126 acl_save_exec_prefix
="$exec_prefix"
6127 exec_prefix
="$acl_final_exec_prefix"
6129 eval additional_includedir
=\"$includedir\"
6130 eval additional_libdir
=\"$libdir\"
6132 exec_prefix
="$acl_save_exec_prefix"
6133 prefix
="$acl_save_prefix"
6136 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
6137 if test "${with_libexpat_prefix+set}" = set; then
6138 withval
="$with_libexpat_prefix"
6140 if test "X$withval" = "Xno"; then
6143 if test "X$withval" = "X"; then
6145 acl_save_prefix
="$prefix"
6146 prefix
="$acl_final_prefix"
6147 acl_save_exec_prefix
="$exec_prefix"
6148 exec_prefix
="$acl_final_exec_prefix"
6150 eval additional_includedir
=\"$includedir\"
6151 eval additional_libdir
=\"$libdir\"
6153 exec_prefix
="$acl_save_exec_prefix"
6154 prefix
="$acl_save_prefix"
6157 additional_includedir
="$withval/include"
6158 additional_libdir
="$withval/lib"
6168 names_already_handled
=
6169 names_next_round
='expat '
6170 while test -n "$names_next_round"; do
6171 names_this_round
="$names_next_round"
6173 for name
in $names_this_round; do
6175 for n
in $names_already_handled; do
6176 if test "$n" = "$name"; then
6181 if test -z "$already_handled"; then
6182 names_already_handled
="$names_already_handled $name"
6183 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6184 eval value
=\"\
$HAVE_LIB$uppername\"
6185 if test -n "$value"; then
6186 if test "$value" = yes; then
6187 eval value
=\"\
$LIB$uppername\"
6188 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
6189 eval value
=\"\
$LTLIB$uppername\"
6190 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
6199 if test $use_additional = yes; then
6200 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6201 found_dir
="$additional_libdir"
6202 found_so
="$additional_libdir/lib$name.$shlibext"
6203 if test -f "$additional_libdir/lib$name.la"; then
6204 found_la
="$additional_libdir/lib$name.la"
6207 if test -f "$additional_libdir/lib$name.$libext"; then
6208 found_dir
="$additional_libdir"
6209 found_a
="$additional_libdir/lib$name.$libext"
6210 if test -f "$additional_libdir/lib$name.la"; then
6211 found_la
="$additional_libdir/lib$name.la"
6216 if test "X$found_dir" = "X"; then
6217 for x
in $LDFLAGS $LTLIBEXPAT; do
6219 acl_save_prefix
="$prefix"
6220 prefix
="$acl_final_prefix"
6221 acl_save_exec_prefix
="$exec_prefix"
6222 exec_prefix
="$acl_final_exec_prefix"
6224 exec_prefix
="$acl_save_exec_prefix"
6225 prefix
="$acl_save_prefix"
6229 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6230 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6232 found_so
="$dir/lib$name.$shlibext"
6233 if test -f "$dir/lib$name.la"; then
6234 found_la
="$dir/lib$name.la"
6237 if test -f "$dir/lib$name.$libext"; then
6239 found_a
="$dir/lib$name.$libext"
6240 if test -f "$dir/lib$name.la"; then
6241 found_la
="$dir/lib$name.la"
6247 if test "X$found_dir" != "X"; then
6252 if test "X$found_dir" != "X"; then
6253 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
6254 if test "X$found_so" != "X"; then
6255 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6256 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6259 for x
in $ltrpathdirs; do
6260 if test "X$x" = "X$found_dir"; then
6265 if test -z "$haveit"; then
6266 ltrpathdirs
="$ltrpathdirs $found_dir"
6268 if test "$hardcode_direct" = yes; then
6269 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6271 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6272 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6274 for x
in $rpathdirs; do
6275 if test "X$x" = "X$found_dir"; then
6280 if test -z "$haveit"; then
6281 rpathdirs
="$rpathdirs $found_dir"
6285 for x
in $LDFLAGS $LIBEXPAT; do
6287 acl_save_prefix
="$prefix"
6288 prefix
="$acl_final_prefix"
6289 acl_save_exec_prefix
="$exec_prefix"
6290 exec_prefix
="$acl_final_exec_prefix"
6292 exec_prefix
="$acl_save_exec_prefix"
6293 prefix
="$acl_save_prefix"
6295 if test "X$x" = "X-L$found_dir"; then
6300 if test -z "$haveit"; then
6301 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
6303 if test "$hardcode_minus_L" != no
; then
6304 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6306 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
6312 if test "X$found_a" != "X"; then
6313 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
6315 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
6318 additional_includedir
=
6319 case "$found_dir" in
6321 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6322 additional_includedir
="$basedir/include"
6325 if test "X$additional_includedir" != "X"; then
6326 if test "X$additional_includedir" != "X/usr/include"; then
6328 if test "X$additional_includedir" = "X/usr/local/include"; then
6329 if test -n "$GCC"; then
6331 linux
*) haveit
=yes;;
6335 if test -z "$haveit"; then
6336 for x
in $CPPFLAGS $INCEXPAT; do
6338 acl_save_prefix
="$prefix"
6339 prefix
="$acl_final_prefix"
6340 acl_save_exec_prefix
="$exec_prefix"
6341 exec_prefix
="$acl_final_exec_prefix"
6343 exec_prefix
="$acl_save_exec_prefix"
6344 prefix
="$acl_save_prefix"
6346 if test "X$x" = "X-I$additional_includedir"; then
6351 if test -z "$haveit"; then
6352 if test -d "$additional_includedir"; then
6353 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
6359 if test -n "$found_la"; then
6360 save_libdir
="$libdir"
6362 */* |
*\\*) .
"$found_la" ;;
6363 *) .
"./$found_la" ;;
6365 libdir
="$save_libdir"
6366 for dep
in $dependency_libs; do
6369 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6370 if test "X$additional_libdir" != "X/usr/lib"; then
6372 if test "X$additional_libdir" = "X/usr/local/lib"; then
6373 if test -n "$GCC"; then
6375 linux
*) haveit
=yes;;
6379 if test -z "$haveit"; then
6381 for x
in $LDFLAGS $LIBEXPAT; do
6383 acl_save_prefix
="$prefix"
6384 prefix
="$acl_final_prefix"
6385 acl_save_exec_prefix
="$exec_prefix"
6386 exec_prefix
="$acl_final_exec_prefix"
6388 exec_prefix
="$acl_save_exec_prefix"
6389 prefix
="$acl_save_prefix"
6391 if test "X$x" = "X-L$additional_libdir"; then
6396 if test -z "$haveit"; then
6397 if test -d "$additional_libdir"; then
6398 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
6402 for x
in $LDFLAGS $LTLIBEXPAT; do
6404 acl_save_prefix
="$prefix"
6405 prefix
="$acl_final_prefix"
6406 acl_save_exec_prefix
="$exec_prefix"
6407 exec_prefix
="$acl_final_exec_prefix"
6409 exec_prefix
="$acl_save_exec_prefix"
6410 prefix
="$acl_save_prefix"
6412 if test "X$x" = "X-L$additional_libdir"; then
6417 if test -z "$haveit"; then
6418 if test -d "$additional_libdir"; then
6419 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
6426 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6427 if test "$enable_rpath" != no
; then
6429 for x
in $rpathdirs; do
6430 if test "X$x" = "X$dir"; then
6435 if test -z "$haveit"; then
6436 rpathdirs
="$rpathdirs $dir"
6439 for x
in $ltrpathdirs; do
6440 if test "X$x" = "X$dir"; then
6445 if test -z "$haveit"; then
6446 ltrpathdirs
="$ltrpathdirs $dir"
6451 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6454 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6457 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
6458 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
6464 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
6465 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
6471 if test "X$rpathdirs" != "X"; then
6472 if test -n "$hardcode_libdir_separator"; then
6474 for found_dir
in $rpathdirs; do
6475 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6477 acl_save_libdir
="$libdir"
6479 eval flag
=\"$hardcode_libdir_flag_spec\"
6480 libdir
="$acl_save_libdir"
6481 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
6483 for found_dir
in $rpathdirs; do
6484 acl_save_libdir
="$libdir"
6486 eval flag
=\"$hardcode_libdir_flag_spec\"
6487 libdir
="$acl_save_libdir"
6488 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
6492 if test "X$ltrpathdirs" != "X"; then
6493 for found_dir
in $ltrpathdirs; do
6494 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
6499 ac_save_CPPFLAGS
="$CPPFLAGS"
6501 for element
in $INCEXPAT; do
6503 for x
in $CPPFLAGS; do
6505 acl_save_prefix
="$prefix"
6506 prefix
="$acl_final_prefix"
6507 acl_save_exec_prefix
="$exec_prefix"
6508 exec_prefix
="$acl_final_exec_prefix"
6510 exec_prefix
="$acl_save_exec_prefix"
6511 prefix
="$acl_save_prefix"
6513 if test "X$x" = "X$element"; then
6518 if test -z "$haveit"; then
6519 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6524 echo "$as_me:$LINENO: checking for libexpat" >&5
6525 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
6526 if test "${ac_cv_libexpat+set}" = set; then
6527 echo $ECHO_N "(cached) $ECHO_C" >&6
6530 ac_save_LIBS
="$LIBS"
6531 LIBS
="$LIBS $LIBEXPAT"
6532 cat >conftest.
$ac_ext <<_ACEOF
6535 cat confdefs.h
>>conftest.
$ac_ext
6536 cat >>conftest.
$ac_ext <<_ACEOF
6537 /* end confdefs.h. */
6542 XML_Parser p = XML_ParserCreate (0);
6547 rm -f conftest.
$ac_objext conftest
$ac_exeext
6548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6549 (eval $ac_link) 2>conftest.er1
6551 grep -v '^ *+' conftest.er1
>conftest.err
6553 cat conftest.err
>&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } &&
6556 { ac_try
='test -z "$ac_c_werror_flag"
6557 || test ! -s conftest.err'
6558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); }; } &&
6563 { ac_try
='test -s conftest$ac_exeext'
6564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); }; }; then
6571 echo "$as_me: failed program was:" >&5
6572 sed 's/^/| /' conftest.
$ac_ext >&5
6576 rm -f conftest.err conftest.
$ac_objext \
6577 conftest
$ac_exeext conftest.
$ac_ext
6578 LIBS
="$ac_save_LIBS"
6581 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
6582 echo "${ECHO_T}$ac_cv_libexpat" >&6
6583 if test "$ac_cv_libexpat" = yes; then
6586 cat >>confdefs.h
<<\_ACEOF
6587 #define HAVE_LIBEXPAT 1
6590 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
6591 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
6592 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
6593 echo "${ECHO_T}$LIBEXPAT" >&6
6596 CPPFLAGS
="$ac_save_CPPFLAGS"
6606 if test "$HAVE_LIBEXPAT" != yes; then
6607 if test "$with_expat" = yes; then
6608 { { echo "$as_me:$LINENO: error: expat is missing or unusable" >&5
6609 echo "$as_me: error: expat is missing or unusable" >&2;}
6610 { (exit 1); exit 1; }; }
6612 { echo "$as_me:$LINENO: WARNING: expat is missing or unusable; some features may be unavailable." >&5
6613 echo "$as_me: WARNING: expat is missing or unusable; some features may be unavailable." >&2;}
6617 LIBS
="$LIBS $LIBEXPAT"
6619 for ac_func
in XML_StopParser
6621 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6622 echo "$as_me:$LINENO: checking for $ac_func" >&5
6623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6624 if eval "test \"\${$as_ac_var+set}\" = set"; then
6625 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 cat >conftest.
$ac_ext <<_ACEOF
6630 cat confdefs.h
>>conftest.
$ac_ext
6631 cat >>conftest.
$ac_ext <<_ACEOF
6632 /* end confdefs.h. */
6633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6635 #define $ac_func innocuous_$ac_func
6637 /* System header to define __stub macros and hopefully few prototypes,
6638 which can conflict with char $ac_func (); below.
6639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6640 <limits.h> exists even on freestanding compilers. */
6643 # include <limits.h>
6645 # include <assert.h>
6650 /* Override any gcc2 internal prototype to avoid an error. */
6655 /* We use char because int might match the return type of a gcc2
6656 builtin and then its argument prototype would still apply. */
6658 /* The GNU C library defines this for functions which it implements
6659 to always fail with ENOSYS. Some functions are actually named
6660 something starting with __ and the normal name is an alias. */
6661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6664 char (*f) () = $ac_func;
6673 return f != $ac_func;
6678 rm -f conftest.
$ac_objext conftest
$ac_exeext
6679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6680 (eval $ac_link) 2>conftest.er1
6682 grep -v '^ *+' conftest.er1
>conftest.err
6684 cat conftest.err
>&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } &&
6687 { ac_try
='test -z "$ac_c_werror_flag"
6688 || test ! -s conftest.err'
6689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); }; } &&
6694 { ac_try
='test -s conftest$ac_exeext'
6695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); }; }; then
6700 eval "$as_ac_var=yes"
6702 echo "$as_me: failed program was:" >&5
6703 sed 's/^/| /' conftest.
$ac_ext >&5
6705 eval "$as_ac_var=no"
6707 rm -f conftest.err conftest.
$ac_objext \
6708 conftest
$ac_exeext conftest.
$ac_ext
6710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6712 if test `eval echo '${'$as_ac_var'}'` = yes; then
6713 cat >>confdefs.h
<<_ACEOF
6714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6724 # ------------------------- #
6725 # Checks for header files. #
6726 # ------------------------- #
6734 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6735 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6736 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6737 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6739 echo $ECHO_N "(cached) $ECHO_C" >&6
6741 cat >conftest.
$ac_ext <<_ACEOF
6744 cat confdefs.h
>>conftest.
$ac_ext
6745 cat >>conftest.
$ac_ext <<_ACEOF
6746 /* end confdefs.h. */
6747 #include <sys/types.h>
6759 rm -f conftest.
$ac_objext
6760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6761 (eval $ac_compile) 2>conftest.er1
6763 grep -v '^ *+' conftest.er1
>conftest.err
6765 cat conftest.err
>&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); } &&
6768 { ac_try
='test -z "$ac_c_werror_flag"
6769 || test ! -s conftest.err'
6770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); }; } &&
6775 { ac_try
='test -s conftest.$ac_objext'
6776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); }; }; then
6781 eval "$as_ac_Header=yes"
6783 echo "$as_me: failed program was:" >&5
6784 sed 's/^/| /' conftest.
$ac_ext >&5
6786 eval "$as_ac_Header=no"
6788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6793 cat >>confdefs.h
<<_ACEOF
6794 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6797 ac_header_dirent
=$ac_hdr; break
6801 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6802 if test $ac_header_dirent = dirent.h
; then
6803 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6804 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6805 if test "${ac_cv_search_opendir+set}" = set; then
6806 echo $ECHO_N "(cached) $ECHO_C" >&6
6808 ac_func_search_save_LIBS
=$LIBS
6809 ac_cv_search_opendir
=no
6810 cat >conftest.
$ac_ext <<_ACEOF
6813 cat confdefs.h
>>conftest.
$ac_ext
6814 cat >>conftest.
$ac_ext <<_ACEOF
6815 /* end confdefs.h. */
6817 /* Override any gcc2 internal prototype to avoid an error. */
6821 /* We use char because int might match the return type of a gcc2
6822 builtin and then its argument prototype would still apply. */
6832 rm -f conftest.
$ac_objext conftest
$ac_exeext
6833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6834 (eval $ac_link) 2>conftest.er1
6836 grep -v '^ *+' conftest.er1
>conftest.err
6838 cat conftest.err
>&5
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); } &&
6841 { ac_try
='test -z "$ac_c_werror_flag"
6842 || test ! -s conftest.err'
6843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); }; } &&
6848 { ac_try
='test -s conftest$ac_exeext'
6849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); }; }; then
6854 ac_cv_search_opendir
="none required"
6856 echo "$as_me: failed program was:" >&5
6857 sed 's/^/| /' conftest.
$ac_ext >&5
6860 rm -f conftest.err conftest.
$ac_objext \
6861 conftest
$ac_exeext conftest.
$ac_ext
6862 if test "$ac_cv_search_opendir" = no
; then
6863 for ac_lib
in dir
; do
6864 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6865 cat >conftest.
$ac_ext <<_ACEOF
6868 cat confdefs.h
>>conftest.
$ac_ext
6869 cat >>conftest.
$ac_ext <<_ACEOF
6870 /* end confdefs.h. */
6872 /* Override any gcc2 internal prototype to avoid an error. */
6876 /* We use char because int might match the return type of a gcc2
6877 builtin and then its argument prototype would still apply. */
6887 rm -f conftest.
$ac_objext conftest
$ac_exeext
6888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6889 (eval $ac_link) 2>conftest.er1
6891 grep -v '^ *+' conftest.er1
>conftest.err
6893 cat conftest.err
>&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } &&
6896 { ac_try
='test -z "$ac_c_werror_flag"
6897 || test ! -s conftest.err'
6898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); }; } &&
6903 { ac_try
='test -s conftest$ac_exeext'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; }; then
6909 ac_cv_search_opendir
="-l$ac_lib"
6912 echo "$as_me: failed program was:" >&5
6913 sed 's/^/| /' conftest.
$ac_ext >&5
6916 rm -f conftest.err conftest.
$ac_objext \
6917 conftest
$ac_exeext conftest.
$ac_ext
6920 LIBS
=$ac_func_search_save_LIBS
6922 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6923 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6924 if test "$ac_cv_search_opendir" != no
; then
6925 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6930 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6931 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6932 if test "${ac_cv_search_opendir+set}" = set; then
6933 echo $ECHO_N "(cached) $ECHO_C" >&6
6935 ac_func_search_save_LIBS
=$LIBS
6936 ac_cv_search_opendir
=no
6937 cat >conftest.
$ac_ext <<_ACEOF
6940 cat confdefs.h
>>conftest.
$ac_ext
6941 cat >>conftest.
$ac_ext <<_ACEOF
6942 /* end confdefs.h. */
6944 /* Override any gcc2 internal prototype to avoid an error. */
6948 /* We use char because int might match the return type of a gcc2
6949 builtin and then its argument prototype would still apply. */
6959 rm -f conftest.
$ac_objext conftest
$ac_exeext
6960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6961 (eval $ac_link) 2>conftest.er1
6963 grep -v '^ *+' conftest.er1
>conftest.err
6965 cat conftest.err
>&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); } &&
6968 { ac_try
='test -z "$ac_c_werror_flag"
6969 || test ! -s conftest.err'
6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; } &&
6975 { ac_try
='test -s conftest$ac_exeext'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; }; then
6981 ac_cv_search_opendir
="none required"
6983 echo "$as_me: failed program was:" >&5
6984 sed 's/^/| /' conftest.
$ac_ext >&5
6987 rm -f conftest.err conftest.
$ac_objext \
6988 conftest
$ac_exeext conftest.
$ac_ext
6989 if test "$ac_cv_search_opendir" = no
; then
6991 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6992 cat >conftest.
$ac_ext <<_ACEOF
6995 cat confdefs.h
>>conftest.
$ac_ext
6996 cat >>conftest.
$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6999 /* Override any gcc2 internal prototype to avoid an error. */
7003 /* We use char because int might match the return type of a gcc2
7004 builtin and then its argument prototype would still apply. */
7014 rm -f conftest.
$ac_objext conftest
$ac_exeext
7015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7016 (eval $ac_link) 2>conftest.er1
7018 grep -v '^ *+' conftest.er1
>conftest.err
7020 cat conftest.err
>&5
7021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022 (exit $ac_status); } &&
7023 { ac_try
='test -z "$ac_c_werror_flag"
7024 || test ! -s conftest.err'
7025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); }; } &&
7030 { ac_try
='test -s conftest$ac_exeext'
7031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035 (exit $ac_status); }; }; then
7036 ac_cv_search_opendir
="-l$ac_lib"
7039 echo "$as_me: failed program was:" >&5
7040 sed 's/^/| /' conftest.
$ac_ext >&5
7043 rm -f conftest.err conftest.
$ac_objext \
7044 conftest
$ac_exeext conftest.
$ac_ext
7047 LIBS
=$ac_func_search_save_LIBS
7049 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7050 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7051 if test "$ac_cv_search_opendir" != no
; then
7052 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
7058 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7059 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7060 if test "${ac_cv_header_stat_broken+set}" = set; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7063 cat >conftest.
$ac_ext <<_ACEOF
7066 cat confdefs.h
>>conftest.
$ac_ext
7067 cat >>conftest.
$ac_ext <<_ACEOF
7068 /* end confdefs.h. */
7069 #include <sys/types.h>
7070 #include <sys/stat.h>
7072 #if defined(S_ISBLK) && defined(S_IFDIR)
7073 # if S_ISBLK (S_IFDIR)
7078 #if defined(S_ISBLK) && defined(S_IFCHR)
7079 # if S_ISBLK (S_IFCHR)
7084 #if defined(S_ISLNK) && defined(S_IFREG)
7085 # if S_ISLNK (S_IFREG)
7090 #if defined(S_ISSOCK) && defined(S_IFREG)
7091 # if S_ISSOCK (S_IFREG)
7097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7098 $EGREP "You lose" >/dev
/null
2>&1; then
7099 ac_cv_header_stat_broken
=yes
7101 ac_cv_header_stat_broken
=no
7106 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7107 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7108 if test $ac_cv_header_stat_broken = yes; then
7110 cat >>confdefs.h
<<\_ACEOF
7111 #define STAT_MACROS_BROKEN 1
7116 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7117 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7118 if test "${ac_cv_header_stdc+set}" = set; then
7119 echo $ECHO_N "(cached) $ECHO_C" >&6
7121 cat >conftest.
$ac_ext <<_ACEOF
7124 cat confdefs.h
>>conftest.
$ac_ext
7125 cat >>conftest.
$ac_ext <<_ACEOF
7126 /* end confdefs.h. */
7140 rm -f conftest.
$ac_objext
7141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7142 (eval $ac_compile) 2>conftest.er1
7144 grep -v '^ *+' conftest.er1
>conftest.err
7146 cat conftest.err
>&5
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); } &&
7149 { ac_try
='test -z "$ac_c_werror_flag"
7150 || test ! -s conftest.err'
7151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; } &&
7156 { ac_try
='test -s conftest.$ac_objext'
7157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); }; }; then
7162 ac_cv_header_stdc
=yes
7164 echo "$as_me: failed program was:" >&5
7165 sed 's/^/| /' conftest.
$ac_ext >&5
7167 ac_cv_header_stdc
=no
7169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7171 if test $ac_cv_header_stdc = yes; then
7172 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7173 cat >conftest.
$ac_ext <<_ACEOF
7176 cat confdefs.h
>>conftest.
$ac_ext
7177 cat >>conftest.
$ac_ext <<_ACEOF
7178 /* end confdefs.h. */
7182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7183 $EGREP "memchr" >/dev
/null
2>&1; then
7186 ac_cv_header_stdc
=no
7192 if test $ac_cv_header_stdc = yes; then
7193 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7194 cat >conftest.
$ac_ext <<_ACEOF
7197 cat confdefs.h
>>conftest.
$ac_ext
7198 cat >>conftest.
$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7204 $EGREP "free" >/dev
/null
2>&1; then
7207 ac_cv_header_stdc
=no
7213 if test $ac_cv_header_stdc = yes; then
7214 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7215 if test "$cross_compiling" = yes; then
7218 cat >conftest.
$ac_ext <<_ACEOF
7221 cat confdefs.h
>>conftest.
$ac_ext
7222 cat >>conftest.
$ac_ext <<_ACEOF
7223 /* end confdefs.h. */
7225 #if ((' ' & 0x0FF) == 0x020)
7226 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7227 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7229 # define ISLOWER(c) \
7230 (('a' <= (c) && (c) <= 'i') \
7231 || ('j' <= (c) && (c) <= 'r') \
7232 || ('s' <= (c) && (c) <= 'z'))
7233 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7236 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7241 for (i = 0; i < 256; i++)
7242 if (XOR (islower (i), ISLOWER (i))
7243 || toupper (i) != TOUPPER (i))
7248 rm -f conftest
$ac_exeext
7249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7250 (eval $ac_link) 2>&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; }; then
7261 echo "$as_me: program exited with status $ac_status" >&5
7262 echo "$as_me: failed program was:" >&5
7263 sed 's/^/| /' conftest.
$ac_ext >&5
7266 ac_cv_header_stdc
=no
7268 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7272 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7273 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7274 if test $ac_cv_header_stdc = yes; then
7276 cat >>confdefs.h
<<\_ACEOF
7277 #define STDC_HEADERS 1
7283 for ac_header
in nlist.h
7285 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7287 echo "$as_me:$LINENO: checking for $ac_header" >&5
7288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7290 echo $ECHO_N "(cached) $ECHO_C" >&6
7292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7295 # Is the header compilable?
7296 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7297 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7298 cat >conftest.
$ac_ext <<_ACEOF
7301 cat confdefs.h
>>conftest.
$ac_ext
7302 cat >>conftest.
$ac_ext <<_ACEOF
7303 /* end confdefs.h. */
7304 $ac_includes_default
7305 #include <$ac_header>
7307 rm -f conftest.
$ac_objext
7308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7309 (eval $ac_compile) 2>conftest.er1
7311 grep -v '^ *+' conftest.er1
>conftest.err
7313 cat conftest.err
>&5
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); } &&
7316 { ac_try
='test -z "$ac_c_werror_flag"
7317 || test ! -s conftest.err'
7318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); }; } &&
7323 { ac_try
='test -s conftest.$ac_objext'
7324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); }; }; then
7329 ac_header_compiler
=yes
7331 echo "$as_me: failed program was:" >&5
7332 sed 's/^/| /' conftest.
$ac_ext >&5
7334 ac_header_compiler
=no
7336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7338 echo "${ECHO_T}$ac_header_compiler" >&6
7340 # Is the header present?
7341 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7343 cat >conftest.
$ac_ext <<_ACEOF
7346 cat confdefs.h
>>conftest.
$ac_ext
7347 cat >>conftest.
$ac_ext <<_ACEOF
7348 /* end confdefs.h. */
7349 #include <$ac_header>
7351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7354 grep -v '^ *+' conftest.er1
>conftest.err
7356 cat conftest.err
>&5
7357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7358 (exit $ac_status); } >/dev
/null
; then
7359 if test -s conftest.err
; then
7360 ac_cpp_err
=$ac_c_preproc_warn_flag
7361 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7368 if test -z "$ac_cpp_err"; then
7369 ac_header_preproc
=yes
7371 echo "$as_me: failed program was:" >&5
7372 sed 's/^/| /' conftest.
$ac_ext >&5
7374 ac_header_preproc
=no
7376 rm -f conftest.err conftest.
$ac_ext
7377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7378 echo "${ECHO_T}$ac_header_preproc" >&6
7380 # So? What about this header?
7381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7386 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7387 ac_header_preproc
=yes
7390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7394 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7395 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7396 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7397 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7400 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7401 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7404 ## ------------------------------------------ ##
7405 ## Report this to the AC_PACKAGE_NAME lists. ##
7406 ## ------------------------------------------ ##
7409 sed "s/^/$as_me: WARNING: /" >&2
7412 echo "$as_me:$LINENO: checking for $ac_header" >&5
7413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 eval "$as_ac_Header=\$ac_header_preproc"
7419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7424 cat >>confdefs.h
<<_ACEOF
7425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7433 for ac_header
in link.h
7435 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7436 echo "$as_me:$LINENO: checking for $ac_header" >&5
7437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7439 echo $ECHO_N "(cached) $ECHO_C" >&6
7441 cat >conftest.
$ac_ext <<_ACEOF
7444 cat confdefs.h
>>conftest.
$ac_ext
7445 cat >>conftest.
$ac_ext <<_ACEOF
7446 /* end confdefs.h. */
7447 #if HAVE_SYS_TYPES_H
7448 # include <sys/types.h>
7455 #include <$ac_header>
7457 rm -f conftest.
$ac_objext
7458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7459 (eval $ac_compile) 2>conftest.er1
7461 grep -v '^ *+' conftest.er1
>conftest.err
7463 cat conftest.err
>&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); } &&
7466 { ac_try
='test -z "$ac_c_werror_flag"
7467 || test ! -s conftest.err'
7468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); }; } &&
7473 { ac_try
='test -s conftest.$ac_objext'
7474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 (exit $ac_status); }; }; then
7479 eval "$as_ac_Header=yes"
7481 echo "$as_me: failed program was:" >&5
7482 sed 's/^/| /' conftest.
$ac_ext >&5
7484 eval "$as_ac_Header=no"
7486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7491 cat >>confdefs.h
<<_ACEOF
7492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7500 for ac_header
in machine
/reg.h
7502 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7504 echo "$as_me:$LINENO: checking for $ac_header" >&5
7505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7507 echo $ECHO_N "(cached) $ECHO_C" >&6
7509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7510 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7512 # Is the header compilable?
7513 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7514 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7515 cat >conftest.
$ac_ext <<_ACEOF
7518 cat confdefs.h
>>conftest.
$ac_ext
7519 cat >>conftest.
$ac_ext <<_ACEOF
7520 /* end confdefs.h. */
7521 $ac_includes_default
7522 #include <$ac_header>
7524 rm -f conftest.
$ac_objext
7525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7526 (eval $ac_compile) 2>conftest.er1
7528 grep -v '^ *+' conftest.er1
>conftest.err
7530 cat conftest.err
>&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); } &&
7533 { ac_try
='test -z "$ac_c_werror_flag"
7534 || test ! -s conftest.err'
7535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); }; } &&
7540 { ac_try
='test -s conftest.$ac_objext'
7541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545 (exit $ac_status); }; }; then
7546 ac_header_compiler
=yes
7548 echo "$as_me: failed program was:" >&5
7549 sed 's/^/| /' conftest.
$ac_ext >&5
7551 ac_header_compiler
=no
7553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7554 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7555 echo "${ECHO_T}$ac_header_compiler" >&6
7557 # Is the header present?
7558 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7559 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7560 cat >conftest.
$ac_ext <<_ACEOF
7563 cat confdefs.h
>>conftest.
$ac_ext
7564 cat >>conftest.
$ac_ext <<_ACEOF
7565 /* end confdefs.h. */
7566 #include <$ac_header>
7568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7569 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7571 grep -v '^ *+' conftest.er1
>conftest.err
7573 cat conftest.err
>&5
7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); } >/dev
/null
; then
7576 if test -s conftest.err
; then
7577 ac_cpp_err
=$ac_c_preproc_warn_flag
7578 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7585 if test -z "$ac_cpp_err"; then
7586 ac_header_preproc
=yes
7588 echo "$as_me: failed program was:" >&5
7589 sed 's/^/| /' conftest.
$ac_ext >&5
7591 ac_header_preproc
=no
7593 rm -f conftest.err conftest.
$ac_ext
7594 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7595 echo "${ECHO_T}$ac_header_preproc" >&6
7597 # So? What about this header?
7598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7604 ac_header_preproc
=yes
7607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7621 ## ------------------------------------------ ##
7622 ## Report this to the AC_PACKAGE_NAME lists. ##
7623 ## ------------------------------------------ ##
7626 sed "s/^/$as_me: WARNING: /" >&2
7629 echo "$as_me:$LINENO: checking for $ac_header" >&5
7630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 eval "$as_ac_Header=\$ac_header_preproc"
7636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7641 cat >>confdefs.h
<<_ACEOF
7642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7651 for ac_header
in poll.h sys
/poll.h
7653 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7655 echo "$as_me:$LINENO: checking for $ac_header" >&5
7656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7658 echo $ECHO_N "(cached) $ECHO_C" >&6
7660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7663 # Is the header compilable?
7664 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7665 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7666 cat >conftest.
$ac_ext <<_ACEOF
7669 cat confdefs.h
>>conftest.
$ac_ext
7670 cat >>conftest.
$ac_ext <<_ACEOF
7671 /* end confdefs.h. */
7672 $ac_includes_default
7673 #include <$ac_header>
7675 rm -f conftest.
$ac_objext
7676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7677 (eval $ac_compile) 2>conftest.er1
7679 grep -v '^ *+' conftest.er1
>conftest.err
7681 cat conftest.err
>&5
7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 (exit $ac_status); } &&
7684 { ac_try
='test -z "$ac_c_werror_flag"
7685 || test ! -s conftest.err'
7686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690 (exit $ac_status); }; } &&
7691 { ac_try
='test -s conftest.$ac_objext'
7692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696 (exit $ac_status); }; }; then
7697 ac_header_compiler
=yes
7699 echo "$as_me: failed program was:" >&5
7700 sed 's/^/| /' conftest.
$ac_ext >&5
7702 ac_header_compiler
=no
7704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7706 echo "${ECHO_T}$ac_header_compiler" >&6
7708 # Is the header present?
7709 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7710 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7711 cat >conftest.
$ac_ext <<_ACEOF
7714 cat confdefs.h
>>conftest.
$ac_ext
7715 cat >>conftest.
$ac_ext <<_ACEOF
7716 /* end confdefs.h. */
7717 #include <$ac_header>
7719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7720 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7722 grep -v '^ *+' conftest.er1
>conftest.err
7724 cat conftest.err
>&5
7725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); } >/dev
/null
; then
7727 if test -s conftest.err
; then
7728 ac_cpp_err
=$ac_c_preproc_warn_flag
7729 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7736 if test -z "$ac_cpp_err"; then
7737 ac_header_preproc
=yes
7739 echo "$as_me: failed program was:" >&5
7740 sed 's/^/| /' conftest.
$ac_ext >&5
7742 ac_header_preproc
=no
7744 rm -f conftest.err conftest.
$ac_ext
7745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7746 echo "${ECHO_T}$ac_header_preproc" >&6
7748 # So? What about this header?
7749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7751 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7752 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7754 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7755 ac_header_preproc
=yes
7758 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7759 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7760 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7761 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7762 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7763 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7764 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7765 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7767 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7768 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7769 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7772 ## ------------------------------------------ ##
7773 ## Report this to the AC_PACKAGE_NAME lists. ##
7774 ## ------------------------------------------ ##
7777 sed "s/^/$as_me: WARNING: /" >&2
7780 echo "$as_me:$LINENO: checking for $ac_header" >&5
7781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7783 echo $ECHO_N "(cached) $ECHO_C" >&6
7785 eval "$as_ac_Header=\$ac_header_preproc"
7787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7792 cat >>confdefs.h
<<_ACEOF
7793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7803 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
7805 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7807 echo "$as_me:$LINENO: checking for $ac_header" >&5
7808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7810 echo $ECHO_N "(cached) $ECHO_C" >&6
7812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7815 # Is the header compilable?
7816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7818 cat >conftest.
$ac_ext <<_ACEOF
7821 cat confdefs.h
>>conftest.
$ac_ext
7822 cat >>conftest.
$ac_ext <<_ACEOF
7823 /* end confdefs.h. */
7824 $ac_includes_default
7825 #include <$ac_header>
7827 rm -f conftest.
$ac_objext
7828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7829 (eval $ac_compile) 2>conftest.er1
7831 grep -v '^ *+' conftest.er1
>conftest.err
7833 cat conftest.err
>&5
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); } &&
7836 { ac_try
='test -z "$ac_c_werror_flag"
7837 || test ! -s conftest.err'
7838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 (exit $ac_status); }; } &&
7843 { ac_try
='test -s conftest.$ac_objext'
7844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848 (exit $ac_status); }; }; then
7849 ac_header_compiler
=yes
7851 echo "$as_me: failed program was:" >&5
7852 sed 's/^/| /' conftest.
$ac_ext >&5
7854 ac_header_compiler
=no
7856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7858 echo "${ECHO_T}$ac_header_compiler" >&6
7860 # Is the header present?
7861 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7863 cat >conftest.
$ac_ext <<_ACEOF
7866 cat confdefs.h
>>conftest.
$ac_ext
7867 cat >>conftest.
$ac_ext <<_ACEOF
7868 /* end confdefs.h. */
7869 #include <$ac_header>
7871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7874 grep -v '^ *+' conftest.er1
>conftest.err
7876 cat conftest.err
>&5
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); } >/dev
/null
; then
7879 if test -s conftest.err
; then
7880 ac_cpp_err
=$ac_c_preproc_warn_flag
7881 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7888 if test -z "$ac_cpp_err"; then
7889 ac_header_preproc
=yes
7891 echo "$as_me: failed program was:" >&5
7892 sed 's/^/| /' conftest.
$ac_ext >&5
7894 ac_header_preproc
=no
7896 rm -f conftest.err conftest.
$ac_ext
7897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7898 echo "${ECHO_T}$ac_header_preproc" >&6
7900 # So? What about this header?
7901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7904 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7906 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7907 ac_header_preproc
=yes
7910 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7911 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7912 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7913 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7914 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7915 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7916 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7917 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7920 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7921 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7924 ## ------------------------------------------ ##
7925 ## Report this to the AC_PACKAGE_NAME lists. ##
7926 ## ------------------------------------------ ##
7929 sed "s/^/$as_me: WARNING: /" >&2
7932 echo "$as_me:$LINENO: checking for $ac_header" >&5
7933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7935 echo $ECHO_N "(cached) $ECHO_C" >&6
7937 eval "$as_ac_Header=\$ac_header_preproc"
7939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7944 cat >>confdefs.h
<<_ACEOF
7945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7953 for ac_header
in signal.h
7955 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7957 echo "$as_me:$LINENO: checking for $ac_header" >&5
7958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7960 echo $ECHO_N "(cached) $ECHO_C" >&6
7962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7965 # Is the header compilable?
7966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7968 cat >conftest.
$ac_ext <<_ACEOF
7971 cat confdefs.h
>>conftest.
$ac_ext
7972 cat >>conftest.
$ac_ext <<_ACEOF
7973 /* end confdefs.h. */
7974 $ac_includes_default
7975 #include <$ac_header>
7977 rm -f conftest.
$ac_objext
7978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7979 (eval $ac_compile) 2>conftest.er1
7981 grep -v '^ *+' conftest.er1
>conftest.err
7983 cat conftest.err
>&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); } &&
7986 { ac_try
='test -z "$ac_c_werror_flag"
7987 || test ! -s conftest.err'
7988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); }; } &&
7993 { ac_try
='test -s conftest.$ac_objext'
7994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); }; }; then
7999 ac_header_compiler
=yes
8001 echo "$as_me: failed program was:" >&5
8002 sed 's/^/| /' conftest.
$ac_ext >&5
8004 ac_header_compiler
=no
8006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8008 echo "${ECHO_T}$ac_header_compiler" >&6
8010 # Is the header present?
8011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8013 cat >conftest.
$ac_ext <<_ACEOF
8016 cat confdefs.h
>>conftest.
$ac_ext
8017 cat >>conftest.
$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8019 #include <$ac_header>
8021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8024 grep -v '^ *+' conftest.er1
>conftest.err
8026 cat conftest.err
>&5
8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); } >/dev
/null
; then
8029 if test -s conftest.err
; then
8030 ac_cpp_err
=$ac_c_preproc_warn_flag
8031 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8038 if test -z "$ac_cpp_err"; then
8039 ac_header_preproc
=yes
8041 echo "$as_me: failed program was:" >&5
8042 sed 's/^/| /' conftest.
$ac_ext >&5
8044 ac_header_preproc
=no
8046 rm -f conftest.err conftest.
$ac_ext
8047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8048 echo "${ECHO_T}$ac_header_preproc" >&6
8050 # So? What about this header?
8051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8057 ac_header_preproc
=yes
8060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8074 ## ------------------------------------------ ##
8075 ## Report this to the AC_PACKAGE_NAME lists. ##
8076 ## ------------------------------------------ ##
8079 sed "s/^/$as_me: WARNING: /" >&2
8082 echo "$as_me:$LINENO: checking for $ac_header" >&5
8083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8085 echo $ECHO_N "(cached) $ECHO_C" >&6
8087 eval "$as_ac_Header=\$ac_header_preproc"
8089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8094 cat >>confdefs.h
<<_ACEOF
8095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8103 for ac_header
in stddef.h
8105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8107 echo "$as_me:$LINENO: checking for $ac_header" >&5
8108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8110 echo $ECHO_N "(cached) $ECHO_C" >&6
8112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8115 # Is the header compilable?
8116 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8118 cat >conftest.
$ac_ext <<_ACEOF
8121 cat confdefs.h
>>conftest.
$ac_ext
8122 cat >>conftest.
$ac_ext <<_ACEOF
8123 /* end confdefs.h. */
8124 $ac_includes_default
8125 #include <$ac_header>
8127 rm -f conftest.
$ac_objext
8128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8129 (eval $ac_compile) 2>conftest.er1
8131 grep -v '^ *+' conftest.er1
>conftest.err
8133 cat conftest.err
>&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } &&
8136 { ac_try
='test -z "$ac_c_werror_flag"
8137 || test ! -s conftest.err'
8138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); }; } &&
8143 { ac_try
='test -s conftest.$ac_objext'
8144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); }; }; then
8149 ac_header_compiler
=yes
8151 echo "$as_me: failed program was:" >&5
8152 sed 's/^/| /' conftest.
$ac_ext >&5
8154 ac_header_compiler
=no
8156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8157 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8158 echo "${ECHO_T}$ac_header_compiler" >&6
8160 # Is the header present?
8161 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8162 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8163 cat >conftest.
$ac_ext <<_ACEOF
8166 cat confdefs.h
>>conftest.
$ac_ext
8167 cat >>conftest.
$ac_ext <<_ACEOF
8168 /* end confdefs.h. */
8169 #include <$ac_header>
8171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8172 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8174 grep -v '^ *+' conftest.er1
>conftest.err
8176 cat conftest.err
>&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); } >/dev
/null
; then
8179 if test -s conftest.err
; then
8180 ac_cpp_err
=$ac_c_preproc_warn_flag
8181 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8188 if test -z "$ac_cpp_err"; then
8189 ac_header_preproc
=yes
8191 echo "$as_me: failed program was:" >&5
8192 sed 's/^/| /' conftest.
$ac_ext >&5
8194 ac_header_preproc
=no
8196 rm -f conftest.err conftest.
$ac_ext
8197 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8198 echo "${ECHO_T}$ac_header_preproc" >&6
8200 # So? What about this header?
8201 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8203 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8204 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8206 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8207 ac_header_preproc
=yes
8210 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8211 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8212 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8213 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8214 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8215 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8216 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8217 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8220 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8221 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8224 ## ------------------------------------------ ##
8225 ## Report this to the AC_PACKAGE_NAME lists. ##
8226 ## ------------------------------------------ ##
8229 sed "s/^/$as_me: WARNING: /" >&2
8232 echo "$as_me:$LINENO: checking for $ac_header" >&5
8233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 eval "$as_ac_Header=\$ac_header_preproc"
8239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8244 cat >>confdefs.h
<<_ACEOF
8245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8253 for ac_header
in stdlib.h
8255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8257 echo "$as_me:$LINENO: checking for $ac_header" >&5
8258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8260 echo $ECHO_N "(cached) $ECHO_C" >&6
8262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8265 # Is the header compilable?
8266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8268 cat >conftest.
$ac_ext <<_ACEOF
8271 cat confdefs.h
>>conftest.
$ac_ext
8272 cat >>conftest.
$ac_ext <<_ACEOF
8273 /* end confdefs.h. */
8274 $ac_includes_default
8275 #include <$ac_header>
8277 rm -f conftest.
$ac_objext
8278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8279 (eval $ac_compile) 2>conftest.er1
8281 grep -v '^ *+' conftest.er1
>conftest.err
8283 cat conftest.err
>&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); } &&
8286 { ac_try
='test -z "$ac_c_werror_flag"
8287 || test ! -s conftest.err'
8288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); }; } &&
8293 { ac_try
='test -s conftest.$ac_objext'
8294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; }; then
8299 ac_header_compiler
=yes
8301 echo "$as_me: failed program was:" >&5
8302 sed 's/^/| /' conftest.
$ac_ext >&5
8304 ac_header_compiler
=no
8306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8308 echo "${ECHO_T}$ac_header_compiler" >&6
8310 # Is the header present?
8311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8313 cat >conftest.
$ac_ext <<_ACEOF
8316 cat confdefs.h
>>conftest.
$ac_ext
8317 cat >>conftest.
$ac_ext <<_ACEOF
8318 /* end confdefs.h. */
8319 #include <$ac_header>
8321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8324 grep -v '^ *+' conftest.er1
>conftest.err
8326 cat conftest.err
>&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } >/dev
/null
; then
8329 if test -s conftest.err
; then
8330 ac_cpp_err
=$ac_c_preproc_warn_flag
8331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8338 if test -z "$ac_cpp_err"; then
8339 ac_header_preproc
=yes
8341 echo "$as_me: failed program was:" >&5
8342 sed 's/^/| /' conftest.
$ac_ext >&5
8344 ac_header_preproc
=no
8346 rm -f conftest.err conftest.
$ac_ext
8347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8348 echo "${ECHO_T}$ac_header_preproc" >&6
8350 # So? What about this header?
8351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8357 ac_header_preproc
=yes
8360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8374 ## ------------------------------------------ ##
8375 ## Report this to the AC_PACKAGE_NAME lists. ##
8376 ## ------------------------------------------ ##
8379 sed "s/^/$as_me: WARNING: /" >&2
8382 echo "$as_me:$LINENO: checking for $ac_header" >&5
8383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8385 echo $ECHO_N "(cached) $ECHO_C" >&6
8387 eval "$as_ac_Header=\$ac_header_preproc"
8389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8394 cat >>confdefs.h
<<_ACEOF
8395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8403 for ac_header
in stdint.h
8405 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8407 echo "$as_me:$LINENO: checking for $ac_header" >&5
8408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8410 echo $ECHO_N "(cached) $ECHO_C" >&6
8412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8415 # Is the header compilable?
8416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8418 cat >conftest.
$ac_ext <<_ACEOF
8421 cat confdefs.h
>>conftest.
$ac_ext
8422 cat >>conftest.
$ac_ext <<_ACEOF
8423 /* end confdefs.h. */
8424 $ac_includes_default
8425 #include <$ac_header>
8427 rm -f conftest.
$ac_objext
8428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8429 (eval $ac_compile) 2>conftest.er1
8431 grep -v '^ *+' conftest.er1
>conftest.err
8433 cat conftest.err
>&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); } &&
8436 { ac_try
='test -z "$ac_c_werror_flag"
8437 || test ! -s conftest.err'
8438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); }; } &&
8443 { ac_try
='test -s conftest.$ac_objext'
8444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); }; }; then
8449 ac_header_compiler
=yes
8451 echo "$as_me: failed program was:" >&5
8452 sed 's/^/| /' conftest.
$ac_ext >&5
8454 ac_header_compiler
=no
8456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8458 echo "${ECHO_T}$ac_header_compiler" >&6
8460 # Is the header present?
8461 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8462 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8463 cat >conftest.
$ac_ext <<_ACEOF
8466 cat confdefs.h
>>conftest.
$ac_ext
8467 cat >>conftest.
$ac_ext <<_ACEOF
8468 /* end confdefs.h. */
8469 #include <$ac_header>
8471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8472 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8474 grep -v '^ *+' conftest.er1
>conftest.err
8476 cat conftest.err
>&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); } >/dev
/null
; then
8479 if test -s conftest.err
; then
8480 ac_cpp_err
=$ac_c_preproc_warn_flag
8481 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8488 if test -z "$ac_cpp_err"; then
8489 ac_header_preproc
=yes
8491 echo "$as_me: failed program was:" >&5
8492 sed 's/^/| /' conftest.
$ac_ext >&5
8494 ac_header_preproc
=no
8496 rm -f conftest.err conftest.
$ac_ext
8497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8498 echo "${ECHO_T}$ac_header_preproc" >&6
8500 # So? What about this header?
8501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8503 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8504 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8506 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8507 ac_header_preproc
=yes
8510 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8511 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8512 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8513 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8514 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8515 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8516 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8517 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8519 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8520 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8521 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8524 ## ------------------------------------------ ##
8525 ## Report this to the AC_PACKAGE_NAME lists. ##
8526 ## ------------------------------------------ ##
8529 sed "s/^/$as_me: WARNING: /" >&2
8532 echo "$as_me:$LINENO: checking for $ac_header" >&5
8533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8535 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 eval "$as_ac_Header=\$ac_header_preproc"
8539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8544 cat >>confdefs.h
<<_ACEOF
8545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8555 for ac_header
in string.h memory.h
strings.h
8557 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8559 echo "$as_me:$LINENO: checking for $ac_header" >&5
8560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8562 echo $ECHO_N "(cached) $ECHO_C" >&6
8564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8567 # Is the header compilable?
8568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8570 cat >conftest.
$ac_ext <<_ACEOF
8573 cat confdefs.h
>>conftest.
$ac_ext
8574 cat >>conftest.
$ac_ext <<_ACEOF
8575 /* end confdefs.h. */
8576 $ac_includes_default
8577 #include <$ac_header>
8579 rm -f conftest.
$ac_objext
8580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8581 (eval $ac_compile) 2>conftest.er1
8583 grep -v '^ *+' conftest.er1
>conftest.err
8585 cat conftest.err
>&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); } &&
8588 { ac_try
='test -z "$ac_c_werror_flag"
8589 || test ! -s conftest.err'
8590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); }; } &&
8595 { ac_try
='test -s conftest.$ac_objext'
8596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); }; }; then
8601 ac_header_compiler
=yes
8603 echo "$as_me: failed program was:" >&5
8604 sed 's/^/| /' conftest.
$ac_ext >&5
8606 ac_header_compiler
=no
8608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8610 echo "${ECHO_T}$ac_header_compiler" >&6
8612 # Is the header present?
8613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8615 cat >conftest.
$ac_ext <<_ACEOF
8618 cat confdefs.h
>>conftest.
$ac_ext
8619 cat >>conftest.
$ac_ext <<_ACEOF
8620 /* end confdefs.h. */
8621 #include <$ac_header>
8623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8626 grep -v '^ *+' conftest.er1
>conftest.err
8628 cat conftest.err
>&5
8629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 (exit $ac_status); } >/dev
/null
; then
8631 if test -s conftest.err
; then
8632 ac_cpp_err
=$ac_c_preproc_warn_flag
8633 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8640 if test -z "$ac_cpp_err"; then
8641 ac_header_preproc
=yes
8643 echo "$as_me: failed program was:" >&5
8644 sed 's/^/| /' conftest.
$ac_ext >&5
8646 ac_header_preproc
=no
8648 rm -f conftest.err conftest.
$ac_ext
8649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8650 echo "${ECHO_T}$ac_header_preproc" >&6
8652 # So? What about this header?
8653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8659 ac_header_preproc
=yes
8662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8676 ## ------------------------------------------ ##
8677 ## Report this to the AC_PACKAGE_NAME lists. ##
8678 ## ------------------------------------------ ##
8681 sed "s/^/$as_me: WARNING: /" >&2
8684 echo "$as_me:$LINENO: checking for $ac_header" >&5
8685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8687 echo $ECHO_N "(cached) $ECHO_C" >&6
8689 eval "$as_ac_Header=\$ac_header_preproc"
8691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8696 cat >>confdefs.h
<<_ACEOF
8697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8705 for ac_header
in sys
/fault.h
8707 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8709 echo "$as_me:$LINENO: checking for $ac_header" >&5
8710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8712 echo $ECHO_N "(cached) $ECHO_C" >&6
8714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8717 # Is the header compilable?
8718 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8720 cat >conftest.
$ac_ext <<_ACEOF
8723 cat confdefs.h
>>conftest.
$ac_ext
8724 cat >>conftest.
$ac_ext <<_ACEOF
8725 /* end confdefs.h. */
8726 $ac_includes_default
8727 #include <$ac_header>
8729 rm -f conftest.
$ac_objext
8730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8731 (eval $ac_compile) 2>conftest.er1
8733 grep -v '^ *+' conftest.er1
>conftest.err
8735 cat conftest.err
>&5
8736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737 (exit $ac_status); } &&
8738 { ac_try
='test -z "$ac_c_werror_flag"
8739 || test ! -s conftest.err'
8740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); }; } &&
8745 { ac_try
='test -s conftest.$ac_objext'
8746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 (exit $ac_status); }; }; then
8751 ac_header_compiler
=yes
8753 echo "$as_me: failed program was:" >&5
8754 sed 's/^/| /' conftest.
$ac_ext >&5
8756 ac_header_compiler
=no
8758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8760 echo "${ECHO_T}$ac_header_compiler" >&6
8762 # Is the header present?
8763 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8765 cat >conftest.
$ac_ext <<_ACEOF
8768 cat confdefs.h
>>conftest.
$ac_ext
8769 cat >>conftest.
$ac_ext <<_ACEOF
8770 /* end confdefs.h. */
8771 #include <$ac_header>
8773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8774 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8776 grep -v '^ *+' conftest.er1
>conftest.err
8778 cat conftest.err
>&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); } >/dev
/null
; then
8781 if test -s conftest.err
; then
8782 ac_cpp_err
=$ac_c_preproc_warn_flag
8783 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8790 if test -z "$ac_cpp_err"; then
8791 ac_header_preproc
=yes
8793 echo "$as_me: failed program was:" >&5
8794 sed 's/^/| /' conftest.
$ac_ext >&5
8796 ac_header_preproc
=no
8798 rm -f conftest.err conftest.
$ac_ext
8799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8800 echo "${ECHO_T}$ac_header_preproc" >&6
8802 # So? What about this header?
8803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8809 ac_header_preproc
=yes
8812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8826 ## ------------------------------------------ ##
8827 ## Report this to the AC_PACKAGE_NAME lists. ##
8828 ## ------------------------------------------ ##
8831 sed "s/^/$as_me: WARNING: /" >&2
8834 echo "$as_me:$LINENO: checking for $ac_header" >&5
8835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8837 echo $ECHO_N "(cached) $ECHO_C" >&6
8839 eval "$as_ac_Header=\$ac_header_preproc"
8841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8846 cat >>confdefs.h
<<_ACEOF
8847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8855 for ac_header
in sys
/file.h
8857 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8859 echo "$as_me:$LINENO: checking for $ac_header" >&5
8860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8862 echo $ECHO_N "(cached) $ECHO_C" >&6
8864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8867 # Is the header compilable?
8868 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8870 cat >conftest.
$ac_ext <<_ACEOF
8873 cat confdefs.h
>>conftest.
$ac_ext
8874 cat >>conftest.
$ac_ext <<_ACEOF
8875 /* end confdefs.h. */
8876 $ac_includes_default
8877 #include <$ac_header>
8879 rm -f conftest.
$ac_objext
8880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8881 (eval $ac_compile) 2>conftest.er1
8883 grep -v '^ *+' conftest.er1
>conftest.err
8885 cat conftest.err
>&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); } &&
8888 { ac_try
='test -z "$ac_c_werror_flag"
8889 || test ! -s conftest.err'
8890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); }; } &&
8895 { ac_try
='test -s conftest.$ac_objext'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then
8901 ac_header_compiler
=yes
8903 echo "$as_me: failed program was:" >&5
8904 sed 's/^/| /' conftest.
$ac_ext >&5
8906 ac_header_compiler
=no
8908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8910 echo "${ECHO_T}$ac_header_compiler" >&6
8912 # Is the header present?
8913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8915 cat >conftest.
$ac_ext <<_ACEOF
8918 cat confdefs.h
>>conftest.
$ac_ext
8919 cat >>conftest.
$ac_ext <<_ACEOF
8920 /* end confdefs.h. */
8921 #include <$ac_header>
8923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8924 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8926 grep -v '^ *+' conftest.er1
>conftest.err
8928 cat conftest.err
>&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 (exit $ac_status); } >/dev
/null
; then
8931 if test -s conftest.err
; then
8932 ac_cpp_err
=$ac_c_preproc_warn_flag
8933 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8940 if test -z "$ac_cpp_err"; then
8941 ac_header_preproc
=yes
8943 echo "$as_me: failed program was:" >&5
8944 sed 's/^/| /' conftest.
$ac_ext >&5
8946 ac_header_preproc
=no
8948 rm -f conftest.err conftest.
$ac_ext
8949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8950 echo "${ECHO_T}$ac_header_preproc" >&6
8952 # So? What about this header?
8953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8959 ac_header_preproc
=yes
8962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8976 ## ------------------------------------------ ##
8977 ## Report this to the AC_PACKAGE_NAME lists. ##
8978 ## ------------------------------------------ ##
8981 sed "s/^/$as_me: WARNING: /" >&2
8984 echo "$as_me:$LINENO: checking for $ac_header" >&5
8985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8987 echo $ECHO_N "(cached) $ECHO_C" >&6
8989 eval "$as_ac_Header=\$ac_header_preproc"
8991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8996 cat >>confdefs.h
<<_ACEOF
8997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9005 for ac_header
in sys
/filio.h
9007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9009 echo "$as_me:$LINENO: checking for $ac_header" >&5
9010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9012 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9017 # Is the header compilable?
9018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9020 cat >conftest.
$ac_ext <<_ACEOF
9023 cat confdefs.h
>>conftest.
$ac_ext
9024 cat >>conftest.
$ac_ext <<_ACEOF
9025 /* end confdefs.h. */
9026 $ac_includes_default
9027 #include <$ac_header>
9029 rm -f conftest.
$ac_objext
9030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9031 (eval $ac_compile) 2>conftest.er1
9033 grep -v '^ *+' conftest.er1
>conftest.err
9035 cat conftest.err
>&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 (exit $ac_status); } &&
9038 { ac_try
='test -z "$ac_c_werror_flag"
9039 || test ! -s conftest.err'
9040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); }; } &&
9045 { ac_try
='test -s conftest.$ac_objext'
9046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); }; }; then
9051 ac_header_compiler
=yes
9053 echo "$as_me: failed program was:" >&5
9054 sed 's/^/| /' conftest.
$ac_ext >&5
9056 ac_header_compiler
=no
9058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9059 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9060 echo "${ECHO_T}$ac_header_compiler" >&6
9062 # Is the header present?
9063 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9064 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9065 cat >conftest.
$ac_ext <<_ACEOF
9068 cat confdefs.h
>>conftest.
$ac_ext
9069 cat >>conftest.
$ac_ext <<_ACEOF
9070 /* end confdefs.h. */
9071 #include <$ac_header>
9073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9074 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9076 grep -v '^ *+' conftest.er1
>conftest.err
9078 cat conftest.err
>&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); } >/dev
/null
; then
9081 if test -s conftest.err
; then
9082 ac_cpp_err
=$ac_c_preproc_warn_flag
9083 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9090 if test -z "$ac_cpp_err"; then
9091 ac_header_preproc
=yes
9093 echo "$as_me: failed program was:" >&5
9094 sed 's/^/| /' conftest.
$ac_ext >&5
9096 ac_header_preproc
=no
9098 rm -f conftest.err conftest.
$ac_ext
9099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9100 echo "${ECHO_T}$ac_header_preproc" >&6
9102 # So? What about this header?
9103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9105 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9106 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9108 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9109 ac_header_preproc
=yes
9112 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9114 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9115 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9116 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9117 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9118 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9119 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9121 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9122 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9123 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9126 ## ------------------------------------------ ##
9127 ## Report this to the AC_PACKAGE_NAME lists. ##
9128 ## ------------------------------------------ ##
9131 sed "s/^/$as_me: WARNING: /" >&2
9134 echo "$as_me:$LINENO: checking for $ac_header" >&5
9135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9137 echo $ECHO_N "(cached) $ECHO_C" >&6
9139 eval "$as_ac_Header=\$ac_header_preproc"
9141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9146 cat >>confdefs.h
<<_ACEOF
9147 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9155 for ac_header
in sys
/ioctl.h
9157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9159 echo "$as_me:$LINENO: checking for $ac_header" >&5
9160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9162 echo $ECHO_N "(cached) $ECHO_C" >&6
9164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9167 # Is the header compilable?
9168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9170 cat >conftest.
$ac_ext <<_ACEOF
9173 cat confdefs.h
>>conftest.
$ac_ext
9174 cat >>conftest.
$ac_ext <<_ACEOF
9175 /* end confdefs.h. */
9176 $ac_includes_default
9177 #include <$ac_header>
9179 rm -f conftest.
$ac_objext
9180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9181 (eval $ac_compile) 2>conftest.er1
9183 grep -v '^ *+' conftest.er1
>conftest.err
9185 cat conftest.err
>&5
9186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 (exit $ac_status); } &&
9188 { ac_try
='test -z "$ac_c_werror_flag"
9189 || test ! -s conftest.err'
9190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); }; } &&
9195 { ac_try
='test -s conftest.$ac_objext'
9196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 (exit $ac_status); }; }; then
9201 ac_header_compiler
=yes
9203 echo "$as_me: failed program was:" >&5
9204 sed 's/^/| /' conftest.
$ac_ext >&5
9206 ac_header_compiler
=no
9208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9210 echo "${ECHO_T}$ac_header_compiler" >&6
9212 # Is the header present?
9213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9215 cat >conftest.
$ac_ext <<_ACEOF
9218 cat confdefs.h
>>conftest.
$ac_ext
9219 cat >>conftest.
$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9221 #include <$ac_header>
9223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9226 grep -v '^ *+' conftest.er1
>conftest.err
9228 cat conftest.err
>&5
9229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9230 (exit $ac_status); } >/dev
/null
; then
9231 if test -s conftest.err
; then
9232 ac_cpp_err
=$ac_c_preproc_warn_flag
9233 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9240 if test -z "$ac_cpp_err"; then
9241 ac_header_preproc
=yes
9243 echo "$as_me: failed program was:" >&5
9244 sed 's/^/| /' conftest.
$ac_ext >&5
9246 ac_header_preproc
=no
9248 rm -f conftest.err conftest.
$ac_ext
9249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9250 echo "${ECHO_T}$ac_header_preproc" >&6
9252 # So? What about this header?
9253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9259 ac_header_preproc
=yes
9262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9276 ## ------------------------------------------ ##
9277 ## Report this to the AC_PACKAGE_NAME lists. ##
9278 ## ------------------------------------------ ##
9281 sed "s/^/$as_me: WARNING: /" >&2
9284 echo "$as_me:$LINENO: checking for $ac_header" >&5
9285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9287 echo $ECHO_N "(cached) $ECHO_C" >&6
9289 eval "$as_ac_Header=\$ac_header_preproc"
9291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9296 cat >>confdefs.h
<<_ACEOF
9297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9305 for ac_header
in sys
/param.h
9307 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9309 echo "$as_me:$LINENO: checking for $ac_header" >&5
9310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9312 echo $ECHO_N "(cached) $ECHO_C" >&6
9314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9317 # Is the header compilable?
9318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9320 cat >conftest.
$ac_ext <<_ACEOF
9323 cat confdefs.h
>>conftest.
$ac_ext
9324 cat >>conftest.
$ac_ext <<_ACEOF
9325 /* end confdefs.h. */
9326 $ac_includes_default
9327 #include <$ac_header>
9329 rm -f conftest.
$ac_objext
9330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9331 (eval $ac_compile) 2>conftest.er1
9333 grep -v '^ *+' conftest.er1
>conftest.err
9335 cat conftest.err
>&5
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); } &&
9338 { ac_try
='test -z "$ac_c_werror_flag"
9339 || test ! -s conftest.err'
9340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); }; } &&
9345 { ac_try
='test -s conftest.$ac_objext'
9346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); }; }; then
9351 ac_header_compiler
=yes
9353 echo "$as_me: failed program was:" >&5
9354 sed 's/^/| /' conftest.
$ac_ext >&5
9356 ac_header_compiler
=no
9358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9360 echo "${ECHO_T}$ac_header_compiler" >&6
9362 # Is the header present?
9363 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9365 cat >conftest.
$ac_ext <<_ACEOF
9368 cat confdefs.h
>>conftest.
$ac_ext
9369 cat >>conftest.
$ac_ext <<_ACEOF
9370 /* end confdefs.h. */
9371 #include <$ac_header>
9373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9374 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9376 grep -v '^ *+' conftest.er1
>conftest.err
9378 cat conftest.err
>&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); } >/dev
/null
; then
9381 if test -s conftest.err
; then
9382 ac_cpp_err
=$ac_c_preproc_warn_flag
9383 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9390 if test -z "$ac_cpp_err"; then
9391 ac_header_preproc
=yes
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.
$ac_ext >&5
9396 ac_header_preproc
=no
9398 rm -f conftest.err conftest.
$ac_ext
9399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9400 echo "${ECHO_T}$ac_header_preproc" >&6
9402 # So? What about this header?
9403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9406 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9408 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9409 ac_header_preproc
=yes
9412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9416 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9417 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9418 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9419 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9421 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9422 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9423 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9426 ## ------------------------------------------ ##
9427 ## Report this to the AC_PACKAGE_NAME lists. ##
9428 ## ------------------------------------------ ##
9431 sed "s/^/$as_me: WARNING: /" >&2
9434 echo "$as_me:$LINENO: checking for $ac_header" >&5
9435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9437 echo $ECHO_N "(cached) $ECHO_C" >&6
9439 eval "$as_ac_Header=\$ac_header_preproc"
9441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9446 cat >>confdefs.h
<<_ACEOF
9447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9455 for ac_header
in sys
/resource.h
9457 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9459 echo "$as_me:$LINENO: checking for $ac_header" >&5
9460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9462 echo $ECHO_N "(cached) $ECHO_C" >&6
9464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9467 # Is the header compilable?
9468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9470 cat >conftest.
$ac_ext <<_ACEOF
9473 cat confdefs.h
>>conftest.
$ac_ext
9474 cat >>conftest.
$ac_ext <<_ACEOF
9475 /* end confdefs.h. */
9476 $ac_includes_default
9477 #include <$ac_header>
9479 rm -f conftest.
$ac_objext
9480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9481 (eval $ac_compile) 2>conftest.er1
9483 grep -v '^ *+' conftest.er1
>conftest.err
9485 cat conftest.err
>&5
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 (exit $ac_status); } &&
9488 { ac_try
='test -z "$ac_c_werror_flag"
9489 || test ! -s conftest.err'
9490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); }; } &&
9495 { ac_try
='test -s conftest.$ac_objext'
9496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); }; }; then
9501 ac_header_compiler
=yes
9503 echo "$as_me: failed program was:" >&5
9504 sed 's/^/| /' conftest.
$ac_ext >&5
9506 ac_header_compiler
=no
9508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9510 echo "${ECHO_T}$ac_header_compiler" >&6
9512 # Is the header present?
9513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9515 cat >conftest.
$ac_ext <<_ACEOF
9518 cat confdefs.h
>>conftest.
$ac_ext
9519 cat >>conftest.
$ac_ext <<_ACEOF
9520 /* end confdefs.h. */
9521 #include <$ac_header>
9523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9524 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9526 grep -v '^ *+' conftest.er1
>conftest.err
9528 cat conftest.err
>&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); } >/dev
/null
; then
9531 if test -s conftest.err
; then
9532 ac_cpp_err
=$ac_c_preproc_warn_flag
9533 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9540 if test -z "$ac_cpp_err"; then
9541 ac_header_preproc
=yes
9543 echo "$as_me: failed program was:" >&5
9544 sed 's/^/| /' conftest.
$ac_ext >&5
9546 ac_header_preproc
=no
9548 rm -f conftest.err conftest.
$ac_ext
9549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9550 echo "${ECHO_T}$ac_header_preproc" >&6
9552 # So? What about this header?
9553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9559 ac_header_preproc
=yes
9562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9576 ## ------------------------------------------ ##
9577 ## Report this to the AC_PACKAGE_NAME lists. ##
9578 ## ------------------------------------------ ##
9581 sed "s/^/$as_me: WARNING: /" >&2
9584 echo "$as_me:$LINENO: checking for $ac_header" >&5
9585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6
9589 eval "$as_ac_Header=\$ac_header_preproc"
9591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9596 cat >>confdefs.h
<<_ACEOF
9597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9605 for ac_header
in sys
/proc.h
9607 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9608 echo "$as_me:$LINENO: checking for $ac_header" >&5
9609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9611 echo $ECHO_N "(cached) $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 #if HAVE_SYS_PARAM_H
9620 # include <sys/param.h>
9624 #include <$ac_header>
9626 rm -f conftest.
$ac_objext
9627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9628 (eval $ac_compile) 2>conftest.er1
9630 grep -v '^ *+' conftest.er1
>conftest.err
9632 cat conftest.err
>&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); } &&
9635 { ac_try
='test -z "$ac_c_werror_flag"
9636 || test ! -s conftest.err'
9637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641 (exit $ac_status); }; } &&
9642 { ac_try
='test -s conftest.$ac_objext'
9643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 (exit $ac_status); }; }; then
9648 eval "$as_ac_Header=yes"
9650 echo "$as_me: failed program was:" >&5
9651 sed 's/^/| /' conftest.
$ac_ext >&5
9653 eval "$as_ac_Header=no"
9655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9660 cat >>confdefs.h
<<_ACEOF
9661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9669 for ac_header
in sys
/procfs.h
9671 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9673 echo "$as_me:$LINENO: checking for $ac_header" >&5
9674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9676 echo $ECHO_N "(cached) $ECHO_C" >&6
9678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9681 # Is the header compilable?
9682 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9683 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9684 cat >conftest.
$ac_ext <<_ACEOF
9687 cat confdefs.h
>>conftest.
$ac_ext
9688 cat >>conftest.
$ac_ext <<_ACEOF
9689 /* end confdefs.h. */
9690 $ac_includes_default
9691 #include <$ac_header>
9693 rm -f conftest.
$ac_objext
9694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9695 (eval $ac_compile) 2>conftest.er1
9697 grep -v '^ *+' conftest.er1
>conftest.err
9699 cat conftest.err
>&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); } &&
9702 { ac_try
='test -z "$ac_c_werror_flag"
9703 || test ! -s conftest.err'
9704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); }; } &&
9709 { ac_try
='test -s conftest.$ac_objext'
9710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); }; }; then
9715 ac_header_compiler
=yes
9717 echo "$as_me: failed program was:" >&5
9718 sed 's/^/| /' conftest.
$ac_ext >&5
9720 ac_header_compiler
=no
9722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9724 echo "${ECHO_T}$ac_header_compiler" >&6
9726 # Is the header present?
9727 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9729 cat >conftest.
$ac_ext <<_ACEOF
9732 cat confdefs.h
>>conftest.
$ac_ext
9733 cat >>conftest.
$ac_ext <<_ACEOF
9734 /* end confdefs.h. */
9735 #include <$ac_header>
9737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9738 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9740 grep -v '^ *+' conftest.er1
>conftest.err
9742 cat conftest.err
>&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); } >/dev
/null
; then
9745 if test -s conftest.err
; then
9746 ac_cpp_err
=$ac_c_preproc_warn_flag
9747 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9754 if test -z "$ac_cpp_err"; then
9755 ac_header_preproc
=yes
9757 echo "$as_me: failed program was:" >&5
9758 sed 's/^/| /' conftest.
$ac_ext >&5
9760 ac_header_preproc
=no
9762 rm -f conftest.err conftest.
$ac_ext
9763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9764 echo "${ECHO_T}$ac_header_preproc" >&6
9766 # So? What about this header?
9767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9769 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9770 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9772 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9773 ac_header_preproc
=yes
9776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9780 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9781 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9782 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9783 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9786 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9790 ## ------------------------------------------ ##
9791 ## Report this to the AC_PACKAGE_NAME lists. ##
9792 ## ------------------------------------------ ##
9795 sed "s/^/$as_me: WARNING: /" >&2
9798 echo "$as_me:$LINENO: checking for $ac_header" >&5
9799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9801 echo $ECHO_N "(cached) $ECHO_C" >&6
9803 eval "$as_ac_Header=\$ac_header_preproc"
9805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9810 cat >>confdefs.h
<<_ACEOF
9811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9820 for ac_header
in sys
/ptrace.h ptrace.h
9822 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9824 echo "$as_me:$LINENO: checking for $ac_header" >&5
9825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9827 echo $ECHO_N "(cached) $ECHO_C" >&6
9829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9832 # Is the header compilable?
9833 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9834 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9835 cat >conftest.
$ac_ext <<_ACEOF
9838 cat confdefs.h
>>conftest.
$ac_ext
9839 cat >>conftest.
$ac_ext <<_ACEOF
9840 /* end confdefs.h. */
9841 $ac_includes_default
9842 #include <$ac_header>
9844 rm -f conftest.
$ac_objext
9845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9846 (eval $ac_compile) 2>conftest.er1
9848 grep -v '^ *+' conftest.er1
>conftest.err
9850 cat conftest.err
>&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); } &&
9853 { ac_try
='test -z "$ac_c_werror_flag"
9854 || test ! -s conftest.err'
9855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); }; } &&
9860 { ac_try
='test -s conftest.$ac_objext'
9861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); }; }; then
9866 ac_header_compiler
=yes
9868 echo "$as_me: failed program was:" >&5
9869 sed 's/^/| /' conftest.
$ac_ext >&5
9871 ac_header_compiler
=no
9873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9875 echo "${ECHO_T}$ac_header_compiler" >&6
9877 # Is the header present?
9878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9880 cat >conftest.
$ac_ext <<_ACEOF
9883 cat confdefs.h
>>conftest.
$ac_ext
9884 cat >>conftest.
$ac_ext <<_ACEOF
9885 /* end confdefs.h. */
9886 #include <$ac_header>
9888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9889 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9891 grep -v '^ *+' conftest.er1
>conftest.err
9893 cat conftest.err
>&5
9894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); } >/dev
/null
; then
9896 if test -s conftest.err
; then
9897 ac_cpp_err
=$ac_c_preproc_warn_flag
9898 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9905 if test -z "$ac_cpp_err"; then
9906 ac_header_preproc
=yes
9908 echo "$as_me: failed program was:" >&5
9909 sed 's/^/| /' conftest.
$ac_ext >&5
9911 ac_header_preproc
=no
9913 rm -f conftest.err conftest.
$ac_ext
9914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9915 echo "${ECHO_T}$ac_header_preproc" >&6
9917 # So? What about this header?
9918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9923 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9924 ac_header_preproc
=yes
9927 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9928 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9929 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9930 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9931 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9932 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9933 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9934 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9937 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9938 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9941 ## ------------------------------------------ ##
9942 ## Report this to the AC_PACKAGE_NAME lists. ##
9943 ## ------------------------------------------ ##
9946 sed "s/^/$as_me: WARNING: /" >&2
9949 echo "$as_me:$LINENO: checking for $ac_header" >&5
9950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9952 echo $ECHO_N "(cached) $ECHO_C" >&6
9954 eval "$as_ac_Header=\$ac_header_preproc"
9956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9961 cat >>confdefs.h
<<_ACEOF
9962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9971 for ac_header
in sys
/reg.h sys
/debugreg.h
9973 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9975 echo "$as_me:$LINENO: checking for $ac_header" >&5
9976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9978 echo $ECHO_N "(cached) $ECHO_C" >&6
9980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9983 # Is the header compilable?
9984 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9986 cat >conftest.
$ac_ext <<_ACEOF
9989 cat confdefs.h
>>conftest.
$ac_ext
9990 cat >>conftest.
$ac_ext <<_ACEOF
9991 /* end confdefs.h. */
9992 $ac_includes_default
9993 #include <$ac_header>
9995 rm -f conftest.
$ac_objext
9996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9997 (eval $ac_compile) 2>conftest.er1
9999 grep -v '^ *+' conftest.er1
>conftest.err
10001 cat conftest.err
>&5
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 (exit $ac_status); } &&
10004 { ac_try
='test -z "$ac_c_werror_flag"
10005 || test ! -s conftest.err'
10006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10007 (eval $ac_try) 2>&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); }; } &&
10011 { ac_try
='test -s conftest.$ac_objext'
10012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10013 (eval $ac_try) 2>&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); }; }; then
10017 ac_header_compiler
=yes
10019 echo "$as_me: failed program was:" >&5
10020 sed 's/^/| /' conftest.
$ac_ext >&5
10022 ac_header_compiler
=no
10024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10026 echo "${ECHO_T}$ac_header_compiler" >&6
10028 # Is the header present?
10029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10031 cat >conftest.
$ac_ext <<_ACEOF
10034 cat confdefs.h
>>conftest.
$ac_ext
10035 cat >>conftest.
$ac_ext <<_ACEOF
10036 /* end confdefs.h. */
10037 #include <$ac_header>
10039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10040 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10042 grep -v '^ *+' conftest.er1
>conftest.err
10044 cat conftest.err
>&5
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 (exit $ac_status); } >/dev
/null
; then
10047 if test -s conftest.err
; then
10048 ac_cpp_err
=$ac_c_preproc_warn_flag
10049 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10056 if test -z "$ac_cpp_err"; then
10057 ac_header_preproc
=yes
10059 echo "$as_me: failed program was:" >&5
10060 sed 's/^/| /' conftest.
$ac_ext >&5
10062 ac_header_preproc
=no
10064 rm -f conftest.err conftest.
$ac_ext
10065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10066 echo "${ECHO_T}$ac_header_preproc" >&6
10068 # So? What about this header?
10069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10075 ac_header_preproc
=yes
10078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10082 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10084 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10085 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10088 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10092 ## ------------------------------------------ ##
10093 ## Report this to the AC_PACKAGE_NAME lists. ##
10094 ## ------------------------------------------ ##
10097 sed "s/^/$as_me: WARNING: /" >&2
10100 echo "$as_me:$LINENO: checking for $ac_header" >&5
10101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10103 echo $ECHO_N "(cached) $ECHO_C" >&6
10105 eval "$as_ac_Header=\$ac_header_preproc"
10107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10112 cat >>confdefs.h
<<_ACEOF
10113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10121 for ac_header
in sys
/select.h
10123 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10125 echo "$as_me:$LINENO: checking for $ac_header" >&5
10126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10133 # Is the header compilable?
10134 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10136 cat >conftest.
$ac_ext <<_ACEOF
10139 cat confdefs.h
>>conftest.
$ac_ext
10140 cat >>conftest.
$ac_ext <<_ACEOF
10141 /* end confdefs.h. */
10142 $ac_includes_default
10143 #include <$ac_header>
10145 rm -f conftest.
$ac_objext
10146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10147 (eval $ac_compile) 2>conftest.er1
10149 grep -v '^ *+' conftest.er1
>conftest.err
10151 cat conftest.err
>&5
10152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 (exit $ac_status); } &&
10154 { ac_try
='test -z "$ac_c_werror_flag"
10155 || test ! -s conftest.err'
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); }; } &&
10161 { ac_try
='test -s conftest.$ac_objext'
10162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10163 (eval $ac_try) 2>&5
10165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); }; }; then
10167 ac_header_compiler
=yes
10169 echo "$as_me: failed program was:" >&5
10170 sed 's/^/| /' conftest.
$ac_ext >&5
10172 ac_header_compiler
=no
10174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10176 echo "${ECHO_T}$ac_header_compiler" >&6
10178 # Is the header present?
10179 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10181 cat >conftest.
$ac_ext <<_ACEOF
10184 cat confdefs.h
>>conftest.
$ac_ext
10185 cat >>conftest.
$ac_ext <<_ACEOF
10186 /* end confdefs.h. */
10187 #include <$ac_header>
10189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10190 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10192 grep -v '^ *+' conftest.er1
>conftest.err
10194 cat conftest.err
>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); } >/dev
/null
; then
10197 if test -s conftest.err
; then
10198 ac_cpp_err
=$ac_c_preproc_warn_flag
10199 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10206 if test -z "$ac_cpp_err"; then
10207 ac_header_preproc
=yes
10209 echo "$as_me: failed program was:" >&5
10210 sed 's/^/| /' conftest.
$ac_ext >&5
10212 ac_header_preproc
=no
10214 rm -f conftest.err conftest.
$ac_ext
10215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10216 echo "${ECHO_T}$ac_header_preproc" >&6
10218 # So? What about this header?
10219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10221 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10222 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10224 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10225 ac_header_preproc
=yes
10228 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10229 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10230 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10231 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10232 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10233 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10234 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10235 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10238 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10239 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10242 ## ------------------------------------------ ##
10243 ## Report this to the AC_PACKAGE_NAME lists. ##
10244 ## ------------------------------------------ ##
10247 sed "s/^/$as_me: WARNING: /" >&2
10250 echo "$as_me:$LINENO: checking for $ac_header" >&5
10251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10253 echo $ECHO_N "(cached) $ECHO_C" >&6
10255 eval "$as_ac_Header=\$ac_header_preproc"
10257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10262 cat >>confdefs.h
<<_ACEOF
10263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10271 for ac_header
in sys
/syscall.h
10273 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10275 echo "$as_me:$LINENO: checking for $ac_header" >&5
10276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10278 echo $ECHO_N "(cached) $ECHO_C" >&6
10280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10283 # Is the header compilable?
10284 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10285 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10286 cat >conftest.
$ac_ext <<_ACEOF
10289 cat confdefs.h
>>conftest.
$ac_ext
10290 cat >>conftest.
$ac_ext <<_ACEOF
10291 /* end confdefs.h. */
10292 $ac_includes_default
10293 #include <$ac_header>
10295 rm -f conftest.
$ac_objext
10296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10297 (eval $ac_compile) 2>conftest.er1
10299 grep -v '^ *+' conftest.er1
>conftest.err
10301 cat conftest.err
>&5
10302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 (exit $ac_status); } &&
10304 { ac_try
='test -z "$ac_c_werror_flag"
10305 || test ! -s conftest.err'
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); }; } &&
10311 { ac_try
='test -s conftest.$ac_objext'
10312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10313 (eval $ac_try) 2>&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); }; }; then
10317 ac_header_compiler
=yes
10319 echo "$as_me: failed program was:" >&5
10320 sed 's/^/| /' conftest.
$ac_ext >&5
10322 ac_header_compiler
=no
10324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10326 echo "${ECHO_T}$ac_header_compiler" >&6
10328 # Is the header present?
10329 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10330 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10331 cat >conftest.
$ac_ext <<_ACEOF
10334 cat confdefs.h
>>conftest.
$ac_ext
10335 cat >>conftest.
$ac_ext <<_ACEOF
10336 /* end confdefs.h. */
10337 #include <$ac_header>
10339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10340 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10342 grep -v '^ *+' conftest.er1
>conftest.err
10344 cat conftest.err
>&5
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); } >/dev
/null
; then
10347 if test -s conftest.err
; then
10348 ac_cpp_err
=$ac_c_preproc_warn_flag
10349 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10356 if test -z "$ac_cpp_err"; then
10357 ac_header_preproc
=yes
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.
$ac_ext >&5
10362 ac_header_preproc
=no
10364 rm -f conftest.err conftest.
$ac_ext
10365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10366 echo "${ECHO_T}$ac_header_preproc" >&6
10368 # So? What about this header?
10369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10371 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10372 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10374 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10375 ac_header_preproc
=yes
10378 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10379 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10380 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10381 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10382 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10383 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10384 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10385 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10387 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10388 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10389 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10392 ## ------------------------------------------ ##
10393 ## Report this to the AC_PACKAGE_NAME lists. ##
10394 ## ------------------------------------------ ##
10397 sed "s/^/$as_me: WARNING: /" >&2
10400 echo "$as_me:$LINENO: checking for $ac_header" >&5
10401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 eval "$as_ac_Header=\$ac_header_preproc"
10407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10412 cat >>confdefs.h
<<_ACEOF
10413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10421 for ac_header
in sys
/types.h
10423 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10425 echo "$as_me:$LINENO: checking for $ac_header" >&5
10426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10428 echo $ECHO_N "(cached) $ECHO_C" >&6
10430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10433 # Is the header compilable?
10434 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10436 cat >conftest.
$ac_ext <<_ACEOF
10439 cat confdefs.h
>>conftest.
$ac_ext
10440 cat >>conftest.
$ac_ext <<_ACEOF
10441 /* end confdefs.h. */
10442 $ac_includes_default
10443 #include <$ac_header>
10445 rm -f conftest.
$ac_objext
10446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10447 (eval $ac_compile) 2>conftest.er1
10449 grep -v '^ *+' conftest.er1
>conftest.err
10451 cat conftest.err
>&5
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); } &&
10454 { ac_try
='test -z "$ac_c_werror_flag"
10455 || test ! -s conftest.err'
10456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10457 (eval $ac_try) 2>&5
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); }; } &&
10461 { ac_try
='test -s conftest.$ac_objext'
10462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10463 (eval $ac_try) 2>&5
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); }; }; then
10467 ac_header_compiler
=yes
10469 echo "$as_me: failed program was:" >&5
10470 sed 's/^/| /' conftest.
$ac_ext >&5
10472 ac_header_compiler
=no
10474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10476 echo "${ECHO_T}$ac_header_compiler" >&6
10478 # Is the header present?
10479 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10481 cat >conftest.
$ac_ext <<_ACEOF
10484 cat confdefs.h
>>conftest.
$ac_ext
10485 cat >>conftest.
$ac_ext <<_ACEOF
10486 /* end confdefs.h. */
10487 #include <$ac_header>
10489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10490 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10492 grep -v '^ *+' conftest.er1
>conftest.err
10494 cat conftest.err
>&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); } >/dev
/null
; then
10497 if test -s conftest.err
; then
10498 ac_cpp_err
=$ac_c_preproc_warn_flag
10499 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10506 if test -z "$ac_cpp_err"; then
10507 ac_header_preproc
=yes
10509 echo "$as_me: failed program was:" >&5
10510 sed 's/^/| /' conftest.
$ac_ext >&5
10512 ac_header_preproc
=no
10514 rm -f conftest.err conftest.
$ac_ext
10515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10516 echo "${ECHO_T}$ac_header_preproc" >&6
10518 # So? What about this header?
10519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10525 ac_header_preproc
=yes
10528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10542 ## ------------------------------------------ ##
10543 ## Report this to the AC_PACKAGE_NAME lists. ##
10544 ## ------------------------------------------ ##
10547 sed "s/^/$as_me: WARNING: /" >&2
10550 echo "$as_me:$LINENO: checking for $ac_header" >&5
10551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10553 echo $ECHO_N "(cached) $ECHO_C" >&6
10555 eval "$as_ac_Header=\$ac_header_preproc"
10557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10562 cat >>confdefs.h
<<_ACEOF
10563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10571 for ac_header
in sys
/user.h
10573 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10574 echo "$as_me:$LINENO: checking for $ac_header" >&5
10575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10577 echo $ECHO_N "(cached) $ECHO_C" >&6
10579 cat >conftest.
$ac_ext <<_ACEOF
10582 cat confdefs.h
>>conftest.
$ac_ext
10583 cat >>conftest.
$ac_ext <<_ACEOF
10584 /* end confdefs.h. */
10585 #if HAVE_SYS_PARAM_H
10586 # include <sys/param.h>
10590 #include <$ac_header>
10592 rm -f conftest.
$ac_objext
10593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10594 (eval $ac_compile) 2>conftest.er1
10596 grep -v '^ *+' conftest.er1
>conftest.err
10598 cat conftest.err
>&5
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); } &&
10601 { ac_try
='test -z "$ac_c_werror_flag"
10602 || test ! -s conftest.err'
10603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10604 (eval $ac_try) 2>&5
10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 (exit $ac_status); }; } &&
10608 { ac_try
='test -s conftest.$ac_objext'
10609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10610 (eval $ac_try) 2>&5
10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); }; }; then
10614 eval "$as_ac_Header=yes"
10616 echo "$as_me: failed program was:" >&5
10617 sed 's/^/| /' conftest.
$ac_ext >&5
10619 eval "$as_ac_Header=no"
10621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10626 cat >>confdefs.h
<<_ACEOF
10627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10636 for ac_header
in sys
/wait.h
wait.h
10638 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10640 echo "$as_me:$LINENO: checking for $ac_header" >&5
10641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10643 echo $ECHO_N "(cached) $ECHO_C" >&6
10645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10648 # Is the header compilable?
10649 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10651 cat >conftest.
$ac_ext <<_ACEOF
10654 cat confdefs.h
>>conftest.
$ac_ext
10655 cat >>conftest.
$ac_ext <<_ACEOF
10656 /* end confdefs.h. */
10657 $ac_includes_default
10658 #include <$ac_header>
10660 rm -f conftest.
$ac_objext
10661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10662 (eval $ac_compile) 2>conftest.er1
10664 grep -v '^ *+' conftest.er1
>conftest.err
10666 cat conftest.err
>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); } &&
10669 { ac_try
='test -z "$ac_c_werror_flag"
10670 || test ! -s conftest.err'
10671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10672 (eval $ac_try) 2>&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); }; } &&
10676 { ac_try
='test -s conftest.$ac_objext'
10677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10678 (eval $ac_try) 2>&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); }; }; then
10682 ac_header_compiler
=yes
10684 echo "$as_me: failed program was:" >&5
10685 sed 's/^/| /' conftest.
$ac_ext >&5
10687 ac_header_compiler
=no
10689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10690 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10691 echo "${ECHO_T}$ac_header_compiler" >&6
10693 # Is the header present?
10694 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10696 cat >conftest.
$ac_ext <<_ACEOF
10699 cat confdefs.h
>>conftest.
$ac_ext
10700 cat >>conftest.
$ac_ext <<_ACEOF
10701 /* end confdefs.h. */
10702 #include <$ac_header>
10704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10705 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10707 grep -v '^ *+' conftest.er1
>conftest.err
10709 cat conftest.err
>&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); } >/dev
/null
; then
10712 if test -s conftest.err
; then
10713 ac_cpp_err
=$ac_c_preproc_warn_flag
10714 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10721 if test -z "$ac_cpp_err"; then
10722 ac_header_preproc
=yes
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.
$ac_ext >&5
10727 ac_header_preproc
=no
10729 rm -f conftest.err conftest.
$ac_ext
10730 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10731 echo "${ECHO_T}$ac_header_preproc" >&6
10733 # So? What about this header?
10734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10736 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10737 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10739 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10740 ac_header_preproc
=yes
10743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10747 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10748 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10749 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10750 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10753 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10754 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10757 ## ------------------------------------------ ##
10758 ## Report this to the AC_PACKAGE_NAME lists. ##
10759 ## ------------------------------------------ ##
10762 sed "s/^/$as_me: WARNING: /" >&2
10765 echo "$as_me:$LINENO: checking for $ac_header" >&5
10766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10768 echo $ECHO_N "(cached) $ECHO_C" >&6
10770 eval "$as_ac_Header=\$ac_header_preproc"
10772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10777 cat >>confdefs.h
<<_ACEOF
10778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10788 for ac_header
in termios.h termio.h sgtty.h
10790 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10792 echo "$as_me:$LINENO: checking for $ac_header" >&5
10793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10800 # Is the header compilable?
10801 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10802 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10803 cat >conftest.
$ac_ext <<_ACEOF
10806 cat confdefs.h
>>conftest.
$ac_ext
10807 cat >>conftest.
$ac_ext <<_ACEOF
10808 /* end confdefs.h. */
10809 $ac_includes_default
10810 #include <$ac_header>
10812 rm -f conftest.
$ac_objext
10813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10814 (eval $ac_compile) 2>conftest.er1
10816 grep -v '^ *+' conftest.er1
>conftest.err
10818 cat conftest.err
>&5
10819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820 (exit $ac_status); } &&
10821 { ac_try
='test -z "$ac_c_werror_flag"
10822 || test ! -s conftest.err'
10823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10824 (eval $ac_try) 2>&5
10826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10827 (exit $ac_status); }; } &&
10828 { ac_try
='test -s conftest.$ac_objext'
10829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10830 (eval $ac_try) 2>&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); }; }; then
10834 ac_header_compiler
=yes
10836 echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.
$ac_ext >&5
10839 ac_header_compiler
=no
10841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10842 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10843 echo "${ECHO_T}$ac_header_compiler" >&6
10845 # Is the header present?
10846 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10847 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10848 cat >conftest.
$ac_ext <<_ACEOF
10851 cat confdefs.h
>>conftest.
$ac_ext
10852 cat >>conftest.
$ac_ext <<_ACEOF
10853 /* end confdefs.h. */
10854 #include <$ac_header>
10856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10857 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10859 grep -v '^ *+' conftest.er1
>conftest.err
10861 cat conftest.err
>&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); } >/dev
/null
; then
10864 if test -s conftest.err
; then
10865 ac_cpp_err
=$ac_c_preproc_warn_flag
10866 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10873 if test -z "$ac_cpp_err"; then
10874 ac_header_preproc
=yes
10876 echo "$as_me: failed program was:" >&5
10877 sed 's/^/| /' conftest.
$ac_ext >&5
10879 ac_header_preproc
=no
10881 rm -f conftest.err conftest.
$ac_ext
10882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10883 echo "${ECHO_T}$ac_header_preproc" >&6
10885 # So? What about this header?
10886 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10888 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10889 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10891 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10892 ac_header_preproc
=yes
10895 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10896 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10897 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10898 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10899 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10900 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10901 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10902 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10904 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10905 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10906 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10909 ## ------------------------------------------ ##
10910 ## Report this to the AC_PACKAGE_NAME lists. ##
10911 ## ------------------------------------------ ##
10914 sed "s/^/$as_me: WARNING: /" >&2
10917 echo "$as_me:$LINENO: checking for $ac_header" >&5
10918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10920 echo $ECHO_N "(cached) $ECHO_C" >&6
10922 eval "$as_ac_Header=\$ac_header_preproc"
10924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10929 cat >>confdefs.h
<<_ACEOF
10930 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10938 for ac_header
in unistd.h
10940 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10942 echo "$as_me:$LINENO: checking for $ac_header" >&5
10943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10950 # Is the header compilable?
10951 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10953 cat >conftest.
$ac_ext <<_ACEOF
10956 cat confdefs.h
>>conftest.
$ac_ext
10957 cat >>conftest.
$ac_ext <<_ACEOF
10958 /* end confdefs.h. */
10959 $ac_includes_default
10960 #include <$ac_header>
10962 rm -f conftest.
$ac_objext
10963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10964 (eval $ac_compile) 2>conftest.er1
10966 grep -v '^ *+' conftest.er1
>conftest.err
10968 cat conftest.err
>&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); } &&
10971 { ac_try
='test -z "$ac_c_werror_flag"
10972 || test ! -s conftest.err'
10973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10974 (eval $ac_try) 2>&5
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); }; } &&
10978 { ac_try
='test -s conftest.$ac_objext'
10979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10980 (eval $ac_try) 2>&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); }; }; then
10984 ac_header_compiler
=yes
10986 echo "$as_me: failed program was:" >&5
10987 sed 's/^/| /' conftest.
$ac_ext >&5
10989 ac_header_compiler
=no
10991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10993 echo "${ECHO_T}$ac_header_compiler" >&6
10995 # Is the header present?
10996 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10997 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10998 cat >conftest.
$ac_ext <<_ACEOF
11001 cat confdefs.h
>>conftest.
$ac_ext
11002 cat >>conftest.
$ac_ext <<_ACEOF
11003 /* end confdefs.h. */
11004 #include <$ac_header>
11006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11009 grep -v '^ *+' conftest.er1
>conftest.err
11011 cat conftest.err
>&5
11012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11013 (exit $ac_status); } >/dev
/null
; then
11014 if test -s conftest.err
; then
11015 ac_cpp_err
=$ac_c_preproc_warn_flag
11016 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11023 if test -z "$ac_cpp_err"; then
11024 ac_header_preproc
=yes
11026 echo "$as_me: failed program was:" >&5
11027 sed 's/^/| /' conftest.
$ac_ext >&5
11029 ac_header_preproc
=no
11031 rm -f conftest.err conftest.
$ac_ext
11032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11033 echo "${ECHO_T}$ac_header_preproc" >&6
11035 # So? What about this header?
11036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11038 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11041 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11042 ac_header_preproc
=yes
11045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11049 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11050 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11051 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11052 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11054 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11055 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11056 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11059 ## ------------------------------------------ ##
11060 ## Report this to the AC_PACKAGE_NAME lists. ##
11061 ## ------------------------------------------ ##
11064 sed "s/^/$as_me: WARNING: /" >&2
11067 echo "$as_me:$LINENO: checking for $ac_header" >&5
11068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11070 echo $ECHO_N "(cached) $ECHO_C" >&6
11072 eval "$as_ac_Header=\$ac_header_preproc"
11074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11079 cat >>confdefs.h
<<_ACEOF
11080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11088 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
11089 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
11090 # think that we don't have <curses.h> if we're using GCC.
11093 if test "$GCC" = yes; then
11095 cat >>confdefs.h
<<\_ACEOF
11096 #define _MSE_INT_H 1
11105 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
11107 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11109 echo "$as_me:$LINENO: checking for $ac_header" >&5
11110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11112 echo $ECHO_N "(cached) $ECHO_C" >&6
11114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11117 # Is the header compilable?
11118 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11119 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11120 cat >conftest.
$ac_ext <<_ACEOF
11123 cat confdefs.h
>>conftest.
$ac_ext
11124 cat >>conftest.
$ac_ext <<_ACEOF
11125 /* end confdefs.h. */
11126 $ac_includes_default
11127 #include <$ac_header>
11129 rm -f conftest.
$ac_objext
11130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11131 (eval $ac_compile) 2>conftest.er1
11133 grep -v '^ *+' conftest.er1
>conftest.err
11135 cat conftest.err
>&5
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); } &&
11138 { ac_try
='test -z "$ac_c_werror_flag"
11139 || test ! -s conftest.err'
11140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11141 (eval $ac_try) 2>&5
11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144 (exit $ac_status); }; } &&
11145 { ac_try
='test -s conftest.$ac_objext'
11146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11147 (eval $ac_try) 2>&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }; }; then
11151 ac_header_compiler
=yes
11153 echo "$as_me: failed program was:" >&5
11154 sed 's/^/| /' conftest.
$ac_ext >&5
11156 ac_header_compiler
=no
11158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11159 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11160 echo "${ECHO_T}$ac_header_compiler" >&6
11162 # Is the header present?
11163 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11164 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11165 cat >conftest.
$ac_ext <<_ACEOF
11168 cat confdefs.h
>>conftest.
$ac_ext
11169 cat >>conftest.
$ac_ext <<_ACEOF
11170 /* end confdefs.h. */
11171 #include <$ac_header>
11173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11174 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11176 grep -v '^ *+' conftest.er1
>conftest.err
11178 cat conftest.err
>&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } >/dev
/null
; then
11181 if test -s conftest.err
; then
11182 ac_cpp_err
=$ac_c_preproc_warn_flag
11183 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11190 if test -z "$ac_cpp_err"; then
11191 ac_header_preproc
=yes
11193 echo "$as_me: failed program was:" >&5
11194 sed 's/^/| /' conftest.
$ac_ext >&5
11196 ac_header_preproc
=no
11198 rm -f conftest.err conftest.
$ac_ext
11199 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11200 echo "${ECHO_T}$ac_header_preproc" >&6
11202 # So? What about this header?
11203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11205 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11206 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11208 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11209 ac_header_preproc
=yes
11212 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11213 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11214 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11215 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11216 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11217 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11218 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11219 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11222 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11223 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11226 ## ------------------------------------------ ##
11227 ## Report this to the AC_PACKAGE_NAME lists. ##
11228 ## ------------------------------------------ ##
11231 sed "s/^/$as_me: WARNING: /" >&2
11234 echo "$as_me:$LINENO: checking for $ac_header" >&5
11235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11239 eval "$as_ac_Header=\$ac_header_preproc"
11241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11246 cat >>confdefs.h
<<_ACEOF
11247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11255 for ac_header
in ncurses
/term.h
11257 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11259 echo "$as_me:$LINENO: checking for $ac_header" >&5
11260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11262 echo $ECHO_N "(cached) $ECHO_C" >&6
11264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11267 # Is the header compilable?
11268 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11269 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11270 cat >conftest.
$ac_ext <<_ACEOF
11273 cat confdefs.h
>>conftest.
$ac_ext
11274 cat >>conftest.
$ac_ext <<_ACEOF
11275 /* end confdefs.h. */
11276 $ac_includes_default
11277 #include <$ac_header>
11279 rm -f conftest.
$ac_objext
11280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11281 (eval $ac_compile) 2>conftest.er1
11283 grep -v '^ *+' conftest.er1
>conftest.err
11285 cat conftest.err
>&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } &&
11288 { ac_try
='test -z "$ac_c_werror_flag"
11289 || test ! -s conftest.err'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; } &&
11295 { ac_try
='test -s conftest.$ac_objext'
11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 (eval $ac_try) 2>&5
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11301 ac_header_compiler
=yes
11303 echo "$as_me: failed program was:" >&5
11304 sed 's/^/| /' conftest.
$ac_ext >&5
11306 ac_header_compiler
=no
11308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11309 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11310 echo "${ECHO_T}$ac_header_compiler" >&6
11312 # Is the header present?
11313 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11314 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11315 cat >conftest.
$ac_ext <<_ACEOF
11318 cat confdefs.h
>>conftest.
$ac_ext
11319 cat >>conftest.
$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11321 #include <$ac_header>
11323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11324 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11326 grep -v '^ *+' conftest.er1
>conftest.err
11328 cat conftest.err
>&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); } >/dev
/null
; then
11331 if test -s conftest.err
; then
11332 ac_cpp_err
=$ac_c_preproc_warn_flag
11333 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11340 if test -z "$ac_cpp_err"; then
11341 ac_header_preproc
=yes
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.
$ac_ext >&5
11346 ac_header_preproc
=no
11348 rm -f conftest.err conftest.
$ac_ext
11349 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11350 echo "${ECHO_T}$ac_header_preproc" >&6
11352 # So? What about this header?
11353 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11355 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11356 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11358 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11359 ac_header_preproc
=yes
11362 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11363 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11364 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11365 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11366 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11367 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11368 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11369 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11372 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11373 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11376 ## ------------------------------------------ ##
11377 ## Report this to the AC_PACKAGE_NAME lists. ##
11378 ## ------------------------------------------ ##
11381 sed "s/^/$as_me: WARNING: /" >&2
11384 echo "$as_me:$LINENO: checking for $ac_header" >&5
11385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11387 echo $ECHO_N "(cached) $ECHO_C" >&6
11389 eval "$as_ac_Header=\$ac_header_preproc"
11391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11396 cat >>confdefs.h
<<_ACEOF
11397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11405 for ac_header
in term.h
11407 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11408 echo "$as_me:$LINENO: checking for $ac_header" >&5
11409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11411 echo $ECHO_N "(cached) $ECHO_C" >&6
11413 cat >conftest.
$ac_ext <<_ACEOF
11416 cat confdefs.h
>>conftest.
$ac_ext
11417 cat >>conftest.
$ac_ext <<_ACEOF
11418 /* end confdefs.h. */
11420 # include <curses.h>
11424 #include <$ac_header>
11426 rm -f conftest.
$ac_objext
11427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11428 (eval $ac_compile) 2>conftest.er1
11430 grep -v '^ *+' conftest.er1
>conftest.err
11432 cat conftest.err
>&5
11433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11434 (exit $ac_status); } &&
11435 { ac_try
='test -z "$ac_c_werror_flag"
11436 || test ! -s conftest.err'
11437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11438 (eval $ac_try) 2>&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); }; } &&
11442 { ac_try
='test -s conftest.$ac_objext'
11443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11444 (eval $ac_try) 2>&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); }; }; then
11448 eval "$as_ac_Header=yes"
11450 echo "$as_me: failed program was:" >&5
11451 sed 's/^/| /' conftest.
$ac_ext >&5
11453 eval "$as_ac_Header=no"
11455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11460 cat >>confdefs.h
<<_ACEOF
11461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11469 # Check for HP/UX 64-bit shared library support
11471 for ac_header
in elf_hp.h
11473 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11475 echo "$as_me:$LINENO: checking for $ac_header" >&5
11476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11483 # Is the header compilable?
11484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11486 cat >conftest.
$ac_ext <<_ACEOF
11489 cat confdefs.h
>>conftest.
$ac_ext
11490 cat >>conftest.
$ac_ext <<_ACEOF
11491 /* end confdefs.h. */
11492 $ac_includes_default
11493 #include <$ac_header>
11495 rm -f conftest.
$ac_objext
11496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11497 (eval $ac_compile) 2>conftest.er1
11499 grep -v '^ *+' conftest.er1
>conftest.err
11501 cat conftest.err
>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); } &&
11504 { ac_try
='test -z "$ac_c_werror_flag"
11505 || test ! -s conftest.err'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; } &&
11511 { ac_try
='test -s conftest.$ac_objext'
11512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11513 (eval $ac_try) 2>&5
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); }; }; then
11517 ac_header_compiler
=yes
11519 echo "$as_me: failed program was:" >&5
11520 sed 's/^/| /' conftest.
$ac_ext >&5
11522 ac_header_compiler
=no
11524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11526 echo "${ECHO_T}$ac_header_compiler" >&6
11528 # Is the header present?
11529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11531 cat >conftest.
$ac_ext <<_ACEOF
11534 cat confdefs.h
>>conftest.
$ac_ext
11535 cat >>conftest.
$ac_ext <<_ACEOF
11536 /* end confdefs.h. */
11537 #include <$ac_header>
11539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11542 grep -v '^ *+' conftest.er1
>conftest.err
11544 cat conftest.err
>&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); } >/dev
/null
; then
11547 if test -s conftest.err
; then
11548 ac_cpp_err
=$ac_c_preproc_warn_flag
11549 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11556 if test -z "$ac_cpp_err"; then
11557 ac_header_preproc
=yes
11559 echo "$as_me: failed program was:" >&5
11560 sed 's/^/| /' conftest.
$ac_ext >&5
11562 ac_header_preproc
=no
11564 rm -f conftest.err conftest.
$ac_ext
11565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11566 echo "${ECHO_T}$ac_header_preproc" >&6
11568 # So? What about this header?
11569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11575 ac_header_preproc
=yes
11578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11592 ## ------------------------------------------ ##
11593 ## Report this to the AC_PACKAGE_NAME lists. ##
11594 ## ------------------------------------------ ##
11597 sed "s/^/$as_me: WARNING: /" >&2
11600 echo "$as_me:$LINENO: checking for $ac_header" >&5
11601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11605 eval "$as_ac_Header=\$ac_header_preproc"
11607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11612 cat >>confdefs.h
<<_ACEOF
11613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11621 # FIXME: kettenis/20030102: In most cases we include these
11622 # unconditionally, so what's the point in checking these?
11625 for ac_header
in ctype.h
time.h
11627 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11629 echo "$as_me:$LINENO: checking for $ac_header" >&5
11630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11632 echo $ECHO_N "(cached) $ECHO_C" >&6
11634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11637 # Is the header compilable?
11638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11640 cat >conftest.
$ac_ext <<_ACEOF
11643 cat confdefs.h
>>conftest.
$ac_ext
11644 cat >>conftest.
$ac_ext <<_ACEOF
11645 /* end confdefs.h. */
11646 $ac_includes_default
11647 #include <$ac_header>
11649 rm -f conftest.
$ac_objext
11650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11651 (eval $ac_compile) 2>conftest.er1
11653 grep -v '^ *+' conftest.er1
>conftest.err
11655 cat conftest.err
>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); } &&
11658 { ac_try
='test -z "$ac_c_werror_flag"
11659 || test ! -s conftest.err'
11660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661 (eval $ac_try) 2>&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; } &&
11665 { ac_try
='test -s conftest.$ac_objext'
11666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11667 (eval $ac_try) 2>&5
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); }; }; then
11671 ac_header_compiler
=yes
11673 echo "$as_me: failed program was:" >&5
11674 sed 's/^/| /' conftest.
$ac_ext >&5
11676 ac_header_compiler
=no
11678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11680 echo "${ECHO_T}$ac_header_compiler" >&6
11682 # Is the header present?
11683 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11685 cat >conftest.
$ac_ext <<_ACEOF
11688 cat confdefs.h
>>conftest.
$ac_ext
11689 cat >>conftest.
$ac_ext <<_ACEOF
11690 /* end confdefs.h. */
11691 #include <$ac_header>
11693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11694 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11696 grep -v '^ *+' conftest.er1
>conftest.err
11698 cat conftest.err
>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); } >/dev
/null
; then
11701 if test -s conftest.err
; then
11702 ac_cpp_err
=$ac_c_preproc_warn_flag
11703 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11710 if test -z "$ac_cpp_err"; then
11711 ac_header_preproc
=yes
11713 echo "$as_me: failed program was:" >&5
11714 sed 's/^/| /' conftest.
$ac_ext >&5
11716 ac_header_preproc
=no
11718 rm -f conftest.err conftest.
$ac_ext
11719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11720 echo "${ECHO_T}$ac_header_preproc" >&6
11722 # So? What about this header?
11723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11728 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11729 ac_header_preproc
=yes
11732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11736 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11737 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11738 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11739 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11742 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11746 ## ------------------------------------------ ##
11747 ## Report this to the AC_PACKAGE_NAME lists. ##
11748 ## ------------------------------------------ ##
11751 sed "s/^/$as_me: WARNING: /" >&2
11754 echo "$as_me:$LINENO: checking for $ac_header" >&5
11755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11757 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 eval "$as_ac_Header=\$ac_header_preproc"
11761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11766 cat >>confdefs.h
<<_ACEOF
11767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11775 # Create a header we can use portably to get the standard integer types.
11778 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
11780 acx_cv_header_stdint
=stddef.h
11781 acx_cv_header_stdint_kind
="(already complete)"
11782 for i
in stdint.h
$inttype_headers; do
11783 unset ac_cv_type_uintptr_t
11784 unset ac_cv_type_uintmax_t
11785 unset ac_cv_type_int_least32_t
11786 unset ac_cv_type_int_fast32_t
11787 unset ac_cv_type_uint64_t
11788 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
11789 echo "$as_me:$LINENO: checking for uintmax_t" >&5
11790 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
11791 if test "${ac_cv_type_uintmax_t+set}" = set; then
11792 echo $ECHO_N "(cached) $ECHO_C" >&6
11794 cat >conftest.
$ac_ext <<_ACEOF
11797 cat confdefs.h
>>conftest.
$ac_ext
11798 cat >>conftest.
$ac_ext <<_ACEOF
11799 /* end confdefs.h. */
11800 #include <sys/types.h>
11806 if ((uintmax_t *) 0)
11808 if (sizeof (uintmax_t))
11814 rm -f conftest.
$ac_objext
11815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11816 (eval $ac_compile) 2>conftest.er1
11818 grep -v '^ *+' conftest.er1
>conftest.err
11820 cat conftest.err
>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); } &&
11823 { ac_try
='test -z "$ac_c_werror_flag"
11824 || test ! -s conftest.err'
11825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11826 (eval $ac_try) 2>&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); }; } &&
11830 { ac_try
='test -s conftest.$ac_objext'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; }; then
11836 ac_cv_type_uintmax_t
=yes
11838 echo "$as_me: failed program was:" >&5
11839 sed 's/^/| /' conftest.
$ac_ext >&5
11841 ac_cv_type_uintmax_t
=no
11843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11845 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
11846 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
11847 if test $ac_cv_type_uintmax_t = yes; then
11848 acx_cv_header_stdint
=$i
11853 echo "$as_me:$LINENO: checking for uintptr_t" >&5
11854 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
11855 if test "${ac_cv_type_uintptr_t+set}" = set; then
11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11858 cat >conftest.
$ac_ext <<_ACEOF
11861 cat confdefs.h
>>conftest.
$ac_ext
11862 cat >>conftest.
$ac_ext <<_ACEOF
11863 /* end confdefs.h. */
11864 #include <sys/types.h>
11870 if ((uintptr_t *) 0)
11872 if (sizeof (uintptr_t))
11878 rm -f conftest.
$ac_objext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11880 (eval $ac_compile) 2>conftest.er1
11882 grep -v '^ *+' conftest.er1
>conftest.err
11884 cat conftest.err
>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } &&
11887 { ac_try
='test -z "$ac_c_werror_flag"
11888 || test ! -s conftest.err'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; } &&
11894 { ac_try
='test -s conftest.$ac_objext'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 ac_cv_type_uintptr_t
=yes
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.
$ac_ext >&5
11905 ac_cv_type_uintptr_t
=no
11907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11909 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11910 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
11911 if test $ac_cv_type_uintptr_t = yes; then
11914 acx_cv_header_stdint_kind
="(mostly complete)"
11917 echo "$as_me:$LINENO: checking for int_least32_t" >&5
11918 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
11919 if test "${ac_cv_type_int_least32_t+set}" = set; then
11920 echo $ECHO_N "(cached) $ECHO_C" >&6
11922 cat >conftest.
$ac_ext <<_ACEOF
11925 cat confdefs.h
>>conftest.
$ac_ext
11926 cat >>conftest.
$ac_ext <<_ACEOF
11927 /* end confdefs.h. */
11928 #include <sys/types.h>
11934 if ((int_least32_t *) 0)
11936 if (sizeof (int_least32_t))
11942 rm -f conftest.
$ac_objext
11943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11944 (eval $ac_compile) 2>conftest.er1
11946 grep -v '^ *+' conftest.er1
>conftest.err
11948 cat conftest.err
>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } &&
11951 { ac_try
='test -z "$ac_c_werror_flag"
11952 || test ! -s conftest.err'
11953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954 (eval $ac_try) 2>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); }; } &&
11958 { ac_try
='test -s conftest.$ac_objext'
11959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960 (eval $ac_try) 2>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); }; }; then
11964 ac_cv_type_int_least32_t
=yes
11966 echo "$as_me: failed program was:" >&5
11967 sed 's/^/| /' conftest.
$ac_ext >&5
11969 ac_cv_type_int_least32_t
=no
11971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11973 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
11974 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
11975 if test $ac_cv_type_int_least32_t = yes; then
11978 acx_cv_header_stdint_kind
="(mostly complete)"
11981 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
11982 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
11983 if test "${ac_cv_type_int_fast32_t+set}" = set; then
11984 echo $ECHO_N "(cached) $ECHO_C" >&6
11986 cat >conftest.
$ac_ext <<_ACEOF
11989 cat confdefs.h
>>conftest.
$ac_ext
11990 cat >>conftest.
$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11992 #include <sys/types.h>
11998 if ((int_fast32_t *) 0)
12000 if (sizeof (int_fast32_t))
12006 rm -f conftest.
$ac_objext
12007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12008 (eval $ac_compile) 2>conftest.er1
12010 grep -v '^ *+' conftest.er1
>conftest.err
12012 cat conftest.err
>&5
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); } &&
12015 { ac_try
='test -z "$ac_c_werror_flag"
12016 || test ! -s conftest.err'
12017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12018 (eval $ac_try) 2>&5
12020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021 (exit $ac_status); }; } &&
12022 { ac_try
='test -s conftest.$ac_objext'
12023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12024 (eval $ac_try) 2>&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); }; }; then
12028 ac_cv_type_int_fast32_t
=yes
12030 echo "$as_me: failed program was:" >&5
12031 sed 's/^/| /' conftest.
$ac_ext >&5
12033 ac_cv_type_int_fast32_t
=no
12035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12037 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
12038 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
12039 if test $ac_cv_type_int_fast32_t = yes; then
12042 acx_cv_header_stdint_kind
="(mostly complete)"
12045 echo "$as_me:$LINENO: checking for uint64_t" >&5
12046 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
12047 if test "${ac_cv_type_uint64_t+set}" = set; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 cat >conftest.
$ac_ext <<_ACEOF
12053 cat confdefs.h
>>conftest.
$ac_ext
12054 cat >>conftest.
$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12056 #include <sys/types.h>
12062 if ((uint64_t *) 0)
12064 if (sizeof (uint64_t))
12070 rm -f conftest.
$ac_objext
12071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12072 (eval $ac_compile) 2>conftest.er1
12074 grep -v '^ *+' conftest.er1
>conftest.err
12076 cat conftest.err
>&5
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); } &&
12079 { ac_try
='test -z "$ac_c_werror_flag"
12080 || test ! -s conftest.err'
12081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; } &&
12086 { ac_try
='test -s conftest.$ac_objext'
12087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12088 (eval $ac_try) 2>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); }; }; then
12092 ac_cv_type_uint64_t
=yes
12094 echo "$as_me: failed program was:" >&5
12095 sed 's/^/| /' conftest.
$ac_ext >&5
12097 ac_cv_type_uint64_t
=no
12099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12101 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
12102 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
12103 if test $ac_cv_type_uint64_t = yes; then
12106 acx_cv_header_stdint_kind
="(lacks uint64_t)"
12111 if test "$acx_cv_header_stdint" = stddef.h
; then
12112 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
12113 for i
in stdint.h
$inttype_headers; do
12114 unset ac_cv_type_uintptr_t
12115 unset ac_cv_type_uint32_t
12116 unset ac_cv_type_uint64_t
12117 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
12118 echo "$as_me:$LINENO: checking for uint32_t" >&5
12119 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
12120 if test "${ac_cv_type_uint32_t+set}" = set; then
12121 echo $ECHO_N "(cached) $ECHO_C" >&6
12123 cat >conftest.
$ac_ext <<_ACEOF
12126 cat confdefs.h
>>conftest.
$ac_ext
12127 cat >>conftest.
$ac_ext <<_ACEOF
12128 /* end confdefs.h. */
12129 #include <sys/types.h>
12135 if ((uint32_t *) 0)
12137 if (sizeof (uint32_t))
12143 rm -f conftest.
$ac_objext
12144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12145 (eval $ac_compile) 2>conftest.er1
12147 grep -v '^ *+' conftest.er1
>conftest.err
12149 cat conftest.err
>&5
12150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151 (exit $ac_status); } &&
12152 { ac_try
='test -z "$ac_c_werror_flag"
12153 || test ! -s conftest.err'
12154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12155 (eval $ac_try) 2>&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); }; } &&
12159 { ac_try
='test -s conftest.$ac_objext'
12160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12161 (eval $ac_try) 2>&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); }; }; then
12165 ac_cv_type_uint32_t
=yes
12167 echo "$as_me: failed program was:" >&5
12168 sed 's/^/| /' conftest.
$ac_ext >&5
12170 ac_cv_type_uint32_t
=no
12172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12174 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
12175 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
12176 if test $ac_cv_type_uint32_t = yes; then
12177 acx_cv_header_stdint
=$i
12182 echo "$as_me:$LINENO: checking for uint64_t" >&5
12183 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
12184 if test "${ac_cv_type_uint64_t+set}" = set; then
12185 echo $ECHO_N "(cached) $ECHO_C" >&6
12187 cat >conftest.
$ac_ext <<_ACEOF
12190 cat confdefs.h
>>conftest.
$ac_ext
12191 cat >>conftest.
$ac_ext <<_ACEOF
12192 /* end confdefs.h. */
12193 #include <sys/types.h>
12199 if ((uint64_t *) 0)
12201 if (sizeof (uint64_t))
12207 rm -f conftest.
$ac_objext
12208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12209 (eval $ac_compile) 2>conftest.er1
12211 grep -v '^ *+' conftest.er1
>conftest.err
12213 cat conftest.err
>&5
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); } &&
12216 { ac_try
='test -z "$ac_c_werror_flag"
12217 || test ! -s conftest.err'
12218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12219 (eval $ac_try) 2>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); }; } &&
12223 { ac_try
='test -s conftest.$ac_objext'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; }; then
12229 ac_cv_type_uint64_t
=yes
12231 echo "$as_me: failed program was:" >&5
12232 sed 's/^/| /' conftest.
$ac_ext >&5
12234 ac_cv_type_uint64_t
=no
12236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12238 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
12239 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
12241 echo "$as_me:$LINENO: checking for uintptr_t" >&5
12242 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
12243 if test "${ac_cv_type_uintptr_t+set}" = set; then
12244 echo $ECHO_N "(cached) $ECHO_C" >&6
12246 cat >conftest.
$ac_ext <<_ACEOF
12249 cat confdefs.h
>>conftest.
$ac_ext
12250 cat >>conftest.
$ac_ext <<_ACEOF
12251 /* end confdefs.h. */
12252 #include <sys/types.h>
12258 if ((uintptr_t *) 0)
12260 if (sizeof (uintptr_t))
12266 rm -f conftest.
$ac_objext
12267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12268 (eval $ac_compile) 2>conftest.er1
12270 grep -v '^ *+' conftest.er1
>conftest.err
12272 cat conftest.err
>&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); } &&
12275 { ac_try
='test -z "$ac_c_werror_flag"
12276 || test ! -s conftest.err'
12277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12278 (eval $ac_try) 2>&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); }; } &&
12282 { ac_try
='test -s conftest.$ac_objext'
12283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12284 (eval $ac_try) 2>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }; }; then
12288 ac_cv_type_uintptr_t
=yes
12290 echo "$as_me: failed program was:" >&5
12291 sed 's/^/| /' conftest.
$ac_ext >&5
12293 ac_cv_type_uintptr_t
=no
12295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12297 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
12298 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
12303 if test "$acx_cv_header_stdint" = stddef.h
; then
12304 acx_cv_header_stdint_kind
="(u_intXX_t style)"
12305 for i
in sys
/types.h
$inttype_headers; do
12306 unset ac_cv_type_u_int32_t
12307 unset ac_cv_type_u_int64_t
12308 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
12309 echo "$as_me:$LINENO: checking for u_int32_t" >&5
12310 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
12311 if test "${ac_cv_type_u_int32_t+set}" = set; then
12312 echo $ECHO_N "(cached) $ECHO_C" >&6
12314 cat >conftest.
$ac_ext <<_ACEOF
12317 cat confdefs.h
>>conftest.
$ac_ext
12318 cat >>conftest.
$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12320 #include <sys/types.h>
12326 if ((u_int32_t *) 0)
12328 if (sizeof (u_int32_t))
12334 rm -f conftest.
$ac_objext
12335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12336 (eval $ac_compile) 2>conftest.er1
12338 grep -v '^ *+' conftest.er1
>conftest.err
12340 cat conftest.err
>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); } &&
12343 { ac_try
='test -z "$ac_c_werror_flag"
12344 || test ! -s conftest.err'
12345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12346 (eval $ac_try) 2>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); }; } &&
12350 { ac_try
='test -s conftest.$ac_objext'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; }; then
12356 ac_cv_type_u_int32_t
=yes
12358 echo "$as_me: failed program was:" >&5
12359 sed 's/^/| /' conftest.
$ac_ext >&5
12361 ac_cv_type_u_int32_t
=no
12363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12365 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
12366 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
12367 if test $ac_cv_type_u_int32_t = yes; then
12368 acx_cv_header_stdint
=$i
12373 echo "$as_me:$LINENO: checking for u_int64_t" >&5
12374 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
12375 if test "${ac_cv_type_u_int64_t+set}" = set; then
12376 echo $ECHO_N "(cached) $ECHO_C" >&6
12378 cat >conftest.
$ac_ext <<_ACEOF
12381 cat confdefs.h
>>conftest.
$ac_ext
12382 cat >>conftest.
$ac_ext <<_ACEOF
12383 /* end confdefs.h. */
12384 #include <sys/types.h>
12390 if ((u_int64_t *) 0)
12392 if (sizeof (u_int64_t))
12398 rm -f conftest.
$ac_objext
12399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12400 (eval $ac_compile) 2>conftest.er1
12402 grep -v '^ *+' conftest.er1
>conftest.err
12404 cat conftest.err
>&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); } &&
12407 { ac_try
='test -z "$ac_c_werror_flag"
12408 || test ! -s conftest.err'
12409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12410 (eval $ac_try) 2>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); }; } &&
12414 { ac_try
='test -s conftest.$ac_objext'
12415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12416 (eval $ac_try) 2>&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); }; }; then
12420 ac_cv_type_u_int64_t
=yes
12422 echo "$as_me: failed program was:" >&5
12423 sed 's/^/| /' conftest.
$ac_ext >&5
12425 ac_cv_type_u_int64_t
=no
12427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12429 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
12430 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
12435 if test "$acx_cv_header_stdint" = stddef.h
; then
12436 acx_cv_header_stdint_kind
="(using manual detection)"
12439 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
12440 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
12441 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
12442 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
12443 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
12445 # ----------------- Summarize what we found so far
12447 echo "$as_me:$LINENO: checking what to include in gdb_stdint.h" >&5
12448 echo $ECHO_N "checking what to include in gdb_stdint.h... $ECHO_C" >&6
12450 case `$as_basename gdb_stdint.h ||
12451 $as_expr X/gdb_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
12452 Xgdb_stdint.h : 'X\(//\)$' \| \
12453 Xgdb_stdint.h : 'X\(/\)$' \| \
12454 . : '\(.\)' 2>/dev/null ||
12455 echo X/gdb_stdint.h |
12456 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12457 /^X\/\(\/\/\)$/{ s//\1/; q; }
12458 /^X\/\(\/\).*/{ s//\1/; q; }
12460 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
12461 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12462 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
12463 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12467 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
12468 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
12470 # ----------------- done included file, check C basic types --------
12472 # Lacking an uintptr_t? Test size of void *
12473 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
12474 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
12475 echo $ECHO_N "checking for void *... $ECHO_C" >&6
12476 if test "${ac_cv_type_void_p+set}" = set; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 cat >conftest.
$ac_ext <<_ACEOF
12482 cat confdefs.h
>>conftest.
$ac_ext
12483 cat >>conftest.
$ac_ext <<_ACEOF
12484 /* end confdefs.h. */
12485 $ac_includes_default
12491 if (sizeof (void *))
12497 rm -f conftest.
$ac_objext
12498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12499 (eval $ac_compile) 2>conftest.er1
12501 grep -v '^ *+' conftest.er1
>conftest.err
12503 cat conftest.err
>&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); } &&
12506 { ac_try
='test -z "$ac_c_werror_flag"
12507 || test ! -s conftest.err'
12508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12509 (eval $ac_try) 2>&5
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; } &&
12513 { ac_try
='test -s conftest.$ac_objext'
12514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12515 (eval $ac_try) 2>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); }; }; then
12519 ac_cv_type_void_p
=yes
12521 echo "$as_me: failed program was:" >&5
12522 sed 's/^/| /' conftest.
$ac_ext >&5
12524 ac_cv_type_void_p
=no
12526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12528 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
12529 echo "${ECHO_T}$ac_cv_type_void_p" >&6
12531 echo "$as_me:$LINENO: checking size of void *" >&5
12532 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
12533 if test "${ac_cv_sizeof_void_p+set}" = set; then
12534 echo $ECHO_N "(cached) $ECHO_C" >&6
12536 if test "$ac_cv_type_void_p" = yes; then
12537 # The cast to unsigned long works around a bug in the HP C Compiler
12538 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12539 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12540 # This bug is HP SR number 8606223364.
12541 if test "$cross_compiling" = yes; then
12542 # Depending upon the size, compute the lo and hi bounds.
12543 cat >conftest.
$ac_ext <<_ACEOF
12546 cat confdefs.h
>>conftest.
$ac_ext
12547 cat >>conftest.
$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12549 $ac_includes_default
12553 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
12560 rm -f conftest.
$ac_objext
12561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12562 (eval $ac_compile) 2>conftest.er1
12564 grep -v '^ *+' conftest.er1
>conftest.err
12566 cat conftest.err
>&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); } &&
12569 { ac_try
='test -z "$ac_c_werror_flag"
12570 || test ! -s conftest.err'
12571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12572 (eval $ac_try) 2>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); }; } &&
12576 { ac_try
='test -s conftest.$ac_objext'
12577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12578 (eval $ac_try) 2>&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); }; }; then
12584 cat >conftest.
$ac_ext <<_ACEOF
12587 cat confdefs.h
>>conftest.
$ac_ext
12588 cat >>conftest.
$ac_ext <<_ACEOF
12589 /* end confdefs.h. */
12590 $ac_includes_default
12594 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
12601 rm -f conftest.
$ac_objext
12602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12603 (eval $ac_compile) 2>conftest.er1
12605 grep -v '^ *+' conftest.er1
>conftest.err
12607 cat conftest.err
>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); } &&
12610 { ac_try
='test -z "$ac_c_werror_flag"
12611 || test ! -s conftest.err'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; } &&
12617 { ac_try
='test -s conftest.$ac_objext'
12618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12619 (eval $ac_try) 2>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); }; }; then
12623 ac_hi
=$ac_mid; break
12625 echo "$as_me: failed program was:" >&5
12626 sed 's/^/| /' conftest.
$ac_ext >&5
12628 ac_lo
=`expr $ac_mid + 1`
12629 if test $ac_lo -le $ac_mid; then
12633 ac_mid
=`expr 2 '*' $ac_mid + 1`
12635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12638 echo "$as_me: failed program was:" >&5
12639 sed 's/^/| /' conftest.
$ac_ext >&5
12641 cat >conftest.
$ac_ext <<_ACEOF
12644 cat confdefs.h
>>conftest.
$ac_ext
12645 cat >>conftest.
$ac_ext <<_ACEOF
12646 /* end confdefs.h. */
12647 $ac_includes_default
12651 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
12658 rm -f conftest.
$ac_objext
12659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12660 (eval $ac_compile) 2>conftest.er1
12662 grep -v '^ *+' conftest.er1
>conftest.err
12664 cat conftest.err
>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } &&
12667 { ac_try
='test -z "$ac_c_werror_flag"
12668 || test ! -s conftest.err'
12669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12670 (eval $ac_try) 2>&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); }; } &&
12674 { ac_try
='test -s conftest.$ac_objext'
12675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12676 (eval $ac_try) 2>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); }; }; then
12682 cat >conftest.
$ac_ext <<_ACEOF
12685 cat confdefs.h
>>conftest.
$ac_ext
12686 cat >>conftest.
$ac_ext <<_ACEOF
12687 /* end confdefs.h. */
12688 $ac_includes_default
12692 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
12699 rm -f conftest.
$ac_objext
12700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12701 (eval $ac_compile) 2>conftest.er1
12703 grep -v '^ *+' conftest.er1
>conftest.err
12705 cat conftest.err
>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); } &&
12708 { ac_try
='test -z "$ac_c_werror_flag"
12709 || test ! -s conftest.err'
12710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12711 (eval $ac_try) 2>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); }; } &&
12715 { ac_try
='test -s conftest.$ac_objext'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; }; then
12721 ac_lo
=$ac_mid; break
12723 echo "$as_me: failed program was:" >&5
12724 sed 's/^/| /' conftest.
$ac_ext >&5
12726 ac_hi
=`expr '(' $ac_mid ')' - 1`
12727 if test $ac_mid -le $ac_hi; then
12731 ac_mid
=`expr 2 '*' $ac_mid`
12733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12736 echo "$as_me: failed program was:" >&5
12737 sed 's/^/| /' conftest.
$ac_ext >&5
12741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12744 # Binary search between lo and hi bounds.
12745 while test "x$ac_lo" != "x$ac_hi"; do
12746 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12747 cat >conftest.
$ac_ext <<_ACEOF
12750 cat confdefs.h
>>conftest.
$ac_ext
12751 cat >>conftest.
$ac_ext <<_ACEOF
12752 /* end confdefs.h. */
12753 $ac_includes_default
12757 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
12764 rm -f conftest.
$ac_objext
12765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12766 (eval $ac_compile) 2>conftest.er1
12768 grep -v '^ *+' conftest.er1
>conftest.err
12770 cat conftest.err
>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); } &&
12773 { ac_try
='test -z "$ac_c_werror_flag"
12774 || test ! -s conftest.err'
12775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12776 (eval $ac_try) 2>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); }; } &&
12780 { ac_try
='test -s conftest.$ac_objext'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; }; then
12788 echo "$as_me: failed program was:" >&5
12789 sed 's/^/| /' conftest.
$ac_ext >&5
12791 ac_lo
=`expr '(' $ac_mid ')' + 1`
12793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12796 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
12797 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12798 See \`config.log' for more details." >&5
12799 echo "$as_me: error: cannot compute sizeof (void *), 77
12800 See \`config.log' for more details." >&2;}
12801 { (exit 1); exit 1; }; } ;;
12804 if test "$cross_compiling" = yes; then
12805 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12806 See \`config.log' for more details." >&5
12807 echo "$as_me: error: cannot run test program while cross compiling
12808 See \`config.log' for more details." >&2;}
12809 { (exit 1); exit 1; }; }
12811 cat >conftest.
$ac_ext <<_ACEOF
12814 cat confdefs.h
>>conftest.
$ac_ext
12815 cat >>conftest.
$ac_ext <<_ACEOF
12816 /* end confdefs.h. */
12817 $ac_includes_default
12818 long longval () { return (long) (sizeof (void *)); }
12819 unsigned long ulongval () { return (long) (sizeof (void *)); }
12821 #include <stdlib.h>
12826 FILE *f = fopen ("conftest.val", "w");
12829 if (((long) (sizeof (void *))) < 0)
12831 long i = longval ();
12832 if (i != ((long) (sizeof (void *))))
12834 fprintf (f, "%ld\n", i);
12838 unsigned long i = ulongval ();
12839 if (i != ((long) (sizeof (void *))))
12841 fprintf (f, "%lu\n", i);
12843 exit (ferror (f) || fclose (f) != 0);
12849 rm -f conftest
$ac_exeext
12850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12851 (eval $ac_link) 2>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12856 (eval $ac_try) 2>&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); }; }; then
12860 ac_cv_sizeof_void_p
=`cat conftest.val`
12862 echo "$as_me: program exited with status $ac_status" >&5
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.
$ac_ext >&5
12866 ( exit $ac_status )
12867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12868 See \`config.log' for more details." >&5
12869 echo "$as_me: error: cannot compute sizeof (void *), 77
12870 See \`config.log' for more details." >&2;}
12871 { (exit 1); exit 1; }; }
12873 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12878 ac_cv_sizeof_void_p
=0
12881 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
12882 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
12883 cat >>confdefs.h
<<_ACEOF
12884 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12890 # Lacking an uint64_t? Test size of long
12891 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
12892 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
12893 echo $ECHO_N "checking for long... $ECHO_C" >&6
12894 if test "${ac_cv_type_long+set}" = set; then
12895 echo $ECHO_N "(cached) $ECHO_C" >&6
12897 cat >conftest.
$ac_ext <<_ACEOF
12900 cat confdefs.h
>>conftest.
$ac_ext
12901 cat >>conftest.
$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 $ac_includes_default
12915 rm -f conftest.
$ac_objext
12916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12917 (eval $ac_compile) 2>conftest.er1
12919 grep -v '^ *+' conftest.er1
>conftest.err
12921 cat conftest.err
>&5
12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); } &&
12924 { ac_try
='test -z "$ac_c_werror_flag"
12925 || test ! -s conftest.err'
12926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12927 (eval $ac_try) 2>&5
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); }; } &&
12931 { ac_try
='test -s conftest.$ac_objext'
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933 (eval $ac_try) 2>&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; }; then
12937 ac_cv_type_long
=yes
12939 echo "$as_me: failed program was:" >&5
12940 sed 's/^/| /' conftest.
$ac_ext >&5
12944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12946 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12947 echo "${ECHO_T}$ac_cv_type_long" >&6
12949 echo "$as_me:$LINENO: checking size of long" >&5
12950 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12951 if test "${ac_cv_sizeof_long+set}" = set; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12954 if test "$ac_cv_type_long" = yes; then
12955 # The cast to unsigned long works around a bug in the HP C Compiler
12956 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12957 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12958 # This bug is HP SR number 8606223364.
12959 if test "$cross_compiling" = yes; then
12960 # Depending upon the size, compute the lo and hi bounds.
12961 cat >conftest.
$ac_ext <<_ACEOF
12964 cat confdefs.h
>>conftest.
$ac_ext
12965 cat >>conftest.
$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12967 $ac_includes_default
12971 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12978 rm -f conftest.
$ac_objext
12979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12980 (eval $ac_compile) 2>conftest.er1
12982 grep -v '^ *+' conftest.er1
>conftest.err
12984 cat conftest.err
>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try
='test -z "$ac_c_werror_flag"
12988 || test ! -s conftest.err'
12989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 (eval $ac_try) 2>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); }; } &&
12994 { ac_try
='test -s conftest.$ac_objext'
12995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996 (eval $ac_try) 2>&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); }; }; then
13002 cat >conftest.
$ac_ext <<_ACEOF
13005 cat confdefs.h
>>conftest.
$ac_ext
13006 cat >>conftest.
$ac_ext <<_ACEOF
13007 /* end confdefs.h. */
13008 $ac_includes_default
13012 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13019 rm -f conftest.
$ac_objext
13020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13021 (eval $ac_compile) 2>conftest.er1
13023 grep -v '^ *+' conftest.er1
>conftest.err
13025 cat conftest.err
>&5
13026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13027 (exit $ac_status); } &&
13028 { ac_try
='test -z "$ac_c_werror_flag"
13029 || test ! -s conftest.err'
13030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13031 (eval $ac_try) 2>&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); }; } &&
13035 { ac_try
='test -s conftest.$ac_objext'
13036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13037 (eval $ac_try) 2>&5
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); }; }; then
13041 ac_hi
=$ac_mid; break
13043 echo "$as_me: failed program was:" >&5
13044 sed 's/^/| /' conftest.
$ac_ext >&5
13046 ac_lo
=`expr $ac_mid + 1`
13047 if test $ac_lo -le $ac_mid; then
13051 ac_mid
=`expr 2 '*' $ac_mid + 1`
13053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13056 echo "$as_me: failed program was:" >&5
13057 sed 's/^/| /' conftest.
$ac_ext >&5
13059 cat >conftest.
$ac_ext <<_ACEOF
13062 cat confdefs.h
>>conftest.
$ac_ext
13063 cat >>conftest.
$ac_ext <<_ACEOF
13064 /* end confdefs.h. */
13065 $ac_includes_default
13069 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
13076 rm -f conftest.
$ac_objext
13077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13078 (eval $ac_compile) 2>conftest.er1
13080 grep -v '^ *+' conftest.er1
>conftest.err
13082 cat conftest.err
>&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); } &&
13085 { ac_try
='test -z "$ac_c_werror_flag"
13086 || test ! -s conftest.err'
13087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13088 (eval $ac_try) 2>&5
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); }; } &&
13092 { ac_try
='test -s conftest.$ac_objext'
13093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13094 (eval $ac_try) 2>&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; }; then
13100 cat >conftest.
$ac_ext <<_ACEOF
13103 cat confdefs.h
>>conftest.
$ac_ext
13104 cat >>conftest.
$ac_ext <<_ACEOF
13105 /* end confdefs.h. */
13106 $ac_includes_default
13110 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
13117 rm -f conftest.
$ac_objext
13118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13119 (eval $ac_compile) 2>conftest.er1
13121 grep -v '^ *+' conftest.er1
>conftest.err
13123 cat conftest.err
>&5
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); } &&
13126 { ac_try
='test -z "$ac_c_werror_flag"
13127 || test ! -s conftest.err'
13128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13129 (eval $ac_try) 2>&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); }; } &&
13133 { ac_try
='test -s conftest.$ac_objext'
13134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13135 (eval $ac_try) 2>&5
13137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138 (exit $ac_status); }; }; then
13139 ac_lo
=$ac_mid; break
13141 echo "$as_me: failed program was:" >&5
13142 sed 's/^/| /' conftest.
$ac_ext >&5
13144 ac_hi
=`expr '(' $ac_mid ')' - 1`
13145 if test $ac_mid -le $ac_hi; then
13149 ac_mid
=`expr 2 '*' $ac_mid`
13151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13154 echo "$as_me: failed program was:" >&5
13155 sed 's/^/| /' conftest.
$ac_ext >&5
13159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13162 # Binary search between lo and hi bounds.
13163 while test "x$ac_lo" != "x$ac_hi"; do
13164 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13165 cat >conftest.
$ac_ext <<_ACEOF
13168 cat confdefs.h
>>conftest.
$ac_ext
13169 cat >>conftest.
$ac_ext <<_ACEOF
13170 /* end confdefs.h. */
13171 $ac_includes_default
13175 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13182 rm -f conftest.
$ac_objext
13183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13184 (eval $ac_compile) 2>conftest.er1
13186 grep -v '^ *+' conftest.er1
>conftest.err
13188 cat conftest.err
>&5
13189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13190 (exit $ac_status); } &&
13191 { ac_try
='test -z "$ac_c_werror_flag"
13192 || test ! -s conftest.err'
13193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13194 (eval $ac_try) 2>&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); }; } &&
13198 { ac_try
='test -s conftest.$ac_objext'
13199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13200 (eval $ac_try) 2>&5
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); }; }; then
13206 echo "$as_me: failed program was:" >&5
13207 sed 's/^/| /' conftest.
$ac_ext >&5
13209 ac_lo
=`expr '(' $ac_mid ')' + 1`
13211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13214 ?
*) ac_cv_sizeof_long
=$ac_lo;;
13215 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13216 See \`config.log' for more details." >&5
13217 echo "$as_me: error: cannot compute sizeof (long), 77
13218 See \`config.log' for more details." >&2;}
13219 { (exit 1); exit 1; }; } ;;
13222 if test "$cross_compiling" = yes; then
13223 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13224 See \`config.log' for more details." >&5
13225 echo "$as_me: error: cannot run test program while cross compiling
13226 See \`config.log' for more details." >&2;}
13227 { (exit 1); exit 1; }; }
13229 cat >conftest.
$ac_ext <<_ACEOF
13232 cat confdefs.h
>>conftest.
$ac_ext
13233 cat >>conftest.
$ac_ext <<_ACEOF
13234 /* end confdefs.h. */
13235 $ac_includes_default
13236 long longval () { return (long) (sizeof (long)); }
13237 unsigned long ulongval () { return (long) (sizeof (long)); }
13239 #include <stdlib.h>
13244 FILE *f = fopen ("conftest.val", "w");
13247 if (((long) (sizeof (long))) < 0)
13249 long i = longval ();
13250 if (i != ((long) (sizeof (long))))
13252 fprintf (f, "%ld\n", i);
13256 unsigned long i = ulongval ();
13257 if (i != ((long) (sizeof (long))))
13259 fprintf (f, "%lu\n", i);
13261 exit (ferror (f) || fclose (f) != 0);
13267 rm -f conftest
$ac_exeext
13268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13269 (eval $ac_link) 2>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13274 (eval $ac_try) 2>&5
13276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); }; }; then
13278 ac_cv_sizeof_long
=`cat conftest.val`
13280 echo "$as_me: program exited with status $ac_status" >&5
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.
$ac_ext >&5
13284 ( exit $ac_status )
13285 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13286 See \`config.log' for more details." >&5
13287 echo "$as_me: error: cannot compute sizeof (long), 77
13288 See \`config.log' for more details." >&2;}
13289 { (exit 1); exit 1; }; }
13291 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13296 ac_cv_sizeof_long
=0
13299 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13300 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
13301 cat >>confdefs.h
<<_ACEOF
13302 #define SIZEOF_LONG $ac_cv_sizeof_long
13308 if test $acx_cv_header_stdint = stddef.h
; then
13309 # Lacking a good header? Test size of everything and deduce all types.
13310 echo "$as_me:$LINENO: checking for int" >&5
13311 echo $ECHO_N "checking for int... $ECHO_C" >&6
13312 if test "${ac_cv_type_int+set}" = set; then
13313 echo $ECHO_N "(cached) $ECHO_C" >&6
13315 cat >conftest.
$ac_ext <<_ACEOF
13318 cat confdefs.h
>>conftest.
$ac_ext
13319 cat >>conftest.
$ac_ext <<_ACEOF
13320 /* end confdefs.h. */
13321 $ac_includes_default
13333 rm -f conftest.
$ac_objext
13334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13335 (eval $ac_compile) 2>conftest.er1
13337 grep -v '^ *+' conftest.er1
>conftest.err
13339 cat conftest.err
>&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); } &&
13342 { ac_try
='test -z "$ac_c_werror_flag"
13343 || test ! -s conftest.err'
13344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13345 (eval $ac_try) 2>&5
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }; } &&
13349 { ac_try
='test -s conftest.$ac_objext'
13350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13351 (eval $ac_try) 2>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; }; then
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.
$ac_ext >&5
13362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13364 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
13365 echo "${ECHO_T}$ac_cv_type_int" >&6
13367 echo "$as_me:$LINENO: checking size of int" >&5
13368 echo $ECHO_N "checking size of int... $ECHO_C" >&6
13369 if test "${ac_cv_sizeof_int+set}" = set; then
13370 echo $ECHO_N "(cached) $ECHO_C" >&6
13372 if test "$ac_cv_type_int" = yes; then
13373 # The cast to unsigned long works around a bug in the HP C Compiler
13374 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13375 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13376 # This bug is HP SR number 8606223364.
13377 if test "$cross_compiling" = yes; then
13378 # Depending upon the size, compute the lo and hi bounds.
13379 cat >conftest.
$ac_ext <<_ACEOF
13382 cat confdefs.h
>>conftest.
$ac_ext
13383 cat >>conftest.
$ac_ext <<_ACEOF
13384 /* end confdefs.h. */
13385 $ac_includes_default
13389 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
13396 rm -f conftest.
$ac_objext
13397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13398 (eval $ac_compile) 2>conftest.er1
13400 grep -v '^ *+' conftest.er1
>conftest.err
13402 cat conftest.err
>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } &&
13405 { ac_try
='test -z "$ac_c_werror_flag"
13406 || test ! -s conftest.err'
13407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13408 (eval $ac_try) 2>&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); }; } &&
13412 { ac_try
='test -s conftest.$ac_objext'
13413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13414 (eval $ac_try) 2>&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); }; }; then
13420 cat >conftest.
$ac_ext <<_ACEOF
13423 cat confdefs.h
>>conftest.
$ac_ext
13424 cat >>conftest.
$ac_ext <<_ACEOF
13425 /* end confdefs.h. */
13426 $ac_includes_default
13430 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
13437 rm -f conftest.
$ac_objext
13438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13439 (eval $ac_compile) 2>conftest.er1
13441 grep -v '^ *+' conftest.er1
>conftest.err
13443 cat conftest.err
>&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); } &&
13446 { ac_try
='test -z "$ac_c_werror_flag"
13447 || test ! -s conftest.err'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; } &&
13453 { ac_try
='test -s conftest.$ac_objext'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; }; then
13459 ac_hi
=$ac_mid; break
13461 echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.
$ac_ext >&5
13464 ac_lo
=`expr $ac_mid + 1`
13465 if test $ac_lo -le $ac_mid; then
13469 ac_mid
=`expr 2 '*' $ac_mid + 1`
13471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13474 echo "$as_me: failed program was:" >&5
13475 sed 's/^/| /' conftest.
$ac_ext >&5
13477 cat >conftest.
$ac_ext <<_ACEOF
13480 cat confdefs.h
>>conftest.
$ac_ext
13481 cat >>conftest.
$ac_ext <<_ACEOF
13482 /* end confdefs.h. */
13483 $ac_includes_default
13487 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
13494 rm -f conftest.
$ac_objext
13495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13496 (eval $ac_compile) 2>conftest.er1
13498 grep -v '^ *+' conftest.er1
>conftest.err
13500 cat conftest.err
>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); } &&
13503 { ac_try
='test -z "$ac_c_werror_flag"
13504 || test ! -s conftest.err'
13505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13506 (eval $ac_try) 2>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; } &&
13510 { ac_try
='test -s conftest.$ac_objext'
13511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13512 (eval $ac_try) 2>&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); }; }; then
13518 cat >conftest.
$ac_ext <<_ACEOF
13521 cat confdefs.h
>>conftest.
$ac_ext
13522 cat >>conftest.
$ac_ext <<_ACEOF
13523 /* end confdefs.h. */
13524 $ac_includes_default
13528 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
13535 rm -f conftest.
$ac_objext
13536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13537 (eval $ac_compile) 2>conftest.er1
13539 grep -v '^ *+' conftest.er1
>conftest.err
13541 cat conftest.err
>&5
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 (exit $ac_status); } &&
13544 { ac_try
='test -z "$ac_c_werror_flag"
13545 || test ! -s conftest.err'
13546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13547 (eval $ac_try) 2>&5
13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550 (exit $ac_status); }; } &&
13551 { ac_try
='test -s conftest.$ac_objext'
13552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13553 (eval $ac_try) 2>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); }; }; then
13557 ac_lo
=$ac_mid; break
13559 echo "$as_me: failed program was:" >&5
13560 sed 's/^/| /' conftest.
$ac_ext >&5
13562 ac_hi
=`expr '(' $ac_mid ')' - 1`
13563 if test $ac_mid -le $ac_hi; then
13567 ac_mid
=`expr 2 '*' $ac_mid`
13569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.
$ac_ext >&5
13577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13580 # Binary search between lo and hi bounds.
13581 while test "x$ac_lo" != "x$ac_hi"; do
13582 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13583 cat >conftest.
$ac_ext <<_ACEOF
13586 cat confdefs.h
>>conftest.
$ac_ext
13587 cat >>conftest.
$ac_ext <<_ACEOF
13588 /* end confdefs.h. */
13589 $ac_includes_default
13593 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
13600 rm -f conftest.
$ac_objext
13601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13602 (eval $ac_compile) 2>conftest.er1
13604 grep -v '^ *+' conftest.er1
>conftest.err
13606 cat conftest.err
>&5
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); } &&
13609 { ac_try
='test -z "$ac_c_werror_flag"
13610 || test ! -s conftest.err'
13611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13612 (eval $ac_try) 2>&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; } &&
13616 { ac_try
='test -s conftest.$ac_objext'
13617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13618 (eval $ac_try) 2>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); }; }; then
13624 echo "$as_me: failed program was:" >&5
13625 sed 's/^/| /' conftest.
$ac_ext >&5
13627 ac_lo
=`expr '(' $ac_mid ')' + 1`
13629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13632 ?
*) ac_cv_sizeof_int
=$ac_lo;;
13633 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
13634 See \`config.log' for more details." >&5
13635 echo "$as_me: error: cannot compute sizeof (int), 77
13636 See \`config.log' for more details." >&2;}
13637 { (exit 1); exit 1; }; } ;;
13640 if test "$cross_compiling" = yes; then
13641 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13642 See \`config.log' for more details." >&5
13643 echo "$as_me: error: cannot run test program while cross compiling
13644 See \`config.log' for more details." >&2;}
13645 { (exit 1); exit 1; }; }
13647 cat >conftest.
$ac_ext <<_ACEOF
13650 cat confdefs.h
>>conftest.
$ac_ext
13651 cat >>conftest.
$ac_ext <<_ACEOF
13652 /* end confdefs.h. */
13653 $ac_includes_default
13654 long longval () { return (long) (sizeof (int)); }
13655 unsigned long ulongval () { return (long) (sizeof (int)); }
13657 #include <stdlib.h>
13662 FILE *f = fopen ("conftest.val", "w");
13665 if (((long) (sizeof (int))) < 0)
13667 long i = longval ();
13668 if (i != ((long) (sizeof (int))))
13670 fprintf (f, "%ld\n", i);
13674 unsigned long i = ulongval ();
13675 if (i != ((long) (sizeof (int))))
13677 fprintf (f, "%lu\n", i);
13679 exit (ferror (f) || fclose (f) != 0);
13685 rm -f conftest
$ac_exeext
13686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13687 (eval $ac_link) 2>&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13692 (eval $ac_try) 2>&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); }; }; then
13696 ac_cv_sizeof_int
=`cat conftest.val`
13698 echo "$as_me: program exited with status $ac_status" >&5
13699 echo "$as_me: failed program was:" >&5
13700 sed 's/^/| /' conftest.
$ac_ext >&5
13702 ( exit $ac_status )
13703 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
13704 See \`config.log' for more details." >&5
13705 echo "$as_me: error: cannot compute sizeof (int), 77
13706 See \`config.log' for more details." >&2;}
13707 { (exit 1); exit 1; }; }
13709 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13717 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
13718 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
13719 cat >>confdefs.h
<<_ACEOF
13720 #define SIZEOF_INT $ac_cv_sizeof_int
13724 echo "$as_me:$LINENO: checking for short" >&5
13725 echo $ECHO_N "checking for short... $ECHO_C" >&6
13726 if test "${ac_cv_type_short+set}" = set; then
13727 echo $ECHO_N "(cached) $ECHO_C" >&6
13729 cat >conftest.
$ac_ext <<_ACEOF
13732 cat confdefs.h
>>conftest.
$ac_ext
13733 cat >>conftest.
$ac_ext <<_ACEOF
13734 /* end confdefs.h. */
13735 $ac_includes_default
13741 if (sizeof (short))
13747 rm -f conftest.
$ac_objext
13748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13749 (eval $ac_compile) 2>conftest.er1
13751 grep -v '^ *+' conftest.er1
>conftest.err
13753 cat conftest.err
>&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } &&
13756 { ac_try
='test -z "$ac_c_werror_flag"
13757 || test ! -s conftest.err'
13758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13759 (eval $ac_try) 2>&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); }; } &&
13763 { ac_try
='test -s conftest.$ac_objext'
13764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; }; then
13769 ac_cv_type_short
=yes
13771 echo "$as_me: failed program was:" >&5
13772 sed 's/^/| /' conftest.
$ac_ext >&5
13774 ac_cv_type_short
=no
13776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13778 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13779 echo "${ECHO_T}$ac_cv_type_short" >&6
13781 echo "$as_me:$LINENO: checking size of short" >&5
13782 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13783 if test "${ac_cv_sizeof_short+set}" = set; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 if test "$ac_cv_type_short" = yes; then
13787 # The cast to unsigned long works around a bug in the HP C Compiler
13788 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13789 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13790 # This bug is HP SR number 8606223364.
13791 if test "$cross_compiling" = yes; then
13792 # Depending upon the size, compute the lo and hi bounds.
13793 cat >conftest.
$ac_ext <<_ACEOF
13796 cat confdefs.h
>>conftest.
$ac_ext
13797 cat >>conftest.
$ac_ext <<_ACEOF
13798 /* end confdefs.h. */
13799 $ac_includes_default
13803 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13810 rm -f conftest.
$ac_objext
13811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13812 (eval $ac_compile) 2>conftest.er1
13814 grep -v '^ *+' conftest.er1
>conftest.err
13816 cat conftest.err
>&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); } &&
13819 { ac_try
='test -z "$ac_c_werror_flag"
13820 || test ! -s conftest.err'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; } &&
13826 { ac_try
='test -s conftest.$ac_objext'
13827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13828 (eval $ac_try) 2>&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); }; }; then
13834 cat >conftest.
$ac_ext <<_ACEOF
13837 cat confdefs.h
>>conftest.
$ac_ext
13838 cat >>conftest.
$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13840 $ac_includes_default
13844 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13851 rm -f conftest.
$ac_objext
13852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13853 (eval $ac_compile) 2>conftest.er1
13855 grep -v '^ *+' conftest.er1
>conftest.err
13857 cat conftest.err
>&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); } &&
13860 { ac_try
='test -z "$ac_c_werror_flag"
13861 || test ! -s conftest.err'
13862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; } &&
13867 { ac_try
='test -s conftest.$ac_objext'
13868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13869 (eval $ac_try) 2>&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); }; }; then
13873 ac_hi
=$ac_mid; break
13875 echo "$as_me: failed program was:" >&5
13876 sed 's/^/| /' conftest.
$ac_ext >&5
13878 ac_lo
=`expr $ac_mid + 1`
13879 if test $ac_lo -le $ac_mid; then
13883 ac_mid
=`expr 2 '*' $ac_mid + 1`
13885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13888 echo "$as_me: failed program was:" >&5
13889 sed 's/^/| /' conftest.
$ac_ext >&5
13891 cat >conftest.
$ac_ext <<_ACEOF
13894 cat confdefs.h
>>conftest.
$ac_ext
13895 cat >>conftest.
$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13897 $ac_includes_default
13901 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
13908 rm -f conftest.
$ac_objext
13909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13910 (eval $ac_compile) 2>conftest.er1
13912 grep -v '^ *+' conftest.er1
>conftest.err
13914 cat conftest.err
>&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); } &&
13917 { ac_try
='test -z "$ac_c_werror_flag"
13918 || test ! -s conftest.err'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; } &&
13924 { ac_try
='test -s conftest.$ac_objext'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; }; then
13932 cat >conftest.
$ac_ext <<_ACEOF
13935 cat confdefs.h
>>conftest.
$ac_ext
13936 cat >>conftest.
$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 $ac_includes_default
13942 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
13949 rm -f conftest.
$ac_objext
13950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13951 (eval $ac_compile) 2>conftest.er1
13953 grep -v '^ *+' conftest.er1
>conftest.err
13955 cat conftest.err
>&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } &&
13958 { ac_try
='test -z "$ac_c_werror_flag"
13959 || test ! -s conftest.err'
13960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13961 (eval $ac_try) 2>&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); }; } &&
13965 { ac_try
='test -s conftest.$ac_objext'
13966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967 (eval $ac_try) 2>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }; }; then
13971 ac_lo
=$ac_mid; break
13973 echo "$as_me: failed program was:" >&5
13974 sed 's/^/| /' conftest.
$ac_ext >&5
13976 ac_hi
=`expr '(' $ac_mid ')' - 1`
13977 if test $ac_mid -le $ac_hi; then
13981 ac_mid
=`expr 2 '*' $ac_mid`
13983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13986 echo "$as_me: failed program was:" >&5
13987 sed 's/^/| /' conftest.
$ac_ext >&5
13991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13994 # Binary search between lo and hi bounds.
13995 while test "x$ac_lo" != "x$ac_hi"; do
13996 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13997 cat >conftest.
$ac_ext <<_ACEOF
14000 cat confdefs.h
>>conftest.
$ac_ext
14001 cat >>conftest.
$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14003 $ac_includes_default
14007 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14014 rm -f conftest.
$ac_objext
14015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14016 (eval $ac_compile) 2>conftest.er1
14018 grep -v '^ *+' conftest.er1
>conftest.err
14020 cat conftest.err
>&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } &&
14023 { ac_try
='test -z "$ac_c_werror_flag"
14024 || test ! -s conftest.err'
14025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026 (eval $ac_try) 2>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; } &&
14030 { ac_try
='test -s conftest.$ac_objext'
14031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14032 (eval $ac_try) 2>&5
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); }; }; then
14038 echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.
$ac_ext >&5
14041 ac_lo
=`expr '(' $ac_mid ')' + 1`
14043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14046 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14047 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14048 See \`config.log' for more details." >&5
14049 echo "$as_me: error: cannot compute sizeof (short), 77
14050 See \`config.log' for more details." >&2;}
14051 { (exit 1); exit 1; }; } ;;
14054 if test "$cross_compiling" = yes; then
14055 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14056 See \`config.log' for more details." >&5
14057 echo "$as_me: error: cannot run test program while cross compiling
14058 See \`config.log' for more details." >&2;}
14059 { (exit 1); exit 1; }; }
14061 cat >conftest.
$ac_ext <<_ACEOF
14064 cat confdefs.h
>>conftest.
$ac_ext
14065 cat >>conftest.
$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14067 $ac_includes_default
14068 long longval () { return (long) (sizeof (short)); }
14069 unsigned long ulongval () { return (long) (sizeof (short)); }
14071 #include <stdlib.h>
14076 FILE *f = fopen ("conftest.val", "w");
14079 if (((long) (sizeof (short))) < 0)
14081 long i = longval ();
14082 if (i != ((long) (sizeof (short))))
14084 fprintf (f, "%ld\n", i);
14088 unsigned long i = ulongval ();
14089 if (i != ((long) (sizeof (short))))
14091 fprintf (f, "%lu\n", i);
14093 exit (ferror (f) || fclose (f) != 0);
14099 rm -f conftest
$ac_exeext
14100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14101 (eval $ac_link) 2>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14106 (eval $ac_try) 2>&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); }; }; then
14110 ac_cv_sizeof_short
=`cat conftest.val`
14112 echo "$as_me: program exited with status $ac_status" >&5
14113 echo "$as_me: failed program was:" >&5
14114 sed 's/^/| /' conftest.
$ac_ext >&5
14116 ( exit $ac_status )
14117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14118 See \`config.log' for more details." >&5
14119 echo "$as_me: error: cannot compute sizeof (short), 77
14120 See \`config.log' for more details." >&2;}
14121 { (exit 1); exit 1; }; }
14123 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14128 ac_cv_sizeof_short
=0
14131 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14132 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14133 cat >>confdefs.h
<<_ACEOF
14134 #define SIZEOF_SHORT $ac_cv_sizeof_short
14138 echo "$as_me:$LINENO: checking for char" >&5
14139 echo $ECHO_N "checking for char... $ECHO_C" >&6
14140 if test "${ac_cv_type_char+set}" = set; then
14141 echo $ECHO_N "(cached) $ECHO_C" >&6
14143 cat >conftest.
$ac_ext <<_ACEOF
14146 cat confdefs.h
>>conftest.
$ac_ext
14147 cat >>conftest.
$ac_ext <<_ACEOF
14148 /* end confdefs.h. */
14149 $ac_includes_default
14161 rm -f conftest.
$ac_objext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14163 (eval $ac_compile) 2>conftest.er1
14165 grep -v '^ *+' conftest.er1
>conftest.err
14167 cat conftest.err
>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); } &&
14170 { ac_try
='test -z "$ac_c_werror_flag"
14171 || test ! -s conftest.err'
14172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; } &&
14177 { ac_try
='test -s conftest.$ac_objext'
14178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179 (eval $ac_try) 2>&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); }; }; then
14183 ac_cv_type_char
=yes
14185 echo "$as_me: failed program was:" >&5
14186 sed 's/^/| /' conftest.
$ac_ext >&5
14190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14192 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14193 echo "${ECHO_T}$ac_cv_type_char" >&6
14195 echo "$as_me:$LINENO: checking size of char" >&5
14196 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14197 if test "${ac_cv_sizeof_char+set}" = set; then
14198 echo $ECHO_N "(cached) $ECHO_C" >&6
14200 if test "$ac_cv_type_char" = yes; then
14201 # The cast to unsigned long works around a bug in the HP C Compiler
14202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14204 # This bug is HP SR number 8606223364.
14205 if test "$cross_compiling" = yes; then
14206 # Depending upon the size, compute the lo and hi bounds.
14207 cat >conftest.
$ac_ext <<_ACEOF
14210 cat confdefs.h
>>conftest.
$ac_ext
14211 cat >>conftest.
$ac_ext <<_ACEOF
14212 /* end confdefs.h. */
14213 $ac_includes_default
14217 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14224 rm -f conftest.
$ac_objext
14225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14226 (eval $ac_compile) 2>conftest.er1
14228 grep -v '^ *+' conftest.er1
>conftest.err
14230 cat conftest.err
>&5
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); } &&
14233 { ac_try
='test -z "$ac_c_werror_flag"
14234 || test ! -s conftest.err'
14235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14236 (eval $ac_try) 2>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; } &&
14240 { ac_try
='test -s conftest.$ac_objext'
14241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14242 (eval $ac_try) 2>&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); }; }; then
14248 cat >conftest.
$ac_ext <<_ACEOF
14251 cat confdefs.h
>>conftest.
$ac_ext
14252 cat >>conftest.
$ac_ext <<_ACEOF
14253 /* end confdefs.h. */
14254 $ac_includes_default
14258 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14265 rm -f conftest.
$ac_objext
14266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14267 (eval $ac_compile) 2>conftest.er1
14269 grep -v '^ *+' conftest.er1
>conftest.err
14271 cat conftest.err
>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); } &&
14274 { ac_try
='test -z "$ac_c_werror_flag"
14275 || test ! -s conftest.err'
14276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14277 (eval $ac_try) 2>&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; } &&
14281 { ac_try
='test -s conftest.$ac_objext'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; }; then
14287 ac_hi
=$ac_mid; break
14289 echo "$as_me: failed program was:" >&5
14290 sed 's/^/| /' conftest.
$ac_ext >&5
14292 ac_lo
=`expr $ac_mid + 1`
14293 if test $ac_lo -le $ac_mid; then
14297 ac_mid
=`expr 2 '*' $ac_mid + 1`
14299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.
$ac_ext >&5
14305 cat >conftest.
$ac_ext <<_ACEOF
14308 cat confdefs.h
>>conftest.
$ac_ext
14309 cat >>conftest.
$ac_ext <<_ACEOF
14310 /* end confdefs.h. */
14311 $ac_includes_default
14315 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14322 rm -f conftest.
$ac_objext
14323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14324 (eval $ac_compile) 2>conftest.er1
14326 grep -v '^ *+' conftest.er1
>conftest.err
14328 cat conftest.err
>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); } &&
14331 { ac_try
='test -z "$ac_c_werror_flag"
14332 || test ! -s conftest.err'
14333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14334 (eval $ac_try) 2>&5
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); }; } &&
14338 { ac_try
='test -s conftest.$ac_objext'
14339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14340 (eval $ac_try) 2>&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); }; }; then
14346 cat >conftest.
$ac_ext <<_ACEOF
14349 cat confdefs.h
>>conftest.
$ac_ext
14350 cat >>conftest.
$ac_ext <<_ACEOF
14351 /* end confdefs.h. */
14352 $ac_includes_default
14356 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14363 rm -f conftest.
$ac_objext
14364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14365 (eval $ac_compile) 2>conftest.er1
14367 grep -v '^ *+' conftest.er1
>conftest.err
14369 cat conftest.err
>&5
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); } &&
14372 { ac_try
='test -z "$ac_c_werror_flag"
14373 || test ! -s conftest.err'
14374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14375 (eval $ac_try) 2>&5
14377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14378 (exit $ac_status); }; } &&
14379 { ac_try
='test -s conftest.$ac_objext'
14380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14381 (eval $ac_try) 2>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); }; }; then
14385 ac_lo
=$ac_mid; break
14387 echo "$as_me: failed program was:" >&5
14388 sed 's/^/| /' conftest.
$ac_ext >&5
14390 ac_hi
=`expr '(' $ac_mid ')' - 1`
14391 if test $ac_mid -le $ac_hi; then
14395 ac_mid
=`expr 2 '*' $ac_mid`
14397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14400 echo "$as_me: failed program was:" >&5
14401 sed 's/^/| /' conftest.
$ac_ext >&5
14405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14408 # Binary search between lo and hi bounds.
14409 while test "x$ac_lo" != "x$ac_hi"; do
14410 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14411 cat >conftest.
$ac_ext <<_ACEOF
14414 cat confdefs.h
>>conftest.
$ac_ext
14415 cat >>conftest.
$ac_ext <<_ACEOF
14416 /* end confdefs.h. */
14417 $ac_includes_default
14421 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14428 rm -f conftest.
$ac_objext
14429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14430 (eval $ac_compile) 2>conftest.er1
14432 grep -v '^ *+' conftest.er1
>conftest.err
14434 cat conftest.err
>&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); } &&
14437 { ac_try
='test -z "$ac_c_werror_flag"
14438 || test ! -s conftest.err'
14439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14440 (eval $ac_try) 2>&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); }; } &&
14444 { ac_try
='test -s conftest.$ac_objext'
14445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14446 (eval $ac_try) 2>&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); }; }; then
14452 echo "$as_me: failed program was:" >&5
14453 sed 's/^/| /' conftest.
$ac_ext >&5
14455 ac_lo
=`expr '(' $ac_mid ')' + 1`
14457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14460 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14461 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14462 See \`config.log' for more details." >&5
14463 echo "$as_me: error: cannot compute sizeof (char), 77
14464 See \`config.log' for more details." >&2;}
14465 { (exit 1); exit 1; }; } ;;
14468 if test "$cross_compiling" = yes; then
14469 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14470 See \`config.log' for more details." >&5
14471 echo "$as_me: error: cannot run test program while cross compiling
14472 See \`config.log' for more details." >&2;}
14473 { (exit 1); exit 1; }; }
14475 cat >conftest.
$ac_ext <<_ACEOF
14478 cat confdefs.h
>>conftest.
$ac_ext
14479 cat >>conftest.
$ac_ext <<_ACEOF
14480 /* end confdefs.h. */
14481 $ac_includes_default
14482 long longval () { return (long) (sizeof (char)); }
14483 unsigned long ulongval () { return (long) (sizeof (char)); }
14485 #include <stdlib.h>
14490 FILE *f = fopen ("conftest.val", "w");
14493 if (((long) (sizeof (char))) < 0)
14495 long i = longval ();
14496 if (i != ((long) (sizeof (char))))
14498 fprintf (f, "%ld\n", i);
14502 unsigned long i = ulongval ();
14503 if (i != ((long) (sizeof (char))))
14505 fprintf (f, "%lu\n", i);
14507 exit (ferror (f) || fclose (f) != 0);
14513 rm -f conftest
$ac_exeext
14514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14515 (eval $ac_link) 2>&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 ac_cv_sizeof_char
=`cat conftest.val`
14526 echo "$as_me: program exited with status $ac_status" >&5
14527 echo "$as_me: failed program was:" >&5
14528 sed 's/^/| /' conftest.
$ac_ext >&5
14530 ( exit $ac_status )
14531 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14532 See \`config.log' for more details." >&5
14533 echo "$as_me: error: cannot compute sizeof (char), 77
14534 See \`config.log' for more details." >&2;}
14535 { (exit 1); exit 1; }; }
14537 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14542 ac_cv_sizeof_char
=0
14545 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14546 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14547 cat >>confdefs.h
<<_ACEOF
14548 #define SIZEOF_CHAR $ac_cv_sizeof_char
14553 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
14554 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
14555 case "$ac_cv_sizeof_char" in
14556 1) acx_cv_type_int8_t
=char
;;
14557 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
14558 echo "$as_me: error: no 8-bit type" >&2;}
14559 { (exit please report a bug
); exit please report a bug
; }; }
14561 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
14562 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
14564 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
14565 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
14566 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
14567 2:*) acx_cv_type_int16_t
=int
;;
14568 *:2) acx_cv_type_int16_t
=short
;;
14569 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
14570 echo "$as_me: error: no 16-bit type" >&2;}
14571 { (exit please report a bug
); exit please report a bug
; }; }
14573 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
14574 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
14576 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
14577 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
14578 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
14579 4:*) acx_cv_type_int32_t
=int
;;
14580 *:4) acx_cv_type_int32_t
=long
;;
14581 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
14582 echo "$as_me: error: no 32-bit type" >&2;}
14583 { (exit please report a bug
); exit please report a bug
; }; }
14585 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
14586 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
14589 # These tests are here to make the output prettier
14591 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
14592 case "$ac_cv_sizeof_long" in
14593 8) acx_cv_type_int64_t
=long
;;
14595 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
14596 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
14597 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
14598 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
14601 # Now we can use the above types
14603 if test "$ac_cv_type_uintptr_t" != yes; then
14604 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
14605 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
14606 case $ac_cv_sizeof_void_p in
14607 2) acx_cv_type_intptr_t
=int16_t
;;
14608 4) acx_cv_type_intptr_t
=int32_t
;;
14609 8) acx_cv_type_intptr_t
=int64_t
;;
14610 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
14611 echo "$as_me: error: no equivalent for intptr_t" >&2;}
14612 { (exit please report a bug
); exit please report a bug
; }; }
14614 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
14615 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
14618 # ----------------- done all checks, emit header -------------
14619 ac_config_commands
="$ac_config_commands gdb_stdint.h"
14624 # ------------------------- #
14625 # Checks for declarations. #
14626 # ------------------------- #
14628 echo "$as_me:$LINENO: checking whether free is declared" >&5
14629 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
14630 if test "${ac_cv_have_decl_free+set}" = set; then
14631 echo $ECHO_N "(cached) $ECHO_C" >&6
14633 cat >conftest.
$ac_ext <<_ACEOF
14636 cat confdefs.h
>>conftest.
$ac_ext
14637 cat >>conftest.
$ac_ext <<_ACEOF
14638 /* end confdefs.h. */
14639 $ac_includes_default
14644 char *p = (char *) free;
14651 rm -f conftest.
$ac_objext
14652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14653 (eval $ac_compile) 2>conftest.er1
14655 grep -v '^ *+' conftest.er1
>conftest.err
14657 cat conftest.err
>&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); } &&
14660 { ac_try
='test -z "$ac_c_werror_flag"
14661 || test ! -s conftest.err'
14662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14663 (eval $ac_try) 2>&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); }; } &&
14667 { ac_try
='test -s conftest.$ac_objext'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; }; then
14673 ac_cv_have_decl_free
=yes
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.
$ac_ext >&5
14678 ac_cv_have_decl_free
=no
14680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14682 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
14683 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
14684 if test $ac_cv_have_decl_free = yes; then
14686 cat >>confdefs.h
<<_ACEOF
14687 #define HAVE_DECL_FREE 1
14692 cat >>confdefs.h
<<_ACEOF
14693 #define HAVE_DECL_FREE 0
14698 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
14699 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
14700 if test "${ac_cv_have_decl_malloc+set}" = set; then
14701 echo $ECHO_N "(cached) $ECHO_C" >&6
14703 cat >conftest.
$ac_ext <<_ACEOF
14706 cat confdefs.h
>>conftest.
$ac_ext
14707 cat >>conftest.
$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14709 $ac_includes_default
14714 char *p = (char *) malloc;
14721 rm -f conftest.
$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>conftest.er1
14725 grep -v '^ *+' conftest.er1
>conftest.err
14727 cat conftest.err
>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try
='test -z "$ac_c_werror_flag"
14731 || test ! -s conftest.err'
14732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14733 (eval $ac_try) 2>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; } &&
14737 { ac_try
='test -s conftest.$ac_objext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14743 ac_cv_have_decl_malloc
=yes
14745 echo "$as_me: failed program was:" >&5
14746 sed 's/^/| /' conftest.
$ac_ext >&5
14748 ac_cv_have_decl_malloc
=no
14750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14752 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
14753 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
14754 if test $ac_cv_have_decl_malloc = yes; then
14756 cat >>confdefs.h
<<_ACEOF
14757 #define HAVE_DECL_MALLOC 1
14762 cat >>confdefs.h
<<_ACEOF
14763 #define HAVE_DECL_MALLOC 0
14768 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
14769 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
14770 if test "${ac_cv_have_decl_realloc+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14773 cat >conftest.
$ac_ext <<_ACEOF
14776 cat confdefs.h
>>conftest.
$ac_ext
14777 cat >>conftest.
$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14779 $ac_includes_default
14784 char *p = (char *) realloc;
14791 rm -f conftest.
$ac_objext
14792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14793 (eval $ac_compile) 2>conftest.er1
14795 grep -v '^ *+' conftest.er1
>conftest.err
14797 cat conftest.err
>&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } &&
14800 { ac_try
='test -z "$ac_c_werror_flag"
14801 || test ! -s conftest.err'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; } &&
14807 { ac_try
='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 ac_cv_have_decl_realloc
=yes
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.
$ac_ext >&5
14818 ac_cv_have_decl_realloc
=no
14820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14822 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
14823 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
14824 if test $ac_cv_have_decl_realloc = yes; then
14826 cat >>confdefs.h
<<_ACEOF
14827 #define HAVE_DECL_REALLOC 1
14832 cat >>confdefs.h
<<_ACEOF
14833 #define HAVE_DECL_REALLOC 0
14840 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
14841 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
14842 if test "${ac_cv_have_decl_strerror+set}" = set; then
14843 echo $ECHO_N "(cached) $ECHO_C" >&6
14845 cat >conftest.
$ac_ext <<_ACEOF
14848 cat confdefs.h
>>conftest.
$ac_ext
14849 cat >>conftest.
$ac_ext <<_ACEOF
14850 /* end confdefs.h. */
14851 $ac_includes_default
14856 char *p = (char *) strerror;
14863 rm -f conftest.
$ac_objext
14864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14865 (eval $ac_compile) 2>conftest.er1
14867 grep -v '^ *+' conftest.er1
>conftest.err
14869 cat conftest.err
>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); } &&
14872 { ac_try
='test -z "$ac_c_werror_flag"
14873 || test ! -s conftest.err'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; } &&
14879 { ac_try
='test -s conftest.$ac_objext'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; }; then
14885 ac_cv_have_decl_strerror
=yes
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.
$ac_ext >&5
14890 ac_cv_have_decl_strerror
=no
14892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14894 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
14895 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
14896 if test $ac_cv_have_decl_strerror = yes; then
14898 cat >>confdefs.h
<<_ACEOF
14899 #define HAVE_DECL_STRERROR 1
14904 cat >>confdefs.h
<<_ACEOF
14905 #define HAVE_DECL_STRERROR 0
14910 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
14911 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
14912 if test "${ac_cv_have_decl_strstr+set}" = set; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14915 cat >conftest.
$ac_ext <<_ACEOF
14918 cat confdefs.h
>>conftest.
$ac_ext
14919 cat >>conftest.
$ac_ext <<_ACEOF
14920 /* end confdefs.h. */
14921 $ac_includes_default
14926 char *p = (char *) strstr;
14933 rm -f conftest.
$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>conftest.er1
14937 grep -v '^ *+' conftest.er1
>conftest.err
14939 cat conftest.err
>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try
='test -z "$ac_c_werror_flag"
14943 || test ! -s conftest.err'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; } &&
14949 { ac_try
='test -s conftest.$ac_objext'
14950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14951 (eval $ac_try) 2>&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); }; }; then
14955 ac_cv_have_decl_strstr
=yes
14957 echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.
$ac_ext >&5
14960 ac_cv_have_decl_strstr
=no
14962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14964 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
14965 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
14966 if test $ac_cv_have_decl_strstr = yes; then
14968 cat >>confdefs.h
<<_ACEOF
14969 #define HAVE_DECL_STRSTR 1
14974 cat >>confdefs.h
<<_ACEOF
14975 #define HAVE_DECL_STRSTR 0
14982 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
14983 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
14984 if test "${ac_cv_have_decl_getopt+set}" = set; then
14985 echo $ECHO_N "(cached) $ECHO_C" >&6
14987 cat >conftest.
$ac_ext <<_ACEOF
14990 cat confdefs.h
>>conftest.
$ac_ext
14991 cat >>conftest.
$ac_ext <<_ACEOF
14992 /* end confdefs.h. */
14993 $ac_includes_default
14998 char *p = (char *) getopt;
15005 rm -f conftest.
$ac_objext
15006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15007 (eval $ac_compile) 2>conftest.er1
15009 grep -v '^ *+' conftest.er1
>conftest.err
15011 cat conftest.err
>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); } &&
15014 { ac_try
='test -z "$ac_c_werror_flag"
15015 || test ! -s conftest.err'
15016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15017 (eval $ac_try) 2>&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); }; } &&
15021 { ac_try
='test -s conftest.$ac_objext'
15022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15023 (eval $ac_try) 2>&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; }; then
15027 ac_cv_have_decl_getopt
=yes
15029 echo "$as_me: failed program was:" >&5
15030 sed 's/^/| /' conftest.
$ac_ext >&5
15032 ac_cv_have_decl_getopt
=no
15034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15036 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
15037 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
15038 if test $ac_cv_have_decl_getopt = yes; then
15040 cat >>confdefs.h
<<_ACEOF
15041 #define HAVE_DECL_GETOPT 1
15046 cat >>confdefs.h
<<_ACEOF
15047 #define HAVE_DECL_GETOPT 0
15052 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
15053 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
15054 if test "${ac_cv_have_decl_snprintf+set}" = set; then
15055 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 cat >conftest.
$ac_ext <<_ACEOF
15060 cat confdefs.h
>>conftest.
$ac_ext
15061 cat >>conftest.
$ac_ext <<_ACEOF
15062 /* end confdefs.h. */
15063 $ac_includes_default
15068 char *p = (char *) snprintf;
15075 rm -f conftest.
$ac_objext
15076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15077 (eval $ac_compile) 2>conftest.er1
15079 grep -v '^ *+' conftest.er1
>conftest.err
15081 cat conftest.err
>&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } &&
15084 { ac_try
='test -z "$ac_c_werror_flag"
15085 || test ! -s conftest.err'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; } &&
15091 { ac_try
='test -s conftest.$ac_objext'
15092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15093 (eval $ac_try) 2>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); }; }; then
15097 ac_cv_have_decl_snprintf
=yes
15099 echo "$as_me: failed program was:" >&5
15100 sed 's/^/| /' conftest.
$ac_ext >&5
15102 ac_cv_have_decl_snprintf
=no
15104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15106 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
15107 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
15108 if test $ac_cv_have_decl_snprintf = yes; then
15110 cat >>confdefs.h
<<_ACEOF
15111 #define HAVE_DECL_SNPRINTF 1
15116 cat >>confdefs.h
<<_ACEOF
15117 #define HAVE_DECL_SNPRINTF 0
15122 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
15123 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
15124 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
15125 echo $ECHO_N "(cached) $ECHO_C" >&6
15127 cat >conftest.
$ac_ext <<_ACEOF
15130 cat confdefs.h
>>conftest.
$ac_ext
15131 cat >>conftest.
$ac_ext <<_ACEOF
15132 /* end confdefs.h. */
15133 $ac_includes_default
15138 char *p = (char *) vsnprintf;
15145 rm -f conftest.
$ac_objext
15146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15147 (eval $ac_compile) 2>conftest.er1
15149 grep -v '^ *+' conftest.er1
>conftest.err
15151 cat conftest.err
>&5
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); } &&
15154 { ac_try
='test -z "$ac_c_werror_flag"
15155 || test ! -s conftest.err'
15156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15157 (eval $ac_try) 2>&5
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); }; } &&
15161 { ac_try
='test -s conftest.$ac_objext'
15162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15163 (eval $ac_try) 2>&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); }; }; then
15167 ac_cv_have_decl_vsnprintf
=yes
15169 echo "$as_me: failed program was:" >&5
15170 sed 's/^/| /' conftest.
$ac_ext >&5
15172 ac_cv_have_decl_vsnprintf
=no
15174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15176 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
15177 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
15178 if test $ac_cv_have_decl_vsnprintf = yes; then
15180 cat >>confdefs.h
<<_ACEOF
15181 #define HAVE_DECL_VSNPRINTF 1
15186 cat >>confdefs.h
<<_ACEOF
15187 #define HAVE_DECL_VSNPRINTF 0
15195 # ----------------------- #
15196 # Checks for structures. #
15197 # ----------------------- #
15199 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
15200 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
15201 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
15202 echo $ECHO_N "(cached) $ECHO_C" >&6
15204 cat >conftest.
$ac_ext <<_ACEOF
15207 cat confdefs.h
>>conftest.
$ac_ext
15208 cat >>conftest.
$ac_ext <<_ACEOF
15209 /* end confdefs.h. */
15210 $ac_includes_default
15214 static struct stat ac_aggr;
15215 if (ac_aggr.st_blocks)
15221 rm -f conftest.
$ac_objext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15223 (eval $ac_compile) 2>conftest.er1
15225 grep -v '^ *+' conftest.er1
>conftest.err
15227 cat conftest.err
>&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); } &&
15230 { ac_try
='test -z "$ac_c_werror_flag"
15231 || test ! -s conftest.err'
15232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15233 (eval $ac_try) 2>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }; } &&
15237 { ac_try
='test -s conftest.$ac_objext'
15238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15239 (eval $ac_try) 2>&5
15241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242 (exit $ac_status); }; }; then
15243 ac_cv_member_struct_stat_st_blocks
=yes
15245 echo "$as_me: failed program was:" >&5
15246 sed 's/^/| /' conftest.
$ac_ext >&5
15248 cat >conftest.
$ac_ext <<_ACEOF
15251 cat confdefs.h
>>conftest.
$ac_ext
15252 cat >>conftest.
$ac_ext <<_ACEOF
15253 /* end confdefs.h. */
15254 $ac_includes_default
15258 static struct stat ac_aggr;
15259 if (sizeof ac_aggr.st_blocks)
15265 rm -f conftest.
$ac_objext
15266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15267 (eval $ac_compile) 2>conftest.er1
15269 grep -v '^ *+' conftest.er1
>conftest.err
15271 cat conftest.err
>&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); } &&
15274 { ac_try
='test -z "$ac_c_werror_flag"
15275 || test ! -s conftest.err'
15276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277 (eval $ac_try) 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; } &&
15281 { ac_try
='test -s conftest.$ac_objext'
15282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283 (eval $ac_try) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }; }; then
15287 ac_cv_member_struct_stat_st_blocks
=yes
15289 echo "$as_me: failed program was:" >&5
15290 sed 's/^/| /' conftest.
$ac_ext >&5
15292 ac_cv_member_struct_stat_st_blocks
=no
15294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15298 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
15299 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
15300 if test $ac_cv_member_struct_stat_st_blocks = yes; then
15302 cat >>confdefs.h
<<_ACEOF
15303 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15309 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
15310 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
15311 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15314 cat >conftest.
$ac_ext <<_ACEOF
15317 cat confdefs.h
>>conftest.
$ac_ext
15318 cat >>conftest.
$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15320 $ac_includes_default
15324 static struct stat ac_aggr;
15325 if (ac_aggr.st_blksize)
15331 rm -f conftest.
$ac_objext
15332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15333 (eval $ac_compile) 2>conftest.er1
15335 grep -v '^ *+' conftest.er1
>conftest.err
15337 cat conftest.err
>&5
15338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339 (exit $ac_status); } &&
15340 { ac_try
='test -z "$ac_c_werror_flag"
15341 || test ! -s conftest.err'
15342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15343 (eval $ac_try) 2>&5
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); }; } &&
15347 { ac_try
='test -s conftest.$ac_objext'
15348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15349 (eval $ac_try) 2>&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); }; }; then
15353 ac_cv_member_struct_stat_st_blksize
=yes
15355 echo "$as_me: failed program was:" >&5
15356 sed 's/^/| /' conftest.
$ac_ext >&5
15358 cat >conftest.
$ac_ext <<_ACEOF
15361 cat confdefs.h
>>conftest.
$ac_ext
15362 cat >>conftest.
$ac_ext <<_ACEOF
15363 /* end confdefs.h. */
15364 $ac_includes_default
15368 static struct stat ac_aggr;
15369 if (sizeof ac_aggr.st_blksize)
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_cv_member_struct_stat_st_blksize
=yes
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.
$ac_ext >&5
15402 ac_cv_member_struct_stat_st_blksize
=no
15404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15408 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
15409 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
15410 if test $ac_cv_member_struct_stat_st_blksize = yes; then
15412 cat >>confdefs.h
<<_ACEOF
15413 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15420 # ------------------ #
15421 # Checks for types. #
15422 # ------------------ #
15424 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
15425 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
15426 if test "${ac_cv_type_signal+set}" = set; then
15427 echo $ECHO_N "(cached) $ECHO_C" >&6
15429 cat >conftest.
$ac_ext <<_ACEOF
15432 cat confdefs.h
>>conftest.
$ac_ext
15433 cat >>conftest.
$ac_ext <<_ACEOF
15434 /* end confdefs.h. */
15435 #include <sys/types.h>
15436 #include <signal.h>
15441 extern "C" void (*signal (int, void (*)(int)))(int);
15443 void (*signal ()) ();
15454 rm -f conftest.
$ac_objext
15455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15456 (eval $ac_compile) 2>conftest.er1
15458 grep -v '^ *+' conftest.er1
>conftest.err
15460 cat conftest.err
>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); } &&
15463 { ac_try
='test -z "$ac_c_werror_flag"
15464 || test ! -s conftest.err'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; } &&
15470 { ac_try
='test -s conftest.$ac_objext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_cv_type_signal
=void
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.
$ac_ext >&5
15481 ac_cv_type_signal
=int
15483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15485 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
15486 echo "${ECHO_T}$ac_cv_type_signal" >&6
15488 cat >>confdefs.h
<<_ACEOF
15489 #define RETSIGTYPE $ac_cv_type_signal
15493 echo "$as_me:$LINENO: checking for socklen_t" >&5
15494 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
15495 if test "${ac_cv_type_socklen_t+set}" = set; then
15496 echo $ECHO_N "(cached) $ECHO_C" >&6
15498 cat >conftest.
$ac_ext <<_ACEOF
15501 cat confdefs.h
>>conftest.
$ac_ext
15502 cat >>conftest.
$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504 #include <sys/types.h>
15505 #include <sys/socket.h>
15511 if ((socklen_t *) 0)
15513 if (sizeof (socklen_t))
15519 rm -f conftest.
$ac_objext
15520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15521 (eval $ac_compile) 2>conftest.er1
15523 grep -v '^ *+' conftest.er1
>conftest.err
15525 cat conftest.err
>&5
15526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527 (exit $ac_status); } &&
15528 { ac_try
='test -z "$ac_c_werror_flag"
15529 || test ! -s conftest.err'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; } &&
15535 { ac_try
='test -s conftest.$ac_objext'
15536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15537 (eval $ac_try) 2>&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); }; }; then
15541 ac_cv_type_socklen_t
=yes
15543 echo "$as_me: failed program was:" >&5
15544 sed 's/^/| /' conftest.
$ac_ext >&5
15546 ac_cv_type_socklen_t
=no
15548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15550 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
15551 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
15552 if test $ac_cv_type_socklen_t = yes; then
15554 cat >>confdefs.h
<<_ACEOF
15555 #define HAVE_SOCKLEN_T 1
15561 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15562 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15563 if test "${ac_cv_type_uintptr_t+set}" = set; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15566 cat >conftest.
$ac_ext <<_ACEOF
15569 cat confdefs.h
>>conftest.
$ac_ext
15570 cat >>conftest.
$ac_ext <<_ACEOF
15571 /* end confdefs.h. */
15572 #include <stdint.h>
15577 if ((uintptr_t *) 0)
15579 if (sizeof (uintptr_t))
15585 rm -f conftest.
$ac_objext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>conftest.er1
15589 grep -v '^ *+' conftest.er1
>conftest.err
15591 cat conftest.err
>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); } &&
15594 { ac_try
='test -z "$ac_c_werror_flag"
15595 || test ! -s conftest.err'
15596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15597 (eval $ac_try) 2>&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); }; } &&
15601 { ac_try
='test -s conftest.$ac_objext'
15602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15603 (eval $ac_try) 2>&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); }; }; then
15607 ac_cv_type_uintptr_t
=yes
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.
$ac_ext >&5
15612 ac_cv_type_uintptr_t
=no
15614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15616 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15617 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15618 if test $ac_cv_type_uintptr_t = yes; then
15620 cat >>confdefs.h
<<_ACEOF
15621 #define HAVE_UINTPTR_T 1
15628 # ------------------------------------- #
15629 # Checks for compiler characteristics. #
15630 # ------------------------------------- #
15632 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15633 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15634 if test "${ac_cv_c_const+set}" = set; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 cat >conftest.
$ac_ext <<_ACEOF
15640 cat confdefs.h
>>conftest.
$ac_ext
15641 cat >>conftest.
$ac_ext <<_ACEOF
15642 /* end confdefs.h. */
15647 /* FIXME: Include the comments suggested by Paul. */
15648 #ifndef __cplusplus
15649 /* Ultrix mips cc rejects this. */
15650 typedef int charset[2];
15652 /* SunOS 4.1.1 cc rejects this. */
15653 char const *const *ccp;
15655 /* NEC SVR4.0.2 mips cc rejects this. */
15656 struct point {int x, y;};
15657 static struct point const zero = {0,0};
15658 /* AIX XL C 1.02.0.0 rejects this.
15659 It does not let you subtract one const X* pointer from another in
15660 an arm of an if-expression whose if-part is not a constant
15662 const char *g = "string";
15663 ccp = &g + (g ? g-g : 0);
15664 /* HPUX 7.0 cc rejects these. */
15667 ccp = (char const *const *) p;
15668 { /* SCO 3.2v4 cc rejects this. */
15670 char const *s = 0 ? (char *) 0 : (char const *) 0;
15674 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15675 int x[] = {25, 17};
15676 const int *foo = &x[0];
15679 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15680 typedef const int *iptr;
15684 { /* AIX XL C 1.02.0.0 rejects this saying
15685 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15686 struct s { int j; const int *ap[3]; };
15687 struct s *b; b->j = 5;
15689 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15690 const int foo = 10;
15698 rm -f conftest.
$ac_objext
15699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15700 (eval $ac_compile) 2>conftest.er1
15702 grep -v '^ *+' conftest.er1
>conftest.err
15704 cat conftest.err
>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } &&
15707 { ac_try
='test -z "$ac_c_werror_flag"
15708 || test ! -s conftest.err'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; } &&
15714 { ac_try
='test -s conftest.$ac_objext'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; }; then
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.
$ac_ext >&5
15727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15729 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15730 echo "${ECHO_T}$ac_cv_c_const" >&6
15731 if test $ac_cv_c_const = no
; then
15733 cat >>confdefs.h
<<\_ACEOF
15739 echo "$as_me:$LINENO: checking for inline" >&5
15740 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15741 if test "${ac_cv_c_inline+set}" = set; then
15742 echo $ECHO_N "(cached) $ECHO_C" >&6
15745 for ac_kw
in inline __inline__ __inline
; do
15746 cat >conftest.
$ac_ext <<_ACEOF
15749 cat confdefs.h
>>conftest.
$ac_ext
15750 cat >>conftest.
$ac_ext <<_ACEOF
15751 /* end confdefs.h. */
15752 #ifndef __cplusplus
15754 static $ac_kw foo_t static_foo () {return 0; }
15755 $ac_kw foo_t foo () {return 0; }
15759 rm -f conftest.
$ac_objext
15760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15761 (eval $ac_compile) 2>conftest.er1
15763 grep -v '^ *+' conftest.er1
>conftest.err
15765 cat conftest.err
>&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); } &&
15768 { ac_try
='test -z "$ac_c_werror_flag"
15769 || test ! -s conftest.err'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; } &&
15775 { ac_try
='test -s conftest.$ac_objext'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; }; then
15781 ac_cv_c_inline
=$ac_kw; break
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.
$ac_ext >&5
15787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15791 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15792 echo "${ECHO_T}$ac_cv_c_inline" >&6
15795 case $ac_cv_c_inline in
15798 case $ac_cv_c_inline in
15800 *) ac_val
=$ac_cv_c_inline;;
15802 cat >>confdefs.h
<<_ACEOF
15803 #ifndef __cplusplus
15804 #define inline $ac_val
15810 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
15811 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
15812 if test "${ac_cv_c_bigendian+set}" = set; then
15813 echo $ECHO_N "(cached) $ECHO_C" >&6
15815 # See if sys/param.h defines the BYTE_ORDER macro.
15816 cat >conftest.
$ac_ext <<_ACEOF
15819 cat confdefs.h
>>conftest.
$ac_ext
15820 cat >>conftest.
$ac_ext <<_ACEOF
15821 /* end confdefs.h. */
15822 #include <sys/types.h>
15823 #include <sys/param.h>
15828 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15829 bogus endian macros
15836 rm -f conftest.
$ac_objext
15837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15838 (eval $ac_compile) 2>conftest.er1
15840 grep -v '^ *+' conftest.er1
>conftest.err
15842 cat conftest.err
>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); } &&
15845 { ac_try
='test -z "$ac_c_werror_flag"
15846 || test ! -s conftest.err'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; } &&
15852 { ac_try
='test -s conftest.$ac_objext'
15853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15854 (eval $ac_try) 2>&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); }; }; then
15858 # It does; now see whether it defined to BIG_ENDIAN or not.
15859 cat >conftest.
$ac_ext <<_ACEOF
15862 cat confdefs.h
>>conftest.
$ac_ext
15863 cat >>conftest.
$ac_ext <<_ACEOF
15864 /* end confdefs.h. */
15865 #include <sys/types.h>
15866 #include <sys/param.h>
15871 #if BYTE_ORDER != BIG_ENDIAN
15879 rm -f conftest.
$ac_objext
15880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15881 (eval $ac_compile) 2>conftest.er1
15883 grep -v '^ *+' conftest.er1
>conftest.err
15885 cat conftest.err
>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); } &&
15888 { ac_try
='test -z "$ac_c_werror_flag"
15889 || test ! -s conftest.err'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; } &&
15895 { ac_try
='test -s conftest.$ac_objext'
15896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897 (eval $ac_try) 2>&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); }; }; then
15901 ac_cv_c_bigendian
=yes
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.
$ac_ext >&5
15906 ac_cv_c_bigendian
=no
15908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.
$ac_ext >&5
15913 # It does not; compile a test program.
15914 if test "$cross_compiling" = yes; then
15915 # try to guess the endianness by grepping values into an object file
15916 ac_cv_c_bigendian
=unknown
15917 cat >conftest.
$ac_ext <<_ACEOF
15920 cat confdefs.h
>>conftest.
$ac_ext
15921 cat >>conftest.
$ac_ext <<_ACEOF
15922 /* end confdefs.h. */
15923 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15924 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15925 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
15926 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15927 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15928 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
15932 _ascii (); _ebcdic ();
15937 rm -f conftest.
$ac_objext
15938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939 (eval $ac_compile) 2>conftest.er1
15941 grep -v '^ *+' conftest.er1
>conftest.err
15943 cat conftest.err
>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } &&
15946 { ac_try
='test -z "$ac_c_werror_flag"
15947 || test ! -s conftest.err'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; } &&
15953 { ac_try
='test -s conftest.$ac_objext'
15954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15955 (eval $ac_try) 2>&5
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; }; then
15959 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
15960 ac_cv_c_bigendian
=yes
15962 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
15963 if test "$ac_cv_c_bigendian" = unknown
; then
15964 ac_cv_c_bigendian
=no
15966 # finding both strings is unlikely to happen, but who knows?
15967 ac_cv_c_bigendian
=unknown
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.
$ac_ext >&5
15975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15977 cat >conftest.
$ac_ext <<_ACEOF
15980 cat confdefs.h
>>conftest.
$ac_ext
15981 cat >>conftest.
$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15986 /* Are we little or big endian? From Harbison&Steele. */
15990 char c[sizeof (long)];
15993 exit (u.c[sizeof (long) - 1] == 1);
15996 rm -f conftest
$ac_exeext
15997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15998 (eval $ac_link) 2>&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16003 (eval $ac_try) 2>&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); }; }; then
16007 ac_cv_c_bigendian
=no
16009 echo "$as_me: program exited with status $ac_status" >&5
16010 echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.
$ac_ext >&5
16013 ( exit $ac_status )
16014 ac_cv_c_bigendian
=yes
16016 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16021 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16022 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16023 case $ac_cv_c_bigendian in
16026 cat >>confdefs.h
<<\_ACEOF
16027 #define WORDS_BIGENDIAN 1
16033 { { echo "$as_me:$LINENO: error: unknown endianness
16034 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
16035 echo "$as_me: error: unknown endianness
16036 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
16037 { (exit 1); exit 1; }; } ;;
16041 # ------------------------------ #
16042 # Checks for library functions. #
16043 # ------------------------------ #
16045 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16046 # for constant arguments. Useless!
16047 echo "$as_me:$LINENO: checking for working alloca.h" >&5
16048 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
16049 if test "${ac_cv_working_alloca_h+set}" = set; then
16050 echo $ECHO_N "(cached) $ECHO_C" >&6
16052 cat >conftest.
$ac_ext <<_ACEOF
16055 cat confdefs.h
>>conftest.
$ac_ext
16056 cat >>conftest.
$ac_ext <<_ACEOF
16057 /* end confdefs.h. */
16058 #include <alloca.h>
16062 char *p = (char *) alloca (2 * sizeof (int));
16067 rm -f conftest.
$ac_objext conftest
$ac_exeext
16068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16069 (eval $ac_link) 2>conftest.er1
16071 grep -v '^ *+' conftest.er1
>conftest.err
16073 cat conftest.err
>&5
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); } &&
16076 { ac_try
='test -z "$ac_c_werror_flag"
16077 || test ! -s conftest.err'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; } &&
16083 { ac_try
='test -s conftest$ac_exeext'
16084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16085 (eval $ac_try) 2>&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); }; }; then
16089 ac_cv_working_alloca_h
=yes
16091 echo "$as_me: failed program was:" >&5
16092 sed 's/^/| /' conftest.
$ac_ext >&5
16094 ac_cv_working_alloca_h
=no
16096 rm -f conftest.err conftest.
$ac_objext \
16097 conftest
$ac_exeext conftest.
$ac_ext
16099 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16100 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16101 if test $ac_cv_working_alloca_h = yes; then
16103 cat >>confdefs.h
<<\_ACEOF
16104 #define HAVE_ALLOCA_H 1
16109 echo "$as_me:$LINENO: checking for alloca" >&5
16110 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16111 if test "${ac_cv_func_alloca_works+set}" = set; then
16112 echo $ECHO_N "(cached) $ECHO_C" >&6
16114 cat >conftest.
$ac_ext <<_ACEOF
16117 cat confdefs.h
>>conftest.
$ac_ext
16118 cat >>conftest.
$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16121 # define alloca __builtin_alloca
16124 # include <malloc.h>
16125 # define alloca _alloca
16128 # include <alloca.h>
16133 # ifndef alloca /* predefined by HP cc +Olibcalls */
16144 char *p = (char *) alloca (1);
16149 rm -f conftest.
$ac_objext conftest
$ac_exeext
16150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16151 (eval $ac_link) 2>conftest.er1
16153 grep -v '^ *+' conftest.er1
>conftest.err
16155 cat conftest.err
>&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); } &&
16158 { ac_try
='test -z "$ac_c_werror_flag"
16159 || test ! -s conftest.err'
16160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161 (eval $ac_try) 2>&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; } &&
16165 { ac_try
='test -s conftest$ac_exeext'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; }; then
16171 ac_cv_func_alloca_works
=yes
16173 echo "$as_me: failed program was:" >&5
16174 sed 's/^/| /' conftest.
$ac_ext >&5
16176 ac_cv_func_alloca_works
=no
16178 rm -f conftest.err conftest.
$ac_objext \
16179 conftest
$ac_exeext conftest.
$ac_ext
16181 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16182 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16184 if test $ac_cv_func_alloca_works = yes; then
16186 cat >>confdefs.h
<<\_ACEOF
16187 #define HAVE_ALLOCA 1
16191 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16192 # that cause trouble. Some versions do not even contain alloca or
16193 # contain a buggy version. If you still want to use their alloca,
16194 # use ar to extract alloca.o from them instead of compiling alloca.c.
16196 ALLOCA
=alloca.
$ac_objext
16198 cat >>confdefs.h
<<\_ACEOF
16203 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16204 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16205 if test "${ac_cv_os_cray+set}" = set; then
16206 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 cat >conftest.
$ac_ext <<_ACEOF
16211 cat confdefs.h
>>conftest.
$ac_ext
16212 cat >>conftest.
$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16214 #if defined(CRAY) && ! defined(CRAY2)
16221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16222 $EGREP "webecray" >/dev
/null
2>&1; then
16230 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16231 echo "${ECHO_T}$ac_cv_os_cray" >&6
16232 if test $ac_cv_os_cray = yes; then
16233 for ac_func
in _getb67 GETB67 getb67
; do
16234 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16235 echo "$as_me:$LINENO: checking for $ac_func" >&5
16236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16237 if eval "test \"\${$as_ac_var+set}\" = set"; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 cat >conftest.
$ac_ext <<_ACEOF
16243 cat confdefs.h
>>conftest.
$ac_ext
16244 cat >>conftest.
$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16248 #define $ac_func innocuous_$ac_func
16250 /* System header to define __stub macros and hopefully few prototypes,
16251 which can conflict with char $ac_func (); below.
16252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16253 <limits.h> exists even on freestanding compilers. */
16256 # include <limits.h>
16258 # include <assert.h>
16263 /* Override any gcc2 internal prototype to avoid an error. */
16268 /* We use char because int might match the return type of a gcc2
16269 builtin and then its argument prototype would still apply. */
16271 /* The GNU C library defines this for functions which it implements
16272 to always fail with ENOSYS. Some functions are actually named
16273 something starting with __ and the normal name is an alias. */
16274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16277 char (*f) () = $ac_func;
16286 return f != $ac_func;
16291 rm -f conftest.
$ac_objext conftest
$ac_exeext
16292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16293 (eval $ac_link) 2>conftest.er1
16295 grep -v '^ *+' conftest.er1
>conftest.err
16297 cat conftest.err
>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); } &&
16300 { ac_try
='test -z "$ac_c_werror_flag"
16301 || test ! -s conftest.err'
16302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16303 (eval $ac_try) 2>&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); }; } &&
16307 { ac_try
='test -s conftest$ac_exeext'
16308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16309 (eval $ac_try) 2>&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); }; }; then
16313 eval "$as_ac_var=yes"
16315 echo "$as_me: failed program was:" >&5
16316 sed 's/^/| /' conftest.
$ac_ext >&5
16318 eval "$as_ac_var=no"
16320 rm -f conftest.err conftest.
$ac_objext \
16321 conftest
$ac_exeext conftest.
$ac_ext
16323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16325 if test `eval echo '${'$as_ac_var'}'` = yes; then
16327 cat >>confdefs.h
<<_ACEOF
16328 #define CRAY_STACKSEG_END $ac_func
16337 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16338 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16339 if test "${ac_cv_c_stack_direction+set}" = set; then
16340 echo $ECHO_N "(cached) $ECHO_C" >&6
16342 if test "$cross_compiling" = yes; then
16343 ac_cv_c_stack_direction
=0
16345 cat >conftest.
$ac_ext <<_ACEOF
16348 cat confdefs.h
>>conftest.
$ac_ext
16349 cat >>conftest.
$ac_ext <<_ACEOF
16350 /* end confdefs.h. */
16352 find_stack_direction ()
16354 static char *addr = 0;
16359 return find_stack_direction ();
16362 return (&dummy > addr) ? 1 : -1;
16368 exit (find_stack_direction () < 0);
16371 rm -f conftest
$ac_exeext
16372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16373 (eval $ac_link) 2>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378 (eval $ac_try) 2>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); }; }; then
16382 ac_cv_c_stack_direction
=1
16384 echo "$as_me: program exited with status $ac_status" >&5
16385 echo "$as_me: failed program was:" >&5
16386 sed 's/^/| /' conftest.
$ac_ext >&5
16388 ( exit $ac_status )
16389 ac_cv_c_stack_direction
=-1
16391 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16394 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16395 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16397 cat >>confdefs.h
<<_ACEOF
16398 #define STACK_DIRECTION $ac_cv_c_stack_direction
16406 for ac_header
in stdlib.h unistd.h
16408 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16410 echo "$as_me:$LINENO: checking for $ac_header" >&5
16411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16418 # Is the header compilable?
16419 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16420 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16421 cat >conftest.
$ac_ext <<_ACEOF
16424 cat confdefs.h
>>conftest.
$ac_ext
16425 cat >>conftest.
$ac_ext <<_ACEOF
16426 /* end confdefs.h. */
16427 $ac_includes_default
16428 #include <$ac_header>
16430 rm -f conftest.
$ac_objext
16431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16432 (eval $ac_compile) 2>conftest.er1
16434 grep -v '^ *+' conftest.er1
>conftest.err
16436 cat conftest.err
>&5
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); } &&
16439 { ac_try
='test -z "$ac_c_werror_flag"
16440 || test ! -s conftest.err'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; } &&
16446 { ac_try
='test -s conftest.$ac_objext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16452 ac_header_compiler
=yes
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.
$ac_ext >&5
16457 ac_header_compiler
=no
16459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16461 echo "${ECHO_T}$ac_header_compiler" >&6
16463 # Is the header present?
16464 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16465 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16466 cat >conftest.
$ac_ext <<_ACEOF
16469 cat confdefs.h
>>conftest.
$ac_ext
16470 cat >>conftest.
$ac_ext <<_ACEOF
16471 /* end confdefs.h. */
16472 #include <$ac_header>
16474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16475 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16477 grep -v '^ *+' conftest.er1
>conftest.err
16479 cat conftest.err
>&5
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); } >/dev
/null
; then
16482 if test -s conftest.err
; then
16483 ac_cpp_err
=$ac_c_preproc_warn_flag
16484 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16491 if test -z "$ac_cpp_err"; then
16492 ac_header_preproc
=yes
16494 echo "$as_me: failed program was:" >&5
16495 sed 's/^/| /' conftest.
$ac_ext >&5
16497 ac_header_preproc
=no
16499 rm -f conftest.err conftest.
$ac_ext
16500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16501 echo "${ECHO_T}$ac_header_preproc" >&6
16503 # So? What about this header?
16504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16506 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16507 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16509 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16510 ac_header_preproc
=yes
16513 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16514 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16515 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16516 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16517 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16518 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16519 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16520 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16522 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16523 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16524 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16527 ## ------------------------------------------ ##
16528 ## Report this to the AC_PACKAGE_NAME lists. ##
16529 ## ------------------------------------------ ##
16532 sed "s/^/$as_me: WARNING: /" >&2
16535 echo "$as_me:$LINENO: checking for $ac_header" >&5
16536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16538 echo $ECHO_N "(cached) $ECHO_C" >&6
16540 eval "$as_ac_Header=\$ac_header_preproc"
16542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16547 cat >>confdefs.h
<<_ACEOF
16548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16556 for ac_func
in getpagesize
16558 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16559 echo "$as_me:$LINENO: checking for $ac_func" >&5
16560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16561 if eval "test \"\${$as_ac_var+set}\" = set"; then
16562 echo $ECHO_N "(cached) $ECHO_C" >&6
16564 cat >conftest.
$ac_ext <<_ACEOF
16567 cat confdefs.h
>>conftest.
$ac_ext
16568 cat >>conftest.
$ac_ext <<_ACEOF
16569 /* end confdefs.h. */
16570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16572 #define $ac_func innocuous_$ac_func
16574 /* System header to define __stub macros and hopefully few prototypes,
16575 which can conflict with char $ac_func (); below.
16576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16577 <limits.h> exists even on freestanding compilers. */
16580 # include <limits.h>
16582 # include <assert.h>
16587 /* Override any gcc2 internal prototype to avoid an error. */
16592 /* We use char because int might match the return type of a gcc2
16593 builtin and then its argument prototype would still apply. */
16595 /* The GNU C library defines this for functions which it implements
16596 to always fail with ENOSYS. Some functions are actually named
16597 something starting with __ and the normal name is an alias. */
16598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16601 char (*f) () = $ac_func;
16610 return f != $ac_func;
16615 rm -f conftest.
$ac_objext conftest
$ac_exeext
16616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16617 (eval $ac_link) 2>conftest.er1
16619 grep -v '^ *+' conftest.er1
>conftest.err
16621 cat conftest.err
>&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } &&
16624 { ac_try
='test -z "$ac_c_werror_flag"
16625 || test ! -s conftest.err'
16626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16627 (eval $ac_try) 2>&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }; } &&
16631 { ac_try
='test -s conftest$ac_exeext'
16632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16633 (eval $ac_try) 2>&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); }; }; then
16637 eval "$as_ac_var=yes"
16639 echo "$as_me: failed program was:" >&5
16640 sed 's/^/| /' conftest.
$ac_ext >&5
16642 eval "$as_ac_var=no"
16644 rm -f conftest.err conftest.
$ac_objext \
16645 conftest
$ac_exeext conftest.
$ac_ext
16647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16649 if test `eval echo '${'$as_ac_var'}'` = yes; then
16650 cat >>confdefs.h
<<_ACEOF
16651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16657 echo "$as_me:$LINENO: checking for working mmap" >&5
16658 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
16659 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
16660 echo $ECHO_N "(cached) $ECHO_C" >&6
16662 if test "$cross_compiling" = yes; then
16663 ac_cv_func_mmap_fixed_mapped
=no
16665 cat >conftest.
$ac_ext <<_ACEOF
16668 cat confdefs.h
>>conftest.
$ac_ext
16669 cat >>conftest.
$ac_ext <<_ACEOF
16670 /* end confdefs.h. */
16671 $ac_includes_default
16672 /* malloc might have been renamed as rpl_malloc. */
16675 /* Thanks to Mike Haertel and Jim Avera for this test.
16676 Here is a matrix of mmap possibilities:
16677 mmap private not fixed
16678 mmap private fixed at somewhere currently unmapped
16679 mmap private fixed at somewhere already mapped
16680 mmap shared not fixed
16681 mmap shared fixed at somewhere currently unmapped
16682 mmap shared fixed at somewhere already mapped
16683 For private mappings, we should verify that changes cannot be read()
16684 back from the file, nor mmap's back from the file at a different
16685 address. (There have been systems where private was not correctly
16686 implemented like the infamous i386 svr4.0, and systems where the
16687 VM page cache was not coherent with the file system buffer cache
16688 like early versions of FreeBSD and possibly contemporary NetBSD.)
16689 For shared mappings, we should conversely verify that changes get
16690 propagated back to all the places they're supposed to be.
16692 Grep wants private fixed already mapped.
16693 The main things grep needs to know about mmap are:
16694 * does it exist and is it safe to write into the mmap'd area
16695 * how to use it (BSD variants) */
16698 #include <sys/mman.h>
16700 #if !STDC_HEADERS && !HAVE_STDLIB_H
16704 /* This mess was copied from the GNU getpagesize.h. */
16705 #if !HAVE_GETPAGESIZE
16706 /* Assume that all systems that can run configure have sys/param.h. */
16707 # if !HAVE_SYS_PARAM_H
16708 # define HAVE_SYS_PARAM_H 1
16711 # ifdef _SC_PAGESIZE
16712 # define getpagesize() sysconf(_SC_PAGESIZE)
16713 # else /* no _SC_PAGESIZE */
16714 # if HAVE_SYS_PARAM_H
16715 # include <sys/param.h>
16716 # ifdef EXEC_PAGESIZE
16717 # define getpagesize() EXEC_PAGESIZE
16718 # else /* no EXEC_PAGESIZE */
16720 # define getpagesize() NBPG * CLSIZE
16723 # endif /* no CLSIZE */
16724 # else /* no NBPG */
16726 # define getpagesize() NBPC
16727 # else /* no NBPC */
16729 # define getpagesize() PAGESIZE
16730 # endif /* PAGESIZE */
16731 # endif /* no NBPC */
16732 # endif /* no NBPG */
16733 # endif /* no EXEC_PAGESIZE */
16734 # else /* no HAVE_SYS_PARAM_H */
16735 # define getpagesize() 8192 /* punt totally */
16736 # endif /* no HAVE_SYS_PARAM_H */
16737 # endif /* no _SC_PAGESIZE */
16739 #endif /* no HAVE_GETPAGESIZE */
16744 char *data, *data2, *data3;
16748 pagesize = getpagesize ();
16750 /* First, make a file with some known garbage in it. */
16751 data = (char *) malloc (pagesize);
16754 for (i = 0; i < pagesize; ++i)
16755 *(data + i) = rand ();
16757 fd = creat ("conftest.mmap", 0600);
16760 if (write (fd, data, pagesize) != pagesize)
16764 /* Next, try to mmap the file at a fixed address which already has
16765 something else allocated at it. If we can, also make sure that
16766 we see the same garbage. */
16767 fd = open ("conftest.mmap", O_RDWR);
16770 data2 = (char *) malloc (2 * pagesize);
16773 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
16774 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16775 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16777 for (i = 0; i < pagesize; ++i)
16778 if (*(data + i) != *(data2 + i))
16781 /* Finally, make sure that changes to the mapped area do not
16782 percolate back to the file as seen by read(). (This is a bug on
16783 some variants of i386 svr4.0.) */
16784 for (i = 0; i < pagesize; ++i)
16785 *(data2 + i) = *(data2 + i) + 1;
16786 data3 = (char *) malloc (pagesize);
16789 if (read (fd, data3, pagesize) != pagesize)
16791 for (i = 0; i < pagesize; ++i)
16792 if (*(data + i) != *(data3 + i))
16798 rm -f conftest
$ac_exeext
16799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16800 (eval $ac_link) 2>&5
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; }; then
16809 ac_cv_func_mmap_fixed_mapped
=yes
16811 echo "$as_me: program exited with status $ac_status" >&5
16812 echo "$as_me: failed program was:" >&5
16813 sed 's/^/| /' conftest.
$ac_ext >&5
16815 ( exit $ac_status )
16816 ac_cv_func_mmap_fixed_mapped
=no
16818 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16821 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
16822 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
16823 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16825 cat >>confdefs.h
<<\_ACEOF
16826 #define HAVE_MMAP 1
16830 rm -f conftest.mmap
16832 echo "$as_me:$LINENO: checking for pid_t" >&5
16833 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16834 if test "${ac_cv_type_pid_t+set}" = set; then
16835 echo $ECHO_N "(cached) $ECHO_C" >&6
16837 cat >conftest.
$ac_ext <<_ACEOF
16840 cat confdefs.h
>>conftest.
$ac_ext
16841 cat >>conftest.
$ac_ext <<_ACEOF
16842 /* end confdefs.h. */
16843 $ac_includes_default
16849 if (sizeof (pid_t))
16855 rm -f conftest.
$ac_objext
16856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16857 (eval $ac_compile) 2>conftest.er1
16859 grep -v '^ *+' conftest.er1
>conftest.err
16861 cat conftest.err
>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); } &&
16864 { ac_try
='test -z "$ac_c_werror_flag"
16865 || test ! -s conftest.err'
16866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16867 (eval $ac_try) 2>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); }; } &&
16871 { ac_try
='test -s conftest.$ac_objext'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; }; then
16877 ac_cv_type_pid_t
=yes
16879 echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.
$ac_ext >&5
16882 ac_cv_type_pid_t
=no
16884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16886 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16887 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16888 if test $ac_cv_type_pid_t = yes; then
16892 cat >>confdefs.h
<<_ACEOF
16900 for ac_header
in unistd.h vfork.h
16902 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16904 echo "$as_me:$LINENO: checking for $ac_header" >&5
16905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16907 echo $ECHO_N "(cached) $ECHO_C" >&6
16909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16912 # Is the header compilable?
16913 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16914 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16915 cat >conftest.
$ac_ext <<_ACEOF
16918 cat confdefs.h
>>conftest.
$ac_ext
16919 cat >>conftest.
$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16921 $ac_includes_default
16922 #include <$ac_header>
16924 rm -f conftest.
$ac_objext
16925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16926 (eval $ac_compile) 2>conftest.er1
16928 grep -v '^ *+' conftest.er1
>conftest.err
16930 cat conftest.err
>&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); } &&
16933 { ac_try
='test -z "$ac_c_werror_flag"
16934 || test ! -s conftest.err'
16935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16936 (eval $ac_try) 2>&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }; } &&
16940 { ac_try
='test -s conftest.$ac_objext'
16941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16942 (eval $ac_try) 2>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); }; }; then
16946 ac_header_compiler
=yes
16948 echo "$as_me: failed program was:" >&5
16949 sed 's/^/| /' conftest.
$ac_ext >&5
16951 ac_header_compiler
=no
16953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16955 echo "${ECHO_T}$ac_header_compiler" >&6
16957 # Is the header present?
16958 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16959 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16960 cat >conftest.
$ac_ext <<_ACEOF
16963 cat confdefs.h
>>conftest.
$ac_ext
16964 cat >>conftest.
$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16966 #include <$ac_header>
16968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16969 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16971 grep -v '^ *+' conftest.er1
>conftest.err
16973 cat conftest.err
>&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); } >/dev
/null
; then
16976 if test -s conftest.err
; then
16977 ac_cpp_err
=$ac_c_preproc_warn_flag
16978 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16985 if test -z "$ac_cpp_err"; then
16986 ac_header_preproc
=yes
16988 echo "$as_me: failed program was:" >&5
16989 sed 's/^/| /' conftest.
$ac_ext >&5
16991 ac_header_preproc
=no
16993 rm -f conftest.err conftest.
$ac_ext
16994 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16995 echo "${ECHO_T}$ac_header_preproc" >&6
16997 # So? What about this header?
16998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17000 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17001 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17003 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17004 ac_header_preproc
=yes
17007 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17008 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17009 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17010 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17011 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17012 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17013 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17014 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17016 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17017 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17018 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17021 ## ------------------------------------------ ##
17022 ## Report this to the AC_PACKAGE_NAME lists. ##
17023 ## ------------------------------------------ ##
17026 sed "s/^/$as_me: WARNING: /" >&2
17029 echo "$as_me:$LINENO: checking for $ac_header" >&5
17030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17032 echo $ECHO_N "(cached) $ECHO_C" >&6
17034 eval "$as_ac_Header=\$ac_header_preproc"
17036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17041 cat >>confdefs.h
<<_ACEOF
17042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17051 for ac_func
in fork vfork
17053 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17054 echo "$as_me:$LINENO: checking for $ac_func" >&5
17055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17056 if eval "test \"\${$as_ac_var+set}\" = set"; then
17057 echo $ECHO_N "(cached) $ECHO_C" >&6
17059 cat >conftest.
$ac_ext <<_ACEOF
17062 cat confdefs.h
>>conftest.
$ac_ext
17063 cat >>conftest.
$ac_ext <<_ACEOF
17064 /* end confdefs.h. */
17065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17067 #define $ac_func innocuous_$ac_func
17069 /* System header to define __stub macros and hopefully few prototypes,
17070 which can conflict with char $ac_func (); below.
17071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17072 <limits.h> exists even on freestanding compilers. */
17075 # include <limits.h>
17077 # include <assert.h>
17082 /* Override any gcc2 internal prototype to avoid an error. */
17087 /* We use char because int might match the return type of a gcc2
17088 builtin and then its argument prototype would still apply. */
17090 /* The GNU C library defines this for functions which it implements
17091 to always fail with ENOSYS. Some functions are actually named
17092 something starting with __ and the normal name is an alias. */
17093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17096 char (*f) () = $ac_func;
17105 return f != $ac_func;
17110 rm -f conftest.
$ac_objext conftest
$ac_exeext
17111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17112 (eval $ac_link) 2>conftest.er1
17114 grep -v '^ *+' conftest.er1
>conftest.err
17116 cat conftest.err
>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } &&
17119 { ac_try
='test -z "$ac_c_werror_flag"
17120 || test ! -s conftest.err'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; } &&
17126 { ac_try
='test -s conftest$ac_exeext'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; }; then
17132 eval "$as_ac_var=yes"
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.
$ac_ext >&5
17137 eval "$as_ac_var=no"
17139 rm -f conftest.err conftest.
$ac_objext \
17140 conftest
$ac_exeext conftest.
$ac_ext
17142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17144 if test `eval echo '${'$as_ac_var'}'` = yes; then
17145 cat >>confdefs.h
<<_ACEOF
17146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17152 if test "x$ac_cv_func_fork" = xyes
; then
17153 echo "$as_me:$LINENO: checking for working fork" >&5
17154 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
17155 if test "${ac_cv_func_fork_works+set}" = set; then
17156 echo $ECHO_N "(cached) $ECHO_C" >&6
17158 if test "$cross_compiling" = yes; then
17159 ac_cv_func_fork_works
=cross
17161 cat >conftest.
$ac_ext <<_ACEOF
17162 /* By Ruediger Kuhlmann. */
17163 #include <sys/types.h>
17165 # include <unistd.h>
17167 /* Some systems only have a dummy stub for fork() */
17175 rm -f conftest
$ac_exeext
17176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17177 (eval $ac_link) 2>&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17182 (eval $ac_try) 2>&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); }; }; then
17186 ac_cv_func_fork_works
=yes
17188 echo "$as_me: program exited with status $ac_status" >&5
17189 echo "$as_me: failed program was:" >&5
17190 sed 's/^/| /' conftest.
$ac_ext >&5
17192 ( exit $ac_status )
17193 ac_cv_func_fork_works
=no
17195 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17198 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
17199 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
17202 ac_cv_func_fork_works
=$ac_cv_func_fork
17204 if test "x$ac_cv_func_fork_works" = xcross
; then
17206 *-*-amigaos* |
*-*-msdosdjgpp*)
17207 # Override, as these systems have only a dummy fork() stub
17208 ac_cv_func_fork_works
=no
17211 ac_cv_func_fork_works
=yes
17214 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
17215 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
17217 ac_cv_func_vfork_works
=$ac_cv_func_vfork
17218 if test "x$ac_cv_func_vfork" = xyes
; then
17219 echo "$as_me:$LINENO: checking for working vfork" >&5
17220 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
17221 if test "${ac_cv_func_vfork_works+set}" = set; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17224 if test "$cross_compiling" = yes; then
17225 ac_cv_func_vfork_works
=cross
17227 cat >conftest.
$ac_ext <<_ACEOF
17230 cat confdefs.h
>>conftest.
$ac_ext
17231 cat >>conftest.
$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17233 /* Thanks to Paul Eggert for this test. */
17235 #include <stdlib.h>
17236 #include <sys/types.h>
17237 #include <sys/stat.h>
17238 #include <sys/wait.h>
17240 # include <unistd.h>
17243 # include <vfork.h>
17245 /* On some sparc systems, changes by the child to local and incoming
17246 argument registers are propagated back to the parent. The compiler
17247 is told about this with #include <vfork.h>, but some compilers
17248 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
17249 static variable whose address is put into a register that is
17250 clobbered by the vfork. */
17253 sparc_address_test (int arg)
17255 sparc_address_test (arg) int arg;
17258 static pid_t child;
17276 pid_t parent = getpid ();
17279 sparc_address_test (0);
17284 /* Here is another test for sparc vfork register problems. This
17285 test uses lots of local variables, at least as many local
17286 variables as main has allocated so far including compiler
17287 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
17288 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
17289 reuse the register of parent for one of the local variables,
17290 since it will think that parent can't possibly be used any more
17291 in this routine. Assigning to the local variable will thus
17292 munge parent in the parent process. */
17294 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
17295 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
17296 /* Convince the compiler that p..p7 are live; otherwise, it might
17297 use the same hardware register for all 8 local variables. */
17298 if (p != p1 || p != p2 || p != p3 || p != p4
17299 || p != p5 || p != p6 || p != p7)
17302 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
17303 from child file descriptors. If the child closes a descriptor
17304 before it execs or exits, this munges the parent's descriptor
17305 as well. Test for this by closing stdout in the child. */
17306 _exit(close(fileno(stdout)) != 0);
17311 while (wait(&status) != child)
17314 /* Was there some problem with vforking? */
17317 /* Did the child fail? (This shouldn't happen.) */
17320 /* Did the vfork/compiler bug occur? */
17321 || parent != getpid()
17323 /* Did the file descriptor bug occur? */
17324 || fstat(fileno(stdout), &st) != 0
17329 rm -f conftest
$ac_exeext
17330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17331 (eval $ac_link) 2>&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17336 (eval $ac_try) 2>&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); }; }; then
17340 ac_cv_func_vfork_works
=yes
17342 echo "$as_me: program exited with status $ac_status" >&5
17343 echo "$as_me: failed program was:" >&5
17344 sed 's/^/| /' conftest.
$ac_ext >&5
17346 ( exit $ac_status )
17347 ac_cv_func_vfork_works
=no
17349 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17352 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
17353 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
17356 if test "x$ac_cv_func_fork_works" = xcross
; then
17357 ac_cv_func_vfork_works
=$ac_cv_func_vfork
17358 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
17359 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
17362 if test "x$ac_cv_func_vfork_works" = xyes
; then
17364 cat >>confdefs.h
<<\_ACEOF
17365 #define HAVE_WORKING_VFORK 1
17370 cat >>confdefs.h
<<\_ACEOF
17375 if test "x$ac_cv_func_fork_works" = xyes
; then
17377 cat >>confdefs.h
<<\_ACEOF
17378 #define HAVE_WORKING_FORK 1
17385 for ac_func
in canonicalize_file_name realpath
17387 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17388 echo "$as_me:$LINENO: checking for $ac_func" >&5
17389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17390 if eval "test \"\${$as_ac_var+set}\" = set"; then
17391 echo $ECHO_N "(cached) $ECHO_C" >&6
17393 cat >conftest.
$ac_ext <<_ACEOF
17396 cat confdefs.h
>>conftest.
$ac_ext
17397 cat >>conftest.
$ac_ext <<_ACEOF
17398 /* end confdefs.h. */
17399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17401 #define $ac_func innocuous_$ac_func
17403 /* System header to define __stub macros and hopefully few prototypes,
17404 which can conflict with char $ac_func (); below.
17405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17406 <limits.h> exists even on freestanding compilers. */
17409 # include <limits.h>
17411 # include <assert.h>
17416 /* Override any gcc2 internal prototype to avoid an error. */
17421 /* We use char because int might match the return type of a gcc2
17422 builtin and then its argument prototype would still apply. */
17424 /* The GNU C library defines this for functions which it implements
17425 to always fail with ENOSYS. Some functions are actually named
17426 something starting with __ and the normal name is an alias. */
17427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17430 char (*f) () = $ac_func;
17439 return f != $ac_func;
17444 rm -f conftest.
$ac_objext conftest
$ac_exeext
17445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17446 (eval $ac_link) 2>conftest.er1
17448 grep -v '^ *+' conftest.er1
>conftest.err
17450 cat conftest.err
>&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } &&
17453 { ac_try
='test -z "$ac_c_werror_flag"
17454 || test ! -s conftest.err'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; } &&
17460 { ac_try
='test -s conftest$ac_exeext'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; }; then
17466 eval "$as_ac_var=yes"
17468 echo "$as_me: failed program was:" >&5
17469 sed 's/^/| /' conftest.
$ac_ext >&5
17471 eval "$as_ac_var=no"
17473 rm -f conftest.err conftest.
$ac_objext \
17474 conftest
$ac_exeext conftest.
$ac_ext
17476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17478 if test `eval echo '${'$as_ac_var'}'` = yes; then
17479 cat >>confdefs.h
<<_ACEOF
17480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17487 for ac_func
in getrusage
17489 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17490 echo "$as_me:$LINENO: checking for $ac_func" >&5
17491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17492 if eval "test \"\${$as_ac_var+set}\" = set"; then
17493 echo $ECHO_N "(cached) $ECHO_C" >&6
17495 cat >conftest.
$ac_ext <<_ACEOF
17498 cat confdefs.h
>>conftest.
$ac_ext
17499 cat >>conftest.
$ac_ext <<_ACEOF
17500 /* end confdefs.h. */
17501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17503 #define $ac_func innocuous_$ac_func
17505 /* System header to define __stub macros and hopefully few prototypes,
17506 which can conflict with char $ac_func (); below.
17507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17508 <limits.h> exists even on freestanding compilers. */
17511 # include <limits.h>
17513 # include <assert.h>
17518 /* Override any gcc2 internal prototype to avoid an error. */
17523 /* We use char because int might match the return type of a gcc2
17524 builtin and then its argument prototype would still apply. */
17526 /* The GNU C library defines this for functions which it implements
17527 to always fail with ENOSYS. Some functions are actually named
17528 something starting with __ and the normal name is an alias. */
17529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17532 char (*f) () = $ac_func;
17541 return f != $ac_func;
17546 rm -f conftest.
$ac_objext conftest
$ac_exeext
17547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17548 (eval $ac_link) 2>conftest.er1
17550 grep -v '^ *+' conftest.er1
>conftest.err
17552 cat conftest.err
>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); } &&
17555 { ac_try
='test -z "$ac_c_werror_flag"
17556 || test ! -s conftest.err'
17557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17558 (eval $ac_try) 2>&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); }; } &&
17562 { ac_try
='test -s conftest$ac_exeext'
17563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564 (eval $ac_try) 2>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; }; then
17568 eval "$as_ac_var=yes"
17570 echo "$as_me: failed program was:" >&5
17571 sed 's/^/| /' conftest.
$ac_ext >&5
17573 eval "$as_ac_var=no"
17575 rm -f conftest.err conftest.
$ac_objext \
17576 conftest
$ac_exeext conftest.
$ac_ext
17578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17580 if test `eval echo '${'$as_ac_var'}'` = yes; then
17581 cat >>confdefs.h
<<_ACEOF
17582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17590 for ac_func
in getuid getgid
17592 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17593 echo "$as_me:$LINENO: checking for $ac_func" >&5
17594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17595 if eval "test \"\${$as_ac_var+set}\" = set"; then
17596 echo $ECHO_N "(cached) $ECHO_C" >&6
17598 cat >conftest.
$ac_ext <<_ACEOF
17601 cat confdefs.h
>>conftest.
$ac_ext
17602 cat >>conftest.
$ac_ext <<_ACEOF
17603 /* end confdefs.h. */
17604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17606 #define $ac_func innocuous_$ac_func
17608 /* System header to define __stub macros and hopefully few prototypes,
17609 which can conflict with char $ac_func (); below.
17610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17611 <limits.h> exists even on freestanding compilers. */
17614 # include <limits.h>
17616 # include <assert.h>
17621 /* Override any gcc2 internal prototype to avoid an error. */
17626 /* We use char because int might match the return type of a gcc2
17627 builtin and then its argument prototype would still apply. */
17629 /* The GNU C library defines this for functions which it implements
17630 to always fail with ENOSYS. Some functions are actually named
17631 something starting with __ and the normal name is an alias. */
17632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17635 char (*f) () = $ac_func;
17644 return f != $ac_func;
17649 rm -f conftest.
$ac_objext conftest
$ac_exeext
17650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17651 (eval $ac_link) 2>conftest.er1
17653 grep -v '^ *+' conftest.er1
>conftest.err
17655 cat conftest.err
>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try
='test -z "$ac_c_werror_flag"
17659 || test ! -s conftest.err'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; } &&
17665 { ac_try
='test -s conftest$ac_exeext'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; }; then
17671 eval "$as_ac_var=yes"
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.
$ac_ext >&5
17676 eval "$as_ac_var=no"
17678 rm -f conftest.err conftest.
$ac_objext \
17679 conftest
$ac_exeext conftest.
$ac_ext
17681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17683 if test `eval echo '${'$as_ac_var'}'` = yes; then
17684 cat >>confdefs.h
<<_ACEOF
17685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17692 for ac_func
in poll
17694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17695 echo "$as_me:$LINENO: checking for $ac_func" >&5
17696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17697 if eval "test \"\${$as_ac_var+set}\" = set"; then
17698 echo $ECHO_N "(cached) $ECHO_C" >&6
17700 cat >conftest.
$ac_ext <<_ACEOF
17703 cat confdefs.h
>>conftest.
$ac_ext
17704 cat >>conftest.
$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17708 #define $ac_func innocuous_$ac_func
17710 /* System header to define __stub macros and hopefully few prototypes,
17711 which can conflict with char $ac_func (); below.
17712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17713 <limits.h> exists even on freestanding compilers. */
17716 # include <limits.h>
17718 # include <assert.h>
17723 /* Override any gcc2 internal prototype to avoid an error. */
17728 /* We use char because int might match the return type of a gcc2
17729 builtin and then its argument prototype would still apply. */
17731 /* The GNU C library defines this for functions which it implements
17732 to always fail with ENOSYS. Some functions are actually named
17733 something starting with __ and the normal name is an alias. */
17734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17737 char (*f) () = $ac_func;
17746 return f != $ac_func;
17751 rm -f conftest.
$ac_objext conftest
$ac_exeext
17752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17753 (eval $ac_link) 2>conftest.er1
17755 grep -v '^ *+' conftest.er1
>conftest.err
17757 cat conftest.err
>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } &&
17760 { ac_try
='test -z "$ac_c_werror_flag"
17761 || test ! -s conftest.err'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; } &&
17767 { ac_try
='test -s conftest$ac_exeext'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; }; then
17773 eval "$as_ac_var=yes"
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.
$ac_ext >&5
17778 eval "$as_ac_var=no"
17780 rm -f conftest.err conftest.
$ac_objext \
17781 conftest
$ac_exeext conftest.
$ac_ext
17783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17785 if test `eval echo '${'$as_ac_var'}'` = yes; then
17786 cat >>confdefs.h
<<_ACEOF
17787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17794 for ac_func
in pread64
17796 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17797 echo "$as_me:$LINENO: checking for $ac_func" >&5
17798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17799 if eval "test \"\${$as_ac_var+set}\" = set"; then
17800 echo $ECHO_N "(cached) $ECHO_C" >&6
17802 cat >conftest.
$ac_ext <<_ACEOF
17805 cat confdefs.h
>>conftest.
$ac_ext
17806 cat >>conftest.
$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17810 #define $ac_func innocuous_$ac_func
17812 /* System header to define __stub macros and hopefully few prototypes,
17813 which can conflict with char $ac_func (); below.
17814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17815 <limits.h> exists even on freestanding compilers. */
17818 # include <limits.h>
17820 # include <assert.h>
17825 /* Override any gcc2 internal prototype to avoid an error. */
17830 /* We use char because int might match the return type of a gcc2
17831 builtin and then its argument prototype would still apply. */
17833 /* The GNU C library defines this for functions which it implements
17834 to always fail with ENOSYS. Some functions are actually named
17835 something starting with __ and the normal name is an alias. */
17836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17839 char (*f) () = $ac_func;
17848 return f != $ac_func;
17853 rm -f conftest.
$ac_objext conftest
$ac_exeext
17854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17855 (eval $ac_link) 2>conftest.er1
17857 grep -v '^ *+' conftest.er1
>conftest.err
17859 cat conftest.err
>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); } &&
17862 { ac_try
='test -z "$ac_c_werror_flag"
17863 || test ! -s conftest.err'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; } &&
17869 { ac_try
='test -s conftest$ac_exeext'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; }; then
17875 eval "$as_ac_var=yes"
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.
$ac_ext >&5
17880 eval "$as_ac_var=no"
17882 rm -f conftest.err conftest.
$ac_objext \
17883 conftest
$ac_exeext conftest.
$ac_ext
17885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17887 if test `eval echo '${'$as_ac_var'}'` = yes; then
17888 cat >>confdefs.h
<<_ACEOF
17889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17896 for ac_func
in sbrk
17898 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17899 echo "$as_me:$LINENO: checking for $ac_func" >&5
17900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17901 if eval "test \"\${$as_ac_var+set}\" = set"; then
17902 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 cat >conftest.
$ac_ext <<_ACEOF
17907 cat confdefs.h
>>conftest.
$ac_ext
17908 cat >>conftest.
$ac_ext <<_ACEOF
17909 /* end confdefs.h. */
17910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17912 #define $ac_func innocuous_$ac_func
17914 /* System header to define __stub macros and hopefully few prototypes,
17915 which can conflict with char $ac_func (); below.
17916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17917 <limits.h> exists even on freestanding compilers. */
17920 # include <limits.h>
17922 # include <assert.h>
17927 /* Override any gcc2 internal prototype to avoid an error. */
17932 /* We use char because int might match the return type of a gcc2
17933 builtin and then its argument prototype would still apply. */
17935 /* The GNU C library defines this for functions which it implements
17936 to always fail with ENOSYS. Some functions are actually named
17937 something starting with __ and the normal name is an alias. */
17938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17941 char (*f) () = $ac_func;
17950 return f != $ac_func;
17955 rm -f conftest.
$ac_objext conftest
$ac_exeext
17956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17957 (eval $ac_link) 2>conftest.er1
17959 grep -v '^ *+' conftest.er1
>conftest.err
17961 cat conftest.err
>&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } &&
17964 { ac_try
='test -z "$ac_c_werror_flag"
17965 || test ! -s conftest.err'
17966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17967 (eval $ac_try) 2>&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); }; } &&
17971 { ac_try
='test -s conftest$ac_exeext'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; }; then
17977 eval "$as_ac_var=yes"
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.
$ac_ext >&5
17982 eval "$as_ac_var=no"
17984 rm -f conftest.err conftest.
$ac_objext \
17985 conftest
$ac_exeext conftest.
$ac_ext
17987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17989 if test `eval echo '${'$as_ac_var'}'` = yes; then
17990 cat >>confdefs.h
<<_ACEOF
17991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17999 for ac_func
in setpgid setpgrp
18001 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18002 echo "$as_me:$LINENO: checking for $ac_func" >&5
18003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18004 if eval "test \"\${$as_ac_var+set}\" = set"; then
18005 echo $ECHO_N "(cached) $ECHO_C" >&6
18007 cat >conftest.
$ac_ext <<_ACEOF
18010 cat confdefs.h
>>conftest.
$ac_ext
18011 cat >>conftest.
$ac_ext <<_ACEOF
18012 /* end confdefs.h. */
18013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18015 #define $ac_func innocuous_$ac_func
18017 /* System header to define __stub macros and hopefully few prototypes,
18018 which can conflict with char $ac_func (); below.
18019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18020 <limits.h> exists even on freestanding compilers. */
18023 # include <limits.h>
18025 # include <assert.h>
18030 /* Override any gcc2 internal prototype to avoid an error. */
18035 /* We use char because int might match the return type of a gcc2
18036 builtin and then its argument prototype would still apply. */
18038 /* The GNU C library defines this for functions which it implements
18039 to always fail with ENOSYS. Some functions are actually named
18040 something starting with __ and the normal name is an alias. */
18041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18044 char (*f) () = $ac_func;
18053 return f != $ac_func;
18058 rm -f conftest.
$ac_objext conftest
$ac_exeext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18060 (eval $ac_link) 2>conftest.er1
18062 grep -v '^ *+' conftest.er1
>conftest.err
18064 cat conftest.err
>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try
='test -z "$ac_c_werror_flag"
18068 || test ! -s conftest.err'
18069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18070 (eval $ac_try) 2>&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; } &&
18074 { ac_try
='test -s conftest$ac_exeext'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; }; then
18080 eval "$as_ac_var=yes"
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.
$ac_ext >&5
18085 eval "$as_ac_var=no"
18087 rm -f conftest.err conftest.
$ac_objext \
18088 conftest
$ac_exeext conftest.
$ac_ext
18090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18092 if test `eval echo '${'$as_ac_var'}'` = yes; then
18093 cat >>confdefs.h
<<_ACEOF
18094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18103 for ac_func
in sigaction sigprocmask sigsetmask
18105 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18106 echo "$as_me:$LINENO: checking for $ac_func" >&5
18107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18108 if eval "test \"\${$as_ac_var+set}\" = set"; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18111 cat >conftest.
$ac_ext <<_ACEOF
18114 cat confdefs.h
>>conftest.
$ac_ext
18115 cat >>conftest.
$ac_ext <<_ACEOF
18116 /* end confdefs.h. */
18117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18119 #define $ac_func innocuous_$ac_func
18121 /* System header to define __stub macros and hopefully few prototypes,
18122 which can conflict with char $ac_func (); below.
18123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18124 <limits.h> exists even on freestanding compilers. */
18127 # include <limits.h>
18129 # include <assert.h>
18134 /* Override any gcc2 internal prototype to avoid an error. */
18139 /* We use char because int might match the return type of a gcc2
18140 builtin and then its argument prototype would still apply. */
18142 /* The GNU C library defines this for functions which it implements
18143 to always fail with ENOSYS. Some functions are actually named
18144 something starting with __ and the normal name is an alias. */
18145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18148 char (*f) () = $ac_func;
18157 return f != $ac_func;
18162 rm -f conftest.
$ac_objext conftest
$ac_exeext
18163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18164 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
18186 echo "$as_me: failed program was:" >&5
18187 sed 's/^/| /' conftest.
$ac_ext >&5
18189 eval "$as_ac_var=no"
18191 rm -f conftest.err conftest.
$ac_objext \
18192 conftest
$ac_exeext conftest.
$ac_ext
18194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18196 if test `eval echo '${'$as_ac_var'}'` = yes; then
18197 cat >>confdefs.h
<<_ACEOF
18198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18205 for ac_func
in socketpair
18207 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18208 echo "$as_me:$LINENO: checking for $ac_func" >&5
18209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18210 if eval "test \"\${$as_ac_var+set}\" = set"; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18213 cat >conftest.
$ac_ext <<_ACEOF
18216 cat confdefs.h
>>conftest.
$ac_ext
18217 cat >>conftest.
$ac_ext <<_ACEOF
18218 /* end confdefs.h. */
18219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18221 #define $ac_func innocuous_$ac_func
18223 /* System header to define __stub macros and hopefully few prototypes,
18224 which can conflict with char $ac_func (); below.
18225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18226 <limits.h> exists even on freestanding compilers. */
18229 # include <limits.h>
18231 # include <assert.h>
18236 /* Override any gcc2 internal prototype to avoid an error. */
18241 /* We use char because int might match the return type of a gcc2
18242 builtin and then its argument prototype would still apply. */
18244 /* The GNU C library defines this for functions which it implements
18245 to always fail with ENOSYS. Some functions are actually named
18246 something starting with __ and the normal name is an alias. */
18247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18250 char (*f) () = $ac_func;
18259 return f != $ac_func;
18264 rm -f conftest.
$ac_objext conftest
$ac_exeext
18265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18266 (eval $ac_link) 2>conftest.er1
18268 grep -v '^ *+' conftest.er1
>conftest.err
18270 cat conftest.err
>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); } &&
18273 { ac_try
='test -z "$ac_c_werror_flag"
18274 || test ! -s conftest.err'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; } &&
18280 { ac_try
='test -s conftest$ac_exeext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18286 eval "$as_ac_var=yes"
18288 echo "$as_me: failed program was:" >&5
18289 sed 's/^/| /' conftest.
$ac_ext >&5
18291 eval "$as_ac_var=no"
18293 rm -f conftest.err conftest.
$ac_objext \
18294 conftest
$ac_exeext conftest.
$ac_ext
18296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18298 if test `eval echo '${'$as_ac_var'}'` = yes; then
18299 cat >>confdefs.h
<<_ACEOF
18300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18307 for ac_func
in syscall
18309 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18310 echo "$as_me:$LINENO: checking for $ac_func" >&5
18311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18312 if eval "test \"\${$as_ac_var+set}\" = set"; then
18313 echo $ECHO_N "(cached) $ECHO_C" >&6
18315 cat >conftest.
$ac_ext <<_ACEOF
18318 cat confdefs.h
>>conftest.
$ac_ext
18319 cat >>conftest.
$ac_ext <<_ACEOF
18320 /* end confdefs.h. */
18321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18323 #define $ac_func innocuous_$ac_func
18325 /* System header to define __stub macros and hopefully few prototypes,
18326 which can conflict with char $ac_func (); below.
18327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18328 <limits.h> exists even on freestanding compilers. */
18331 # include <limits.h>
18333 # include <assert.h>
18338 /* Override any gcc2 internal prototype to avoid an error. */
18343 /* We use char because int might match the return type of a gcc2
18344 builtin and then its argument prototype would still apply. */
18346 /* The GNU C library defines this for functions which it implements
18347 to always fail with ENOSYS. Some functions are actually named
18348 something starting with __ and the normal name is an alias. */
18349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18352 char (*f) () = $ac_func;
18361 return f != $ac_func;
18366 rm -f conftest.
$ac_objext conftest
$ac_exeext
18367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18368 (eval $ac_link) 2>conftest.er1
18370 grep -v '^ *+' conftest.er1
>conftest.err
18372 cat conftest.err
>&5
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); } &&
18375 { ac_try
='test -z "$ac_c_werror_flag"
18376 || test ! -s conftest.err'
18377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18378 (eval $ac_try) 2>&5
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); }; } &&
18382 { ac_try
='test -s conftest$ac_exeext'
18383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384 (eval $ac_try) 2>&5
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); }; }; then
18388 eval "$as_ac_var=yes"
18390 echo "$as_me: failed program was:" >&5
18391 sed 's/^/| /' conftest.
$ac_ext >&5
18393 eval "$as_ac_var=no"
18395 rm -f conftest.err conftest.
$ac_objext \
18396 conftest
$ac_exeext conftest.
$ac_ext
18398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18400 if test `eval echo '${'$as_ac_var'}'` = yes; then
18401 cat >>confdefs.h
<<_ACEOF
18402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18409 for ac_func
in ttrace
18411 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18412 echo "$as_me:$LINENO: checking for $ac_func" >&5
18413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18414 if eval "test \"\${$as_ac_var+set}\" = set"; then
18415 echo $ECHO_N "(cached) $ECHO_C" >&6
18417 cat >conftest.
$ac_ext <<_ACEOF
18420 cat confdefs.h
>>conftest.
$ac_ext
18421 cat >>conftest.
$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18425 #define $ac_func innocuous_$ac_func
18427 /* System header to define __stub macros and hopefully few prototypes,
18428 which can conflict with char $ac_func (); below.
18429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18430 <limits.h> exists even on freestanding compilers. */
18433 # include <limits.h>
18435 # include <assert.h>
18440 /* Override any gcc2 internal prototype to avoid an error. */
18445 /* We use char because int might match the return type of a gcc2
18446 builtin and then its argument prototype would still apply. */
18448 /* The GNU C library defines this for functions which it implements
18449 to always fail with ENOSYS. Some functions are actually named
18450 something starting with __ and the normal name is an alias. */
18451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18454 char (*f) () = $ac_func;
18463 return f != $ac_func;
18468 rm -f conftest.
$ac_objext conftest
$ac_exeext
18469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18470 (eval $ac_link) 2>conftest.er1
18472 grep -v '^ *+' conftest.er1
>conftest.err
18474 cat conftest.err
>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } &&
18477 { ac_try
='test -z "$ac_c_werror_flag"
18478 || test ! -s conftest.err'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; } &&
18484 { ac_try
='test -s conftest$ac_exeext'
18485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18486 (eval $ac_try) 2>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); }; }; then
18490 eval "$as_ac_var=yes"
18492 echo "$as_me: failed program was:" >&5
18493 sed 's/^/| /' conftest.
$ac_ext >&5
18495 eval "$as_ac_var=no"
18497 rm -f conftest.err conftest.
$ac_objext \
18498 conftest
$ac_exeext conftest.
$ac_ext
18500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18502 if test `eval echo '${'$as_ac_var'}'` = yes; then
18503 cat >>confdefs.h
<<_ACEOF
18504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18511 for ac_func
in wborder
18513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18514 echo "$as_me:$LINENO: checking for $ac_func" >&5
18515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18516 if eval "test \"\${$as_ac_var+set}\" = set"; then
18517 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 cat >conftest.
$ac_ext <<_ACEOF
18522 cat confdefs.h
>>conftest.
$ac_ext
18523 cat >>conftest.
$ac_ext <<_ACEOF
18524 /* end confdefs.h. */
18525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18527 #define $ac_func innocuous_$ac_func
18529 /* System header to define __stub macros and hopefully few prototypes,
18530 which can conflict with char $ac_func (); below.
18531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18532 <limits.h> exists even on freestanding compilers. */
18535 # include <limits.h>
18537 # include <assert.h>
18542 /* Override any gcc2 internal prototype to avoid an error. */
18547 /* We use char because int might match the return type of a gcc2
18548 builtin and then its argument prototype would still apply. */
18550 /* The GNU C library defines this for functions which it implements
18551 to always fail with ENOSYS. Some functions are actually named
18552 something starting with __ and the normal name is an alias. */
18553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18556 char (*f) () = $ac_func;
18565 return f != $ac_func;
18570 rm -f conftest.
$ac_objext conftest
$ac_exeext
18571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18572 (eval $ac_link) 2>conftest.er1
18574 grep -v '^ *+' conftest.er1
>conftest.err
18576 cat conftest.err
>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); } &&
18579 { ac_try
='test -z "$ac_c_werror_flag"
18580 || test ! -s conftest.err'
18581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18582 (eval $ac_try) 2>&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); }; } &&
18586 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
18592 eval "$as_ac_var=yes"
18594 echo "$as_me: failed program was:" >&5
18595 sed 's/^/| /' conftest.
$ac_ext >&5
18597 eval "$as_ac_var=no"
18599 rm -f conftest.err conftest.
$ac_objext \
18600 conftest
$ac_exeext conftest.
$ac_ext
18602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18604 if test `eval echo '${'$as_ac_var'}'` = yes; then
18605 cat >>confdefs.h
<<_ACEOF
18606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18613 # Check the return and argument types of ptrace. No canned test for
18614 # this, so roll our own.
18615 gdb_ptrace_headers
='
18616 #if HAVE_SYS_TYPES_H
18617 # include <sys/types.h>
18619 #if HAVE_SYS_PTRACE_H
18620 # include <sys/ptrace.h>
18623 # include <unistd.h>
18626 # There is no point in checking if we don't have a prototype.
18627 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
18628 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
18629 if test "${ac_cv_have_decl_ptrace+set}" = set; then
18630 echo $ECHO_N "(cached) $ECHO_C" >&6
18632 cat >conftest.
$ac_ext <<_ACEOF
18635 cat confdefs.h
>>conftest.
$ac_ext
18636 cat >>conftest.
$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 $gdb_ptrace_headers
18644 char *p = (char *) ptrace;
18651 rm -f conftest.
$ac_objext
18652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18653 (eval $ac_compile) 2>conftest.er1
18655 grep -v '^ *+' conftest.er1
>conftest.err
18657 cat conftest.err
>&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); } &&
18660 { ac_try
='test -z "$ac_c_werror_flag"
18661 || test ! -s conftest.err'
18662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 (eval $ac_try) 2>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; } &&
18667 { ac_try
='test -s conftest.$ac_objext'
18668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18669 (eval $ac_try) 2>&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18673 ac_cv_have_decl_ptrace
=yes
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.
$ac_ext >&5
18678 ac_cv_have_decl_ptrace
=no
18680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18682 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
18683 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
18684 if test $ac_cv_have_decl_ptrace = yes; then
18686 cat >>confdefs.h
<<_ACEOF
18687 #define HAVE_DECL_PTRACE 1
18692 cat >>confdefs.h
<<_ACEOF
18693 #define HAVE_DECL_PTRACE 0
18697 : ${gdb_cv_func_ptrace_ret='int'}
18698 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
18703 # Check return type.
18704 echo "$as_me:$LINENO: checking return type of ptrace" >&5
18705 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
18706 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18709 cat >conftest.
$ac_ext <<_ACEOF
18712 cat confdefs.h
>>conftest.
$ac_ext
18713 cat >>conftest.
$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18715 $gdb_ptrace_headers
18719 extern int ptrace ();
18724 rm -f conftest.
$ac_objext
18725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18726 (eval $ac_compile) 2>conftest.er1
18728 grep -v '^ *+' conftest.er1
>conftest.err
18730 cat conftest.err
>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); } &&
18733 { ac_try
='test -z "$ac_c_werror_flag"
18734 || test ! -s conftest.err'
18735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736 (eval $ac_try) 2>&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; } &&
18740 { ac_try
='test -s conftest.$ac_objext'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; }; then
18746 gdb_cv_func_ptrace_ret
='int'
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.
$ac_ext >&5
18751 gdb_cv_func_ptrace_ret
='long'
18753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18755 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
18756 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
18758 cat >>confdefs.h
<<_ACEOF
18759 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
18762 # Check argument types.
18763 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
18764 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
18765 if test "${gdb_cv_func_ptrace_args+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18769 for gdb_arg1
in 'int' 'long'; do
18770 for gdb_arg2
in 'pid_t' 'int' 'long'; do
18771 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long'; do
18772 for gdb_arg4
in 'int' 'long'; do
18773 cat >conftest.
$ac_ext <<_ACEOF
18776 cat confdefs.h
>>conftest.
$ac_ext
18777 cat >>conftest.
$ac_ext <<_ACEOF
18778 /* end confdefs.h. */
18779 $gdb_ptrace_headers
18784 extern $gdb_cv_func_ptrace_ret
18785 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
18791 rm -f conftest.
$ac_objext
18792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18793 (eval $ac_compile) 2>conftest.er1
18795 grep -v '^ *+' conftest.er1
>conftest.err
18797 cat conftest.err
>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } &&
18800 { ac_try
='test -z "$ac_c_werror_flag"
18801 || test ! -s conftest.err'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; } &&
18807 { ac_try
='test -s conftest.$ac_objext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18813 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.
$ac_ext >&5
18820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18821 for gdb_arg5
in 'int *' 'int' 'long'; do
18822 cat >conftest.
$ac_ext <<_ACEOF
18825 cat confdefs.h
>>conftest.
$ac_ext
18826 cat >>conftest.
$ac_ext <<_ACEOF
18827 /* end confdefs.h. */
18828 $gdb_ptrace_headers
18833 extern $gdb_cv_func_ptrace_ret
18834 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
18840 rm -f conftest.
$ac_objext
18841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18842 (eval $ac_compile) 2>conftest.er1
18844 grep -v '^ *+' conftest.er1
>conftest.err
18846 cat conftest.err
>&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); } &&
18849 { ac_try
='test -z "$ac_c_werror_flag"
18850 || test ! -s conftest.err'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; } &&
18856 { ac_try
='test -s conftest.$ac_objext'
18857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18858 (eval $ac_try) 2>&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); }; }; then
18863 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
18866 echo "$as_me: failed program was:" >&5
18867 sed 's/^/| /' conftest.
$ac_ext >&5
18870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18876 # Provide a safe default value.
18877 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
18880 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
18881 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
18882 ac_save_IFS
=$IFS; IFS
=','
18883 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
18887 cat >>confdefs.h
<<_ACEOF
18888 #define PTRACE_TYPE_ARG3 $3
18891 if test -n "$5"; then
18893 cat >>confdefs.h
<<_ACEOF
18894 #define PTRACE_TYPE_ARG5 $5
18899 if test "$cross_compiling" = no
; then
18900 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
18901 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
18902 if test "${ac_cv_func_setpgrp_void+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18905 if test "$cross_compiling" = yes; then
18906 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
18907 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
18908 { (exit 1); exit 1; }; }
18910 cat >conftest.
$ac_ext <<_ACEOF
18913 cat confdefs.h
>>conftest.
$ac_ext
18914 cat >>conftest.
$ac_ext <<_ACEOF
18915 /* end confdefs.h. */
18917 # include <unistd.h>
18923 /* If this system has a BSD-style setpgrp which takes arguments,
18924 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
18925 exit successfully. */
18926 exit (setpgrp (1,1) == -1 ? 0 : 1);
18931 rm -f conftest
$ac_exeext
18932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18933 (eval $ac_link) 2>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18938 (eval $ac_try) 2>&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; }; then
18942 ac_cv_func_setpgrp_void
=no
18944 echo "$as_me: program exited with status $ac_status" >&5
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.
$ac_ext >&5
18948 ( exit $ac_status )
18949 ac_cv_func_setpgrp_void
=yes
18951 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18954 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
18955 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
18956 if test $ac_cv_func_setpgrp_void = yes; then
18958 cat >>confdefs.h
<<\_ACEOF
18959 #define SETPGRP_VOID 1
18965 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
18966 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
18967 if test "${ac_cv_func_setpgrp_void+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18970 cat >conftest.
$ac_ext <<_ACEOF
18973 cat confdefs.h
>>conftest.
$ac_ext
18974 cat >>conftest.
$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18977 #include <unistd.h>
18983 if (setpgrp(1,1) == -1)
18992 rm -f conftest.
$ac_objext
18993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18994 (eval $ac_compile) 2>conftest.er1
18996 grep -v '^ *+' conftest.er1
>conftest.err
18998 cat conftest.err
>&5
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); } &&
19001 { ac_try
='test -z "$ac_c_werror_flag"
19002 || test ! -s conftest.err'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; } &&
19008 { ac_try
='test -s conftest.$ac_objext'
19009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19010 (eval $ac_try) 2>&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); }; }; then
19014 ac_cv_func_setpgrp_void
=no
19016 echo "$as_me: failed program was:" >&5
19017 sed 's/^/| /' conftest.
$ac_ext >&5
19019 ac_cv_func_setpgrp_void
=yes
19021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19023 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
19024 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
19025 if test $ac_cv_func_setpgrp_void = yes; then
19026 cat >>confdefs.h
<<\_ACEOF
19027 #define SETPGRP_VOID 1
19033 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
19034 # since sigsetjmp might only be defined as a macro.
19035 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
19036 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
19037 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
19038 echo $ECHO_N "(cached) $ECHO_C" >&6
19040 cat >conftest.
$ac_ext <<_ACEOF
19043 cat confdefs.h
>>conftest.
$ac_ext
19044 cat >>conftest.
$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19047 #include <setjmp.h>
19052 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
19057 rm -f conftest.
$ac_objext
19058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19059 (eval $ac_compile) 2>conftest.er1
19061 grep -v '^ *+' conftest.er1
>conftest.err
19063 cat conftest.err
>&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); } &&
19066 { ac_try
='test -z "$ac_c_werror_flag"
19067 || test ! -s conftest.err'
19068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069 (eval $ac_try) 2>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; } &&
19073 { ac_try
='test -s conftest.$ac_objext'
19074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075 (eval $ac_try) 2>&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; }; then
19079 gdb_cv_func_sigsetjmp
=yes
19081 echo "$as_me: failed program was:" >&5
19082 sed 's/^/| /' conftest.
$ac_ext >&5
19084 gdb_cv_func_sigsetjmp
=no
19086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19088 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
19089 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
19090 if test $gdb_cv_func_sigsetjmp = yes; then
19092 cat >>confdefs.h
<<\_ACEOF
19093 #define HAVE_SIGSETJMP 1
19098 # Assume we'll default to using the included libiberty regex.
19099 gdb_use_included_regex
=yes
19101 # However, if the system regex is GNU regex, then default to *not*
19102 # using the included regex.
19103 echo "$as_me:$LINENO: checking for GNU regex" >&5
19104 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
19105 if test "${gdb_cv_have_gnu_regex+set}" = set; then
19106 echo $ECHO_N "(cached) $ECHO_C" >&6
19108 cat >conftest.
$ac_ext <<_ACEOF
19111 cat confdefs.h
>>conftest.
$ac_ext
19112 cat >>conftest.
$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114 #include <gnu-versions.h>
19118 #define REGEX_INTERFACE_VERSION 1
19119 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
19120 # error "Version mismatch"
19126 rm -f conftest.
$ac_objext
19127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19128 (eval $ac_compile) 2>conftest.er1
19130 grep -v '^ *+' conftest.er1
>conftest.err
19132 cat conftest.err
>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } &&
19135 { ac_try
='test -z "$ac_c_werror_flag"
19136 || test ! -s conftest.err'
19137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138 (eval $ac_try) 2>&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); }; } &&
19142 { ac_try
='test -s conftest.$ac_objext'
19143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144 (eval $ac_try) 2>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }; }; then
19148 gdb_cv_have_gnu_regex
=yes
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.
$ac_ext >&5
19153 gdb_cv_have_gnu_regex
=no
19155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19157 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
19158 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
19159 if test $gdb_cv_have_gnu_regex = yes; then
19160 gdb_use_included_regex
=no
19164 # Check whether --with-included-regex or --without-included-regex was given.
19165 if test "${with_included_regex+set}" = set; then
19166 withval
="$with_included_regex"
19167 gdb_with_regex
=$withval
19169 gdb_with_regex
=$gdb_use_included_regex
19171 if test "$gdb_with_regex" = yes; then
19173 cat >>confdefs.h
<<\_ACEOF
19174 #define USE_INCLUDED_REGEX 1
19179 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
19180 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
19181 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
19182 if test "${ac_cv_member_struct_thread_td_pcb+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. */
19191 #include <sys/param.h>
19192 #include <sys/proc.h>
19198 static struct thread ac_aggr;
19199 if (ac_aggr.td_pcb)
19205 rm -f conftest.
$ac_objext
19206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19207 (eval $ac_compile) 2>conftest.er1
19209 grep -v '^ *+' conftest.er1
>conftest.err
19211 cat conftest.err
>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } &&
19214 { ac_try
='test -z "$ac_c_werror_flag"
19215 || test ! -s conftest.err'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; } &&
19221 { ac_try
='test -s conftest.$ac_objext'
19222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19223 (eval $ac_try) 2>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); }; }; then
19227 ac_cv_member_struct_thread_td_pcb
=yes
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.
$ac_ext >&5
19232 cat >conftest.
$ac_ext <<_ACEOF
19235 cat confdefs.h
>>conftest.
$ac_ext
19236 cat >>conftest.
$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19238 #include <sys/param.h>
19239 #include <sys/proc.h>
19245 static struct thread ac_aggr;
19246 if (sizeof ac_aggr.td_pcb)
19252 rm -f conftest.
$ac_objext
19253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19254 (eval $ac_compile) 2>conftest.er1
19256 grep -v '^ *+' conftest.er1
>conftest.err
19258 cat conftest.err
>&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } &&
19261 { ac_try
='test -z "$ac_c_werror_flag"
19262 || test ! -s conftest.err'
19263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19264 (eval $ac_try) 2>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); }; } &&
19268 { ac_try
='test -s conftest.$ac_objext'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 ac_cv_member_struct_thread_td_pcb
=yes
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.
$ac_ext >&5
19279 ac_cv_member_struct_thread_td_pcb
=no
19281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19285 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
19286 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
19287 if test $ac_cv_member_struct_thread_td_pcb = yes; then
19289 cat >>confdefs.h
<<_ACEOF
19290 #define HAVE_STRUCT_THREAD_TD_PCB 1
19297 # See if <sys/lwp.h> defines `struct lwp`.
19298 echo "$as_me:$LINENO: checking for struct lwp" >&5
19299 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
19300 if test "${gdb_cv_struct_lwp+set}" = set; then
19301 echo $ECHO_N "(cached) $ECHO_C" >&6
19303 cat >conftest.
$ac_ext <<_ACEOF
19306 cat confdefs.h
>>conftest.
$ac_ext
19307 cat >>conftest.
$ac_ext <<_ACEOF
19308 /* end confdefs.h. */
19309 #include <sys/param.h>
19310 #include <sys/lwp.h>
19319 rm -f conftest.
$ac_objext
19320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19321 (eval $ac_compile) 2>conftest.er1
19323 grep -v '^ *+' conftest.er1
>conftest.err
19325 cat conftest.err
>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } &&
19328 { ac_try
='test -z "$ac_c_werror_flag"
19329 || test ! -s conftest.err'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; } &&
19335 { ac_try
='test -s conftest.$ac_objext'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; }; then
19341 gdb_cv_struct_lwp
=yes
19343 echo "$as_me: failed program was:" >&5
19344 sed 's/^/| /' conftest.
$ac_ext >&5
19346 gdb_cv_struct_lwp
=no
19348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19350 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
19351 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
19352 if test $gdb_cv_struct_lwp = yes; then
19354 cat >>confdefs.h
<<\_ACEOF
19355 #define HAVE_STRUCT_LWP 1
19360 # See if <machine/reg.h> degines `struct reg'.
19361 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
19362 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
19363 if test "${gdb_cv_struct_reg+set}" = set; then
19364 echo $ECHO_N "(cached) $ECHO_C" >&6
19366 cat >conftest.
$ac_ext <<_ACEOF
19369 cat confdefs.h
>>conftest.
$ac_ext
19370 cat >>conftest.
$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19372 #include <sys/types.h>
19373 #include <machine/reg.h>
19382 rm -f conftest.
$ac_objext
19383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19384 (eval $ac_compile) 2>conftest.er1
19386 grep -v '^ *+' conftest.er1
>conftest.err
19388 cat conftest.err
>&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } &&
19391 { ac_try
='test -z "$ac_c_werror_flag"
19392 || test ! -s conftest.err'
19393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19394 (eval $ac_try) 2>&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); }; } &&
19398 { ac_try
='test -s conftest.$ac_objext'
19399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400 (eval $ac_try) 2>&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; }; then
19404 gdb_cv_struct_reg
=yes
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.
$ac_ext >&5
19409 gdb_cv_struct_reg
=no
19411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19413 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
19414 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
19415 if test $gdb_cv_struct_reg = yes; then
19417 cat >>confdefs.h
<<\_ACEOF
19418 #define HAVE_STRUCT_REG 1
19423 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
19424 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
19425 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
19426 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
19427 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
19428 echo $ECHO_N "(cached) $ECHO_C" >&6
19430 cat >conftest.
$ac_ext <<_ACEOF
19433 cat confdefs.h
>>conftest.
$ac_ext
19434 cat >>conftest.
$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 #include <machine/reg.h>
19441 static struct reg ac_aggr;
19448 rm -f conftest.
$ac_objext
19449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19450 (eval $ac_compile) 2>conftest.er1
19452 grep -v '^ *+' conftest.er1
>conftest.err
19454 cat conftest.err
>&5
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); } &&
19457 { ac_try
='test -z "$ac_c_werror_flag"
19458 || test ! -s conftest.err'
19459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460 (eval $ac_try) 2>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); }; } &&
19464 { ac_try
='test -s conftest.$ac_objext'
19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); }; }; then
19470 ac_cv_member_struct_reg_r_fs
=yes
19472 echo "$as_me: failed program was:" >&5
19473 sed 's/^/| /' conftest.
$ac_ext >&5
19475 cat >conftest.
$ac_ext <<_ACEOF
19478 cat confdefs.h
>>conftest.
$ac_ext
19479 cat >>conftest.
$ac_ext <<_ACEOF
19480 /* end confdefs.h. */
19481 #include <machine/reg.h>
19486 static struct reg ac_aggr;
19487 if (sizeof ac_aggr.r_fs)
19493 rm -f conftest.
$ac_objext
19494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19495 (eval $ac_compile) 2>conftest.er1
19497 grep -v '^ *+' conftest.er1
>conftest.err
19499 cat conftest.err
>&5
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); } &&
19502 { ac_try
='test -z "$ac_c_werror_flag"
19503 || test ! -s conftest.err'
19504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505 (eval $ac_try) 2>&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); }; } &&
19509 { ac_try
='test -s conftest.$ac_objext'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; }; then
19515 ac_cv_member_struct_reg_r_fs
=yes
19517 echo "$as_me: failed program was:" >&5
19518 sed 's/^/| /' conftest.
$ac_ext >&5
19520 ac_cv_member_struct_reg_r_fs
=no
19522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19526 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
19527 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
19528 if test $ac_cv_member_struct_reg_r_fs = yes; then
19530 cat >>confdefs.h
<<_ACEOF
19531 #define HAVE_STRUCT_REG_R_FS 1
19536 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
19537 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
19538 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
19539 echo $ECHO_N "(cached) $ECHO_C" >&6
19541 cat >conftest.
$ac_ext <<_ACEOF
19544 cat confdefs.h
>>conftest.
$ac_ext
19545 cat >>conftest.
$ac_ext <<_ACEOF
19546 /* end confdefs.h. */
19547 #include <machine/reg.h>
19552 static struct reg ac_aggr;
19559 rm -f conftest.
$ac_objext
19560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19561 (eval $ac_compile) 2>conftest.er1
19563 grep -v '^ *+' conftest.er1
>conftest.err
19565 cat conftest.err
>&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } &&
19568 { ac_try
='test -z "$ac_c_werror_flag"
19569 || test ! -s conftest.err'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; } &&
19575 { ac_try
='test -s conftest.$ac_objext'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; }; then
19581 ac_cv_member_struct_reg_r_gs
=yes
19583 echo "$as_me: failed program was:" >&5
19584 sed 's/^/| /' conftest.
$ac_ext >&5
19586 cat >conftest.
$ac_ext <<_ACEOF
19589 cat confdefs.h
>>conftest.
$ac_ext
19590 cat >>conftest.
$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 #include <machine/reg.h>
19597 static struct reg ac_aggr;
19598 if (sizeof ac_aggr.r_gs)
19604 rm -f conftest.
$ac_objext
19605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19606 (eval $ac_compile) 2>conftest.er1
19608 grep -v '^ *+' conftest.er1
>conftest.err
19610 cat conftest.err
>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } &&
19613 { ac_try
='test -z "$ac_c_werror_flag"
19614 || test ! -s conftest.err'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; } &&
19620 { ac_try
='test -s conftest.$ac_objext'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; }; then
19626 ac_cv_member_struct_reg_r_gs
=yes
19628 echo "$as_me: failed program was:" >&5
19629 sed 's/^/| /' conftest.
$ac_ext >&5
19631 ac_cv_member_struct_reg_r_gs
=no
19633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19637 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
19638 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
19639 if test $ac_cv_member_struct_reg_r_gs = yes; then
19641 cat >>confdefs.h
<<_ACEOF
19642 #define HAVE_STRUCT_REG_R_GS 1
19649 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
19650 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
19651 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
19652 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
19653 echo $ECHO_N "(cached) $ECHO_C" >&6
19655 cat >conftest.
$ac_ext <<_ACEOF
19658 cat confdefs.h
>>conftest.
$ac_ext
19659 cat >>conftest.
$ac_ext <<_ACEOF
19660 /* end confdefs.h. */
19661 #include <sys/ptrace.h>
19670 rm -f conftest.
$ac_objext
19671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19672 (eval $ac_compile) 2>conftest.er1
19674 grep -v '^ *+' conftest.er1
>conftest.err
19676 cat conftest.err
>&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); } &&
19679 { ac_try
='test -z "$ac_c_werror_flag"
19680 || test ! -s conftest.err'
19681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19682 (eval $ac_try) 2>&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); }; } &&
19686 { ac_try
='test -s conftest.$ac_objext'
19687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688 (eval $ac_try) 2>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; }; then
19692 gdb_cv_have_ptrace_getregs
=yes
19694 echo "$as_me: failed program was:" >&5
19695 sed 's/^/| /' conftest.
$ac_ext >&5
19697 gdb_cv_have_ptrace_getregs
=no
19699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19702 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
19703 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
19704 if test $gdb_cv_have_ptrace_getregs = yes; then
19706 cat >>confdefs.h
<<\_ACEOF
19707 #define HAVE_PTRACE_GETREGS 1
19712 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
19713 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
19714 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
19715 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 cat >conftest.
$ac_ext <<_ACEOF
19721 cat confdefs.h
>>conftest.
$ac_ext
19722 cat >>conftest.
$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724 #include <sys/ptrace.h>
19733 rm -f conftest.
$ac_objext
19734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19735 (eval $ac_compile) 2>conftest.er1
19737 grep -v '^ *+' conftest.er1
>conftest.err
19739 cat conftest.err
>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } &&
19742 { ac_try
='test -z "$ac_c_werror_flag"
19743 || test ! -s conftest.err'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; } &&
19749 { ac_try
='test -s conftest.$ac_objext'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 gdb_cv_have_ptrace_getfpxregs
=yes
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.
$ac_ext >&5
19760 gdb_cv_have_ptrace_getfpxregs
=no
19762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19765 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
19766 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
19767 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
19769 cat >>confdefs.h
<<\_ACEOF
19770 #define HAVE_PTRACE_GETFPXREGS 1
19775 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
19776 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
19777 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
19778 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
19779 echo $ECHO_N "(cached) $ECHO_C" >&6
19781 cat >conftest.
$ac_ext <<_ACEOF
19784 cat confdefs.h
>>conftest.
$ac_ext
19785 cat >>conftest.
$ac_ext <<_ACEOF
19786 /* end confdefs.h. */
19787 #include <sys/types.h>
19788 #include <sys/ptrace.h>
19797 rm -f conftest.
$ac_objext
19798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19799 (eval $ac_compile) 2>conftest.er1
19801 grep -v '^ *+' conftest.er1
>conftest.err
19803 cat conftest.err
>&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); } &&
19806 { ac_try
='test -z "$ac_c_werror_flag"
19807 || test ! -s conftest.err'
19808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19809 (eval $ac_try) 2>&5
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); }; } &&
19813 { ac_try
='test -s conftest.$ac_objext'
19814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19815 (eval $ac_try) 2>&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); }; }; then
19819 gdb_cv_have_pt_getdbregs
=yes
19821 echo "$as_me: failed program was:" >&5
19822 sed 's/^/| /' conftest.
$ac_ext >&5
19824 gdb_cv_have_pt_getdbregs
=no
19826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19829 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
19830 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
19831 if test $gdb_cv_have_pt_getdbregs = yes; then
19833 cat >>confdefs.h
<<\_ACEOF
19834 #define HAVE_PT_GETDBREGS 1
19839 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
19840 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
19841 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
19842 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
19843 echo $ECHO_N "(cached) $ECHO_C" >&6
19845 cat >conftest.
$ac_ext <<_ACEOF
19848 cat confdefs.h
>>conftest.
$ac_ext
19849 cat >>conftest.
$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 #include <sys/types.h>
19852 #include <sys/ptrace.h>
19861 rm -f conftest.
$ac_objext
19862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19863 (eval $ac_compile) 2>conftest.er1
19865 grep -v '^ *+' conftest.er1
>conftest.err
19867 cat conftest.err
>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } &&
19870 { ac_try
='test -z "$ac_c_werror_flag"
19871 || test ! -s conftest.err'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; } &&
19877 { ac_try
='test -s conftest.$ac_objext'
19878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19879 (eval $ac_try) 2>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); }; }; then
19883 gdb_cv_have_pt_getxmmregs
=yes
19885 echo "$as_me: failed program was:" >&5
19886 sed 's/^/| /' conftest.
$ac_ext >&5
19888 gdb_cv_have_pt_getxmmregs
=no
19890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19893 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
19894 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
19895 if test $gdb_cv_have_pt_getxmmregs = yes; then
19897 cat >>confdefs.h
<<\_ACEOF
19898 #define HAVE_PT_GETXMMREGS 1
19903 # Detect which type of /proc is in use, such as for Unixware or Solaris.
19905 if test "${target}" = "${host}"; then
19907 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
19909 cat >>confdefs.h
<<\_ACEOF
19910 #define NEW_PROC_API 1
19914 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9])
19916 cat >>confdefs.h
<<\_ACEOF
19917 #define NEW_PROC_API 1
19922 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
19924 cat >>confdefs.h
<<\_ACEOF
19925 #define _KMEMUSER 1
19932 if test "$ac_cv_header_sys_procfs_h" = yes; then
19933 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
19934 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
19935 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
19936 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 cat >conftest.
$ac_ext <<_ACEOF
19941 cat confdefs.h
>>conftest.
$ac_ext
19942 cat >>conftest.
$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19946 #include <sys/procfs.h>
19955 rm -f conftest.
$ac_objext
19956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19957 (eval $ac_compile) 2>conftest.er1
19959 grep -v '^ *+' conftest.er1
>conftest.err
19961 cat conftest.err
>&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); } &&
19964 { ac_try
='test -z "$ac_c_werror_flag"
19965 || test ! -s conftest.err'
19966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19967 (eval $ac_try) 2>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); }; } &&
19971 { ac_try
='test -s conftest.$ac_objext'
19972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19973 (eval $ac_try) 2>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); }; }; then
19977 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.
$ac_ext >&5
19982 bfd_cv_have_sys_procfs_type_pstatus_t
=no
19985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19988 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
19990 cat >>confdefs.h
<<\_ACEOF
19991 #define HAVE_PSTATUS_T 1
19995 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
19996 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
19998 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
19999 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
20000 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 cat >conftest.
$ac_ext <<_ACEOF
20006 cat confdefs.h
>>conftest.
$ac_ext
20007 cat >>conftest.
$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20011 #include <sys/procfs.h>
20020 rm -f conftest.
$ac_objext
20021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20022 (eval $ac_compile) 2>conftest.er1
20024 grep -v '^ *+' conftest.er1
>conftest.err
20026 cat conftest.err
>&5
20027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028 (exit $ac_status); } &&
20029 { ac_try
='test -z "$ac_c_werror_flag"
20030 || test ! -s conftest.err'
20031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032 (eval $ac_try) 2>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; } &&
20036 { ac_try
='test -s conftest.$ac_objext'
20037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038 (eval $ac_try) 2>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); }; }; then
20042 bfd_cv_have_sys_procfs_type_prrun_t
=yes
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.
$ac_ext >&5
20047 bfd_cv_have_sys_procfs_type_prrun_t
=no
20050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20053 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
20055 cat >>confdefs.h
<<\_ACEOF
20056 #define HAVE_PRRUN_T 1
20060 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
20061 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
20063 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
20064 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
20065 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
20066 echo $ECHO_N "(cached) $ECHO_C" >&6
20068 cat >conftest.
$ac_ext <<_ACEOF
20071 cat confdefs.h
>>conftest.
$ac_ext
20072 cat >>conftest.
$ac_ext <<_ACEOF
20073 /* end confdefs.h. */
20076 #include <sys/procfs.h>
20085 rm -f conftest.
$ac_objext
20086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20087 (eval $ac_compile) 2>conftest.er1
20089 grep -v '^ *+' conftest.er1
>conftest.err
20091 cat conftest.err
>&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); } &&
20094 { ac_try
='test -z "$ac_c_werror_flag"
20095 || test ! -s conftest.err'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; } &&
20101 { ac_try
='test -s conftest.$ac_objext'
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; }; then
20107 bfd_cv_have_sys_procfs_type_gregset_t
=yes
20109 echo "$as_me: failed program was:" >&5
20110 sed 's/^/| /' conftest.
$ac_ext >&5
20112 bfd_cv_have_sys_procfs_type_gregset_t
=no
20115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20118 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
20120 cat >>confdefs.h
<<\_ACEOF
20121 #define HAVE_GREGSET_T 1
20125 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
20126 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
20128 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
20129 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
20130 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
20131 echo $ECHO_N "(cached) $ECHO_C" >&6
20133 cat >conftest.
$ac_ext <<_ACEOF
20136 cat confdefs.h
>>conftest.
$ac_ext
20137 cat >>conftest.
$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20141 #include <sys/procfs.h>
20150 rm -f conftest.
$ac_objext
20151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20152 (eval $ac_compile) 2>conftest.er1
20154 grep -v '^ *+' conftest.er1
>conftest.err
20156 cat conftest.err
>&5
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); } &&
20159 { ac_try
='test -z "$ac_c_werror_flag"
20160 || test ! -s conftest.err'
20161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20162 (eval $ac_try) 2>&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); }; } &&
20166 { ac_try
='test -s conftest.$ac_objext'
20167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20168 (eval $ac_try) 2>&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); }; }; then
20172 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.
$ac_ext >&5
20177 bfd_cv_have_sys_procfs_type_fpregset_t
=no
20180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20183 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
20185 cat >>confdefs.h
<<\_ACEOF
20186 #define HAVE_FPREGSET_T 1
20190 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
20191 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
20193 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
20194 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
20195 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20198 cat >conftest.
$ac_ext <<_ACEOF
20201 cat confdefs.h
>>conftest.
$ac_ext
20202 cat >>conftest.
$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20206 #include <sys/procfs.h>
20215 rm -f conftest.
$ac_objext
20216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20217 (eval $ac_compile) 2>conftest.er1
20219 grep -v '^ *+' conftest.er1
>conftest.err
20221 cat conftest.err
>&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } &&
20224 { ac_try
='test -z "$ac_c_werror_flag"
20225 || test ! -s conftest.err'
20226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20227 (eval $ac_try) 2>&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); }; } &&
20231 { ac_try
='test -s conftest.$ac_objext'
20232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20233 (eval $ac_try) 2>&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); }; }; then
20237 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.
$ac_ext >&5
20242 bfd_cv_have_sys_procfs_type_prgregset_t
=no
20245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20248 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
20250 cat >>confdefs.h
<<\_ACEOF
20251 #define HAVE_PRGREGSET_T 1
20255 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
20256 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
20258 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
20259 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
20260 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
20261 echo $ECHO_N "(cached) $ECHO_C" >&6
20263 cat >conftest.
$ac_ext <<_ACEOF
20266 cat confdefs.h
>>conftest.
$ac_ext
20267 cat >>conftest.
$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20271 #include <sys/procfs.h>
20280 rm -f conftest.
$ac_objext
20281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20282 (eval $ac_compile) 2>conftest.er1
20284 grep -v '^ *+' conftest.er1
>conftest.err
20286 cat conftest.err
>&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); } &&
20289 { ac_try
='test -z "$ac_c_werror_flag"
20290 || test ! -s conftest.err'
20291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292 (eval $ac_try) 2>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; } &&
20296 { ac_try
='test -s conftest.$ac_objext'
20297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20298 (eval $ac_try) 2>&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }; }; then
20302 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
20304 echo "$as_me: failed program was:" >&5
20305 sed 's/^/| /' conftest.
$ac_ext >&5
20307 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
20310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20313 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
20315 cat >>confdefs.h
<<\_ACEOF
20316 #define HAVE_PRFPREGSET_T 1
20320 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
20321 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
20323 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
20324 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
20325 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
20326 echo $ECHO_N "(cached) $ECHO_C" >&6
20328 cat >conftest.
$ac_ext <<_ACEOF
20331 cat confdefs.h
>>conftest.
$ac_ext
20332 cat >>conftest.
$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20336 #include <sys/procfs.h>
20345 rm -f conftest.
$ac_objext
20346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20347 (eval $ac_compile) 2>conftest.er1
20349 grep -v '^ *+' conftest.er1
>conftest.err
20351 cat conftest.err
>&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } &&
20354 { ac_try
='test -z "$ac_c_werror_flag"
20355 || test ! -s conftest.err'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; } &&
20361 { ac_try
='test -s conftest.$ac_objext'
20362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363 (eval $ac_try) 2>&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; }; then
20367 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
20369 echo "$as_me: failed program was:" >&5
20370 sed 's/^/| /' conftest.
$ac_ext >&5
20372 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
20375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20378 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
20380 cat >>confdefs.h
<<\_ACEOF
20381 #define HAVE_PRGREGSET32_T 1
20385 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
20386 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
20388 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
20389 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
20390 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20393 cat >conftest.
$ac_ext <<_ACEOF
20396 cat confdefs.h
>>conftest.
$ac_ext
20397 cat >>conftest.
$ac_ext <<_ACEOF
20398 /* end confdefs.h. */
20401 #include <sys/procfs.h>
20405 prfpregset32_t avar
20410 rm -f conftest.
$ac_objext
20411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20412 (eval $ac_compile) 2>conftest.er1
20414 grep -v '^ *+' conftest.er1
>conftest.err
20416 cat conftest.err
>&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); } &&
20419 { ac_try
='test -z "$ac_c_werror_flag"
20420 || test ! -s conftest.err'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; } &&
20426 { ac_try
='test -s conftest.$ac_objext'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; }; then
20432 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.
$ac_ext >&5
20437 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
20440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20443 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
20445 cat >>confdefs.h
<<\_ACEOF
20446 #define HAVE_PRFPREGSET32_T 1
20450 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
20451 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
20453 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
20454 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
20455 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
20456 echo $ECHO_N "(cached) $ECHO_C" >&6
20458 cat >conftest.
$ac_ext <<_ACEOF
20461 cat confdefs.h
>>conftest.
$ac_ext
20462 cat >>conftest.
$ac_ext <<_ACEOF
20463 /* end confdefs.h. */
20466 #include <sys/procfs.h>
20475 rm -f conftest.
$ac_objext
20476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20477 (eval $ac_compile) 2>conftest.er1
20479 grep -v '^ *+' conftest.er1
>conftest.err
20481 cat conftest.err
>&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } &&
20484 { ac_try
='test -z "$ac_c_werror_flag"
20485 || test ! -s conftest.err'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; } &&
20491 { ac_try
='test -s conftest.$ac_objext'
20492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20493 (eval $ac_try) 2>&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); }; }; then
20497 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.
$ac_ext >&5
20502 bfd_cv_have_sys_procfs_type_lwpid_t
=no
20505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20508 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
20510 cat >>confdefs.h
<<\_ACEOF
20511 #define HAVE_LWPID_T 1
20515 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
20516 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
20518 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
20519 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
20520 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
20521 echo $ECHO_N "(cached) $ECHO_C" >&6
20523 cat >conftest.
$ac_ext <<_ACEOF
20526 cat confdefs.h
>>conftest.
$ac_ext
20527 cat >>conftest.
$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20531 #include <sys/procfs.h>
20540 rm -f conftest.
$ac_objext
20541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20542 (eval $ac_compile) 2>conftest.er1
20544 grep -v '^ *+' conftest.er1
>conftest.err
20546 cat conftest.err
>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } &&
20549 { ac_try
='test -z "$ac_c_werror_flag"
20550 || test ! -s conftest.err'
20551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20552 (eval $ac_try) 2>&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); }; } &&
20556 { ac_try
='test -s conftest.$ac_objext'
20557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20558 (eval $ac_try) 2>&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); }; }; then
20562 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
20564 echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.
$ac_ext >&5
20567 bfd_cv_have_sys_procfs_type_psaddr_t
=no
20570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20573 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
20575 cat >>confdefs.h
<<\_ACEOF
20576 #define HAVE_PSADDR_T 1
20580 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
20581 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
20583 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
20584 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
20585 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
20586 echo $ECHO_N "(cached) $ECHO_C" >&6
20588 cat >conftest.
$ac_ext <<_ACEOF
20591 cat confdefs.h
>>conftest.
$ac_ext
20592 cat >>conftest.
$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20596 #include <sys/procfs.h>
20605 rm -f conftest.
$ac_objext
20606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20607 (eval $ac_compile) 2>conftest.er1
20609 grep -v '^ *+' conftest.er1
>conftest.err
20611 cat conftest.err
>&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); } &&
20614 { ac_try
='test -z "$ac_c_werror_flag"
20615 || test ! -s conftest.err'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; } &&
20621 { ac_try
='test -s conftest.$ac_objext'
20622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623 (eval $ac_try) 2>&5
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; }; then
20627 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.
$ac_ext >&5
20632 bfd_cv_have_sys_procfs_type_prsysent_t
=no
20635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20638 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
20640 cat >>confdefs.h
<<\_ACEOF
20641 #define HAVE_PRSYSENT_T 1
20645 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
20646 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
20648 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
20649 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
20650 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20653 cat >conftest.
$ac_ext <<_ACEOF
20656 cat confdefs.h
>>conftest.
$ac_ext
20657 cat >>conftest.
$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20661 #include <sys/procfs.h>
20670 rm -f conftest.
$ac_objext
20671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20672 (eval $ac_compile) 2>conftest.er1
20674 grep -v '^ *+' conftest.er1
>conftest.err
20676 cat conftest.err
>&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } &&
20679 { ac_try
='test -z "$ac_c_werror_flag"
20680 || test ! -s conftest.err'
20681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20682 (eval $ac_try) 2>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); }; } &&
20686 { ac_try
='test -s conftest.$ac_objext'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; }; then
20692 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
20694 echo "$as_me: failed program was:" >&5
20695 sed 's/^/| /' conftest.
$ac_ext >&5
20697 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
20700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20703 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
20705 cat >>confdefs.h
<<\_ACEOF
20706 #define HAVE_PR_SIGSET_T 1
20710 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
20711 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
20713 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
20714 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
20715 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20718 cat >conftest.
$ac_ext <<_ACEOF
20721 cat confdefs.h
>>conftest.
$ac_ext
20722 cat >>conftest.
$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20726 #include <sys/procfs.h>
20730 pr_sigaction64_t avar
20735 rm -f conftest.
$ac_objext
20736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20737 (eval $ac_compile) 2>conftest.er1
20739 grep -v '^ *+' conftest.er1
>conftest.err
20741 cat conftest.err
>&5
20742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 (exit $ac_status); } &&
20744 { ac_try
='test -z "$ac_c_werror_flag"
20745 || test ! -s conftest.err'
20746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20747 (eval $ac_try) 2>&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); }; } &&
20751 { ac_try
='test -s conftest.$ac_objext'
20752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20753 (eval $ac_try) 2>&5
20755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20756 (exit $ac_status); }; }; then
20757 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
20759 echo "$as_me: failed program was:" >&5
20760 sed 's/^/| /' conftest.
$ac_ext >&5
20762 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
20765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20768 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
20770 cat >>confdefs.h
<<\_ACEOF
20771 #define HAVE_PR_SIGACTION64_T 1
20775 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
20776 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
20778 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
20779 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
20780 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
20781 echo $ECHO_N "(cached) $ECHO_C" >&6
20783 cat >conftest.
$ac_ext <<_ACEOF
20786 cat confdefs.h
>>conftest.
$ac_ext
20787 cat >>conftest.
$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20791 #include <sys/procfs.h>
20795 pr_siginfo64_t avar
20800 rm -f conftest.
$ac_objext
20801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20802 (eval $ac_compile) 2>conftest.er1
20804 grep -v '^ *+' conftest.er1
>conftest.err
20806 cat conftest.err
>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); } &&
20809 { ac_try
='test -z "$ac_c_werror_flag"
20810 || test ! -s conftest.err'
20811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20812 (eval $ac_try) 2>&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); }; } &&
20816 { ac_try
='test -s conftest.$ac_objext'
20817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20818 (eval $ac_try) 2>&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); }; }; then
20822 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.
$ac_ext >&5
20827 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
20830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20833 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
20835 cat >>confdefs.h
<<\_ACEOF
20836 #define HAVE_PR_SIGINFO64_T 1
20840 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
20841 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
20847 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
20848 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
20849 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
20850 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
20851 echo $ECHO_N "(cached) $ECHO_C" >&6
20853 if test "$cross_compiling" = yes; then
20854 gdb_cv_prfpregset_t_broken
=yes
20856 cat >conftest.
$ac_ext <<_ACEOF
20859 cat confdefs.h
>>conftest.
$ac_ext
20860 cat >>conftest.
$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20862 #include <sys/procfs.h>
20865 if (sizeof (prfpregset_t) == sizeof (void *))
20870 rm -f conftest
$ac_exeext
20871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20872 (eval $ac_link) 2>&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20877 (eval $ac_try) 2>&5
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); }; }; then
20881 gdb_cv_prfpregset_t_broken
=no
20883 echo "$as_me: program exited with status $ac_status" >&5
20884 echo "$as_me: failed program was:" >&5
20885 sed 's/^/| /' conftest.
$ac_ext >&5
20887 ( exit $ac_status )
20888 gdb_cv_prfpregset_t_broken
=yes
20890 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20894 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
20895 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
20896 if test $gdb_cv_prfpregset_t_broken = yes; then
20898 cat >>confdefs.h
<<\_ACEOF
20899 #define PRFPREGSET_T_BROKEN 1
20906 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
20907 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
20908 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
20909 echo $ECHO_N "(cached) $ECHO_C" >&6
20911 cat >conftest.
$ac_ext <<_ACEOF
20914 cat confdefs.h
>>conftest.
$ac_ext
20915 cat >>conftest.
$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20917 #include <unistd.h>
20918 #include <sys/types.h>
20919 #include <sys/procfs.h>
20926 dummy = ioctl(0, PIOCSET, &dummy);
20932 rm -f conftest.
$ac_objext
20933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20934 (eval $ac_compile) 2>conftest.er1
20936 grep -v '^ *+' conftest.er1
>conftest.err
20938 cat conftest.err
>&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); } &&
20941 { ac_try
='test -z "$ac_c_werror_flag"
20942 || test ! -s conftest.err'
20943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20944 (eval $ac_try) 2>&5
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); }; } &&
20948 { ac_try
='test -s conftest.$ac_objext'
20949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950 (eval $ac_try) 2>&5
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); }; }; then
20954 gdb_cv_have_procfs_piocset
=yes
20956 echo "$as_me: failed program was:" >&5
20957 sed 's/^/| /' conftest.
$ac_ext >&5
20959 gdb_cv_have_procfs_piocset
=no
20961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20964 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
20965 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
20966 if test $gdb_cv_have_procfs_piocset = yes; then
20968 cat >>confdefs.h
<<\_ACEOF
20969 #define HAVE_PROCFS_PIOCSET 1
20975 if test ${host} = ${target} ; then
20977 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
20978 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
20979 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20982 cat >conftest.
$ac_ext <<_ACEOF
20985 cat confdefs.h
>>conftest.
$ac_ext
20986 cat >>conftest.
$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20992 struct link_map lm; (void) lm.l_addr;
20997 rm -f conftest.
$ac_objext
20998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20999 (eval $ac_compile) 2>conftest.er1
21001 grep -v '^ *+' conftest.er1
>conftest.err
21003 cat conftest.err
>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } &&
21006 { ac_try
='test -z "$ac_c_werror_flag"
21007 || test ! -s conftest.err'
21008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21009 (eval $ac_try) 2>&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); }; } &&
21013 { ac_try
='test -s conftest.$ac_objext'
21014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21015 (eval $ac_try) 2>&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); }; }; then
21019 gdb_cv_have_struct_link_map_with_l_members
=yes
21021 echo "$as_me: failed program was:" >&5
21022 sed 's/^/| /' conftest.
$ac_ext >&5
21024 gdb_cv_have_struct_link_map_with_l_members
=no
21026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21029 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
21030 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
21031 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
21033 cat >>confdefs.h
<<\_ACEOF
21034 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
21040 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
21041 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
21042 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
21043 echo $ECHO_N "(cached) $ECHO_C" >&6
21045 cat >conftest.
$ac_ext <<_ACEOF
21048 cat confdefs.h
>>conftest.
$ac_ext
21049 cat >>conftest.
$ac_ext <<_ACEOF
21050 /* end confdefs.h. */
21051 #include <sys/types.h>
21056 struct link_map lm; (void) lm.lm_addr;
21061 rm -f conftest.
$ac_objext
21062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21063 (eval $ac_compile) 2>conftest.er1
21065 grep -v '^ *+' conftest.er1
>conftest.err
21067 cat conftest.err
>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); } &&
21070 { ac_try
='test -z "$ac_c_werror_flag"
21071 || test ! -s conftest.err'
21072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21073 (eval $ac_try) 2>&5
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); }; } &&
21077 { ac_try
='test -s conftest.$ac_objext'
21078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079 (eval $ac_try) 2>&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); }; }; then
21083 gdb_cv_have_struct_link_map_with_lm_members
=yes
21085 echo "$as_me: failed program was:" >&5
21086 sed 's/^/| /' conftest.
$ac_ext >&5
21088 gdb_cv_have_struct_link_map_with_lm_members
=no
21090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21093 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
21094 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
21095 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
21097 cat >>confdefs.h
<<\_ACEOF
21098 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
21104 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
21105 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
21106 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
21107 echo $ECHO_N "(cached) $ECHO_C" >&6
21109 cat >conftest.
$ac_ext <<_ACEOF
21112 cat confdefs.h
>>conftest.
$ac_ext
21113 cat >>conftest.
$ac_ext <<_ACEOF
21114 /* end confdefs.h. */
21115 #include <sys/types.h>
21116 #ifdef HAVE_NLIST_H
21123 struct so_map lm; (void) lm.som_addr;
21128 rm -f conftest.
$ac_objext
21129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21130 (eval $ac_compile) 2>conftest.er1
21132 grep -v '^ *+' conftest.er1
>conftest.err
21134 cat conftest.err
>&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); } &&
21137 { ac_try
='test -z "$ac_c_werror_flag"
21138 || test ! -s conftest.err'
21139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21140 (eval $ac_try) 2>&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); }; } &&
21144 { ac_try
='test -s conftest.$ac_objext'
21145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21146 (eval $ac_try) 2>&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); }; }; then
21150 gdb_cv_have_struct_so_map_with_som_members
=yes
21152 echo "$as_me: failed program was:" >&5
21153 sed 's/^/| /' conftest.
$ac_ext >&5
21155 gdb_cv_have_struct_so_map_with_som_members
=no
21157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21160 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
21161 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
21162 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
21164 cat >>confdefs.h
<<\_ACEOF
21165 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
21171 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
21172 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
21173 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
21174 echo $ECHO_N "(cached) $ECHO_C" >&6
21176 cat >conftest.
$ac_ext <<_ACEOF
21179 cat confdefs.h
>>conftest.
$ac_ext
21180 cat >>conftest.
$ac_ext <<_ACEOF
21181 /* end confdefs.h. */
21183 #include <sys/link.h>
21187 struct link_map32 l;
21192 rm -f conftest.
$ac_objext
21193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21194 (eval $ac_compile) 2>conftest.er1
21196 grep -v '^ *+' conftest.er1
>conftest.err
21198 cat conftest.err
>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } &&
21201 { ac_try
='test -z "$ac_c_werror_flag"
21202 || test ! -s conftest.err'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; } &&
21208 { ac_try
='test -s conftest.$ac_objext'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; }; then
21214 gdb_cv_have_struct_link_map32
=yes
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.
$ac_ext >&5
21219 gdb_cv_have_struct_link_map32
=no
21221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21224 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
21225 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
21226 if test $gdb_cv_have_struct_link_map32 = yes; then
21228 cat >>confdefs.h
<<\_ACEOF
21229 #define HAVE_STRUCT_LINK_MAP32 1
21233 cat >>confdefs.h
<<\_ACEOF
21234 #define _SYSCALL32 1
21240 # Check if the compiler supports the `long long' type.
21242 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
21243 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
21244 if test "${gdb_cv_c_long_long+set}" = set; then
21245 echo $ECHO_N "(cached) $ECHO_C" >&6
21247 cat >conftest.
$ac_ext <<_ACEOF
21250 cat confdefs.h
>>conftest.
$ac_ext
21251 cat >>conftest.
$ac_ext <<_ACEOF
21252 /* end confdefs.h. */
21253 extern long long foo;
21257 switch (foo & 2) { case 0: return 1; }
21262 rm -f conftest.
$ac_objext
21263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21264 (eval $ac_compile) 2>conftest.er1
21266 grep -v '^ *+' conftest.er1
>conftest.err
21268 cat conftest.err
>&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); } &&
21271 { ac_try
='test -z "$ac_c_werror_flag"
21272 || test ! -s conftest.err'
21273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274 (eval $ac_try) 2>&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); }; } &&
21278 { ac_try
='test -s conftest.$ac_objext'
21279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21280 (eval $ac_try) 2>&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); }; }; then
21284 gdb_cv_c_long_long
=yes
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.
$ac_ext >&5
21289 gdb_cv_c_long_long
=no
21291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21293 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
21294 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
21295 if test $gdb_cv_c_long_long = yes; then
21297 cat >>confdefs.h
<<\_ACEOF
21298 #define CC_HAS_LONG_LONG 1
21303 # Check if the compiler and runtime support printing long longs.
21305 echo "$as_me:$LINENO: checking for long long support in printf" >&5
21306 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
21307 if test "${gdb_cv_printf_has_long_long+set}" = set; then
21308 echo $ECHO_N "(cached) $ECHO_C" >&6
21310 if test "$cross_compiling" = yes; then
21311 gdb_cv_printf_has_long_long
=no
21313 cat >conftest.
$ac_ext <<_ACEOF
21316 cat confdefs.h
>>conftest.
$ac_ext
21317 cat >>conftest.
$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21319 $ac_includes_default
21325 l = (l << 16) + 0x0123;
21326 l = (l << 16) + 0x4567;
21327 l = (l << 16) + 0x89ab;
21328 l = (l << 16) + 0xcdef;
21329 sprintf (buf, "0x%016llx", l);
21330 return (strcmp ("0x0123456789abcdef", buf));
21335 rm -f conftest
$ac_exeext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21337 (eval $ac_link) 2>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21342 (eval $ac_try) 2>&5
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); }; }; then
21346 gdb_cv_printf_has_long_long
=yes
21348 echo "$as_me: program exited with status $ac_status" >&5
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.
$ac_ext >&5
21352 ( exit $ac_status )
21353 gdb_cv_printf_has_long_long
=no
21355 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21358 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
21359 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
21360 if test $gdb_cv_printf_has_long_long = yes; then
21362 cat >>confdefs.h
<<\_ACEOF
21363 #define PRINTF_HAS_LONG_LONG 1
21368 # Check if the compiler and runtime support printing decfloats.
21370 echo "$as_me:$LINENO: checking for decfloat support in printf" >&5
21371 echo $ECHO_N "checking for decfloat support in printf... $ECHO_C" >&6
21372 if test "${gdb_cv_printf_has_decfloat+set}" = set; then
21373 echo $ECHO_N "(cached) $ECHO_C" >&6
21375 if test "$cross_compiling" = yes; then
21376 gdb_cv_printf_has_decfloat
=no
21378 cat >conftest.
$ac_ext <<_ACEOF
21381 cat confdefs.h
>>conftest.
$ac_ext
21382 cat >>conftest.
$ac_ext <<_ACEOF
21383 /* end confdefs.h. */
21384 $ac_includes_default
21389 _Decimal32 d32 = 1.2345df;
21390 _Decimal64 d64 = 1.2345dd;
21391 _Decimal128 d128 = 1.2345dl;
21392 sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
21393 return (strcmp ("Decimal32: 1.2345\nDecimal64: 1.2345\nDecimal128: 1.2345", buf));
21398 rm -f conftest
$ac_exeext
21399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21400 (eval $ac_link) 2>&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 gdb_cv_printf_has_decfloat
=yes
21411 echo "$as_me: program exited with status $ac_status" >&5
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.
$ac_ext >&5
21415 ( exit $ac_status )
21416 gdb_cv_printf_has_decfloat
=no
21418 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21421 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_decfloat" >&5
21422 echo "${ECHO_T}$gdb_cv_printf_has_decfloat" >&6
21423 if test $gdb_cv_printf_has_decfloat = yes; then
21425 cat >>confdefs.h
<<\_ACEOF
21426 #define PRINTF_HAS_DECFLOAT 1
21431 # Check if the compiler supports the `long double' type. We can't use
21432 # AC_C_LONG_DOUBLE because that one does additional checks on the
21433 # constants defined in <float.h> that fail on some systems,
21434 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
21436 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
21437 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
21438 if test "${gdb_cv_c_long_double+set}" = set; then
21439 echo $ECHO_N "(cached) $ECHO_C" >&6
21441 cat >conftest.
$ac_ext <<_ACEOF
21444 cat confdefs.h
>>conftest.
$ac_ext
21445 cat >>conftest.
$ac_ext <<_ACEOF
21446 /* end confdefs.h. */
21449 rm -f conftest.
$ac_objext
21450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21451 (eval $ac_compile) 2>conftest.er1
21453 grep -v '^ *+' conftest.er1
>conftest.err
21455 cat conftest.err
>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); } &&
21458 { ac_try
='test -z "$ac_c_werror_flag"
21459 || test ! -s conftest.err'
21460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21461 (eval $ac_try) 2>&5
21463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21464 (exit $ac_status); }; } &&
21465 { ac_try
='test -s conftest.$ac_objext'
21466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21467 (eval $ac_try) 2>&5
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); }; }; then
21471 gdb_cv_c_long_double
=yes
21473 echo "$as_me: failed program was:" >&5
21474 sed 's/^/| /' conftest.
$ac_ext >&5
21476 gdb_cv_c_long_double
=no
21478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21480 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
21481 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
21482 if test $gdb_cv_c_long_double = yes; then
21484 cat >>confdefs.h
<<\_ACEOF
21485 #define HAVE_LONG_DOUBLE 1
21490 # Check if the compiler and runtime support printing long doubles.
21492 echo "$as_me:$LINENO: checking for long double support in printf" >&5
21493 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
21494 if test "${gdb_cv_printf_has_long_double+set}" = set; then
21495 echo $ECHO_N "(cached) $ECHO_C" >&6
21497 if test "$cross_compiling" = yes; then
21498 gdb_cv_printf_has_long_double
=no
21500 cat >conftest.
$ac_ext <<_ACEOF
21503 cat confdefs.h
>>conftest.
$ac_ext
21504 cat >>conftest.
$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21506 $ac_includes_default
21511 long double f = 3.141592653;
21512 sprintf (buf, "%Lg", f);
21513 return (strncmp ("3.14159", buf, 7));
21518 rm -f conftest
$ac_exeext
21519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21520 (eval $ac_link) 2>&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21525 (eval $ac_try) 2>&5
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); }; }; then
21529 gdb_cv_printf_has_long_double
=yes
21531 echo "$as_me: program exited with status $ac_status" >&5
21532 echo "$as_me: failed program was:" >&5
21533 sed 's/^/| /' conftest.
$ac_ext >&5
21535 ( exit $ac_status )
21536 gdb_cv_printf_has_long_double
=no
21538 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21541 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
21542 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
21543 if test $gdb_cv_printf_has_long_double = yes; then
21545 cat >>confdefs.h
<<\_ACEOF
21546 #define PRINTF_HAS_LONG_DOUBLE 1
21551 # Check if the compiler and runtime support scanning long doubles.
21553 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
21554 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
21555 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
21556 echo $ECHO_N "(cached) $ECHO_C" >&6
21558 if test "$cross_compiling" = yes; then
21559 gdb_cv_scanf_has_long_double
=no
21561 cat >conftest.
$ac_ext <<_ACEOF
21564 cat confdefs.h
>>conftest.
$ac_ext
21565 cat >>conftest.
$ac_ext <<_ACEOF
21566 /* end confdefs.h. */
21571 char *buf = "3.141592653";
21573 sscanf (buf, "%Lg", &f);
21574 return !(f > 3.14159 && f < 3.14160);
21579 rm -f conftest
$ac_exeext
21580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21581 (eval $ac_link) 2>&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21586 (eval $ac_try) 2>&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); }; }; then
21590 gdb_cv_scanf_has_long_double
=yes
21592 echo "$as_me: program exited with status $ac_status" >&5
21593 echo "$as_me: failed program was:" >&5
21594 sed 's/^/| /' conftest.
$ac_ext >&5
21596 ( exit $ac_status )
21597 gdb_cv_scanf_has_long_double
=no
21599 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21602 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
21603 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
21604 if test $gdb_cv_scanf_has_long_double = yes; then
21606 cat >>confdefs.h
<<\_ACEOF
21607 #define SCANF_HAS_LONG_DOUBLE 1
21614 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
21615 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
21616 if test "${gdb_cv_bigtoc+set}" = set; then
21617 echo $ECHO_N "(cached) $ECHO_C" >&6
21620 SAVE_LDFLAGS
=$LDFLAGS
21623 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
21624 *) gdb_cv_bigtoc
=-bbigtoc ;;
21627 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
21628 cat >conftest.
$ac_ext <<_ACEOF
21631 cat confdefs.h
>>conftest.
$ac_ext
21632 cat >>conftest.
$ac_ext <<_ACEOF
21633 /* end confdefs.h. */
21643 rm -f conftest.
$ac_objext conftest
$ac_exeext
21644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21645 (eval $ac_link) 2>conftest.er1
21647 grep -v '^ *+' conftest.er1
>conftest.err
21649 cat conftest.err
>&5
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); } &&
21652 { ac_try
='test -z "$ac_c_werror_flag"
21653 || test ! -s conftest.err'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; } &&
21659 { ac_try
='test -s conftest$ac_exeext'
21660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21661 (eval $ac_try) 2>&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); }; }; then
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.
$ac_ext >&5
21672 rm -f conftest.err conftest.
$ac_objext \
21673 conftest
$ac_exeext conftest.
$ac_ext
21674 LDFLAGS
="${SAVE_LDFLAGS}"
21677 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
21678 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
21679 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
21685 if test ${build} = ${host} -a ${host} = ${target} ; then
21688 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
21689 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
21690 if test -f /usr
/include
/dce
/cma_config.h
; then
21691 if test "$GCC" = "yes" ; then
21692 echo "$as_me:$LINENO: result: yes" >&5
21693 echo "${ECHO_T}yes" >&6
21695 cat >>confdefs.h
<<\_ACEOF
21696 #define HAVE_HPUX_THREAD_SUPPORT 1
21699 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
21700 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
21702 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
21703 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
21706 echo "$as_me:$LINENO: result: no" >&5
21707 echo "${ECHO_T}no" >&6
21711 # See if thread_db library is around for Solaris thread debugging.
21712 # Note that we must explicitly test for version 1 of the library
21713 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
21715 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
21716 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
21717 if test -f /usr
/lib
/libthread_db.so
.1 ; then
21718 echo "$as_me:$LINENO: result: yes" >&5
21719 echo "${ECHO_T}yes" >&6
21721 cat >>confdefs.h
<<\_ACEOF
21722 #define HAVE_THREAD_DB_LIB 1
21725 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
21726 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
21728 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21729 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
21730 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21731 echo $ECHO_N "(cached) $ECHO_C" >&6
21733 ac_check_lib_save_LIBS
=$LIBS
21735 cat >conftest.
$ac_ext <<_ACEOF
21738 cat confdefs.h
>>conftest.
$ac_ext
21739 cat >>conftest.
$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21742 /* Override any gcc2 internal prototype to avoid an error. */
21746 /* We use char because int might match the return type of a gcc2
21747 builtin and then its argument prototype would still apply. */
21757 rm -f conftest.
$ac_objext conftest
$ac_exeext
21758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21759 (eval $ac_link) 2>conftest.er1
21761 grep -v '^ *+' conftest.er1
>conftest.err
21763 cat conftest.err
>&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } &&
21766 { ac_try
='test -z "$ac_c_werror_flag"
21767 || test ! -s conftest.err'
21768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21769 (eval $ac_try) 2>&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); }; } &&
21773 { ac_try
='test -s conftest$ac_exeext'
21774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21775 (eval $ac_try) 2>&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); }; }; then
21779 ac_cv_lib_dl_dlopen
=yes
21781 echo "$as_me: failed program was:" >&5
21782 sed 's/^/| /' conftest.
$ac_ext >&5
21784 ac_cv_lib_dl_dlopen
=no
21786 rm -f conftest.err conftest.
$ac_objext \
21787 conftest
$ac_exeext conftest.
$ac_ext
21788 LIBS
=$ac_check_lib_save_LIBS
21790 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21791 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
21792 if test $ac_cv_lib_dl_dlopen = yes; then
21793 cat >>confdefs.h
<<_ACEOF
21794 #define HAVE_LIBDL 1
21801 if test "$GCC" = "yes" ; then
21802 # The GNU linker requires the -export-dynamic option to make
21803 # all symbols visible in the dynamic symbol table.
21804 hold_ldflags
=$LDFLAGS
21805 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
21806 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
21807 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
21808 cat >conftest.
$ac_ext <<_ACEOF
21811 cat confdefs.h
>>conftest.
$ac_ext
21812 cat >>conftest.
$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21823 rm -f conftest.
$ac_objext conftest
$ac_exeext
21824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21825 (eval $ac_link) 2>conftest.er1
21827 grep -v '^ *+' conftest.er1
>conftest.err
21829 cat conftest.err
>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } &&
21832 { ac_try
='test -z "$ac_c_werror_flag"
21833 || test ! -s conftest.err'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; } &&
21839 { ac_try
='test -s conftest$ac_exeext'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; }; then
21847 echo "$as_me: failed program was:" >&5
21848 sed 's/^/| /' conftest.
$ac_ext >&5
21852 rm -f conftest.err conftest.
$ac_objext \
21853 conftest
$ac_exeext conftest.
$ac_ext
21854 LDFLAGS
=$hold_ldflags
21855 echo "$as_me:$LINENO: result: $found" >&5
21856 echo "${ECHO_T}$found" >&6
21857 if test $found = yes; then
21858 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
21861 # Sun randomly tweaked the prototypes in <proc_service.h>
21863 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
21864 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
21865 if test "${gdb_cv_proc_service_is_old+set}" = set; then
21866 echo $ECHO_N "(cached) $ECHO_C" >&6
21869 cat >conftest.
$ac_ext <<_ACEOF
21872 cat confdefs.h
>>conftest.
$ac_ext
21873 cat >>conftest.
$ac_ext <<_ACEOF
21874 /* end confdefs.h. */
21876 #include <proc_service.h>
21877 ps_err_e ps_pdwrite
21878 (struct ps_prochandle*, psaddr_t, const void*, size_t);
21888 rm -f conftest.
$ac_objext
21889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21890 (eval $ac_compile) 2>conftest.er1
21892 grep -v '^ *+' conftest.er1
>conftest.err
21894 cat conftest.err
>&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } &&
21897 { ac_try
='test -z "$ac_c_werror_flag"
21898 || test ! -s conftest.err'
21899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21900 (eval $ac_try) 2>&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); }; } &&
21904 { ac_try
='test -s conftest.$ac_objext'
21905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21906 (eval $ac_try) 2>&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); }; }; then
21910 gdb_cv_proc_service_is_old
=no
21912 echo "$as_me: failed program was:" >&5
21913 sed 's/^/| /' conftest.
$ac_ext >&5
21915 gdb_cv_proc_service_is_old
=yes
21917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21921 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
21922 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
21923 if test $gdb_cv_proc_service_is_old = yes; then
21925 cat >>confdefs.h
<<\_ACEOF
21926 #define PROC_SERVICE_IS_OLD 1
21931 echo "$as_me:$LINENO: result: no" >&5
21932 echo "${ECHO_T}no" >&6
21936 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
21937 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
21938 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
21939 echo $ECHO_N "(cached) $ECHO_C" >&6
21941 cat >conftest.
$ac_ext <<_ACEOF
21944 cat confdefs.h
>>conftest.
$ac_ext
21945 cat >>conftest.
$ac_ext <<_ACEOF
21946 /* end confdefs.h. */
21947 #include <sys/pthdebug.h>
21951 #ifndef PTHDB_VERSION_3
21958 rm -f conftest.
$ac_objext
21959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21960 (eval $ac_compile) 2>conftest.er1
21962 grep -v '^ *+' conftest.er1
>conftest.err
21964 cat conftest.err
>&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); } &&
21967 { ac_try
='test -z "$ac_c_werror_flag"
21968 || test ! -s conftest.err'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; } &&
21974 { ac_try
='test -s conftest.$ac_objext'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 gdb_cv_have_aix_thread_debug
=yes
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.
$ac_ext >&5
21985 gdb_cv_have_aix_thread_debug
=no
21987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21990 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
21991 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
21992 if test $gdb_cv_have_aix_thread_debug = yes; then
21993 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
21994 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
21995 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
22002 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
22003 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
22004 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
22005 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
22006 echo $ECHO_N "(cached) $ECHO_C" >&6
22008 cat >conftest.
$ac_ext <<_ACEOF
22011 cat confdefs.h
>>conftest.
$ac_ext
22012 cat >>conftest.
$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 #include <thread_db.h>
22018 int i = TD_NOTALLOC;
22023 rm -f conftest.
$ac_objext
22024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22025 (eval $ac_compile) 2>conftest.er1
22027 grep -v '^ *+' conftest.er1
>conftest.err
22029 cat conftest.err
>&5
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); } &&
22032 { ac_try
='test -z "$ac_c_werror_flag"
22033 || test ! -s conftest.err'
22034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22035 (eval $ac_try) 2>&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); }; } &&
22039 { ac_try
='test -s conftest.$ac_objext'
22040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22041 (eval $ac_try) 2>&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); }; }; then
22045 gdb_cv_thread_db_h_has_td_notalloc
=yes
22047 echo "$as_me: failed program was:" >&5
22048 sed 's/^/| /' conftest.
$ac_ext >&5
22050 gdb_cv_thread_db_h_has_td_notalloc
=no
22053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22056 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
22057 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
22058 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_VERSION" >&5
22059 echo $ECHO_N "checking whether <thread_db.h> has TD_VERSION... $ECHO_C" >&6
22060 if test "${gdb_cv_thread_db_h_has_td_version+set}" = set; then
22061 echo $ECHO_N "(cached) $ECHO_C" >&6
22063 cat >conftest.
$ac_ext <<_ACEOF
22066 cat confdefs.h
>>conftest.
$ac_ext
22067 cat >>conftest.
$ac_ext <<_ACEOF
22068 /* end confdefs.h. */
22069 #include <thread_db.h>
22073 int i = TD_VERSION;
22078 rm -f conftest.
$ac_objext
22079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22080 (eval $ac_compile) 2>conftest.er1
22082 grep -v '^ *+' conftest.er1
>conftest.err
22084 cat conftest.err
>&5
22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22086 (exit $ac_status); } &&
22087 { ac_try
='test -z "$ac_c_werror_flag"
22088 || test ! -s conftest.err'
22089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22090 (eval $ac_try) 2>&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); }; } &&
22094 { ac_try
='test -s conftest.$ac_objext'
22095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22096 (eval $ac_try) 2>&5
22098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099 (exit $ac_status); }; }; then
22100 gdb_cv_thread_db_h_has_td_version
=yes
22102 echo "$as_me: failed program was:" >&5
22103 sed 's/^/| /' conftest.
$ac_ext >&5
22105 gdb_cv_thread_db_h_has_td_version
=no
22108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22111 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_version" >&5
22112 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_version" >&6
22113 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTLS" >&5
22114 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTLS... $ECHO_C" >&6
22115 if test "${gdb_cv_thread_db_h_has_td_notls+set}" = set; then
22116 echo $ECHO_N "(cached) $ECHO_C" >&6
22118 cat >conftest.
$ac_ext <<_ACEOF
22121 cat confdefs.h
>>conftest.
$ac_ext
22122 cat >>conftest.
$ac_ext <<_ACEOF
22123 /* end confdefs.h. */
22124 #include <thread_db.h>
22133 rm -f conftest.
$ac_objext
22134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22135 (eval $ac_compile) 2>conftest.er1
22137 grep -v '^ *+' conftest.er1
>conftest.err
22139 cat conftest.err
>&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); } &&
22142 { ac_try
='test -z "$ac_c_werror_flag"
22143 || test ! -s conftest.err'
22144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22145 (eval $ac_try) 2>&5
22147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148 (exit $ac_status); }; } &&
22149 { ac_try
='test -s conftest.$ac_objext'
22150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22151 (eval $ac_try) 2>&5
22153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22154 (exit $ac_status); }; }; then
22155 gdb_cv_thread_db_h_has_td_notls
=yes
22157 echo "$as_me: failed program was:" >&5
22158 sed 's/^/| /' conftest.
$ac_ext >&5
22160 gdb_cv_thread_db_h_has_td_notls
=no
22163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22166 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notls" >&5
22167 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notls" >&6
22169 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
22171 cat >>confdefs.h
<<\_ACEOF
22172 #define THREAD_DB_HAS_TD_NOTALLOC 1
22176 if test "x$gdb_cv_thread_db_h_has_td_version" = "xyes"; then
22178 cat >>confdefs.h
<<\_ACEOF
22179 #define THREAD_DB_HAS_TD_VERSION 1
22183 if test "x$gdb_cv_thread_db_h_has_td_notls" = "xyes"; then
22185 cat >>confdefs.h
<<\_ACEOF
22186 #define THREAD_DB_HAS_TD_NOTLS 1
22191 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
22192 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
22193 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
22194 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
22195 echo $ECHO_N "(cached) $ECHO_C" >&6
22197 cat >conftest.
$ac_ext <<_ACEOF
22200 cat confdefs.h
>>conftest.
$ac_ext
22201 cat >>conftest.
$ac_ext <<_ACEOF
22202 /* end confdefs.h. */
22203 #include <sys/syscall.h>
22207 int i = __NR_tkill;
22212 rm -f conftest.
$ac_objext
22213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22214 (eval $ac_compile) 2>conftest.er1
22216 grep -v '^ *+' conftest.er1
>conftest.err
22218 cat conftest.err
>&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); } &&
22221 { ac_try
='test -z "$ac_c_werror_flag"
22222 || test ! -s conftest.err'
22223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22224 (eval $ac_try) 2>&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); }; } &&
22228 { ac_try
='test -s conftest.$ac_objext'
22229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22230 (eval $ac_try) 2>&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); }; }; then
22234 gdb_cv_sys_syscall_h_has_tkill
=yes
22236 echo "$as_me: failed program was:" >&5
22237 sed 's/^/| /' conftest.
$ac_ext >&5
22239 gdb_cv_sys_syscall_h_has_tkill
=no
22242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22245 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
22246 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
22248 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
22250 cat >>confdefs.h
<<\_ACEOF
22251 #define HAVE_TKILL_SYSCALL 1
22258 # Check whether --with-sysroot or --without-sysroot was given.
22259 if test "${with_sysroot+set}" = set; then
22260 withval
="$with_sysroot"
22262 case ${with_sysroot} in
22263 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
22264 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
22267 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
22269 if test "x$prefix" = xNONE
; then
22270 test_prefix
=/usr
/local
22272 test_prefix
=$prefix
22274 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
22275 test_exec_prefix
=$test_prefix
22277 test_exec_prefix
=$exec_prefix
22279 case ${TARGET_SYSTEM_ROOT} in
22280 "${test_prefix}"|
"${test_prefix}/"*|\
22281 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
22282 '${prefix}'|
'${prefix}/'*|\
22283 '${exec_prefix}'|
'${exec_prefix}/'*)
22284 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
22285 TARGET_SYSTEM_ROOT_DEFINE
="$t"
22291 TARGET_SYSTEM_ROOT
=
22292 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
22298 # Check whether --enable-werror or --disable-werror was given.
22299 if test "${enable_werror+set}" = set; then
22300 enableval
="$enable_werror"
22301 case "${enableval}" in
22302 yes | y
) ERROR_ON_WARNING
="yes" ;;
22303 no | n
) ERROR_ON_WARNING
="no" ;;
22304 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
22305 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
22306 { (exit 1); exit 1; }; } ;;
22310 # Enable -Werror by default when using gcc
22311 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
22312 ERROR_ON_WARNING
=yes
22316 if test "${ERROR_ON_WARNING}" = yes ; then
22317 WERROR_CFLAGS
="-Werror"
22320 # The entries after -Wno-pointer-sign are disabled warnings which may
22321 # be enabled in the future, which can not currently be used to build
22323 # NOTE: If you change this list, remember to update
22324 # gdb/doc/gdbint.texinfo.
22325 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
22326 -Wformat-nonliteral -Wno-pointer-sign \
22327 -Wno-unused -Wno-switch -Wno-char-subscripts"
22329 # Check whether --enable-build-warnings or --disable-build-warnings was given.
22330 if test "${enable_build_warnings+set}" = set; then
22331 enableval
="$enable_build_warnings"
22332 case "${enableval}" in
22334 no
) build_warnings
="-w";;
22335 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
22336 build_warnings
="${build_warnings} ${t}";;
22337 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
22338 build_warnings
="${t} ${build_warnings}";;
22339 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
22341 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
22342 echo "Setting compiler warning flags = $build_warnings" 6>&1
22344 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
22345 if test "${enable_gdb_build_warnings+set}" = set; then
22346 enableval
="$enable_gdb_build_warnings"
22347 case "${enableval}" in
22349 no
) build_warnings
="-w";;
22350 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
22351 build_warnings
="${build_warnings} ${t}";;
22352 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
22353 build_warnings
="${t} ${build_warnings}";;
22354 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
22356 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
22357 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
22360 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
22362 echo "$as_me:$LINENO: checking compiler warning flags" >&5
22363 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
22364 # Separate out the -Werror flag as some files just cannot be
22365 # compiled with it enabled.
22366 for w
in ${build_warnings}; do
22368 -Werr*) WERROR_CFLAGS
=-Werror ;;
22369 *) # Check that GCC accepts it
22370 saved_CFLAGS
="$CFLAGS"
22371 CFLAGS
="$CFLAGS $w"
22372 cat >conftest.
$ac_ext <<_ACEOF
22375 cat confdefs.h
>>conftest.
$ac_ext
22376 cat >>conftest.
$ac_ext <<_ACEOF
22377 /* end confdefs.h. */
22387 rm -f conftest.
$ac_objext
22388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22389 (eval $ac_compile) 2>conftest.er1
22391 grep -v '^ *+' conftest.er1
>conftest.err
22393 cat conftest.err
>&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } &&
22396 { ac_try
='test -z "$ac_c_werror_flag"
22397 || test ! -s conftest.err'
22398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399 (eval $ac_try) 2>&5
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; } &&
22403 { ac_try
='test -s conftest.$ac_objext'
22404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22405 (eval $ac_try) 2>&5
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); }; }; then
22409 WARN_CFLAGS
="${WARN_CFLAGS} $w"
22411 echo "$as_me: failed program was:" >&5
22412 sed 's/^/| /' conftest.
$ac_ext >&5
22415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22416 CFLAGS
="$saved_CFLAGS"
22419 echo "$as_me:$LINENO: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
22420 echo "${ECHO_T}${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6
22425 # In the Cygwin environment, we need some additional flags.
22426 echo "$as_me:$LINENO: checking for cygwin" >&5
22427 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
22428 if test "${gdb_cv_os_cygwin+set}" = set; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 cat >conftest.
$ac_ext <<_ACEOF
22434 cat confdefs.h
>>conftest.
$ac_ext
22435 cat >>conftest.
$ac_ext <<_ACEOF
22436 /* end confdefs.h. */
22438 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
22442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22443 $EGREP "lose" >/dev
/null
2>&1; then
22444 gdb_cv_os_cygwin
=yes
22446 gdb_cv_os_cygwin
=no
22451 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
22452 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
22455 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
22457 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
22458 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
22459 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
22463 # libreadline needs libuser32.a in a cygwin environment
22465 if test x
$gdb_cv_os_cygwin = xyes
; then
22466 WIN32LIBS
="-luser32"
22467 case "${target}" in
22468 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
22473 # The ser-tcp.c module requires sockets.
22477 cat >>confdefs.h
<<\_ACEOF
22478 #define USE_WIN32API 1
22481 WIN32LIBS
="$WIN32LIBS -lws2_32"
22486 # Add ELF support to GDB, but only if BFD includes ELF support.
22488 OLD_LDFLAGS
=$LDFLAGS
22490 CFLAGS
="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
22491 LDFLAGS
="$LDFLAGS -L../bfd -L../libiberty"
22492 intl
=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
22493 LIBS
="$LIBS -lbfd -liberty $intl"
22494 echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
22495 echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
22496 if test "${gdb_cv_var_elf+set}" = set; then
22497 echo $ECHO_N "(cached) $ECHO_C" >&6
22499 cat >conftest.
$ac_ext <<_ACEOF
22502 cat confdefs.h
>>conftest.
$ac_ext
22503 cat >>conftest.
$ac_ext <<_ACEOF
22504 /* end confdefs.h. */
22505 #include <stdlib.h>
22507 #include "elf-bfd.h"
22512 bfd *abfd = NULL; bfd_get_elf_phdr_upper_bound (abfd);
22517 rm -f conftest.
$ac_objext conftest
$ac_exeext
22518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22519 (eval $ac_link) 2>conftest.er1
22521 grep -v '^ *+' conftest.er1
>conftest.err
22523 cat conftest.err
>&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } &&
22526 { ac_try
='test -z "$ac_c_werror_flag"
22527 || test ! -s conftest.err'
22528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22529 (eval $ac_try) 2>&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); }; } &&
22533 { ac_try
='test -s conftest$ac_exeext'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; }; then
22541 echo "$as_me: failed program was:" >&5
22542 sed 's/^/| /' conftest.
$ac_ext >&5
22546 rm -f conftest.err conftest.
$ac_objext \
22547 conftest
$ac_exeext conftest.
$ac_ext
22549 echo "$as_me:$LINENO: result: $gdb_cv_var_elf" >&5
22550 echo "${ECHO_T}$gdb_cv_var_elf" >&6
22551 if test $gdb_cv_var_elf = yes; then
22552 CONFIG_OBS
="$CONFIG_OBS elfread.o"
22554 cat >>confdefs.h
<<\_ACEOF
22560 LDFLAGS
=$OLD_LDFLAGS
22563 # Add any host-specific objects to GDB.
22564 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
22566 LIBGUI
="../libgui/src/libgui.a"
22567 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
22585 if test "${enable_gdbtk}" = "yes"; then
22587 # Gdbtk must have an absolute path to srcdir in order to run
22588 # properly when not installed.
22591 GDBTK_SRC_DIR
=`pwd`
22596 # Ok, lets find the tcl configuration
22597 # First, look for one uninstalled.
22598 # the alternative search directory is invoked by --with-tclconfig
22601 if test x
"${no_tcl}" = x
; then
22602 # we reset no_tcl in case something fails here
22605 # Check whether --with-tclconfig or --without-tclconfig was given.
22606 if test "${with_tclconfig+set}" = set; then
22607 withval
="$with_tclconfig"
22608 with_tclconfig
=${withval}
22610 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
22611 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
22612 if test "${ac_cv_c_tclconfig+set}" = set; then
22613 echo $ECHO_N "(cached) $ECHO_C" >&6
22617 # First check to see if --with-tclconfig was specified.
22618 if test x
"${with_tclconfig}" != x
; then
22619 if test -f "${with_tclconfig}/tclConfig.sh" ; then
22620 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
22622 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
22623 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
22624 { (exit 1); exit 1; }; }
22628 # then check for a private Tcl installation
22629 if test x
"${ac_cv_c_tclconfig}" = x
; then
22632 `ls -dr ../tcl[7-9]* 2>/dev/null` \
22634 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
22636 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
22637 if test -f "$i/${configdir}/tclConfig.sh" ; then
22638 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
22643 # check in a few common install locations
22644 if test x
"${ac_cv_c_tclconfig}" = x
; then
22645 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22646 if test -f "$i/tclConfig.sh" ; then
22647 ac_cv_c_tclconfig
=`(cd $i; pwd)`
22652 # check in a few other private locations
22653 if test x
"${ac_cv_c_tclconfig}" = x
; then
22656 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
22657 if test -f "$i/${configdir}/tclConfig.sh" ; then
22658 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
22666 if test x
"${ac_cv_c_tclconfig}" = x
; then
22667 TCLCONFIG
="# no Tcl configs found"
22668 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
22669 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
22672 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
22673 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
22674 echo "${ECHO_T}found $TCLCONFIG" >&6
22678 if test -z "${no_tcl}"; then
22709 # Ok, lets find the tk configuration
22710 # First, look for one uninstalled.
22711 # the alternative search directory is invoked by --with-tkconfig
22714 if test x
"${no_tk}" = x
; then
22715 # we reset no_tk in case something fails here
22718 # Check whether --with-tkconfig or --without-tkconfig was given.
22719 if test "${with_tkconfig+set}" = set; then
22720 withval
="$with_tkconfig"
22721 with_tkconfig
=${withval}
22723 echo "$as_me:$LINENO: checking for Tk configuration" >&5
22724 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
22725 if test "${ac_cv_c_tkconfig+set}" = set; then
22726 echo $ECHO_N "(cached) $ECHO_C" >&6
22730 # First check to see if --with-tkconfig was specified.
22731 if test x
"${with_tkconfig}" != x
; then
22732 if test -f "${with_tkconfig}/tkConfig.sh" ; then
22733 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
22735 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
22736 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
22737 { (exit 1); exit 1; }; }
22741 # then check for a private Tk library
22742 if test x
"${ac_cv_c_tkconfig}" = x
; then
22745 `ls -dr ../tk[4-9]* 2>/dev/null` \
22747 `ls -dr ../../tk[4-9]* 2>/dev/null` \
22749 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
22750 if test -f "$i/${configdir}/tkConfig.sh" ; then
22751 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
22756 # check in a few common install locations
22757 if test x
"${ac_cv_c_tkconfig}" = x
; then
22758 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22759 if test -f "$i/tkConfig.sh" ; then
22760 ac_cv_c_tkconfig
=`(cd $i; pwd)`
22765 # check in a few other private locations
22766 if test x
"${ac_cv_c_tkconfig}" = x
; then
22769 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
22770 if test -f "$i/${configdir}/tkConfig.sh" ; then
22771 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
22779 if test x
"${ac_cv_c_tkconfig}" = x
; then
22780 TKCONFIG
="# no Tk configs found"
22781 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
22782 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
22785 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
22786 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
22787 echo "${ECHO_T}found $TKCONFIG" >&6
22793 # now look for Tcl library stuff
22795 tcldir
="../tcl/${configdir}/"
22797 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
22799 # If $no_tk is nonempty, then we can't do Tk, and there is no
22800 # point to doing Tcl.
22801 if test -z "${no_tk}"; then
22803 if test -f "$TKCONFIG" ; then
22821 # Ok, lets find the tcl source trees so we can use the headers
22822 # Warning: transition of version 9 to 10 will break this algorithm
22823 # because 10 sorts before 9. We also look for just tcl. We have to
22824 # be careful that we don't match stuff like tclX by accident.
22825 # the alternative search directory is involked by --with-tclinclude
22829 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
22830 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
22832 # Check whether --with-tclinclude or --without-tclinclude was given.
22833 if test "${with_tclinclude+set}" = set; then
22834 withval
="$with_tclinclude"
22835 with_tclinclude
=${withval}
22837 if test "${ac_cv_c_tclh+set}" = set; then
22838 echo $ECHO_N "(cached) $ECHO_C" >&6
22841 # first check to see if --with-tclinclude was specified
22842 if test x
"${with_tclinclude}" != x
; then
22843 if test -f ${with_tclinclude}/tclInt.h
; then
22844 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
22845 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
22846 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
22848 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
22849 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
22850 { (exit 1); exit 1; }; }
22854 # next check if it came with Tcl configuration file
22855 if test x
"${ac_cv_c_tclconfig}" = x
; then
22856 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
22857 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
22861 # next check in private source directory
22863 # since ls returns lowest version numbers first, reverse its output
22864 if test x
"${ac_cv_c_tclh}" = x
; then
22867 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
22868 ${srcdir}/..
/..
/tcl \
22869 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
22870 ${srcdir}/..
/..
/..
/tcl \
22871 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
22872 if test -f $i/generic
/tclInt.h
; then
22873 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
22878 # finally check in a few common install locations
22880 # since ls returns lowest version numbers first, reverse its output
22881 if test x
"${ac_cv_c_tclh}" = x
; then
22883 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
22884 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
22885 /usr
/local
/src
/tcl \
22886 /usr
/local
/lib
/tcl \
22887 ${prefix}/include
; do
22888 if test -f $i/generic
/tclInt.h
; then
22889 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
22894 # see if one is installed
22895 if test x
"${ac_cv_c_tclh}" = x
; then
22896 if test "${ac_cv_header_tclInt_h+set}" = set; then
22897 echo "$as_me:$LINENO: checking for tclInt.h" >&5
22898 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
22899 if test "${ac_cv_header_tclInt_h+set}" = set; then
22900 echo $ECHO_N "(cached) $ECHO_C" >&6
22902 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
22903 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
22905 # Is the header compilable?
22906 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
22907 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
22908 cat >conftest.
$ac_ext <<_ACEOF
22911 cat confdefs.h
>>conftest.
$ac_ext
22912 cat >>conftest.
$ac_ext <<_ACEOF
22913 /* end confdefs.h. */
22914 $ac_includes_default
22915 #include <tclInt.h>
22917 rm -f conftest.
$ac_objext
22918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22919 (eval $ac_compile) 2>conftest.er1
22921 grep -v '^ *+' conftest.er1
>conftest.err
22923 cat conftest.err
>&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); } &&
22926 { ac_try
='test -z "$ac_c_werror_flag"
22927 || test ! -s conftest.err'
22928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929 (eval $ac_try) 2>&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; } &&
22933 { ac_try
='test -s conftest.$ac_objext'
22934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22935 (eval $ac_try) 2>&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); }; }; then
22939 ac_header_compiler
=yes
22941 echo "$as_me: failed program was:" >&5
22942 sed 's/^/| /' conftest.
$ac_ext >&5
22944 ac_header_compiler
=no
22946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22948 echo "${ECHO_T}$ac_header_compiler" >&6
22950 # Is the header present?
22951 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
22952 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
22953 cat >conftest.
$ac_ext <<_ACEOF
22956 cat confdefs.h
>>conftest.
$ac_ext
22957 cat >>conftest.
$ac_ext <<_ACEOF
22958 /* end confdefs.h. */
22959 #include <tclInt.h>
22961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22962 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22964 grep -v '^ *+' conftest.er1
>conftest.err
22966 cat conftest.err
>&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); } >/dev
/null
; then
22969 if test -s conftest.err
; then
22970 ac_cpp_err
=$ac_c_preproc_warn_flag
22971 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22978 if test -z "$ac_cpp_err"; then
22979 ac_header_preproc
=yes
22981 echo "$as_me: failed program was:" >&5
22982 sed 's/^/| /' conftest.
$ac_ext >&5
22984 ac_header_preproc
=no
22986 rm -f conftest.err conftest.
$ac_ext
22987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22988 echo "${ECHO_T}$ac_header_preproc" >&6
22990 # So? What about this header?
22991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22993 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
22994 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22995 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
22996 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
22997 ac_header_preproc
=yes
23000 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
23001 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
23002 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
23003 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
23004 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
23005 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
23006 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
23007 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
23008 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
23009 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
23010 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
23011 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
23014 ## ------------------------------------------ ##
23015 ## Report this to the AC_PACKAGE_NAME lists. ##
23016 ## ------------------------------------------ ##
23019 sed "s/^/$as_me: WARNING: /" >&2
23022 echo "$as_me:$LINENO: checking for tclInt.h" >&5
23023 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
23024 if test "${ac_cv_header_tclInt_h+set}" = set; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23027 ac_cv_header_tclInt_h
=$ac_header_preproc
23029 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
23030 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
23033 if test $ac_cv_header_tclInt_h = yes; then
23034 ac_cv_c_tclh
=installed
23044 if test x
"${ac_cv_c_tclh}" = x
; then
23045 TCLHDIR
="# no Tcl private headers found"
23046 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
23047 echo "$as_me: error: Can't find Tcl private headers" >&2;}
23048 { (exit 1); exit 1; }; }
23050 if test x
"${ac_cv_c_tclh}" != x
; then
23052 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
23053 echo "$as_me:$LINENO: result: is installed" >&5
23054 echo "${ECHO_T}is installed" >&6
23057 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
23058 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
23059 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
23060 TCLHDIR
="-I${ac_cv_c_tclh}"
23068 # Ok, lets find the tk source trees so we can use the headers
23069 # If the directory (presumably symlink) named "tk" exists, use that one
23070 # in preference to any others. Same logic is used when choosing library
23071 # and again with Tcl. The search order is the best place to look first, then in
23072 # decreasing significance. The loop breaks if the trigger file is found.
23073 # Note the gross little conversion here of srcdir by cd'ing to the found
23074 # directory. This converts the path from a relative to an absolute, so
23075 # recursive cache variables for the path will work right. We check all
23076 # the possible paths in one loop rather than many seperate loops to speed
23078 # the alternative search directory is involked by --with-tkinclude
23081 echo "$as_me:$LINENO: checking for Tk private headers" >&5
23082 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
23084 # Check whether --with-tkinclude or --without-tkinclude was given.
23085 if test "${with_tkinclude+set}" = set; then
23086 withval
="$with_tkinclude"
23087 with_tkinclude
=${withval}
23089 if test "${ac_cv_c_tkh+set}" = set; then
23090 echo $ECHO_N "(cached) $ECHO_C" >&6
23093 # first check to see if --with-tkinclude was specified
23094 if test x
"${with_tkinclude}" != x
; then
23095 if test -f ${with_tkinclude}/tk.h
; then
23096 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
23097 elif test -f ${with_tkinclude}/generic
/tk.h
; then
23098 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
23100 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
23101 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
23102 { (exit 1); exit 1; }; }
23106 # next check if it came with Tk configuration file
23107 if test x
"${ac_cv_c_tkconfig}" = x
; then
23108 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
23109 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
23113 # next check in private source directory
23115 # since ls returns lowest version numbers first, reverse its output
23116 if test x
"${ac_cv_c_tkh}" = x
; then
23119 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
23120 ${srcdir}/..
/..
/tk \
23121 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
23122 ${srcdir}/..
/..
/..
/tk \
23123 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
23124 if test -f $i/generic
/tk.h
; then
23125 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
23130 # finally check in a few common install locations
23132 # since ls returns lowest version numbers first, reverse its output
23133 if test x
"${ac_cv_c_tkh}" = x
; then
23135 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
23136 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
23137 /usr
/local
/src
/tk \
23138 /usr
/local
/lib
/tk \
23139 ${prefix}/include
; do
23140 if test -f $i/generic
/tk.h
; then
23141 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
23146 # see if one is installed
23147 if test x
"${ac_cv_c_tkh}" = x
; then
23148 if test "${ac_cv_header_tk_h+set}" = set; then
23149 echo "$as_me:$LINENO: checking for tk.h" >&5
23150 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
23151 if test "${ac_cv_header_tk_h+set}" = set; then
23152 echo $ECHO_N "(cached) $ECHO_C" >&6
23154 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
23155 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
23157 # Is the header compilable?
23158 echo "$as_me:$LINENO: checking tk.h usability" >&5
23159 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
23160 cat >conftest.
$ac_ext <<_ACEOF
23163 cat confdefs.h
>>conftest.
$ac_ext
23164 cat >>conftest.
$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23166 $ac_includes_default
23169 rm -f conftest.
$ac_objext
23170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23171 (eval $ac_compile) 2>conftest.er1
23173 grep -v '^ *+' conftest.er1
>conftest.err
23175 cat conftest.err
>&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } &&
23178 { ac_try
='test -z "$ac_c_werror_flag"
23179 || test ! -s conftest.err'
23180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23181 (eval $ac_try) 2>&5
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); }; } &&
23185 { ac_try
='test -s conftest.$ac_objext'
23186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23187 (eval $ac_try) 2>&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); }; }; then
23191 ac_header_compiler
=yes
23193 echo "$as_me: failed program was:" >&5
23194 sed 's/^/| /' conftest.
$ac_ext >&5
23196 ac_header_compiler
=no
23198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23200 echo "${ECHO_T}$ac_header_compiler" >&6
23202 # Is the header present?
23203 echo "$as_me:$LINENO: checking tk.h presence" >&5
23204 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
23205 cat >conftest.
$ac_ext <<_ACEOF
23208 cat confdefs.h
>>conftest.
$ac_ext
23209 cat >>conftest.
$ac_ext <<_ACEOF
23210 /* end confdefs.h. */
23213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23216 grep -v '^ *+' conftest.er1
>conftest.err
23218 cat conftest.err
>&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } >/dev
/null
; then
23221 if test -s conftest.err
; then
23222 ac_cpp_err
=$ac_c_preproc_warn_flag
23223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23230 if test -z "$ac_cpp_err"; then
23231 ac_header_preproc
=yes
23233 echo "$as_me: failed program was:" >&5
23234 sed 's/^/| /' conftest.
$ac_ext >&5
23236 ac_header_preproc
=no
23238 rm -f conftest.err conftest.
$ac_ext
23239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23240 echo "${ECHO_T}$ac_header_preproc" >&6
23242 # So? What about this header?
23243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23245 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
23246 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23247 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
23248 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
23249 ac_header_preproc
=yes
23252 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
23253 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
23254 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
23255 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
23256 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
23257 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
23258 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
23259 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
23260 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
23261 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
23262 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
23263 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
23266 ## ------------------------------------------ ##
23267 ## Report this to the AC_PACKAGE_NAME lists. ##
23268 ## ------------------------------------------ ##
23271 sed "s/^/$as_me: WARNING: /" >&2
23274 echo "$as_me:$LINENO: checking for tk.h" >&5
23275 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
23276 if test "${ac_cv_header_tk_h+set}" = set; then
23277 echo $ECHO_N "(cached) $ECHO_C" >&6
23279 ac_cv_header_tk_h
=$ac_header_preproc
23281 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
23282 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
23285 if test $ac_cv_header_tk_h = yes; then
23286 ac_cv_c_tkh
=installed
23296 if test x
"${ac_cv_c_tkh}" != x
; then
23298 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
23299 echo "$as_me:$LINENO: result: is installed" >&5
23300 echo "${ECHO_T}is installed" >&6
23303 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
23304 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
23305 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
23306 TKHDIR
="-I${ac_cv_c_tkh}"
23309 TKHDIR
="# no Tk directory found"
23310 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
23311 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
23318 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
23319 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
23320 if test x
"${ac_cv_c_itclh}" = x
; then
23321 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
23322 if test -f $i/generic
/itcl.h
; then
23323 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
23328 if test x
"${ac_cv_c_itclh}" = x
; then
23329 ITCLHDIR
="# no Itcl private headers found"
23330 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
23331 echo "$as_me: error: Can't find Itcl private headers" >&2;}
23332 { (exit 1); exit 1; }; }
23334 if test x
"${ac_cv_c_itclh}" != x
; then
23335 ITCLHDIR
="-I${ac_cv_c_itclh}"
23337 # should always be here
23338 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
23343 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
23344 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
23345 if test x
"${ac_cv_c_itkh}" = x
; then
23346 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
23347 if test -f $i/generic
/itk.h
; then
23348 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
23353 if test x
"${ac_cv_c_itkh}" = x
; then
23354 ITKHDIR
="# no Itk private headers found"
23355 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
23356 echo "$as_me: error: Can't find Itk private headers" >&2;}
23357 { (exit 1); exit 1; }; }
23359 if test x
"${ac_cv_c_itkh}" != x
; then
23360 ITKHDIR
="-I${ac_cv_c_itkh}"
23362 # should always be here
23363 # ITKLIB="../itcl/itk/unix/libitk.a"
23369 # now look for Tk library stuff
23371 tkdir
="../tk/${configdir}/"
23373 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
23375 # now look for Itcl library stuff
23379 # Ok, lets find the itcl configuration
23380 # First, look for one uninstalled.
23381 # the alternative search directory is invoked by --with-itclconfig
23384 if test x
"${no_itcl}" = x
; then
23385 # we reset no_itcl in case something fails here
23388 # Check whether --with-itclconfig or --without-itclconfig was given.
23389 if test "${with_itclconfig+set}" = set; then
23390 withval
="$with_itclconfig"
23391 with_itclconfig
=${withval}
23393 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
23394 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
23395 if test "${ac_cv_c_itclconfig+set}" = set; then
23396 echo $ECHO_N "(cached) $ECHO_C" >&6
23400 # First check to see if --with-itclconfig was specified.
23401 if test x
"${with_itclconfig}" != x
; then
23402 if test -f "${with_itclconfig}/itclConfig.sh" ; then
23403 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
23405 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
23406 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
23407 { (exit 1); exit 1; }; }
23411 # then check for a private Itcl library
23412 if test x
"${ac_cv_c_itclconfig}" = x
; then
23415 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
23417 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
23419 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
23420 if test -f "$i/itclConfig.sh" ; then
23421 ac_cv_c_itclconfig
=`(cd $i; pwd)`
23426 # check in a few common install locations
23427 if test x
"${ac_cv_c_itclconfig}" = x
; then
23428 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
23429 if test -f "$i/itclConfig.sh" ; then
23430 ac_cv_c_itclconfig
=`(cd $i; pwd)`
23435 # check in a few other private locations
23436 if test x
"${ac_cv_c_itclconfig}" = x
; then
23438 ${srcdir}/..
/itcl
/itcl \
23439 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
23440 if test -f "$i/itclConfig.sh" ; then
23441 ac_cv_c_itclconfig
=`(cd $i; pwd)`
23449 if test x
"${ac_cv_c_itclconfig}" = x
; then
23450 ITCLCONFIG
="# no Itcl configs found"
23451 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
23452 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
23455 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
23456 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
23457 echo "${ECHO_T}found $ITCLCONFIG" >&6
23461 if test -z "${no_itcl}"; then
23463 if test -f "$ITCLCONFIG" ; then
23478 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
23479 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
23483 # now look for Itk library stuff
23486 # Ok, lets find the itk configuration
23487 # First, look for one uninstalled.
23488 # the alternative search directory is invoked by --with-itkconfig
23491 if test x
"${no_itk}" = x
; then
23492 # we reset no_itk in case something fails here
23495 # Check whether --with-itkconfig or --without-itkconfig was given.
23496 if test "${with_itkconfig+set}" = set; then
23497 withval
="$with_itkconfig"
23498 with_itkconfig
=${withval}
23500 echo "$as_me:$LINENO: checking for Itk configuration" >&5
23501 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
23502 if test "${ac_cv_c_itkconfig+set}" = set; then
23503 echo $ECHO_N "(cached) $ECHO_C" >&6
23507 # First check to see if --with-itkconfig was specified.
23508 if test x
"${with_itkconfig}" != x
; then
23509 if test -f "${with_itkconfig}/itkConfig.sh" ; then
23510 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
23512 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
23513 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
23514 { (exit 1); exit 1; }; }
23518 # then check for a private Itk library
23519 if test x
"${ac_cv_c_itkconfig}" = x
; then
23522 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
23524 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
23526 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
23527 if test -f "$i/itkConfig.sh" ; then
23528 ac_cv_c_itkconfig
=`(cd $i; pwd)`
23533 # check in a few common install locations
23534 if test x
"${ac_cv_c_itkconfig}" = x
; then
23535 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
23536 if test -f "$i/itkConfig.sh" ; then
23537 ac_cv_c_itkconfig
=`(cd $i; pwd)`
23542 # check in a few other private locations
23543 if test x
"${ac_cv_c_itkconfig}" = x
; then
23545 ${srcdir}/..
/itcl
/itk \
23546 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
23547 if test -f "$i/itkConfig.sh" ; then
23548 ac_cv_c_itkconfig
=`(cd $i; pwd)`
23556 if test x
"${ac_cv_c_itkconfig}" = x
; then
23557 ITKCONFIG
="# no Itk configs found"
23558 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
23559 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
23562 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
23563 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
23564 echo "${ECHO_T}found $ITKCONFIG" >&6
23569 if test -z "${no_itcl}"; then
23571 if test -f "$ITKCONFIG" ; then
23586 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
23587 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
23590 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
23592 # Include some libraries that Tcl and Tk want.
23593 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
23594 # Yes, the ordering seems wrong here. But it isn't.
23595 # TK_LIBS is the list of libraries that need to be linked
23596 # after Tcl/Tk. Note that this isn't put into LIBS. If it
23597 # were in LIBS then any link tests after this point would
23598 # try to include things like `$(LIBGUI)', which wouldn't work.
23599 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
23601 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
23602 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
23603 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
23604 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
23605 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
23606 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
23607 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
23609 if test x
$gdb_cv_os_cygwin = xyes
; then
23610 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
23611 WIN32LDAPP
="-Wl,--subsystem,console"
23612 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
23619 subdirs
="$subdirs gdbtk"
23636 echo "$as_me:$LINENO: checking for X" >&5
23637 echo $ECHO_N "checking for X... $ECHO_C" >&6
23640 # Check whether --with-x or --without-x was given.
23641 if test "${with_x+set}" = set; then
23645 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23646 if test "x$with_x" = xno
; then
23647 # The user explicitly disabled X.
23650 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23651 # Both variables are already set.
23654 if test "${ac_cv_have_x+set}" = set; then
23655 echo $ECHO_N "(cached) $ECHO_C" >&6
23657 # One or both of the vars are not set, and there is no cached value.
23658 ac_x_includes
=no ac_x_libraries
=no
23659 rm -fr conftest.dir
23660 if mkdir conftest.dir
; then
23662 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23663 cat >Imakefile
<<'_ACEOF'
23665 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23667 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23668 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23669 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23670 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23671 for ac_extension
in a so sl
; do
23672 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23673 test -f $ac_im_libdir/libX11.
$ac_extension; then
23674 ac_im_usrlibdir
=$ac_im_libdir; break
23677 # Screen out bogus values from the imake configuration. They are
23678 # bogus both because they are the default anyway, and because
23679 # using them would break gcc on systems where it needs fixed includes.
23680 case $ac_im_incroot in
23682 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23684 case $ac_im_usrlibdir in
23685 /usr
/lib |
/lib
) ;;
23686 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23690 rm -fr conftest.dir
23693 # Standard set of common directories for X headers.
23694 # Check X11 before X11Rn because it is often a symlink to the current release.
23706 /usr/local/X11/include
23707 /usr/local/X11R6/include
23708 /usr/local/X11R5/include
23709 /usr/local/X11R4/include
23711 /usr/local/include/X11
23712 /usr/local/include/X11R6
23713 /usr/local/include/X11R5
23714 /usr/local/include/X11R4
23718 /usr/XFree86/include/X11
23722 /usr/unsupported/include
23723 /usr/athena/include
23724 /usr/local/x11r5/include
23725 /usr/lpp/Xamples/include
23727 /usr/openwin/include
23728 /usr/openwin/share/include'
23730 if test "$ac_x_includes" = no
; then
23731 # Guess where to find include files, by looking for Intrinsic.h.
23732 # First, try using that file with no special directory specified.
23733 cat >conftest.
$ac_ext <<_ACEOF
23736 cat confdefs.h
>>conftest.
$ac_ext
23737 cat >>conftest.
$ac_ext <<_ACEOF
23738 /* end confdefs.h. */
23739 #include <X11/Intrinsic.h>
23741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23744 grep -v '^ *+' conftest.er1
>conftest.err
23746 cat conftest.err
>&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); } >/dev
/null
; then
23749 if test -s conftest.err
; then
23750 ac_cpp_err
=$ac_c_preproc_warn_flag
23751 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23758 if test -z "$ac_cpp_err"; then
23759 # We can compile using X headers with no special include directory.
23762 echo "$as_me: failed program was:" >&5
23763 sed 's/^/| /' conftest.
$ac_ext >&5
23765 for ac_dir
in $ac_x_header_dirs; do
23766 if test -r "$ac_dir/X11/Intrinsic.h"; then
23767 ac_x_includes
=$ac_dir
23772 rm -f conftest.err conftest.
$ac_ext
23773 fi # $ac_x_includes = no
23775 if test "$ac_x_libraries" = no
; then
23776 # Check for the libraries.
23777 # See if we find them without any special options.
23778 # Don't add to $LIBS permanently.
23781 cat >conftest.
$ac_ext <<_ACEOF
23784 cat confdefs.h
>>conftest.
$ac_ext
23785 cat >>conftest.
$ac_ext <<_ACEOF
23786 /* end confdefs.h. */
23787 #include <X11/Intrinsic.h>
23796 rm -f conftest.
$ac_objext conftest
$ac_exeext
23797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23798 (eval $ac_link) 2>conftest.er1
23800 grep -v '^ *+' conftest.er1
>conftest.err
23802 cat conftest.err
>&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); } &&
23805 { ac_try
='test -z "$ac_c_werror_flag"
23806 || test ! -s conftest.err'
23807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23808 (eval $ac_try) 2>&5
23810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23811 (exit $ac_status); }; } &&
23812 { ac_try
='test -s conftest$ac_exeext'
23813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23814 (eval $ac_try) 2>&5
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); }; }; then
23819 # We can link X programs with no special library path.
23822 echo "$as_me: failed program was:" >&5
23823 sed 's/^/| /' conftest.
$ac_ext >&5
23826 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23828 # Don't even attempt the hair of trying to link an X program!
23829 for ac_extension
in a so sl
; do
23830 if test -r $ac_dir/libXt.
$ac_extension; then
23831 ac_x_libraries
=$ac_dir
23837 rm -f conftest.err conftest.
$ac_objext \
23838 conftest
$ac_exeext conftest.
$ac_ext
23839 fi # $ac_x_libraries = no
23841 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
23842 # Didn't find X anywhere. Cache the known absence of X.
23843 ac_cv_have_x
="have_x=no"
23845 # Record where we found X for the cache.
23846 ac_cv_have_x
="have_x=yes \
23847 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23852 eval "$ac_cv_have_x"
23855 if test "$have_x" != yes; then
23856 echo "$as_me:$LINENO: result: $have_x" >&5
23857 echo "${ECHO_T}$have_x" >&6
23860 # If each of the values was on the command line, it overrides each guess.
23861 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23862 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23863 # Update the cache value to reflect the command line values.
23864 ac_cv_have_x
="have_x=yes \
23865 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23866 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23867 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23871 # Check whether we should enable the TUI, but only do so if we really
23873 if test x
"$enable_tui" = xyes
; then
23874 if test -d $srcdir/tui
; then
23875 if test "$ac_cv_search_waddstr" != no
; then
23876 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
23877 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
23878 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
23879 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
23880 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
23881 CONFIG_ALL
="${CONFIG_ALL} all-tui"
23882 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
23883 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
23884 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
23886 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
23887 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
23892 # Unlike the sim directory, whether a simulator is linked is controlled by
23893 # presence of a gdb_sim definition in the target configure.tgt entry.
23894 # This code just checks for a few cases where we'd like to ignore those
23895 # definitions, even when they're present in the '.mt' file. These cases
23896 # are when --disable-sim is specified, or if the simulator directory is
23897 # not part of the source tree.
23899 # Check whether --enable-sim or --disable-sim was given.
23900 if test "${enable_sim+set}" = set; then
23901 enableval
="$enable_sim"
23902 echo "enable_sim = $enable_sim";
23903 echo "enableval = ${enableval}";
23904 case "${enableval}" in
23905 yes) ignore_sim
=false
;;
23906 no
) ignore_sim
=true
;;
23907 *) ignore_sim
=false
;;
23913 if test ! -d "${srcdir}/../sim"; then
23919 if test "${ignore_sim}" = "false"; then
23920 if test x
"${gdb_sim}" != x
; then
23922 SIM_OBS
="remote-sim.o"
23924 cat >>confdefs.h
<<\_ACEOF
23944 # List of host floatformats.
23946 cat >>confdefs.h
<<_ACEOF
23947 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
23951 cat >>confdefs.h
<<_ACEOF
23952 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
23956 cat >>confdefs.h
<<_ACEOF
23957 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
23961 # target_subdir is used by the testsuite to find the target libraries.
23963 if test "${host}" != "${target}"; then
23964 target_subdir
="${target_alias}/"
23969 if test "${gdb_native}" = "yes"; then
23970 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
23971 if test ! -f ${host_makefile_frag}; then
23972 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
23973 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
23974 { (exit 1); exit 1; }; }
23976 frags
="$frags $host_makefile_frag"
23978 host_makefile_frag
=/dev
/null
23984 if test "${gdb_native}" = "yes"; then
23985 # We pick this up from the host configuration file (.mh) because we
23986 # do not have a native configuration Makefile fragment.
23987 nativefile
=`sed -n '
23988 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
23989 ' ${host_makefile_frag}`
23993 if test x
"${gdb_osabi}" != x
; then
23995 cat >>confdefs.h
<<_ACEOF
23996 #define GDB_OSABI_DEFAULT $gdb_osabi
24001 # Enable multi-ice-gdb-server.
24002 # Check whether --enable-multi-ice or --disable-multi-ice was given.
24003 if test "${enable_multi_ice+set}" = set; then
24004 enableval
="$enable_multi_ice"
24008 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
24009 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
24010 { (exit 1); exit 1; }; } ;;
24013 if test "x$enable_multi_ice" = xyes
; then
24016 subdirs
="$subdirs multi-ice"
24020 # We only build gdbserver automatically in a native configuration.
24021 if test "$gdb_native" = "yes"; then
24022 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
24023 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
24024 if test "x$build_gdbserver" = xyes
; then
24025 echo "$as_me:$LINENO: result: yes" >&5
24026 echo "${ECHO_T}yes" >&6
24029 subdirs
="$subdirs gdbserver"
24032 echo "$as_me:$LINENO: result: no" >&5
24033 echo "${ECHO_T}no" >&6
24037 # If nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
24038 # to an empty version.
24045 if test "${nativefile}" != ""; then
24047 case "${nativefile}" in
24048 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
24049 * ) GDB_NM_FILE
="${nativefile}"
24051 files
="${files} ${GDB_NM_FILE}"
24052 links
="${links} nm.h"
24054 cat >>confdefs.h
<<_ACEOF
24055 #define GDB_NM_FILE "${GDB_NM_FILE}"
24061 ac_sources
="$files"
24063 while test -n "$ac_sources"; do
24064 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
24065 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
24066 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
24068 ac_config_links
="$ac_config_links $ac_config_links_1"
24075 cat >>confdefs.h
<<\_ACEOF
24076 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
24083 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
24084 if test "${with_libiconv_prefix+set}" = set; then
24085 withval
="$with_libiconv_prefix"
24087 for dir
in `echo "$withval" | tr : ' '`; do
24088 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
24089 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
24094 echo "$as_me:$LINENO: checking for iconv" >&5
24095 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
24096 if test "${am_cv_func_iconv+set}" = set; then
24097 echo $ECHO_N "(cached) $ECHO_C" >&6
24100 am_cv_func_iconv
="no, consider installing GNU libiconv"
24102 cat >conftest.
$ac_ext <<_ACEOF
24105 cat confdefs.h
>>conftest.
$ac_ext
24106 cat >>conftest.
$ac_ext <<_ACEOF
24107 /* end confdefs.h. */
24108 #include <stdlib.h>
24113 iconv_t cd = iconv_open("","");
24114 iconv(cd,NULL,NULL,NULL,NULL);
24120 rm -f conftest.
$ac_objext conftest
$ac_exeext
24121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24122 (eval $ac_link) 2>conftest.er1
24124 grep -v '^ *+' conftest.er1
>conftest.err
24126 cat conftest.err
>&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } &&
24129 { ac_try
='test -z "$ac_c_werror_flag"
24130 || test ! -s conftest.err'
24131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132 (eval $ac_try) 2>&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); }; } &&
24136 { ac_try
='test -s conftest$ac_exeext'
24137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24138 (eval $ac_try) 2>&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); }; }; then
24142 am_cv_func_iconv
=yes
24144 echo "$as_me: failed program was:" >&5
24145 sed 's/^/| /' conftest.
$ac_ext >&5
24148 rm -f conftest.err conftest.
$ac_objext \
24149 conftest
$ac_exeext conftest.
$ac_ext
24150 if test "$am_cv_func_iconv" != yes; then
24151 am_save_LIBS
="$LIBS"
24152 LIBS
="$LIBS -liconv"
24153 cat >conftest.
$ac_ext <<_ACEOF
24156 cat confdefs.h
>>conftest.
$ac_ext
24157 cat >>conftest.
$ac_ext <<_ACEOF
24158 /* end confdefs.h. */
24159 #include <stdlib.h>
24164 iconv_t cd = iconv_open("","");
24165 iconv(cd,NULL,NULL,NULL,NULL);
24171 rm -f conftest.
$ac_objext conftest
$ac_exeext
24172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24173 (eval $ac_link) 2>conftest.er1
24175 grep -v '^ *+' conftest.er1
>conftest.err
24177 cat conftest.err
>&5
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); } &&
24180 { ac_try
='test -z "$ac_c_werror_flag"
24181 || test ! -s conftest.err'
24182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24183 (eval $ac_try) 2>&5
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); }; } &&
24187 { ac_try
='test -s conftest$ac_exeext'
24188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24189 (eval $ac_try) 2>&5
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); }; }; then
24193 am_cv_lib_iconv
=yes
24194 am_cv_func_iconv
=yes
24196 echo "$as_me: failed program was:" >&5
24197 sed 's/^/| /' conftest.
$ac_ext >&5
24200 rm -f conftest.err conftest.
$ac_objext \
24201 conftest
$ac_exeext conftest.
$ac_ext
24202 LIBS
="$am_save_LIBS"
24206 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
24207 echo "${ECHO_T}$am_cv_func_iconv" >&6
24208 if test "$am_cv_func_iconv" = yes; then
24210 cat >>confdefs.h
<<\_ACEOF
24211 #define HAVE_ICONV 1
24214 echo "$as_me:$LINENO: checking for iconv declaration" >&5
24215 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
24216 if test "${am_cv_proto_iconv+set}" = set; then
24217 echo $ECHO_N "(cached) $ECHO_C" >&6
24220 cat >conftest.
$ac_ext <<_ACEOF
24223 cat confdefs.h
>>conftest.
$ac_ext
24224 cat >>conftest.
$ac_ext <<_ACEOF
24225 /* end confdefs.h. */
24227 #include <stdlib.h>
24233 #if defined(__STDC__) || defined(__cplusplus)
24234 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
24247 rm -f conftest.
$ac_objext
24248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24249 (eval $ac_compile) 2>conftest.er1
24251 grep -v '^ *+' conftest.er1
>conftest.err
24253 cat conftest.err
>&5
24254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24255 (exit $ac_status); } &&
24256 { ac_try
='test -z "$ac_c_werror_flag"
24257 || test ! -s conftest.err'
24258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24259 (eval $ac_try) 2>&5
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); }; } &&
24263 { ac_try
='test -s conftest.$ac_objext'
24264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24265 (eval $ac_try) 2>&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); }; }; then
24269 am_cv_proto_iconv_arg1
=""
24271 echo "$as_me: failed program was:" >&5
24272 sed 's/^/| /' conftest.
$ac_ext >&5
24274 am_cv_proto_iconv_arg1
="const"
24276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24277 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);"
24280 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
24281 echo "$as_me:$LINENO: result: ${ac_t:-
24282 }$am_cv_proto_iconv" >&5
24283 echo "${ECHO_T}${ac_t:-
24284 }$am_cv_proto_iconv" >&6
24286 cat >>confdefs.h
<<_ACEOF
24287 #define ICONV_CONST $am_cv_proto_iconv_arg1
24292 if test "$am_cv_lib_iconv" = yes; then
24298 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in"
24299 ac_config_commands
="$ac_config_commands default"
24300 cat >confcache
<<\_ACEOF
24301 # This file is a shell script that caches the results of configure
24302 # tests run on this system so they can be shared between configure
24303 # scripts and configure runs, see configure's option --config-cache.
24304 # It is not useful on other systems. If it contains results you don't
24305 # want to keep, you may remove or edit it.
24307 # config.status only pays attention to the cache file if you give it
24308 # the --recheck option to rerun configure.
24310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24312 # following values.
24316 # The following way of writing the cache mishandles newlines in values,
24317 # but we know of no workaround that is simple, portable, and efficient.
24318 # So, don't put newlines in cache variables' values.
24319 # Ultrix sh set writes to stderr and can't be redirected directly,
24320 # and sets the high bit in the cache file unless we assign to the vars.
24323 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24325 # `set' does not quote correctly, so add quotes (double-quote
24326 # substitution turns \\\\ into \\, and sed turns \\ into \).
24329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24332 # `set' quotes correctly as required by POSIX, so do not add quotes.
24334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24343 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24345 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24346 if test -w $cache_file; then
24347 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24348 cat confcache
>$cache_file
24350 echo "not updating unwritable cache $cache_file"
24355 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24356 # Let make expand exec_prefix.
24357 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24361 # trailing colons and then remove the whole line if VPATH becomes empty
24362 # (actually we leave an empty line to preserve line numbers).
24363 if test "x$srcdir" = x.
; then
24364 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24365 s/:*\$(srcdir):*/:/;
24366 s/:*\${srcdir}:*/:/;
24368 s/^\([^=]*=[ ]*\):*/\1/;
24374 DEFS
=-DHAVE_CONFIG_H
24378 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24379 # 1. Remove the extension, and $U if already installed.
24380 ac_i
=`echo "$ac_i" |
24381 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24383 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
24384 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
24386 LIBOBJS
=$ac_libobjs
24388 LTLIBOBJS
=$ac_ltlibobjs
24391 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24392 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24393 Usually this means the macro was only invoked conditionally." >&5
24394 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24395 Usually this means the macro was only invoked conditionally." >&2;}
24396 { (exit 1); exit 1; }; }
24399 : ${CONFIG_STATUS=./config.status}
24400 ac_clean_files_save
=$ac_clean_files
24401 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24402 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24403 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24404 cat >$CONFIG_STATUS <<_ACEOF
24406 # Generated by $as_me.
24407 # Run this file to recreate the current configuration.
24408 # Compiler output produced by configure, useful for debugging
24409 # configure, is in config.log if it exists.
24412 ac_cs_recheck=false
24414 SHELL=\${CONFIG_SHELL-$SHELL}
24417 cat >>$CONFIG_STATUS <<\_ACEOF
24418 ## --------------------- ##
24419 ## M4sh Initialization. ##
24420 ## --------------------- ##
24422 # Be Bourne compatible
24423 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24426 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24427 # is contrary to our usage. Disable this feature.
24428 alias -g '${1+"$@"}'='"$@"'
24429 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24432 DUALCASE
=1; export DUALCASE
# for MKS sh
24434 # Support unset when possible.
24435 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
24442 # Work around bugs in pre-3.0 UWIN ksh.
24443 $as_unset ENV MAIL MAILPATH
24450 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24451 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24452 LC_TELEPHONE LC_TIME
24454 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24455 eval $as_var=C
; export $as_var
24461 # Required to use basename.
24462 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24468 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
24469 as_basename
=basename
24475 # Name of the executable.
24476 as_me
=`$as_basename "$0" ||
24477 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24478 X"$0" : 'X\(//\)$' \| \
24479 X"$0" : 'X\(/\)$' \| \
24480 . : '\(.\)' 2>/dev/null ||
24482 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24483 /^X\/\(\/\/\)$/{ s//\1/; q; }
24484 /^X\/\(\/\).*/{ s//\1/; q; }
24488 # PATH needs CR, and LINENO needs CR and PATH.
24489 # Avoid depending upon Character Ranges.
24490 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24491 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24492 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24493 as_cr_digits
='0123456789'
24494 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24496 # The user is always right.
24497 if test "${PATH_SEPARATOR+set}" != set; then
24498 echo "#! /bin/sh" >conf$$.sh
24499 echo "exit 0" >>conf$$.sh
24501 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
24510 as_lineno_1
=$LINENO
24511 as_lineno_2
=$LINENO
24512 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
24513 test "x$as_lineno_1" != "x$as_lineno_2" &&
24514 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
24515 # Find who we are. Look in the path if we contain no path at all
24518 *[\\/]* ) as_myself
=$0 ;;
24519 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24520 for as_dir
in $PATH
24523 test -z "$as_dir" && as_dir
=.
24524 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24529 # We did not find ourselves, most probably we were run as `sh COMMAND'
24530 # in which case we are not to be found in the path.
24531 if test "x$as_myself" = x
; then
24534 if test ! -f "$as_myself"; then
24535 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24536 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24537 { (exit 1); exit 1; }; }
24539 case $CONFIG_SHELL in
24541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24542 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
24545 test -z "$as_dir" && as_dir
=.
24546 for as_base
in sh bash ksh sh5
; do
24549 if ("$as_dir/$as_base" -c '
24550 as_lineno_1=$LINENO
24551 as_lineno_2=$LINENO
24552 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24553 test "x$as_lineno_1" != "x$as_lineno_2" &&
24554 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
24555 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
24556 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
24557 CONFIG_SHELL
=$as_dir/$as_base
24558 export CONFIG_SHELL
24559 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24567 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24568 # uniformly replaced by the line number. The first 'sed' inserts a
24569 # line-number line before each line; the second 'sed' does the real
24570 # work. The second script uses 'N' to pair each line-number line
24571 # with the numbered line, and appends trailing '-' during
24572 # substitution so that $LINENO is not a special case at line end.
24573 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24574 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24575 sed '=' <$as_myself |
24580 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24583 s,^['$as_cr_digits']*\n,,
24584 ' >$as_me.lineno
&&
24585 chmod +x
$as_me.lineno ||
24586 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24587 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24588 { (exit 1); exit 1; }; }
24590 # Don't try to exec as it changes $[0], causing all sort of problems
24591 # (the dirname of $[0] is not the place where we might find the
24592 # original and so on. Autoconf is especially sensible to this).
24594 # Exit status is that of the last command.
24599 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24600 *c
*,-n*) ECHO_N
= ECHO_C
='
24602 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
24603 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
24606 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24612 rm -f conf$$ conf$$.exe conf$$.
file
24614 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24615 # We could just check for DJGPP; but this test a) works b) is more generic
24616 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24617 if test -f conf$$.exe
; then
24618 # Don't use ln at all; we don't have any links
24623 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24628 rm -f conf$$ conf$$.exe conf$$.
file
24630 if mkdir
-p .
2>/dev
/null
; then
24633 test -d .
/-p && rmdir .
/-p
24637 as_executable_p
="test -f"
24639 # Sed expression to map a string onto a valid CPP name.
24640 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24642 # Sed expression to map a string onto a valid variable name.
24643 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24647 # We need space, tab and new line, in precisely that order.
24657 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24658 # report actual input values of CONFIG_FILES etc. instead of their
24659 # values after options handling. Logging --version etc. is OK.
24663 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24664 ## Running $as_me. ##
24669 This file was extended by $as_me, which was
24670 generated by GNU Autoconf 2.59. Invocation command line was
24672 CONFIG_FILES = $CONFIG_FILES
24673 CONFIG_HEADERS = $CONFIG_HEADERS
24674 CONFIG_LINKS = $CONFIG_LINKS
24675 CONFIG_COMMANDS = $CONFIG_COMMANDS
24679 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24683 # Files that config.status was made for.
24684 if test -n "$ac_config_files"; then
24685 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24688 if test -n "$ac_config_headers"; then
24689 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24692 if test -n "$ac_config_links"; then
24693 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24696 if test -n "$ac_config_commands"; then
24697 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24700 cat >>$CONFIG_STATUS <<\_ACEOF
24703 \`$as_me' instantiates files from templates according to the
24704 current configuration.
24706 Usage: $0 [OPTIONS] [FILE]...
24708 -h, --help print this help, then exit
24709 -V, --version print version number, then exit
24710 -q, --quiet do not print progress messages
24711 -d, --debug don't remove temporary files
24712 --recheck update $as_me by reconfiguring in the same conditions
24713 --file=FILE[:TEMPLATE]
24714 instantiate the configuration file FILE
24715 --header=FILE[:TEMPLATE]
24716 instantiate the configuration header FILE
24718 Configuration files:
24721 Configuration headers:
24724 Configuration links:
24727 Configuration commands:
24730 Report bugs to <bug-autoconf@gnu.org>."
24733 cat >>$CONFIG_STATUS <<_ACEOF
24736 configured by $0, generated by GNU Autoconf 2.59,
24737 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24739 Copyright (C) 2003 Free Software Foundation, Inc.
24740 This config.status script is free software; the Free Software Foundation
24741 gives unlimited permission to copy, distribute and modify it."
24746 cat >>$CONFIG_STATUS <<\_ACEOF
24747 # If no file are specified by the user, then we need to provide default
24748 # value. By we need to know if files were specified by the user.
24754 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
24755 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
24763 *) # This is not an option, so the user has probably given explicit
24766 ac_need_defaults
=false
;;
24770 # Handling of the options.
24772 cat >>$CONFIG_STATUS <<\_ACEOF
24773 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24775 --version |
--vers* |
-V )
24776 echo "$ac_cs_version"; exit 0 ;;
24778 # Conflict between --help and --header
24779 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24780 Try \`$0 --help' for more information." >&5
24781 echo "$as_me: error: ambiguous option: $1
24782 Try \`$0 --help' for more information." >&2;}
24783 { (exit 1); exit 1; }; };;
24784 --help |
--hel |
-h )
24785 echo "$ac_cs_usage"; exit 0 ;;
24786 --debug |
--d* |
-d )
24788 --file |
--fil |
--fi |
--f )
24790 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24791 ac_need_defaults
=false
;;
24792 --header |
--heade |
--head |
--hea )
24794 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24795 ac_need_defaults
=false
;;
24796 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24797 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24800 # This is an error.
24801 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24802 Try \`$0 --help' for more information." >&5
24803 echo "$as_me: error: unrecognized option: $1
24804 Try \`$0 --help' for more information." >&2;}
24805 { (exit 1); exit 1; }; } ;;
24807 *) ac_config_targets
="$ac_config_targets $1" ;;
24813 ac_configure_extra_args
=
24815 if $ac_cs_silent; then
24817 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24821 cat >>$CONFIG_STATUS <<_ACEOF
24822 if \$ac_cs_recheck; then
24823 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24824 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24829 cat >>$CONFIG_STATUS <<_ACEOF
24831 # INIT-COMMANDS section.
24837 acx_cv_header_stdint="$acx_cv_header_stdint"
24838 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24839 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24840 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24841 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24842 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24843 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24844 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24845 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24846 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24847 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24848 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24849 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24850 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24853 gdb_host_cpu=$gdb_host_cpu
24854 nativefile=$nativefile
24861 cat >>$CONFIG_STATUS <<\_ACEOF
24862 for ac_config_target
in $ac_config_targets
24864 case "$ac_config_target" in
24865 # Handling of arguments.
24866 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24867 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
24868 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
24869 "gdb_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gdb_stdint.h" ;;
24870 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
24871 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
24872 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24873 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24874 { (exit 1); exit 1; }; };;
24878 # If the user did not use the arguments to specify the items to instantiate,
24879 # then the envvar interface is used. Set only those that are not.
24880 # We use the long form for the default assignment because of an extremely
24881 # bizarre bug on SunOS 4.1.3.
24882 if $ac_need_defaults; then
24883 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24884 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24885 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
24886 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24889 # Have a temporary directory for convenience. Make it in the build tree
24890 # simply because there is no reason to put it here, and in addition,
24891 # creating and moving files from /tmp can sometimes cause problems.
24892 # Create a temporary directory, and hook for its removal unless debugging.
24895 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24896 trap '{ (exit 1); exit 1; }' 1 2 13 15
24899 # Create a (secure) tmp directory for tmp files.
24902 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24903 test -n "$tmp" && test -d "$tmp"
24906 tmp
=.
/confstat$$
-$RANDOM
24907 (umask 077 && mkdir
$tmp)
24910 echo "$me: cannot create a temporary directory in ." >&2
24911 { (exit 1); exit 1; }
24916 cat >>$CONFIG_STATUS <<_ACEOF
24919 # CONFIG_FILES section.
24922 # No need to generate the scripts if there are no CONFIG_FILES.
24923 # This happens for instance when ./config.status config.h
24924 if test -n "\$CONFIG_FILES"; then
24925 # Protect against being on the right side of a sed subst in config.status.
24926 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24927 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24928 s,@SHELL@,$SHELL,;t t
24929 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24930 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24931 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24932 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24933 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24934 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24935 s,@exec_prefix@,$exec_prefix,;t t
24936 s,@prefix@,$prefix,;t t
24937 s,@program_transform_name@,$program_transform_name,;t t
24938 s,@bindir@,$bindir,;t t
24939 s,@sbindir@,$sbindir,;t t
24940 s,@libexecdir@,$libexecdir,;t t
24941 s,@datadir@,$datadir,;t t
24942 s,@sysconfdir@,$sysconfdir,;t t
24943 s,@sharedstatedir@,$sharedstatedir,;t t
24944 s,@localstatedir@,$localstatedir,;t t
24945 s,@libdir@,$libdir,;t t
24946 s,@includedir@,$includedir,;t t
24947 s,@oldincludedir@,$oldincludedir,;t t
24948 s,@infodir@,$infodir,;t t
24949 s,@mandir@,$mandir,;t t
24950 s,@build_alias@,$build_alias,;t t
24951 s,@host_alias@,$host_alias,;t t
24952 s,@target_alias@,$target_alias,;t t
24953 s,@DEFS@,$DEFS,;t t
24954 s,@ECHO_C@,$ECHO_C,;t t
24955 s,@ECHO_N@,$ECHO_N,;t t
24956 s,@ECHO_T@,$ECHO_T,;t t
24957 s,@LIBS@,$LIBS,;t t
24958 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24959 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24960 s,@MAINT@,$MAINT,;t t
24962 s,@CFLAGS@,$CFLAGS,;t t
24963 s,@LDFLAGS@,$LDFLAGS,;t t
24964 s,@CPPFLAGS@,$CPPFLAGS,;t t
24965 s,@ac_ct_CC@,$ac_ct_CC,;t t
24966 s,@EXEEXT@,$EXEEXT,;t t
24967 s,@OBJEXT@,$OBJEXT,;t t
24969 s,@EGREP@,$EGREP,;t t
24970 s,@build@,$build,;t t
24971 s,@build_cpu@,$build_cpu,;t t
24972 s,@build_vendor@,$build_vendor,;t t
24973 s,@build_os@,$build_os,;t t
24974 s,@host@,$host,;t t
24975 s,@host_cpu@,$host_cpu,;t t
24976 s,@host_vendor@,$host_vendor,;t t
24977 s,@host_os@,$host_os,;t t
24978 s,@target@,$target,;t t
24979 s,@target_cpu@,$target_cpu,;t t
24980 s,@target_vendor@,$target_vendor,;t t
24981 s,@target_os@,$target_os,;t t
24982 s,@USE_NLS@,$USE_NLS,;t t
24983 s,@LIBINTL@,$LIBINTL,;t t
24984 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
24985 s,@INCINTL@,$INCINTL,;t t
24986 s,@XGETTEXT@,$XGETTEXT,;t t
24987 s,@GMSGFMT@,$GMSGFMT,;t t
24988 s,@POSUB@,$POSUB,;t t
24989 s,@CATALOGS@,$CATALOGS,;t t
24990 s,@DATADIRNAME@,$DATADIRNAME,;t t
24991 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
24992 s,@GENCAT@,$GENCAT,;t t
24993 s,@CATOBJEXT@,$CATOBJEXT,;t t
24994 s,@localedir@,$localedir,;t t
24995 s,@PACKAGE@,$PACKAGE,;t t
24996 s,@subdirs@,$subdirs,;t t
24997 s,@TARGET_OBS@,$TARGET_OBS,;t t
24999 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25000 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25001 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25002 s,@LN_S@,$LN_S,;t t
25003 s,@RANLIB@,$RANLIB,;t t
25004 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25005 s,@YACC@,$YACC,;t t
25007 s,@ac_ct_AR@,$ac_ct_AR,;t t
25008 s,@DLLTOOL@,$DLLTOOL,;t t
25009 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
25010 s,@WINDRES@,$WINDRES,;t t
25011 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
25013 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
25014 s,@READLINE@,$READLINE,;t t
25015 s,@READLINE_DEPS@,$READLINE_DEPS,;t t
25016 s,@READLINE_CFLAGS@,$READLINE_CFLAGS,;t t
25017 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
25018 s,@LIBEXPAT@,$LIBEXPAT,;t t
25019 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
25020 s,@ALLOCA@,$ALLOCA,;t t
25021 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
25022 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
25023 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
25024 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
25025 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
25026 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
25027 s,@WIN32LIBS@,$WIN32LIBS,;t t
25028 s,@LIBGUI@,$LIBGUI,;t t
25029 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
25030 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
25031 s,@TCL_VERSION@,$TCL_VERSION,;t t
25032 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
25033 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
25034 s,@TCL_CC@,$TCL_CC,;t t
25035 s,@TCL_DEFS@,$TCL_DEFS,;t t
25036 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
25037 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
25038 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
25039 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
25040 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
25041 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
25042 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
25043 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
25044 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
25045 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
25046 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
25047 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
25048 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
25049 s,@TK_VERSION@,$TK_VERSION,;t t
25050 s,@TK_DEFS@,$TK_DEFS,;t t
25051 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
25052 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
25053 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
25054 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
25055 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
25056 s,@TCLHDIR@,$TCLHDIR,;t t
25057 s,@TKHDIR@,$TKHDIR,;t t
25058 s,@ITCLHDIR@,$ITCLHDIR,;t t
25059 s,@ITKHDIR@,$ITKHDIR,;t t
25060 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
25061 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
25062 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
25063 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
25064 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
25065 s,@ITK_VERSION@,$ITK_VERSION,;t t
25066 s,@ITK_DEFS@,$ITK_DEFS,;t t
25067 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
25068 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
25069 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
25070 s,@X_CFLAGS@,$X_CFLAGS,;t t
25071 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
25072 s,@X_LIBS@,$X_LIBS,;t t
25073 s,@TCL_DEPS@,$TCL_DEPS,;t t
25074 s,@TK_DEPS@,$TK_DEPS,;t t
25075 s,@ITCLLIB@,$ITCLLIB,;t t
25076 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
25077 s,@ITKLIB@,$ITKLIB,;t t
25078 s,@ITK_DEPS@,$ITK_DEPS,;t t
25079 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
25080 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
25081 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
25083 s,@SIM_OBS@,$SIM_OBS,;t t
25084 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
25085 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
25086 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
25087 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
25088 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
25089 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
25090 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
25091 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
25092 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
25093 s,@target_subdir@,$target_subdir,;t t
25094 s,@frags@,$frags,;t t
25095 s,@nm_h@,$nm_h,;t t
25096 s,@LIBICONV@,$LIBICONV,;t t
25097 s,@LIBOBJS@,$LIBOBJS,;t t
25098 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25099 /@host_makefile_frag@/r $host_makefile_frag
25100 s,@host_makefile_frag@,,;t t
25105 cat >>$CONFIG_STATUS <<\_ACEOF
25106 # Split the substitutions into bite-sized pieces for seds with
25107 # small command number limits, like on Digital OSF/1 and HP-UX.
25108 ac_max_sed_lines
=48
25109 ac_sed_frag
=1 # Number of current file.
25110 ac_beg
=1 # First line for current file.
25111 ac_end
=$ac_max_sed_lines # Line after last line for current file.
25114 while $ac_more_lines; do
25115 if test $ac_beg -gt 1; then
25116 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
25118 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
25120 if test ! -s $tmp/subs.frag
; then
25121 ac_more_lines
=false
25123 # The purpose of the label and of the branching condition is to
25124 # speed up the sed processing (if there are no `@' at all, there
25125 # is no need to browse any of the substitutions).
25126 # These are the two extra sed commands mentioned above.
25128 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
25129 if test -z "$ac_sed_cmds"; then
25130 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
25132 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25134 ac_sed_frag
=`expr $ac_sed_frag + 1`
25136 ac_end
=`expr $ac_end + $ac_max_sed_lines`
25139 if test -z "$ac_sed_cmds"; then
25142 fi # test -n "$CONFIG_FILES"
25145 cat >>$CONFIG_STATUS <<\_ACEOF
25146 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
25147 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25149 - |
*:- |
*:-:* ) # input from stdin
25151 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25152 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25153 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25154 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25155 * ) ac_file_in
=$ac_file.
in ;;
25158 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25159 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
25160 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25161 X"$ac_file" : 'X\(//\)[^/]' \| \
25162 X"$ac_file" : 'X\(//\)$' \| \
25163 X"$ac_file" : 'X\(/\)' \| \
25164 . : '\(.\)' 2>/dev/null ||
25166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25167 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25168 /^X\(\/\/\)$/{ s//\1/; q; }
25169 /^X\(\/\).*/{ s//\1/; q; }
25171 { if $as_mkdir_p; then
25176 while test ! -d "$as_dir"; do
25177 as_dirs
="$as_dir $as_dirs"
25178 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25179 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25180 X"$as_dir" : 'X\(//\)[^/]' \| \
25181 X"$as_dir" : 'X\(//\)$' \| \
25182 X"$as_dir" : 'X\(/\)' \| \
25183 . : '\(.\)' 2>/dev/null ||
25185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25186 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25187 /^X\(\/\/\)$/{ s//\1/; q; }
25188 /^X\(\/\).*/{ s//\1/; q; }
25191 test ! -n "$as_dirs" || mkdir
$as_dirs
25192 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25193 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25194 { (exit 1); exit 1; }; }; }
25198 if test "$ac_dir" != .
; then
25199 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25200 # A "../" for each directory in $ac_dir_suffix.
25201 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25203 ac_dir_suffix
= ac_top_builddir
=
25207 .
) # No --srcdir option. We are building in place.
25209 if test -z "$ac_top_builddir"; then
25212 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25214 [\\/]* | ?
:[\\/]* ) # Absolute path.
25215 ac_srcdir
=$srcdir$ac_dir_suffix;
25216 ac_top_srcdir
=$srcdir ;;
25217 *) # Relative path.
25218 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25219 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25222 # Do not use `cd foo && pwd` to compute absolute paths, because
25223 # the directories may not exist.
25225 .
) ac_abs_builddir
="$ac_dir";;
25228 .
) ac_abs_builddir
=`pwd`;;
25229 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25230 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25233 case $ac_abs_builddir in
25234 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25236 case ${ac_top_builddir}.
in
25237 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25238 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25239 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25242 case $ac_abs_builddir in
25243 .
) ac_abs_srcdir
=$ac_srcdir;;
25246 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25247 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25248 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25251 case $ac_abs_builddir in
25252 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25254 case $ac_top_srcdir in
25255 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25256 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25257 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25263 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25264 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
25267 if test x
"$ac_file" != x-
; then
25268 { echo "$as_me:$LINENO: creating $ac_file" >&5
25269 echo "$as_me: creating $ac_file" >&6;}
25272 # Let's still pretend it is `configure' which instantiates (i.e., don't
25273 # use $as_me), people would be surprised to read:
25274 # /* config.h. Generated by config.status. */
25275 if test x
"$ac_file" = x-
; then
25278 configure_input
="$ac_file. "
25280 configure_input
=$configure_input"Generated from `echo $ac_file_in |
25281 sed 's,.*/,,'` by configure."
25283 # First look for the input files in the build tree, otherwise in the
25285 ac_file_inputs
=`IFS=:
25286 for f in $ac_file_in; do
25288 -) echo $tmp/stdin ;;
25290 # Absolute (can't be DOS-style, as IFS=:)
25291 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25292 echo "$as_me: error: cannot find input file: $f" >&2;}
25293 { (exit 1); exit 1; }; }
25296 if test -f "$f"; then
25299 elif test -f "$srcdir/$f"; then
25304 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25305 echo "$as_me: error: cannot find input file: $f" >&2;}
25306 { (exit 1); exit 1; }; }
25309 done` ||
{ (exit 1); exit 1; }
25311 cat >>$CONFIG_STATUS <<_ACEOF
25315 cat >>$CONFIG_STATUS <<\_ACEOF
25317 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25318 s
,@configure_input@
,$configure_input,;t t
25319 s
,@srcdir@
,$ac_srcdir,;t t
25320 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
25321 s
,@top_srcdir@
,$ac_top_srcdir,;t t
25322 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
25323 s
,@builddir@
,$ac_builddir,;t t
25324 s
,@abs_builddir@
,$ac_abs_builddir,;t t
25325 s
,@top_builddir@
,$ac_top_builddir,;t t
25326 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
25327 s
,@INSTALL@
,$ac_INSTALL,;t t
25328 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25330 if test x"$ac_file" != x-; then
25331 mv $tmp/out $ac_file
25339 cat >>$CONFIG_STATUS <<\_ACEOF
25342 # CONFIG_HEADER section.
25345 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
25346 # NAME is the cpp macro being defined and VALUE is the value it is being given.
25348 # ac_d sets the value in "#define NAME VALUE" lines.
25349 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25350 ac_dB
='[ ].*$,\1#\2'
25353 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25354 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25355 ac_uB
='$,\1#\2define\3'
25359 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
25360 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25362 - |
*:- |
*:-:* ) # input from stdin
25364 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25365 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25366 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25367 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25368 * ) ac_file_in
=$ac_file.
in ;;
25371 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
25372 echo "$as_me: creating $ac_file" >&6;}
25374 # First look for the input files in the build tree, otherwise in the
25376 ac_file_inputs
=`IFS=:
25377 for f in $ac_file_in; do
25379 -) echo $tmp/stdin ;;
25381 # Absolute (can't be DOS-style, as IFS=:)
25382 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25383 echo "$as_me: error: cannot find input file: $f" >&2;}
25384 { (exit 1); exit 1; }; }
25385 # Do quote $f, to prevent DOS paths from being IFS'd.
25388 if test -f "$f"; then
25391 elif test -f "$srcdir/$f"; then
25396 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25397 echo "$as_me: error: cannot find input file: $f" >&2;}
25398 { (exit 1); exit 1; }; }
25401 done` ||
{ (exit 1); exit 1; }
25402 # Remove the trailing spaces.
25403 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25407 # Transform confdefs.h into two sed scripts, `conftest.defines' and
25408 # `conftest.undefs', that substitutes the proper values into
25409 # config.h.in to produce config.h. The first handles `#define'
25410 # templates, and the second `#undef' templates.
25411 # And first: Protect against being on the right side of a sed subst in
25412 # config.status. Protect against being in an unquoted here document
25413 # in config.status.
25414 rm -f conftest.defines conftest.undefs
25415 # Using a here document instead of a string reduces the quoting nightmare.
25416 # Putting comments in sed scripts is not portable.
25418 # `end' is used to avoid that the second main sed command (meant for
25419 # 0-ary CPP macros) applies to n-ary macro definitions.
25420 # See the Autoconf documentation for `clear'.
25421 cat >confdef2sed.
sed <<\_ACEOF
25426 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25428 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25431 # If some macros were called several times there might be several times
25432 # the same #defines, which is useless. Nevertheless, we may not want to
25433 # sort them, since we want the *last* AC-DEFINE to be honored.
25434 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25435 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25436 rm -f confdef2sed.sed
25438 # This sed command replaces #undef with comments. This is necessary, for
25439 # example, in the case of _POSIX_SOURCE, which is predefined and required
25440 # on some systems where configure will not decide to define it.
25441 cat >>conftest.undefs <<\_ACEOF
25442 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25445 # Break up conftest.defines because some shells have a limit on the size
25446 # of here documents, and old seds have small limits too (100 cmds).
25447 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25448 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25449 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25450 echo ' :' >>$CONFIG_STATUS
25451 rm -f conftest.tail
25452 while grep . conftest.defines >/dev/null
25454 # Write a limited-size here document to $tmp/defines.sed.
25455 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25456 # Speed up: don't consider the non `#define' lines.
25457 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25458 # Work around the forget-to-reset-the-flag bug.
25459 echo 't clr' >>$CONFIG_STATUS
25460 echo ': clr' >>$CONFIG_STATUS
25461 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
25463 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25465 mv $tmp/out $tmp/in
25467 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
25468 rm -f conftest.defines
25469 mv conftest.
tail conftest.defines
25471 rm -f conftest.defines
25472 echo ' fi # grep' >>$CONFIG_STATUS
25473 echo >>$CONFIG_STATUS
25475 # Break up conftest.undefs because some shells have a limit on the size
25476 # of here documents, and old seds have small limits too (100 cmds).
25477 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25478 rm -f conftest.
tail
25479 while grep . conftest.undefs
>/dev
/null
25481 # Write a limited-size here document to $tmp/undefs.sed.
25482 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25483 # Speed up: don't consider the non
`#undef'
25484 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25485 # Work around the forget-to-reset-the-flag bug.
25486 echo 't clr' >>$CONFIG_STATUS
25487 echo ': clr' >>$CONFIG_STATUS
25488 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25490 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25492 mv $tmp/out $tmp/in
25494 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25495 rm -f conftest.undefs
25496 mv conftest.tail conftest.undefs
25498 rm -f conftest.undefs
25500 cat >>$CONFIG_STATUS <<\_ACEOF
25501 # Let's still pretend it is `configure
' which instantiates (i.e., don't
25502 # use $as_me), people would be surprised to read:
25503 # /* config.h. Generated by config.status. */
25504 if test x
"$ac_file" = x-
; then
25505 echo "/* Generated by configure. */" >$tmp/config.h
25507 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25509 cat $tmp/in >>$tmp/config.h
25511 if test x
"$ac_file" != x-
; then
25512 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
25513 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25514 echo "$as_me: $ac_file is unchanged" >&6;}
25516 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
25517 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25518 X"$ac_file" : 'X\(//\)[^/]' \| \
25519 X"$ac_file" : 'X\(//\)$' \| \
25520 X"$ac_file" : 'X\(/\)' \| \
25521 . : '\(.\)' 2>/dev/null ||
25523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25524 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25525 /^X\(\/\/\)$/{ s//\1/; q; }
25526 /^X\(\/\).*/{ s//\1/; q; }
25528 { if $as_mkdir_p; then
25533 while test ! -d "$as_dir"; do
25534 as_dirs
="$as_dir $as_dirs"
25535 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25536 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25537 X"$as_dir" : 'X\(//\)[^/]' \| \
25538 X"$as_dir" : 'X\(//\)$' \| \
25539 X"$as_dir" : 'X\(/\)' \| \
25540 . : '\(.\)' 2>/dev/null ||
25542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25543 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25544 /^X\(\/\/\)$/{ s//\1/; q; }
25545 /^X\(\/\).*/{ s//\1/; q; }
25548 test ! -n "$as_dirs" || mkdir
$as_dirs
25549 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25550 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25551 { (exit 1); exit 1; }; }; }
25554 mv $tmp/config.h
$ac_file
25558 rm -f $tmp/config.h
25562 cat >>$CONFIG_STATUS <<\_ACEOF
25565 # CONFIG_LINKS section.
25568 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
25569 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
25570 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25572 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
25573 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
25575 if test ! -r $srcdir/$ac_source; then
25576 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
25577 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
25578 { (exit 1); exit 1; }; }
25582 # Make relative symlinks.
25583 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
25584 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25585 X"$ac_dest" : 'X\(//\)[^/]' \| \
25586 X"$ac_dest" : 'X\(//\)$' \| \
25587 X"$ac_dest" : 'X\(/\)' \| \
25588 . : '\(.\)' 2>/dev/null ||
25590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25591 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25592 /^X\(\/\/\)$/{ s//\1/; q; }
25593 /^X\(\/\).*/{ s//\1/; q; }
25595 { if $as_mkdir_p; then
25596 mkdir
-p "$ac_dest_dir"
25598 as_dir
="$ac_dest_dir"
25600 while test ! -d "$as_dir"; do
25601 as_dirs
="$as_dir $as_dirs"
25602 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25603 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25604 X"$as_dir" : 'X\(//\)[^/]' \| \
25605 X"$as_dir" : 'X\(//\)$' \| \
25606 X"$as_dir" : 'X\(/\)' \| \
25607 . : '\(.\)' 2>/dev/null ||
25609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25610 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25611 /^X\(\/\/\)$/{ s//\1/; q; }
25612 /^X\(\/\).*/{ s//\1/; q; }
25615 test ! -n "$as_dirs" || mkdir
$as_dirs
25616 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
25617 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
25618 { (exit 1); exit 1; }; }; }
25622 if test "$ac_dest_dir" != .
; then
25623 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
25624 # A "../" for each directory in $ac_dir_suffix.
25625 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25627 ac_dir_suffix
= ac_top_builddir
=
25631 .
) # No --srcdir option. We are building in place.
25633 if test -z "$ac_top_builddir"; then
25636 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25638 [\\/]* | ?
:[\\/]* ) # Absolute path.
25639 ac_srcdir
=$srcdir$ac_dir_suffix;
25640 ac_top_srcdir
=$srcdir ;;
25641 *) # Relative path.
25642 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25643 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25646 # Do not use `cd foo && pwd` to compute absolute paths, because
25647 # the directories may not exist.
25649 .
) ac_abs_builddir
="$ac_dest_dir";;
25651 case "$ac_dest_dir" in
25652 .
) ac_abs_builddir
=`pwd`;;
25653 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
25654 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
25657 case $ac_abs_builddir in
25658 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25660 case ${ac_top_builddir}.
in
25661 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25662 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25663 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25666 case $ac_abs_builddir in
25667 .
) ac_abs_srcdir
=$ac_srcdir;;
25670 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25671 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25672 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25675 case $ac_abs_builddir in
25676 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25678 case $ac_top_srcdir in
25679 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25680 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25681 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25687 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
25688 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
25691 # Try a symlink, then a hard link, then a copy.
25692 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
25693 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
25694 cp -p $srcdir/$ac_source $ac_dest ||
25695 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
25696 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
25697 { (exit 1); exit 1; }; }
25700 cat >>$CONFIG_STATUS <<\_ACEOF
25703 # CONFIG_COMMANDS section.
25705 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
25706 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
25707 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25708 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
25709 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25710 X"$ac_dest" : 'X\(//\)[^/]' \| \
25711 X"$ac_dest" : 'X\(//\)$' \| \
25712 X"$ac_dest" : 'X\(/\)' \| \
25713 . : '\(.\)' 2>/dev/null ||
25715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25717 /^X\(\/\/\)$/{ s//\1/; q; }
25718 /^X\(\/\).*/{ s//\1/; q; }
25720 { if $as_mkdir_p; then
25725 while test ! -d "$as_dir"; do
25726 as_dirs
="$as_dir $as_dirs"
25727 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25728 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25729 X"$as_dir" : 'X\(//\)[^/]' \| \
25730 X"$as_dir" : 'X\(//\)$' \| \
25731 X"$as_dir" : 'X\(/\)' \| \
25732 . : '\(.\)' 2>/dev/null ||
25734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25735 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25736 /^X\(\/\/\)$/{ s//\1/; q; }
25737 /^X\(\/\).*/{ s//\1/; q; }
25740 test ! -n "$as_dirs" || mkdir
$as_dirs
25741 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25742 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25743 { (exit 1); exit 1; }; }; }
25747 if test "$ac_dir" != .
; then
25748 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25749 # A "../" for each directory in $ac_dir_suffix.
25750 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25752 ac_dir_suffix
= ac_top_builddir
=
25756 .
) # No --srcdir option. We are building in place.
25758 if test -z "$ac_top_builddir"; then
25761 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25763 [\\/]* | ?
:[\\/]* ) # Absolute path.
25764 ac_srcdir
=$srcdir$ac_dir_suffix;
25765 ac_top_srcdir
=$srcdir ;;
25766 *) # Relative path.
25767 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25768 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25771 # Do not use `cd foo && pwd` to compute absolute paths, because
25772 # the directories may not exist.
25774 .
) ac_abs_builddir
="$ac_dir";;
25777 .
) ac_abs_builddir
=`pwd`;;
25778 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25779 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25782 case $ac_abs_builddir in
25783 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25785 case ${ac_top_builddir}.
in
25786 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25787 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25788 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25791 case $ac_abs_builddir in
25792 .
) ac_abs_srcdir
=$ac_srcdir;;
25795 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25796 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25797 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25800 case $ac_abs_builddir in
25801 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25803 case $ac_top_srcdir in
25804 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25805 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25806 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25811 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25812 echo "$as_me: executing $ac_dest commands" >&6;}
25815 if test "$GCC" = yes; then
25816 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25818 echo "/* generated for $CC */" > tmp-stdint.h
25821 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25823 #ifndef GCC_GENERATED_STDINT_H
25824 #define GCC_GENERATED_STDINT_H 1
25826 #include <sys/types.h>
25829 if test "$acx_cv_header_stdint" != stdint.h
; then
25830 echo "#include <stddef.h>" >> tmp-stdint.h
25832 if test "$acx_cv_header_stdint" != stddef.h
; then
25833 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25836 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25837 /* glibc uses these symbols as guards to prevent redefinitions. */
25838 #ifdef __int8_t_defined
25843 #ifdef __uint32_t_defined
25849 # ----------------- done header, emit basic int types -------------
25850 if test "$acx_cv_header_stdint" = stddef.h
; then
25851 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25855 #ifndef __uint8_t_defined
25856 #define __uint8_t_defined
25857 typedef unsigned $acx_cv_type_int8_t uint8_t;
25863 #ifndef __uint16_t_defined
25864 #define __uint16_t_defined
25865 typedef unsigned $acx_cv_type_int16_t uint16_t;
25871 #ifndef __uint32_t_defined
25872 #define __uint32_t_defined
25873 typedef unsigned $acx_cv_type_int32_t uint32_t;
25879 #ifndef __int8_t_defined
25880 #define __int8_t_defined
25881 typedef $acx_cv_type_int8_t int8_t;
25887 #ifndef __int16_t_defined
25888 #define __int16_t_defined
25889 typedef $acx_cv_type_int16_t int16_t;
25895 #ifndef __int32_t_defined
25896 #define __int32_t_defined
25897 typedef $acx_cv_type_int32_t int32_t;
25901 elif test "$ac_cv_type_u_int32_t" = yes; then
25902 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25904 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25917 #ifndef __uint8_t_defined
25918 #define __uint8_t_defined
25919 typedef u_int8_t uint8_t;
25925 #ifndef __uint16_t_defined
25926 #define __uint16_t_defined
25927 typedef u_int16_t uint16_t;
25933 #ifndef __uint32_t_defined
25934 #define __uint32_t_defined
25935 typedef u_int32_t uint32_t;
25940 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25942 /* Some systems have guard macros to prevent redefinitions, define them. */
25964 # ------------- done basic int types, emit int64_t types ------------
25965 if test "$ac_cv_type_uint64_t" = yes; then
25966 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25968 /* system headers have good uint64_t and int64_t */
25976 elif test "$ac_cv_type_u_int64_t" = yes; then
25977 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25979 /* system headers have an u_int64_t (and int64_t) */
25985 #ifndef __uint64_t_defined
25986 #define __uint64_t_defined
25987 typedef u_int64_t uint64_t;
25991 elif test -n "$acx_cv_type_int64_t"; then
25992 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25994 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25997 typedef $acx_cv_type_int64_t int64_t;
26001 #ifndef __uint64_t_defined
26002 #define __uint64_t_defined
26003 typedef unsigned $acx_cv_type_int64_t uint64_t;
26008 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26010 /* some common heuristics for int64_t, using compiler-specific tests */
26011 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
26014 #ifndef __int64_t_defined
26015 typedef long long int64_t;
26020 typedef unsigned long long uint64_t;
26023 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
26024 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
26025 does not implement __extension__. But that compiler doesn't define
26027 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
26028 # define __extension__
26033 __extension__ typedef long long int64_t;
26037 __extension__ typedef unsigned long long uint64_t;
26040 #elif !defined __STRICT_ANSI__
26041 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
26045 typedef __int64 int64_t;
26049 typedef unsigned __int64 uint64_t;
26051 # endif /* compiler */
26053 #endif /* ANSI version */
26057 # ------------- done int64_t types, emit intptr types ------------
26058 if test "$ac_cv_type_uintptr_t" != yes; then
26059 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26061 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
26062 #ifndef __uintptr_t_defined
26063 typedef u$acx_cv_type_intptr_t uintptr_t;
26065 #ifndef __intptr_t_defined
26066 typedef $acx_cv_type_intptr_t intptr_t;
26071 # ------------- done intptr types, emit int_least types ------------
26072 if test "$ac_cv_type_int_least32_t" != yes; then
26073 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26075 /* Define int_least types */
26076 typedef int8_t int_least8_t;
26077 typedef int16_t int_least16_t;
26078 typedef int32_t int_least32_t;
26080 typedef int64_t int_least64_t;
26083 typedef uint8_t uint_least8_t;
26084 typedef uint16_t uint_least16_t;
26085 typedef uint32_t uint_least32_t;
26087 typedef uint64_t uint_least64_t;
26092 # ------------- done intptr types, emit int_fast types ------------
26093 if test "$ac_cv_type_int_fast32_t" != yes; then
26094 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26096 /* Define int_fast types. short is often slow */
26097 typedef int8_t int_fast8_t;
26098 typedef int int_fast16_t;
26099 typedef int32_t int_fast32_t;
26101 typedef int64_t int_fast64_t;
26104 typedef uint8_t uint_fast8_t;
26105 typedef unsigned int uint_fast16_t;
26106 typedef uint32_t uint_fast32_t;
26108 typedef uint64_t uint_fast64_t;
26113 if test "$ac_cv_type_uintmax_t" != yes; then
26114 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26116 /* Define intmax based on what we found */
26118 typedef int64_t intmax_t;
26120 typedef long intmax_t;
26123 typedef uint64_t uintmax_t;
26125 typedef unsigned long uintmax_t;
26130 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26132 #endif /* GCC_GENERATED_STDINT_H */
26135 if test -r gdb_stdint.h
&& cmp -s tmp-stdint.h gdb_stdint.h
; then
26138 mv -f tmp-stdint.h gdb_stdint.h
26144 sed -e '/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
26145 mv -f Makefile.tmp Makefile
26148 case x
$CONFIG_HEADERS in
26149 xconfig.h
:config.
in)
26157 cat >>$CONFIG_STATUS <<\_ACEOF
26159 { (exit 0); exit 0; }
26161 chmod +x
$CONFIG_STATUS
26162 ac_clean_files
=$ac_clean_files_save
26165 # configure is writing to config.log, and then calls config.status.
26166 # config.status does its own redirection, appending to config.log.
26167 # Unfortunately, on DOS this fails, as config.log is still kept open
26168 # by configure, so config.status won't be able to write to it; its
26169 # output is simply discarded. So we exec the FD to /dev/null,
26170 # effectively closing config.log, so it can be properly (re)opened and
26171 # appended to by config.status. When coming back to configure, we
26172 # need to make the FD available again.
26173 if test "$no_create" != yes; then
26175 ac_config_status_args
=
26176 test "$silent" = yes &&
26177 ac_config_status_args
="$ac_config_status_args --quiet"
26179 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26181 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26182 # would make configure fail if this is the last instruction.
26183 $ac_cs_success ||
{ (exit 1); exit 1; }
26187 # CONFIG_SUBDIRS section.
26189 if test "$no_recursion" != yes; then
26191 # Remove --cache-file and --srcdir arguments so they do not pile up.
26192 ac_sub_configure_args
=
26194 for ac_arg
in $ac_configure_args; do
26195 if test -n "$ac_prev"; then
26200 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
26201 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
26202 ac_prev
=cache_file
;;
26203 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
26204 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
26207 --config-cache |
-C)
26209 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
26211 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
26213 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
26215 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
26217 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
26221 # Always prepend --prefix to ensure using the same prefix
26222 # in subdir configurations.
26223 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
26226 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
26228 # Do not complain, so a configure script can configure whichever
26229 # parts of a large source tree are present.
26230 test -d $srcdir/$ac_dir ||
continue
26232 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
26233 echo "$as_me: configuring in $ac_dir" >&6;}
26234 { if $as_mkdir_p; then
26239 while test ! -d "$as_dir"; do
26240 as_dirs
="$as_dir $as_dirs"
26241 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26242 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26243 X"$as_dir" : 'X\(//\)[^/]' \| \
26244 X"$as_dir" : 'X\(//\)$' \| \
26245 X"$as_dir" : 'X\(/\)' \| \
26246 . : '\(.\)' 2>/dev/null ||
26248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26249 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26250 /^X\(\/\/\)$/{ s//\1/; q; }
26251 /^X\(\/\).*/{ s//\1/; q; }
26254 test ! -n "$as_dirs" || mkdir
$as_dirs
26255 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26256 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26257 { (exit 1); exit 1; }; }; }
26261 if test "$ac_dir" != .
; then
26262 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26263 # A "../" for each directory in $ac_dir_suffix.
26264 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26266 ac_dir_suffix
= ac_top_builddir
=
26270 .
) # No --srcdir option. We are building in place.
26272 if test -z "$ac_top_builddir"; then
26275 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
26277 [\\/]* | ?
:[\\/]* ) # Absolute path.
26278 ac_srcdir
=$srcdir$ac_dir_suffix;
26279 ac_top_srcdir
=$srcdir ;;
26280 *) # Relative path.
26281 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
26282 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
26285 # Do not use `cd foo && pwd` to compute absolute paths, because
26286 # the directories may not exist.
26288 .
) ac_abs_builddir
="$ac_dir";;
26291 .
) ac_abs_builddir
=`pwd`;;
26292 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
26293 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
26296 case $ac_abs_builddir in
26297 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26299 case ${ac_top_builddir}.
in
26300 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
26301 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26302 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
26305 case $ac_abs_builddir in
26306 .
) ac_abs_srcdir
=$ac_srcdir;;
26309 .
) ac_abs_srcdir
=$ac_abs_builddir;;
26310 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
26311 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
26314 case $ac_abs_builddir in
26315 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
26317 case $ac_top_srcdir in
26318 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
26319 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
26320 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
26327 # Check for guested configure; otherwise get Cygnus style configure.
26328 if test -f $ac_srcdir/configure.gnu
; then
26329 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
26330 elif test -f $ac_srcdir/configure
; then
26331 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
26332 elif test -f $ac_srcdir/configure.
in; then
26333 ac_sub_configure
=$ac_configure
26335 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
26336 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
26340 # The recursion is here.
26341 if test -n "$ac_sub_configure"; then
26342 # Make the cache file name correct relative to the subdirectory.
26343 case $cache_file in
26344 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
26345 *) # Relative path.
26346 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
26349 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
26350 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
26351 # The eval makes quoting arguments work.
26352 eval $ac_sub_configure $ac_sub_configure_args \
26353 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
26354 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
26355 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
26356 { (exit 1); exit 1; }; }