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 --enable-targets alternative target configurations
864 --disable-gdbcli disable command-line interface
(CLI
)
865 --disable-gdbmi disable machine-interface
(MI
)
866 --enable-tui enable full-screen terminal user interface
(TUI
)
867 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
868 --enable-profiling enable profiling of GDB
869 --disable-rpath do not hardcode runtime library paths
870 --enable-werror treat compile warnings as errors
871 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
872 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
873 --enable-sim Link gdb with simulator
874 --enable-multi-ice build the multi-ice-gdb-server
877 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
878 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
879 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
880 --with-libunwind Use libunwind frame unwinding support
881 --with-system-readline use installed readline library
882 --with-expat include expat support
(auto
/yes
/no
)
883 --with-gnu-ld assume the C compiler uses GNU ld default
=no
884 --with-libexpat-prefix[=DIR
] search
for libexpat
in DIR
/include and DIR
/lib
885 --without-libexpat-prefix don
't search for libexpat in includedir and libdir
886 --without-included-regex don't use included regex
; this is the default
887 on systems with version
2 of the GNU C library
888 (use with caution on other system
)
889 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
890 --with-tclconfig=DIR Directory containing tcl configuration
(tclConfig.sh
)
891 --with-tkconfig=DIR Directory containing tk configuration
(tkConfig.sh
)
892 --with-tclinclude=DIR Directory where tcl private headers are
893 --with-tkinclude=DIR Directory where tk private headers are
894 --with-itclconfig Directory containing itcl configuration
(itclConfig.sh
)
895 --with-itkconfig Directory containing itk configuration
(itkConfig.sh
)
896 --with-x use the X Window System
897 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
899 Some influential environment variables
:
900 CC C compiler
command
901 CFLAGS C compiler flags
902 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
903 nonstandard directory
<lib dir
>
904 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
905 headers
in a nonstandard directory
<include dir
>
908 Use these variables to override the choices made by
`configure' or to help
909 it to find libraries and programs with nonstandard names/locations.
914 if test "$ac_init_help" = "recursive"; then
915 # If there are subdirs, report their specific --help.
917 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
918 test -d $ac_dir || continue
921 if test "$ac_dir" != .; then
922 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
923 # A "../" for each directory in $ac_dir_suffix.
924 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
926 ac_dir_suffix= ac_top_builddir=
930 .) # No --srcdir option. We are building in place.
932 if test -z "$ac_top_builddir"; then
935 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
937 [\\/]* | ?:[\\/]* ) # Absolute path.
938 ac_srcdir=$srcdir$ac_dir_suffix;
939 ac_top_srcdir=$srcdir ;;
941 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
942 ac_top_srcdir=$ac_top_builddir$srcdir ;;
945 # Do not use `cd foo
&& pwd` to compute absolute paths, because
946 # the directories may not exist.
948 .) ac_abs_builddir="$ac_dir";;
951 .) ac_abs_builddir=`pwd`;;
952 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
953 *) ac_abs_builddir=`pwd`/"$ac_dir";;
956 case $ac_abs_builddir in
957 .) ac_abs_top_builddir=${ac_top_builddir}.;;
959 case ${ac_top_builddir}. in
960 .) ac_abs_top_builddir=$ac_abs_builddir;;
961 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
962 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
965 case $ac_abs_builddir in
966 .) ac_abs_srcdir=$ac_srcdir;;
969 .) ac_abs_srcdir=$ac_abs_builddir;;
970 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
971 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
974 case $ac_abs_builddir in
975 .) ac_abs_top_srcdir=$ac_top_srcdir;;
977 case $ac_top_srcdir in
978 .) ac_abs_top_srcdir=$ac_abs_builddir;;
979 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
980 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
985 # Check for guested configure; otherwise get Cygnus style configure.
986 if test -f $ac_srcdir/configure.gnu; then
988 $SHELL $ac_srcdir/configure.gnu --help=recursive
989 elif test -f $ac_srcdir/configure; then
991 $SHELL $ac_srcdir/configure --help=recursive
992 elif test -f $ac_srcdir/configure.ac ||
993 test -f $ac_srcdir/configure.in; then
997 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1003 test -n "$ac_init_help" && exit 0
1004 if $ac_init_version; then
1007 Copyright (C) 2003 Free Software Foundation, Inc.
1008 This configure script is free software; the Free Software Foundation
1009 gives unlimited permission to copy, distribute and modify it.
1015 This file contains any messages produced by compilers while
1016 running configure, to aid debugging if configure makes a mistake.
1018 It was created by $as_me, which was
1019 generated by GNU Autoconf 2.59. Invocation command line was
1030 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1031 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1032 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1033 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1034 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1036 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1037 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1039 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1040 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1041 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1042 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1043 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1044 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1045 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1053 test -z "$as_dir" && as_dir=.
1054 echo "PATH: $as_dir"
1069 # Keep a trace of the command line.
1070 # Strip out --no-create and --no-recursion so they do not pile up.
1071 # Strip out --silent because we don't want to record it for future runs.
1072 # Also quote any args containing shell meta-characters.
1073 # Make two passes to allow for proper duplicate-argument suppression.
1078 ac_must_keep_next=false
1084 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1086 | -silent | --silent | --silen | --sile | --sil)
1088 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1089 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1092 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1094 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1095 if test $ac_must_keep_next = true; then
1096 ac_must_keep_next=false # Got value, back to normal.
1099 *=* | --config-cache | -C | -disable-* | --disable-* \
1100 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1101 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1102 | -with-* | --with-* | -without-* | --without-* | --x)
1103 case "$ac_configure_args0 " in
1104 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1107 -* ) ac_must_keep_next=true ;;
1110 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1111 # Get rid of the leading space.
1117 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1118 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1120 # When interrupted or exit'd, cleanup temporary files, and complete
1121 # config.log. We remove comments because anyway the quotes in there
1122 # would cause problems or look ugly.
1123 # WARNING: Be sure not to use single quotes in there, as some shells,
1124 # such as our DU 5.0 friend, will then `close
' the trap.
1125 trap 'exit_status
=$?
1126 # Save into config.log some information that might help in debugging.
1131 ## ---------------- ##
1132 ## Cache variables. ##
1133 ## ---------------- ##
1136 # The following way of writing the cache mishandles newlines in values,
1139 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1142 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1147 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1154 ## ----------------- ##
1155 ## Output variables. ##
1156 ## ----------------- ##
1159 for ac_var
in $ac_subst_vars
1161 eval ac_val
=$
`echo $ac_var`
1162 echo "$ac_var='"'"'$ac_val'"'"'"
1166 if test -n "$ac_subst_files"; then
1173 for ac_var
in $ac_subst_files
1175 eval ac_val
=$
`echo $ac_var`
1176 echo "$ac_var='"'"'$ac_val'"'"'"
1181 if test -s confdefs.h
; then
1188 sed "/^$/d" confdefs.h |
sort
1191 test "$ac_signal" != 0 &&
1192 echo "$as_me: caught signal $ac_signal"
1193 echo "$as_me: exit $exit_status"
1195 rm -f core
*.core
&&
1196 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1199 for ac_signal in 1 2 13 15; do
1200 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1204 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1205 rm -rf conftest* confdefs.h
1206 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1209 # Predefined preprocessor variables.
1211 cat >>confdefs.h <<_ACEOF
1212 #define PACKAGE_NAME "$PACKAGE_NAME"
1216 cat >>confdefs.h <<_ACEOF
1217 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1221 cat >>confdefs.h <<_ACEOF
1222 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1226 cat >>confdefs.h <<_ACEOF
1227 #define PACKAGE_STRING "$PACKAGE_STRING"
1231 cat >>confdefs.h <<_ACEOF
1232 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1236 # Let the site file select an alternate cache file if it wants to.
1237 # Prefer explicitly selected file to automatically selected ones.
1238 if test -z "$CONFIG_SITE"; then
1239 if test "x$prefix" != xNONE; then
1240 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1242 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1245 for ac_site_file in $CONFIG_SITE; do
1246 if test -r "$ac_site_file"; then
1247 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1248 echo "$as_me: loading site script $ac_site_file" >&6;}
1249 sed 's
/^
/|
/' "$ac_site_file" >&5
1254 if test -r "$cache_file"; then
1255 # Some versions of bash will fail to source /dev/null (special
1256 # files actually), so we avoid doing that.
1257 if test -f "$cache_file"; then
1258 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1259 echo "$as_me: loading cache $cache_file" >&6;}
1261 [\\/]* | ?:[\\/]* ) . $cache_file;;
1262 *) . ./$cache_file;;
1266 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1267 echo "$as_me: creating cache $cache_file" >&6;}
1271 # Check that the precious variables saved in the cache have kept the same
1273 ac_cache_corrupted=false
1274 for ac_var in `(set) 2>&1 |
1275 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1276 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1277 eval ac_new_set=\$ac_env_${ac_var}_set
1278 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1279 eval ac_new_val="\$ac_env_${ac_var}_value"
1280 case $ac_old_set,$ac_new_set in
1282 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1283 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1284 ac_cache_corrupted=: ;;
1286 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1287 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1288 ac_cache_corrupted=: ;;
1291 if test "x$ac_old_val" != "x$ac_new_val"; then
1292 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1293 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1294 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1295 echo "$as_me: former value: $ac_old_val" >&2;}
1296 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1297 echo "$as_me: current value: $ac_new_val" >&2;}
1298 ac_cache_corrupted=:
1301 # Pass precious variables to config.status.
1302 if test "$ac_new_set" = set; then
1304 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1305 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1306 *) ac_arg=$ac_var=$ac_new_val ;;
1308 case " $ac_configure_args " in
1309 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1310 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1314 if $ac_cache_corrupted; then
1315 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1316 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1317 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1318 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1319 { (exit 1); exit 1; }; }
1323 ac_cpp='$CPP $CPPFLAGS'
1324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1325 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1346 ac_config_headers="$ac_config_headers config.h:config.in"
1348 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1349 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1350 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1351 if test "${enable_maintainer_mode+set}" = set; then
1352 enableval="$enable_maintainer_mode"
1353 USE_MAINTAINER_MODE=$enableval
1355 USE_MAINTAINER_MODE=no
1357 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1358 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1361 if test $USE_MAINTAINER_MODE = yes; then
1362 MAINTAINER_MODE_TRUE=
1363 MAINTAINER_MODE_FALSE='#'
1365 MAINTAINER_MODE_TRUE
='#'
1366 MAINTAINER_MODE_FALSE
=
1369 MAINT
=$MAINTAINER_MODE_TRUE
1374 ac_cpp
='$CPP $CPPFLAGS'
1375 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1376 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1377 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1378 if test -n "$ac_tool_prefix"; then
1379 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1380 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1381 echo "$as_me:$LINENO: checking for $ac_word" >&5
1382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1383 if test "${ac_cv_prog_CC+set}" = set; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 if test -n "$CC"; then
1387 ac_cv_prog_CC
="$CC" # Let the user override the test.
1389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1393 test -z "$as_dir" && as_dir
=.
1394 for ac_exec_ext
in '' $ac_executable_extensions; do
1395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1396 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1406 if test -n "$CC"; then
1407 echo "$as_me:$LINENO: result: $CC" >&5
1408 echo "${ECHO_T}$CC" >&6
1410 echo "$as_me:$LINENO: result: no" >&5
1411 echo "${ECHO_T}no" >&6
1415 if test -z "$ac_cv_prog_CC"; then
1417 # Extract the first word of "gcc", so it can be a program name with args.
1418 set dummy gcc
; ac_word
=$2
1419 echo "$as_me:$LINENO: checking for $ac_word" >&5
1420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1421 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1422 echo $ECHO_N "(cached) $ECHO_C" >&6
1424 if test -n "$ac_ct_CC"; then
1425 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1431 test -z "$as_dir" && as_dir
=.
1432 for ac_exec_ext
in '' $ac_executable_extensions; do
1433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1434 ac_cv_prog_ac_ct_CC
="gcc"
1435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1443 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1444 if test -n "$ac_ct_CC"; then
1445 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1446 echo "${ECHO_T}$ac_ct_CC" >&6
1448 echo "$as_me:$LINENO: result: no" >&5
1449 echo "${ECHO_T}no" >&6
1457 if test -z "$CC"; then
1458 if test -n "$ac_tool_prefix"; then
1459 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1460 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1461 echo "$as_me:$LINENO: checking for $ac_word" >&5
1462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1463 if test "${ac_cv_prog_CC+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 if test -n "$CC"; then
1467 ac_cv_prog_CC
="$CC" # Let the user override the test.
1469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1473 test -z "$as_dir" && as_dir
=.
1474 for ac_exec_ext
in '' $ac_executable_extensions; do
1475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1476 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1486 if test -n "$CC"; then
1487 echo "$as_me:$LINENO: result: $CC" >&5
1488 echo "${ECHO_T}$CC" >&6
1490 echo "$as_me:$LINENO: result: no" >&5
1491 echo "${ECHO_T}no" >&6
1495 if test -z "$ac_cv_prog_CC"; then
1497 # Extract the first word of "cc", so it can be a program name with args.
1498 set dummy cc
; ac_word
=$2
1499 echo "$as_me:$LINENO: checking for $ac_word" >&5
1500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1501 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1502 echo $ECHO_N "(cached) $ECHO_C" >&6
1504 if test -n "$ac_ct_CC"; then
1505 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1511 test -z "$as_dir" && as_dir
=.
1512 for ac_exec_ext
in '' $ac_executable_extensions; do
1513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1514 ac_cv_prog_ac_ct_CC
="cc"
1515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1523 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1524 if test -n "$ac_ct_CC"; then
1525 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1526 echo "${ECHO_T}$ac_ct_CC" >&6
1528 echo "$as_me:$LINENO: result: no" >&5
1529 echo "${ECHO_T}no" >&6
1538 if test -z "$CC"; then
1539 # Extract the first word of "cc", so it can be a program name with args.
1540 set dummy cc
; ac_word
=$2
1541 echo "$as_me:$LINENO: checking for $ac_word" >&5
1542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543 if test "${ac_cv_prog_CC+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1546 if test -n "$CC"; then
1547 ac_cv_prog_CC
="$CC" # Let the user override the test.
1550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1554 test -z "$as_dir" && as_dir
=.
1555 for ac_exec_ext
in '' $ac_executable_extensions; do
1556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1557 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1558 ac_prog_rejected
=yes
1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1568 if test $ac_prog_rejected = yes; then
1569 # We found a bogon in the path, so make sure we never use it.
1570 set dummy
$ac_cv_prog_CC
1572 if test $# != 0; then
1573 # We chose a different compiler from the bogus one.
1574 # However, it has the same basename, so the bogon will be chosen
1575 # first if we set CC to just the basename; use the full file name.
1577 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1583 if test -n "$CC"; then
1584 echo "$as_me:$LINENO: result: $CC" >&5
1585 echo "${ECHO_T}$CC" >&6
1587 echo "$as_me:$LINENO: result: no" >&5
1588 echo "${ECHO_T}no" >&6
1592 if test -z "$CC"; then
1593 if test -n "$ac_tool_prefix"; then
1596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1597 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1598 echo "$as_me:$LINENO: checking for $ac_word" >&5
1599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600 if test "${ac_cv_prog_CC+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC
="$CC" # Let the user override the test.
1606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir
=.
1611 for ac_exec_ext
in '' $ac_executable_extensions; do
1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 if test -n "$CC"; then
1624 echo "$as_me:$LINENO: result: $CC" >&5
1625 echo "${ECHO_T}$CC" >&6
1627 echo "$as_me:$LINENO: result: no" >&5
1628 echo "${ECHO_T}no" >&6
1631 test -n "$CC" && break
1634 if test -z "$CC"; then
1638 # Extract the first word of "$ac_prog", so it can be a program name with args.
1639 set dummy
$ac_prog; ac_word
=$2
1640 echo "$as_me:$LINENO: checking for $ac_word" >&5
1641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1642 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1643 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 if test -n "$ac_ct_CC"; then
1646 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1652 test -z "$as_dir" && as_dir
=.
1653 for ac_exec_ext
in '' $ac_executable_extensions; do
1654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1655 ac_cv_prog_ac_ct_CC
="$ac_prog"
1656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1664 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1665 if test -n "$ac_ct_CC"; then
1666 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1667 echo "${ECHO_T}$ac_ct_CC" >&6
1669 echo "$as_me:$LINENO: result: no" >&5
1670 echo "${ECHO_T}no" >&6
1673 test -n "$ac_ct_CC" && break
1682 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1683 See \`config.log' for more details." >&5
1684 echo "$as_me: error: no acceptable C compiler found in \$PATH
1685 See \`config.log' for more details." >&2;}
1686 { (exit 1); exit 1; }; }
1688 # Provide some information about the compiler.
1689 echo "$as_me:$LINENO:" \
1690 "checking for C compiler version" >&5
1691 ac_compiler
=`set X $ac_compile; echo $2`
1692 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1693 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1696 (exit $ac_status); }
1697 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1698 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1701 (exit $ac_status); }
1702 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1703 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1706 (exit $ac_status); }
1708 cat >conftest.
$ac_ext <<_ACEOF
1711 cat confdefs.h
>>conftest.
$ac_ext
1712 cat >>conftest.
$ac_ext <<_ACEOF
1713 /* end confdefs.h. */
1723 ac_clean_files_save
=$ac_clean_files
1724 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1725 # Try to create an executable without -o first, disregard a.out.
1726 # It will help us diagnose broken compilers, and finding out an intuition
1728 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1729 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1730 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1731 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1732 (eval $ac_link_default) 2>&5
1734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1735 (exit $ac_status); }; then
1736 # Find the output, starting from the most likely. This scheme is
1737 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1740 # Be careful to initialize this variable, since it used to be cached.
1741 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1743 # b.out is created by i960 compilers.
1744 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1746 test -f "$ac_file" ||
continue
1748 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1751 # This is the source file.
1754 # We found the default executable, but exeext='' is most
1758 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1759 # FIXME: I believe we export ac_cv_exeext for Libtool,
1760 # but it would be cool to find out if it's true. Does anybody
1761 # maintain Libtool? --akim.
1769 echo "$as_me: failed program was:" >&5
1770 sed 's/^/| /' conftest.
$ac_ext >&5
1772 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1773 See \`config.log' for more details." >&5
1774 echo "$as_me: error: C compiler cannot create executables
1775 See \`config.log' for more details." >&2;}
1776 { (exit 77); exit 77; }; }
1779 ac_exeext
=$ac_cv_exeext
1780 echo "$as_me:$LINENO: result: $ac_file" >&5
1781 echo "${ECHO_T}$ac_file" >&6
1783 # Check the compiler produces executables we can run. If not, either
1784 # the compiler is broken, or we cross compile.
1785 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1786 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1787 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1788 # If not cross compiling, check that we can run a simple program.
1789 if test "$cross_compiling" != yes; then
1790 if { ac_try
='./$ac_file'
1791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1795 (exit $ac_status); }; }; then
1798 if test "$cross_compiling" = maybe
; then
1801 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1802 If you meant to cross compile, use \`--host'.
1803 See \`config.log' for more details." >&5
1804 echo "$as_me: error: cannot run C compiled programs.
1805 If you meant to cross compile, use \`--host'.
1806 See \`config.log' for more details." >&2;}
1807 { (exit 1); exit 1; }; }
1811 echo "$as_me:$LINENO: result: yes" >&5
1812 echo "${ECHO_T}yes" >&6
1814 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1815 ac_clean_files
=$ac_clean_files_save
1816 # Check the compiler produces executables we can run. If not, either
1817 # the compiler is broken, or we cross compile.
1818 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1819 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1820 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1821 echo "${ECHO_T}$cross_compiling" >&6
1823 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1824 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1826 (eval $ac_link) 2>&5
1828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1829 (exit $ac_status); }; then
1830 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1831 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1832 # work properly (i.e., refer to `conftest.exe'), while it won't with
1834 for ac_file
in conftest.exe conftest conftest.
*; do
1835 test -f "$ac_file" ||
continue
1837 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1838 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1845 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1846 See \`config.log' for more details." >&5
1847 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1848 See \`config.log' for more details." >&2;}
1849 { (exit 1); exit 1; }; }
1852 rm -f conftest
$ac_cv_exeext
1853 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1854 echo "${ECHO_T}$ac_cv_exeext" >&6
1856 rm -f conftest.
$ac_ext
1857 EXEEXT
=$ac_cv_exeext
1859 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1860 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1861 if test "${ac_cv_objext+set}" = set; then
1862 echo $ECHO_N "(cached) $ECHO_C" >&6
1864 cat >conftest.
$ac_ext <<_ACEOF
1867 cat confdefs.h
>>conftest.
$ac_ext
1868 cat >>conftest.
$ac_ext <<_ACEOF
1869 /* end confdefs.h. */
1879 rm -f conftest.o conftest.obj
1880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1881 (eval $ac_compile) 2>&5
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); }; then
1885 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1887 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1888 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1893 echo "$as_me: failed program was:" >&5
1894 sed 's/^/| /' conftest.
$ac_ext >&5
1896 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1897 See \`config.log' for more details." >&5
1898 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1899 See \`config.log' for more details." >&2;}
1900 { (exit 1); exit 1; }; }
1903 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1905 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1906 echo "${ECHO_T}$ac_cv_objext" >&6
1907 OBJEXT
=$ac_cv_objext
1909 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1910 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1911 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1912 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 cat >conftest.
$ac_ext <<_ACEOF
1917 cat confdefs.h
>>conftest.
$ac_ext
1918 cat >>conftest.
$ac_ext <<_ACEOF
1919 /* end confdefs.h. */
1932 rm -f conftest.
$ac_objext
1933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1934 (eval $ac_compile) 2>conftest.er1
1936 grep -v '^ *+' conftest.er1
>conftest.err
1938 cat conftest.err
>&5
1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 (exit $ac_status); } &&
1941 { ac_try
='test -z "$ac_c_werror_flag"
1942 || test ! -s conftest.err'
1943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1947 (exit $ac_status); }; } &&
1948 { ac_try
='test -s conftest.$ac_objext'
1949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1953 (exit $ac_status); }; }; then
1956 echo "$as_me: failed program was:" >&5
1957 sed 's/^/| /' conftest.
$ac_ext >&5
1961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1962 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1965 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1966 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1967 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1968 ac_test_CFLAGS
=${CFLAGS+set}
1969 ac_save_CFLAGS
=$CFLAGS
1971 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1972 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1973 if test "${ac_cv_prog_cc_g+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 cat >conftest.
$ac_ext <<_ACEOF
1979 cat confdefs.h
>>conftest.
$ac_ext
1980 cat >>conftest.
$ac_ext <<_ACEOF
1981 /* end confdefs.h. */
1991 rm -f conftest.
$ac_objext
1992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1993 (eval $ac_compile) 2>conftest.er1
1995 grep -v '^ *+' conftest.er1
>conftest.err
1997 cat conftest.err
>&5
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); } &&
2000 { ac_try
='test -z "$ac_c_werror_flag"
2001 || test ! -s conftest.err'
2002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }; } &&
2007 { ac_try
='test -s conftest.$ac_objext'
2008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012 (exit $ac_status); }; }; then
2015 echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.
$ac_ext >&5
2020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2022 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2023 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2024 if test "$ac_test_CFLAGS" = set; then
2025 CFLAGS
=$ac_save_CFLAGS
2026 elif test $ac_cv_prog_cc_g = yes; then
2027 if test "$GCC" = yes; then
2033 if test "$GCC" = yes; then
2039 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2040 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2041 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2042 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 ac_cv_prog_cc_stdc
=no
2046 cat >conftest.
$ac_ext <<_ACEOF
2049 cat confdefs.h
>>conftest.
$ac_ext
2050 cat >>conftest.
$ac_ext <<_ACEOF
2051 /* end confdefs.h. */
2054 #include <sys/types.h>
2055 #include <sys/stat.h>
2056 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2057 struct buf { int x; };
2058 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2059 static char *e (p, i)
2065 static char *f (char * (*g) (char **, int), char **p, ...)
2070 s = g (p, va_arg (v,int));
2075 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2076 function prototypes and stuff, but not '\xHH' hex character constants.
2077 These don't provoke an error unfortunately, instead are silently treated
2078 as 'x'. The following induces an error, until -std1 is added to get
2079 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2080 array size at least. It's necessary to write '\x00'==0 to get something
2081 that's true only with -std1. */
2082 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2084 int test (int i, double x);
2085 struct s1 {int (*f) (int a);};
2086 struct s2 {int (*f) (double a);};
2087 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2093 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2098 # Don't try gcc -ansi; that turns off useful extensions and
2099 # breaks some systems' header files.
2100 # AIX -qlanglvl=ansi
2101 # Ultrix and OSF/1 -std1
2102 # HP-UX 10.20 and later -Ae
2103 # HP-UX older versions -Aa -D_HPUX_SOURCE
2104 # SVR4 -Xc -D__EXTENSIONS__
2105 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2107 CC
="$ac_save_CC $ac_arg"
2108 rm -f conftest.
$ac_objext
2109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2110 (eval $ac_compile) 2>conftest.er1
2112 grep -v '^ *+' conftest.er1
>conftest.err
2114 cat conftest.err
>&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); } &&
2117 { ac_try
='test -z "$ac_c_werror_flag"
2118 || test ! -s conftest.err'
2119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }; } &&
2124 { ac_try
='test -s conftest.$ac_objext'
2125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }; }; then
2130 ac_cv_prog_cc_stdc
=$ac_arg
2133 echo "$as_me: failed program was:" >&5
2134 sed 's/^/| /' conftest.
$ac_ext >&5
2137 rm -f conftest.err conftest.
$ac_objext
2139 rm -f conftest.
$ac_ext conftest.
$ac_objext
2144 case "x$ac_cv_prog_cc_stdc" in
2146 echo "$as_me:$LINENO: result: none needed" >&5
2147 echo "${ECHO_T}none needed" >&6 ;;
2149 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2150 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2151 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2154 # Some people use a C++ compiler to compile C. Since we use `exit',
2155 # in C++ we need to declare it. In case someone uses the same compiler
2156 # for both compiling C and C++ we need to have the C++ compiler decide
2157 # the declaration of exit, since it's the most demanding environment.
2158 cat >conftest.
$ac_ext <<_ACEOF
2163 rm -f conftest.
$ac_objext
2164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2165 (eval $ac_compile) 2>conftest.er1
2167 grep -v '^ *+' conftest.er1
>conftest.err
2169 cat conftest.err
>&5
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); } &&
2172 { ac_try
='test -z "$ac_c_werror_flag"
2173 || test ! -s conftest.err'
2174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; } &&
2179 { ac_try
='test -s conftest.$ac_objext'
2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); }; }; then
2185 for ac_declaration
in \
2187 'extern "C" void std::exit (int) throw (); using std::exit;' \
2188 'extern "C" void std::exit (int); using std::exit;' \
2189 'extern "C" void exit (int) throw ();' \
2190 'extern "C" void exit (int);' \
2193 cat >conftest.
$ac_ext <<_ACEOF
2196 cat confdefs.h
>>conftest.
$ac_ext
2197 cat >>conftest.
$ac_ext <<_ACEOF
2198 /* end confdefs.h. */
2209 rm -f conftest.
$ac_objext
2210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2211 (eval $ac_compile) 2>conftest.er1
2213 grep -v '^ *+' conftest.er1
>conftest.err
2215 cat conftest.err
>&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); } &&
2218 { ac_try
='test -z "$ac_c_werror_flag"
2219 || test ! -s conftest.err'
2220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); }; } &&
2225 { ac_try
='test -s conftest.$ac_objext'
2226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); }; }; then
2233 echo "$as_me: failed program was:" >&5
2234 sed 's/^/| /' conftest.
$ac_ext >&5
2238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2239 cat >conftest.
$ac_ext <<_ACEOF
2242 cat confdefs.h
>>conftest.
$ac_ext
2243 cat >>conftest.
$ac_ext <<_ACEOF
2244 /* end confdefs.h. */
2254 rm -f conftest.
$ac_objext
2255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2256 (eval $ac_compile) 2>conftest.er1
2258 grep -v '^ *+' conftest.er1
>conftest.err
2260 cat conftest.err
>&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); } &&
2263 { ac_try
='test -z "$ac_c_werror_flag"
2264 || test ! -s conftest.err'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; } &&
2270 { ac_try
='test -s conftest.$ac_objext'
2271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; }; then
2278 echo "$as_me: failed program was:" >&5
2279 sed 's/^/| /' conftest.
$ac_ext >&5
2282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2285 if test -n "$ac_declaration"; then
2286 echo '#ifdef __cplusplus' >>confdefs.h
2287 echo $ac_declaration >>confdefs.h
2288 echo '#endif' >>confdefs.h
2292 echo "$as_me: failed program was:" >&5
2293 sed 's/^/| /' conftest.
$ac_ext >&5
2296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2298 ac_cpp
='$CPP $CPPFLAGS'
2299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2304 cat >>confdefs.h
<<\_ACEOF
2305 #define _GNU_SOURCE 1
2311 ac_cpp
='$CPP $CPPFLAGS'
2312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2315 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2316 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2317 # On Suns, sometimes $CPP names a directory.
2318 if test -n "$CPP" && test -d "$CPP"; then
2321 if test -z "$CPP"; then
2322 if test "${ac_cv_prog_CPP+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 # Double quotes because CPP needs to be expanded
2326 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2329 for ac_c_preproc_warn_flag
in '' yes
2331 # Use a header file that comes with gcc, so configuring glibc
2332 # with a fresh cross-compiler works.
2333 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2334 # <limits.h> exists even on freestanding compilers.
2335 # On the NeXT, cc -E runs the code through the compiler's parser,
2336 # not just through cpp. "Syntax error" is here to catch this case.
2337 cat >conftest.
$ac_ext <<_ACEOF
2340 cat confdefs.h
>>conftest.
$ac_ext
2341 cat >>conftest.
$ac_ext <<_ACEOF
2342 /* end confdefs.h. */
2344 # include <limits.h>
2346 # include <assert.h>
2350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2351 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2353 grep -v '^ *+' conftest.er1
>conftest.err
2355 cat conftest.err
>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); } >/dev
/null
; then
2358 if test -s conftest.err
; then
2359 ac_cpp_err
=$ac_c_preproc_warn_flag
2360 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2367 if test -z "$ac_cpp_err"; then
2370 echo "$as_me: failed program was:" >&5
2371 sed 's/^/| /' conftest.
$ac_ext >&5
2373 # Broken: fails on valid input.
2376 rm -f conftest.err conftest.
$ac_ext
2378 # OK, works on sane cases. Now check whether non-existent headers
2379 # can be detected and how.
2380 cat >conftest.
$ac_ext <<_ACEOF
2383 cat confdefs.h
>>conftest.
$ac_ext
2384 cat >>conftest.
$ac_ext <<_ACEOF
2385 /* end confdefs.h. */
2386 #include <ac_nonexistent.h>
2388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2389 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2391 grep -v '^ *+' conftest.er1
>conftest.err
2393 cat conftest.err
>&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); } >/dev
/null
; then
2396 if test -s conftest.err
; then
2397 ac_cpp_err
=$ac_c_preproc_warn_flag
2398 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2405 if test -z "$ac_cpp_err"; then
2406 # Broken: success on invalid input.
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.
$ac_ext >&5
2412 # Passes both tests.
2416 rm -f conftest.err conftest.
$ac_ext
2419 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2420 rm -f conftest.err conftest.
$ac_ext
2421 if $ac_preproc_ok; then
2433 echo "$as_me:$LINENO: result: $CPP" >&5
2434 echo "${ECHO_T}$CPP" >&6
2436 for ac_c_preproc_warn_flag
in '' yes
2438 # Use a header file that comes with gcc, so configuring glibc
2439 # with a fresh cross-compiler works.
2440 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2441 # <limits.h> exists even on freestanding compilers.
2442 # On the NeXT, cc -E runs the code through the compiler's parser,
2443 # not just through cpp. "Syntax error" is here to catch this case.
2444 cat >conftest.
$ac_ext <<_ACEOF
2447 cat confdefs.h
>>conftest.
$ac_ext
2448 cat >>conftest.
$ac_ext <<_ACEOF
2449 /* end confdefs.h. */
2451 # include <limits.h>
2453 # include <assert.h>
2457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2458 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2460 grep -v '^ *+' conftest.er1
>conftest.err
2462 cat conftest.err
>&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); } >/dev
/null
; then
2465 if test -s conftest.err
; then
2466 ac_cpp_err
=$ac_c_preproc_warn_flag
2467 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2474 if test -z "$ac_cpp_err"; then
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.
$ac_ext >&5
2480 # Broken: fails on valid input.
2483 rm -f conftest.err conftest.
$ac_ext
2485 # OK, works on sane cases. Now check whether non-existent headers
2486 # can be detected and how.
2487 cat >conftest.
$ac_ext <<_ACEOF
2490 cat confdefs.h
>>conftest.
$ac_ext
2491 cat >>conftest.
$ac_ext <<_ACEOF
2492 /* end confdefs.h. */
2493 #include <ac_nonexistent.h>
2495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2496 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2498 grep -v '^ *+' conftest.er1
>conftest.err
2500 cat conftest.err
>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); } >/dev
/null
; then
2503 if test -s conftest.err
; then
2504 ac_cpp_err
=$ac_c_preproc_warn_flag
2505 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2512 if test -z "$ac_cpp_err"; then
2513 # Broken: success on invalid input.
2516 echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.
$ac_ext >&5
2519 # Passes both tests.
2523 rm -f conftest.err conftest.
$ac_ext
2526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2527 rm -f conftest.err conftest.
$ac_ext
2528 if $ac_preproc_ok; then
2531 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2532 See \`config.log' for more details." >&5
2533 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2534 See \`config.log' for more details." >&2;}
2535 { (exit 1); exit 1; }; }
2539 ac_cpp
='$CPP $CPPFLAGS'
2540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2545 echo "$as_me:$LINENO: checking for egrep" >&5
2546 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2547 if test "${ac_cv_prog_egrep+set}" = set; then
2548 echo $ECHO_N "(cached) $ECHO_C" >&6
2550 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2551 then ac_cv_prog_egrep
='grep -E'
2552 else ac_cv_prog_egrep
='egrep'
2555 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2556 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2557 EGREP
=$ac_cv_prog_egrep
2561 echo "$as_me:$LINENO: checking for AIX" >&5
2562 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2563 cat >conftest.
$ac_ext <<_ACEOF
2566 cat confdefs.h
>>conftest.
$ac_ext
2567 cat >>conftest.
$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2575 $EGREP "yes" >/dev
/null
2>&1; then
2576 echo "$as_me:$LINENO: result: yes" >&5
2577 echo "${ECHO_T}yes" >&6
2578 cat >>confdefs.h
<<\_ACEOF
2579 #define _ALL_SOURCE 1
2583 echo "$as_me:$LINENO: result: no" >&5
2584 echo "${ECHO_T}no" >&6
2589 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2590 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2591 if test "${ac_cv_search_strerror+set}" = set; then
2592 echo $ECHO_N "(cached) $ECHO_C" >&6
2594 ac_func_search_save_LIBS
=$LIBS
2595 ac_cv_search_strerror
=no
2596 cat >conftest.
$ac_ext <<_ACEOF
2599 cat confdefs.h
>>conftest.
$ac_ext
2600 cat >>conftest.
$ac_ext <<_ACEOF
2601 /* end confdefs.h. */
2603 /* Override any gcc2 internal prototype to avoid an error. */
2607 /* We use char because int might match the return type of a gcc2
2608 builtin and then its argument prototype would still apply. */
2618 rm -f conftest.
$ac_objext conftest
$ac_exeext
2619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2620 (eval $ac_link) 2>conftest.er1
2622 grep -v '^ *+' conftest.er1
>conftest.err
2624 cat conftest.err
>&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); } &&
2627 { ac_try
='test -z "$ac_c_werror_flag"
2628 || test ! -s conftest.err'
2629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); }; } &&
2634 { ac_try
='test -s conftest$ac_exeext'
2635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; }; then
2640 ac_cv_search_strerror
="none required"
2642 echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.
$ac_ext >&5
2646 rm -f conftest.err conftest.
$ac_objext \
2647 conftest
$ac_exeext conftest.
$ac_ext
2648 if test "$ac_cv_search_strerror" = no
; then
2649 for ac_lib
in cposix
; do
2650 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2651 cat >conftest.
$ac_ext <<_ACEOF
2654 cat confdefs.h
>>conftest.
$ac_ext
2655 cat >>conftest.
$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2658 /* Override any gcc2 internal prototype to avoid an error. */
2662 /* We use char because int might match the return type of a gcc2
2663 builtin and then its argument prototype would still apply. */
2673 rm -f conftest.
$ac_objext conftest
$ac_exeext
2674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2675 (eval $ac_link) 2>conftest.er1
2677 grep -v '^ *+' conftest.er1
>conftest.err
2679 cat conftest.err
>&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); } &&
2682 { ac_try
='test -z "$ac_c_werror_flag"
2683 || test ! -s conftest.err'
2684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); }; } &&
2689 { ac_try
='test -s conftest$ac_exeext'
2690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); }; }; then
2695 ac_cv_search_strerror
="-l$ac_lib"
2698 echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.
$ac_ext >&5
2702 rm -f conftest.err conftest.
$ac_objext \
2703 conftest
$ac_exeext conftest.
$ac_ext
2706 LIBS
=$ac_func_search_save_LIBS
2708 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2709 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2710 if test "$ac_cv_search_strerror" != no
; then
2711 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2718 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2719 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2720 if test "${am_cv_prog_cc_stdc+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 am_cv_prog_cc_stdc
=no
2725 # Don't try gcc -ansi; that turns off useful extensions and
2726 # breaks some systems' header files.
2727 # AIX -qlanglvl=ansi
2728 # Ultrix and OSF/1 -std1
2729 # HP-UX 10.20 and later -Ae
2730 # HP-UX older versions -Aa -D_HPUX_SOURCE
2731 # SVR4 -Xc -D__EXTENSIONS__
2732 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2734 CC
="$ac_save_CC $ac_arg"
2735 cat >conftest.
$ac_ext <<_ACEOF
2738 cat confdefs.h
>>conftest.
$ac_ext
2739 cat >>conftest.
$ac_ext <<_ACEOF
2740 /* end confdefs.h. */
2743 #include <sys/types.h>
2744 #include <sys/stat.h>
2745 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2746 struct buf { int x; };
2747 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2748 static char *e (p, i)
2754 static char *f (char * (*g) (char **, int), char **p, ...)
2759 s = g (p, va_arg (v,int));
2763 int test (int i, double x);
2764 struct s1 {int (*f) (int a);};
2765 struct s2 {int (*f) (double a);};
2766 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2774 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2780 rm -f conftest.
$ac_objext
2781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2782 (eval $ac_compile) 2>conftest.er1
2784 grep -v '^ *+' conftest.er1
>conftest.err
2786 cat conftest.err
>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); } &&
2789 { ac_try
='test -z "$ac_c_werror_flag"
2790 || test ! -s conftest.err'
2791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }; } &&
2796 { ac_try
='test -s conftest.$ac_objext'
2797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); }; }; then
2802 am_cv_prog_cc_stdc
="$ac_arg"; break
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.
$ac_ext >&5
2808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2814 if test -z "$am_cv_prog_cc_stdc"; then
2815 echo "$as_me:$LINENO: result: none needed" >&5
2816 echo "${ECHO_T}none needed" >&6
2818 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2819 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2821 case "x$am_cv_prog_cc_stdc" in
2823 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2828 for ac_dir
in `cd $srcdir;pwd`/..
$srcdir/`cd $srcdir;pwd`/..
; do
2829 if test -f $ac_dir/install-sh
; then
2831 ac_install_sh
="$ac_aux_dir/install-sh -c"
2833 elif test -f $ac_dir/install.sh
; then
2835 ac_install_sh
="$ac_aux_dir/install.sh -c"
2837 elif test -f $ac_dir/shtool
; then
2839 ac_install_sh
="$ac_aux_dir/shtool install -c"
2843 if test -z "$ac_aux_dir"; then
2844 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&5
2845 echo "$as_me: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&2;}
2846 { (exit 1); exit 1; }; }
2848 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2849 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2850 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2852 # Make sure we can run config.sub.
2853 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2854 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2855 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2856 { (exit 1); exit 1; }; }
2858 echo "$as_me:$LINENO: checking build system type" >&5
2859 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2860 if test "${ac_cv_build+set}" = set; then
2861 echo $ECHO_N "(cached) $ECHO_C" >&6
2863 ac_cv_build_alias
=$build_alias
2864 test -z "$ac_cv_build_alias" &&
2865 ac_cv_build_alias
=`$ac_config_guess`
2866 test -z "$ac_cv_build_alias" &&
2867 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2868 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2869 { (exit 1); exit 1; }; }
2870 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2871 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2872 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2873 { (exit 1); exit 1; }; }
2876 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2877 echo "${ECHO_T}$ac_cv_build" >&6
2879 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2880 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2881 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2884 echo "$as_me:$LINENO: checking host system type" >&5
2885 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2886 if test "${ac_cv_host+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 ac_cv_host_alias
=$host_alias
2890 test -z "$ac_cv_host_alias" &&
2891 ac_cv_host_alias
=$ac_cv_build_alias
2892 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2893 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2894 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2895 { (exit 1); exit 1; }; }
2898 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2899 echo "${ECHO_T}$ac_cv_host" >&6
2901 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2902 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2903 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2906 echo "$as_me:$LINENO: checking target system type" >&5
2907 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2908 if test "${ac_cv_target+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
2911 ac_cv_target_alias
=$target_alias
2912 test "x$ac_cv_target_alias" = "x" &&
2913 ac_cv_target_alias
=$ac_cv_host_alias
2914 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2915 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2916 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2917 { (exit 1); exit 1; }; }
2920 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2921 echo "${ECHO_T}$ac_cv_target" >&6
2922 target
=$ac_cv_target
2923 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2924 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2925 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2928 # The aliases save the names the user supplied, while $host etc.
2929 # will get canonicalized.
2930 test -n "$target_alias" &&
2931 test "$program_prefix$program_suffix$program_transform_name" = \
2933 program_prefix
=${target_alias}-
2946 # If we haven't got the data from the intl directory,
2947 # assume NLS is disabled.
2956 if test -f ..
/intl
/config.intl
; then
2957 . ..
/intl
/config.intl
2959 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2960 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2961 if test x
"$USE_NLS" != xyes
; then
2962 echo "$as_me:$LINENO: result: no" >&5
2963 echo "${ECHO_T}no" >&6
2965 echo "$as_me:$LINENO: result: yes" >&5
2966 echo "${ECHO_T}yes" >&6
2968 cat >>confdefs.h
<<\_ACEOF
2969 #define ENABLE_NLS 1
2973 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2974 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2975 # Look for .po and .gmo files in the source directory.
2978 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2979 # If there aren't any .gmo files the shell will give us the
2980 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2982 case "$cat" in *\
**)
2985 # The quadruple backslash is collapsed to a double backslash
2986 # by the backticks, then collapsed again by the double quotes,
2987 # leaving us with one backslash in the sed expression (right
2988 # before the dot that mustn't act as a wildcard).
2989 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2990 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2991 # The user is allowed to set LINGUAS to a list of languages to
2992 # install catalogs for. If it's empty that means "all of them."
2993 if test "x$LINGUAS" = x
; then
2994 CATALOGS
="$CATALOGS $cat"
2995 XLINGUAS
="$XLINGUAS $lang"
2997 case "$LINGUAS" in *$lang*)
2998 CATALOGS
="$CATALOGS $cat"
2999 XLINGUAS
="$XLINGUAS $lang"
3005 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3006 echo "${ECHO_T}$LINGUAS" >&6
3019 localedir
='${datadir}/locale'
3022 if test x
"$USE_NLS" = xyes
; then
3023 CONFIG_ALL
="$CONFIG_ALL all-po"
3024 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3025 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3026 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3031 cat >>confdefs.h
<<_ACEOF
3032 #define PACKAGE "$PACKAGE"
3037 debugdir
=${libdir}/debug
3040 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
3041 if test "${with_separate_debug_dir+set}" = set; then
3042 withval
="$with_separate_debug_dir"
3043 debugdir
="${withval}"
3047 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
3048 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3049 ac_define_dir
=`eval echo $debugdir`
3050 ac_define_dir
=`eval echo $ac_define_dir`
3052 cat >>confdefs.h
<<_ACEOF
3053 #define DEBUGDIR "$ac_define_dir"
3057 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
3059 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
3060 if test "x$prefix" = xNONE
; then
3061 test_prefix
=/usr
/local
3066 test_prefix
=$exec_prefix
3069 "${test_prefix}"|
"${test_prefix}/"*|\
3070 '${exec_prefix}'|
'${exec_prefix}/'*)
3072 cat >>confdefs.h
<<\_ACEOF
3073 #define DEBUGDIR_RELOCATABLE 1
3081 subdirs
="$subdirs doc testsuite"
3084 # Check whether to support alternative target configurations
3085 # Check whether --enable-targets or --disable-targets was given.
3086 if test "${enable_targets+set}" = set; then
3087 enableval
="$enable_targets"
3088 case "${enableval}" in
3089 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
3090 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
3091 { (exit 1); exit 1; }; }
3093 no
) enable_targets
= ;;
3094 *) enable_targets
=$enableval ;;
3098 # Provide defaults for some variables set by the per-host and per-target
3100 gdb_host_obs
=posix-hdep.o
3102 if test "${target}" = "${host}"; then
3108 .
$srcdir/configure.
host
3110 # Accumulate some settings from configure.tgt over all enabled targets
3115 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
3117 if test "$targ_alias" = "all"; then
3120 # Canonicalize the secondary target names.
3121 result
=`$ac_config_sub $targ_alias 2>/dev/null`
3122 if test -n "$result"; then
3128 .
${srcdir}/configure.tgt
3130 # Target-specific object files
3131 for i
in ${gdb_target_obs}; do
3132 case " $TARGET_OBS " in
3135 TARGET_OBS
="$TARGET_OBS ${i}"
3142 if test x
${all_targets} = xtrue
; then
3143 TARGET_OBS
='$(ALL_TARGET_OBS)'
3148 # For other settings, only the main target counts.
3152 targ
=$target; .
${srcdir}/configure.tgt
3154 # Fetch the default architecture and default target vector from BFD.
3155 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
3157 # We only want the first architecture, so strip off the others if
3158 # there is more than one.
3159 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
3161 if test "x$targ_archs" != x
; then
3163 cat >>confdefs.h
<<_ACEOF
3164 #define DEFAULT_BFD_ARCH $targ_archs
3168 if test "x$targ_defvec" != x
; then
3170 cat >>confdefs.h
<<_ACEOF
3171 #define DEFAULT_BFD_VEC $targ_defvec
3176 test "$program_prefix" != NONE
&&
3177 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3178 # Use a double $ so make ignores it.
3179 test "$program_suffix" != NONE
&&
3180 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3181 # Double any \ or $. echo might interpret backslashes.
3182 # By default was `s,x,x', remove it if useless.
3183 cat <<\_ACEOF
>conftest.
sed
3184 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3186 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3190 # The CLI cannot be disabled yet, but may be in the future.
3193 # Check whether --enable-gdbcli or --disable-gdbcli was given.
3194 if test "${enable_gdbcli+set}" = set; then
3195 enableval
="$enable_gdbcli"
3200 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
3201 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
3202 { (exit 1); exit 1; }; } ;;
3204 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
3205 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
3206 { (exit 1); exit 1; }; } ;;
3211 if test x
"$enable_gdbcli" = xyes
; then
3212 if test -d $srcdir/cli
; then
3213 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
3214 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
3215 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
3216 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
3221 # Check whether --enable-gdbmi or --disable-gdbmi was given.
3222 if test "${enable_gdbmi+set}" = set; then
3223 enableval
="$enable_gdbmi"
3228 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
3229 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
3230 { (exit 1); exit 1; }; } ;;
3235 if test x
"$enable_gdbmi" = xyes
; then
3236 if test -d $srcdir/mi
; then
3237 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
3238 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
3239 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
3240 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
3245 # Check whether --enable-tui or --disable-tui was given.
3246 if test "${enable_tui+set}" = set; then
3247 enableval
="$enable_tui"
3252 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
3253 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
3254 { (exit 1); exit 1; }; } ;;
3261 # Check whether --enable-gdbtk or --disable-gdbtk was given.
3262 if test "${enable_gdbtk+set}" = set; then
3263 enableval
="$enable_gdbtk"
3268 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
3269 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
3270 { (exit 1); exit 1; }; } ;;
3273 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
3279 # We unconditionally disable gdbtk tests on selected platforms.
3282 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
3283 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
3287 # Libunwind support.
3288 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3289 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3290 if test "${ac_cv_header_stdc+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3293 cat >conftest.
$ac_ext <<_ACEOF
3296 cat confdefs.h
>>conftest.
$ac_ext
3297 cat >>conftest.
$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3312 rm -f conftest.
$ac_objext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3314 (eval $ac_compile) 2>conftest.er1
3316 grep -v '^ *+' conftest.er1
>conftest.err
3318 cat conftest.err
>&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } &&
3321 { ac_try
='test -z "$ac_c_werror_flag"
3322 || test ! -s conftest.err'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; } &&
3328 { ac_try
='test -s conftest.$ac_objext'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; }; then
3334 ac_cv_header_stdc
=yes
3336 echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.
$ac_ext >&5
3339 ac_cv_header_stdc
=no
3341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3343 if test $ac_cv_header_stdc = yes; then
3344 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3345 cat >conftest.
$ac_ext <<_ACEOF
3348 cat confdefs.h
>>conftest.
$ac_ext
3349 cat >>conftest.
$ac_ext <<_ACEOF
3350 /* end confdefs.h. */
3354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3355 $EGREP "memchr" >/dev
/null
2>&1; then
3358 ac_cv_header_stdc
=no
3364 if test $ac_cv_header_stdc = yes; then
3365 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3366 cat >conftest.
$ac_ext <<_ACEOF
3369 cat confdefs.h
>>conftest.
$ac_ext
3370 cat >>conftest.
$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3376 $EGREP "free" >/dev
/null
2>&1; then
3379 ac_cv_header_stdc
=no
3385 if test $ac_cv_header_stdc = yes; then
3386 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3387 if test "$cross_compiling" = yes; then
3390 cat >conftest.
$ac_ext <<_ACEOF
3393 cat confdefs.h
>>conftest.
$ac_ext
3394 cat >>conftest.
$ac_ext <<_ACEOF
3395 /* end confdefs.h. */
3397 #if ((' ' & 0x0FF) == 0x020)
3398 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3399 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3401 # define ISLOWER(c) \
3402 (('a' <= (c) && (c) <= 'i') \
3403 || ('j' <= (c) && (c) <= 'r') \
3404 || ('s' <= (c) && (c) <= 'z'))
3405 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3408 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3413 for (i = 0; i < 256; i++)
3414 if (XOR (islower (i), ISLOWER (i))
3415 || toupper (i) != TOUPPER (i))
3420 rm -f conftest
$ac_exeext
3421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3422 (eval $ac_link) 2>&5
3424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; }; then
3433 echo "$as_me: program exited with status $ac_status" >&5
3434 echo "$as_me: failed program was:" >&5
3435 sed 's/^/| /' conftest.
$ac_ext >&5
3438 ac_cv_header_stdc
=no
3440 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3444 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3445 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3446 if test $ac_cv_header_stdc = yes; then
3448 cat >>confdefs.h
<<\_ACEOF
3449 #define STDC_HEADERS 1
3454 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3464 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3465 inttypes.h stdint.h unistd.h
3467 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3468 echo "$as_me:$LINENO: checking for $ac_header" >&5
3469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3471 echo $ECHO_N "(cached) $ECHO_C" >&6
3473 cat >conftest.
$ac_ext <<_ACEOF
3476 cat confdefs.h
>>conftest.
$ac_ext
3477 cat >>conftest.
$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3479 $ac_includes_default
3481 #include <$ac_header>
3483 rm -f conftest.
$ac_objext
3484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3485 (eval $ac_compile) 2>conftest.er1
3487 grep -v '^ *+' conftest.er1
>conftest.err
3489 cat conftest.err
>&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); } &&
3492 { ac_try
='test -z "$ac_c_werror_flag"
3493 || test ! -s conftest.err'
3494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }; } &&
3499 { ac_try
='test -s conftest.$ac_objext'
3500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); }; }; then
3505 eval "$as_ac_Header=yes"
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.
$ac_ext >&5
3510 eval "$as_ac_Header=no"
3512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3517 cat >>confdefs.h
<<_ACEOF
3518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3527 # Check whether --with-libunwind or --without-libunwind was given.
3528 if test "${with_libunwind+set}" = set; then
3529 withval
="$with_libunwind"
3530 case "${withval}" in
3531 yes) enable_libunwind
=yes ;;
3532 no
) enable_libunwind
=no
;;
3533 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
3534 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
3535 { (exit 1); exit 1; }; } ;;
3540 for ac_header
in libunwind.h
3542 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3544 echo "$as_me:$LINENO: checking for $ac_header" >&5
3545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3547 echo $ECHO_N "(cached) $ECHO_C" >&6
3549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3552 # Is the header compilable?
3553 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3554 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3555 cat >conftest.
$ac_ext <<_ACEOF
3558 cat confdefs.h
>>conftest.
$ac_ext
3559 cat >>conftest.
$ac_ext <<_ACEOF
3560 /* end confdefs.h. */
3561 $ac_includes_default
3562 #include <$ac_header>
3564 rm -f conftest.
$ac_objext
3565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3566 (eval $ac_compile) 2>conftest.er1
3568 grep -v '^ *+' conftest.er1
>conftest.err
3570 cat conftest.err
>&5
3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); } &&
3573 { ac_try
='test -z "$ac_c_werror_flag"
3574 || test ! -s conftest.err'
3575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); }; } &&
3580 { ac_try
='test -s conftest.$ac_objext'
3581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); }; }; then
3586 ac_header_compiler
=yes
3588 echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.
$ac_ext >&5
3591 ac_header_compiler
=no
3593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3595 echo "${ECHO_T}$ac_header_compiler" >&6
3597 # Is the header present?
3598 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3599 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3600 cat >conftest.
$ac_ext <<_ACEOF
3603 cat confdefs.h
>>conftest.
$ac_ext
3604 cat >>conftest.
$ac_ext <<_ACEOF
3605 /* end confdefs.h. */
3606 #include <$ac_header>
3608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3609 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3611 grep -v '^ *+' conftest.er1
>conftest.err
3613 cat conftest.err
>&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); } >/dev
/null
; then
3616 if test -s conftest.err
; then
3617 ac_cpp_err
=$ac_c_preproc_warn_flag
3618 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3625 if test -z "$ac_cpp_err"; then
3626 ac_header_preproc
=yes
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.
$ac_ext >&5
3631 ac_header_preproc
=no
3633 rm -f conftest.err conftest.
$ac_ext
3634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3635 echo "${ECHO_T}$ac_header_preproc" >&6
3637 # So? What about this header?
3638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3640 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3641 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3643 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3644 ac_header_preproc
=yes
3647 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3648 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3649 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3650 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3651 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3652 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3653 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3654 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3656 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3657 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3658 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3661 ## ------------------------------------------ ##
3662 ## Report this to the AC_PACKAGE_NAME lists. ##
3663 ## ------------------------------------------ ##
3666 sed "s/^/$as_me: WARNING: /" >&2
3669 echo "$as_me:$LINENO: checking for $ac_header" >&5
3670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3672 echo $ECHO_N "(cached) $ECHO_C" >&6
3674 eval "$as_ac_Header=\$ac_header_preproc"
3676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3681 cat >>confdefs.h
<<_ACEOF
3682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3690 for ac_header
in libunwind-ia64.h
3692 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3694 echo "$as_me:$LINENO: checking for $ac_header" >&5
3695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3702 # Is the header compilable?
3703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3705 cat >conftest.
$ac_ext <<_ACEOF
3708 cat confdefs.h
>>conftest.
$ac_ext
3709 cat >>conftest.
$ac_ext <<_ACEOF
3710 /* end confdefs.h. */
3711 $ac_includes_default
3712 #include <$ac_header>
3714 rm -f conftest.
$ac_objext
3715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3716 (eval $ac_compile) 2>conftest.er1
3718 grep -v '^ *+' conftest.er1
>conftest.err
3720 cat conftest.err
>&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); } &&
3723 { ac_try
='test -z "$ac_c_werror_flag"
3724 || test ! -s conftest.err'
3725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); }; } &&
3730 { ac_try
='test -s conftest.$ac_objext'
3731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); }; }; then
3736 ac_header_compiler
=yes
3738 echo "$as_me: failed program was:" >&5
3739 sed 's/^/| /' conftest.
$ac_ext >&5
3741 ac_header_compiler
=no
3743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3744 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3745 echo "${ECHO_T}$ac_header_compiler" >&6
3747 # Is the header present?
3748 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3750 cat >conftest.
$ac_ext <<_ACEOF
3753 cat confdefs.h
>>conftest.
$ac_ext
3754 cat >>conftest.
$ac_ext <<_ACEOF
3755 /* end confdefs.h. */
3756 #include <$ac_header>
3758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3759 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3761 grep -v '^ *+' conftest.er1
>conftest.err
3763 cat conftest.err
>&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } >/dev
/null
; then
3766 if test -s conftest.err
; then
3767 ac_cpp_err
=$ac_c_preproc_warn_flag
3768 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3775 if test -z "$ac_cpp_err"; then
3776 ac_header_preproc
=yes
3778 echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.
$ac_ext >&5
3781 ac_header_preproc
=no
3783 rm -f conftest.err conftest.
$ac_ext
3784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3785 echo "${ECHO_T}$ac_header_preproc" >&6
3787 # So? What about this header?
3788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3790 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3791 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3793 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3794 ac_header_preproc
=yes
3797 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3798 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3799 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3800 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3801 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3802 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3803 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3804 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3806 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3807 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3808 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3811 ## ------------------------------------------ ##
3812 ## Report this to the AC_PACKAGE_NAME lists. ##
3813 ## ------------------------------------------ ##
3816 sed "s/^/$as_me: WARNING: /" >&2
3819 echo "$as_me:$LINENO: checking for $ac_header" >&5
3820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 eval "$as_ac_Header=\$ac_header_preproc"
3826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3831 cat >>confdefs.h
<<_ACEOF
3832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3839 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
3840 enable_libunwind
=yes;
3845 if test x
"$enable_libunwind" = xyes
; then
3847 for ac_header
in libunwind.h
3849 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3851 echo "$as_me:$LINENO: checking for $ac_header" >&5
3852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3859 # Is the header compilable?
3860 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3861 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3862 cat >conftest.
$ac_ext <<_ACEOF
3865 cat confdefs.h
>>conftest.
$ac_ext
3866 cat >>conftest.
$ac_ext <<_ACEOF
3867 /* end confdefs.h. */
3868 $ac_includes_default
3869 #include <$ac_header>
3871 rm -f conftest.
$ac_objext
3872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3873 (eval $ac_compile) 2>conftest.er1
3875 grep -v '^ *+' conftest.er1
>conftest.err
3877 cat conftest.err
>&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); } &&
3880 { ac_try
='test -z "$ac_c_werror_flag"
3881 || test ! -s conftest.err'
3882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); }; } &&
3887 { ac_try
='test -s conftest.$ac_objext'
3888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); }; }; then
3893 ac_header_compiler
=yes
3895 echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.
$ac_ext >&5
3898 ac_header_compiler
=no
3900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3902 echo "${ECHO_T}$ac_header_compiler" >&6
3904 # Is the header present?
3905 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3907 cat >conftest.
$ac_ext <<_ACEOF
3910 cat confdefs.h
>>conftest.
$ac_ext
3911 cat >>conftest.
$ac_ext <<_ACEOF
3912 /* end confdefs.h. */
3913 #include <$ac_header>
3915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3916 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3918 grep -v '^ *+' conftest.er1
>conftest.err
3920 cat conftest.err
>&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } >/dev
/null
; then
3923 if test -s conftest.err
; then
3924 ac_cpp_err
=$ac_c_preproc_warn_flag
3925 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3932 if test -z "$ac_cpp_err"; then
3933 ac_header_preproc
=yes
3935 echo "$as_me: failed program was:" >&5
3936 sed 's/^/| /' conftest.
$ac_ext >&5
3938 ac_header_preproc
=no
3940 rm -f conftest.err conftest.
$ac_ext
3941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3942 echo "${ECHO_T}$ac_header_preproc" >&6
3944 # So? What about this header?
3945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3947 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3948 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3950 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3951 ac_header_preproc
=yes
3954 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3955 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3956 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3957 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3958 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3959 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3960 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3961 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3963 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3964 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3965 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3968 ## ------------------------------------------ ##
3969 ## Report this to the AC_PACKAGE_NAME lists. ##
3970 ## ------------------------------------------ ##
3973 sed "s/^/$as_me: WARNING: /" >&2
3976 echo "$as_me:$LINENO: checking for $ac_header" >&5
3977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3979 echo $ECHO_N "(cached) $ECHO_C" >&6
3981 eval "$as_ac_Header=\$ac_header_preproc"
3983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3988 cat >>confdefs.h
<<_ACEOF
3989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3997 for ac_header
in libunwind-ia64.h
3999 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4001 echo "$as_me:$LINENO: checking for $ac_header" >&5
4002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4009 # Is the header compilable?
4010 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4011 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4012 cat >conftest.
$ac_ext <<_ACEOF
4015 cat confdefs.h
>>conftest.
$ac_ext
4016 cat >>conftest.
$ac_ext <<_ACEOF
4017 /* end confdefs.h. */
4018 $ac_includes_default
4019 #include <$ac_header>
4021 rm -f conftest.
$ac_objext
4022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4023 (eval $ac_compile) 2>conftest.er1
4025 grep -v '^ *+' conftest.er1
>conftest.err
4027 cat conftest.err
>&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try
='test -z "$ac_c_werror_flag"
4031 || test ! -s conftest.err'
4032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); }; } &&
4037 { ac_try
='test -s conftest.$ac_objext'
4038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; }; then
4043 ac_header_compiler
=yes
4045 echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.
$ac_ext >&5
4048 ac_header_compiler
=no
4050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4051 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4052 echo "${ECHO_T}$ac_header_compiler" >&6
4054 # Is the header present?
4055 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4056 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4057 cat >conftest.
$ac_ext <<_ACEOF
4060 cat confdefs.h
>>conftest.
$ac_ext
4061 cat >>conftest.
$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4063 #include <$ac_header>
4065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4066 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4068 grep -v '^ *+' conftest.er1
>conftest.err
4070 cat conftest.err
>&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } >/dev
/null
; then
4073 if test -s conftest.err
; then
4074 ac_cpp_err
=$ac_c_preproc_warn_flag
4075 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4082 if test -z "$ac_cpp_err"; then
4083 ac_header_preproc
=yes
4085 echo "$as_me: failed program was:" >&5
4086 sed 's/^/| /' conftest.
$ac_ext >&5
4088 ac_header_preproc
=no
4090 rm -f conftest.err conftest.
$ac_ext
4091 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4092 echo "${ECHO_T}$ac_header_preproc" >&6
4094 # So? What about this header?
4095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4097 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4098 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4100 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4101 ac_header_preproc
=yes
4104 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4105 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4106 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4107 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4108 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4109 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4110 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4111 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4113 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4114 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4115 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4118 ## ------------------------------------------ ##
4119 ## Report this to the AC_PACKAGE_NAME lists. ##
4120 ## ------------------------------------------ ##
4123 sed "s/^/$as_me: WARNING: /" >&2
4126 echo "$as_me:$LINENO: checking for $ac_header" >&5
4127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4129 echo $ECHO_N "(cached) $ECHO_C" >&6
4131 eval "$as_ac_Header=\$ac_header_preproc"
4133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4138 cat >>confdefs.h
<<_ACEOF
4139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4147 cat >>confdefs.h
<<\_ACEOF
4148 #define HAVE_LIBUNWIND 1
4151 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
4152 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
4153 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
4156 # Profiling support.
4157 # Check whether --enable-profiling or --disable-profiling was given.
4158 if test "${enable_profiling+set}" = set; then
4159 enableval
="$enable_profiling"
4164 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
4165 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
4166 { (exit 1); exit 1; }; } ;;
4174 for ac_func
in monstartup _mcleanup
4176 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4177 echo "$as_me:$LINENO: checking for $ac_func" >&5
4178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4179 if eval "test \"\${$as_ac_var+set}\" = set"; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 cat >conftest.
$ac_ext <<_ACEOF
4185 cat confdefs.h
>>conftest.
$ac_ext
4186 cat >>conftest.
$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4190 #define $ac_func innocuous_$ac_func
4192 /* System header to define __stub macros and hopefully few prototypes,
4193 which can conflict with char $ac_func (); below.
4194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4195 <limits.h> exists even on freestanding compilers. */
4198 # include <limits.h>
4200 # include <assert.h>
4205 /* Override any gcc2 internal prototype to avoid an error. */
4210 /* We use char because int might match the return type of a gcc2
4211 builtin and then its argument prototype would still apply. */
4213 /* The GNU C library defines this for functions which it implements
4214 to always fail with ENOSYS. Some functions are actually named
4215 something starting with __ and the normal name is an alias. */
4216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4219 char (*f) () = $ac_func;
4228 return f != $ac_func;
4233 rm -f conftest.
$ac_objext conftest
$ac_exeext
4234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4235 (eval $ac_link) 2>conftest.er1
4237 grep -v '^ *+' conftest.er1
>conftest.err
4239 cat conftest.err
>&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); } &&
4242 { ac_try
='test -z "$ac_c_werror_flag"
4243 || test ! -s conftest.err'
4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); }; } &&
4249 { ac_try
='test -s conftest$ac_exeext'
4250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); }; }; then
4255 eval "$as_ac_var=yes"
4257 echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.
$ac_ext >&5
4260 eval "$as_ac_var=no"
4262 rm -f conftest.err conftest.
$ac_objext \
4263 conftest
$ac_exeext conftest.
$ac_ext
4265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4267 if test `eval echo '${'$as_ac_var'}'` = yes; then
4268 cat >>confdefs.h
<<_ACEOF
4269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4275 echo "$as_me:$LINENO: checking for _etext" >&5
4276 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
4277 if test "${ac_cv_var__etext+set}" = set; then
4278 echo $ECHO_N "(cached) $ECHO_C" >&6
4280 cat >conftest.
$ac_ext <<_ACEOF
4283 cat confdefs.h
>>conftest.
$ac_ext
4284 cat >>conftest.
$ac_ext <<_ACEOF
4285 /* end confdefs.h. */
4297 rm -f conftest.
$ac_objext conftest
$ac_exeext
4298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4299 (eval $ac_link) 2>conftest.er1
4301 grep -v '^ *+' conftest.er1
>conftest.err
4303 cat conftest.err
>&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } &&
4306 { ac_try
='test -z "$ac_c_werror_flag"
4307 || test ! -s conftest.err'
4308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; } &&
4313 { ac_try
='test -s conftest$ac_exeext'
4314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; }; then
4319 ac_cv_var__etext
=yes
4321 echo "$as_me: failed program was:" >&5
4322 sed 's/^/| /' conftest.
$ac_ext >&5
4326 rm -f conftest.err conftest.
$ac_objext \
4327 conftest
$ac_exeext conftest.
$ac_ext
4329 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
4330 echo "${ECHO_T}$ac_cv_var__etext" >&6
4331 if test $ac_cv_var__etext = yes; then
4333 cat >>confdefs.h
<<\_ACEOF
4334 #define HAVE__ETEXT 1
4338 echo "$as_me:$LINENO: checking for etext" >&5
4339 echo $ECHO_N "checking for etext... $ECHO_C" >&6
4340 if test "${ac_cv_var_etext+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4343 cat >conftest.
$ac_ext <<_ACEOF
4346 cat confdefs.h
>>conftest.
$ac_ext
4347 cat >>conftest.
$ac_ext <<_ACEOF
4348 /* end confdefs.h. */
4360 rm -f conftest.
$ac_objext conftest
$ac_exeext
4361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4362 (eval $ac_link) 2>conftest.er1
4364 grep -v '^ *+' conftest.er1
>conftest.err
4366 cat conftest.err
>&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } &&
4369 { ac_try
='test -z "$ac_c_werror_flag"
4370 || test ! -s conftest.err'
4371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); }; } &&
4376 { ac_try
='test -s conftest$ac_exeext'
4377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; }; then
4384 echo "$as_me: failed program was:" >&5
4385 sed 's/^/| /' conftest.
$ac_ext >&5
4389 rm -f conftest.err conftest.
$ac_objext \
4390 conftest
$ac_exeext conftest.
$ac_ext
4392 echo "$as_me:$LINENO: result: $ac_cv_var_etext" >&5
4393 echo "${ECHO_T}$ac_cv_var_etext" >&6
4394 if test $ac_cv_var_etext = yes; then
4396 cat >>confdefs.h
<<\_ACEOF
4397 #define HAVE_ETEXT 1
4401 if test "$enable_profiling" = yes ; then
4402 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
4403 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
4404 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
4405 { (exit 1); exit 1; }; }
4408 OLD_CFLAGS
="$CFLAGS"
4409 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
4411 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
4412 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
4413 if test "${ac_cv_cc_supports_pg+set}" = set; then
4414 echo $ECHO_N "(cached) $ECHO_C" >&6
4416 cat >conftest.
$ac_ext <<_ACEOF
4419 cat confdefs.h
>>conftest.
$ac_ext
4420 cat >>conftest.
$ac_ext <<_ACEOF
4421 /* end confdefs.h. */
4431 rm -f conftest.
$ac_objext
4432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4433 (eval $ac_compile) 2>conftest.er1
4435 grep -v '^ *+' conftest.er1
>conftest.err
4437 cat conftest.err
>&5
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); } &&
4440 { ac_try
='test -z "$ac_c_werror_flag"
4441 || test ! -s conftest.err'
4442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); }; } &&
4447 { ac_try
='test -s conftest.$ac_objext'
4448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); }; }; then
4453 ac_cv_cc_supports_pg
=yes
4455 echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.
$ac_ext >&5
4458 ac_cv_cc_supports_pg
=no
4460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4462 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
4463 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
4465 if test $ac_cv_cc_supports_pg = no
; then
4466 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
4467 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
4468 { (exit 1); exit 1; }; }
4471 CFLAGS
="$OLD_CFLAGS"
4474 # --------------------- #
4475 # Checks for programs. #
4476 # --------------------- #
4478 for ac_prog
in gawk mawk nawk
awk
4480 # Extract the first word of "$ac_prog", so it can be a program name with args.
4481 set dummy
$ac_prog; ac_word
=$2
4482 echo "$as_me:$LINENO: checking for $ac_word" >&5
4483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4484 if test "${ac_cv_prog_AWK+set}" = set; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4487 if test -n "$AWK"; then
4488 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4494 test -z "$as_dir" && as_dir
=.
4495 for ac_exec_ext
in '' $ac_executable_extensions; do
4496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4497 ac_cv_prog_AWK
="$ac_prog"
4498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 if test -n "$AWK"; then
4508 echo "$as_me:$LINENO: result: $AWK" >&5
4509 echo "${ECHO_T}$AWK" >&6
4511 echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6
4515 test -n "$AWK" && break
4518 # Find a good install program. We prefer a C program (faster),
4519 # so one script is as good as another. But avoid the broken or
4520 # incompatible versions:
4521 # SysV /etc/install, /usr/sbin/install
4522 # SunOS /usr/etc/install
4523 # IRIX /sbin/install
4525 # AmigaOS /C/install, which installs bootblocks on floppy discs
4526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4529 # OS/2's system install, which has a completely different semantic
4530 # ./install, which can be erroneously created by make from ./install.sh.
4531 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4532 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4533 if test -z "$INSTALL"; then
4534 if test "${ac_cv_path_install+set}" = set; then
4535 echo $ECHO_N "(cached) $ECHO_C" >&6
4537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4541 test -z "$as_dir" && as_dir
=.
4542 # Account for people who put trailing slashes in PATH elements.
4544 .
/ | .
// |
/cC
/* | \
4545 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4546 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4549 # OSF1 and SCO ODT 3.0 have their own names for install.
4550 # Don't use installbsd from OSF since it installs stuff as root
4552 for ac_prog
in ginstall scoinst
install; do
4553 for ac_exec_ext
in '' $ac_executable_extensions; do
4554 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4555 if test $ac_prog = install &&
4556 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4557 # AIX install. It has an incompatible calling convention.
4559 elif test $ac_prog = install &&
4560 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4561 # program-specific install script used by HP pwplus--don't use.
4564 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4576 if test "${ac_cv_path_install+set}" = set; then
4577 INSTALL
=$ac_cv_path_install
4579 # As a last resort, use the slow shell script. We don't cache a
4580 # path for INSTALL within a source directory, because that will
4581 # break other packages using the cache if that directory is
4582 # removed, or if the path is relative.
4583 INSTALL
=$ac_install_sh
4586 echo "$as_me:$LINENO: result: $INSTALL" >&5
4587 echo "${ECHO_T}$INSTALL" >&6
4589 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4590 # It thinks the first close brace ends the variable substitution.
4591 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4593 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4595 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4597 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4598 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4600 if test "$LN_S" = "ln -s"; then
4601 echo "$as_me:$LINENO: result: yes" >&5
4602 echo "${ECHO_T}yes" >&6
4604 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4605 echo "${ECHO_T}no, using $LN_S" >&6
4608 if test -n "$ac_tool_prefix"; then
4609 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4610 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4611 echo "$as_me:$LINENO: checking for $ac_word" >&5
4612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4613 if test "${ac_cv_prog_RANLIB+set}" = set; then
4614 echo $ECHO_N "(cached) $ECHO_C" >&6
4616 if test -n "$RANLIB"; then
4617 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4623 test -z "$as_dir" && as_dir
=.
4624 for ac_exec_ext
in '' $ac_executable_extensions; do
4625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4626 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 RANLIB
=$ac_cv_prog_RANLIB
4636 if test -n "$RANLIB"; then
4637 echo "$as_me:$LINENO: result: $RANLIB" >&5
4638 echo "${ECHO_T}$RANLIB" >&6
4640 echo "$as_me:$LINENO: result: no" >&5
4641 echo "${ECHO_T}no" >&6
4645 if test -z "$ac_cv_prog_RANLIB"; then
4646 ac_ct_RANLIB
=$RANLIB
4647 # Extract the first word of "ranlib", so it can be a program name with args.
4648 set dummy ranlib
; ac_word
=$2
4649 echo "$as_me:$LINENO: checking for $ac_word" >&5
4650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4651 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4654 if test -n "$ac_ct_RANLIB"; then
4655 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4661 test -z "$as_dir" && as_dir
=.
4662 for ac_exec_ext
in '' $ac_executable_extensions; do
4663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4664 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4671 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4674 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4675 if test -n "$ac_ct_RANLIB"; then
4676 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4677 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4679 echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6
4683 RANLIB
=$ac_ct_RANLIB
4685 RANLIB
="$ac_cv_prog_RANLIB"
4688 for ac_prog
in 'bison -y' byacc
4690 # Extract the first word of "$ac_prog", so it can be a program name with args.
4691 set dummy
$ac_prog; ac_word
=$2
4692 echo "$as_me:$LINENO: checking for $ac_word" >&5
4693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4694 if test "${ac_cv_prog_YACC+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4697 if test -n "$YACC"; then
4698 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4704 test -z "$as_dir" && as_dir
=.
4705 for ac_exec_ext
in '' $ac_executable_extensions; do
4706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4707 ac_cv_prog_YACC
="$ac_prog"
4708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4716 YACC
=$ac_cv_prog_YACC
4717 if test -n "$YACC"; then
4718 echo "$as_me:$LINENO: result: $YACC" >&5
4719 echo "${ECHO_T}$YACC" >&6
4721 echo "$as_me:$LINENO: result: no" >&5
4722 echo "${ECHO_T}no" >&6
4725 test -n "$YACC" && break
4727 test -n "$YACC" || YACC
="yacc"
4730 if test -n "$ac_tool_prefix"; then
4731 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4732 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4733 echo "$as_me:$LINENO: checking for $ac_word" >&5
4734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4735 if test "${ac_cv_prog_AR+set}" = set; then
4736 echo $ECHO_N "(cached) $ECHO_C" >&6
4738 if test -n "$AR"; then
4739 ac_cv_prog_AR
="$AR" # Let the user override the test.
4741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4745 test -z "$as_dir" && as_dir
=.
4746 for ac_exec_ext
in '' $ac_executable_extensions; do
4747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4748 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4758 if test -n "$AR"; then
4759 echo "$as_me:$LINENO: result: $AR" >&5
4760 echo "${ECHO_T}$AR" >&6
4762 echo "$as_me:$LINENO: result: no" >&5
4763 echo "${ECHO_T}no" >&6
4767 if test -z "$ac_cv_prog_AR"; then
4769 # Extract the first word of "ar", so it can be a program name with args.
4770 set dummy
ar; ac_word
=$2
4771 echo "$as_me:$LINENO: checking for $ac_word" >&5
4772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4773 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4774 echo $ECHO_N "(cached) $ECHO_C" >&6
4776 if test -n "$ac_ct_AR"; then
4777 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir
=.
4784 for ac_exec_ext
in '' $ac_executable_extensions; do
4785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4786 ac_cv_prog_ac_ct_AR
="ar"
4787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4796 if test -n "$ac_ct_AR"; then
4797 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4798 echo "${ECHO_T}$ac_ct_AR" >&6
4800 echo "$as_me:$LINENO: result: no" >&5
4801 echo "${ECHO_T}no" >&6
4809 if test -n "$ac_tool_prefix"; then
4810 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4811 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4812 echo "$as_me:$LINENO: checking for $ac_word" >&5
4813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4814 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4815 echo $ECHO_N "(cached) $ECHO_C" >&6
4817 if test -n "$DLLTOOL"; then
4818 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4824 test -z "$as_dir" && as_dir
=.
4825 for ac_exec_ext
in '' $ac_executable_extensions; do
4826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4827 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 DLLTOOL
=$ac_cv_prog_DLLTOOL
4837 if test -n "$DLLTOOL"; then
4838 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4839 echo "${ECHO_T}$DLLTOOL" >&6
4841 echo "$as_me:$LINENO: result: no" >&5
4842 echo "${ECHO_T}no" >&6
4846 if test -z "$ac_cv_prog_DLLTOOL"; then
4847 ac_ct_DLLTOOL
=$DLLTOOL
4848 # Extract the first word of "dlltool", so it can be a program name with args.
4849 set dummy dlltool
; ac_word
=$2
4850 echo "$as_me:$LINENO: checking for $ac_word" >&5
4851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4852 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4855 if test -n "$ac_ct_DLLTOOL"; then
4856 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4862 test -z "$as_dir" && as_dir
=.
4863 for ac_exec_ext
in '' $ac_executable_extensions; do
4864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4865 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4874 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4875 if test -n "$ac_ct_DLLTOOL"; then
4876 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4877 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4879 echo "$as_me:$LINENO: result: no" >&5
4880 echo "${ECHO_T}no" >&6
4883 DLLTOOL
=$ac_ct_DLLTOOL
4885 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4888 if test -n "$ac_tool_prefix"; then
4889 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4890 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4891 echo "$as_me:$LINENO: checking for $ac_word" >&5
4892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4893 if test "${ac_cv_prog_WINDRES+set}" = set; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4896 if test -n "$WINDRES"; then
4897 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4903 test -z "$as_dir" && as_dir
=.
4904 for ac_exec_ext
in '' $ac_executable_extensions; do
4905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4906 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 WINDRES
=$ac_cv_prog_WINDRES
4916 if test -n "$WINDRES"; then
4917 echo "$as_me:$LINENO: result: $WINDRES" >&5
4918 echo "${ECHO_T}$WINDRES" >&6
4920 echo "$as_me:$LINENO: result: no" >&5
4921 echo "${ECHO_T}no" >&6
4925 if test -z "$ac_cv_prog_WINDRES"; then
4926 ac_ct_WINDRES
=$WINDRES
4927 # Extract the first word of "windres", so it can be a program name with args.
4928 set dummy windres
; ac_word
=$2
4929 echo "$as_me:$LINENO: checking for $ac_word" >&5
4930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4931 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4932 echo $ECHO_N "(cached) $ECHO_C" >&6
4934 if test -n "$ac_ct_WINDRES"; then
4935 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4941 test -z "$as_dir" && as_dir
=.
4942 for ac_exec_ext
in '' $ac_executable_extensions; do
4943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4944 ac_cv_prog_ac_ct_WINDRES
="windres"
4945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4954 if test -n "$ac_ct_WINDRES"; then
4955 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4956 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4962 WINDRES
=$ac_ct_WINDRES
4964 WINDRES
="$ac_cv_prog_WINDRES"
4968 # Needed for GNU/Hurd.
4969 if test -n "$ac_tool_prefix"; then
4970 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
4971 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
4972 echo "$as_me:$LINENO: checking for $ac_word" >&5
4973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4974 if test "${ac_cv_prog_MIG+set}" = set; then
4975 echo $ECHO_N "(cached) $ECHO_C" >&6
4977 if test -n "$MIG"; then
4978 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
4980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4984 test -z "$as_dir" && as_dir
=.
4985 for ac_exec_ext
in '' $ac_executable_extensions; do
4986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4987 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
4988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 if test -n "$MIG"; then
4998 echo "$as_me:$LINENO: result: $MIG" >&5
4999 echo "${ECHO_T}$MIG" >&6
5001 echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6
5006 if test -z "$ac_cv_prog_MIG"; then
5008 # Extract the first word of "mig", so it can be a program name with args.
5009 set dummy mig
; ac_word
=$2
5010 echo "$as_me:$LINENO: checking for $ac_word" >&5
5011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5012 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5015 if test -n "$ac_ct_MIG"; then
5016 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
5018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir
=.
5023 for ac_exec_ext
in '' $ac_executable_extensions; do
5024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5025 ac_cv_prog_ac_ct_MIG
="mig"
5026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
5035 if test -n "$ac_ct_MIG"; then
5036 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
5037 echo "${ECHO_T}$ac_ct_MIG" >&6
5039 echo "$as_me:$LINENO: result: no" >&5
5040 echo "${ECHO_T}no" >&6
5045 MIG
="$ac_cv_prog_MIG"
5049 # ---------------------- #
5050 # Checks for libraries. #
5051 # ---------------------- #
5053 # We might need to link with -lm; most simulators need it.
5055 echo "$as_me:$LINENO: checking for main in -lm" >&5
5056 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
5057 if test "${ac_cv_lib_m_main+set}" = set; then
5058 echo $ECHO_N "(cached) $ECHO_C" >&6
5060 ac_check_lib_save_LIBS
=$LIBS
5062 cat >conftest.
$ac_ext <<_ACEOF
5065 cat confdefs.h
>>conftest.
$ac_ext
5066 cat >>conftest.
$ac_ext <<_ACEOF
5067 /* end confdefs.h. */
5078 rm -f conftest.
$ac_objext conftest
$ac_exeext
5079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5080 (eval $ac_link) 2>conftest.er1
5082 grep -v '^ *+' conftest.er1
>conftest.err
5084 cat conftest.err
>&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); } &&
5087 { ac_try
='test -z "$ac_c_werror_flag"
5088 || test ! -s conftest.err'
5089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); }; } &&
5094 { ac_try
='test -s conftest$ac_exeext'
5095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099 (exit $ac_status); }; }; then
5100 ac_cv_lib_m_main
=yes
5102 echo "$as_me: failed program was:" >&5
5103 sed 's/^/| /' conftest.
$ac_ext >&5
5107 rm -f conftest.err conftest.
$ac_objext \
5108 conftest
$ac_exeext conftest.
$ac_ext
5109 LIBS
=$ac_check_lib_save_LIBS
5111 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
5112 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
5113 if test $ac_cv_lib_m_main = yes; then
5114 cat >>confdefs.h
<<_ACEOF
5123 # We need to link with -lw to get `wctype' on Solaris before Solaris
5124 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
5125 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
5126 # is known to have this problem). Therefore we avoid libw if we can.
5127 echo "$as_me:$LINENO: checking for wctype" >&5
5128 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
5129 if test "${ac_cv_func_wctype+set}" = set; then
5130 echo $ECHO_N "(cached) $ECHO_C" >&6
5132 cat >conftest.
$ac_ext <<_ACEOF
5135 cat confdefs.h
>>conftest.
$ac_ext
5136 cat >>conftest.
$ac_ext <<_ACEOF
5137 /* end confdefs.h. */
5138 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
5139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5140 #define wctype innocuous_wctype
5142 /* System header to define __stub macros and hopefully few prototypes,
5143 which can conflict with char wctype (); below.
5144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5145 <limits.h> exists even on freestanding compilers. */
5148 # include <limits.h>
5150 # include <assert.h>
5155 /* Override any gcc2 internal prototype to avoid an error. */
5160 /* We use char because int might match the return type of a gcc2
5161 builtin and then its argument prototype would still apply. */
5163 /* The GNU C library defines this for functions which it implements
5164 to always fail with ENOSYS. Some functions are actually named
5165 something starting with __ and the normal name is an alias. */
5166 #if defined (__stub_wctype) || defined (__stub___wctype)
5169 char (*f) () = wctype;
5183 rm -f conftest.
$ac_objext conftest
$ac_exeext
5184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5185 (eval $ac_link) 2>conftest.er1
5187 grep -v '^ *+' conftest.er1
>conftest.err
5189 cat conftest.err
>&5
5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); } &&
5192 { ac_try
='test -z "$ac_c_werror_flag"
5193 || test ! -s conftest.err'
5194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); }; } &&
5199 { ac_try
='test -s conftest$ac_exeext'
5200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); }; }; then
5205 ac_cv_func_wctype
=yes
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.
$ac_ext >&5
5210 ac_cv_func_wctype
=no
5212 rm -f conftest.err conftest.
$ac_objext \
5213 conftest
$ac_exeext conftest.
$ac_ext
5215 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
5216 echo "${ECHO_T}$ac_cv_func_wctype" >&6
5217 if test $ac_cv_func_wctype = yes; then
5221 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
5222 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
5223 if test "${ac_cv_lib_w_wctype+set}" = set; then
5224 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 ac_check_lib_save_LIBS
=$LIBS
5228 cat >conftest.
$ac_ext <<_ACEOF
5231 cat confdefs.h
>>conftest.
$ac_ext
5232 cat >>conftest.
$ac_ext <<_ACEOF
5233 /* end confdefs.h. */
5235 /* Override any gcc2 internal prototype to avoid an error. */
5239 /* We use char because int might match the return type of a gcc2
5240 builtin and then its argument prototype would still apply. */
5250 rm -f conftest.
$ac_objext conftest
$ac_exeext
5251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5252 (eval $ac_link) 2>conftest.er1
5254 grep -v '^ *+' conftest.er1
>conftest.err
5256 cat conftest.err
>&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); } &&
5259 { ac_try
='test -z "$ac_c_werror_flag"
5260 || test ! -s conftest.err'
5261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); }; } &&
5266 { ac_try
='test -s conftest$ac_exeext'
5267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }; }; then
5272 ac_cv_lib_w_wctype
=yes
5274 echo "$as_me: failed program was:" >&5
5275 sed 's/^/| /' conftest.
$ac_ext >&5
5277 ac_cv_lib_w_wctype
=no
5279 rm -f conftest.err conftest.
$ac_objext \
5280 conftest
$ac_exeext conftest.
$ac_ext
5281 LIBS
=$ac_check_lib_save_LIBS
5283 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
5284 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
5285 if test $ac_cv_lib_w_wctype = yes; then
5286 cat >>confdefs.h
<<_ACEOF
5297 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
5298 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
5299 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
5300 if test "${ac_cv_search_gethostbyname+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 ac_func_search_save_LIBS
=$LIBS
5304 ac_cv_search_gethostbyname
=no
5305 cat >conftest.
$ac_ext <<_ACEOF
5308 cat confdefs.h
>>conftest.
$ac_ext
5309 cat >>conftest.
$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5312 /* Override any gcc2 internal prototype to avoid an error. */
5316 /* We use char because int might match the return type of a gcc2
5317 builtin and then its argument prototype would still apply. */
5318 char gethostbyname ();
5327 rm -f conftest.
$ac_objext conftest
$ac_exeext
5328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5329 (eval $ac_link) 2>conftest.er1
5331 grep -v '^ *+' conftest.er1
>conftest.err
5333 cat conftest.err
>&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); } &&
5336 { ac_try
='test -z "$ac_c_werror_flag"
5337 || test ! -s conftest.err'
5338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); }; } &&
5343 { ac_try
='test -s conftest$ac_exeext'
5344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); }; }; then
5349 ac_cv_search_gethostbyname
="none required"
5351 echo "$as_me: failed program was:" >&5
5352 sed 's/^/| /' conftest.
$ac_ext >&5
5355 rm -f conftest.err conftest.
$ac_objext \
5356 conftest
$ac_exeext conftest.
$ac_ext
5357 if test "$ac_cv_search_gethostbyname" = no
; then
5358 for ac_lib
in nsl
; do
5359 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5360 cat >conftest.
$ac_ext <<_ACEOF
5363 cat confdefs.h
>>conftest.
$ac_ext
5364 cat >>conftest.
$ac_ext <<_ACEOF
5365 /* end confdefs.h. */
5367 /* Override any gcc2 internal prototype to avoid an error. */
5371 /* We use char because int might match the return type of a gcc2
5372 builtin and then its argument prototype would still apply. */
5373 char gethostbyname ();
5382 rm -f conftest.
$ac_objext conftest
$ac_exeext
5383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5384 (eval $ac_link) 2>conftest.er1
5386 grep -v '^ *+' conftest.er1
>conftest.err
5388 cat conftest.err
>&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); } &&
5391 { ac_try
='test -z "$ac_c_werror_flag"
5392 || test ! -s conftest.err'
5393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397 (exit $ac_status); }; } &&
5398 { ac_try
='test -s conftest$ac_exeext'
5399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403 (exit $ac_status); }; }; then
5404 ac_cv_search_gethostbyname
="-l$ac_lib"
5407 echo "$as_me: failed program was:" >&5
5408 sed 's/^/| /' conftest.
$ac_ext >&5
5411 rm -f conftest.err conftest.
$ac_objext \
5412 conftest
$ac_exeext conftest.
$ac_ext
5415 LIBS
=$ac_func_search_save_LIBS
5417 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
5418 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
5419 if test "$ac_cv_search_gethostbyname" != no
; then
5420 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
5425 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
5426 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
5427 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
5428 if test "${ac_cv_search_socketpair+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 ac_func_search_save_LIBS
=$LIBS
5432 ac_cv_search_socketpair
=no
5433 cat >conftest.
$ac_ext <<_ACEOF
5436 cat confdefs.h
>>conftest.
$ac_ext
5437 cat >>conftest.
$ac_ext <<_ACEOF
5438 /* end confdefs.h. */
5440 /* Override any gcc2 internal prototype to avoid an error. */
5444 /* We use char because int might match the return type of a gcc2
5445 builtin and then its argument prototype would still apply. */
5455 rm -f conftest.
$ac_objext conftest
$ac_exeext
5456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5457 (eval $ac_link) 2>conftest.er1
5459 grep -v '^ *+' conftest.er1
>conftest.err
5461 cat conftest.err
>&5
5462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5463 (exit $ac_status); } &&
5464 { ac_try
='test -z "$ac_c_werror_flag"
5465 || test ! -s conftest.err'
5466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); }; } &&
5471 { ac_try
='test -s conftest$ac_exeext'
5472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476 (exit $ac_status); }; }; then
5477 ac_cv_search_socketpair
="none required"
5479 echo "$as_me: failed program was:" >&5
5480 sed 's/^/| /' conftest.
$ac_ext >&5
5483 rm -f conftest.err conftest.
$ac_objext \
5484 conftest
$ac_exeext conftest.
$ac_ext
5485 if test "$ac_cv_search_socketpair" = no
; then
5486 for ac_lib
in socket
; do
5487 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5488 cat >conftest.
$ac_ext <<_ACEOF
5491 cat confdefs.h
>>conftest.
$ac_ext
5492 cat >>conftest.
$ac_ext <<_ACEOF
5493 /* end confdefs.h. */
5495 /* Override any gcc2 internal prototype to avoid an error. */
5499 /* We use char because int might match the return type of a gcc2
5500 builtin and then its argument prototype would still apply. */
5510 rm -f conftest.
$ac_objext conftest
$ac_exeext
5511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5512 (eval $ac_link) 2>conftest.er1
5514 grep -v '^ *+' conftest.er1
>conftest.err
5516 cat conftest.err
>&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); } &&
5519 { ac_try
='test -z "$ac_c_werror_flag"
5520 || test ! -s conftest.err'
5521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; } &&
5526 { ac_try
='test -s conftest$ac_exeext'
5527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; }; then
5532 ac_cv_search_socketpair
="-l$ac_lib"
5535 echo "$as_me: failed program was:" >&5
5536 sed 's/^/| /' conftest.
$ac_ext >&5
5539 rm -f conftest.err conftest.
$ac_objext \
5540 conftest
$ac_exeext conftest.
$ac_ext
5543 LIBS
=$ac_func_search_save_LIBS
5545 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
5546 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
5547 if test "$ac_cv_search_socketpair" != no
; then
5548 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
5553 # For the TUI, we need enhanced curses functionality.
5555 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
5556 # curses library because the latter might not provide all the
5557 # functionality we need. However, this leads to problems on systems
5558 # where the linker searches /usr/local/lib, but the compiler doesn't
5559 # search /usr/local/include, if ncurses is installed in /usr/local. A
5560 # default installation of ncurses on alpha*-dec-osf* will lead to such
5562 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
5563 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
5564 if test "${ac_cv_search_waddstr+set}" = set; then
5565 echo $ECHO_N "(cached) $ECHO_C" >&6
5567 ac_func_search_save_LIBS
=$LIBS
5568 ac_cv_search_waddstr
=no
5569 cat >conftest.
$ac_ext <<_ACEOF
5572 cat confdefs.h
>>conftest.
$ac_ext
5573 cat >>conftest.
$ac_ext <<_ACEOF
5574 /* end confdefs.h. */
5576 /* Override any gcc2 internal prototype to avoid an error. */
5580 /* We use char because int might match the return type of a gcc2
5581 builtin and then its argument prototype would still apply. */
5591 rm -f conftest.
$ac_objext conftest
$ac_exeext
5592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5593 (eval $ac_link) 2>conftest.er1
5595 grep -v '^ *+' conftest.er1
>conftest.err
5597 cat conftest.err
>&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); } &&
5600 { ac_try
='test -z "$ac_c_werror_flag"
5601 || test ! -s conftest.err'
5602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); }; } &&
5607 { ac_try
='test -s conftest$ac_exeext'
5608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); }; }; then
5613 ac_cv_search_waddstr
="none required"
5615 echo "$as_me: failed program was:" >&5
5616 sed 's/^/| /' conftest.
$ac_ext >&5
5619 rm -f conftest.err conftest.
$ac_objext \
5620 conftest
$ac_exeext conftest.
$ac_ext
5621 if test "$ac_cv_search_waddstr" = no
; then
5622 for ac_lib
in ncurses cursesX curses
; do
5623 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5624 cat >conftest.
$ac_ext <<_ACEOF
5627 cat confdefs.h
>>conftest.
$ac_ext
5628 cat >>conftest.
$ac_ext <<_ACEOF
5629 /* end confdefs.h. */
5631 /* Override any gcc2 internal prototype to avoid an error. */
5635 /* We use char because int might match the return type of a gcc2
5636 builtin and then its argument prototype would still apply. */
5646 rm -f conftest.
$ac_objext conftest
$ac_exeext
5647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5648 (eval $ac_link) 2>conftest.er1
5650 grep -v '^ *+' conftest.er1
>conftest.err
5652 cat conftest.err
>&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); } &&
5655 { ac_try
='test -z "$ac_c_werror_flag"
5656 || test ! -s conftest.err'
5657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); }; } &&
5662 { ac_try
='test -s conftest$ac_exeext'
5663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); }; }; then
5668 ac_cv_search_waddstr
="-l$ac_lib"
5671 echo "$as_me: failed program was:" >&5
5672 sed 's/^/| /' conftest.
$ac_ext >&5
5675 rm -f conftest.err conftest.
$ac_objext \
5676 conftest
$ac_exeext conftest.
$ac_ext
5679 LIBS
=$ac_func_search_save_LIBS
5681 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
5682 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
5683 if test "$ac_cv_search_waddstr" != no
; then
5684 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
5689 # On HP/UX we may need libxpdl for dlgetmodinfo (used by solib-pa64.c).
5690 echo "$as_me:$LINENO: checking for library containing dlgetmodinfo" >&5
5691 echo $ECHO_N "checking for library containing dlgetmodinfo... $ECHO_C" >&6
5692 if test "${ac_cv_search_dlgetmodinfo+set}" = set; then
5693 echo $ECHO_N "(cached) $ECHO_C" >&6
5695 ac_func_search_save_LIBS
=$LIBS
5696 ac_cv_search_dlgetmodinfo
=no
5697 cat >conftest.
$ac_ext <<_ACEOF
5700 cat confdefs.h
>>conftest.
$ac_ext
5701 cat >>conftest.
$ac_ext <<_ACEOF
5702 /* end confdefs.h. */
5704 /* Override any gcc2 internal prototype to avoid an error. */
5708 /* We use char because int might match the return type of a gcc2
5709 builtin and then its argument prototype would still apply. */
5710 char dlgetmodinfo ();
5719 rm -f conftest.
$ac_objext conftest
$ac_exeext
5720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5721 (eval $ac_link) 2>conftest.er1
5723 grep -v '^ *+' conftest.er1
>conftest.err
5725 cat conftest.err
>&5
5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); } &&
5728 { ac_try
='test -z "$ac_c_werror_flag"
5729 || test ! -s conftest.err'
5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); }; } &&
5735 { ac_try
='test -s conftest$ac_exeext'
5736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); }; }; then
5741 ac_cv_search_dlgetmodinfo
="none required"
5743 echo "$as_me: failed program was:" >&5
5744 sed 's/^/| /' conftest.
$ac_ext >&5
5747 rm -f conftest.err conftest.
$ac_objext \
5748 conftest
$ac_exeext conftest.
$ac_ext
5749 if test "$ac_cv_search_dlgetmodinfo" = no
; then
5750 for ac_lib
in dl xpdl
; do
5751 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5752 cat >conftest.
$ac_ext <<_ACEOF
5755 cat confdefs.h
>>conftest.
$ac_ext
5756 cat >>conftest.
$ac_ext <<_ACEOF
5757 /* end confdefs.h. */
5759 /* Override any gcc2 internal prototype to avoid an error. */
5763 /* We use char because int might match the return type of a gcc2
5764 builtin and then its argument prototype would still apply. */
5765 char dlgetmodinfo ();
5774 rm -f conftest.
$ac_objext conftest
$ac_exeext
5775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5776 (eval $ac_link) 2>conftest.er1
5778 grep -v '^ *+' conftest.er1
>conftest.err
5780 cat conftest.err
>&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); } &&
5783 { ac_try
='test -z "$ac_c_werror_flag"
5784 || test ! -s conftest.err'
5785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); }; } &&
5790 { ac_try
='test -s conftest$ac_exeext'
5791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); }; }; then
5796 ac_cv_search_dlgetmodinfo
="-l$ac_lib"
5799 echo "$as_me: failed program was:" >&5
5800 sed 's/^/| /' conftest.
$ac_ext >&5
5803 rm -f conftest.err conftest.
$ac_objext \
5804 conftest
$ac_exeext conftest.
$ac_ext
5807 LIBS
=$ac_func_search_save_LIBS
5809 echo "$as_me:$LINENO: result: $ac_cv_search_dlgetmodinfo" >&5
5810 echo "${ECHO_T}$ac_cv_search_dlgetmodinfo" >&6
5811 if test "$ac_cv_search_dlgetmodinfo" != no
; then
5812 test "$ac_cv_search_dlgetmodinfo" = "none required" || LIBS
="$ac_cv_search_dlgetmodinfo $LIBS"
5817 # Since GDB uses Readline, we need termcap functionality. In many
5818 # cases this will be provided by the curses library, but some systems
5819 # have a seperate termcap library, or no curses library at all.
5823 if test -d $srcdir/libtermcap
; then
5824 LIBS
="../libtermcap/libtermcap.a $LIBS"
5825 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
5828 ac_cv_search_tgetent
="none required"
5831 ac_cv_search_tgetent
="none required"
5832 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
5836 # These are the libraries checked by Readline.
5837 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
5838 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
5839 if test "${ac_cv_search_tgetent+set}" = set; then
5840 echo $ECHO_N "(cached) $ECHO_C" >&6
5842 ac_func_search_save_LIBS
=$LIBS
5843 ac_cv_search_tgetent
=no
5844 cat >conftest.
$ac_ext <<_ACEOF
5847 cat confdefs.h
>>conftest.
$ac_ext
5848 cat >>conftest.
$ac_ext <<_ACEOF
5849 /* end confdefs.h. */
5851 /* Override any gcc2 internal prototype to avoid an error. */
5855 /* We use char because int might match the return type of a gcc2
5856 builtin and then its argument prototype would still apply. */
5866 rm -f conftest.
$ac_objext conftest
$ac_exeext
5867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5868 (eval $ac_link) 2>conftest.er1
5870 grep -v '^ *+' conftest.er1
>conftest.err
5872 cat conftest.err
>&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); } &&
5875 { ac_try
='test -z "$ac_c_werror_flag"
5876 || test ! -s conftest.err'
5877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); }; } &&
5882 { ac_try
='test -s conftest$ac_exeext'
5883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); }; }; then
5888 ac_cv_search_tgetent
="none required"
5890 echo "$as_me: failed program was:" >&5
5891 sed 's/^/| /' conftest.
$ac_ext >&5
5894 rm -f conftest.err conftest.
$ac_objext \
5895 conftest
$ac_exeext conftest.
$ac_ext
5896 if test "$ac_cv_search_tgetent" = no
; then
5897 for ac_lib
in termcap tinfo curses ncurses
; do
5898 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5899 cat >conftest.
$ac_ext <<_ACEOF
5902 cat confdefs.h
>>conftest.
$ac_ext
5903 cat >>conftest.
$ac_ext <<_ACEOF
5904 /* end confdefs.h. */
5906 /* Override any gcc2 internal prototype to avoid an error. */
5910 /* We use char because int might match the return type of a gcc2
5911 builtin and then its argument prototype would still apply. */
5921 rm -f conftest.
$ac_objext conftest
$ac_exeext
5922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5923 (eval $ac_link) 2>conftest.er1
5925 grep -v '^ *+' conftest.er1
>conftest.err
5927 cat conftest.err
>&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } &&
5930 { ac_try
='test -z "$ac_c_werror_flag"
5931 || test ! -s conftest.err'
5932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); }; } &&
5937 { ac_try
='test -s conftest$ac_exeext'
5938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); }; }; then
5943 ac_cv_search_tgetent
="-l$ac_lib"
5946 echo "$as_me: failed program was:" >&5
5947 sed 's/^/| /' conftest.
$ac_ext >&5
5950 rm -f conftest.err conftest.
$ac_objext \
5951 conftest
$ac_exeext conftest.
$ac_ext
5954 LIBS
=$ac_func_search_save_LIBS
5956 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
5957 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
5958 if test "$ac_cv_search_tgetent" != no
; then
5959 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
5964 if test "$ac_cv_search_tgetent" = no
; then
5965 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
5966 echo "$as_me: error: no termcap library found" >&2;}
5967 { (exit 1); exit 1; }; }
5971 # Check whether --with-system-readline or --without-system-readline was given.
5972 if test "${with_system_readline+set}" = set; then
5973 withval
="$with_system_readline"
5977 if test "$with_system_readline" = yes; then
5982 READLINE
='$(READLINE_DIR)/libreadline.a'
5983 READLINE_DEPS
='$(READLINE)'
5984 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
5991 # Check whether --with-expat or --without-expat was given.
5992 if test "${with_expat+set}" = set; then
5993 withval
="$with_expat"
5998 echo "$as_me:$LINENO: checking whether to use expat" >&5
5999 echo $ECHO_N "checking whether to use expat... $ECHO_C" >&6
6000 echo "$as_me:$LINENO: result: $with_expat" >&5
6001 echo "${ECHO_T}$with_expat" >&6
6003 if test "${with_expat}" = no
; then
6004 { echo "$as_me:$LINENO: WARNING: expat support disabled; some features may be unavailable." >&5
6005 echo "$as_me: WARNING: expat support disabled; some features may be unavailable." >&2;}
6009 if test "X$prefix" = "XNONE"; then
6010 acl_final_prefix
="$ac_default_prefix"
6012 acl_final_prefix
="$prefix"
6014 if test "X$exec_prefix" = "XNONE"; then
6015 acl_final_exec_prefix
='${prefix}'
6017 acl_final_exec_prefix
="$exec_prefix"
6019 acl_save_prefix
="$prefix"
6020 prefix
="$acl_final_prefix"
6021 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6022 prefix
="$acl_save_prefix"
6025 # Check whether --with-gnu-ld or --without-gnu-ld was given.
6026 if test "${with_gnu_ld+set}" = set; then
6027 withval
="$with_gnu_ld"
6028 test "$withval" = no || with_gnu_ld
=yes
6032 # Prepare PATH_SEPARATOR.
6033 # The user is always right.
6034 if test "${PATH_SEPARATOR+set}" != set; then
6035 echo "#! /bin/sh" >conf$$.sh
6036 echo "exit 0" >>conf$$.sh
6038 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6046 if test "$GCC" = yes; then
6047 # Check if gcc -print-prog-name=ld gives a path.
6048 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
6049 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
6052 # gcc leaves a trailing carriage return which upsets mingw
6053 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6055 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6058 # Accept absolute paths.
6059 [\\/]* |
[A-Za-z
]:[\\/]*)
6060 re_direlt
='/[^/][^/]*/\.\./'
6061 # Canonicalize the path of ld
6062 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6063 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6064 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6066 test -z "$LD" && LD
="$ac_prog"
6069 # If it fails, then pretend we aren't using GCC.
6073 # If it is relative, then search for the first ld in PATH.
6077 elif test "$with_gnu_ld" = yes; then
6078 echo "$as_me:$LINENO: checking for GNU ld" >&5
6079 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6081 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6082 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6084 if test "${acl_cv_path_LD+set}" = set; then
6085 echo $ECHO_N "(cached) $ECHO_C" >&6
6087 if test -z "$LD"; then
6088 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6089 for ac_dir
in $PATH; do
6090 test -z "$ac_dir" && ac_dir
=.
6091 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6092 acl_cv_path_LD
="$ac_dir/$ac_prog"
6093 # Check to see if the program is GNU ld. I'd rather use --version,
6094 # but apparently some GNU ld's only accept -v.
6095 # Break only if it was the GNU/non-GNU ld that we prefer.
6096 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
6097 test "$with_gnu_ld" != no
&& break
6099 test "$with_gnu_ld" != yes && break
6105 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
6109 LD
="$acl_cv_path_LD"
6110 if test -n "$LD"; then
6111 echo "$as_me:$LINENO: result: $LD" >&5
6112 echo "${ECHO_T}$LD" >&6
6114 echo "$as_me:$LINENO: result: no" >&5
6115 echo "${ECHO_T}no" >&6
6117 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6118 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6119 { (exit 1); exit 1; }; }
6120 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6121 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6122 if test "${acl_cv_prog_gnu_ld+set}" = set; then
6123 echo $ECHO_N "(cached) $ECHO_C" >&6
6125 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6126 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
6127 acl_cv_prog_gnu_ld
=yes
6129 acl_cv_prog_gnu_ld
=no
6132 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
6133 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
6134 with_gnu_ld
=$acl_cv_prog_gnu_ld
6138 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
6139 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
6140 if test "${acl_cv_rpath+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
6145 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6151 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
6152 echo "${ECHO_T}$acl_cv_rpath" >&6
6154 libext
="$acl_cv_libext"
6155 shlibext
="$acl_cv_shlibext"
6156 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
6157 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
6158 hardcode_direct
="$acl_cv_hardcode_direct"
6159 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
6160 # Check whether --enable-rpath or --disable-rpath was given.
6161 if test "${enable_rpath+set}" = set; then
6162 enableval
="$enable_rpath"
6178 acl_save_prefix
="$prefix"
6179 prefix
="$acl_final_prefix"
6180 acl_save_exec_prefix
="$exec_prefix"
6181 exec_prefix
="$acl_final_exec_prefix"
6183 eval additional_includedir
=\"$includedir\"
6184 eval additional_libdir
=\"$libdir\"
6186 exec_prefix
="$acl_save_exec_prefix"
6187 prefix
="$acl_save_prefix"
6190 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
6191 if test "${with_libexpat_prefix+set}" = set; then
6192 withval
="$with_libexpat_prefix"
6194 if test "X$withval" = "Xno"; then
6197 if test "X$withval" = "X"; then
6199 acl_save_prefix
="$prefix"
6200 prefix
="$acl_final_prefix"
6201 acl_save_exec_prefix
="$exec_prefix"
6202 exec_prefix
="$acl_final_exec_prefix"
6204 eval additional_includedir
=\"$includedir\"
6205 eval additional_libdir
=\"$libdir\"
6207 exec_prefix
="$acl_save_exec_prefix"
6208 prefix
="$acl_save_prefix"
6211 additional_includedir
="$withval/include"
6212 additional_libdir
="$withval/lib"
6222 names_already_handled
=
6223 names_next_round
='expat '
6224 while test -n "$names_next_round"; do
6225 names_this_round
="$names_next_round"
6227 for name
in $names_this_round; do
6229 for n
in $names_already_handled; do
6230 if test "$n" = "$name"; then
6235 if test -z "$already_handled"; then
6236 names_already_handled
="$names_already_handled $name"
6237 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6238 eval value
=\"\
$HAVE_LIB$uppername\"
6239 if test -n "$value"; then
6240 if test "$value" = yes; then
6241 eval value
=\"\
$LIB$uppername\"
6242 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
6243 eval value
=\"\
$LTLIB$uppername\"
6244 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
6253 if test $use_additional = yes; then
6254 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6255 found_dir
="$additional_libdir"
6256 found_so
="$additional_libdir/lib$name.$shlibext"
6257 if test -f "$additional_libdir/lib$name.la"; then
6258 found_la
="$additional_libdir/lib$name.la"
6261 if test -f "$additional_libdir/lib$name.$libext"; then
6262 found_dir
="$additional_libdir"
6263 found_a
="$additional_libdir/lib$name.$libext"
6264 if test -f "$additional_libdir/lib$name.la"; then
6265 found_la
="$additional_libdir/lib$name.la"
6270 if test "X$found_dir" = "X"; then
6271 for x
in $LDFLAGS $LTLIBEXPAT; do
6273 acl_save_prefix
="$prefix"
6274 prefix
="$acl_final_prefix"
6275 acl_save_exec_prefix
="$exec_prefix"
6276 exec_prefix
="$acl_final_exec_prefix"
6278 exec_prefix
="$acl_save_exec_prefix"
6279 prefix
="$acl_save_prefix"
6283 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6284 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6286 found_so
="$dir/lib$name.$shlibext"
6287 if test -f "$dir/lib$name.la"; then
6288 found_la
="$dir/lib$name.la"
6291 if test -f "$dir/lib$name.$libext"; then
6293 found_a
="$dir/lib$name.$libext"
6294 if test -f "$dir/lib$name.la"; then
6295 found_la
="$dir/lib$name.la"
6301 if test "X$found_dir" != "X"; then
6306 if test "X$found_dir" != "X"; then
6307 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
6308 if test "X$found_so" != "X"; then
6309 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6310 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6313 for x
in $ltrpathdirs; do
6314 if test "X$x" = "X$found_dir"; then
6319 if test -z "$haveit"; then
6320 ltrpathdirs
="$ltrpathdirs $found_dir"
6322 if test "$hardcode_direct" = yes; then
6323 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6325 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6326 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6328 for x
in $rpathdirs; do
6329 if test "X$x" = "X$found_dir"; then
6334 if test -z "$haveit"; then
6335 rpathdirs
="$rpathdirs $found_dir"
6339 for x
in $LDFLAGS $LIBEXPAT; do
6341 acl_save_prefix
="$prefix"
6342 prefix
="$acl_final_prefix"
6343 acl_save_exec_prefix
="$exec_prefix"
6344 exec_prefix
="$acl_final_exec_prefix"
6346 exec_prefix
="$acl_save_exec_prefix"
6347 prefix
="$acl_save_prefix"
6349 if test "X$x" = "X-L$found_dir"; then
6354 if test -z "$haveit"; then
6355 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
6357 if test "$hardcode_minus_L" != no
; then
6358 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6360 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
6366 if test "X$found_a" != "X"; then
6367 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
6369 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
6372 additional_includedir
=
6373 case "$found_dir" in
6375 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6376 additional_includedir
="$basedir/include"
6379 if test "X$additional_includedir" != "X"; then
6380 if test "X$additional_includedir" != "X/usr/include"; then
6382 if test "X$additional_includedir" = "X/usr/local/include"; then
6383 if test -n "$GCC"; then
6385 linux
*) haveit
=yes;;
6389 if test -z "$haveit"; then
6390 for x
in $CPPFLAGS $INCEXPAT; do
6392 acl_save_prefix
="$prefix"
6393 prefix
="$acl_final_prefix"
6394 acl_save_exec_prefix
="$exec_prefix"
6395 exec_prefix
="$acl_final_exec_prefix"
6397 exec_prefix
="$acl_save_exec_prefix"
6398 prefix
="$acl_save_prefix"
6400 if test "X$x" = "X-I$additional_includedir"; then
6405 if test -z "$haveit"; then
6406 if test -d "$additional_includedir"; then
6407 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
6413 if test -n "$found_la"; then
6414 save_libdir
="$libdir"
6416 */* |
*\\*) .
"$found_la" ;;
6417 *) .
"./$found_la" ;;
6419 libdir
="$save_libdir"
6420 for dep
in $dependency_libs; do
6423 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6424 if test "X$additional_libdir" != "X/usr/lib"; then
6426 if test "X$additional_libdir" = "X/usr/local/lib"; then
6427 if test -n "$GCC"; then
6429 linux
*) haveit
=yes;;
6433 if test -z "$haveit"; then
6435 for x
in $LDFLAGS $LIBEXPAT; do
6437 acl_save_prefix
="$prefix"
6438 prefix
="$acl_final_prefix"
6439 acl_save_exec_prefix
="$exec_prefix"
6440 exec_prefix
="$acl_final_exec_prefix"
6442 exec_prefix
="$acl_save_exec_prefix"
6443 prefix
="$acl_save_prefix"
6445 if test "X$x" = "X-L$additional_libdir"; then
6450 if test -z "$haveit"; then
6451 if test -d "$additional_libdir"; then
6452 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
6456 for x
in $LDFLAGS $LTLIBEXPAT; do
6458 acl_save_prefix
="$prefix"
6459 prefix
="$acl_final_prefix"
6460 acl_save_exec_prefix
="$exec_prefix"
6461 exec_prefix
="$acl_final_exec_prefix"
6463 exec_prefix
="$acl_save_exec_prefix"
6464 prefix
="$acl_save_prefix"
6466 if test "X$x" = "X-L$additional_libdir"; then
6471 if test -z "$haveit"; then
6472 if test -d "$additional_libdir"; then
6473 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
6480 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6481 if test "$enable_rpath" != no
; then
6483 for x
in $rpathdirs; do
6484 if test "X$x" = "X$dir"; then
6489 if test -z "$haveit"; then
6490 rpathdirs
="$rpathdirs $dir"
6493 for x
in $ltrpathdirs; do
6494 if test "X$x" = "X$dir"; then
6499 if test -z "$haveit"; then
6500 ltrpathdirs
="$ltrpathdirs $dir"
6505 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6508 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6511 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
6512 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
6518 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
6519 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
6525 if test "X$rpathdirs" != "X"; then
6526 if test -n "$hardcode_libdir_separator"; then
6528 for found_dir
in $rpathdirs; do
6529 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6531 acl_save_libdir
="$libdir"
6533 eval flag
=\"$hardcode_libdir_flag_spec\"
6534 libdir
="$acl_save_libdir"
6535 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
6537 for found_dir
in $rpathdirs; do
6538 acl_save_libdir
="$libdir"
6540 eval flag
=\"$hardcode_libdir_flag_spec\"
6541 libdir
="$acl_save_libdir"
6542 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
6546 if test "X$ltrpathdirs" != "X"; then
6547 for found_dir
in $ltrpathdirs; do
6548 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
6553 ac_save_CPPFLAGS
="$CPPFLAGS"
6555 for element
in $INCEXPAT; do
6557 for x
in $CPPFLAGS; do
6559 acl_save_prefix
="$prefix"
6560 prefix
="$acl_final_prefix"
6561 acl_save_exec_prefix
="$exec_prefix"
6562 exec_prefix
="$acl_final_exec_prefix"
6564 exec_prefix
="$acl_save_exec_prefix"
6565 prefix
="$acl_save_prefix"
6567 if test "X$x" = "X$element"; then
6572 if test -z "$haveit"; then
6573 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6578 echo "$as_me:$LINENO: checking for libexpat" >&5
6579 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
6580 if test "${ac_cv_libexpat+set}" = set; then
6581 echo $ECHO_N "(cached) $ECHO_C" >&6
6584 ac_save_LIBS
="$LIBS"
6585 LIBS
="$LIBS $LIBEXPAT"
6586 cat >conftest.
$ac_ext <<_ACEOF
6589 cat confdefs.h
>>conftest.
$ac_ext
6590 cat >>conftest.
$ac_ext <<_ACEOF
6591 /* end confdefs.h. */
6596 XML_Parser p = XML_ParserCreate (0);
6601 rm -f conftest.
$ac_objext conftest
$ac_exeext
6602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6603 (eval $ac_link) 2>conftest.er1
6605 grep -v '^ *+' conftest.er1
>conftest.err
6607 cat conftest.err
>&5
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); } &&
6610 { ac_try
='test -z "$ac_c_werror_flag"
6611 || test ! -s conftest.err'
6612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); }; } &&
6617 { ac_try
='test -s conftest$ac_exeext'
6618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 (exit $ac_status); }; }; then
6625 echo "$as_me: failed program was:" >&5
6626 sed 's/^/| /' conftest.
$ac_ext >&5
6630 rm -f conftest.err conftest.
$ac_objext \
6631 conftest
$ac_exeext conftest.
$ac_ext
6632 LIBS
="$ac_save_LIBS"
6635 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
6636 echo "${ECHO_T}$ac_cv_libexpat" >&6
6637 if test "$ac_cv_libexpat" = yes; then
6640 cat >>confdefs.h
<<\_ACEOF
6641 #define HAVE_LIBEXPAT 1
6644 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
6645 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
6646 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
6647 echo "${ECHO_T}$LIBEXPAT" >&6
6650 CPPFLAGS
="$ac_save_CPPFLAGS"
6660 if test "$HAVE_LIBEXPAT" != yes; then
6661 if test "$with_expat" = yes; then
6662 { { echo "$as_me:$LINENO: error: expat is missing or unusable" >&5
6663 echo "$as_me: error: expat is missing or unusable" >&2;}
6664 { (exit 1); exit 1; }; }
6666 { echo "$as_me:$LINENO: WARNING: expat is missing or unusable; some features may be unavailable." >&5
6667 echo "$as_me: WARNING: expat is missing or unusable; some features may be unavailable." >&2;}
6671 LIBS
="$LIBS $LIBEXPAT"
6673 for ac_func
in XML_StopParser
6675 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6676 echo "$as_me:$LINENO: checking for $ac_func" >&5
6677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6678 if eval "test \"\${$as_ac_var+set}\" = set"; then
6679 echo $ECHO_N "(cached) $ECHO_C" >&6
6681 cat >conftest.
$ac_ext <<_ACEOF
6684 cat confdefs.h
>>conftest.
$ac_ext
6685 cat >>conftest.
$ac_ext <<_ACEOF
6686 /* end confdefs.h. */
6687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6689 #define $ac_func innocuous_$ac_func
6691 /* System header to define __stub macros and hopefully few prototypes,
6692 which can conflict with char $ac_func (); below.
6693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6694 <limits.h> exists even on freestanding compilers. */
6697 # include <limits.h>
6699 # include <assert.h>
6704 /* Override any gcc2 internal prototype to avoid an error. */
6709 /* We use char because int might match the return type of a gcc2
6710 builtin and then its argument prototype would still apply. */
6712 /* The GNU C library defines this for functions which it implements
6713 to always fail with ENOSYS. Some functions are actually named
6714 something starting with __ and the normal name is an alias. */
6715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6718 char (*f) () = $ac_func;
6727 return f != $ac_func;
6732 rm -f conftest.
$ac_objext conftest
$ac_exeext
6733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6734 (eval $ac_link) 2>conftest.er1
6736 grep -v '^ *+' conftest.er1
>conftest.err
6738 cat conftest.err
>&5
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); } &&
6741 { ac_try
='test -z "$ac_c_werror_flag"
6742 || test ! -s conftest.err'
6743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747 (exit $ac_status); }; } &&
6748 { ac_try
='test -s conftest$ac_exeext'
6749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); }; }; then
6754 eval "$as_ac_var=yes"
6756 echo "$as_me: failed program was:" >&5
6757 sed 's/^/| /' conftest.
$ac_ext >&5
6759 eval "$as_ac_var=no"
6761 rm -f conftest.err conftest.
$ac_objext \
6762 conftest
$ac_exeext conftest.
$ac_ext
6764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6766 if test `eval echo '${'$as_ac_var'}'` = yes; then
6767 cat >>confdefs.h
<<_ACEOF
6768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6778 # ------------------------- #
6779 # Checks for header files. #
6780 # ------------------------- #
6788 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6789 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6790 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6791 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6795 cat >conftest.
$ac_ext <<_ACEOF
6798 cat confdefs.h
>>conftest.
$ac_ext
6799 cat >>conftest.
$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6801 #include <sys/types.h>
6813 rm -f conftest.
$ac_objext
6814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6815 (eval $ac_compile) 2>conftest.er1
6817 grep -v '^ *+' conftest.er1
>conftest.err
6819 cat conftest.err
>&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } &&
6822 { ac_try
='test -z "$ac_c_werror_flag"
6823 || test ! -s conftest.err'
6824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); }; } &&
6829 { ac_try
='test -s conftest.$ac_objext'
6830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }; }; then
6835 eval "$as_ac_Header=yes"
6837 echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.
$ac_ext >&5
6840 eval "$as_ac_Header=no"
6842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6847 cat >>confdefs.h
<<_ACEOF
6848 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6851 ac_header_dirent
=$ac_hdr; break
6855 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6856 if test $ac_header_dirent = dirent.h
; then
6857 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6858 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6859 if test "${ac_cv_search_opendir+set}" = set; then
6860 echo $ECHO_N "(cached) $ECHO_C" >&6
6862 ac_func_search_save_LIBS
=$LIBS
6863 ac_cv_search_opendir
=no
6864 cat >conftest.
$ac_ext <<_ACEOF
6867 cat confdefs.h
>>conftest.
$ac_ext
6868 cat >>conftest.
$ac_ext <<_ACEOF
6869 /* end confdefs.h. */
6871 /* Override any gcc2 internal prototype to avoid an error. */
6875 /* We use char because int might match the return type of a gcc2
6876 builtin and then its argument prototype would still apply. */
6886 rm -f conftest.
$ac_objext conftest
$ac_exeext
6887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6888 (eval $ac_link) 2>conftest.er1
6890 grep -v '^ *+' conftest.er1
>conftest.err
6892 cat conftest.err
>&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); } &&
6895 { ac_try
='test -z "$ac_c_werror_flag"
6896 || test ! -s conftest.err'
6897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); }; } &&
6902 { ac_try
='test -s conftest$ac_exeext'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); }; }; then
6908 ac_cv_search_opendir
="none required"
6910 echo "$as_me: failed program was:" >&5
6911 sed 's/^/| /' conftest.
$ac_ext >&5
6914 rm -f conftest.err conftest.
$ac_objext \
6915 conftest
$ac_exeext conftest.
$ac_ext
6916 if test "$ac_cv_search_opendir" = no
; then
6917 for ac_lib
in dir
; do
6918 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6919 cat >conftest.
$ac_ext <<_ACEOF
6922 cat confdefs.h
>>conftest.
$ac_ext
6923 cat >>conftest.
$ac_ext <<_ACEOF
6924 /* end confdefs.h. */
6926 /* Override any gcc2 internal prototype to avoid an error. */
6930 /* We use char because int might match the return type of a gcc2
6931 builtin and then its argument prototype would still apply. */
6941 rm -f conftest.
$ac_objext conftest
$ac_exeext
6942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6943 (eval $ac_link) 2>conftest.er1
6945 grep -v '^ *+' conftest.er1
>conftest.err
6947 cat conftest.err
>&5
6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949 (exit $ac_status); } &&
6950 { ac_try
='test -z "$ac_c_werror_flag"
6951 || test ! -s conftest.err'
6952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); }; } &&
6957 { ac_try
='test -s conftest$ac_exeext'
6958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); }; }; then
6963 ac_cv_search_opendir
="-l$ac_lib"
6966 echo "$as_me: failed program was:" >&5
6967 sed 's/^/| /' conftest.
$ac_ext >&5
6970 rm -f conftest.err conftest.
$ac_objext \
6971 conftest
$ac_exeext conftest.
$ac_ext
6974 LIBS
=$ac_func_search_save_LIBS
6976 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6977 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6978 if test "$ac_cv_search_opendir" != no
; then
6979 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6984 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6985 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6986 if test "${ac_cv_search_opendir+set}" = set; then
6987 echo $ECHO_N "(cached) $ECHO_C" >&6
6989 ac_func_search_save_LIBS
=$LIBS
6990 ac_cv_search_opendir
=no
6991 cat >conftest.
$ac_ext <<_ACEOF
6994 cat confdefs.h
>>conftest.
$ac_ext
6995 cat >>conftest.
$ac_ext <<_ACEOF
6996 /* end confdefs.h. */
6998 /* Override any gcc2 internal prototype to avoid an error. */
7002 /* We use char because int might match the return type of a gcc2
7003 builtin and then its argument prototype would still apply. */
7013 rm -f conftest.
$ac_objext conftest
$ac_exeext
7014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7015 (eval $ac_link) 2>conftest.er1
7017 grep -v '^ *+' conftest.er1
>conftest.err
7019 cat conftest.err
>&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); } &&
7022 { ac_try
='test -z "$ac_c_werror_flag"
7023 || test ! -s conftest.err'
7024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); }; } &&
7029 { ac_try
='test -s conftest$ac_exeext'
7030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); }; }; then
7035 ac_cv_search_opendir
="none required"
7037 echo "$as_me: failed program was:" >&5
7038 sed 's/^/| /' conftest.
$ac_ext >&5
7041 rm -f conftest.err conftest.
$ac_objext \
7042 conftest
$ac_exeext conftest.
$ac_ext
7043 if test "$ac_cv_search_opendir" = no
; then
7045 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7046 cat >conftest.
$ac_ext <<_ACEOF
7049 cat confdefs.h
>>conftest.
$ac_ext
7050 cat >>conftest.
$ac_ext <<_ACEOF
7051 /* end confdefs.h. */
7053 /* Override any gcc2 internal prototype to avoid an error. */
7057 /* We use char because int might match the return type of a gcc2
7058 builtin and then its argument prototype would still apply. */
7068 rm -f conftest.
$ac_objext conftest
$ac_exeext
7069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7070 (eval $ac_link) 2>conftest.er1
7072 grep -v '^ *+' conftest.er1
>conftest.err
7074 cat conftest.err
>&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); } &&
7077 { ac_try
='test -z "$ac_c_werror_flag"
7078 || test ! -s conftest.err'
7079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083 (exit $ac_status); }; } &&
7084 { ac_try
='test -s conftest$ac_exeext'
7085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); }; }; then
7090 ac_cv_search_opendir
="-l$ac_lib"
7093 echo "$as_me: failed program was:" >&5
7094 sed 's/^/| /' conftest.
$ac_ext >&5
7097 rm -f conftest.err conftest.
$ac_objext \
7098 conftest
$ac_exeext conftest.
$ac_ext
7101 LIBS
=$ac_func_search_save_LIBS
7103 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7104 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7105 if test "$ac_cv_search_opendir" != no
; then
7106 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
7112 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7113 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7114 if test "${ac_cv_header_stat_broken+set}" = set; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6
7117 cat >conftest.
$ac_ext <<_ACEOF
7120 cat confdefs.h
>>conftest.
$ac_ext
7121 cat >>conftest.
$ac_ext <<_ACEOF
7122 /* end confdefs.h. */
7123 #include <sys/types.h>
7124 #include <sys/stat.h>
7126 #if defined(S_ISBLK) && defined(S_IFDIR)
7127 # if S_ISBLK (S_IFDIR)
7132 #if defined(S_ISBLK) && defined(S_IFCHR)
7133 # if S_ISBLK (S_IFCHR)
7138 #if defined(S_ISLNK) && defined(S_IFREG)
7139 # if S_ISLNK (S_IFREG)
7144 #if defined(S_ISSOCK) && defined(S_IFREG)
7145 # if S_ISSOCK (S_IFREG)
7151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7152 $EGREP "You lose" >/dev
/null
2>&1; then
7153 ac_cv_header_stat_broken
=yes
7155 ac_cv_header_stat_broken
=no
7160 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7161 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7162 if test $ac_cv_header_stat_broken = yes; then
7164 cat >>confdefs.h
<<\_ACEOF
7165 #define STAT_MACROS_BROKEN 1
7170 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7171 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7172 if test "${ac_cv_header_stdc+set}" = set; then
7173 echo $ECHO_N "(cached) $ECHO_C" >&6
7175 cat >conftest.
$ac_ext <<_ACEOF
7178 cat confdefs.h
>>conftest.
$ac_ext
7179 cat >>conftest.
$ac_ext <<_ACEOF
7180 /* end confdefs.h. */
7194 rm -f conftest.
$ac_objext
7195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7196 (eval $ac_compile) 2>conftest.er1
7198 grep -v '^ *+' conftest.er1
>conftest.err
7200 cat conftest.err
>&5
7201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7202 (exit $ac_status); } &&
7203 { ac_try
='test -z "$ac_c_werror_flag"
7204 || test ! -s conftest.err'
7205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); }; } &&
7210 { ac_try
='test -s conftest.$ac_objext'
7211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215 (exit $ac_status); }; }; then
7216 ac_cv_header_stdc
=yes
7218 echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.
$ac_ext >&5
7221 ac_cv_header_stdc
=no
7223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7225 if test $ac_cv_header_stdc = yes; then
7226 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7227 cat >conftest.
$ac_ext <<_ACEOF
7230 cat confdefs.h
>>conftest.
$ac_ext
7231 cat >>conftest.
$ac_ext <<_ACEOF
7232 /* end confdefs.h. */
7236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7237 $EGREP "memchr" >/dev
/null
2>&1; then
7240 ac_cv_header_stdc
=no
7246 if test $ac_cv_header_stdc = yes; then
7247 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7248 cat >conftest.
$ac_ext <<_ACEOF
7251 cat confdefs.h
>>conftest.
$ac_ext
7252 cat >>conftest.
$ac_ext <<_ACEOF
7253 /* end confdefs.h. */
7257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7258 $EGREP "free" >/dev
/null
2>&1; then
7261 ac_cv_header_stdc
=no
7267 if test $ac_cv_header_stdc = yes; then
7268 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7269 if test "$cross_compiling" = yes; then
7272 cat >conftest.
$ac_ext <<_ACEOF
7275 cat confdefs.h
>>conftest.
$ac_ext
7276 cat >>conftest.
$ac_ext <<_ACEOF
7277 /* end confdefs.h. */
7279 #if ((' ' & 0x0FF) == 0x020)
7280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7283 # define ISLOWER(c) \
7284 (('a' <= (c) && (c) <= 'i') \
7285 || ('j' <= (c) && (c) <= 'r') \
7286 || ('s' <= (c) && (c) <= 'z'))
7287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7295 for (i = 0; i < 256; i++)
7296 if (XOR (islower (i), ISLOWER (i))
7297 || toupper (i) != TOUPPER (i))
7302 rm -f conftest
$ac_exeext
7303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7304 (eval $ac_link) 2>&5
7306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7312 (exit $ac_status); }; }; then
7315 echo "$as_me: program exited with status $ac_status" >&5
7316 echo "$as_me: failed program was:" >&5
7317 sed 's/^/| /' conftest.
$ac_ext >&5
7320 ac_cv_header_stdc
=no
7322 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7326 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7327 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7328 if test $ac_cv_header_stdc = yes; then
7330 cat >>confdefs.h
<<\_ACEOF
7331 #define STDC_HEADERS 1
7337 for ac_header
in nlist.h
7339 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7341 echo "$as_me:$LINENO: checking for $ac_header" >&5
7342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7344 echo $ECHO_N "(cached) $ECHO_C" >&6
7346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7349 # Is the header compilable?
7350 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7351 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7352 cat >conftest.
$ac_ext <<_ACEOF
7355 cat confdefs.h
>>conftest.
$ac_ext
7356 cat >>conftest.
$ac_ext <<_ACEOF
7357 /* end confdefs.h. */
7358 $ac_includes_default
7359 #include <$ac_header>
7361 rm -f conftest.
$ac_objext
7362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7363 (eval $ac_compile) 2>conftest.er1
7365 grep -v '^ *+' conftest.er1
>conftest.err
7367 cat conftest.err
>&5
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); } &&
7370 { ac_try
='test -z "$ac_c_werror_flag"
7371 || test ! -s conftest.err'
7372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); }; } &&
7377 { ac_try
='test -s conftest.$ac_objext'
7378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); }; }; then
7383 ac_header_compiler
=yes
7385 echo "$as_me: failed program was:" >&5
7386 sed 's/^/| /' conftest.
$ac_ext >&5
7388 ac_header_compiler
=no
7390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7391 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7392 echo "${ECHO_T}$ac_header_compiler" >&6
7394 # Is the header present?
7395 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7396 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7397 cat >conftest.
$ac_ext <<_ACEOF
7400 cat confdefs.h
>>conftest.
$ac_ext
7401 cat >>conftest.
$ac_ext <<_ACEOF
7402 /* end confdefs.h. */
7403 #include <$ac_header>
7405 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7406 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7408 grep -v '^ *+' conftest.er1
>conftest.err
7410 cat conftest.err
>&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); } >/dev
/null
; then
7413 if test -s conftest.err
; then
7414 ac_cpp_err
=$ac_c_preproc_warn_flag
7415 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7422 if test -z "$ac_cpp_err"; then
7423 ac_header_preproc
=yes
7425 echo "$as_me: failed program was:" >&5
7426 sed 's/^/| /' conftest.
$ac_ext >&5
7428 ac_header_preproc
=no
7430 rm -f conftest.err conftest.
$ac_ext
7431 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7432 echo "${ECHO_T}$ac_header_preproc" >&6
7434 # So? What about this header?
7435 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7437 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7438 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7440 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7441 ac_header_preproc
=yes
7444 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7445 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7446 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7447 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7448 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7449 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7450 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7451 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7453 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7454 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7455 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7458 ## ------------------------------------------ ##
7459 ## Report this to the AC_PACKAGE_NAME lists. ##
7460 ## ------------------------------------------ ##
7463 sed "s/^/$as_me: WARNING: /" >&2
7466 echo "$as_me:$LINENO: checking for $ac_header" >&5
7467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7469 echo $ECHO_N "(cached) $ECHO_C" >&6
7471 eval "$as_ac_Header=\$ac_header_preproc"
7473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7478 cat >>confdefs.h
<<_ACEOF
7479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7487 for ac_header
in link.h
7489 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7490 echo "$as_me:$LINENO: checking for $ac_header" >&5
7491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7493 echo $ECHO_N "(cached) $ECHO_C" >&6
7495 cat >conftest.
$ac_ext <<_ACEOF
7498 cat confdefs.h
>>conftest.
$ac_ext
7499 cat >>conftest.
$ac_ext <<_ACEOF
7500 /* end confdefs.h. */
7501 #if HAVE_SYS_TYPES_H
7502 # include <sys/types.h>
7509 #include <$ac_header>
7511 rm -f conftest.
$ac_objext
7512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7513 (eval $ac_compile) 2>conftest.er1
7515 grep -v '^ *+' conftest.er1
>conftest.err
7517 cat conftest.err
>&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } &&
7520 { ac_try
='test -z "$ac_c_werror_flag"
7521 || test ! -s conftest.err'
7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; } &&
7527 { ac_try
='test -s conftest.$ac_objext'
7528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; }; then
7533 eval "$as_ac_Header=yes"
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.
$ac_ext >&5
7538 eval "$as_ac_Header=no"
7540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7545 cat >>confdefs.h
<<_ACEOF
7546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7554 for ac_header
in machine
/reg.h
7556 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7558 echo "$as_me:$LINENO: checking for $ac_header" >&5
7559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7561 echo $ECHO_N "(cached) $ECHO_C" >&6
7563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7566 # Is the header compilable?
7567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7569 cat >conftest.
$ac_ext <<_ACEOF
7572 cat confdefs.h
>>conftest.
$ac_ext
7573 cat >>conftest.
$ac_ext <<_ACEOF
7574 /* end confdefs.h. */
7575 $ac_includes_default
7576 #include <$ac_header>
7578 rm -f conftest.
$ac_objext
7579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7580 (eval $ac_compile) 2>conftest.er1
7582 grep -v '^ *+' conftest.er1
>conftest.err
7584 cat conftest.err
>&5
7585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586 (exit $ac_status); } &&
7587 { ac_try
='test -z "$ac_c_werror_flag"
7588 || test ! -s conftest.err'
7589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); }; } &&
7594 { ac_try
='test -s conftest.$ac_objext'
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; }; then
7600 ac_header_compiler
=yes
7602 echo "$as_me: failed program was:" >&5
7603 sed 's/^/| /' conftest.
$ac_ext >&5
7605 ac_header_compiler
=no
7607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7609 echo "${ECHO_T}$ac_header_compiler" >&6
7611 # Is the header present?
7612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7614 cat >conftest.
$ac_ext <<_ACEOF
7617 cat confdefs.h
>>conftest.
$ac_ext
7618 cat >>conftest.
$ac_ext <<_ACEOF
7619 /* end confdefs.h. */
7620 #include <$ac_header>
7622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7625 grep -v '^ *+' conftest.er1
>conftest.err
7627 cat conftest.err
>&5
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); } >/dev
/null
; then
7630 if test -s conftest.err
; then
7631 ac_cpp_err
=$ac_c_preproc_warn_flag
7632 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7639 if test -z "$ac_cpp_err"; then
7640 ac_header_preproc
=yes
7642 echo "$as_me: failed program was:" >&5
7643 sed 's/^/| /' conftest.
$ac_ext >&5
7645 ac_header_preproc
=no
7647 rm -f conftest.err conftest.
$ac_ext
7648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7649 echo "${ECHO_T}$ac_header_preproc" >&6
7651 # So? What about this header?
7652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7658 ac_header_preproc
=yes
7661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7675 ## ------------------------------------------ ##
7676 ## Report this to the AC_PACKAGE_NAME lists. ##
7677 ## ------------------------------------------ ##
7680 sed "s/^/$as_me: WARNING: /" >&2
7683 echo "$as_me:$LINENO: checking for $ac_header" >&5
7684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7686 echo $ECHO_N "(cached) $ECHO_C" >&6
7688 eval "$as_ac_Header=\$ac_header_preproc"
7690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7695 cat >>confdefs.h
<<_ACEOF
7696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7705 for ac_header
in poll.h sys
/poll.h
7707 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7709 echo "$as_me:$LINENO: checking for $ac_header" >&5
7710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7712 echo $ECHO_N "(cached) $ECHO_C" >&6
7714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7717 # Is the header compilable?
7718 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7720 cat >conftest.
$ac_ext <<_ACEOF
7723 cat confdefs.h
>>conftest.
$ac_ext
7724 cat >>conftest.
$ac_ext <<_ACEOF
7725 /* end confdefs.h. */
7726 $ac_includes_default
7727 #include <$ac_header>
7729 rm -f conftest.
$ac_objext
7730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7731 (eval $ac_compile) 2>conftest.er1
7733 grep -v '^ *+' conftest.er1
>conftest.err
7735 cat conftest.err
>&5
7736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737 (exit $ac_status); } &&
7738 { ac_try
='test -z "$ac_c_werror_flag"
7739 || test ! -s conftest.err'
7740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); }; } &&
7745 { ac_try
='test -s conftest.$ac_objext'
7746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); }; }; then
7751 ac_header_compiler
=yes
7753 echo "$as_me: failed program was:" >&5
7754 sed 's/^/| /' conftest.
$ac_ext >&5
7756 ac_header_compiler
=no
7758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7760 echo "${ECHO_T}$ac_header_compiler" >&6
7762 # Is the header present?
7763 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7765 cat >conftest.
$ac_ext <<_ACEOF
7768 cat confdefs.h
>>conftest.
$ac_ext
7769 cat >>conftest.
$ac_ext <<_ACEOF
7770 /* end confdefs.h. */
7771 #include <$ac_header>
7773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7774 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7776 grep -v '^ *+' conftest.er1
>conftest.err
7778 cat conftest.err
>&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); } >/dev
/null
; then
7781 if test -s conftest.err
; then
7782 ac_cpp_err
=$ac_c_preproc_warn_flag
7783 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7790 if test -z "$ac_cpp_err"; then
7791 ac_header_preproc
=yes
7793 echo "$as_me: failed program was:" >&5
7794 sed 's/^/| /' conftest.
$ac_ext >&5
7796 ac_header_preproc
=no
7798 rm -f conftest.err conftest.
$ac_ext
7799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7800 echo "${ECHO_T}$ac_header_preproc" >&6
7802 # So? What about this header?
7803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7809 ac_header_preproc
=yes
7812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7826 ## ------------------------------------------ ##
7827 ## Report this to the AC_PACKAGE_NAME lists. ##
7828 ## ------------------------------------------ ##
7831 sed "s/^/$as_me: WARNING: /" >&2
7834 echo "$as_me:$LINENO: checking for $ac_header" >&5
7835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7839 eval "$as_ac_Header=\$ac_header_preproc"
7841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7846 cat >>confdefs.h
<<_ACEOF
7847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7857 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
7859 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7861 echo "$as_me:$LINENO: checking for $ac_header" >&5
7862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7869 # Is the header compilable?
7870 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7871 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7872 cat >conftest.
$ac_ext <<_ACEOF
7875 cat confdefs.h
>>conftest.
$ac_ext
7876 cat >>conftest.
$ac_ext <<_ACEOF
7877 /* end confdefs.h. */
7878 $ac_includes_default
7879 #include <$ac_header>
7881 rm -f conftest.
$ac_objext
7882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7883 (eval $ac_compile) 2>conftest.er1
7885 grep -v '^ *+' conftest.er1
>conftest.err
7887 cat conftest.err
>&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); } &&
7890 { ac_try
='test -z "$ac_c_werror_flag"
7891 || test ! -s conftest.err'
7892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); }; } &&
7897 { ac_try
='test -s conftest.$ac_objext'
7898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 (exit $ac_status); }; }; then
7903 ac_header_compiler
=yes
7905 echo "$as_me: failed program was:" >&5
7906 sed 's/^/| /' conftest.
$ac_ext >&5
7908 ac_header_compiler
=no
7910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7911 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7912 echo "${ECHO_T}$ac_header_compiler" >&6
7914 # Is the header present?
7915 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7916 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7917 cat >conftest.
$ac_ext <<_ACEOF
7920 cat confdefs.h
>>conftest.
$ac_ext
7921 cat >>conftest.
$ac_ext <<_ACEOF
7922 /* end confdefs.h. */
7923 #include <$ac_header>
7925 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7926 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7928 grep -v '^ *+' conftest.er1
>conftest.err
7930 cat conftest.err
>&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); } >/dev
/null
; then
7933 if test -s conftest.err
; then
7934 ac_cpp_err
=$ac_c_preproc_warn_flag
7935 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7942 if test -z "$ac_cpp_err"; then
7943 ac_header_preproc
=yes
7945 echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.
$ac_ext >&5
7948 ac_header_preproc
=no
7950 rm -f conftest.err conftest.
$ac_ext
7951 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7952 echo "${ECHO_T}$ac_header_preproc" >&6
7954 # So? What about this header?
7955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7957 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7958 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7960 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7961 ac_header_preproc
=yes
7964 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7965 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7966 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7967 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7968 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7969 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7970 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7971 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7973 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7974 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7975 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7978 ## ------------------------------------------ ##
7979 ## Report this to the AC_PACKAGE_NAME lists. ##
7980 ## ------------------------------------------ ##
7983 sed "s/^/$as_me: WARNING: /" >&2
7986 echo "$as_me:$LINENO: checking for $ac_header" >&5
7987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7989 echo $ECHO_N "(cached) $ECHO_C" >&6
7991 eval "$as_ac_Header=\$ac_header_preproc"
7993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7994 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7997 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7998 cat >>confdefs.h
<<_ACEOF
7999 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8007 for ac_header
in signal.h
8009 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8011 echo "$as_me:$LINENO: checking for $ac_header" >&5
8012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8014 echo $ECHO_N "(cached) $ECHO_C" >&6
8016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8019 # Is the header compilable?
8020 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8022 cat >conftest.
$ac_ext <<_ACEOF
8025 cat confdefs.h
>>conftest.
$ac_ext
8026 cat >>conftest.
$ac_ext <<_ACEOF
8027 /* end confdefs.h. */
8028 $ac_includes_default
8029 #include <$ac_header>
8031 rm -f conftest.
$ac_objext
8032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8033 (eval $ac_compile) 2>conftest.er1
8035 grep -v '^ *+' conftest.er1
>conftest.err
8037 cat conftest.err
>&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } &&
8040 { ac_try
='test -z "$ac_c_werror_flag"
8041 || test ! -s conftest.err'
8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); }; } &&
8047 { ac_try
='test -s conftest.$ac_objext'
8048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); }; }; then
8053 ac_header_compiler
=yes
8055 echo "$as_me: failed program was:" >&5
8056 sed 's/^/| /' conftest.
$ac_ext >&5
8058 ac_header_compiler
=no
8060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8062 echo "${ECHO_T}$ac_header_compiler" >&6
8064 # Is the header present?
8065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8067 cat >conftest.
$ac_ext <<_ACEOF
8070 cat confdefs.h
>>conftest.
$ac_ext
8071 cat >>conftest.
$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8073 #include <$ac_header>
8075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8076 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8078 grep -v '^ *+' conftest.er1
>conftest.err
8080 cat conftest.err
>&5
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); } >/dev
/null
; then
8083 if test -s conftest.err
; then
8084 ac_cpp_err
=$ac_c_preproc_warn_flag
8085 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8092 if test -z "$ac_cpp_err"; then
8093 ac_header_preproc
=yes
8095 echo "$as_me: failed program was:" >&5
8096 sed 's/^/| /' conftest.
$ac_ext >&5
8098 ac_header_preproc
=no
8100 rm -f conftest.err conftest.
$ac_ext
8101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8102 echo "${ECHO_T}$ac_header_preproc" >&6
8104 # So? What about this header?
8105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8110 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8111 ac_header_preproc
=yes
8114 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8115 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8116 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8117 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8118 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8119 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8120 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8121 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8124 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8125 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8128 ## ------------------------------------------ ##
8129 ## Report this to the AC_PACKAGE_NAME lists. ##
8130 ## ------------------------------------------ ##
8133 sed "s/^/$as_me: WARNING: /" >&2
8136 echo "$as_me:$LINENO: checking for $ac_header" >&5
8137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8139 echo $ECHO_N "(cached) $ECHO_C" >&6
8141 eval "$as_ac_Header=\$ac_header_preproc"
8143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8147 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8148 cat >>confdefs.h
<<_ACEOF
8149 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8157 for ac_header
in stddef.h
8159 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8161 echo "$as_me:$LINENO: checking for $ac_header" >&5
8162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8164 echo $ECHO_N "(cached) $ECHO_C" >&6
8166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8169 # Is the header compilable?
8170 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8171 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8172 cat >conftest.
$ac_ext <<_ACEOF
8175 cat confdefs.h
>>conftest.
$ac_ext
8176 cat >>conftest.
$ac_ext <<_ACEOF
8177 /* end confdefs.h. */
8178 $ac_includes_default
8179 #include <$ac_header>
8181 rm -f conftest.
$ac_objext
8182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8183 (eval $ac_compile) 2>conftest.er1
8185 grep -v '^ *+' conftest.er1
>conftest.err
8187 cat conftest.err
>&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); } &&
8190 { ac_try
='test -z "$ac_c_werror_flag"
8191 || test ! -s conftest.err'
8192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); }; } &&
8197 { ac_try
='test -s conftest.$ac_objext'
8198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202 (exit $ac_status); }; }; then
8203 ac_header_compiler
=yes
8205 echo "$as_me: failed program was:" >&5
8206 sed 's/^/| /' conftest.
$ac_ext >&5
8208 ac_header_compiler
=no
8210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8211 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8212 echo "${ECHO_T}$ac_header_compiler" >&6
8214 # Is the header present?
8215 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8216 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8217 cat >conftest.
$ac_ext <<_ACEOF
8220 cat confdefs.h
>>conftest.
$ac_ext
8221 cat >>conftest.
$ac_ext <<_ACEOF
8222 /* end confdefs.h. */
8223 #include <$ac_header>
8225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8226 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8228 grep -v '^ *+' conftest.er1
>conftest.err
8230 cat conftest.err
>&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); } >/dev
/null
; then
8233 if test -s conftest.err
; then
8234 ac_cpp_err
=$ac_c_preproc_warn_flag
8235 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8242 if test -z "$ac_cpp_err"; then
8243 ac_header_preproc
=yes
8245 echo "$as_me: failed program was:" >&5
8246 sed 's/^/| /' conftest.
$ac_ext >&5
8248 ac_header_preproc
=no
8250 rm -f conftest.err conftest.
$ac_ext
8251 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8252 echo "${ECHO_T}$ac_header_preproc" >&6
8254 # So? What about this header?
8255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8257 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8258 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8260 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8261 ac_header_preproc
=yes
8264 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8265 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8266 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8267 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8268 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8269 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8270 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8271 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8274 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8275 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8278 ## ------------------------------------------ ##
8279 ## Report this to the AC_PACKAGE_NAME lists. ##
8280 ## ------------------------------------------ ##
8283 sed "s/^/$as_me: WARNING: /" >&2
8286 echo "$as_me:$LINENO: checking for $ac_header" >&5
8287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8289 echo $ECHO_N "(cached) $ECHO_C" >&6
8291 eval "$as_ac_Header=\$ac_header_preproc"
8293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8298 cat >>confdefs.h
<<_ACEOF
8299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8307 for ac_header
in stdlib.h
8309 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8311 echo "$as_me:$LINENO: checking for $ac_header" >&5
8312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8314 echo $ECHO_N "(cached) $ECHO_C" >&6
8316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8319 # Is the header compilable?
8320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8322 cat >conftest.
$ac_ext <<_ACEOF
8325 cat confdefs.h
>>conftest.
$ac_ext
8326 cat >>conftest.
$ac_ext <<_ACEOF
8327 /* end confdefs.h. */
8328 $ac_includes_default
8329 #include <$ac_header>
8331 rm -f conftest.
$ac_objext
8332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8333 (eval $ac_compile) 2>conftest.er1
8335 grep -v '^ *+' conftest.er1
>conftest.err
8337 cat conftest.err
>&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); } &&
8340 { ac_try
='test -z "$ac_c_werror_flag"
8341 || test ! -s conftest.err'
8342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); }; } &&
8347 { ac_try
='test -s conftest.$ac_objext'
8348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); }; }; then
8353 ac_header_compiler
=yes
8355 echo "$as_me: failed program was:" >&5
8356 sed 's/^/| /' conftest.
$ac_ext >&5
8358 ac_header_compiler
=no
8360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8362 echo "${ECHO_T}$ac_header_compiler" >&6
8364 # Is the header present?
8365 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8367 cat >conftest.
$ac_ext <<_ACEOF
8370 cat confdefs.h
>>conftest.
$ac_ext
8371 cat >>conftest.
$ac_ext <<_ACEOF
8372 /* end confdefs.h. */
8373 #include <$ac_header>
8375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8376 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8378 grep -v '^ *+' conftest.er1
>conftest.err
8380 cat conftest.err
>&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); } >/dev
/null
; then
8383 if test -s conftest.err
; then
8384 ac_cpp_err
=$ac_c_preproc_warn_flag
8385 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8392 if test -z "$ac_cpp_err"; then
8393 ac_header_preproc
=yes
8395 echo "$as_me: failed program was:" >&5
8396 sed 's/^/| /' conftest.
$ac_ext >&5
8398 ac_header_preproc
=no
8400 rm -f conftest.err conftest.
$ac_ext
8401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8402 echo "${ECHO_T}$ac_header_preproc" >&6
8404 # So? What about this header?
8405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8410 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8411 ac_header_preproc
=yes
8414 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8415 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8416 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8417 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8418 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8419 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8420 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8421 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8424 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8425 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8428 ## ------------------------------------------ ##
8429 ## Report this to the AC_PACKAGE_NAME lists. ##
8430 ## ------------------------------------------ ##
8433 sed "s/^/$as_me: WARNING: /" >&2
8436 echo "$as_me:$LINENO: checking for $ac_header" >&5
8437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8439 echo $ECHO_N "(cached) $ECHO_C" >&6
8441 eval "$as_ac_Header=\$ac_header_preproc"
8443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8447 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8448 cat >>confdefs.h
<<_ACEOF
8449 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8457 for ac_header
in stdint.h
8459 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8461 echo "$as_me:$LINENO: checking for $ac_header" >&5
8462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8464 echo $ECHO_N "(cached) $ECHO_C" >&6
8466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8469 # Is the header compilable?
8470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8472 cat >conftest.
$ac_ext <<_ACEOF
8475 cat confdefs.h
>>conftest.
$ac_ext
8476 cat >>conftest.
$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8478 $ac_includes_default
8479 #include <$ac_header>
8481 rm -f conftest.
$ac_objext
8482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8483 (eval $ac_compile) 2>conftest.er1
8485 grep -v '^ *+' conftest.er1
>conftest.err
8487 cat conftest.err
>&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } &&
8490 { ac_try
='test -z "$ac_c_werror_flag"
8491 || test ! -s conftest.err'
8492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); }; } &&
8497 { ac_try
='test -s conftest.$ac_objext'
8498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); }; }; then
8503 ac_header_compiler
=yes
8505 echo "$as_me: failed program was:" >&5
8506 sed 's/^/| /' conftest.
$ac_ext >&5
8508 ac_header_compiler
=no
8510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8512 echo "${ECHO_T}$ac_header_compiler" >&6
8514 # Is the header present?
8515 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8517 cat >conftest.
$ac_ext <<_ACEOF
8520 cat confdefs.h
>>conftest.
$ac_ext
8521 cat >>conftest.
$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8523 #include <$ac_header>
8525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8528 grep -v '^ *+' conftest.er1
>conftest.err
8530 cat conftest.err
>&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); } >/dev
/null
; then
8533 if test -s conftest.err
; then
8534 ac_cpp_err
=$ac_c_preproc_warn_flag
8535 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8542 if test -z "$ac_cpp_err"; then
8543 ac_header_preproc
=yes
8545 echo "$as_me: failed program was:" >&5
8546 sed 's/^/| /' conftest.
$ac_ext >&5
8548 ac_header_preproc
=no
8550 rm -f conftest.err conftest.
$ac_ext
8551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8552 echo "${ECHO_T}$ac_header_preproc" >&6
8554 # So? What about this header?
8555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8557 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8558 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8560 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8561 ac_header_preproc
=yes
8564 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8565 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8566 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8567 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8568 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8569 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8570 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8571 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8574 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8575 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8578 ## ------------------------------------------ ##
8579 ## Report this to the AC_PACKAGE_NAME lists. ##
8580 ## ------------------------------------------ ##
8583 sed "s/^/$as_me: WARNING: /" >&2
8586 echo "$as_me:$LINENO: checking for $ac_header" >&5
8587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8589 echo $ECHO_N "(cached) $ECHO_C" >&6
8591 eval "$as_ac_Header=\$ac_header_preproc"
8593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8598 cat >>confdefs.h
<<_ACEOF
8599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8609 for ac_header
in string.h memory.h
strings.h
8611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8613 echo "$as_me:$LINENO: checking for $ac_header" >&5
8614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8616 echo $ECHO_N "(cached) $ECHO_C" >&6
8618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8621 # Is the header compilable?
8622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8624 cat >conftest.
$ac_ext <<_ACEOF
8627 cat confdefs.h
>>conftest.
$ac_ext
8628 cat >>conftest.
$ac_ext <<_ACEOF
8629 /* end confdefs.h. */
8630 $ac_includes_default
8631 #include <$ac_header>
8633 rm -f conftest.
$ac_objext
8634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8635 (eval $ac_compile) 2>conftest.er1
8637 grep -v '^ *+' conftest.er1
>conftest.err
8639 cat conftest.err
>&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); } &&
8642 { ac_try
='test -z "$ac_c_werror_flag"
8643 || test ! -s conftest.err'
8644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648 (exit $ac_status); }; } &&
8649 { ac_try
='test -s conftest.$ac_objext'
8650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); }; }; then
8655 ac_header_compiler
=yes
8657 echo "$as_me: failed program was:" >&5
8658 sed 's/^/| /' conftest.
$ac_ext >&5
8660 ac_header_compiler
=no
8662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8664 echo "${ECHO_T}$ac_header_compiler" >&6
8666 # Is the header present?
8667 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8668 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8669 cat >conftest.
$ac_ext <<_ACEOF
8672 cat confdefs.h
>>conftest.
$ac_ext
8673 cat >>conftest.
$ac_ext <<_ACEOF
8674 /* end confdefs.h. */
8675 #include <$ac_header>
8677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8678 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8680 grep -v '^ *+' conftest.er1
>conftest.err
8682 cat conftest.err
>&5
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 (exit $ac_status); } >/dev
/null
; then
8685 if test -s conftest.err
; then
8686 ac_cpp_err
=$ac_c_preproc_warn_flag
8687 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8694 if test -z "$ac_cpp_err"; then
8695 ac_header_preproc
=yes
8697 echo "$as_me: failed program was:" >&5
8698 sed 's/^/| /' conftest.
$ac_ext >&5
8700 ac_header_preproc
=no
8702 rm -f conftest.err conftest.
$ac_ext
8703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8704 echo "${ECHO_T}$ac_header_preproc" >&6
8706 # So? What about this header?
8707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8709 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8710 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8712 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8713 ac_header_preproc
=yes
8716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8720 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8721 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8722 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8723 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8726 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8727 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8730 ## ------------------------------------------ ##
8731 ## Report this to the AC_PACKAGE_NAME lists. ##
8732 ## ------------------------------------------ ##
8735 sed "s/^/$as_me: WARNING: /" >&2
8738 echo "$as_me:$LINENO: checking for $ac_header" >&5
8739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8741 echo $ECHO_N "(cached) $ECHO_C" >&6
8743 eval "$as_ac_Header=\$ac_header_preproc"
8745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8750 cat >>confdefs.h
<<_ACEOF
8751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8759 for ac_header
in sys
/fault.h
8761 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8763 echo "$as_me:$LINENO: checking for $ac_header" >&5
8764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8766 echo $ECHO_N "(cached) $ECHO_C" >&6
8768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8771 # Is the header compilable?
8772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8774 cat >conftest.
$ac_ext <<_ACEOF
8777 cat confdefs.h
>>conftest.
$ac_ext
8778 cat >>conftest.
$ac_ext <<_ACEOF
8779 /* end confdefs.h. */
8780 $ac_includes_default
8781 #include <$ac_header>
8783 rm -f conftest.
$ac_objext
8784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8785 (eval $ac_compile) 2>conftest.er1
8787 grep -v '^ *+' conftest.er1
>conftest.err
8789 cat conftest.err
>&5
8790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791 (exit $ac_status); } &&
8792 { ac_try
='test -z "$ac_c_werror_flag"
8793 || test ! -s conftest.err'
8794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 (exit $ac_status); }; } &&
8799 { ac_try
='test -s conftest.$ac_objext'
8800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); }; }; then
8805 ac_header_compiler
=yes
8807 echo "$as_me: failed program was:" >&5
8808 sed 's/^/| /' conftest.
$ac_ext >&5
8810 ac_header_compiler
=no
8812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8813 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8814 echo "${ECHO_T}$ac_header_compiler" >&6
8816 # Is the header present?
8817 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8818 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8819 cat >conftest.
$ac_ext <<_ACEOF
8822 cat confdefs.h
>>conftest.
$ac_ext
8823 cat >>conftest.
$ac_ext <<_ACEOF
8824 /* end confdefs.h. */
8825 #include <$ac_header>
8827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8828 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8830 grep -v '^ *+' conftest.er1
>conftest.err
8832 cat conftest.err
>&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); } >/dev
/null
; then
8835 if test -s conftest.err
; then
8836 ac_cpp_err
=$ac_c_preproc_warn_flag
8837 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8844 if test -z "$ac_cpp_err"; then
8845 ac_header_preproc
=yes
8847 echo "$as_me: failed program was:" >&5
8848 sed 's/^/| /' conftest.
$ac_ext >&5
8850 ac_header_preproc
=no
8852 rm -f conftest.err conftest.
$ac_ext
8853 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8854 echo "${ECHO_T}$ac_header_preproc" >&6
8856 # So? What about this header?
8857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8859 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8860 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8862 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8863 ac_header_preproc
=yes
8866 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8867 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8868 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8869 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8870 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8871 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8872 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8873 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8876 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8877 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8880 ## ------------------------------------------ ##
8881 ## Report this to the AC_PACKAGE_NAME lists. ##
8882 ## ------------------------------------------ ##
8885 sed "s/^/$as_me: WARNING: /" >&2
8888 echo "$as_me:$LINENO: checking for $ac_header" >&5
8889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8891 echo $ECHO_N "(cached) $ECHO_C" >&6
8893 eval "$as_ac_Header=\$ac_header_preproc"
8895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8900 cat >>confdefs.h
<<_ACEOF
8901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8909 for ac_header
in sys
/file.h
8911 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8913 echo "$as_me:$LINENO: checking for $ac_header" >&5
8914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8916 echo $ECHO_N "(cached) $ECHO_C" >&6
8918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8921 # Is the header compilable?
8922 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8923 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8924 cat >conftest.
$ac_ext <<_ACEOF
8927 cat confdefs.h
>>conftest.
$ac_ext
8928 cat >>conftest.
$ac_ext <<_ACEOF
8929 /* end confdefs.h. */
8930 $ac_includes_default
8931 #include <$ac_header>
8933 rm -f conftest.
$ac_objext
8934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8935 (eval $ac_compile) 2>conftest.er1
8937 grep -v '^ *+' conftest.er1
>conftest.err
8939 cat conftest.err
>&5
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 (exit $ac_status); } &&
8942 { ac_try
='test -z "$ac_c_werror_flag"
8943 || test ! -s conftest.err'
8944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); }; } &&
8949 { ac_try
='test -s conftest.$ac_objext'
8950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 (exit $ac_status); }; }; then
8955 ac_header_compiler
=yes
8957 echo "$as_me: failed program was:" >&5
8958 sed 's/^/| /' conftest.
$ac_ext >&5
8960 ac_header_compiler
=no
8962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8964 echo "${ECHO_T}$ac_header_compiler" >&6
8966 # Is the header present?
8967 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8968 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8969 cat >conftest.
$ac_ext <<_ACEOF
8972 cat confdefs.h
>>conftest.
$ac_ext
8973 cat >>conftest.
$ac_ext <<_ACEOF
8974 /* end confdefs.h. */
8975 #include <$ac_header>
8977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8978 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8980 grep -v '^ *+' conftest.er1
>conftest.err
8982 cat conftest.err
>&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); } >/dev
/null
; then
8985 if test -s conftest.err
; then
8986 ac_cpp_err
=$ac_c_preproc_warn_flag
8987 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8994 if test -z "$ac_cpp_err"; then
8995 ac_header_preproc
=yes
8997 echo "$as_me: failed program was:" >&5
8998 sed 's/^/| /' conftest.
$ac_ext >&5
9000 ac_header_preproc
=no
9002 rm -f conftest.err conftest.
$ac_ext
9003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9004 echo "${ECHO_T}$ac_header_preproc" >&6
9006 # So? What about this header?
9007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9009 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9010 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9012 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9013 ac_header_preproc
=yes
9016 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9017 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9018 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9019 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9020 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9021 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9022 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9023 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9025 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9026 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9027 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9030 ## ------------------------------------------ ##
9031 ## Report this to the AC_PACKAGE_NAME lists. ##
9032 ## ------------------------------------------ ##
9035 sed "s/^/$as_me: WARNING: /" >&2
9038 echo "$as_me:$LINENO: checking for $ac_header" >&5
9039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9041 echo $ECHO_N "(cached) $ECHO_C" >&6
9043 eval "$as_ac_Header=\$ac_header_preproc"
9045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9050 cat >>confdefs.h
<<_ACEOF
9051 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9059 for ac_header
in sys
/filio.h
9061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9063 echo "$as_me:$LINENO: checking for $ac_header" >&5
9064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9066 echo $ECHO_N "(cached) $ECHO_C" >&6
9068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9071 # Is the header compilable?
9072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9074 cat >conftest.
$ac_ext <<_ACEOF
9077 cat confdefs.h
>>conftest.
$ac_ext
9078 cat >>conftest.
$ac_ext <<_ACEOF
9079 /* end confdefs.h. */
9080 $ac_includes_default
9081 #include <$ac_header>
9083 rm -f conftest.
$ac_objext
9084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9085 (eval $ac_compile) 2>conftest.er1
9087 grep -v '^ *+' conftest.er1
>conftest.err
9089 cat conftest.err
>&5
9090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091 (exit $ac_status); } &&
9092 { ac_try
='test -z "$ac_c_werror_flag"
9093 || test ! -s conftest.err'
9094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; } &&
9099 { ac_try
='test -s conftest.$ac_objext'
9100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); }; }; then
9105 ac_header_compiler
=yes
9107 echo "$as_me: failed program was:" >&5
9108 sed 's/^/| /' conftest.
$ac_ext >&5
9110 ac_header_compiler
=no
9112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9114 echo "${ECHO_T}$ac_header_compiler" >&6
9116 # Is the header present?
9117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9119 cat >conftest.
$ac_ext <<_ACEOF
9122 cat confdefs.h
>>conftest.
$ac_ext
9123 cat >>conftest.
$ac_ext <<_ACEOF
9124 /* end confdefs.h. */
9125 #include <$ac_header>
9127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9130 grep -v '^ *+' conftest.er1
>conftest.err
9132 cat conftest.err
>&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); } >/dev
/null
; then
9135 if test -s conftest.err
; then
9136 ac_cpp_err
=$ac_c_preproc_warn_flag
9137 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9144 if test -z "$ac_cpp_err"; then
9145 ac_header_preproc
=yes
9147 echo "$as_me: failed program was:" >&5
9148 sed 's/^/| /' conftest.
$ac_ext >&5
9150 ac_header_preproc
=no
9152 rm -f conftest.err conftest.
$ac_ext
9153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9154 echo "${ECHO_T}$ac_header_preproc" >&6
9156 # So? What about this header?
9157 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9162 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9163 ac_header_preproc
=yes
9166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9170 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9171 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9172 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9173 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9176 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9177 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9180 ## ------------------------------------------ ##
9181 ## Report this to the AC_PACKAGE_NAME lists. ##
9182 ## ------------------------------------------ ##
9185 sed "s/^/$as_me: WARNING: /" >&2
9188 echo "$as_me:$LINENO: checking for $ac_header" >&5
9189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9191 echo $ECHO_N "(cached) $ECHO_C" >&6
9193 eval "$as_ac_Header=\$ac_header_preproc"
9195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9200 cat >>confdefs.h
<<_ACEOF
9201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9209 for ac_header
in sys
/ioctl.h
9211 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9213 echo "$as_me:$LINENO: checking for $ac_header" >&5
9214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9216 echo $ECHO_N "(cached) $ECHO_C" >&6
9218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9221 # Is the header compilable?
9222 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9223 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9224 cat >conftest.
$ac_ext <<_ACEOF
9227 cat confdefs.h
>>conftest.
$ac_ext
9228 cat >>conftest.
$ac_ext <<_ACEOF
9229 /* end confdefs.h. */
9230 $ac_includes_default
9231 #include <$ac_header>
9233 rm -f conftest.
$ac_objext
9234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9235 (eval $ac_compile) 2>conftest.er1
9237 grep -v '^ *+' conftest.er1
>conftest.err
9239 cat conftest.err
>&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); } &&
9242 { ac_try
='test -z "$ac_c_werror_flag"
9243 || test ! -s conftest.err'
9244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); }; } &&
9249 { ac_try
='test -s conftest.$ac_objext'
9250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); }; }; then
9255 ac_header_compiler
=yes
9257 echo "$as_me: failed program was:" >&5
9258 sed 's/^/| /' conftest.
$ac_ext >&5
9260 ac_header_compiler
=no
9262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9263 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9264 echo "${ECHO_T}$ac_header_compiler" >&6
9266 # Is the header present?
9267 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9268 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9269 cat >conftest.
$ac_ext <<_ACEOF
9272 cat confdefs.h
>>conftest.
$ac_ext
9273 cat >>conftest.
$ac_ext <<_ACEOF
9274 /* end confdefs.h. */
9275 #include <$ac_header>
9277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9278 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9280 grep -v '^ *+' conftest.er1
>conftest.err
9282 cat conftest.err
>&5
9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 (exit $ac_status); } >/dev
/null
; then
9285 if test -s conftest.err
; then
9286 ac_cpp_err
=$ac_c_preproc_warn_flag
9287 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9294 if test -z "$ac_cpp_err"; then
9295 ac_header_preproc
=yes
9297 echo "$as_me: failed program was:" >&5
9298 sed 's/^/| /' conftest.
$ac_ext >&5
9300 ac_header_preproc
=no
9302 rm -f conftest.err conftest.
$ac_ext
9303 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9304 echo "${ECHO_T}$ac_header_preproc" >&6
9306 # So? What about this header?
9307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9309 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9310 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9312 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9313 ac_header_preproc
=yes
9316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9317 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9319 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9320 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9321 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9322 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9323 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9326 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9327 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9330 ## ------------------------------------------ ##
9331 ## Report this to the AC_PACKAGE_NAME lists. ##
9332 ## ------------------------------------------ ##
9335 sed "s/^/$as_me: WARNING: /" >&2
9338 echo "$as_me:$LINENO: checking for $ac_header" >&5
9339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9341 echo $ECHO_N "(cached) $ECHO_C" >&6
9343 eval "$as_ac_Header=\$ac_header_preproc"
9345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9350 cat >>confdefs.h
<<_ACEOF
9351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9359 for ac_header
in sys
/param.h
9361 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9363 echo "$as_me:$LINENO: checking for $ac_header" >&5
9364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9366 echo $ECHO_N "(cached) $ECHO_C" >&6
9368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9371 # Is the header compilable?
9372 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9374 cat >conftest.
$ac_ext <<_ACEOF
9377 cat confdefs.h
>>conftest.
$ac_ext
9378 cat >>conftest.
$ac_ext <<_ACEOF
9379 /* end confdefs.h. */
9380 $ac_includes_default
9381 #include <$ac_header>
9383 rm -f conftest.
$ac_objext
9384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9385 (eval $ac_compile) 2>conftest.er1
9387 grep -v '^ *+' conftest.er1
>conftest.err
9389 cat conftest.err
>&5
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); } &&
9392 { ac_try
='test -z "$ac_c_werror_flag"
9393 || test ! -s conftest.err'
9394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 (exit $ac_status); }; } &&
9399 { ac_try
='test -s conftest.$ac_objext'
9400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404 (exit $ac_status); }; }; then
9405 ac_header_compiler
=yes
9407 echo "$as_me: failed program was:" >&5
9408 sed 's/^/| /' conftest.
$ac_ext >&5
9410 ac_header_compiler
=no
9412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9414 echo "${ECHO_T}$ac_header_compiler" >&6
9416 # Is the header present?
9417 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9419 cat >conftest.
$ac_ext <<_ACEOF
9422 cat confdefs.h
>>conftest.
$ac_ext
9423 cat >>conftest.
$ac_ext <<_ACEOF
9424 /* end confdefs.h. */
9425 #include <$ac_header>
9427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9428 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9430 grep -v '^ *+' conftest.er1
>conftest.err
9432 cat conftest.err
>&5
9433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434 (exit $ac_status); } >/dev
/null
; then
9435 if test -s conftest.err
; then
9436 ac_cpp_err
=$ac_c_preproc_warn_flag
9437 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9444 if test -z "$ac_cpp_err"; then
9445 ac_header_preproc
=yes
9447 echo "$as_me: failed program was:" >&5
9448 sed 's/^/| /' conftest.
$ac_ext >&5
9450 ac_header_preproc
=no
9452 rm -f conftest.err conftest.
$ac_ext
9453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9454 echo "${ECHO_T}$ac_header_preproc" >&6
9456 # So? What about this header?
9457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9460 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9462 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9463 ac_header_preproc
=yes
9466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9471 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9473 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9477 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9480 ## ------------------------------------------ ##
9481 ## Report this to the AC_PACKAGE_NAME lists. ##
9482 ## ------------------------------------------ ##
9485 sed "s/^/$as_me: WARNING: /" >&2
9488 echo "$as_me:$LINENO: checking for $ac_header" >&5
9489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9491 echo $ECHO_N "(cached) $ECHO_C" >&6
9493 eval "$as_ac_Header=\$ac_header_preproc"
9495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9500 cat >>confdefs.h
<<_ACEOF
9501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9509 for ac_header
in sys
/resource.h
9511 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9513 echo "$as_me:$LINENO: checking for $ac_header" >&5
9514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9516 echo $ECHO_N "(cached) $ECHO_C" >&6
9518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9521 # Is the header compilable?
9522 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9524 cat >conftest.
$ac_ext <<_ACEOF
9527 cat confdefs.h
>>conftest.
$ac_ext
9528 cat >>conftest.
$ac_ext <<_ACEOF
9529 /* end confdefs.h. */
9530 $ac_includes_default
9531 #include <$ac_header>
9533 rm -f conftest.
$ac_objext
9534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9535 (eval $ac_compile) 2>conftest.er1
9537 grep -v '^ *+' conftest.er1
>conftest.err
9539 cat conftest.err
>&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } &&
9542 { ac_try
='test -z "$ac_c_werror_flag"
9543 || test ! -s conftest.err'
9544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); }; } &&
9549 { ac_try
='test -s conftest.$ac_objext'
9550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 (exit $ac_status); }; }; then
9555 ac_header_compiler
=yes
9557 echo "$as_me: failed program was:" >&5
9558 sed 's/^/| /' conftest.
$ac_ext >&5
9560 ac_header_compiler
=no
9562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9564 echo "${ECHO_T}$ac_header_compiler" >&6
9566 # Is the header present?
9567 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9568 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9569 cat >conftest.
$ac_ext <<_ACEOF
9572 cat confdefs.h
>>conftest.
$ac_ext
9573 cat >>conftest.
$ac_ext <<_ACEOF
9574 /* end confdefs.h. */
9575 #include <$ac_header>
9577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9578 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9580 grep -v '^ *+' conftest.er1
>conftest.err
9582 cat conftest.err
>&5
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); } >/dev
/null
; then
9585 if test -s conftest.err
; then
9586 ac_cpp_err
=$ac_c_preproc_warn_flag
9587 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9594 if test -z "$ac_cpp_err"; then
9595 ac_header_preproc
=yes
9597 echo "$as_me: failed program was:" >&5
9598 sed 's/^/| /' conftest.
$ac_ext >&5
9600 ac_header_preproc
=no
9602 rm -f conftest.err conftest.
$ac_ext
9603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9604 echo "${ECHO_T}$ac_header_preproc" >&6
9606 # So? What about this header?
9607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9609 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9610 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9612 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9613 ac_header_preproc
=yes
9616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9620 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9621 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9622 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9623 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9626 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9627 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9630 ## ------------------------------------------ ##
9631 ## Report this to the AC_PACKAGE_NAME lists. ##
9632 ## ------------------------------------------ ##
9635 sed "s/^/$as_me: WARNING: /" >&2
9638 echo "$as_me:$LINENO: checking for $ac_header" >&5
9639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9641 echo $ECHO_N "(cached) $ECHO_C" >&6
9643 eval "$as_ac_Header=\$ac_header_preproc"
9645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9650 cat >>confdefs.h
<<_ACEOF
9651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9659 for ac_header
in sys
/proc.h
9661 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9662 echo "$as_me:$LINENO: checking for $ac_header" >&5
9663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9665 echo $ECHO_N "(cached) $ECHO_C" >&6
9667 cat >conftest.
$ac_ext <<_ACEOF
9670 cat confdefs.h
>>conftest.
$ac_ext
9671 cat >>conftest.
$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9673 #if HAVE_SYS_PARAM_H
9674 # include <sys/param.h>
9678 #include <$ac_header>
9680 rm -f conftest.
$ac_objext
9681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9682 (eval $ac_compile) 2>conftest.er1
9684 grep -v '^ *+' conftest.er1
>conftest.err
9686 cat conftest.err
>&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); } &&
9689 { ac_try
='test -z "$ac_c_werror_flag"
9690 || test ! -s conftest.err'
9691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; } &&
9696 { ac_try
='test -s conftest.$ac_objext'
9697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); }; }; then
9702 eval "$as_ac_Header=yes"
9704 echo "$as_me: failed program was:" >&5
9705 sed 's/^/| /' conftest.
$ac_ext >&5
9707 eval "$as_ac_Header=no"
9709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9714 cat >>confdefs.h
<<_ACEOF
9715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9723 for ac_header
in sys
/procfs.h
9725 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9727 echo "$as_me:$LINENO: checking for $ac_header" >&5
9728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9730 echo $ECHO_N "(cached) $ECHO_C" >&6
9732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9735 # Is the header compilable?
9736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9738 cat >conftest.
$ac_ext <<_ACEOF
9741 cat confdefs.h
>>conftest.
$ac_ext
9742 cat >>conftest.
$ac_ext <<_ACEOF
9743 /* end confdefs.h. */
9744 $ac_includes_default
9745 #include <$ac_header>
9747 rm -f conftest.
$ac_objext
9748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9749 (eval $ac_compile) 2>conftest.er1
9751 grep -v '^ *+' conftest.er1
>conftest.err
9753 cat conftest.err
>&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } &&
9756 { ac_try
='test -z "$ac_c_werror_flag"
9757 || test ! -s conftest.err'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; } &&
9763 { ac_try
='test -s conftest.$ac_objext'
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); }; }; then
9769 ac_header_compiler
=yes
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.
$ac_ext >&5
9774 ac_header_compiler
=no
9776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9778 echo "${ECHO_T}$ac_header_compiler" >&6
9780 # Is the header present?
9781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9783 cat >conftest.
$ac_ext <<_ACEOF
9786 cat confdefs.h
>>conftest.
$ac_ext
9787 cat >>conftest.
$ac_ext <<_ACEOF
9788 /* end confdefs.h. */
9789 #include <$ac_header>
9791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9792 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9794 grep -v '^ *+' conftest.er1
>conftest.err
9796 cat conftest.err
>&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); } >/dev
/null
; then
9799 if test -s conftest.err
; then
9800 ac_cpp_err
=$ac_c_preproc_warn_flag
9801 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9808 if test -z "$ac_cpp_err"; then
9809 ac_header_preproc
=yes
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.
$ac_ext >&5
9814 ac_header_preproc
=no
9816 rm -f conftest.err conftest.
$ac_ext
9817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9818 echo "${ECHO_T}$ac_header_preproc" >&6
9820 # So? What about this header?
9821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9827 ac_header_preproc
=yes
9830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9844 ## ------------------------------------------ ##
9845 ## Report this to the AC_PACKAGE_NAME lists. ##
9846 ## ------------------------------------------ ##
9849 sed "s/^/$as_me: WARNING: /" >&2
9852 echo "$as_me:$LINENO: checking for $ac_header" >&5
9853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9855 echo $ECHO_N "(cached) $ECHO_C" >&6
9857 eval "$as_ac_Header=\$ac_header_preproc"
9859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9864 cat >>confdefs.h
<<_ACEOF
9865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9874 for ac_header
in sys
/ptrace.h ptrace.h
9876 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9878 echo "$as_me:$LINENO: checking for $ac_header" >&5
9879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9881 echo $ECHO_N "(cached) $ECHO_C" >&6
9883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9886 # Is the header compilable?
9887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9889 cat >conftest.
$ac_ext <<_ACEOF
9892 cat confdefs.h
>>conftest.
$ac_ext
9893 cat >>conftest.
$ac_ext <<_ACEOF
9894 /* end confdefs.h. */
9895 $ac_includes_default
9896 #include <$ac_header>
9898 rm -f conftest.
$ac_objext
9899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9900 (eval $ac_compile) 2>conftest.er1
9902 grep -v '^ *+' conftest.er1
>conftest.err
9904 cat conftest.err
>&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); } &&
9907 { ac_try
='test -z "$ac_c_werror_flag"
9908 || test ! -s conftest.err'
9909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); }; } &&
9914 { ac_try
='test -s conftest.$ac_objext'
9915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); }; }; then
9920 ac_header_compiler
=yes
9922 echo "$as_me: failed program was:" >&5
9923 sed 's/^/| /' conftest.
$ac_ext >&5
9925 ac_header_compiler
=no
9927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9929 echo "${ECHO_T}$ac_header_compiler" >&6
9931 # Is the header present?
9932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9934 cat >conftest.
$ac_ext <<_ACEOF
9937 cat confdefs.h
>>conftest.
$ac_ext
9938 cat >>conftest.
$ac_ext <<_ACEOF
9939 /* end confdefs.h. */
9940 #include <$ac_header>
9942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9945 grep -v '^ *+' conftest.er1
>conftest.err
9947 cat conftest.err
>&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } >/dev
/null
; then
9950 if test -s conftest.err
; then
9951 ac_cpp_err
=$ac_c_preproc_warn_flag
9952 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9959 if test -z "$ac_cpp_err"; then
9960 ac_header_preproc
=yes
9962 echo "$as_me: failed program was:" >&5
9963 sed 's/^/| /' conftest.
$ac_ext >&5
9965 ac_header_preproc
=no
9967 rm -f conftest.err conftest.
$ac_ext
9968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9969 echo "${ECHO_T}$ac_header_preproc" >&6
9971 # So? What about this header?
9972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9978 ac_header_preproc
=yes
9981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9995 ## ------------------------------------------ ##
9996 ## Report this to the AC_PACKAGE_NAME lists. ##
9997 ## ------------------------------------------ ##
10000 sed "s/^/$as_me: WARNING: /" >&2
10003 echo "$as_me:$LINENO: checking for $ac_header" >&5
10004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10006 echo $ECHO_N "(cached) $ECHO_C" >&6
10008 eval "$as_ac_Header=\$ac_header_preproc"
10010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10015 cat >>confdefs.h
<<_ACEOF
10016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10025 for ac_header
in sys
/reg.h sys
/debugreg.h
10027 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10029 echo "$as_me:$LINENO: checking for $ac_header" >&5
10030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10032 echo $ECHO_N "(cached) $ECHO_C" >&6
10034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10037 # Is the header compilable?
10038 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10039 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10040 cat >conftest.
$ac_ext <<_ACEOF
10043 cat confdefs.h
>>conftest.
$ac_ext
10044 cat >>conftest.
$ac_ext <<_ACEOF
10045 /* end confdefs.h. */
10046 $ac_includes_default
10047 #include <$ac_header>
10049 rm -f conftest.
$ac_objext
10050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10051 (eval $ac_compile) 2>conftest.er1
10053 grep -v '^ *+' conftest.er1
>conftest.err
10055 cat conftest.err
>&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); } &&
10058 { ac_try
='test -z "$ac_c_werror_flag"
10059 || test ! -s conftest.err'
10060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10061 (eval $ac_try) 2>&5
10063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064 (exit $ac_status); }; } &&
10065 { ac_try
='test -s conftest.$ac_objext'
10066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10067 (eval $ac_try) 2>&5
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); }; }; then
10071 ac_header_compiler
=yes
10073 echo "$as_me: failed program was:" >&5
10074 sed 's/^/| /' conftest.
$ac_ext >&5
10076 ac_header_compiler
=no
10078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10080 echo "${ECHO_T}$ac_header_compiler" >&6
10082 # Is the header present?
10083 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10084 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10085 cat >conftest.
$ac_ext <<_ACEOF
10088 cat confdefs.h
>>conftest.
$ac_ext
10089 cat >>conftest.
$ac_ext <<_ACEOF
10090 /* end confdefs.h. */
10091 #include <$ac_header>
10093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10094 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10096 grep -v '^ *+' conftest.er1
>conftest.err
10098 cat conftest.err
>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } >/dev
/null
; then
10101 if test -s conftest.err
; then
10102 ac_cpp_err
=$ac_c_preproc_warn_flag
10103 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10110 if test -z "$ac_cpp_err"; then
10111 ac_header_preproc
=yes
10113 echo "$as_me: failed program was:" >&5
10114 sed 's/^/| /' conftest.
$ac_ext >&5
10116 ac_header_preproc
=no
10118 rm -f conftest.err conftest.
$ac_ext
10119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10120 echo "${ECHO_T}$ac_header_preproc" >&6
10122 # So? What about this header?
10123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10125 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10126 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10128 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10129 ac_header_preproc
=yes
10132 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10133 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10134 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10135 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10136 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10137 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10138 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10139 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10142 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10143 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10146 ## ------------------------------------------ ##
10147 ## Report this to the AC_PACKAGE_NAME lists. ##
10148 ## ------------------------------------------ ##
10151 sed "s/^/$as_me: WARNING: /" >&2
10154 echo "$as_me:$LINENO: checking for $ac_header" >&5
10155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10157 echo $ECHO_N "(cached) $ECHO_C" >&6
10159 eval "$as_ac_Header=\$ac_header_preproc"
10161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10166 cat >>confdefs.h
<<_ACEOF
10167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10175 for ac_header
in sys
/select.h
10177 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10179 echo "$as_me:$LINENO: checking for $ac_header" >&5
10180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10187 # Is the header compilable?
10188 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10189 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10190 cat >conftest.
$ac_ext <<_ACEOF
10193 cat confdefs.h
>>conftest.
$ac_ext
10194 cat >>conftest.
$ac_ext <<_ACEOF
10195 /* end confdefs.h. */
10196 $ac_includes_default
10197 #include <$ac_header>
10199 rm -f conftest.
$ac_objext
10200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10201 (eval $ac_compile) 2>conftest.er1
10203 grep -v '^ *+' conftest.er1
>conftest.err
10205 cat conftest.err
>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); } &&
10208 { ac_try
='test -z "$ac_c_werror_flag"
10209 || test ! -s conftest.err'
10210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10211 (eval $ac_try) 2>&5
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); }; } &&
10215 { ac_try
='test -s conftest.$ac_objext'
10216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10217 (eval $ac_try) 2>&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); }; }; then
10221 ac_header_compiler
=yes
10223 echo "$as_me: failed program was:" >&5
10224 sed 's/^/| /' conftest.
$ac_ext >&5
10226 ac_header_compiler
=no
10228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10230 echo "${ECHO_T}$ac_header_compiler" >&6
10232 # Is the header present?
10233 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10234 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10235 cat >conftest.
$ac_ext <<_ACEOF
10238 cat confdefs.h
>>conftest.
$ac_ext
10239 cat >>conftest.
$ac_ext <<_ACEOF
10240 /* end confdefs.h. */
10241 #include <$ac_header>
10243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10244 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10246 grep -v '^ *+' conftest.er1
>conftest.err
10248 cat conftest.err
>&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); } >/dev
/null
; then
10251 if test -s conftest.err
; then
10252 ac_cpp_err
=$ac_c_preproc_warn_flag
10253 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10260 if test -z "$ac_cpp_err"; then
10261 ac_header_preproc
=yes
10263 echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.
$ac_ext >&5
10266 ac_header_preproc
=no
10268 rm -f conftest.err conftest.
$ac_ext
10269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10270 echo "${ECHO_T}$ac_header_preproc" >&6
10272 # So? What about this header?
10273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10275 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10276 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10278 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10279 ac_header_preproc
=yes
10282 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10283 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10284 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10285 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10286 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10287 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10288 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10289 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10292 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10293 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10296 ## ------------------------------------------ ##
10297 ## Report this to the AC_PACKAGE_NAME lists. ##
10298 ## ------------------------------------------ ##
10301 sed "s/^/$as_me: WARNING: /" >&2
10304 echo "$as_me:$LINENO: checking for $ac_header" >&5
10305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10307 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 eval "$as_ac_Header=\$ac_header_preproc"
10311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10316 cat >>confdefs.h
<<_ACEOF
10317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10325 for ac_header
in sys
/syscall.h
10327 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10329 echo "$as_me:$LINENO: checking for $ac_header" >&5
10330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10332 echo $ECHO_N "(cached) $ECHO_C" >&6
10334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10337 # Is the header compilable?
10338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10340 cat >conftest.
$ac_ext <<_ACEOF
10343 cat confdefs.h
>>conftest.
$ac_ext
10344 cat >>conftest.
$ac_ext <<_ACEOF
10345 /* end confdefs.h. */
10346 $ac_includes_default
10347 #include <$ac_header>
10349 rm -f conftest.
$ac_objext
10350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10351 (eval $ac_compile) 2>conftest.er1
10353 grep -v '^ *+' conftest.er1
>conftest.err
10355 cat conftest.err
>&5
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); } &&
10358 { ac_try
='test -z "$ac_c_werror_flag"
10359 || test ! -s conftest.err'
10360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10361 (eval $ac_try) 2>&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); }; } &&
10365 { ac_try
='test -s conftest.$ac_objext'
10366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10367 (eval $ac_try) 2>&5
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); }; }; then
10371 ac_header_compiler
=yes
10373 echo "$as_me: failed program was:" >&5
10374 sed 's/^/| /' conftest.
$ac_ext >&5
10376 ac_header_compiler
=no
10378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10380 echo "${ECHO_T}$ac_header_compiler" >&6
10382 # Is the header present?
10383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10385 cat >conftest.
$ac_ext <<_ACEOF
10388 cat confdefs.h
>>conftest.
$ac_ext
10389 cat >>conftest.
$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10391 #include <$ac_header>
10393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10394 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10396 grep -v '^ *+' conftest.er1
>conftest.err
10398 cat conftest.err
>&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); } >/dev
/null
; then
10401 if test -s conftest.err
; then
10402 ac_cpp_err
=$ac_c_preproc_warn_flag
10403 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10410 if test -z "$ac_cpp_err"; then
10411 ac_header_preproc
=yes
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.
$ac_ext >&5
10416 ac_header_preproc
=no
10418 rm -f conftest.err conftest.
$ac_ext
10419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10420 echo "${ECHO_T}$ac_header_preproc" >&6
10422 # So? What about this header?
10423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10429 ac_header_preproc
=yes
10432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10436 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10438 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10439 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10442 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10446 ## ------------------------------------------ ##
10447 ## Report this to the AC_PACKAGE_NAME lists. ##
10448 ## ------------------------------------------ ##
10451 sed "s/^/$as_me: WARNING: /" >&2
10454 echo "$as_me:$LINENO: checking for $ac_header" >&5
10455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10457 echo $ECHO_N "(cached) $ECHO_C" >&6
10459 eval "$as_ac_Header=\$ac_header_preproc"
10461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10466 cat >>confdefs.h
<<_ACEOF
10467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10475 for ac_header
in sys
/types.h
10477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10479 echo "$as_me:$LINENO: checking for $ac_header" >&5
10480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10482 echo $ECHO_N "(cached) $ECHO_C" >&6
10484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10487 # Is the header compilable?
10488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10490 cat >conftest.
$ac_ext <<_ACEOF
10493 cat confdefs.h
>>conftest.
$ac_ext
10494 cat >>conftest.
$ac_ext <<_ACEOF
10495 /* end confdefs.h. */
10496 $ac_includes_default
10497 #include <$ac_header>
10499 rm -f conftest.
$ac_objext
10500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10501 (eval $ac_compile) 2>conftest.er1
10503 grep -v '^ *+' conftest.er1
>conftest.err
10505 cat conftest.err
>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); } &&
10508 { ac_try
='test -z "$ac_c_werror_flag"
10509 || test ! -s conftest.err'
10510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10511 (eval $ac_try) 2>&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); }; } &&
10515 { ac_try
='test -s conftest.$ac_objext'
10516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10517 (eval $ac_try) 2>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); }; }; then
10521 ac_header_compiler
=yes
10523 echo "$as_me: failed program was:" >&5
10524 sed 's/^/| /' conftest.
$ac_ext >&5
10526 ac_header_compiler
=no
10528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10530 echo "${ECHO_T}$ac_header_compiler" >&6
10532 # Is the header present?
10533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10535 cat >conftest.
$ac_ext <<_ACEOF
10538 cat confdefs.h
>>conftest.
$ac_ext
10539 cat >>conftest.
$ac_ext <<_ACEOF
10540 /* end confdefs.h. */
10541 #include <$ac_header>
10543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10546 grep -v '^ *+' conftest.er1
>conftest.err
10548 cat conftest.err
>&5
10549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550 (exit $ac_status); } >/dev
/null
; then
10551 if test -s conftest.err
; then
10552 ac_cpp_err
=$ac_c_preproc_warn_flag
10553 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10560 if test -z "$ac_cpp_err"; then
10561 ac_header_preproc
=yes
10563 echo "$as_me: failed program was:" >&5
10564 sed 's/^/| /' conftest.
$ac_ext >&5
10566 ac_header_preproc
=no
10568 rm -f conftest.err conftest.
$ac_ext
10569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10570 echo "${ECHO_T}$ac_header_preproc" >&6
10572 # So? What about this header?
10573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10579 ac_header_preproc
=yes
10582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10596 ## ------------------------------------------ ##
10597 ## Report this to the AC_PACKAGE_NAME lists. ##
10598 ## ------------------------------------------ ##
10601 sed "s/^/$as_me: WARNING: /" >&2
10604 echo "$as_me:$LINENO: checking for $ac_header" >&5
10605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10607 echo $ECHO_N "(cached) $ECHO_C" >&6
10609 eval "$as_ac_Header=\$ac_header_preproc"
10611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10616 cat >>confdefs.h
<<_ACEOF
10617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10625 for ac_header
in sys
/user.h
10627 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10628 echo "$as_me:$LINENO: checking for $ac_header" >&5
10629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10631 echo $ECHO_N "(cached) $ECHO_C" >&6
10633 cat >conftest.
$ac_ext <<_ACEOF
10636 cat confdefs.h
>>conftest.
$ac_ext
10637 cat >>conftest.
$ac_ext <<_ACEOF
10638 /* end confdefs.h. */
10639 #if HAVE_SYS_PARAM_H
10640 # include <sys/param.h>
10644 #include <$ac_header>
10646 rm -f conftest.
$ac_objext
10647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10648 (eval $ac_compile) 2>conftest.er1
10650 grep -v '^ *+' conftest.er1
>conftest.err
10652 cat conftest.err
>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } &&
10655 { ac_try
='test -z "$ac_c_werror_flag"
10656 || test ! -s conftest.err'
10657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10658 (eval $ac_try) 2>&5
10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); }; } &&
10662 { ac_try
='test -s conftest.$ac_objext'
10663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10664 (eval $ac_try) 2>&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); }; }; then
10668 eval "$as_ac_Header=yes"
10670 echo "$as_me: failed program was:" >&5
10671 sed 's/^/| /' conftest.
$ac_ext >&5
10673 eval "$as_ac_Header=no"
10675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10680 cat >>confdefs.h
<<_ACEOF
10681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10690 for ac_header
in sys
/wait.h
wait.h
10692 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10694 echo "$as_me:$LINENO: checking for $ac_header" >&5
10695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10697 echo $ECHO_N "(cached) $ECHO_C" >&6
10699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10702 # Is the header compilable?
10703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10705 cat >conftest.
$ac_ext <<_ACEOF
10708 cat confdefs.h
>>conftest.
$ac_ext
10709 cat >>conftest.
$ac_ext <<_ACEOF
10710 /* end confdefs.h. */
10711 $ac_includes_default
10712 #include <$ac_header>
10714 rm -f conftest.
$ac_objext
10715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10716 (eval $ac_compile) 2>conftest.er1
10718 grep -v '^ *+' conftest.er1
>conftest.err
10720 cat conftest.err
>&5
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); } &&
10723 { ac_try
='test -z "$ac_c_werror_flag"
10724 || test ! -s conftest.err'
10725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10726 (eval $ac_try) 2>&5
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729 (exit $ac_status); }; } &&
10730 { ac_try
='test -s conftest.$ac_objext'
10731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10732 (eval $ac_try) 2>&5
10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735 (exit $ac_status); }; }; then
10736 ac_header_compiler
=yes
10738 echo "$as_me: failed program was:" >&5
10739 sed 's/^/| /' conftest.
$ac_ext >&5
10741 ac_header_compiler
=no
10743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10744 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10745 echo "${ECHO_T}$ac_header_compiler" >&6
10747 # Is the header present?
10748 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10750 cat >conftest.
$ac_ext <<_ACEOF
10753 cat confdefs.h
>>conftest.
$ac_ext
10754 cat >>conftest.
$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756 #include <$ac_header>
10758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10759 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10761 grep -v '^ *+' conftest.er1
>conftest.err
10763 cat conftest.err
>&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); } >/dev
/null
; then
10766 if test -s conftest.err
; then
10767 ac_cpp_err
=$ac_c_preproc_warn_flag
10768 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10775 if test -z "$ac_cpp_err"; then
10776 ac_header_preproc
=yes
10778 echo "$as_me: failed program was:" >&5
10779 sed 's/^/| /' conftest.
$ac_ext >&5
10781 ac_header_preproc
=no
10783 rm -f conftest.err conftest.
$ac_ext
10784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10785 echo "${ECHO_T}$ac_header_preproc" >&6
10787 # So? What about this header?
10788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10790 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10791 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10793 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10794 ac_header_preproc
=yes
10797 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10798 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10799 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10800 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10801 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10802 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10803 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10804 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10806 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10807 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10808 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10811 ## ------------------------------------------ ##
10812 ## Report this to the AC_PACKAGE_NAME lists. ##
10813 ## ------------------------------------------ ##
10816 sed "s/^/$as_me: WARNING: /" >&2
10819 echo "$as_me:$LINENO: checking for $ac_header" >&5
10820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10822 echo $ECHO_N "(cached) $ECHO_C" >&6
10824 eval "$as_ac_Header=\$ac_header_preproc"
10826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10831 cat >>confdefs.h
<<_ACEOF
10832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10842 for ac_header
in termios.h termio.h sgtty.h
10844 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10846 echo "$as_me:$LINENO: checking for $ac_header" >&5
10847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6
10851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10854 # Is the header compilable?
10855 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10856 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10857 cat >conftest.
$ac_ext <<_ACEOF
10860 cat confdefs.h
>>conftest.
$ac_ext
10861 cat >>conftest.
$ac_ext <<_ACEOF
10862 /* end confdefs.h. */
10863 $ac_includes_default
10864 #include <$ac_header>
10866 rm -f conftest.
$ac_objext
10867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10868 (eval $ac_compile) 2>conftest.er1
10870 grep -v '^ *+' conftest.er1
>conftest.err
10872 cat conftest.err
>&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); } &&
10875 { ac_try
='test -z "$ac_c_werror_flag"
10876 || test ! -s conftest.err'
10877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10878 (eval $ac_try) 2>&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); }; } &&
10882 { ac_try
='test -s conftest.$ac_objext'
10883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10884 (eval $ac_try) 2>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); }; }; then
10888 ac_header_compiler
=yes
10890 echo "$as_me: failed program was:" >&5
10891 sed 's/^/| /' conftest.
$ac_ext >&5
10893 ac_header_compiler
=no
10895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10897 echo "${ECHO_T}$ac_header_compiler" >&6
10899 # Is the header present?
10900 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10902 cat >conftest.
$ac_ext <<_ACEOF
10905 cat confdefs.h
>>conftest.
$ac_ext
10906 cat >>conftest.
$ac_ext <<_ACEOF
10907 /* end confdefs.h. */
10908 #include <$ac_header>
10910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10911 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10913 grep -v '^ *+' conftest.er1
>conftest.err
10915 cat conftest.err
>&5
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); } >/dev
/null
; then
10918 if test -s conftest.err
; then
10919 ac_cpp_err
=$ac_c_preproc_warn_flag
10920 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10927 if test -z "$ac_cpp_err"; then
10928 ac_header_preproc
=yes
10930 echo "$as_me: failed program was:" >&5
10931 sed 's/^/| /' conftest.
$ac_ext >&5
10933 ac_header_preproc
=no
10935 rm -f conftest.err conftest.
$ac_ext
10936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10937 echo "${ECHO_T}$ac_header_preproc" >&6
10939 # So? What about this header?
10940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10942 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10943 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10945 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10946 ac_header_preproc
=yes
10949 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10951 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10952 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10953 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10954 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10955 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10956 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10958 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10959 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10960 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10963 ## ------------------------------------------ ##
10964 ## Report this to the AC_PACKAGE_NAME lists. ##
10965 ## ------------------------------------------ ##
10968 sed "s/^/$as_me: WARNING: /" >&2
10971 echo "$as_me:$LINENO: checking for $ac_header" >&5
10972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10974 echo $ECHO_N "(cached) $ECHO_C" >&6
10976 eval "$as_ac_Header=\$ac_header_preproc"
10978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10983 cat >>confdefs.h
<<_ACEOF
10984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10992 for ac_header
in unistd.h
10994 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10996 echo "$as_me:$LINENO: checking for $ac_header" >&5
10997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10999 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11004 # Is the header compilable?
11005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11007 cat >conftest.
$ac_ext <<_ACEOF
11010 cat confdefs.h
>>conftest.
$ac_ext
11011 cat >>conftest.
$ac_ext <<_ACEOF
11012 /* end confdefs.h. */
11013 $ac_includes_default
11014 #include <$ac_header>
11016 rm -f conftest.
$ac_objext
11017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11018 (eval $ac_compile) 2>conftest.er1
11020 grep -v '^ *+' conftest.er1
>conftest.err
11022 cat conftest.err
>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); } &&
11025 { ac_try
='test -z "$ac_c_werror_flag"
11026 || test ! -s conftest.err'
11027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11028 (eval $ac_try) 2>&5
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); }; } &&
11032 { ac_try
='test -s conftest.$ac_objext'
11033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11034 (eval $ac_try) 2>&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }; }; then
11038 ac_header_compiler
=yes
11040 echo "$as_me: failed program was:" >&5
11041 sed 's/^/| /' conftest.
$ac_ext >&5
11043 ac_header_compiler
=no
11045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11047 echo "${ECHO_T}$ac_header_compiler" >&6
11049 # Is the header present?
11050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11052 cat >conftest.
$ac_ext <<_ACEOF
11055 cat confdefs.h
>>conftest.
$ac_ext
11056 cat >>conftest.
$ac_ext <<_ACEOF
11057 /* end confdefs.h. */
11058 #include <$ac_header>
11060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11061 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11063 grep -v '^ *+' conftest.er1
>conftest.err
11065 cat conftest.err
>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); } >/dev
/null
; then
11068 if test -s conftest.err
; then
11069 ac_cpp_err
=$ac_c_preproc_warn_flag
11070 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11077 if test -z "$ac_cpp_err"; then
11078 ac_header_preproc
=yes
11080 echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.
$ac_ext >&5
11083 ac_header_preproc
=no
11085 rm -f conftest.err conftest.
$ac_ext
11086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11087 echo "${ECHO_T}$ac_header_preproc" >&6
11089 # So? What about this header?
11090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11095 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11096 ac_header_preproc
=yes
11099 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11101 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11102 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11103 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11104 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11105 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11106 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11109 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11110 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11113 ## ------------------------------------------ ##
11114 ## Report this to the AC_PACKAGE_NAME lists. ##
11115 ## ------------------------------------------ ##
11118 sed "s/^/$as_me: WARNING: /" >&2
11121 echo "$as_me:$LINENO: checking for $ac_header" >&5
11122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 eval "$as_ac_Header=\$ac_header_preproc"
11128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11133 cat >>confdefs.h
<<_ACEOF
11134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11142 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
11143 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
11144 # think that we don't have <curses.h> if we're using GCC.
11147 if test "$GCC" = yes; then
11149 cat >>confdefs.h
<<\_ACEOF
11150 #define _MSE_INT_H 1
11159 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
11161 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11163 echo "$as_me:$LINENO: checking for $ac_header" >&5
11164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6
11168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11171 # Is the header compilable?
11172 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11174 cat >conftest.
$ac_ext <<_ACEOF
11177 cat confdefs.h
>>conftest.
$ac_ext
11178 cat >>conftest.
$ac_ext <<_ACEOF
11179 /* end confdefs.h. */
11180 $ac_includes_default
11181 #include <$ac_header>
11183 rm -f conftest.
$ac_objext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11185 (eval $ac_compile) 2>conftest.er1
11187 grep -v '^ *+' conftest.er1
>conftest.err
11189 cat conftest.err
>&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); } &&
11192 { ac_try
='test -z "$ac_c_werror_flag"
11193 || test ! -s conftest.err'
11194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195 (eval $ac_try) 2>&5
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); }; } &&
11199 { ac_try
='test -s conftest.$ac_objext'
11200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201 (eval $ac_try) 2>&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); }; }; then
11205 ac_header_compiler
=yes
11207 echo "$as_me: failed program was:" >&5
11208 sed 's/^/| /' conftest.
$ac_ext >&5
11210 ac_header_compiler
=no
11212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11214 echo "${ECHO_T}$ac_header_compiler" >&6
11216 # Is the header present?
11217 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11218 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11219 cat >conftest.
$ac_ext <<_ACEOF
11222 cat confdefs.h
>>conftest.
$ac_ext
11223 cat >>conftest.
$ac_ext <<_ACEOF
11224 /* end confdefs.h. */
11225 #include <$ac_header>
11227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11228 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11230 grep -v '^ *+' conftest.er1
>conftest.err
11232 cat conftest.err
>&5
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); } >/dev
/null
; then
11235 if test -s conftest.err
; then
11236 ac_cpp_err
=$ac_c_preproc_warn_flag
11237 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11244 if test -z "$ac_cpp_err"; then
11245 ac_header_preproc
=yes
11247 echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.
$ac_ext >&5
11250 ac_header_preproc
=no
11252 rm -f conftest.err conftest.
$ac_ext
11253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11254 echo "${ECHO_T}$ac_header_preproc" >&6
11256 # So? What about this header?
11257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11259 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11262 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11263 ac_header_preproc
=yes
11266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11270 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11271 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11272 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11273 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11276 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11277 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11280 ## ------------------------------------------ ##
11281 ## Report this to the AC_PACKAGE_NAME lists. ##
11282 ## ------------------------------------------ ##
11285 sed "s/^/$as_me: WARNING: /" >&2
11288 echo "$as_me:$LINENO: checking for $ac_header" >&5
11289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11291 echo $ECHO_N "(cached) $ECHO_C" >&6
11293 eval "$as_ac_Header=\$ac_header_preproc"
11295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11300 cat >>confdefs.h
<<_ACEOF
11301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11309 for ac_header
in ncurses
/term.h
11311 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11313 echo "$as_me:$LINENO: checking for $ac_header" >&5
11314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11316 echo $ECHO_N "(cached) $ECHO_C" >&6
11318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11321 # Is the header compilable?
11322 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11323 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11324 cat >conftest.
$ac_ext <<_ACEOF
11327 cat confdefs.h
>>conftest.
$ac_ext
11328 cat >>conftest.
$ac_ext <<_ACEOF
11329 /* end confdefs.h. */
11330 $ac_includes_default
11331 #include <$ac_header>
11333 rm -f conftest.
$ac_objext
11334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11335 (eval $ac_compile) 2>conftest.er1
11337 grep -v '^ *+' conftest.er1
>conftest.err
11339 cat conftest.err
>&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } &&
11342 { ac_try
='test -z "$ac_c_werror_flag"
11343 || test ! -s conftest.err'
11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11345 (eval $ac_try) 2>&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); }; } &&
11349 { ac_try
='test -s conftest.$ac_objext'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; }; then
11355 ac_header_compiler
=yes
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.
$ac_ext >&5
11360 ac_header_compiler
=no
11362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11364 echo "${ECHO_T}$ac_header_compiler" >&6
11366 # Is the header present?
11367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11369 cat >conftest.
$ac_ext <<_ACEOF
11372 cat confdefs.h
>>conftest.
$ac_ext
11373 cat >>conftest.
$ac_ext <<_ACEOF
11374 /* end confdefs.h. */
11375 #include <$ac_header>
11377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11378 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11380 grep -v '^ *+' conftest.er1
>conftest.err
11382 cat conftest.err
>&5
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); } >/dev
/null
; then
11385 if test -s conftest.err
; then
11386 ac_cpp_err
=$ac_c_preproc_warn_flag
11387 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11394 if test -z "$ac_cpp_err"; then
11395 ac_header_preproc
=yes
11397 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.
$ac_ext >&5
11400 ac_header_preproc
=no
11402 rm -f conftest.err conftest.
$ac_ext
11403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11404 echo "${ECHO_T}$ac_header_preproc" >&6
11406 # So? What about this header?
11407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11412 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11413 ac_header_preproc
=yes
11416 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11417 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11418 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11419 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11420 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11421 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11422 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11423 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11426 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11427 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11430 ## ------------------------------------------ ##
11431 ## Report this to the AC_PACKAGE_NAME lists. ##
11432 ## ------------------------------------------ ##
11435 sed "s/^/$as_me: WARNING: /" >&2
11438 echo "$as_me:$LINENO: checking for $ac_header" >&5
11439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11441 echo $ECHO_N "(cached) $ECHO_C" >&6
11443 eval "$as_ac_Header=\$ac_header_preproc"
11445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11450 cat >>confdefs.h
<<_ACEOF
11451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11459 for ac_header
in term.h
11461 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11462 echo "$as_me:$LINENO: checking for $ac_header" >&5
11463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11467 cat >conftest.
$ac_ext <<_ACEOF
11470 cat confdefs.h
>>conftest.
$ac_ext
11471 cat >>conftest.
$ac_ext <<_ACEOF
11472 /* end confdefs.h. */
11474 # include <curses.h>
11478 #include <$ac_header>
11480 rm -f conftest.
$ac_objext
11481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11482 (eval $ac_compile) 2>conftest.er1
11484 grep -v '^ *+' conftest.er1
>conftest.err
11486 cat conftest.err
>&5
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); } &&
11489 { ac_try
='test -z "$ac_c_werror_flag"
11490 || test ! -s conftest.err'
11491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11492 (eval $ac_try) 2>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); }; } &&
11496 { ac_try
='test -s conftest.$ac_objext'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; }; then
11502 eval "$as_ac_Header=yes"
11504 echo "$as_me: failed program was:" >&5
11505 sed 's/^/| /' conftest.
$ac_ext >&5
11507 eval "$as_ac_Header=no"
11509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11513 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11514 cat >>confdefs.h
<<_ACEOF
11515 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11523 # Check for HP/UX 64-bit shared library support
11525 for ac_header
in elf_hp.h
11527 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11529 echo "$as_me:$LINENO: checking for $ac_header" >&5
11530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11532 echo $ECHO_N "(cached) $ECHO_C" >&6
11534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11537 # Is the header compilable?
11538 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11539 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11540 cat >conftest.
$ac_ext <<_ACEOF
11543 cat confdefs.h
>>conftest.
$ac_ext
11544 cat >>conftest.
$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11546 $ac_includes_default
11547 #include <$ac_header>
11549 rm -f conftest.
$ac_objext
11550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11551 (eval $ac_compile) 2>conftest.er1
11553 grep -v '^ *+' conftest.er1
>conftest.err
11555 cat conftest.err
>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); } &&
11558 { ac_try
='test -z "$ac_c_werror_flag"
11559 || test ! -s conftest.err'
11560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11561 (eval $ac_try) 2>&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); }; } &&
11565 { ac_try
='test -s conftest.$ac_objext'
11566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11567 (eval $ac_try) 2>&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }; }; then
11571 ac_header_compiler
=yes
11573 echo "$as_me: failed program was:" >&5
11574 sed 's/^/| /' conftest.
$ac_ext >&5
11576 ac_header_compiler
=no
11578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11579 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11580 echo "${ECHO_T}$ac_header_compiler" >&6
11582 # Is the header present?
11583 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11585 cat >conftest.
$ac_ext <<_ACEOF
11588 cat confdefs.h
>>conftest.
$ac_ext
11589 cat >>conftest.
$ac_ext <<_ACEOF
11590 /* end confdefs.h. */
11591 #include <$ac_header>
11593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11594 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11596 grep -v '^ *+' conftest.er1
>conftest.err
11598 cat conftest.err
>&5
11599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600 (exit $ac_status); } >/dev
/null
; then
11601 if test -s conftest.err
; then
11602 ac_cpp_err
=$ac_c_preproc_warn_flag
11603 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11610 if test -z "$ac_cpp_err"; then
11611 ac_header_preproc
=yes
11613 echo "$as_me: failed program was:" >&5
11614 sed 's/^/| /' conftest.
$ac_ext >&5
11616 ac_header_preproc
=no
11618 rm -f conftest.err conftest.
$ac_ext
11619 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11620 echo "${ECHO_T}$ac_header_preproc" >&6
11622 # So? What about this header?
11623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11625 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11626 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11628 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11629 ac_header_preproc
=yes
11632 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11633 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11634 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11635 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11636 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11637 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11638 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11639 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11642 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11643 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11646 ## ------------------------------------------ ##
11647 ## Report this to the AC_PACKAGE_NAME lists. ##
11648 ## ------------------------------------------ ##
11651 sed "s/^/$as_me: WARNING: /" >&2
11654 echo "$as_me:$LINENO: checking for $ac_header" >&5
11655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11657 echo $ECHO_N "(cached) $ECHO_C" >&6
11659 eval "$as_ac_Header=\$ac_header_preproc"
11661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11666 cat >>confdefs.h
<<_ACEOF
11667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11675 # FIXME: kettenis/20030102: In most cases we include these
11676 # unconditionally, so what's the point in checking these?
11679 for ac_header
in ctype.h
time.h
11681 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11683 echo "$as_me:$LINENO: checking for $ac_header" >&5
11684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11686 echo $ECHO_N "(cached) $ECHO_C" >&6
11688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11691 # Is the header compilable?
11692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11694 cat >conftest.
$ac_ext <<_ACEOF
11697 cat confdefs.h
>>conftest.
$ac_ext
11698 cat >>conftest.
$ac_ext <<_ACEOF
11699 /* end confdefs.h. */
11700 $ac_includes_default
11701 #include <$ac_header>
11703 rm -f conftest.
$ac_objext
11704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11705 (eval $ac_compile) 2>conftest.er1
11707 grep -v '^ *+' conftest.er1
>conftest.err
11709 cat conftest.err
>&5
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); } &&
11712 { ac_try
='test -z "$ac_c_werror_flag"
11713 || test ! -s conftest.err'
11714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11715 (eval $ac_try) 2>&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); }; } &&
11719 { ac_try
='test -s conftest.$ac_objext'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; }; then
11725 ac_header_compiler
=yes
11727 echo "$as_me: failed program was:" >&5
11728 sed 's/^/| /' conftest.
$ac_ext >&5
11730 ac_header_compiler
=no
11732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11734 echo "${ECHO_T}$ac_header_compiler" >&6
11736 # Is the header present?
11737 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11739 cat >conftest.
$ac_ext <<_ACEOF
11742 cat confdefs.h
>>conftest.
$ac_ext
11743 cat >>conftest.
$ac_ext <<_ACEOF
11744 /* end confdefs.h. */
11745 #include <$ac_header>
11747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11748 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11750 grep -v '^ *+' conftest.er1
>conftest.err
11752 cat conftest.err
>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } >/dev
/null
; then
11755 if test -s conftest.err
; then
11756 ac_cpp_err
=$ac_c_preproc_warn_flag
11757 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11764 if test -z "$ac_cpp_err"; then
11765 ac_header_preproc
=yes
11767 echo "$as_me: failed program was:" >&5
11768 sed 's/^/| /' conftest.
$ac_ext >&5
11770 ac_header_preproc
=no
11772 rm -f conftest.err conftest.
$ac_ext
11773 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11774 echo "${ECHO_T}$ac_header_preproc" >&6
11776 # So? What about this header?
11777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11779 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11780 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11782 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11783 ac_header_preproc
=yes
11786 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11787 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11788 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11789 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11790 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11791 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11792 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11793 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11795 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11796 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11797 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11800 ## ------------------------------------------ ##
11801 ## Report this to the AC_PACKAGE_NAME lists. ##
11802 ## ------------------------------------------ ##
11805 sed "s/^/$as_me: WARNING: /" >&2
11808 echo "$as_me:$LINENO: checking for $ac_header" >&5
11809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11811 echo $ECHO_N "(cached) $ECHO_C" >&6
11813 eval "$as_ac_Header=\$ac_header_preproc"
11815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11820 cat >>confdefs.h
<<_ACEOF
11821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11829 # Create a header we can use portably to get the standard integer types.
11832 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
11834 acx_cv_header_stdint
=stddef.h
11835 acx_cv_header_stdint_kind
="(already complete)"
11836 for i
in stdint.h
$inttype_headers; do
11837 unset ac_cv_type_uintptr_t
11838 unset ac_cv_type_uintmax_t
11839 unset ac_cv_type_int_least32_t
11840 unset ac_cv_type_int_fast32_t
11841 unset ac_cv_type_uint64_t
11842 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
11843 echo "$as_me:$LINENO: checking for uintmax_t" >&5
11844 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
11845 if test "${ac_cv_type_uintmax_t+set}" = set; then
11846 echo $ECHO_N "(cached) $ECHO_C" >&6
11848 cat >conftest.
$ac_ext <<_ACEOF
11851 cat confdefs.h
>>conftest.
$ac_ext
11852 cat >>conftest.
$ac_ext <<_ACEOF
11853 /* end confdefs.h. */
11854 #include <sys/types.h>
11860 if ((uintmax_t *) 0)
11862 if (sizeof (uintmax_t))
11868 rm -f conftest.
$ac_objext
11869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11870 (eval $ac_compile) 2>conftest.er1
11872 grep -v '^ *+' conftest.er1
>conftest.err
11874 cat conftest.err
>&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); } &&
11877 { ac_try
='test -z "$ac_c_werror_flag"
11878 || test ! -s conftest.err'
11879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11880 (eval $ac_try) 2>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); }; } &&
11884 { ac_try
='test -s conftest.$ac_objext'
11885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11886 (eval $ac_try) 2>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); }; }; then
11890 ac_cv_type_uintmax_t
=yes
11892 echo "$as_me: failed program was:" >&5
11893 sed 's/^/| /' conftest.
$ac_ext >&5
11895 ac_cv_type_uintmax_t
=no
11897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11899 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
11900 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
11901 if test $ac_cv_type_uintmax_t = yes; then
11902 acx_cv_header_stdint
=$i
11907 echo "$as_me:$LINENO: checking for uintptr_t" >&5
11908 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
11909 if test "${ac_cv_type_uintptr_t+set}" = set; then
11910 echo $ECHO_N "(cached) $ECHO_C" >&6
11912 cat >conftest.
$ac_ext <<_ACEOF
11915 cat confdefs.h
>>conftest.
$ac_ext
11916 cat >>conftest.
$ac_ext <<_ACEOF
11917 /* end confdefs.h. */
11918 #include <sys/types.h>
11924 if ((uintptr_t *) 0)
11926 if (sizeof (uintptr_t))
11932 rm -f conftest.
$ac_objext
11933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11934 (eval $ac_compile) 2>conftest.er1
11936 grep -v '^ *+' conftest.er1
>conftest.err
11938 cat conftest.err
>&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); } &&
11941 { ac_try
='test -z "$ac_c_werror_flag"
11942 || test ! -s conftest.err'
11943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11944 (eval $ac_try) 2>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); }; } &&
11948 { ac_try
='test -s conftest.$ac_objext'
11949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); }; }; then
11954 ac_cv_type_uintptr_t
=yes
11956 echo "$as_me: failed program was:" >&5
11957 sed 's/^/| /' conftest.
$ac_ext >&5
11959 ac_cv_type_uintptr_t
=no
11961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11963 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11964 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
11965 if test $ac_cv_type_uintptr_t = yes; then
11968 acx_cv_header_stdint_kind
="(mostly complete)"
11971 echo "$as_me:$LINENO: checking for int_least32_t" >&5
11972 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
11973 if test "${ac_cv_type_int_least32_t+set}" = set; then
11974 echo $ECHO_N "(cached) $ECHO_C" >&6
11976 cat >conftest.
$ac_ext <<_ACEOF
11979 cat confdefs.h
>>conftest.
$ac_ext
11980 cat >>conftest.
$ac_ext <<_ACEOF
11981 /* end confdefs.h. */
11982 #include <sys/types.h>
11988 if ((int_least32_t *) 0)
11990 if (sizeof (int_least32_t))
11996 rm -f conftest.
$ac_objext
11997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11998 (eval $ac_compile) 2>conftest.er1
12000 grep -v '^ *+' conftest.er1
>conftest.err
12002 cat conftest.err
>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); } &&
12005 { ac_try
='test -z "$ac_c_werror_flag"
12006 || test ! -s conftest.err'
12007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12008 (eval $ac_try) 2>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); }; } &&
12012 { ac_try
='test -s conftest.$ac_objext'
12013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12014 (eval $ac_try) 2>&5
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); }; }; then
12018 ac_cv_type_int_least32_t
=yes
12020 echo "$as_me: failed program was:" >&5
12021 sed 's/^/| /' conftest.
$ac_ext >&5
12023 ac_cv_type_int_least32_t
=no
12025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12027 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
12028 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
12029 if test $ac_cv_type_int_least32_t = yes; then
12032 acx_cv_header_stdint_kind
="(mostly complete)"
12035 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
12036 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
12037 if test "${ac_cv_type_int_fast32_t+set}" = set; then
12038 echo $ECHO_N "(cached) $ECHO_C" >&6
12040 cat >conftest.
$ac_ext <<_ACEOF
12043 cat confdefs.h
>>conftest.
$ac_ext
12044 cat >>conftest.
$ac_ext <<_ACEOF
12045 /* end confdefs.h. */
12046 #include <sys/types.h>
12052 if ((int_fast32_t *) 0)
12054 if (sizeof (int_fast32_t))
12060 rm -f conftest.
$ac_objext
12061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12062 (eval $ac_compile) 2>conftest.er1
12064 grep -v '^ *+' conftest.er1
>conftest.err
12066 cat conftest.err
>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } &&
12069 { ac_try
='test -z "$ac_c_werror_flag"
12070 || test ! -s conftest.err'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; } &&
12076 { ac_try
='test -s conftest.$ac_objext'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; }; then
12082 ac_cv_type_int_fast32_t
=yes
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.
$ac_ext >&5
12087 ac_cv_type_int_fast32_t
=no
12089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12091 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
12092 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
12093 if test $ac_cv_type_int_fast32_t = yes; then
12096 acx_cv_header_stdint_kind
="(mostly complete)"
12099 echo "$as_me:$LINENO: checking for uint64_t" >&5
12100 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
12101 if test "${ac_cv_type_uint64_t+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 cat >conftest.
$ac_ext <<_ACEOF
12107 cat confdefs.h
>>conftest.
$ac_ext
12108 cat >>conftest.
$ac_ext <<_ACEOF
12109 /* end confdefs.h. */
12110 #include <sys/types.h>
12116 if ((uint64_t *) 0)
12118 if (sizeof (uint64_t))
12124 rm -f conftest.
$ac_objext
12125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12126 (eval $ac_compile) 2>conftest.er1
12128 grep -v '^ *+' conftest.er1
>conftest.err
12130 cat conftest.err
>&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } &&
12133 { ac_try
='test -z "$ac_c_werror_flag"
12134 || test ! -s conftest.err'
12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12136 (eval $ac_try) 2>&5
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }; } &&
12140 { ac_try
='test -s conftest.$ac_objext'
12141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 (eval $ac_try) 2>&5
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }; }; then
12146 ac_cv_type_uint64_t
=yes
12148 echo "$as_me: failed program was:" >&5
12149 sed 's/^/| /' conftest.
$ac_ext >&5
12151 ac_cv_type_uint64_t
=no
12153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12155 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
12156 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
12157 if test $ac_cv_type_uint64_t = yes; then
12160 acx_cv_header_stdint_kind
="(lacks uint64_t)"
12165 if test "$acx_cv_header_stdint" = stddef.h
; then
12166 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
12167 for i
in stdint.h
$inttype_headers; do
12168 unset ac_cv_type_uintptr_t
12169 unset ac_cv_type_uint32_t
12170 unset ac_cv_type_uint64_t
12171 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
12172 echo "$as_me:$LINENO: checking for uint32_t" >&5
12173 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
12174 if test "${ac_cv_type_uint32_t+set}" = set; then
12175 echo $ECHO_N "(cached) $ECHO_C" >&6
12177 cat >conftest.
$ac_ext <<_ACEOF
12180 cat confdefs.h
>>conftest.
$ac_ext
12181 cat >>conftest.
$ac_ext <<_ACEOF
12182 /* end confdefs.h. */
12183 #include <sys/types.h>
12189 if ((uint32_t *) 0)
12191 if (sizeof (uint32_t))
12197 rm -f conftest.
$ac_objext
12198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12199 (eval $ac_compile) 2>conftest.er1
12201 grep -v '^ *+' conftest.er1
>conftest.err
12203 cat conftest.err
>&5
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); } &&
12206 { ac_try
='test -z "$ac_c_werror_flag"
12207 || test ! -s conftest.err'
12208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12209 (eval $ac_try) 2>&5
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); }; } &&
12213 { ac_try
='test -s conftest.$ac_objext'
12214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12215 (eval $ac_try) 2>&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); }; }; then
12219 ac_cv_type_uint32_t
=yes
12221 echo "$as_me: failed program was:" >&5
12222 sed 's/^/| /' conftest.
$ac_ext >&5
12224 ac_cv_type_uint32_t
=no
12226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12228 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
12229 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
12230 if test $ac_cv_type_uint32_t = yes; then
12231 acx_cv_header_stdint
=$i
12236 echo "$as_me:$LINENO: checking for uint64_t" >&5
12237 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
12238 if test "${ac_cv_type_uint64_t+set}" = set; then
12239 echo $ECHO_N "(cached) $ECHO_C" >&6
12241 cat >conftest.
$ac_ext <<_ACEOF
12244 cat confdefs.h
>>conftest.
$ac_ext
12245 cat >>conftest.
$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12247 #include <sys/types.h>
12253 if ((uint64_t *) 0)
12255 if (sizeof (uint64_t))
12261 rm -f conftest.
$ac_objext
12262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12263 (eval $ac_compile) 2>conftest.er1
12265 grep -v '^ *+' conftest.er1
>conftest.err
12267 cat conftest.err
>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); } &&
12270 { ac_try
='test -z "$ac_c_werror_flag"
12271 || test ! -s conftest.err'
12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 (eval $ac_try) 2>&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; } &&
12277 { ac_try
='test -s conftest.$ac_objext'
12278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12279 (eval $ac_try) 2>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); }; }; then
12283 ac_cv_type_uint64_t
=yes
12285 echo "$as_me: failed program was:" >&5
12286 sed 's/^/| /' conftest.
$ac_ext >&5
12288 ac_cv_type_uint64_t
=no
12290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12292 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
12293 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
12295 echo "$as_me:$LINENO: checking for uintptr_t" >&5
12296 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
12297 if test "${ac_cv_type_uintptr_t+set}" = set; then
12298 echo $ECHO_N "(cached) $ECHO_C" >&6
12300 cat >conftest.
$ac_ext <<_ACEOF
12303 cat confdefs.h
>>conftest.
$ac_ext
12304 cat >>conftest.
$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 #include <sys/types.h>
12312 if ((uintptr_t *) 0)
12314 if (sizeof (uintptr_t))
12320 rm -f conftest.
$ac_objext
12321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12322 (eval $ac_compile) 2>conftest.er1
12324 grep -v '^ *+' conftest.er1
>conftest.err
12326 cat conftest.err
>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } &&
12329 { ac_try
='test -z "$ac_c_werror_flag"
12330 || test ! -s conftest.err'
12331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12332 (eval $ac_try) 2>&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); }; } &&
12336 { ac_try
='test -s conftest.$ac_objext'
12337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12338 (eval $ac_try) 2>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }; }; then
12342 ac_cv_type_uintptr_t
=yes
12344 echo "$as_me: failed program was:" >&5
12345 sed 's/^/| /' conftest.
$ac_ext >&5
12347 ac_cv_type_uintptr_t
=no
12349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12351 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
12352 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
12357 if test "$acx_cv_header_stdint" = stddef.h
; then
12358 acx_cv_header_stdint_kind
="(u_intXX_t style)"
12359 for i
in sys
/types.h
$inttype_headers; do
12360 unset ac_cv_type_u_int32_t
12361 unset ac_cv_type_u_int64_t
12362 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
12363 echo "$as_me:$LINENO: checking for u_int32_t" >&5
12364 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
12365 if test "${ac_cv_type_u_int32_t+set}" = set; then
12366 echo $ECHO_N "(cached) $ECHO_C" >&6
12368 cat >conftest.
$ac_ext <<_ACEOF
12371 cat confdefs.h
>>conftest.
$ac_ext
12372 cat >>conftest.
$ac_ext <<_ACEOF
12373 /* end confdefs.h. */
12374 #include <sys/types.h>
12380 if ((u_int32_t *) 0)
12382 if (sizeof (u_int32_t))
12388 rm -f conftest.
$ac_objext
12389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12390 (eval $ac_compile) 2>conftest.er1
12392 grep -v '^ *+' conftest.er1
>conftest.err
12394 cat conftest.err
>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } &&
12397 { ac_try
='test -z "$ac_c_werror_flag"
12398 || test ! -s conftest.err'
12399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12400 (eval $ac_try) 2>&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }; } &&
12404 { ac_try
='test -s conftest.$ac_objext'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; }; then
12410 ac_cv_type_u_int32_t
=yes
12412 echo "$as_me: failed program was:" >&5
12413 sed 's/^/| /' conftest.
$ac_ext >&5
12415 ac_cv_type_u_int32_t
=no
12417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12419 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
12420 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
12421 if test $ac_cv_type_u_int32_t = yes; then
12422 acx_cv_header_stdint
=$i
12427 echo "$as_me:$LINENO: checking for u_int64_t" >&5
12428 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
12429 if test "${ac_cv_type_u_int64_t+set}" = set; then
12430 echo $ECHO_N "(cached) $ECHO_C" >&6
12432 cat >conftest.
$ac_ext <<_ACEOF
12435 cat confdefs.h
>>conftest.
$ac_ext
12436 cat >>conftest.
$ac_ext <<_ACEOF
12437 /* end confdefs.h. */
12438 #include <sys/types.h>
12444 if ((u_int64_t *) 0)
12446 if (sizeof (u_int64_t))
12452 rm -f conftest.
$ac_objext
12453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12454 (eval $ac_compile) 2>conftest.er1
12456 grep -v '^ *+' conftest.er1
>conftest.err
12458 cat conftest.err
>&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); } &&
12461 { ac_try
='test -z "$ac_c_werror_flag"
12462 || test ! -s conftest.err'
12463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12464 (eval $ac_try) 2>&5
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); }; } &&
12468 { ac_try
='test -s conftest.$ac_objext'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; }; then
12474 ac_cv_type_u_int64_t
=yes
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.
$ac_ext >&5
12479 ac_cv_type_u_int64_t
=no
12481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12483 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
12484 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
12489 if test "$acx_cv_header_stdint" = stddef.h
; then
12490 acx_cv_header_stdint_kind
="(using manual detection)"
12493 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
12494 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
12495 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
12496 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
12497 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
12499 # ----------------- Summarize what we found so far
12501 echo "$as_me:$LINENO: checking what to include in gdb_stdint.h" >&5
12502 echo $ECHO_N "checking what to include in gdb_stdint.h... $ECHO_C" >&6
12504 case `$as_basename gdb_stdint.h ||
12505 $as_expr X/gdb_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
12506 Xgdb_stdint.h : 'X\(//\)$' \| \
12507 Xgdb_stdint.h : 'X\(/\)$' \| \
12508 . : '\(.\)' 2>/dev/null ||
12509 echo X/gdb_stdint.h |
12510 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12511 /^X\/\(\/\/\)$/{ s//\1/; q; }
12512 /^X\/\(\/\).*/{ s//\1/; q; }
12514 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
12515 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12516 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
12517 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12521 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
12522 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
12524 # ----------------- done included file, check C basic types --------
12526 # Lacking an uintptr_t? Test size of void *
12527 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
12528 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
12529 echo $ECHO_N "checking for void *... $ECHO_C" >&6
12530 if test "${ac_cv_type_void_p+set}" = set; then
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
12533 cat >conftest.
$ac_ext <<_ACEOF
12536 cat confdefs.h
>>conftest.
$ac_ext
12537 cat >>conftest.
$ac_ext <<_ACEOF
12538 /* end confdefs.h. */
12539 $ac_includes_default
12545 if (sizeof (void *))
12551 rm -f conftest.
$ac_objext
12552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12553 (eval $ac_compile) 2>conftest.er1
12555 grep -v '^ *+' conftest.er1
>conftest.err
12557 cat conftest.err
>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } &&
12560 { ac_try
='test -z "$ac_c_werror_flag"
12561 || test ! -s conftest.err'
12562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12563 (eval $ac_try) 2>&5
12565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12566 (exit $ac_status); }; } &&
12567 { ac_try
='test -s conftest.$ac_objext'
12568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569 (eval $ac_try) 2>&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); }; }; then
12573 ac_cv_type_void_p
=yes
12575 echo "$as_me: failed program was:" >&5
12576 sed 's/^/| /' conftest.
$ac_ext >&5
12578 ac_cv_type_void_p
=no
12580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12582 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
12583 echo "${ECHO_T}$ac_cv_type_void_p" >&6
12585 echo "$as_me:$LINENO: checking size of void *" >&5
12586 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
12587 if test "${ac_cv_sizeof_void_p+set}" = set; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12590 if test "$ac_cv_type_void_p" = yes; then
12591 # The cast to unsigned long works around a bug in the HP C Compiler
12592 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12593 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12594 # This bug is HP SR number 8606223364.
12595 if test "$cross_compiling" = yes; then
12596 # Depending upon the size, compute the lo and hi bounds.
12597 cat >conftest.
$ac_ext <<_ACEOF
12600 cat confdefs.h
>>conftest.
$ac_ext
12601 cat >>conftest.
$ac_ext <<_ACEOF
12602 /* end confdefs.h. */
12603 $ac_includes_default
12607 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
12614 rm -f conftest.
$ac_objext
12615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12616 (eval $ac_compile) 2>conftest.er1
12618 grep -v '^ *+' conftest.er1
>conftest.err
12620 cat conftest.err
>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); } &&
12623 { ac_try
='test -z "$ac_c_werror_flag"
12624 || test ! -s conftest.err'
12625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12626 (eval $ac_try) 2>&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); }; } &&
12630 { ac_try
='test -s conftest.$ac_objext'
12631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12632 (eval $ac_try) 2>&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); }; }; then
12638 cat >conftest.
$ac_ext <<_ACEOF
12641 cat confdefs.h
>>conftest.
$ac_ext
12642 cat >>conftest.
$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 $ac_includes_default
12648 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
12655 rm -f conftest.
$ac_objext
12656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12657 (eval $ac_compile) 2>conftest.er1
12659 grep -v '^ *+' conftest.er1
>conftest.err
12661 cat conftest.err
>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } &&
12664 { ac_try
='test -z "$ac_c_werror_flag"
12665 || test ! -s conftest.err'
12666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12667 (eval $ac_try) 2>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); }; } &&
12671 { ac_try
='test -s conftest.$ac_objext'
12672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12673 (eval $ac_try) 2>&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; }; then
12677 ac_hi
=$ac_mid; break
12679 echo "$as_me: failed program was:" >&5
12680 sed 's/^/| /' conftest.
$ac_ext >&5
12682 ac_lo
=`expr $ac_mid + 1`
12683 if test $ac_lo -le $ac_mid; then
12687 ac_mid
=`expr 2 '*' $ac_mid + 1`
12689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12692 echo "$as_me: failed program was:" >&5
12693 sed 's/^/| /' conftest.
$ac_ext >&5
12695 cat >conftest.
$ac_ext <<_ACEOF
12698 cat confdefs.h
>>conftest.
$ac_ext
12699 cat >>conftest.
$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12701 $ac_includes_default
12705 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
12712 rm -f conftest.
$ac_objext
12713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12714 (eval $ac_compile) 2>conftest.er1
12716 grep -v '^ *+' conftest.er1
>conftest.err
12718 cat conftest.err
>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); } &&
12721 { ac_try
='test -z "$ac_c_werror_flag"
12722 || test ! -s conftest.err'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; } &&
12728 { ac_try
='test -s conftest.$ac_objext'
12729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12730 (eval $ac_try) 2>&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); }; }; then
12736 cat >conftest.
$ac_ext <<_ACEOF
12739 cat confdefs.h
>>conftest.
$ac_ext
12740 cat >>conftest.
$ac_ext <<_ACEOF
12741 /* end confdefs.h. */
12742 $ac_includes_default
12746 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
12753 rm -f conftest.
$ac_objext
12754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12755 (eval $ac_compile) 2>conftest.er1
12757 grep -v '^ *+' conftest.er1
>conftest.err
12759 cat conftest.err
>&5
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12761 (exit $ac_status); } &&
12762 { ac_try
='test -z "$ac_c_werror_flag"
12763 || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try
='test -s conftest.$ac_objext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 ac_lo
=$ac_mid; break
12777 echo "$as_me: failed program was:" >&5
12778 sed 's/^/| /' conftest.
$ac_ext >&5
12780 ac_hi
=`expr '(' $ac_mid ')' - 1`
12781 if test $ac_mid -le $ac_hi; then
12785 ac_mid
=`expr 2 '*' $ac_mid`
12787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12790 echo "$as_me: failed program was:" >&5
12791 sed 's/^/| /' conftest.
$ac_ext >&5
12795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12798 # Binary search between lo and hi bounds.
12799 while test "x$ac_lo" != "x$ac_hi"; do
12800 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12801 cat >conftest.
$ac_ext <<_ACEOF
12804 cat confdefs.h
>>conftest.
$ac_ext
12805 cat >>conftest.
$ac_ext <<_ACEOF
12806 /* end confdefs.h. */
12807 $ac_includes_default
12811 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
12818 rm -f conftest.
$ac_objext
12819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12820 (eval $ac_compile) 2>conftest.er1
12822 grep -v '^ *+' conftest.er1
>conftest.err
12824 cat conftest.err
>&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); } &&
12827 { ac_try
='test -z "$ac_c_werror_flag"
12828 || test ! -s conftest.err'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; } &&
12834 { ac_try
='test -s conftest.$ac_objext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.
$ac_ext >&5
12845 ac_lo
=`expr '(' $ac_mid ')' + 1`
12847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12850 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
12851 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12852 See \`config.log' for more details." >&5
12853 echo "$as_me: error: cannot compute sizeof (void *), 77
12854 See \`config.log' for more details." >&2;}
12855 { (exit 1); exit 1; }; } ;;
12858 if test "$cross_compiling" = yes; then
12859 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12860 See \`config.log' for more details." >&5
12861 echo "$as_me: error: cannot run test program while cross compiling
12862 See \`config.log' for more details." >&2;}
12863 { (exit 1); exit 1; }; }
12865 cat >conftest.
$ac_ext <<_ACEOF
12868 cat confdefs.h
>>conftest.
$ac_ext
12869 cat >>conftest.
$ac_ext <<_ACEOF
12870 /* end confdefs.h. */
12871 $ac_includes_default
12872 long longval () { return (long) (sizeof (void *)); }
12873 unsigned long ulongval () { return (long) (sizeof (void *)); }
12875 #include <stdlib.h>
12880 FILE *f = fopen ("conftest.val", "w");
12883 if (((long) (sizeof (void *))) < 0)
12885 long i = longval ();
12886 if (i != ((long) (sizeof (void *))))
12888 fprintf (f, "%ld\n", i);
12892 unsigned long i = ulongval ();
12893 if (i != ((long) (sizeof (void *))))
12895 fprintf (f, "%lu\n", i);
12897 exit (ferror (f) || fclose (f) != 0);
12903 rm -f conftest
$ac_exeext
12904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12905 (eval $ac_link) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; }; then
12914 ac_cv_sizeof_void_p
=`cat conftest.val`
12916 echo "$as_me: program exited with status $ac_status" >&5
12917 echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.
$ac_ext >&5
12920 ( exit $ac_status )
12921 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12922 See \`config.log' for more details." >&5
12923 echo "$as_me: error: cannot compute sizeof (void *), 77
12924 See \`config.log' for more details." >&2;}
12925 { (exit 1); exit 1; }; }
12927 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12932 ac_cv_sizeof_void_p
=0
12935 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
12936 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
12937 cat >>confdefs.h
<<_ACEOF
12938 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12944 # Lacking an uint64_t? Test size of long
12945 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
12946 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
12947 echo $ECHO_N "checking for long... $ECHO_C" >&6
12948 if test "${ac_cv_type_long+set}" = set; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 cat >conftest.
$ac_ext <<_ACEOF
12954 cat confdefs.h
>>conftest.
$ac_ext
12955 cat >>conftest.
$ac_ext <<_ACEOF
12956 /* end confdefs.h. */
12957 $ac_includes_default
12969 rm -f conftest.
$ac_objext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12971 (eval $ac_compile) 2>conftest.er1
12973 grep -v '^ *+' conftest.er1
>conftest.err
12975 cat conftest.err
>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try
='test -z "$ac_c_werror_flag"
12979 || test ! -s conftest.err'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981 (eval $ac_try) 2>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; } &&
12985 { ac_try
='test -s conftest.$ac_objext'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; }; then
12991 ac_cv_type_long
=yes
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.
$ac_ext >&5
12998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13000 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
13001 echo "${ECHO_T}$ac_cv_type_long" >&6
13003 echo "$as_me:$LINENO: checking size of long" >&5
13004 echo $ECHO_N "checking size of long... $ECHO_C" >&6
13005 if test "${ac_cv_sizeof_long+set}" = set; then
13006 echo $ECHO_N "(cached) $ECHO_C" >&6
13008 if test "$ac_cv_type_long" = yes; then
13009 # The cast to unsigned long works around a bug in the HP C Compiler
13010 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13011 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13012 # This bug is HP SR number 8606223364.
13013 if test "$cross_compiling" = yes; then
13014 # Depending upon the size, compute the lo and hi bounds.
13015 cat >conftest.
$ac_ext <<_ACEOF
13018 cat confdefs.h
>>conftest.
$ac_ext
13019 cat >>conftest.
$ac_ext <<_ACEOF
13020 /* end confdefs.h. */
13021 $ac_includes_default
13025 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
13032 rm -f conftest.
$ac_objext
13033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13034 (eval $ac_compile) 2>conftest.er1
13036 grep -v '^ *+' conftest.er1
>conftest.err
13038 cat conftest.err
>&5
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); } &&
13041 { ac_try
='test -z "$ac_c_werror_flag"
13042 || test ! -s conftest.err'
13043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13044 (eval $ac_try) 2>&5
13046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13047 (exit $ac_status); }; } &&
13048 { ac_try
='test -s conftest.$ac_objext'
13049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13050 (eval $ac_try) 2>&5
13052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13053 (exit $ac_status); }; }; then
13056 cat >conftest.
$ac_ext <<_ACEOF
13059 cat confdefs.h
>>conftest.
$ac_ext
13060 cat >>conftest.
$ac_ext <<_ACEOF
13061 /* end confdefs.h. */
13062 $ac_includes_default
13066 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13073 rm -f conftest.
$ac_objext
13074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13075 (eval $ac_compile) 2>conftest.er1
13077 grep -v '^ *+' conftest.er1
>conftest.err
13079 cat conftest.err
>&5
13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); } &&
13082 { ac_try
='test -z "$ac_c_werror_flag"
13083 || test ! -s conftest.err'
13084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13085 (eval $ac_try) 2>&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); }; } &&
13089 { ac_try
='test -s conftest.$ac_objext'
13090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13091 (eval $ac_try) 2>&5
13093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13094 (exit $ac_status); }; }; then
13095 ac_hi
=$ac_mid; break
13097 echo "$as_me: failed program was:" >&5
13098 sed 's/^/| /' conftest.
$ac_ext >&5
13100 ac_lo
=`expr $ac_mid + 1`
13101 if test $ac_lo -le $ac_mid; then
13105 ac_mid
=`expr 2 '*' $ac_mid + 1`
13107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13110 echo "$as_me: failed program was:" >&5
13111 sed 's/^/| /' conftest.
$ac_ext >&5
13113 cat >conftest.
$ac_ext <<_ACEOF
13116 cat confdefs.h
>>conftest.
$ac_ext
13117 cat >>conftest.
$ac_ext <<_ACEOF
13118 /* end confdefs.h. */
13119 $ac_includes_default
13123 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
13130 rm -f conftest.
$ac_objext
13131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13132 (eval $ac_compile) 2>conftest.er1
13134 grep -v '^ *+' conftest.er1
>conftest.err
13136 cat conftest.err
>&5
13137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138 (exit $ac_status); } &&
13139 { ac_try
='test -z "$ac_c_werror_flag"
13140 || test ! -s conftest.err'
13141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142 (eval $ac_try) 2>&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); }; } &&
13146 { ac_try
='test -s conftest.$ac_objext'
13147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148 (eval $ac_try) 2>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }; }; then
13154 cat >conftest.
$ac_ext <<_ACEOF
13157 cat confdefs.h
>>conftest.
$ac_ext
13158 cat >>conftest.
$ac_ext <<_ACEOF
13159 /* end confdefs.h. */
13160 $ac_includes_default
13164 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
13171 rm -f conftest.
$ac_objext
13172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13173 (eval $ac_compile) 2>conftest.er1
13175 grep -v '^ *+' conftest.er1
>conftest.err
13177 cat conftest.err
>&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); } &&
13180 { ac_try
='test -z "$ac_c_werror_flag"
13181 || test ! -s conftest.err'
13182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13183 (eval $ac_try) 2>&5
13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 (exit $ac_status); }; } &&
13187 { ac_try
='test -s conftest.$ac_objext'
13188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13189 (eval $ac_try) 2>&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); }; }; then
13193 ac_lo
=$ac_mid; break
13195 echo "$as_me: failed program was:" >&5
13196 sed 's/^/| /' conftest.
$ac_ext >&5
13198 ac_hi
=`expr '(' $ac_mid ')' - 1`
13199 if test $ac_mid -le $ac_hi; then
13203 ac_mid
=`expr 2 '*' $ac_mid`
13205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13208 echo "$as_me: failed program was:" >&5
13209 sed 's/^/| /' conftest.
$ac_ext >&5
13213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13216 # Binary search between lo and hi bounds.
13217 while test "x$ac_lo" != "x$ac_hi"; do
13218 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13219 cat >conftest.
$ac_ext <<_ACEOF
13222 cat confdefs.h
>>conftest.
$ac_ext
13223 cat >>conftest.
$ac_ext <<_ACEOF
13224 /* end confdefs.h. */
13225 $ac_includes_default
13229 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13236 rm -f conftest.
$ac_objext
13237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13238 (eval $ac_compile) 2>conftest.er1
13240 grep -v '^ *+' conftest.er1
>conftest.err
13242 cat conftest.err
>&5
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); } &&
13245 { ac_try
='test -z "$ac_c_werror_flag"
13246 || test ! -s conftest.err'
13247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13248 (eval $ac_try) 2>&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); }; } &&
13252 { ac_try
='test -s conftest.$ac_objext'
13253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13254 (eval $ac_try) 2>&5
13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); }; }; then
13260 echo "$as_me: failed program was:" >&5
13261 sed 's/^/| /' conftest.
$ac_ext >&5
13263 ac_lo
=`expr '(' $ac_mid ')' + 1`
13265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13268 ?
*) ac_cv_sizeof_long
=$ac_lo;;
13269 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13270 See \`config.log' for more details." >&5
13271 echo "$as_me: error: cannot compute sizeof (long), 77
13272 See \`config.log' for more details." >&2;}
13273 { (exit 1); exit 1; }; } ;;
13276 if test "$cross_compiling" = yes; then
13277 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13278 See \`config.log' for more details." >&5
13279 echo "$as_me: error: cannot run test program while cross compiling
13280 See \`config.log' for more details." >&2;}
13281 { (exit 1); exit 1; }; }
13283 cat >conftest.
$ac_ext <<_ACEOF
13286 cat confdefs.h
>>conftest.
$ac_ext
13287 cat >>conftest.
$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13289 $ac_includes_default
13290 long longval () { return (long) (sizeof (long)); }
13291 unsigned long ulongval () { return (long) (sizeof (long)); }
13293 #include <stdlib.h>
13298 FILE *f = fopen ("conftest.val", "w");
13301 if (((long) (sizeof (long))) < 0)
13303 long i = longval ();
13304 if (i != ((long) (sizeof (long))))
13306 fprintf (f, "%ld\n", i);
13310 unsigned long i = ulongval ();
13311 if (i != ((long) (sizeof (long))))
13313 fprintf (f, "%lu\n", i);
13315 exit (ferror (f) || fclose (f) != 0);
13321 rm -f conftest
$ac_exeext
13322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13323 (eval $ac_link) 2>&5
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13328 (eval $ac_try) 2>&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); }; }; then
13332 ac_cv_sizeof_long
=`cat conftest.val`
13334 echo "$as_me: program exited with status $ac_status" >&5
13335 echo "$as_me: failed program was:" >&5
13336 sed 's/^/| /' conftest.
$ac_ext >&5
13338 ( exit $ac_status )
13339 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13340 See \`config.log' for more details." >&5
13341 echo "$as_me: error: cannot compute sizeof (long), 77
13342 See \`config.log' for more details." >&2;}
13343 { (exit 1); exit 1; }; }
13345 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13350 ac_cv_sizeof_long
=0
13353 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13354 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
13355 cat >>confdefs.h
<<_ACEOF
13356 #define SIZEOF_LONG $ac_cv_sizeof_long
13362 if test $acx_cv_header_stdint = stddef.h
; then
13363 # Lacking a good header? Test size of everything and deduce all types.
13364 echo "$as_me:$LINENO: checking for int" >&5
13365 echo $ECHO_N "checking for int... $ECHO_C" >&6
13366 if test "${ac_cv_type_int+set}" = set; then
13367 echo $ECHO_N "(cached) $ECHO_C" >&6
13369 cat >conftest.
$ac_ext <<_ACEOF
13372 cat confdefs.h
>>conftest.
$ac_ext
13373 cat >>conftest.
$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13375 $ac_includes_default
13387 rm -f conftest.
$ac_objext
13388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13389 (eval $ac_compile) 2>conftest.er1
13391 grep -v '^ *+' conftest.er1
>conftest.err
13393 cat conftest.err
>&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); } &&
13396 { ac_try
='test -z "$ac_c_werror_flag"
13397 || test ! -s conftest.err'
13398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13399 (eval $ac_try) 2>&5
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); }; } &&
13403 { ac_try
='test -s conftest.$ac_objext'
13404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13405 (eval $ac_try) 2>&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); }; }; then
13411 echo "$as_me: failed program was:" >&5
13412 sed 's/^/| /' conftest.
$ac_ext >&5
13416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13418 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
13419 echo "${ECHO_T}$ac_cv_type_int" >&6
13421 echo "$as_me:$LINENO: checking size of int" >&5
13422 echo $ECHO_N "checking size of int... $ECHO_C" >&6
13423 if test "${ac_cv_sizeof_int+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13426 if test "$ac_cv_type_int" = yes; then
13427 # The cast to unsigned long works around a bug in the HP C Compiler
13428 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13429 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13430 # This bug is HP SR number 8606223364.
13431 if test "$cross_compiling" = yes; then
13432 # Depending upon the size, compute the lo and hi bounds.
13433 cat >conftest.
$ac_ext <<_ACEOF
13436 cat confdefs.h
>>conftest.
$ac_ext
13437 cat >>conftest.
$ac_ext <<_ACEOF
13438 /* end confdefs.h. */
13439 $ac_includes_default
13443 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
13450 rm -f conftest.
$ac_objext
13451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13452 (eval $ac_compile) 2>conftest.er1
13454 grep -v '^ *+' conftest.er1
>conftest.err
13456 cat conftest.err
>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); } &&
13459 { ac_try
='test -z "$ac_c_werror_flag"
13460 || test ! -s conftest.err'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; } &&
13466 { ac_try
='test -s conftest.$ac_objext'
13467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13468 (eval $ac_try) 2>&5
13470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); }; }; then
13474 cat >conftest.
$ac_ext <<_ACEOF
13477 cat confdefs.h
>>conftest.
$ac_ext
13478 cat >>conftest.
$ac_ext <<_ACEOF
13479 /* end confdefs.h. */
13480 $ac_includes_default
13484 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
13491 rm -f conftest.
$ac_objext
13492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13493 (eval $ac_compile) 2>conftest.er1
13495 grep -v '^ *+' conftest.er1
>conftest.err
13497 cat conftest.err
>&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try
='test -z "$ac_c_werror_flag"
13501 || test ! -s conftest.err'
13502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13503 (eval $ac_try) 2>&5
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); }; } &&
13507 { ac_try
='test -s conftest.$ac_objext'
13508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13509 (eval $ac_try) 2>&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); }; }; then
13513 ac_hi
=$ac_mid; break
13515 echo "$as_me: failed program was:" >&5
13516 sed 's/^/| /' conftest.
$ac_ext >&5
13518 ac_lo
=`expr $ac_mid + 1`
13519 if test $ac_lo -le $ac_mid; then
13523 ac_mid
=`expr 2 '*' $ac_mid + 1`
13525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13528 echo "$as_me: failed program was:" >&5
13529 sed 's/^/| /' conftest.
$ac_ext >&5
13531 cat >conftest.
$ac_ext <<_ACEOF
13534 cat confdefs.h
>>conftest.
$ac_ext
13535 cat >>conftest.
$ac_ext <<_ACEOF
13536 /* end confdefs.h. */
13537 $ac_includes_default
13541 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
13548 rm -f conftest.
$ac_objext
13549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13550 (eval $ac_compile) 2>conftest.er1
13552 grep -v '^ *+' conftest.er1
>conftest.err
13554 cat conftest.err
>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); } &&
13557 { ac_try
='test -z "$ac_c_werror_flag"
13558 || test ! -s conftest.err'
13559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13560 (eval $ac_try) 2>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); }; } &&
13564 { ac_try
='test -s conftest.$ac_objext'
13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566 (eval $ac_try) 2>&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); }; }; then
13572 cat >conftest.
$ac_ext <<_ACEOF
13575 cat confdefs.h
>>conftest.
$ac_ext
13576 cat >>conftest.
$ac_ext <<_ACEOF
13577 /* end confdefs.h. */
13578 $ac_includes_default
13582 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
13589 rm -f conftest.
$ac_objext
13590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13591 (eval $ac_compile) 2>conftest.er1
13593 grep -v '^ *+' conftest.er1
>conftest.err
13595 cat conftest.err
>&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); } &&
13598 { ac_try
='test -z "$ac_c_werror_flag"
13599 || test ! -s conftest.err'
13600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13601 (eval $ac_try) 2>&5
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); }; } &&
13605 { ac_try
='test -s conftest.$ac_objext'
13606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13607 (eval $ac_try) 2>&5
13609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 (exit $ac_status); }; }; then
13611 ac_lo
=$ac_mid; break
13613 echo "$as_me: failed program was:" >&5
13614 sed 's/^/| /' conftest.
$ac_ext >&5
13616 ac_hi
=`expr '(' $ac_mid ')' - 1`
13617 if test $ac_mid -le $ac_hi; then
13621 ac_mid
=`expr 2 '*' $ac_mid`
13623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13626 echo "$as_me: failed program was:" >&5
13627 sed 's/^/| /' conftest.
$ac_ext >&5
13631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13634 # Binary search between lo and hi bounds.
13635 while test "x$ac_lo" != "x$ac_hi"; do
13636 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13637 cat >conftest.
$ac_ext <<_ACEOF
13640 cat confdefs.h
>>conftest.
$ac_ext
13641 cat >>conftest.
$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13643 $ac_includes_default
13647 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
13654 rm -f conftest.
$ac_objext
13655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13656 (eval $ac_compile) 2>conftest.er1
13658 grep -v '^ *+' conftest.er1
>conftest.err
13660 cat conftest.err
>&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } &&
13663 { ac_try
='test -z "$ac_c_werror_flag"
13664 || test ! -s conftest.err'
13665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13666 (eval $ac_try) 2>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); }; } &&
13670 { ac_try
='test -s conftest.$ac_objext'
13671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672 (eval $ac_try) 2>&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); }; }; then
13678 echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.
$ac_ext >&5
13681 ac_lo
=`expr '(' $ac_mid ')' + 1`
13683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13686 ?
*) ac_cv_sizeof_int
=$ac_lo;;
13687 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
13688 See \`config.log' for more details." >&5
13689 echo "$as_me: error: cannot compute sizeof (int), 77
13690 See \`config.log' for more details." >&2;}
13691 { (exit 1); exit 1; }; } ;;
13694 if test "$cross_compiling" = yes; then
13695 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13696 See \`config.log' for more details." >&5
13697 echo "$as_me: error: cannot run test program while cross compiling
13698 See \`config.log' for more details." >&2;}
13699 { (exit 1); exit 1; }; }
13701 cat >conftest.
$ac_ext <<_ACEOF
13704 cat confdefs.h
>>conftest.
$ac_ext
13705 cat >>conftest.
$ac_ext <<_ACEOF
13706 /* end confdefs.h. */
13707 $ac_includes_default
13708 long longval () { return (long) (sizeof (int)); }
13709 unsigned long ulongval () { return (long) (sizeof (int)); }
13711 #include <stdlib.h>
13716 FILE *f = fopen ("conftest.val", "w");
13719 if (((long) (sizeof (int))) < 0)
13721 long i = longval ();
13722 if (i != ((long) (sizeof (int))))
13724 fprintf (f, "%ld\n", i);
13728 unsigned long i = ulongval ();
13729 if (i != ((long) (sizeof (int))))
13731 fprintf (f, "%lu\n", i);
13733 exit (ferror (f) || fclose (f) != 0);
13739 rm -f conftest
$ac_exeext
13740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13741 (eval $ac_link) 2>&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13746 (eval $ac_try) 2>&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); }; }; then
13750 ac_cv_sizeof_int
=`cat conftest.val`
13752 echo "$as_me: program exited with status $ac_status" >&5
13753 echo "$as_me: failed program was:" >&5
13754 sed 's/^/| /' conftest.
$ac_ext >&5
13756 ( exit $ac_status )
13757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
13758 See \`config.log' for more details." >&5
13759 echo "$as_me: error: cannot compute sizeof (int), 77
13760 See \`config.log' for more details." >&2;}
13761 { (exit 1); exit 1; }; }
13763 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13771 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
13772 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
13773 cat >>confdefs.h
<<_ACEOF
13774 #define SIZEOF_INT $ac_cv_sizeof_int
13778 echo "$as_me:$LINENO: checking for short" >&5
13779 echo $ECHO_N "checking for short... $ECHO_C" >&6
13780 if test "${ac_cv_type_short+set}" = set; then
13781 echo $ECHO_N "(cached) $ECHO_C" >&6
13783 cat >conftest.
$ac_ext <<_ACEOF
13786 cat confdefs.h
>>conftest.
$ac_ext
13787 cat >>conftest.
$ac_ext <<_ACEOF
13788 /* end confdefs.h. */
13789 $ac_includes_default
13795 if (sizeof (short))
13801 rm -f conftest.
$ac_objext
13802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13803 (eval $ac_compile) 2>conftest.er1
13805 grep -v '^ *+' conftest.er1
>conftest.err
13807 cat conftest.err
>&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); } &&
13810 { ac_try
='test -z "$ac_c_werror_flag"
13811 || test ! -s conftest.err'
13812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 (eval $ac_try) 2>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }; } &&
13817 { ac_try
='test -s conftest.$ac_objext'
13818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13819 (eval $ac_try) 2>&5
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); }; }; then
13823 ac_cv_type_short
=yes
13825 echo "$as_me: failed program was:" >&5
13826 sed 's/^/| /' conftest.
$ac_ext >&5
13828 ac_cv_type_short
=no
13830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13832 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13833 echo "${ECHO_T}$ac_cv_type_short" >&6
13835 echo "$as_me:$LINENO: checking size of short" >&5
13836 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13837 if test "${ac_cv_sizeof_short+set}" = set; then
13838 echo $ECHO_N "(cached) $ECHO_C" >&6
13840 if test "$ac_cv_type_short" = yes; then
13841 # The cast to unsigned long works around a bug in the HP C Compiler
13842 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13843 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13844 # This bug is HP SR number 8606223364.
13845 if test "$cross_compiling" = yes; then
13846 # Depending upon the size, compute the lo and hi bounds.
13847 cat >conftest.
$ac_ext <<_ACEOF
13850 cat confdefs.h
>>conftest.
$ac_ext
13851 cat >>conftest.
$ac_ext <<_ACEOF
13852 /* end confdefs.h. */
13853 $ac_includes_default
13857 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13864 rm -f conftest.
$ac_objext
13865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13866 (eval $ac_compile) 2>conftest.er1
13868 grep -v '^ *+' conftest.er1
>conftest.err
13870 cat conftest.err
>&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); } &&
13873 { ac_try
='test -z "$ac_c_werror_flag"
13874 || test ! -s conftest.err'
13875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13876 (eval $ac_try) 2>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); }; } &&
13880 { ac_try
='test -s conftest.$ac_objext'
13881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882 (eval $ac_try) 2>&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }; }; then
13888 cat >conftest.
$ac_ext <<_ACEOF
13891 cat confdefs.h
>>conftest.
$ac_ext
13892 cat >>conftest.
$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13894 $ac_includes_default
13898 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13905 rm -f conftest.
$ac_objext
13906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13907 (eval $ac_compile) 2>conftest.er1
13909 grep -v '^ *+' conftest.er1
>conftest.err
13911 cat conftest.err
>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } &&
13914 { ac_try
='test -z "$ac_c_werror_flag"
13915 || test ! -s conftest.err'
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917 (eval $ac_try) 2>&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; } &&
13921 { ac_try
='test -s conftest.$ac_objext'
13922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13923 (eval $ac_try) 2>&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); }; }; then
13927 ac_hi
=$ac_mid; break
13929 echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.
$ac_ext >&5
13932 ac_lo
=`expr $ac_mid + 1`
13933 if test $ac_lo -le $ac_mid; then
13937 ac_mid
=`expr 2 '*' $ac_mid + 1`
13939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13942 echo "$as_me: failed program was:" >&5
13943 sed 's/^/| /' conftest.
$ac_ext >&5
13945 cat >conftest.
$ac_ext <<_ACEOF
13948 cat confdefs.h
>>conftest.
$ac_ext
13949 cat >>conftest.
$ac_ext <<_ACEOF
13950 /* end confdefs.h. */
13951 $ac_includes_default
13955 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
13962 rm -f conftest.
$ac_objext
13963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13964 (eval $ac_compile) 2>conftest.er1
13966 grep -v '^ *+' conftest.er1
>conftest.err
13968 cat conftest.err
>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); } &&
13971 { ac_try
='test -z "$ac_c_werror_flag"
13972 || test ! -s conftest.err'
13973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13974 (eval $ac_try) 2>&5
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; } &&
13978 { ac_try
='test -s conftest.$ac_objext'
13979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13980 (eval $ac_try) 2>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); }; }; then
13986 cat >conftest.
$ac_ext <<_ACEOF
13989 cat confdefs.h
>>conftest.
$ac_ext
13990 cat >>conftest.
$ac_ext <<_ACEOF
13991 /* end confdefs.h. */
13992 $ac_includes_default
13996 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14003 rm -f conftest.
$ac_objext
14004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14005 (eval $ac_compile) 2>conftest.er1
14007 grep -v '^ *+' conftest.er1
>conftest.err
14009 cat conftest.err
>&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } &&
14012 { ac_try
='test -z "$ac_c_werror_flag"
14013 || test ! -s conftest.err'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; } &&
14019 { ac_try
='test -s conftest.$ac_objext'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; }; then
14025 ac_lo
=$ac_mid; break
14027 echo "$as_me: failed program was:" >&5
14028 sed 's/^/| /' conftest.
$ac_ext >&5
14030 ac_hi
=`expr '(' $ac_mid ')' - 1`
14031 if test $ac_mid -le $ac_hi; then
14035 ac_mid
=`expr 2 '*' $ac_mid`
14037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14040 echo "$as_me: failed program was:" >&5
14041 sed 's/^/| /' conftest.
$ac_ext >&5
14045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14048 # Binary search between lo and hi bounds.
14049 while test "x$ac_lo" != "x$ac_hi"; do
14050 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14051 cat >conftest.
$ac_ext <<_ACEOF
14054 cat confdefs.h
>>conftest.
$ac_ext
14055 cat >>conftest.
$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14057 $ac_includes_default
14061 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14068 rm -f conftest.
$ac_objext
14069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14070 (eval $ac_compile) 2>conftest.er1
14072 grep -v '^ *+' conftest.er1
>conftest.err
14074 cat conftest.err
>&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } &&
14077 { ac_try
='test -z "$ac_c_werror_flag"
14078 || test ! -s conftest.err'
14079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14080 (eval $ac_try) 2>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; } &&
14084 { ac_try
='test -s conftest.$ac_objext'
14085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14086 (eval $ac_try) 2>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); }; }; then
14092 echo "$as_me: failed program was:" >&5
14093 sed 's/^/| /' conftest.
$ac_ext >&5
14095 ac_lo
=`expr '(' $ac_mid ')' + 1`
14097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14100 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14101 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14102 See \`config.log' for more details." >&5
14103 echo "$as_me: error: cannot compute sizeof (short), 77
14104 See \`config.log' for more details." >&2;}
14105 { (exit 1); exit 1; }; } ;;
14108 if test "$cross_compiling" = yes; then
14109 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14110 See \`config.log' for more details." >&5
14111 echo "$as_me: error: cannot run test program while cross compiling
14112 See \`config.log' for more details." >&2;}
14113 { (exit 1); exit 1; }; }
14115 cat >conftest.
$ac_ext <<_ACEOF
14118 cat confdefs.h
>>conftest.
$ac_ext
14119 cat >>conftest.
$ac_ext <<_ACEOF
14120 /* end confdefs.h. */
14121 $ac_includes_default
14122 long longval () { return (long) (sizeof (short)); }
14123 unsigned long ulongval () { return (long) (sizeof (short)); }
14125 #include <stdlib.h>
14130 FILE *f = fopen ("conftest.val", "w");
14133 if (((long) (sizeof (short))) < 0)
14135 long i = longval ();
14136 if (i != ((long) (sizeof (short))))
14138 fprintf (f, "%ld\n", i);
14142 unsigned long i = ulongval ();
14143 if (i != ((long) (sizeof (short))))
14145 fprintf (f, "%lu\n", i);
14147 exit (ferror (f) || fclose (f) != 0);
14153 rm -f conftest
$ac_exeext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14155 (eval $ac_link) 2>&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14160 (eval $ac_try) 2>&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); }; }; then
14164 ac_cv_sizeof_short
=`cat conftest.val`
14166 echo "$as_me: program exited with status $ac_status" >&5
14167 echo "$as_me: failed program was:" >&5
14168 sed 's/^/| /' conftest.
$ac_ext >&5
14170 ( exit $ac_status )
14171 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14172 See \`config.log' for more details." >&5
14173 echo "$as_me: error: cannot compute sizeof (short), 77
14174 See \`config.log' for more details." >&2;}
14175 { (exit 1); exit 1; }; }
14177 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14182 ac_cv_sizeof_short
=0
14185 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14186 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14187 cat >>confdefs.h
<<_ACEOF
14188 #define SIZEOF_SHORT $ac_cv_sizeof_short
14192 echo "$as_me:$LINENO: checking for char" >&5
14193 echo $ECHO_N "checking for char... $ECHO_C" >&6
14194 if test "${ac_cv_type_char+set}" = set; then
14195 echo $ECHO_N "(cached) $ECHO_C" >&6
14197 cat >conftest.
$ac_ext <<_ACEOF
14200 cat confdefs.h
>>conftest.
$ac_ext
14201 cat >>conftest.
$ac_ext <<_ACEOF
14202 /* end confdefs.h. */
14203 $ac_includes_default
14215 rm -f conftest.
$ac_objext
14216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14217 (eval $ac_compile) 2>conftest.er1
14219 grep -v '^ *+' conftest.er1
>conftest.err
14221 cat conftest.err
>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); } &&
14224 { ac_try
='test -z "$ac_c_werror_flag"
14225 || test ! -s conftest.err'
14226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14227 (eval $ac_try) 2>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); }; } &&
14231 { ac_try
='test -s conftest.$ac_objext'
14232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14233 (eval $ac_try) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; }; then
14237 ac_cv_type_char
=yes
14239 echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.
$ac_ext >&5
14244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14246 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14247 echo "${ECHO_T}$ac_cv_type_char" >&6
14249 echo "$as_me:$LINENO: checking size of char" >&5
14250 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14251 if test "${ac_cv_sizeof_char+set}" = set; then
14252 echo $ECHO_N "(cached) $ECHO_C" >&6
14254 if test "$ac_cv_type_char" = yes; then
14255 # The cast to unsigned long works around a bug in the HP C Compiler
14256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14258 # This bug is HP SR number 8606223364.
14259 if test "$cross_compiling" = yes; then
14260 # Depending upon the size, compute the lo and hi bounds.
14261 cat >conftest.
$ac_ext <<_ACEOF
14264 cat confdefs.h
>>conftest.
$ac_ext
14265 cat >>conftest.
$ac_ext <<_ACEOF
14266 /* end confdefs.h. */
14267 $ac_includes_default
14271 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14278 rm -f conftest.
$ac_objext
14279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14280 (eval $ac_compile) 2>conftest.er1
14282 grep -v '^ *+' conftest.er1
>conftest.err
14284 cat conftest.err
>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } &&
14287 { ac_try
='test -z "$ac_c_werror_flag"
14288 || test ! -s conftest.err'
14289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14290 (eval $ac_try) 2>&5
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); }; } &&
14294 { ac_try
='test -s conftest.$ac_objext'
14295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14296 (eval $ac_try) 2>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }; }; then
14302 cat >conftest.
$ac_ext <<_ACEOF
14305 cat confdefs.h
>>conftest.
$ac_ext
14306 cat >>conftest.
$ac_ext <<_ACEOF
14307 /* end confdefs.h. */
14308 $ac_includes_default
14312 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14319 rm -f conftest.
$ac_objext
14320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14321 (eval $ac_compile) 2>conftest.er1
14323 grep -v '^ *+' conftest.er1
>conftest.err
14325 cat conftest.err
>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } &&
14328 { ac_try
='test -z "$ac_c_werror_flag"
14329 || test ! -s conftest.err'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; } &&
14335 { ac_try
='test -s conftest.$ac_objext'
14336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14337 (eval $ac_try) 2>&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }; }; then
14341 ac_hi
=$ac_mid; break
14343 echo "$as_me: failed program was:" >&5
14344 sed 's/^/| /' conftest.
$ac_ext >&5
14346 ac_lo
=`expr $ac_mid + 1`
14347 if test $ac_lo -le $ac_mid; then
14351 ac_mid
=`expr 2 '*' $ac_mid + 1`
14353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14356 echo "$as_me: failed program was:" >&5
14357 sed 's/^/| /' conftest.
$ac_ext >&5
14359 cat >conftest.
$ac_ext <<_ACEOF
14362 cat confdefs.h
>>conftest.
$ac_ext
14363 cat >>conftest.
$ac_ext <<_ACEOF
14364 /* end confdefs.h. */
14365 $ac_includes_default
14369 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14376 rm -f conftest.
$ac_objext
14377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14378 (eval $ac_compile) 2>conftest.er1
14380 grep -v '^ *+' conftest.er1
>conftest.err
14382 cat conftest.err
>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } &&
14385 { ac_try
='test -z "$ac_c_werror_flag"
14386 || test ! -s conftest.err'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; } &&
14392 { ac_try
='test -s conftest.$ac_objext'
14393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14394 (eval $ac_try) 2>&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); }; }; then
14400 cat >conftest.
$ac_ext <<_ACEOF
14403 cat confdefs.h
>>conftest.
$ac_ext
14404 cat >>conftest.
$ac_ext <<_ACEOF
14405 /* end confdefs.h. */
14406 $ac_includes_default
14410 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14417 rm -f conftest.
$ac_objext
14418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14419 (eval $ac_compile) 2>conftest.er1
14421 grep -v '^ *+' conftest.er1
>conftest.err
14423 cat conftest.err
>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } &&
14426 { ac_try
='test -z "$ac_c_werror_flag"
14427 || test ! -s conftest.err'
14428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14429 (eval $ac_try) 2>&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; } &&
14433 { ac_try
='test -s conftest.$ac_objext'
14434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14435 (eval $ac_try) 2>&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; }; then
14439 ac_lo
=$ac_mid; break
14441 echo "$as_me: failed program was:" >&5
14442 sed 's/^/| /' conftest.
$ac_ext >&5
14444 ac_hi
=`expr '(' $ac_mid ')' - 1`
14445 if test $ac_mid -le $ac_hi; then
14449 ac_mid
=`expr 2 '*' $ac_mid`
14451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14454 echo "$as_me: failed program was:" >&5
14455 sed 's/^/| /' conftest.
$ac_ext >&5
14459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14462 # Binary search between lo and hi bounds.
14463 while test "x$ac_lo" != "x$ac_hi"; do
14464 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14465 cat >conftest.
$ac_ext <<_ACEOF
14468 cat confdefs.h
>>conftest.
$ac_ext
14469 cat >>conftest.
$ac_ext <<_ACEOF
14470 /* end confdefs.h. */
14471 $ac_includes_default
14475 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14482 rm -f conftest.
$ac_objext
14483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14484 (eval $ac_compile) 2>conftest.er1
14486 grep -v '^ *+' conftest.er1
>conftest.err
14488 cat conftest.err
>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); } &&
14491 { ac_try
='test -z "$ac_c_werror_flag"
14492 || test ! -s conftest.err'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; } &&
14498 { ac_try
='test -s conftest.$ac_objext'
14499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14500 (eval $ac_try) 2>&5
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); }; }; then
14506 echo "$as_me: failed program was:" >&5
14507 sed 's/^/| /' conftest.
$ac_ext >&5
14509 ac_lo
=`expr '(' $ac_mid ')' + 1`
14511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14514 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14515 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14516 See \`config.log' for more details." >&5
14517 echo "$as_me: error: cannot compute sizeof (char), 77
14518 See \`config.log' for more details." >&2;}
14519 { (exit 1); exit 1; }; } ;;
14522 if test "$cross_compiling" = yes; then
14523 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14524 See \`config.log' for more details." >&5
14525 echo "$as_me: error: cannot run test program while cross compiling
14526 See \`config.log' for more details." >&2;}
14527 { (exit 1); exit 1; }; }
14529 cat >conftest.
$ac_ext <<_ACEOF
14532 cat confdefs.h
>>conftest.
$ac_ext
14533 cat >>conftest.
$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14535 $ac_includes_default
14536 long longval () { return (long) (sizeof (char)); }
14537 unsigned long ulongval () { return (long) (sizeof (char)); }
14539 #include <stdlib.h>
14544 FILE *f = fopen ("conftest.val", "w");
14547 if (((long) (sizeof (char))) < 0)
14549 long i = longval ();
14550 if (i != ((long) (sizeof (char))))
14552 fprintf (f, "%ld\n", i);
14556 unsigned long i = ulongval ();
14557 if (i != ((long) (sizeof (char))))
14559 fprintf (f, "%lu\n", i);
14561 exit (ferror (f) || fclose (f) != 0);
14567 rm -f conftest
$ac_exeext
14568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14569 (eval $ac_link) 2>&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14574 (eval $ac_try) 2>&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; }; then
14578 ac_cv_sizeof_char
=`cat conftest.val`
14580 echo "$as_me: program exited with status $ac_status" >&5
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.
$ac_ext >&5
14584 ( exit $ac_status )
14585 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14586 See \`config.log' for more details." >&5
14587 echo "$as_me: error: cannot compute sizeof (char), 77
14588 See \`config.log' for more details." >&2;}
14589 { (exit 1); exit 1; }; }
14591 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14596 ac_cv_sizeof_char
=0
14599 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14600 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14601 cat >>confdefs.h
<<_ACEOF
14602 #define SIZEOF_CHAR $ac_cv_sizeof_char
14607 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
14608 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
14609 case "$ac_cv_sizeof_char" in
14610 1) acx_cv_type_int8_t
=char
;;
14611 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
14612 echo "$as_me: error: no 8-bit type" >&2;}
14613 { (exit please report a bug
); exit please report a bug
; }; }
14615 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
14616 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
14618 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
14619 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
14620 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
14621 2:*) acx_cv_type_int16_t
=int
;;
14622 *:2) acx_cv_type_int16_t
=short
;;
14623 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
14624 echo "$as_me: error: no 16-bit type" >&2;}
14625 { (exit please report a bug
); exit please report a bug
; }; }
14627 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
14628 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
14630 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
14631 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
14632 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
14633 4:*) acx_cv_type_int32_t
=int
;;
14634 *:4) acx_cv_type_int32_t
=long
;;
14635 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
14636 echo "$as_me: error: no 32-bit type" >&2;}
14637 { (exit please report a bug
); exit please report a bug
; }; }
14639 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
14640 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
14643 # These tests are here to make the output prettier
14645 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
14646 case "$ac_cv_sizeof_long" in
14647 8) acx_cv_type_int64_t
=long
;;
14649 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
14650 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
14651 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
14652 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
14655 # Now we can use the above types
14657 if test "$ac_cv_type_uintptr_t" != yes; then
14658 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
14659 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
14660 case $ac_cv_sizeof_void_p in
14661 2) acx_cv_type_intptr_t
=int16_t
;;
14662 4) acx_cv_type_intptr_t
=int32_t
;;
14663 8) acx_cv_type_intptr_t
=int64_t
;;
14664 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
14665 echo "$as_me: error: no equivalent for intptr_t" >&2;}
14666 { (exit please report a bug
); exit please report a bug
; }; }
14668 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
14669 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
14672 # ----------------- done all checks, emit header -------------
14673 ac_config_commands
="$ac_config_commands gdb_stdint.h"
14678 # ------------------------- #
14679 # Checks for declarations. #
14680 # ------------------------- #
14682 echo "$as_me:$LINENO: checking whether free is declared" >&5
14683 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
14684 if test "${ac_cv_have_decl_free+set}" = set; then
14685 echo $ECHO_N "(cached) $ECHO_C" >&6
14687 cat >conftest.
$ac_ext <<_ACEOF
14690 cat confdefs.h
>>conftest.
$ac_ext
14691 cat >>conftest.
$ac_ext <<_ACEOF
14692 /* end confdefs.h. */
14693 $ac_includes_default
14698 char *p = (char *) free;
14705 rm -f conftest.
$ac_objext
14706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14707 (eval $ac_compile) 2>conftest.er1
14709 grep -v '^ *+' conftest.er1
>conftest.err
14711 cat conftest.err
>&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); } &&
14714 { ac_try
='test -z "$ac_c_werror_flag"
14715 || test ! -s conftest.err'
14716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14717 (eval $ac_try) 2>&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); }; } &&
14721 { ac_try
='test -s conftest.$ac_objext'
14722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14723 (eval $ac_try) 2>&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); }; }; then
14727 ac_cv_have_decl_free
=yes
14729 echo "$as_me: failed program was:" >&5
14730 sed 's/^/| /' conftest.
$ac_ext >&5
14732 ac_cv_have_decl_free
=no
14734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14736 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
14737 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
14738 if test $ac_cv_have_decl_free = yes; then
14740 cat >>confdefs.h
<<_ACEOF
14741 #define HAVE_DECL_FREE 1
14746 cat >>confdefs.h
<<_ACEOF
14747 #define HAVE_DECL_FREE 0
14752 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
14753 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
14754 if test "${ac_cv_have_decl_malloc+set}" = set; then
14755 echo $ECHO_N "(cached) $ECHO_C" >&6
14757 cat >conftest.
$ac_ext <<_ACEOF
14760 cat confdefs.h
>>conftest.
$ac_ext
14761 cat >>conftest.
$ac_ext <<_ACEOF
14762 /* end confdefs.h. */
14763 $ac_includes_default
14768 char *p = (char *) malloc;
14775 rm -f conftest.
$ac_objext
14776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14777 (eval $ac_compile) 2>conftest.er1
14779 grep -v '^ *+' conftest.er1
>conftest.err
14781 cat conftest.err
>&5
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); } &&
14784 { ac_try
='test -z "$ac_c_werror_flag"
14785 || test ! -s conftest.err'
14786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14787 (eval $ac_try) 2>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); }; } &&
14791 { ac_try
='test -s conftest.$ac_objext'
14792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14793 (eval $ac_try) 2>&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); }; }; then
14797 ac_cv_have_decl_malloc
=yes
14799 echo "$as_me: failed program was:" >&5
14800 sed 's/^/| /' conftest.
$ac_ext >&5
14802 ac_cv_have_decl_malloc
=no
14804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14806 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
14807 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
14808 if test $ac_cv_have_decl_malloc = yes; then
14810 cat >>confdefs.h
<<_ACEOF
14811 #define HAVE_DECL_MALLOC 1
14816 cat >>confdefs.h
<<_ACEOF
14817 #define HAVE_DECL_MALLOC 0
14822 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
14823 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
14824 if test "${ac_cv_have_decl_realloc+set}" = set; then
14825 echo $ECHO_N "(cached) $ECHO_C" >&6
14827 cat >conftest.
$ac_ext <<_ACEOF
14830 cat confdefs.h
>>conftest.
$ac_ext
14831 cat >>conftest.
$ac_ext <<_ACEOF
14832 /* end confdefs.h. */
14833 $ac_includes_default
14838 char *p = (char *) realloc;
14845 rm -f conftest.
$ac_objext
14846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14847 (eval $ac_compile) 2>conftest.er1
14849 grep -v '^ *+' conftest.er1
>conftest.err
14851 cat conftest.err
>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); } &&
14854 { ac_try
='test -z "$ac_c_werror_flag"
14855 || test ! -s conftest.err'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; } &&
14861 { ac_try
='test -s conftest.$ac_objext'
14862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14863 (eval $ac_try) 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; }; then
14867 ac_cv_have_decl_realloc
=yes
14869 echo "$as_me: failed program was:" >&5
14870 sed 's/^/| /' conftest.
$ac_ext >&5
14872 ac_cv_have_decl_realloc
=no
14874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14876 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
14877 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
14878 if test $ac_cv_have_decl_realloc = yes; then
14880 cat >>confdefs.h
<<_ACEOF
14881 #define HAVE_DECL_REALLOC 1
14886 cat >>confdefs.h
<<_ACEOF
14887 #define HAVE_DECL_REALLOC 0
14894 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
14895 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
14896 if test "${ac_cv_have_decl_strerror+set}" = set; then
14897 echo $ECHO_N "(cached) $ECHO_C" >&6
14899 cat >conftest.
$ac_ext <<_ACEOF
14902 cat confdefs.h
>>conftest.
$ac_ext
14903 cat >>conftest.
$ac_ext <<_ACEOF
14904 /* end confdefs.h. */
14905 $ac_includes_default
14910 char *p = (char *) strerror;
14917 rm -f conftest.
$ac_objext
14918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14919 (eval $ac_compile) 2>conftest.er1
14921 grep -v '^ *+' conftest.er1
>conftest.err
14923 cat conftest.err
>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } &&
14926 { ac_try
='test -z "$ac_c_werror_flag"
14927 || test ! -s conftest.err'
14928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929 (eval $ac_try) 2>&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; } &&
14933 { ac_try
='test -s conftest.$ac_objext'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; }; then
14939 ac_cv_have_decl_strerror
=yes
14941 echo "$as_me: failed program was:" >&5
14942 sed 's/^/| /' conftest.
$ac_ext >&5
14944 ac_cv_have_decl_strerror
=no
14946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14948 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
14949 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
14950 if test $ac_cv_have_decl_strerror = yes; then
14952 cat >>confdefs.h
<<_ACEOF
14953 #define HAVE_DECL_STRERROR 1
14958 cat >>confdefs.h
<<_ACEOF
14959 #define HAVE_DECL_STRERROR 0
14964 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
14965 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
14966 if test "${ac_cv_have_decl_strstr+set}" = set; then
14967 echo $ECHO_N "(cached) $ECHO_C" >&6
14969 cat >conftest.
$ac_ext <<_ACEOF
14972 cat confdefs.h
>>conftest.
$ac_ext
14973 cat >>conftest.
$ac_ext <<_ACEOF
14974 /* end confdefs.h. */
14975 $ac_includes_default
14980 char *p = (char *) strstr;
14987 rm -f conftest.
$ac_objext
14988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14989 (eval $ac_compile) 2>conftest.er1
14991 grep -v '^ *+' conftest.er1
>conftest.err
14993 cat conftest.err
>&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); } &&
14996 { ac_try
='test -z "$ac_c_werror_flag"
14997 || test ! -s conftest.err'
14998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14999 (eval $ac_try) 2>&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; } &&
15003 { ac_try
='test -s conftest.$ac_objext'
15004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15005 (eval $ac_try) 2>&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); }; }; then
15009 ac_cv_have_decl_strstr
=yes
15011 echo "$as_me: failed program was:" >&5
15012 sed 's/^/| /' conftest.
$ac_ext >&5
15014 ac_cv_have_decl_strstr
=no
15016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15018 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
15019 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
15020 if test $ac_cv_have_decl_strstr = yes; then
15022 cat >>confdefs.h
<<_ACEOF
15023 #define HAVE_DECL_STRSTR 1
15028 cat >>confdefs.h
<<_ACEOF
15029 #define HAVE_DECL_STRSTR 0
15036 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
15037 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
15038 if test "${ac_cv_have_decl_getopt+set}" = set; then
15039 echo $ECHO_N "(cached) $ECHO_C" >&6
15041 cat >conftest.
$ac_ext <<_ACEOF
15044 cat confdefs.h
>>conftest.
$ac_ext
15045 cat >>conftest.
$ac_ext <<_ACEOF
15046 /* end confdefs.h. */
15047 $ac_includes_default
15052 char *p = (char *) getopt;
15059 rm -f conftest.
$ac_objext
15060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15061 (eval $ac_compile) 2>conftest.er1
15063 grep -v '^ *+' conftest.er1
>conftest.err
15065 cat conftest.err
>&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); } &&
15068 { ac_try
='test -z "$ac_c_werror_flag"
15069 || test ! -s conftest.err'
15070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15071 (eval $ac_try) 2>&5
15073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15074 (exit $ac_status); }; } &&
15075 { ac_try
='test -s conftest.$ac_objext'
15076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15077 (eval $ac_try) 2>&5
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); }; }; then
15081 ac_cv_have_decl_getopt
=yes
15083 echo "$as_me: failed program was:" >&5
15084 sed 's/^/| /' conftest.
$ac_ext >&5
15086 ac_cv_have_decl_getopt
=no
15088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15090 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
15091 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
15092 if test $ac_cv_have_decl_getopt = yes; then
15094 cat >>confdefs.h
<<_ACEOF
15095 #define HAVE_DECL_GETOPT 1
15100 cat >>confdefs.h
<<_ACEOF
15101 #define HAVE_DECL_GETOPT 0
15106 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
15107 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
15108 if test "${ac_cv_have_decl_snprintf+set}" = set; then
15109 echo $ECHO_N "(cached) $ECHO_C" >&6
15111 cat >conftest.
$ac_ext <<_ACEOF
15114 cat confdefs.h
>>conftest.
$ac_ext
15115 cat >>conftest.
$ac_ext <<_ACEOF
15116 /* end confdefs.h. */
15117 $ac_includes_default
15122 char *p = (char *) snprintf;
15129 rm -f conftest.
$ac_objext
15130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15131 (eval $ac_compile) 2>conftest.er1
15133 grep -v '^ *+' conftest.er1
>conftest.err
15135 cat conftest.err
>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); } &&
15138 { ac_try
='test -z "$ac_c_werror_flag"
15139 || test ! -s conftest.err'
15140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15141 (eval $ac_try) 2>&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); }; } &&
15145 { ac_try
='test -s conftest.$ac_objext'
15146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15147 (eval $ac_try) 2>&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); }; }; then
15151 ac_cv_have_decl_snprintf
=yes
15153 echo "$as_me: failed program was:" >&5
15154 sed 's/^/| /' conftest.
$ac_ext >&5
15156 ac_cv_have_decl_snprintf
=no
15158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15160 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
15161 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
15162 if test $ac_cv_have_decl_snprintf = yes; then
15164 cat >>confdefs.h
<<_ACEOF
15165 #define HAVE_DECL_SNPRINTF 1
15170 cat >>confdefs.h
<<_ACEOF
15171 #define HAVE_DECL_SNPRINTF 0
15176 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
15177 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
15178 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
15179 echo $ECHO_N "(cached) $ECHO_C" >&6
15181 cat >conftest.
$ac_ext <<_ACEOF
15184 cat confdefs.h
>>conftest.
$ac_ext
15185 cat >>conftest.
$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15187 $ac_includes_default
15192 char *p = (char *) vsnprintf;
15199 rm -f conftest.
$ac_objext
15200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15201 (eval $ac_compile) 2>conftest.er1
15203 grep -v '^ *+' conftest.er1
>conftest.err
15205 cat conftest.err
>&5
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); } &&
15208 { ac_try
='test -z "$ac_c_werror_flag"
15209 || test ! -s conftest.err'
15210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15211 (eval $ac_try) 2>&5
15213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15214 (exit $ac_status); }; } &&
15215 { ac_try
='test -s conftest.$ac_objext'
15216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15217 (eval $ac_try) 2>&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); }; }; then
15221 ac_cv_have_decl_vsnprintf
=yes
15223 echo "$as_me: failed program was:" >&5
15224 sed 's/^/| /' conftest.
$ac_ext >&5
15226 ac_cv_have_decl_vsnprintf
=no
15228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15230 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
15231 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
15232 if test $ac_cv_have_decl_vsnprintf = yes; then
15234 cat >>confdefs.h
<<_ACEOF
15235 #define HAVE_DECL_VSNPRINTF 1
15240 cat >>confdefs.h
<<_ACEOF
15241 #define HAVE_DECL_VSNPRINTF 0
15249 # ----------------------- #
15250 # Checks for structures. #
15251 # ----------------------- #
15253 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
15254 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
15255 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 cat >conftest.
$ac_ext <<_ACEOF
15261 cat confdefs.h
>>conftest.
$ac_ext
15262 cat >>conftest.
$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15264 $ac_includes_default
15268 static struct stat ac_aggr;
15269 if (ac_aggr.st_blocks)
15275 rm -f conftest.
$ac_objext
15276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15277 (eval $ac_compile) 2>conftest.er1
15279 grep -v '^ *+' conftest.er1
>conftest.err
15281 cat conftest.err
>&5
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); } &&
15284 { ac_try
='test -z "$ac_c_werror_flag"
15285 || test ! -s conftest.err'
15286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15287 (eval $ac_try) 2>&5
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); }; } &&
15291 { ac_try
='test -s conftest.$ac_objext'
15292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15293 (eval $ac_try) 2>&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); }; }; then
15297 ac_cv_member_struct_stat_st_blocks
=yes
15299 echo "$as_me: failed program was:" >&5
15300 sed 's/^/| /' conftest.
$ac_ext >&5
15302 cat >conftest.
$ac_ext <<_ACEOF
15305 cat confdefs.h
>>conftest.
$ac_ext
15306 cat >>conftest.
$ac_ext <<_ACEOF
15307 /* end confdefs.h. */
15308 $ac_includes_default
15312 static struct stat ac_aggr;
15313 if (sizeof ac_aggr.st_blocks)
15319 rm -f conftest.
$ac_objext
15320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15321 (eval $ac_compile) 2>conftest.er1
15323 grep -v '^ *+' conftest.er1
>conftest.err
15325 cat conftest.err
>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } &&
15328 { ac_try
='test -z "$ac_c_werror_flag"
15329 || test ! -s conftest.err'
15330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15331 (eval $ac_try) 2>&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); }; } &&
15335 { ac_try
='test -s conftest.$ac_objext'
15336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15337 (eval $ac_try) 2>&5
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); }; }; then
15341 ac_cv_member_struct_stat_st_blocks
=yes
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.
$ac_ext >&5
15346 ac_cv_member_struct_stat_st_blocks
=no
15348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15352 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
15353 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
15354 if test $ac_cv_member_struct_stat_st_blocks = yes; then
15356 cat >>confdefs.h
<<_ACEOF
15357 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15363 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
15364 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
15365 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
15366 echo $ECHO_N "(cached) $ECHO_C" >&6
15368 cat >conftest.
$ac_ext <<_ACEOF
15371 cat confdefs.h
>>conftest.
$ac_ext
15372 cat >>conftest.
$ac_ext <<_ACEOF
15373 /* end confdefs.h. */
15374 $ac_includes_default
15378 static struct stat ac_aggr;
15379 if (ac_aggr.st_blksize)
15385 rm -f conftest.
$ac_objext
15386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15387 (eval $ac_compile) 2>conftest.er1
15389 grep -v '^ *+' conftest.er1
>conftest.err
15391 cat conftest.err
>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } &&
15394 { ac_try
='test -z "$ac_c_werror_flag"
15395 || test ! -s conftest.err'
15396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15397 (eval $ac_try) 2>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; } &&
15401 { ac_try
='test -s conftest.$ac_objext'
15402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15403 (eval $ac_try) 2>&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); }; }; then
15407 ac_cv_member_struct_stat_st_blksize
=yes
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.
$ac_ext >&5
15412 cat >conftest.
$ac_ext <<_ACEOF
15415 cat confdefs.h
>>conftest.
$ac_ext
15416 cat >>conftest.
$ac_ext <<_ACEOF
15417 /* end confdefs.h. */
15418 $ac_includes_default
15422 static struct stat ac_aggr;
15423 if (sizeof ac_aggr.st_blksize)
15429 rm -f conftest.
$ac_objext
15430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15431 (eval $ac_compile) 2>conftest.er1
15433 grep -v '^ *+' conftest.er1
>conftest.err
15435 cat conftest.err
>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); } &&
15438 { ac_try
='test -z "$ac_c_werror_flag"
15439 || test ! -s conftest.err'
15440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15441 (eval $ac_try) 2>&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); }; } &&
15445 { ac_try
='test -s conftest.$ac_objext'
15446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15447 (eval $ac_try) 2>&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); }; }; then
15451 ac_cv_member_struct_stat_st_blksize
=yes
15453 echo "$as_me: failed program was:" >&5
15454 sed 's/^/| /' conftest.
$ac_ext >&5
15456 ac_cv_member_struct_stat_st_blksize
=no
15458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15462 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
15463 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
15464 if test $ac_cv_member_struct_stat_st_blksize = yes; then
15466 cat >>confdefs.h
<<_ACEOF
15467 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15474 # ------------------ #
15475 # Checks for types. #
15476 # ------------------ #
15478 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
15479 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
15480 if test "${ac_cv_type_signal+set}" = set; then
15481 echo $ECHO_N "(cached) $ECHO_C" >&6
15483 cat >conftest.
$ac_ext <<_ACEOF
15486 cat confdefs.h
>>conftest.
$ac_ext
15487 cat >>conftest.
$ac_ext <<_ACEOF
15488 /* end confdefs.h. */
15489 #include <sys/types.h>
15490 #include <signal.h>
15495 extern "C" void (*signal (int, void (*)(int)))(int);
15497 void (*signal ()) ();
15508 rm -f conftest.
$ac_objext
15509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15510 (eval $ac_compile) 2>conftest.er1
15512 grep -v '^ *+' conftest.er1
>conftest.err
15514 cat conftest.err
>&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); } &&
15517 { ac_try
='test -z "$ac_c_werror_flag"
15518 || test ! -s conftest.err'
15519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15520 (eval $ac_try) 2>&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; } &&
15524 { ac_try
='test -s conftest.$ac_objext'
15525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15526 (eval $ac_try) 2>&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); }; }; then
15530 ac_cv_type_signal
=void
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.
$ac_ext >&5
15535 ac_cv_type_signal
=int
15537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15539 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
15540 echo "${ECHO_T}$ac_cv_type_signal" >&6
15542 cat >>confdefs.h
<<_ACEOF
15543 #define RETSIGTYPE $ac_cv_type_signal
15547 echo "$as_me:$LINENO: checking for socklen_t" >&5
15548 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
15549 if test "${ac_cv_type_socklen_t+set}" = set; then
15550 echo $ECHO_N "(cached) $ECHO_C" >&6
15552 cat >conftest.
$ac_ext <<_ACEOF
15555 cat confdefs.h
>>conftest.
$ac_ext
15556 cat >>conftest.
$ac_ext <<_ACEOF
15557 /* end confdefs.h. */
15558 #include <sys/types.h>
15559 #include <sys/socket.h>
15565 if ((socklen_t *) 0)
15567 if (sizeof (socklen_t))
15573 rm -f conftest.
$ac_objext
15574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15575 (eval $ac_compile) 2>conftest.er1
15577 grep -v '^ *+' conftest.er1
>conftest.err
15579 cat conftest.err
>&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } &&
15582 { ac_try
='test -z "$ac_c_werror_flag"
15583 || test ! -s conftest.err'
15584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585 (eval $ac_try) 2>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; } &&
15589 { ac_try
='test -s conftest.$ac_objext'
15590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591 (eval $ac_try) 2>&5
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); }; }; then
15595 ac_cv_type_socklen_t
=yes
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.
$ac_ext >&5
15600 ac_cv_type_socklen_t
=no
15602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15604 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
15605 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
15606 if test $ac_cv_type_socklen_t = yes; then
15608 cat >>confdefs.h
<<_ACEOF
15609 #define HAVE_SOCKLEN_T 1
15615 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15616 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15617 if test "${ac_cv_type_uintptr_t+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 cat >conftest.
$ac_ext <<_ACEOF
15623 cat confdefs.h
>>conftest.
$ac_ext
15624 cat >>conftest.
$ac_ext <<_ACEOF
15625 /* end confdefs.h. */
15626 #include <stdint.h>
15631 if ((uintptr_t *) 0)
15633 if (sizeof (uintptr_t))
15639 rm -f conftest.
$ac_objext
15640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15641 (eval $ac_compile) 2>conftest.er1
15643 grep -v '^ *+' conftest.er1
>conftest.err
15645 cat conftest.err
>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } &&
15648 { ac_try
='test -z "$ac_c_werror_flag"
15649 || test ! -s conftest.err'
15650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15651 (eval $ac_try) 2>&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); }; } &&
15655 { ac_try
='test -s conftest.$ac_objext'
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; }; then
15661 ac_cv_type_uintptr_t
=yes
15663 echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.
$ac_ext >&5
15666 ac_cv_type_uintptr_t
=no
15668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15670 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15671 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15672 if test $ac_cv_type_uintptr_t = yes; then
15674 cat >>confdefs.h
<<_ACEOF
15675 #define HAVE_UINTPTR_T 1
15682 # ------------------------------------- #
15683 # Checks for compiler characteristics. #
15684 # ------------------------------------- #
15686 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15687 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15688 if test "${ac_cv_c_const+set}" = set; then
15689 echo $ECHO_N "(cached) $ECHO_C" >&6
15691 cat >conftest.
$ac_ext <<_ACEOF
15694 cat confdefs.h
>>conftest.
$ac_ext
15695 cat >>conftest.
$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15701 /* FIXME: Include the comments suggested by Paul. */
15702 #ifndef __cplusplus
15703 /* Ultrix mips cc rejects this. */
15704 typedef int charset[2];
15706 /* SunOS 4.1.1 cc rejects this. */
15707 char const *const *ccp;
15709 /* NEC SVR4.0.2 mips cc rejects this. */
15710 struct point {int x, y;};
15711 static struct point const zero = {0,0};
15712 /* AIX XL C 1.02.0.0 rejects this.
15713 It does not let you subtract one const X* pointer from another in
15714 an arm of an if-expression whose if-part is not a constant
15716 const char *g = "string";
15717 ccp = &g + (g ? g-g : 0);
15718 /* HPUX 7.0 cc rejects these. */
15721 ccp = (char const *const *) p;
15722 { /* SCO 3.2v4 cc rejects this. */
15724 char const *s = 0 ? (char *) 0 : (char const *) 0;
15728 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15729 int x[] = {25, 17};
15730 const int *foo = &x[0];
15733 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15734 typedef const int *iptr;
15738 { /* AIX XL C 1.02.0.0 rejects this saying
15739 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15740 struct s { int j; const int *ap[3]; };
15741 struct s *b; b->j = 5;
15743 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15744 const int foo = 10;
15752 rm -f conftest.
$ac_objext
15753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15754 (eval $ac_compile) 2>conftest.er1
15756 grep -v '^ *+' conftest.er1
>conftest.err
15758 cat conftest.err
>&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } &&
15761 { ac_try
='test -z "$ac_c_werror_flag"
15762 || test ! -s conftest.err'
15763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15764 (eval $ac_try) 2>&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); }; } &&
15768 { ac_try
='test -s conftest.$ac_objext'
15769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15770 (eval $ac_try) 2>&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }; }; then
15776 echo "$as_me: failed program was:" >&5
15777 sed 's/^/| /' conftest.
$ac_ext >&5
15781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15783 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15784 echo "${ECHO_T}$ac_cv_c_const" >&6
15785 if test $ac_cv_c_const = no
; then
15787 cat >>confdefs.h
<<\_ACEOF
15793 echo "$as_me:$LINENO: checking for inline" >&5
15794 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15795 if test "${ac_cv_c_inline+set}" = set; then
15796 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 for ac_kw
in inline __inline__ __inline
; do
15800 cat >conftest.
$ac_ext <<_ACEOF
15803 cat confdefs.h
>>conftest.
$ac_ext
15804 cat >>conftest.
$ac_ext <<_ACEOF
15805 /* end confdefs.h. */
15806 #ifndef __cplusplus
15808 static $ac_kw foo_t static_foo () {return 0; }
15809 $ac_kw foo_t foo () {return 0; }
15813 rm -f conftest.
$ac_objext
15814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15815 (eval $ac_compile) 2>conftest.er1
15817 grep -v '^ *+' conftest.er1
>conftest.err
15819 cat conftest.err
>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); } &&
15822 { ac_try
='test -z "$ac_c_werror_flag"
15823 || test ! -s conftest.err'
15824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15825 (eval $ac_try) 2>&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); }; } &&
15829 { ac_try
='test -s conftest.$ac_objext'
15830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15831 (eval $ac_try) 2>&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); }; }; then
15835 ac_cv_c_inline
=$ac_kw; break
15837 echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.
$ac_ext >&5
15841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15845 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15846 echo "${ECHO_T}$ac_cv_c_inline" >&6
15849 case $ac_cv_c_inline in
15852 case $ac_cv_c_inline in
15854 *) ac_val
=$ac_cv_c_inline;;
15856 cat >>confdefs.h
<<_ACEOF
15857 #ifndef __cplusplus
15858 #define inline $ac_val
15864 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
15865 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
15866 if test "${ac_cv_c_bigendian+set}" = set; then
15867 echo $ECHO_N "(cached) $ECHO_C" >&6
15869 # See if sys/param.h defines the BYTE_ORDER macro.
15870 cat >conftest.
$ac_ext <<_ACEOF
15873 cat confdefs.h
>>conftest.
$ac_ext
15874 cat >>conftest.
$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876 #include <sys/types.h>
15877 #include <sys/param.h>
15882 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15883 bogus endian macros
15890 rm -f conftest.
$ac_objext
15891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15892 (eval $ac_compile) 2>conftest.er1
15894 grep -v '^ *+' conftest.er1
>conftest.err
15896 cat conftest.err
>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); } &&
15899 { ac_try
='test -z "$ac_c_werror_flag"
15900 || test ! -s conftest.err'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; } &&
15906 { ac_try
='test -s conftest.$ac_objext'
15907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908 (eval $ac_try) 2>&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; }; then
15912 # It does; now see whether it defined to BIG_ENDIAN or not.
15913 cat >conftest.
$ac_ext <<_ACEOF
15916 cat confdefs.h
>>conftest.
$ac_ext
15917 cat >>conftest.
$ac_ext <<_ACEOF
15918 /* end confdefs.h. */
15919 #include <sys/types.h>
15920 #include <sys/param.h>
15925 #if BYTE_ORDER != BIG_ENDIAN
15933 rm -f conftest.
$ac_objext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>conftest.er1
15937 grep -v '^ *+' conftest.er1
>conftest.err
15939 cat conftest.err
>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try
='test -z "$ac_c_werror_flag"
15943 || test ! -s conftest.err'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; } &&
15949 { ac_try
='test -s conftest.$ac_objext'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; }; then
15955 ac_cv_c_bigendian
=yes
15957 echo "$as_me: failed program was:" >&5
15958 sed 's/^/| /' conftest.
$ac_ext >&5
15960 ac_cv_c_bigendian
=no
15962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15964 echo "$as_me: failed program was:" >&5
15965 sed 's/^/| /' conftest.
$ac_ext >&5
15967 # It does not; compile a test program.
15968 if test "$cross_compiling" = yes; then
15969 # try to guess the endianness by grepping values into an object file
15970 ac_cv_c_bigendian
=unknown
15971 cat >conftest.
$ac_ext <<_ACEOF
15974 cat confdefs.h
>>conftest.
$ac_ext
15975 cat >>conftest.
$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15977 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15978 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15979 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
15980 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15981 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15982 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
15986 _ascii (); _ebcdic ();
15991 rm -f conftest.
$ac_objext
15992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15993 (eval $ac_compile) 2>conftest.er1
15995 grep -v '^ *+' conftest.er1
>conftest.err
15997 cat conftest.err
>&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); } &&
16000 { ac_try
='test -z "$ac_c_werror_flag"
16001 || test ! -s conftest.err'
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); }; } &&
16007 { ac_try
='test -s conftest.$ac_objext'
16008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16009 (eval $ac_try) 2>&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); }; }; then
16013 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
16014 ac_cv_c_bigendian
=yes
16016 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
16017 if test "$ac_cv_c_bigendian" = unknown
; then
16018 ac_cv_c_bigendian
=no
16020 # finding both strings is unlikely to happen, but who knows?
16021 ac_cv_c_bigendian
=unknown
16025 echo "$as_me: failed program was:" >&5
16026 sed 's/^/| /' conftest.
$ac_ext >&5
16029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16031 cat >conftest.
$ac_ext <<_ACEOF
16034 cat confdefs.h
>>conftest.
$ac_ext
16035 cat >>conftest.
$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16040 /* Are we little or big endian? From Harbison&Steele. */
16044 char c[sizeof (long)];
16047 exit (u.c[sizeof (long) - 1] == 1);
16050 rm -f conftest
$ac_exeext
16051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16052 (eval $ac_link) 2>&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; }; then
16061 ac_cv_c_bigendian
=no
16063 echo "$as_me: program exited with status $ac_status" >&5
16064 echo "$as_me: failed program was:" >&5
16065 sed 's/^/| /' conftest.
$ac_ext >&5
16067 ( exit $ac_status )
16068 ac_cv_c_bigendian
=yes
16070 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16075 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16076 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16077 case $ac_cv_c_bigendian in
16080 cat >>confdefs.h
<<\_ACEOF
16081 #define WORDS_BIGENDIAN 1
16087 { { echo "$as_me:$LINENO: error: unknown endianness
16088 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
16089 echo "$as_me: error: unknown endianness
16090 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
16091 { (exit 1); exit 1; }; } ;;
16095 # ------------------------------ #
16096 # Checks for library functions. #
16097 # ------------------------------ #
16099 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16100 # for constant arguments. Useless!
16101 echo "$as_me:$LINENO: checking for working alloca.h" >&5
16102 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
16103 if test "${ac_cv_working_alloca_h+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16106 cat >conftest.
$ac_ext <<_ACEOF
16109 cat confdefs.h
>>conftest.
$ac_ext
16110 cat >>conftest.
$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112 #include <alloca.h>
16116 char *p = (char *) alloca (2 * sizeof (int));
16121 rm -f conftest.
$ac_objext conftest
$ac_exeext
16122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16123 (eval $ac_link) 2>conftest.er1
16125 grep -v '^ *+' conftest.er1
>conftest.err
16127 cat conftest.err
>&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } &&
16130 { ac_try
='test -z "$ac_c_werror_flag"
16131 || test ! -s conftest.err'
16132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16133 (eval $ac_try) 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; } &&
16137 { ac_try
='test -s conftest$ac_exeext'
16138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16139 (eval $ac_try) 2>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); }; }; then
16143 ac_cv_working_alloca_h
=yes
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.
$ac_ext >&5
16148 ac_cv_working_alloca_h
=no
16150 rm -f conftest.err conftest.
$ac_objext \
16151 conftest
$ac_exeext conftest.
$ac_ext
16153 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16154 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16155 if test $ac_cv_working_alloca_h = yes; then
16157 cat >>confdefs.h
<<\_ACEOF
16158 #define HAVE_ALLOCA_H 1
16163 echo "$as_me:$LINENO: checking for alloca" >&5
16164 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16165 if test "${ac_cv_func_alloca_works+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 cat >conftest.
$ac_ext <<_ACEOF
16171 cat confdefs.h
>>conftest.
$ac_ext
16172 cat >>conftest.
$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16175 # define alloca __builtin_alloca
16178 # include <malloc.h>
16179 # define alloca _alloca
16182 # include <alloca.h>
16187 # ifndef alloca /* predefined by HP cc +Olibcalls */
16198 char *p = (char *) alloca (1);
16203 rm -f conftest.
$ac_objext conftest
$ac_exeext
16204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16205 (eval $ac_link) 2>conftest.er1
16207 grep -v '^ *+' conftest.er1
>conftest.err
16209 cat conftest.err
>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); } &&
16212 { ac_try
='test -z "$ac_c_werror_flag"
16213 || test ! -s conftest.err'
16214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16215 (eval $ac_try) 2>&5
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }; } &&
16219 { ac_try
='test -s conftest$ac_exeext'
16220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16221 (eval $ac_try) 2>&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }; }; then
16225 ac_cv_func_alloca_works
=yes
16227 echo "$as_me: failed program was:" >&5
16228 sed 's/^/| /' conftest.
$ac_ext >&5
16230 ac_cv_func_alloca_works
=no
16232 rm -f conftest.err conftest.
$ac_objext \
16233 conftest
$ac_exeext conftest.
$ac_ext
16235 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16236 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16238 if test $ac_cv_func_alloca_works = yes; then
16240 cat >>confdefs.h
<<\_ACEOF
16241 #define HAVE_ALLOCA 1
16245 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16246 # that cause trouble. Some versions do not even contain alloca or
16247 # contain a buggy version. If you still want to use their alloca,
16248 # use ar to extract alloca.o from them instead of compiling alloca.c.
16250 ALLOCA
=alloca.
$ac_objext
16252 cat >>confdefs.h
<<\_ACEOF
16257 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16258 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16259 if test "${ac_cv_os_cray+set}" = set; then
16260 echo $ECHO_N "(cached) $ECHO_C" >&6
16262 cat >conftest.
$ac_ext <<_ACEOF
16265 cat confdefs.h
>>conftest.
$ac_ext
16266 cat >>conftest.
$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16268 #if defined(CRAY) && ! defined(CRAY2)
16275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16276 $EGREP "webecray" >/dev
/null
2>&1; then
16284 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16285 echo "${ECHO_T}$ac_cv_os_cray" >&6
16286 if test $ac_cv_os_cray = yes; then
16287 for ac_func
in _getb67 GETB67 getb67
; do
16288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16289 echo "$as_me:$LINENO: checking for $ac_func" >&5
16290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16291 if eval "test \"\${$as_ac_var+set}\" = set"; then
16292 echo $ECHO_N "(cached) $ECHO_C" >&6
16294 cat >conftest.
$ac_ext <<_ACEOF
16297 cat confdefs.h
>>conftest.
$ac_ext
16298 cat >>conftest.
$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16302 #define $ac_func innocuous_$ac_func
16304 /* System header to define __stub macros and hopefully few prototypes,
16305 which can conflict with char $ac_func (); below.
16306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16307 <limits.h> exists even on freestanding compilers. */
16310 # include <limits.h>
16312 # include <assert.h>
16317 /* Override any gcc2 internal prototype to avoid an error. */
16322 /* We use char because int might match the return type of a gcc2
16323 builtin and then its argument prototype would still apply. */
16325 /* The GNU C library defines this for functions which it implements
16326 to always fail with ENOSYS. Some functions are actually named
16327 something starting with __ and the normal name is an alias. */
16328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16331 char (*f) () = $ac_func;
16340 return f != $ac_func;
16345 rm -f conftest.
$ac_objext conftest
$ac_exeext
16346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16347 (eval $ac_link) 2>conftest.er1
16349 grep -v '^ *+' conftest.er1
>conftest.err
16351 cat conftest.err
>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } &&
16354 { ac_try
='test -z "$ac_c_werror_flag"
16355 || test ! -s conftest.err'
16356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16357 (eval $ac_try) 2>&5
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); }; } &&
16361 { ac_try
='test -s conftest$ac_exeext'
16362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16363 (eval $ac_try) 2>&5
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); }; }; then
16367 eval "$as_ac_var=yes"
16369 echo "$as_me: failed program was:" >&5
16370 sed 's/^/| /' conftest.
$ac_ext >&5
16372 eval "$as_ac_var=no"
16374 rm -f conftest.err conftest.
$ac_objext \
16375 conftest
$ac_exeext conftest.
$ac_ext
16377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16379 if test `eval echo '${'$as_ac_var'}'` = yes; then
16381 cat >>confdefs.h
<<_ACEOF
16382 #define CRAY_STACKSEG_END $ac_func
16391 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16392 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16393 if test "${ac_cv_c_stack_direction+set}" = set; then
16394 echo $ECHO_N "(cached) $ECHO_C" >&6
16396 if test "$cross_compiling" = yes; then
16397 ac_cv_c_stack_direction
=0
16399 cat >conftest.
$ac_ext <<_ACEOF
16402 cat confdefs.h
>>conftest.
$ac_ext
16403 cat >>conftest.
$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16406 find_stack_direction ()
16408 static char *addr = 0;
16413 return find_stack_direction ();
16416 return (&dummy > addr) ? 1 : -1;
16422 exit (find_stack_direction () < 0);
16425 rm -f conftest
$ac_exeext
16426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16427 (eval $ac_link) 2>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16432 (eval $ac_try) 2>&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); }; }; then
16436 ac_cv_c_stack_direction
=1
16438 echo "$as_me: program exited with status $ac_status" >&5
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.
$ac_ext >&5
16442 ( exit $ac_status )
16443 ac_cv_c_stack_direction
=-1
16445 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16448 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16449 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16451 cat >>confdefs.h
<<_ACEOF
16452 #define STACK_DIRECTION $ac_cv_c_stack_direction
16460 for ac_header
in stdlib.h unistd.h
16462 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16464 echo "$as_me:$LINENO: checking for $ac_header" >&5
16465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16467 echo $ECHO_N "(cached) $ECHO_C" >&6
16469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16472 # Is the header compilable?
16473 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16474 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16475 cat >conftest.
$ac_ext <<_ACEOF
16478 cat confdefs.h
>>conftest.
$ac_ext
16479 cat >>conftest.
$ac_ext <<_ACEOF
16480 /* end confdefs.h. */
16481 $ac_includes_default
16482 #include <$ac_header>
16484 rm -f conftest.
$ac_objext
16485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16486 (eval $ac_compile) 2>conftest.er1
16488 grep -v '^ *+' conftest.er1
>conftest.err
16490 cat conftest.err
>&5
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); } &&
16493 { ac_try
='test -z "$ac_c_werror_flag"
16494 || test ! -s conftest.err'
16495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496 (eval $ac_try) 2>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); }; } &&
16500 { ac_try
='test -s conftest.$ac_objext'
16501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502 (eval $ac_try) 2>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); }; }; then
16506 ac_header_compiler
=yes
16508 echo "$as_me: failed program was:" >&5
16509 sed 's/^/| /' conftest.
$ac_ext >&5
16511 ac_header_compiler
=no
16513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16514 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16515 echo "${ECHO_T}$ac_header_compiler" >&6
16517 # Is the header present?
16518 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16519 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16520 cat >conftest.
$ac_ext <<_ACEOF
16523 cat confdefs.h
>>conftest.
$ac_ext
16524 cat >>conftest.
$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16526 #include <$ac_header>
16528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16529 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16531 grep -v '^ *+' conftest.er1
>conftest.err
16533 cat conftest.err
>&5
16534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535 (exit $ac_status); } >/dev
/null
; then
16536 if test -s conftest.err
; then
16537 ac_cpp_err
=$ac_c_preproc_warn_flag
16538 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16545 if test -z "$ac_cpp_err"; then
16546 ac_header_preproc
=yes
16548 echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.
$ac_ext >&5
16551 ac_header_preproc
=no
16553 rm -f conftest.err conftest.
$ac_ext
16554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16555 echo "${ECHO_T}$ac_header_preproc" >&6
16557 # So? What about this header?
16558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16560 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16561 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16563 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16564 ac_header_preproc
=yes
16567 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16568 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16569 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16570 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16571 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16572 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16573 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16574 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16577 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16578 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16581 ## ------------------------------------------ ##
16582 ## Report this to the AC_PACKAGE_NAME lists. ##
16583 ## ------------------------------------------ ##
16586 sed "s/^/$as_me: WARNING: /" >&2
16589 echo "$as_me:$LINENO: checking for $ac_header" >&5
16590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16592 echo $ECHO_N "(cached) $ECHO_C" >&6
16594 eval "$as_ac_Header=\$ac_header_preproc"
16596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16601 cat >>confdefs.h
<<_ACEOF
16602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16610 for ac_func
in getpagesize
16612 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16613 echo "$as_me:$LINENO: checking for $ac_func" >&5
16614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16615 if eval "test \"\${$as_ac_var+set}\" = set"; then
16616 echo $ECHO_N "(cached) $ECHO_C" >&6
16618 cat >conftest.
$ac_ext <<_ACEOF
16621 cat confdefs.h
>>conftest.
$ac_ext
16622 cat >>conftest.
$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16626 #define $ac_func innocuous_$ac_func
16628 /* System header to define __stub macros and hopefully few prototypes,
16629 which can conflict with char $ac_func (); below.
16630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16631 <limits.h> exists even on freestanding compilers. */
16634 # include <limits.h>
16636 # include <assert.h>
16641 /* Override any gcc2 internal prototype to avoid an error. */
16646 /* We use char because int might match the return type of a gcc2
16647 builtin and then its argument prototype would still apply. */
16649 /* The GNU C library defines this for functions which it implements
16650 to always fail with ENOSYS. Some functions are actually named
16651 something starting with __ and the normal name is an alias. */
16652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16655 char (*f) () = $ac_func;
16664 return f != $ac_func;
16669 rm -f conftest.
$ac_objext conftest
$ac_exeext
16670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16671 (eval $ac_link) 2>conftest.er1
16673 grep -v '^ *+' conftest.er1
>conftest.err
16675 cat conftest.err
>&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } &&
16678 { ac_try
='test -z "$ac_c_werror_flag"
16679 || test ! -s conftest.err'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; } &&
16685 { ac_try
='test -s conftest$ac_exeext'
16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16687 (eval $ac_try) 2>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; }; then
16691 eval "$as_ac_var=yes"
16693 echo "$as_me: failed program was:" >&5
16694 sed 's/^/| /' conftest.
$ac_ext >&5
16696 eval "$as_ac_var=no"
16698 rm -f conftest.err conftest.
$ac_objext \
16699 conftest
$ac_exeext conftest.
$ac_ext
16701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16703 if test `eval echo '${'$as_ac_var'}'` = yes; then
16704 cat >>confdefs.h
<<_ACEOF
16705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16711 echo "$as_me:$LINENO: checking for working mmap" >&5
16712 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
16713 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
16714 echo $ECHO_N "(cached) $ECHO_C" >&6
16716 if test "$cross_compiling" = yes; then
16717 ac_cv_func_mmap_fixed_mapped
=no
16719 cat >conftest.
$ac_ext <<_ACEOF
16722 cat confdefs.h
>>conftest.
$ac_ext
16723 cat >>conftest.
$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16725 $ac_includes_default
16726 /* malloc might have been renamed as rpl_malloc. */
16729 /* Thanks to Mike Haertel and Jim Avera for this test.
16730 Here is a matrix of mmap possibilities:
16731 mmap private not fixed
16732 mmap private fixed at somewhere currently unmapped
16733 mmap private fixed at somewhere already mapped
16734 mmap shared not fixed
16735 mmap shared fixed at somewhere currently unmapped
16736 mmap shared fixed at somewhere already mapped
16737 For private mappings, we should verify that changes cannot be read()
16738 back from the file, nor mmap's back from the file at a different
16739 address. (There have been systems where private was not correctly
16740 implemented like the infamous i386 svr4.0, and systems where the
16741 VM page cache was not coherent with the file system buffer cache
16742 like early versions of FreeBSD and possibly contemporary NetBSD.)
16743 For shared mappings, we should conversely verify that changes get
16744 propagated back to all the places they're supposed to be.
16746 Grep wants private fixed already mapped.
16747 The main things grep needs to know about mmap are:
16748 * does it exist and is it safe to write into the mmap'd area
16749 * how to use it (BSD variants) */
16752 #include <sys/mman.h>
16754 #if !STDC_HEADERS && !HAVE_STDLIB_H
16758 /* This mess was copied from the GNU getpagesize.h. */
16759 #if !HAVE_GETPAGESIZE
16760 /* Assume that all systems that can run configure have sys/param.h. */
16761 # if !HAVE_SYS_PARAM_H
16762 # define HAVE_SYS_PARAM_H 1
16765 # ifdef _SC_PAGESIZE
16766 # define getpagesize() sysconf(_SC_PAGESIZE)
16767 # else /* no _SC_PAGESIZE */
16768 # if HAVE_SYS_PARAM_H
16769 # include <sys/param.h>
16770 # ifdef EXEC_PAGESIZE
16771 # define getpagesize() EXEC_PAGESIZE
16772 # else /* no EXEC_PAGESIZE */
16774 # define getpagesize() NBPG * CLSIZE
16777 # endif /* no CLSIZE */
16778 # else /* no NBPG */
16780 # define getpagesize() NBPC
16781 # else /* no NBPC */
16783 # define getpagesize() PAGESIZE
16784 # endif /* PAGESIZE */
16785 # endif /* no NBPC */
16786 # endif /* no NBPG */
16787 # endif /* no EXEC_PAGESIZE */
16788 # else /* no HAVE_SYS_PARAM_H */
16789 # define getpagesize() 8192 /* punt totally */
16790 # endif /* no HAVE_SYS_PARAM_H */
16791 # endif /* no _SC_PAGESIZE */
16793 #endif /* no HAVE_GETPAGESIZE */
16798 char *data, *data2, *data3;
16802 pagesize = getpagesize ();
16804 /* First, make a file with some known garbage in it. */
16805 data = (char *) malloc (pagesize);
16808 for (i = 0; i < pagesize; ++i)
16809 *(data + i) = rand ();
16811 fd = creat ("conftest.mmap", 0600);
16814 if (write (fd, data, pagesize) != pagesize)
16818 /* Next, try to mmap the file at a fixed address which already has
16819 something else allocated at it. If we can, also make sure that
16820 we see the same garbage. */
16821 fd = open ("conftest.mmap", O_RDWR);
16824 data2 = (char *) malloc (2 * pagesize);
16827 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
16828 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16829 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16831 for (i = 0; i < pagesize; ++i)
16832 if (*(data + i) != *(data2 + i))
16835 /* Finally, make sure that changes to the mapped area do not
16836 percolate back to the file as seen by read(). (This is a bug on
16837 some variants of i386 svr4.0.) */
16838 for (i = 0; i < pagesize; ++i)
16839 *(data2 + i) = *(data2 + i) + 1;
16840 data3 = (char *) malloc (pagesize);
16843 if (read (fd, data3, pagesize) != pagesize)
16845 for (i = 0; i < pagesize; ++i)
16846 if (*(data + i) != *(data3 + i))
16852 rm -f conftest
$ac_exeext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16854 (eval $ac_link) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859 (eval $ac_try) 2>&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); }; }; then
16863 ac_cv_func_mmap_fixed_mapped
=yes
16865 echo "$as_me: program exited with status $ac_status" >&5
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.
$ac_ext >&5
16869 ( exit $ac_status )
16870 ac_cv_func_mmap_fixed_mapped
=no
16872 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16875 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
16876 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
16877 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16879 cat >>confdefs.h
<<\_ACEOF
16880 #define HAVE_MMAP 1
16884 rm -f conftest.mmap
16886 echo "$as_me:$LINENO: checking for pid_t" >&5
16887 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16888 if test "${ac_cv_type_pid_t+set}" = set; then
16889 echo $ECHO_N "(cached) $ECHO_C" >&6
16891 cat >conftest.
$ac_ext <<_ACEOF
16894 cat confdefs.h
>>conftest.
$ac_ext
16895 cat >>conftest.
$ac_ext <<_ACEOF
16896 /* end confdefs.h. */
16897 $ac_includes_default
16903 if (sizeof (pid_t))
16909 rm -f conftest.
$ac_objext
16910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16911 (eval $ac_compile) 2>conftest.er1
16913 grep -v '^ *+' conftest.er1
>conftest.err
16915 cat conftest.err
>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); } &&
16918 { ac_try
='test -z "$ac_c_werror_flag"
16919 || test ! -s conftest.err'
16920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921 (eval $ac_try) 2>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); }; } &&
16925 { ac_try
='test -s conftest.$ac_objext'
16926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16927 (eval $ac_try) 2>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); }; }; then
16931 ac_cv_type_pid_t
=yes
16933 echo "$as_me: failed program was:" >&5
16934 sed 's/^/| /' conftest.
$ac_ext >&5
16936 ac_cv_type_pid_t
=no
16938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16940 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16941 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16942 if test $ac_cv_type_pid_t = yes; then
16946 cat >>confdefs.h
<<_ACEOF
16954 for ac_header
in unistd.h vfork.h
16956 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16958 echo "$as_me:$LINENO: checking for $ac_header" >&5
16959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16961 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16966 # Is the header compilable?
16967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16969 cat >conftest.
$ac_ext <<_ACEOF
16972 cat confdefs.h
>>conftest.
$ac_ext
16973 cat >>conftest.
$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16975 $ac_includes_default
16976 #include <$ac_header>
16978 rm -f conftest.
$ac_objext
16979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16980 (eval $ac_compile) 2>conftest.er1
16982 grep -v '^ *+' conftest.er1
>conftest.err
16984 cat conftest.err
>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); } &&
16987 { ac_try
='test -z "$ac_c_werror_flag"
16988 || test ! -s conftest.err'
16989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16990 (eval $ac_try) 2>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); }; } &&
16994 { ac_try
='test -s conftest.$ac_objext'
16995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16996 (eval $ac_try) 2>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); }; }; then
17000 ac_header_compiler
=yes
17002 echo "$as_me: failed program was:" >&5
17003 sed 's/^/| /' conftest.
$ac_ext >&5
17005 ac_header_compiler
=no
17007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17009 echo "${ECHO_T}$ac_header_compiler" >&6
17011 # Is the header present?
17012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17014 cat >conftest.
$ac_ext <<_ACEOF
17017 cat confdefs.h
>>conftest.
$ac_ext
17018 cat >>conftest.
$ac_ext <<_ACEOF
17019 /* end confdefs.h. */
17020 #include <$ac_header>
17022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17023 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17025 grep -v '^ *+' conftest.er1
>conftest.err
17027 cat conftest.err
>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); } >/dev
/null
; then
17030 if test -s conftest.err
; then
17031 ac_cpp_err
=$ac_c_preproc_warn_flag
17032 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17039 if test -z "$ac_cpp_err"; then
17040 ac_header_preproc
=yes
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.
$ac_ext >&5
17045 ac_header_preproc
=no
17047 rm -f conftest.err conftest.
$ac_ext
17048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17049 echo "${ECHO_T}$ac_header_preproc" >&6
17051 # So? What about this header?
17052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17058 ac_header_preproc
=yes
17061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17068 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17075 ## ------------------------------------------ ##
17076 ## Report this to the AC_PACKAGE_NAME lists. ##
17077 ## ------------------------------------------ ##
17080 sed "s/^/$as_me: WARNING: /" >&2
17083 echo "$as_me:$LINENO: checking for $ac_header" >&5
17084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17086 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 eval "$as_ac_Header=\$ac_header_preproc"
17090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17095 cat >>confdefs.h
<<_ACEOF
17096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17105 for ac_func
in fork vfork
17107 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17108 echo "$as_me:$LINENO: checking for $ac_func" >&5
17109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17110 if eval "test \"\${$as_ac_var+set}\" = set"; then
17111 echo $ECHO_N "(cached) $ECHO_C" >&6
17113 cat >conftest.
$ac_ext <<_ACEOF
17116 cat confdefs.h
>>conftest.
$ac_ext
17117 cat >>conftest.
$ac_ext <<_ACEOF
17118 /* end confdefs.h. */
17119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17121 #define $ac_func innocuous_$ac_func
17123 /* System header to define __stub macros and hopefully few prototypes,
17124 which can conflict with char $ac_func (); below.
17125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17126 <limits.h> exists even on freestanding compilers. */
17129 # include <limits.h>
17131 # include <assert.h>
17136 /* Override any gcc2 internal prototype to avoid an error. */
17141 /* We use char because int might match the return type of a gcc2
17142 builtin and then its argument prototype would still apply. */
17144 /* The GNU C library defines this for functions which it implements
17145 to always fail with ENOSYS. Some functions are actually named
17146 something starting with __ and the normal name is an alias. */
17147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17150 char (*f) () = $ac_func;
17159 return f != $ac_func;
17164 rm -f conftest.
$ac_objext conftest
$ac_exeext
17165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17166 (eval $ac_link) 2>conftest.er1
17168 grep -v '^ *+' conftest.er1
>conftest.err
17170 cat conftest.err
>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); } &&
17173 { ac_try
='test -z "$ac_c_werror_flag"
17174 || test ! -s conftest.err'
17175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17176 (eval $ac_try) 2>&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); }; } &&
17180 { ac_try
='test -s 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 eval "$as_ac_var=yes"
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.
$ac_ext >&5
17191 eval "$as_ac_var=no"
17193 rm -f conftest.err conftest.
$ac_objext \
17194 conftest
$ac_exeext conftest.
$ac_ext
17196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17198 if test `eval echo '${'$as_ac_var'}'` = yes; then
17199 cat >>confdefs.h
<<_ACEOF
17200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17206 if test "x$ac_cv_func_fork" = xyes
; then
17207 echo "$as_me:$LINENO: checking for working fork" >&5
17208 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
17209 if test "${ac_cv_func_fork_works+set}" = set; then
17210 echo $ECHO_N "(cached) $ECHO_C" >&6
17212 if test "$cross_compiling" = yes; then
17213 ac_cv_func_fork_works
=cross
17215 cat >conftest.
$ac_ext <<_ACEOF
17216 /* By Ruediger Kuhlmann. */
17217 #include <sys/types.h>
17219 # include <unistd.h>
17221 /* Some systems only have a dummy stub for fork() */
17229 rm -f conftest
$ac_exeext
17230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17231 (eval $ac_link) 2>&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236 (eval $ac_try) 2>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); }; }; then
17240 ac_cv_func_fork_works
=yes
17242 echo "$as_me: program exited with status $ac_status" >&5
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.
$ac_ext >&5
17246 ( exit $ac_status )
17247 ac_cv_func_fork_works
=no
17249 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17252 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
17253 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
17256 ac_cv_func_fork_works
=$ac_cv_func_fork
17258 if test "x$ac_cv_func_fork_works" = xcross
; then
17260 *-*-amigaos* |
*-*-msdosdjgpp*)
17261 # Override, as these systems have only a dummy fork() stub
17262 ac_cv_func_fork_works
=no
17265 ac_cv_func_fork_works
=yes
17268 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
17269 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
17271 ac_cv_func_vfork_works
=$ac_cv_func_vfork
17272 if test "x$ac_cv_func_vfork" = xyes
; then
17273 echo "$as_me:$LINENO: checking for working vfork" >&5
17274 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
17275 if test "${ac_cv_func_vfork_works+set}" = set; then
17276 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 if test "$cross_compiling" = yes; then
17279 ac_cv_func_vfork_works
=cross
17281 cat >conftest.
$ac_ext <<_ACEOF
17284 cat confdefs.h
>>conftest.
$ac_ext
17285 cat >>conftest.
$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17287 /* Thanks to Paul Eggert for this test. */
17289 #include <stdlib.h>
17290 #include <sys/types.h>
17291 #include <sys/stat.h>
17292 #include <sys/wait.h>
17294 # include <unistd.h>
17297 # include <vfork.h>
17299 /* On some sparc systems, changes by the child to local and incoming
17300 argument registers are propagated back to the parent. The compiler
17301 is told about this with #include <vfork.h>, but some compilers
17302 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
17303 static variable whose address is put into a register that is
17304 clobbered by the vfork. */
17307 sparc_address_test (int arg)
17309 sparc_address_test (arg) int arg;
17312 static pid_t child;
17330 pid_t parent = getpid ();
17333 sparc_address_test (0);
17338 /* Here is another test for sparc vfork register problems. This
17339 test uses lots of local variables, at least as many local
17340 variables as main has allocated so far including compiler
17341 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
17342 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
17343 reuse the register of parent for one of the local variables,
17344 since it will think that parent can't possibly be used any more
17345 in this routine. Assigning to the local variable will thus
17346 munge parent in the parent process. */
17348 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
17349 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
17350 /* Convince the compiler that p..p7 are live; otherwise, it might
17351 use the same hardware register for all 8 local variables. */
17352 if (p != p1 || p != p2 || p != p3 || p != p4
17353 || p != p5 || p != p6 || p != p7)
17356 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
17357 from child file descriptors. If the child closes a descriptor
17358 before it execs or exits, this munges the parent's descriptor
17359 as well. Test for this by closing stdout in the child. */
17360 _exit(close(fileno(stdout)) != 0);
17365 while (wait(&status) != child)
17368 /* Was there some problem with vforking? */
17371 /* Did the child fail? (This shouldn't happen.) */
17374 /* Did the vfork/compiler bug occur? */
17375 || parent != getpid()
17377 /* Did the file descriptor bug occur? */
17378 || fstat(fileno(stdout), &st) != 0
17383 rm -f conftest
$ac_exeext
17384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17385 (eval $ac_link) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; }; then
17394 ac_cv_func_vfork_works
=yes
17396 echo "$as_me: program exited with status $ac_status" >&5
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.
$ac_ext >&5
17400 ( exit $ac_status )
17401 ac_cv_func_vfork_works
=no
17403 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17406 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
17407 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
17410 if test "x$ac_cv_func_fork_works" = xcross
; then
17411 ac_cv_func_vfork_works
=$ac_cv_func_vfork
17412 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
17413 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
17416 if test "x$ac_cv_func_vfork_works" = xyes
; then
17418 cat >>confdefs.h
<<\_ACEOF
17419 #define HAVE_WORKING_VFORK 1
17424 cat >>confdefs.h
<<\_ACEOF
17429 if test "x$ac_cv_func_fork_works" = xyes
; then
17431 cat >>confdefs.h
<<\_ACEOF
17432 #define HAVE_WORKING_FORK 1
17439 for ac_func
in canonicalize_file_name realpath
17441 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17442 echo "$as_me:$LINENO: checking for $ac_func" >&5
17443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17444 if eval "test \"\${$as_ac_var+set}\" = set"; then
17445 echo $ECHO_N "(cached) $ECHO_C" >&6
17447 cat >conftest.
$ac_ext <<_ACEOF
17450 cat confdefs.h
>>conftest.
$ac_ext
17451 cat >>conftest.
$ac_ext <<_ACEOF
17452 /* end confdefs.h. */
17453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17455 #define $ac_func innocuous_$ac_func
17457 /* System header to define __stub macros and hopefully few prototypes,
17458 which can conflict with char $ac_func (); below.
17459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17460 <limits.h> exists even on freestanding compilers. */
17463 # include <limits.h>
17465 # include <assert.h>
17470 /* Override any gcc2 internal prototype to avoid an error. */
17475 /* We use char because int might match the return type of a gcc2
17476 builtin and then its argument prototype would still apply. */
17478 /* The GNU C library defines this for functions which it implements
17479 to always fail with ENOSYS. Some functions are actually named
17480 something starting with __ and the normal name is an alias. */
17481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17484 char (*f) () = $ac_func;
17493 return f != $ac_func;
17498 rm -f conftest.
$ac_objext conftest
$ac_exeext
17499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17500 (eval $ac_link) 2>conftest.er1
17502 grep -v '^ *+' conftest.er1
>conftest.err
17504 cat conftest.err
>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } &&
17507 { ac_try
='test -z "$ac_c_werror_flag"
17508 || test ! -s conftest.err'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; } &&
17514 { ac_try
='test -s conftest$ac_exeext'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; }; then
17520 eval "$as_ac_var=yes"
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.
$ac_ext >&5
17525 eval "$as_ac_var=no"
17527 rm -f conftest.err conftest.
$ac_objext \
17528 conftest
$ac_exeext conftest.
$ac_ext
17530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17532 if test `eval echo '${'$as_ac_var'}'` = yes; then
17533 cat >>confdefs.h
<<_ACEOF
17534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17541 for ac_func
in getrusage
17543 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17544 echo "$as_me:$LINENO: checking for $ac_func" >&5
17545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17546 if eval "test \"\${$as_ac_var+set}\" = set"; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 cat >conftest.
$ac_ext <<_ACEOF
17552 cat confdefs.h
>>conftest.
$ac_ext
17553 cat >>conftest.
$ac_ext <<_ACEOF
17554 /* end confdefs.h. */
17555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17557 #define $ac_func innocuous_$ac_func
17559 /* System header to define __stub macros and hopefully few prototypes,
17560 which can conflict with char $ac_func (); below.
17561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17562 <limits.h> exists even on freestanding compilers. */
17565 # include <limits.h>
17567 # include <assert.h>
17572 /* Override any gcc2 internal prototype to avoid an error. */
17577 /* We use char because int might match the return type of a gcc2
17578 builtin and then its argument prototype would still apply. */
17580 /* The GNU C library defines this for functions which it implements
17581 to always fail with ENOSYS. Some functions are actually named
17582 something starting with __ and the normal name is an alias. */
17583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17586 char (*f) () = $ac_func;
17595 return f != $ac_func;
17600 rm -f conftest.
$ac_objext conftest
$ac_exeext
17601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17602 (eval $ac_link) 2>conftest.er1
17604 grep -v '^ *+' conftest.er1
>conftest.err
17606 cat conftest.err
>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } &&
17609 { ac_try
='test -z "$ac_c_werror_flag"
17610 || test ! -s conftest.err'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; } &&
17616 { ac_try
='test -s conftest$ac_exeext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17622 eval "$as_ac_var=yes"
17624 echo "$as_me: failed program was:" >&5
17625 sed 's/^/| /' conftest.
$ac_ext >&5
17627 eval "$as_ac_var=no"
17629 rm -f conftest.err conftest.
$ac_objext \
17630 conftest
$ac_exeext conftest.
$ac_ext
17632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17634 if test `eval echo '${'$as_ac_var'}'` = yes; then
17635 cat >>confdefs.h
<<_ACEOF
17636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17644 for ac_func
in getuid getgid
17646 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17647 echo "$as_me:$LINENO: checking for $ac_func" >&5
17648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17649 if eval "test \"\${$as_ac_var+set}\" = set"; then
17650 echo $ECHO_N "(cached) $ECHO_C" >&6
17652 cat >conftest.
$ac_ext <<_ACEOF
17655 cat confdefs.h
>>conftest.
$ac_ext
17656 cat >>conftest.
$ac_ext <<_ACEOF
17657 /* end confdefs.h. */
17658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17660 #define $ac_func innocuous_$ac_func
17662 /* System header to define __stub macros and hopefully few prototypes,
17663 which can conflict with char $ac_func (); below.
17664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17665 <limits.h> exists even on freestanding compilers. */
17668 # include <limits.h>
17670 # include <assert.h>
17675 /* Override any gcc2 internal prototype to avoid an error. */
17680 /* We use char because int might match the return type of a gcc2
17681 builtin and then its argument prototype would still apply. */
17683 /* The GNU C library defines this for functions which it implements
17684 to always fail with ENOSYS. Some functions are actually named
17685 something starting with __ and the normal name is an alias. */
17686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17689 char (*f) () = $ac_func;
17698 return f != $ac_func;
17703 rm -f conftest.
$ac_objext conftest
$ac_exeext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17705 (eval $ac_link) 2>conftest.er1
17707 grep -v '^ *+' conftest.er1
>conftest.err
17709 cat conftest.err
>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } &&
17712 { ac_try
='test -z "$ac_c_werror_flag"
17713 || test ! -s conftest.err'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; } &&
17719 { ac_try
='test -s conftest$ac_exeext'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; }; then
17725 eval "$as_ac_var=yes"
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17730 eval "$as_ac_var=no"
17732 rm -f conftest.err conftest.
$ac_objext \
17733 conftest
$ac_exeext conftest.
$ac_ext
17735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17737 if test `eval echo '${'$as_ac_var'}'` = yes; then
17738 cat >>confdefs.h
<<_ACEOF
17739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17746 for ac_func
in poll
17748 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17749 echo "$as_me:$LINENO: checking for $ac_func" >&5
17750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17751 if eval "test \"\${$as_ac_var+set}\" = set"; then
17752 echo $ECHO_N "(cached) $ECHO_C" >&6
17754 cat >conftest.
$ac_ext <<_ACEOF
17757 cat confdefs.h
>>conftest.
$ac_ext
17758 cat >>conftest.
$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17762 #define $ac_func innocuous_$ac_func
17764 /* System header to define __stub macros and hopefully few prototypes,
17765 which can conflict with char $ac_func (); below.
17766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17767 <limits.h> exists even on freestanding compilers. */
17770 # include <limits.h>
17772 # include <assert.h>
17777 /* Override any gcc2 internal prototype to avoid an error. */
17782 /* We use char because int might match the return type of a gcc2
17783 builtin and then its argument prototype would still apply. */
17785 /* The GNU C library defines this for functions which it implements
17786 to always fail with ENOSYS. Some functions are actually named
17787 something starting with __ and the normal name is an alias. */
17788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17791 char (*f) () = $ac_func;
17800 return f != $ac_func;
17805 rm -f conftest.
$ac_objext conftest
$ac_exeext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17807 (eval $ac_link) 2>conftest.er1
17809 grep -v '^ *+' conftest.er1
>conftest.err
17811 cat conftest.err
>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); } &&
17814 { ac_try
='test -z "$ac_c_werror_flag"
17815 || test ! -s conftest.err'
17816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17817 (eval $ac_try) 2>&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); }; } &&
17821 { ac_try
='test -s conftest$ac_exeext'
17822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17823 (eval $ac_try) 2>&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); }; }; then
17827 eval "$as_ac_var=yes"
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.
$ac_ext >&5
17832 eval "$as_ac_var=no"
17834 rm -f conftest.err conftest.
$ac_objext \
17835 conftest
$ac_exeext conftest.
$ac_ext
17837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17839 if test `eval echo '${'$as_ac_var'}'` = yes; then
17840 cat >>confdefs.h
<<_ACEOF
17841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17848 for ac_func
in pread64
17850 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17851 echo "$as_me:$LINENO: checking for $ac_func" >&5
17852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17853 if eval "test \"\${$as_ac_var+set}\" = set"; then
17854 echo $ECHO_N "(cached) $ECHO_C" >&6
17856 cat >conftest.
$ac_ext <<_ACEOF
17859 cat confdefs.h
>>conftest.
$ac_ext
17860 cat >>conftest.
$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17864 #define $ac_func innocuous_$ac_func
17866 /* System header to define __stub macros and hopefully few prototypes,
17867 which can conflict with char $ac_func (); below.
17868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17869 <limits.h> exists even on freestanding compilers. */
17872 # include <limits.h>
17874 # include <assert.h>
17879 /* Override any gcc2 internal prototype to avoid an error. */
17884 /* We use char because int might match the return type of a gcc2
17885 builtin and then its argument prototype would still apply. */
17887 /* The GNU C library defines this for functions which it implements
17888 to always fail with ENOSYS. Some functions are actually named
17889 something starting with __ and the normal name is an alias. */
17890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17893 char (*f) () = $ac_func;
17902 return f != $ac_func;
17907 rm -f conftest.
$ac_objext conftest
$ac_exeext
17908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17909 (eval $ac_link) 2>conftest.er1
17911 grep -v '^ *+' conftest.er1
>conftest.err
17913 cat conftest.err
>&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); } &&
17916 { ac_try
='test -z "$ac_c_werror_flag"
17917 || test ! -s conftest.err'
17918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17919 (eval $ac_try) 2>&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); }; } &&
17923 { ac_try
='test -s conftest$ac_exeext'
17924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17925 (eval $ac_try) 2>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); }; }; then
17929 eval "$as_ac_var=yes"
17931 echo "$as_me: failed program was:" >&5
17932 sed 's/^/| /' conftest.
$ac_ext >&5
17934 eval "$as_ac_var=no"
17936 rm -f conftest.err conftest.
$ac_objext \
17937 conftest
$ac_exeext conftest.
$ac_ext
17939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17941 if test `eval echo '${'$as_ac_var'}'` = yes; then
17942 cat >>confdefs.h
<<_ACEOF
17943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17950 for ac_func
in sbrk
17952 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17953 echo "$as_me:$LINENO: checking for $ac_func" >&5
17954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17955 if eval "test \"\${$as_ac_var+set}\" = set"; then
17956 echo $ECHO_N "(cached) $ECHO_C" >&6
17958 cat >conftest.
$ac_ext <<_ACEOF
17961 cat confdefs.h
>>conftest.
$ac_ext
17962 cat >>conftest.
$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17966 #define $ac_func innocuous_$ac_func
17968 /* System header to define __stub macros and hopefully few prototypes,
17969 which can conflict with char $ac_func (); below.
17970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17971 <limits.h> exists even on freestanding compilers. */
17974 # include <limits.h>
17976 # include <assert.h>
17981 /* Override any gcc2 internal prototype to avoid an error. */
17986 /* We use char because int might match the return type of a gcc2
17987 builtin and then its argument prototype would still apply. */
17989 /* The GNU C library defines this for functions which it implements
17990 to always fail with ENOSYS. Some functions are actually named
17991 something starting with __ and the normal name is an alias. */
17992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17995 char (*f) () = $ac_func;
18004 return f != $ac_func;
18009 rm -f conftest.
$ac_objext conftest
$ac_exeext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18011 (eval $ac_link) 2>conftest.er1
18013 grep -v '^ *+' conftest.er1
>conftest.err
18015 cat conftest.err
>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); } &&
18018 { ac_try
='test -z "$ac_c_werror_flag"
18019 || test ! -s conftest.err'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; } &&
18025 { ac_try
='test -s conftest$ac_exeext'
18026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18027 (eval $ac_try) 2>&5
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); }; }; then
18031 eval "$as_ac_var=yes"
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.
$ac_ext >&5
18036 eval "$as_ac_var=no"
18038 rm -f conftest.err conftest.
$ac_objext \
18039 conftest
$ac_exeext conftest.
$ac_ext
18041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18043 if test `eval echo '${'$as_ac_var'}'` = yes; then
18044 cat >>confdefs.h
<<_ACEOF
18045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18053 for ac_func
in setpgid setpgrp
18055 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18056 echo "$as_me:$LINENO: checking for $ac_func" >&5
18057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18058 if eval "test \"\${$as_ac_var+set}\" = set"; then
18059 echo $ECHO_N "(cached) $ECHO_C" >&6
18061 cat >conftest.
$ac_ext <<_ACEOF
18064 cat confdefs.h
>>conftest.
$ac_ext
18065 cat >>conftest.
$ac_ext <<_ACEOF
18066 /* end confdefs.h. */
18067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18069 #define $ac_func innocuous_$ac_func
18071 /* System header to define __stub macros and hopefully few prototypes,
18072 which can conflict with char $ac_func (); below.
18073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18074 <limits.h> exists even on freestanding compilers. */
18077 # include <limits.h>
18079 # include <assert.h>
18084 /* Override any gcc2 internal prototype to avoid an error. */
18089 /* We use char because int might match the return type of a gcc2
18090 builtin and then its argument prototype would still apply. */
18092 /* The GNU C library defines this for functions which it implements
18093 to always fail with ENOSYS. Some functions are actually named
18094 something starting with __ and the normal name is an alias. */
18095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18098 char (*f) () = $ac_func;
18107 return f != $ac_func;
18112 rm -f conftest.
$ac_objext conftest
$ac_exeext
18113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18114 (eval $ac_link) 2>conftest.er1
18116 grep -v '^ *+' conftest.er1
>conftest.err
18118 cat conftest.err
>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); } &&
18121 { ac_try
='test -z "$ac_c_werror_flag"
18122 || test ! -s conftest.err'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; } &&
18128 { ac_try
='test -s conftest$ac_exeext'
18129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18130 (eval $ac_try) 2>&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); }; }; then
18134 eval "$as_ac_var=yes"
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.
$ac_ext >&5
18139 eval "$as_ac_var=no"
18141 rm -f conftest.err conftest.
$ac_objext \
18142 conftest
$ac_exeext conftest.
$ac_ext
18144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18146 if test `eval echo '${'$as_ac_var'}'` = yes; then
18147 cat >>confdefs.h
<<_ACEOF
18148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18157 for ac_func
in sigaction sigprocmask sigsetmask
18159 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18160 echo "$as_me:$LINENO: checking for $ac_func" >&5
18161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18162 if eval "test \"\${$as_ac_var+set}\" = set"; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18165 cat >conftest.
$ac_ext <<_ACEOF
18168 cat confdefs.h
>>conftest.
$ac_ext
18169 cat >>conftest.
$ac_ext <<_ACEOF
18170 /* end confdefs.h. */
18171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18173 #define $ac_func innocuous_$ac_func
18175 /* System header to define __stub macros and hopefully few prototypes,
18176 which can conflict with char $ac_func (); below.
18177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18178 <limits.h> exists even on freestanding compilers. */
18181 # include <limits.h>
18183 # include <assert.h>
18188 /* Override any gcc2 internal prototype to avoid an error. */
18193 /* We use char because int might match the return type of a gcc2
18194 builtin and then its argument prototype would still apply. */
18196 /* The GNU C library defines this for functions which it implements
18197 to always fail with ENOSYS. Some functions are actually named
18198 something starting with __ and the normal name is an alias. */
18199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18202 char (*f) () = $ac_func;
18211 return f != $ac_func;
18216 rm -f conftest.
$ac_objext conftest
$ac_exeext
18217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18218 (eval $ac_link) 2>conftest.er1
18220 grep -v '^ *+' conftest.er1
>conftest.err
18222 cat conftest.err
>&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } &&
18225 { ac_try
='test -z "$ac_c_werror_flag"
18226 || test ! -s conftest.err'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try
='test -s conftest$ac_exeext'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; }; then
18238 eval "$as_ac_var=yes"
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.
$ac_ext >&5
18243 eval "$as_ac_var=no"
18245 rm -f conftest.err conftest.
$ac_objext \
18246 conftest
$ac_exeext conftest.
$ac_ext
18248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18250 if test `eval echo '${'$as_ac_var'}'` = yes; then
18251 cat >>confdefs.h
<<_ACEOF
18252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18259 for ac_func
in socketpair
18261 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18262 echo "$as_me:$LINENO: checking for $ac_func" >&5
18263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18264 if eval "test \"\${$as_ac_var+set}\" = set"; then
18265 echo $ECHO_N "(cached) $ECHO_C" >&6
18267 cat >conftest.
$ac_ext <<_ACEOF
18270 cat confdefs.h
>>conftest.
$ac_ext
18271 cat >>conftest.
$ac_ext <<_ACEOF
18272 /* end confdefs.h. */
18273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18275 #define $ac_func innocuous_$ac_func
18277 /* System header to define __stub macros and hopefully few prototypes,
18278 which can conflict with char $ac_func (); below.
18279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18280 <limits.h> exists even on freestanding compilers. */
18283 # include <limits.h>
18285 # include <assert.h>
18290 /* Override any gcc2 internal prototype to avoid an error. */
18295 /* We use char because int might match the return type of a gcc2
18296 builtin and then its argument prototype would still apply. */
18298 /* The GNU C library defines this for functions which it implements
18299 to always fail with ENOSYS. Some functions are actually named
18300 something starting with __ and the normal name is an alias. */
18301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18304 char (*f) () = $ac_func;
18313 return f != $ac_func;
18318 rm -f conftest.
$ac_objext conftest
$ac_exeext
18319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18320 (eval $ac_link) 2>conftest.er1
18322 grep -v '^ *+' conftest.er1
>conftest.err
18324 cat conftest.err
>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } &&
18327 { ac_try
='test -z "$ac_c_werror_flag"
18328 || test ! -s conftest.err'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; } &&
18334 { ac_try
='test -s conftest$ac_exeext'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; }; then
18340 eval "$as_ac_var=yes"
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.
$ac_ext >&5
18345 eval "$as_ac_var=no"
18347 rm -f conftest.err conftest.
$ac_objext \
18348 conftest
$ac_exeext conftest.
$ac_ext
18350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18352 if test `eval echo '${'$as_ac_var'}'` = yes; then
18353 cat >>confdefs.h
<<_ACEOF
18354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18361 for ac_func
in syscall
18363 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18364 echo "$as_me:$LINENO: checking for $ac_func" >&5
18365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18366 if eval "test \"\${$as_ac_var+set}\" = set"; then
18367 echo $ECHO_N "(cached) $ECHO_C" >&6
18369 cat >conftest.
$ac_ext <<_ACEOF
18372 cat confdefs.h
>>conftest.
$ac_ext
18373 cat >>conftest.
$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18377 #define $ac_func innocuous_$ac_func
18379 /* System header to define __stub macros and hopefully few prototypes,
18380 which can conflict with char $ac_func (); below.
18381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18382 <limits.h> exists even on freestanding compilers. */
18385 # include <limits.h>
18387 # include <assert.h>
18392 /* Override any gcc2 internal prototype to avoid an error. */
18397 /* We use char because int might match the return type of a gcc2
18398 builtin and then its argument prototype would still apply. */
18400 /* The GNU C library defines this for functions which it implements
18401 to always fail with ENOSYS. Some functions are actually named
18402 something starting with __ and the normal name is an alias. */
18403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18406 char (*f) () = $ac_func;
18415 return f != $ac_func;
18420 rm -f conftest.
$ac_objext conftest
$ac_exeext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18422 (eval $ac_link) 2>conftest.er1
18424 grep -v '^ *+' conftest.er1
>conftest.err
18426 cat conftest.err
>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try
='test -z "$ac_c_werror_flag"
18430 || test ! -s conftest.err'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; } &&
18436 { ac_try
='test -s conftest$ac_exeext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18442 eval "$as_ac_var=yes"
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.
$ac_ext >&5
18447 eval "$as_ac_var=no"
18449 rm -f conftest.err conftest.
$ac_objext \
18450 conftest
$ac_exeext conftest.
$ac_ext
18452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18454 if test `eval echo '${'$as_ac_var'}'` = yes; then
18455 cat >>confdefs.h
<<_ACEOF
18456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18463 for ac_func
in ttrace
18465 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18466 echo "$as_me:$LINENO: checking for $ac_func" >&5
18467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18468 if eval "test \"\${$as_ac_var+set}\" = set"; then
18469 echo $ECHO_N "(cached) $ECHO_C" >&6
18471 cat >conftest.
$ac_ext <<_ACEOF
18474 cat confdefs.h
>>conftest.
$ac_ext
18475 cat >>conftest.
$ac_ext <<_ACEOF
18476 /* end confdefs.h. */
18477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18479 #define $ac_func innocuous_$ac_func
18481 /* System header to define __stub macros and hopefully few prototypes,
18482 which can conflict with char $ac_func (); below.
18483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18484 <limits.h> exists even on freestanding compilers. */
18487 # include <limits.h>
18489 # include <assert.h>
18494 /* Override any gcc2 internal prototype to avoid an error. */
18499 /* We use char because int might match the return type of a gcc2
18500 builtin and then its argument prototype would still apply. */
18502 /* The GNU C library defines this for functions which it implements
18503 to always fail with ENOSYS. Some functions are actually named
18504 something starting with __ and the normal name is an alias. */
18505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18508 char (*f) () = $ac_func;
18517 return f != $ac_func;
18522 rm -f conftest.
$ac_objext conftest
$ac_exeext
18523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18524 (eval $ac_link) 2>conftest.er1
18526 grep -v '^ *+' conftest.er1
>conftest.err
18528 cat conftest.err
>&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); } &&
18531 { ac_try
='test -z "$ac_c_werror_flag"
18532 || test ! -s conftest.err'
18533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534 (eval $ac_try) 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; } &&
18538 { ac_try
='test -s conftest$ac_exeext'
18539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18540 (eval $ac_try) 2>&5
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; }; then
18544 eval "$as_ac_var=yes"
18546 echo "$as_me: failed program was:" >&5
18547 sed 's/^/| /' conftest.
$ac_ext >&5
18549 eval "$as_ac_var=no"
18551 rm -f conftest.err conftest.
$ac_objext \
18552 conftest
$ac_exeext conftest.
$ac_ext
18554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18556 if test `eval echo '${'$as_ac_var'}'` = yes; then
18557 cat >>confdefs.h
<<_ACEOF
18558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18565 for ac_func
in wborder
18567 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18568 echo "$as_me:$LINENO: checking for $ac_func" >&5
18569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18570 if eval "test \"\${$as_ac_var+set}\" = set"; then
18571 echo $ECHO_N "(cached) $ECHO_C" >&6
18573 cat >conftest.
$ac_ext <<_ACEOF
18576 cat confdefs.h
>>conftest.
$ac_ext
18577 cat >>conftest.
$ac_ext <<_ACEOF
18578 /* end confdefs.h. */
18579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18581 #define $ac_func innocuous_$ac_func
18583 /* System header to define __stub macros and hopefully few prototypes,
18584 which can conflict with char $ac_func (); below.
18585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18586 <limits.h> exists even on freestanding compilers. */
18589 # include <limits.h>
18591 # include <assert.h>
18596 /* Override any gcc2 internal prototype to avoid an error. */
18601 /* We use char because int might match the return type of a gcc2
18602 builtin and then its argument prototype would still apply. */
18604 /* The GNU C library defines this for functions which it implements
18605 to always fail with ENOSYS. Some functions are actually named
18606 something starting with __ and the normal name is an alias. */
18607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18610 char (*f) () = $ac_func;
18619 return f != $ac_func;
18624 rm -f conftest.
$ac_objext conftest
$ac_exeext
18625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18626 (eval $ac_link) 2>conftest.er1
18628 grep -v '^ *+' conftest.er1
>conftest.err
18630 cat conftest.err
>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } &&
18633 { ac_try
='test -z "$ac_c_werror_flag"
18634 || test ! -s conftest.err'
18635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636 (eval $ac_try) 2>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); }; } &&
18640 { ac_try
='test -s conftest$ac_exeext'
18641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18642 (eval $ac_try) 2>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); }; }; then
18646 eval "$as_ac_var=yes"
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.
$ac_ext >&5
18651 eval "$as_ac_var=no"
18653 rm -f conftest.err conftest.
$ac_objext \
18654 conftest
$ac_exeext conftest.
$ac_ext
18656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18658 if test `eval echo '${'$as_ac_var'}'` = yes; then
18659 cat >>confdefs.h
<<_ACEOF
18660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18667 # Check the return and argument types of ptrace. No canned test for
18668 # this, so roll our own.
18669 gdb_ptrace_headers
='
18670 #if HAVE_SYS_TYPES_H
18671 # include <sys/types.h>
18673 #if HAVE_SYS_PTRACE_H
18674 # include <sys/ptrace.h>
18677 # include <unistd.h>
18680 # There is no point in checking if we don't have a prototype.
18681 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
18682 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
18683 if test "${ac_cv_have_decl_ptrace+set}" = set; then
18684 echo $ECHO_N "(cached) $ECHO_C" >&6
18686 cat >conftest.
$ac_ext <<_ACEOF
18689 cat confdefs.h
>>conftest.
$ac_ext
18690 cat >>conftest.
$ac_ext <<_ACEOF
18691 /* end confdefs.h. */
18692 $gdb_ptrace_headers
18698 char *p = (char *) ptrace;
18705 rm -f conftest.
$ac_objext
18706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18707 (eval $ac_compile) 2>conftest.er1
18709 grep -v '^ *+' conftest.er1
>conftest.err
18711 cat conftest.err
>&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); } &&
18714 { ac_try
='test -z "$ac_c_werror_flag"
18715 || test ! -s conftest.err'
18716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18717 (eval $ac_try) 2>&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); }; } &&
18721 { ac_try
='test -s conftest.$ac_objext'
18722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723 (eval $ac_try) 2>&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); }; }; then
18727 ac_cv_have_decl_ptrace
=yes
18729 echo "$as_me: failed program was:" >&5
18730 sed 's/^/| /' conftest.
$ac_ext >&5
18732 ac_cv_have_decl_ptrace
=no
18734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18736 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
18737 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
18738 if test $ac_cv_have_decl_ptrace = yes; then
18740 cat >>confdefs.h
<<_ACEOF
18741 #define HAVE_DECL_PTRACE 1
18746 cat >>confdefs.h
<<_ACEOF
18747 #define HAVE_DECL_PTRACE 0
18751 : ${gdb_cv_func_ptrace_ret='int'}
18752 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
18757 # Check return type.
18758 echo "$as_me:$LINENO: checking return type of ptrace" >&5
18759 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
18760 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
18761 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 cat >conftest.
$ac_ext <<_ACEOF
18766 cat confdefs.h
>>conftest.
$ac_ext
18767 cat >>conftest.
$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 $gdb_ptrace_headers
18773 extern int ptrace ();
18778 rm -f conftest.
$ac_objext
18779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18780 (eval $ac_compile) 2>conftest.er1
18782 grep -v '^ *+' conftest.er1
>conftest.err
18784 cat conftest.err
>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); } &&
18787 { ac_try
='test -z "$ac_c_werror_flag"
18788 || test ! -s conftest.err'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; } &&
18794 { ac_try
='test -s conftest.$ac_objext'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; }; then
18800 gdb_cv_func_ptrace_ret
='int'
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.
$ac_ext >&5
18805 gdb_cv_func_ptrace_ret
='long'
18807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18809 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
18810 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
18812 cat >>confdefs.h
<<_ACEOF
18813 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
18816 # Check argument types.
18817 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
18818 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
18819 if test "${gdb_cv_func_ptrace_args+set}" = set; then
18820 echo $ECHO_N "(cached) $ECHO_C" >&6
18823 for gdb_arg1
in 'int' 'long'; do
18824 for gdb_arg2
in 'pid_t' 'int' 'long'; do
18825 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long'; do
18826 for gdb_arg4
in 'int' 'long'; do
18827 cat >conftest.
$ac_ext <<_ACEOF
18830 cat confdefs.h
>>conftest.
$ac_ext
18831 cat >>conftest.
$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 $gdb_ptrace_headers
18838 extern $gdb_cv_func_ptrace_ret
18839 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
18845 rm -f conftest.
$ac_objext
18846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18847 (eval $ac_compile) 2>conftest.er1
18849 grep -v '^ *+' conftest.er1
>conftest.err
18851 cat conftest.err
>&5
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); } &&
18854 { ac_try
='test -z "$ac_c_werror_flag"
18855 || test ! -s conftest.err'
18856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18857 (eval $ac_try) 2>&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); }; } &&
18861 { ac_try
='test -s conftest.$ac_objext'
18862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18863 (eval $ac_try) 2>&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); }; }; then
18867 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.
$ac_ext >&5
18874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18875 for gdb_arg5
in 'int *' 'int' 'long'; do
18876 cat >conftest.
$ac_ext <<_ACEOF
18879 cat confdefs.h
>>conftest.
$ac_ext
18880 cat >>conftest.
$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18882 $gdb_ptrace_headers
18887 extern $gdb_cv_func_ptrace_ret
18888 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
18894 rm -f conftest.
$ac_objext
18895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18896 (eval $ac_compile) 2>conftest.er1
18898 grep -v '^ *+' conftest.er1
>conftest.err
18900 cat conftest.err
>&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); } &&
18903 { ac_try
='test -z "$ac_c_werror_flag"
18904 || test ! -s conftest.err'
18905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18906 (eval $ac_try) 2>&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; } &&
18910 { ac_try
='test -s conftest.$ac_objext'
18911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912 (eval $ac_try) 2>&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); }; }; then
18917 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
18920 echo "$as_me: failed program was:" >&5
18921 sed 's/^/| /' conftest.
$ac_ext >&5
18924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18930 # Provide a safe default value.
18931 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
18934 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
18935 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
18936 ac_save_IFS
=$IFS; IFS
=','
18937 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
18941 cat >>confdefs.h
<<_ACEOF
18942 #define PTRACE_TYPE_ARG3 $3
18945 if test -n "$5"; then
18947 cat >>confdefs.h
<<_ACEOF
18948 #define PTRACE_TYPE_ARG5 $5
18953 if test "$cross_compiling" = no
; then
18954 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
18955 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
18956 if test "${ac_cv_func_setpgrp_void+set}" = set; then
18957 echo $ECHO_N "(cached) $ECHO_C" >&6
18959 if test "$cross_compiling" = yes; then
18960 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
18961 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
18962 { (exit 1); exit 1; }; }
18964 cat >conftest.
$ac_ext <<_ACEOF
18967 cat confdefs.h
>>conftest.
$ac_ext
18968 cat >>conftest.
$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18971 # include <unistd.h>
18977 /* If this system has a BSD-style setpgrp which takes arguments,
18978 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
18979 exit successfully. */
18980 exit (setpgrp (1,1) == -1 ? 0 : 1);
18985 rm -f conftest
$ac_exeext
18986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18987 (eval $ac_link) 2>&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18992 (eval $ac_try) 2>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; }; then
18996 ac_cv_func_setpgrp_void
=no
18998 echo "$as_me: program exited with status $ac_status" >&5
18999 echo "$as_me: failed program was:" >&5
19000 sed 's/^/| /' conftest.
$ac_ext >&5
19002 ( exit $ac_status )
19003 ac_cv_func_setpgrp_void
=yes
19005 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19008 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
19009 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
19010 if test $ac_cv_func_setpgrp_void = yes; then
19012 cat >>confdefs.h
<<\_ACEOF
19013 #define SETPGRP_VOID 1
19019 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
19020 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
19021 if test "${ac_cv_func_setpgrp_void+set}" = set; then
19022 echo $ECHO_N "(cached) $ECHO_C" >&6
19024 cat >conftest.
$ac_ext <<_ACEOF
19027 cat confdefs.h
>>conftest.
$ac_ext
19028 cat >>conftest.
$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19031 #include <unistd.h>
19037 if (setpgrp(1,1) == -1)
19046 rm -f conftest.
$ac_objext
19047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19048 (eval $ac_compile) 2>conftest.er1
19050 grep -v '^ *+' conftest.er1
>conftest.err
19052 cat conftest.err
>&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); } &&
19055 { ac_try
='test -z "$ac_c_werror_flag"
19056 || test ! -s conftest.err'
19057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058 (eval $ac_try) 2>&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; } &&
19062 { ac_try
='test -s conftest.$ac_objext'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19068 ac_cv_func_setpgrp_void
=no
19070 echo "$as_me: failed program was:" >&5
19071 sed 's/^/| /' conftest.
$ac_ext >&5
19073 ac_cv_func_setpgrp_void
=yes
19075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19077 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
19078 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
19079 if test $ac_cv_func_setpgrp_void = yes; then
19080 cat >>confdefs.h
<<\_ACEOF
19081 #define SETPGRP_VOID 1
19087 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
19088 # since sigsetjmp might only be defined as a macro.
19089 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
19090 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
19091 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
19092 echo $ECHO_N "(cached) $ECHO_C" >&6
19094 cat >conftest.
$ac_ext <<_ACEOF
19097 cat confdefs.h
>>conftest.
$ac_ext
19098 cat >>conftest.
$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19101 #include <setjmp.h>
19106 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
19111 rm -f conftest.
$ac_objext
19112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19113 (eval $ac_compile) 2>conftest.er1
19115 grep -v '^ *+' conftest.er1
>conftest.err
19117 cat conftest.err
>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } &&
19120 { ac_try
='test -z "$ac_c_werror_flag"
19121 || test ! -s conftest.err'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; } &&
19127 { ac_try
='test -s conftest.$ac_objext'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; }; then
19133 gdb_cv_func_sigsetjmp
=yes
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.
$ac_ext >&5
19138 gdb_cv_func_sigsetjmp
=no
19140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19142 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
19143 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
19144 if test $gdb_cv_func_sigsetjmp = yes; then
19146 cat >>confdefs.h
<<\_ACEOF
19147 #define HAVE_SIGSETJMP 1
19152 # Assume we'll default to using the included libiberty regex.
19153 gdb_use_included_regex
=yes
19155 # However, if the system regex is GNU regex, then default to *not*
19156 # using the included regex.
19157 echo "$as_me:$LINENO: checking for GNU regex" >&5
19158 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
19159 if test "${gdb_cv_have_gnu_regex+set}" = set; then
19160 echo $ECHO_N "(cached) $ECHO_C" >&6
19162 cat >conftest.
$ac_ext <<_ACEOF
19165 cat confdefs.h
>>conftest.
$ac_ext
19166 cat >>conftest.
$ac_ext <<_ACEOF
19167 /* end confdefs.h. */
19168 #include <gnu-versions.h>
19172 #define REGEX_INTERFACE_VERSION 1
19173 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
19174 # error "Version mismatch"
19180 rm -f conftest.
$ac_objext
19181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19182 (eval $ac_compile) 2>conftest.er1
19184 grep -v '^ *+' conftest.er1
>conftest.err
19186 cat conftest.err
>&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } &&
19189 { ac_try
='test -z "$ac_c_werror_flag"
19190 || test ! -s conftest.err'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; } &&
19196 { ac_try
='test -s conftest.$ac_objext'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; }; then
19202 gdb_cv_have_gnu_regex
=yes
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.
$ac_ext >&5
19207 gdb_cv_have_gnu_regex
=no
19209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19211 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
19212 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
19213 if test $gdb_cv_have_gnu_regex = yes; then
19214 gdb_use_included_regex
=no
19218 # Check whether --with-included-regex or --without-included-regex was given.
19219 if test "${with_included_regex+set}" = set; then
19220 withval
="$with_included_regex"
19221 gdb_with_regex
=$withval
19223 gdb_with_regex
=$gdb_use_included_regex
19225 if test "$gdb_with_regex" = yes; then
19227 cat >>confdefs.h
<<\_ACEOF
19228 #define USE_INCLUDED_REGEX 1
19233 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
19234 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
19235 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
19236 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
19237 echo $ECHO_N "(cached) $ECHO_C" >&6
19239 cat >conftest.
$ac_ext <<_ACEOF
19242 cat confdefs.h
>>conftest.
$ac_ext
19243 cat >>conftest.
$ac_ext <<_ACEOF
19244 /* end confdefs.h. */
19245 #include <sys/param.h>
19246 #include <sys/proc.h>
19252 static struct thread ac_aggr;
19253 if (ac_aggr.td_pcb)
19259 rm -f conftest.
$ac_objext
19260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19261 (eval $ac_compile) 2>conftest.er1
19263 grep -v '^ *+' conftest.er1
>conftest.err
19265 cat conftest.err
>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } &&
19268 { ac_try
='test -z "$ac_c_werror_flag"
19269 || test ! -s conftest.err'
19270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19271 (eval $ac_try) 2>&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); }; } &&
19275 { ac_try
='test -s conftest.$ac_objext'
19276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19277 (eval $ac_try) 2>&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); }; }; then
19281 ac_cv_member_struct_thread_td_pcb
=yes
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.
$ac_ext >&5
19286 cat >conftest.
$ac_ext <<_ACEOF
19289 cat confdefs.h
>>conftest.
$ac_ext
19290 cat >>conftest.
$ac_ext <<_ACEOF
19291 /* end confdefs.h. */
19292 #include <sys/param.h>
19293 #include <sys/proc.h>
19299 static struct thread ac_aggr;
19300 if (sizeof ac_aggr.td_pcb)
19306 rm -f conftest.
$ac_objext
19307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19308 (eval $ac_compile) 2>conftest.er1
19310 grep -v '^ *+' conftest.er1
>conftest.err
19312 cat conftest.err
>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } &&
19315 { ac_try
='test -z "$ac_c_werror_flag"
19316 || test ! -s conftest.err'
19317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19318 (eval $ac_try) 2>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); }; } &&
19322 { ac_try
='test -s conftest.$ac_objext'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; }; then
19328 ac_cv_member_struct_thread_td_pcb
=yes
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.
$ac_ext >&5
19333 ac_cv_member_struct_thread_td_pcb
=no
19335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19339 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
19340 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
19341 if test $ac_cv_member_struct_thread_td_pcb = yes; then
19343 cat >>confdefs.h
<<_ACEOF
19344 #define HAVE_STRUCT_THREAD_TD_PCB 1
19351 # See if <sys/lwp.h> defines `struct lwp`.
19352 echo "$as_me:$LINENO: checking for struct lwp" >&5
19353 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
19354 if test "${gdb_cv_struct_lwp+set}" = set; then
19355 echo $ECHO_N "(cached) $ECHO_C" >&6
19357 cat >conftest.
$ac_ext <<_ACEOF
19360 cat confdefs.h
>>conftest.
$ac_ext
19361 cat >>conftest.
$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19363 #include <sys/param.h>
19364 #include <sys/lwp.h>
19373 rm -f conftest.
$ac_objext
19374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19375 (eval $ac_compile) 2>conftest.er1
19377 grep -v '^ *+' conftest.er1
>conftest.err
19379 cat conftest.err
>&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); } &&
19382 { ac_try
='test -z "$ac_c_werror_flag"
19383 || test ! -s conftest.err'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; } &&
19389 { ac_try
='test -s conftest.$ac_objext'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; }; then
19395 gdb_cv_struct_lwp
=yes
19397 echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.
$ac_ext >&5
19400 gdb_cv_struct_lwp
=no
19402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19404 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
19405 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
19406 if test $gdb_cv_struct_lwp = yes; then
19408 cat >>confdefs.h
<<\_ACEOF
19409 #define HAVE_STRUCT_LWP 1
19414 # See if <machine/reg.h> degines `struct reg'.
19415 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
19416 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
19417 if test "${gdb_cv_struct_reg+set}" = set; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 cat >conftest.
$ac_ext <<_ACEOF
19423 cat confdefs.h
>>conftest.
$ac_ext
19424 cat >>conftest.
$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 #include <sys/types.h>
19427 #include <machine/reg.h>
19436 rm -f conftest.
$ac_objext
19437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19438 (eval $ac_compile) 2>conftest.er1
19440 grep -v '^ *+' conftest.er1
>conftest.err
19442 cat conftest.err
>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); } &&
19445 { ac_try
='test -z "$ac_c_werror_flag"
19446 || test ! -s conftest.err'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; } &&
19452 { ac_try
='test -s conftest.$ac_objext'
19453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454 (eval $ac_try) 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; }; then
19458 gdb_cv_struct_reg
=yes
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.
$ac_ext >&5
19463 gdb_cv_struct_reg
=no
19465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19467 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
19468 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
19469 if test $gdb_cv_struct_reg = yes; then
19471 cat >>confdefs.h
<<\_ACEOF
19472 #define HAVE_STRUCT_REG 1
19477 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
19478 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
19479 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
19480 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
19481 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19484 cat >conftest.
$ac_ext <<_ACEOF
19487 cat confdefs.h
>>conftest.
$ac_ext
19488 cat >>conftest.
$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 #include <machine/reg.h>
19495 static struct reg ac_aggr;
19502 rm -f conftest.
$ac_objext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19504 (eval $ac_compile) 2>conftest.er1
19506 grep -v '^ *+' conftest.er1
>conftest.err
19508 cat conftest.err
>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try
='test -z "$ac_c_werror_flag"
19512 || test ! -s conftest.err'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; } &&
19518 { ac_try
='test -s conftest.$ac_objext'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 ac_cv_member_struct_reg_r_fs
=yes
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.
$ac_ext >&5
19529 cat >conftest.
$ac_ext <<_ACEOF
19532 cat confdefs.h
>>conftest.
$ac_ext
19533 cat >>conftest.
$ac_ext <<_ACEOF
19534 /* end confdefs.h. */
19535 #include <machine/reg.h>
19540 static struct reg ac_aggr;
19541 if (sizeof ac_aggr.r_fs)
19547 rm -f conftest.
$ac_objext
19548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19549 (eval $ac_compile) 2>conftest.er1
19551 grep -v '^ *+' conftest.er1
>conftest.err
19553 cat conftest.err
>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } &&
19556 { ac_try
='test -z "$ac_c_werror_flag"
19557 || test ! -s conftest.err'
19558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559 (eval $ac_try) 2>&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; } &&
19563 { ac_try
='test -s conftest.$ac_objext'
19564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565 (eval $ac_try) 2>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; }; then
19569 ac_cv_member_struct_reg_r_fs
=yes
19571 echo "$as_me: failed program was:" >&5
19572 sed 's/^/| /' conftest.
$ac_ext >&5
19574 ac_cv_member_struct_reg_r_fs
=no
19576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19580 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
19581 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
19582 if test $ac_cv_member_struct_reg_r_fs = yes; then
19584 cat >>confdefs.h
<<_ACEOF
19585 #define HAVE_STRUCT_REG_R_FS 1
19590 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
19591 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
19592 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
19593 echo $ECHO_N "(cached) $ECHO_C" >&6
19595 cat >conftest.
$ac_ext <<_ACEOF
19598 cat confdefs.h
>>conftest.
$ac_ext
19599 cat >>conftest.
$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19601 #include <machine/reg.h>
19606 static struct reg ac_aggr;
19613 rm -f conftest.
$ac_objext
19614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19615 (eval $ac_compile) 2>conftest.er1
19617 grep -v '^ *+' conftest.er1
>conftest.err
19619 cat conftest.err
>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try
='test -z "$ac_c_werror_flag"
19623 || test ! -s conftest.err'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; } &&
19629 { ac_try
='test -s conftest.$ac_objext'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 ac_cv_member_struct_reg_r_gs
=yes
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.
$ac_ext >&5
19640 cat >conftest.
$ac_ext <<_ACEOF
19643 cat confdefs.h
>>conftest.
$ac_ext
19644 cat >>conftest.
$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19646 #include <machine/reg.h>
19651 static struct reg ac_aggr;
19652 if (sizeof ac_aggr.r_gs)
19658 rm -f conftest.
$ac_objext
19659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19660 (eval $ac_compile) 2>conftest.er1
19662 grep -v '^ *+' conftest.er1
>conftest.err
19664 cat conftest.err
>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } &&
19667 { ac_try
='test -z "$ac_c_werror_flag"
19668 || test ! -s conftest.err'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; } &&
19674 { ac_try
='test -s conftest.$ac_objext'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19680 ac_cv_member_struct_reg_r_gs
=yes
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.
$ac_ext >&5
19685 ac_cv_member_struct_reg_r_gs
=no
19687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19691 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
19692 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
19693 if test $ac_cv_member_struct_reg_r_gs = yes; then
19695 cat >>confdefs.h
<<_ACEOF
19696 #define HAVE_STRUCT_REG_R_GS 1
19703 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
19704 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
19705 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
19706 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
19707 echo $ECHO_N "(cached) $ECHO_C" >&6
19709 cat >conftest.
$ac_ext <<_ACEOF
19712 cat confdefs.h
>>conftest.
$ac_ext
19713 cat >>conftest.
$ac_ext <<_ACEOF
19714 /* end confdefs.h. */
19715 #include <sys/ptrace.h>
19724 rm -f conftest.
$ac_objext
19725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19726 (eval $ac_compile) 2>conftest.er1
19728 grep -v '^ *+' conftest.er1
>conftest.err
19730 cat conftest.err
>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } &&
19733 { ac_try
='test -z "$ac_c_werror_flag"
19734 || test ! -s conftest.err'
19735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736 (eval $ac_try) 2>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; } &&
19740 { ac_try
='test -s conftest.$ac_objext'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; }; then
19746 gdb_cv_have_ptrace_getregs
=yes
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.
$ac_ext >&5
19751 gdb_cv_have_ptrace_getregs
=no
19753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19756 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
19757 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
19758 if test $gdb_cv_have_ptrace_getregs = yes; then
19760 cat >>confdefs.h
<<\_ACEOF
19761 #define HAVE_PTRACE_GETREGS 1
19766 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
19767 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
19768 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
19769 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
19770 echo $ECHO_N "(cached) $ECHO_C" >&6
19772 cat >conftest.
$ac_ext <<_ACEOF
19775 cat confdefs.h
>>conftest.
$ac_ext
19776 cat >>conftest.
$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 #include <sys/ptrace.h>
19787 rm -f conftest.
$ac_objext
19788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19789 (eval $ac_compile) 2>conftest.er1
19791 grep -v '^ *+' conftest.er1
>conftest.err
19793 cat conftest.err
>&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); } &&
19796 { ac_try
='test -z "$ac_c_werror_flag"
19797 || test ! -s conftest.err'
19798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19799 (eval $ac_try) 2>&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); }; } &&
19803 { ac_try
='test -s conftest.$ac_objext'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; }; then
19809 gdb_cv_have_ptrace_getfpxregs
=yes
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.
$ac_ext >&5
19814 gdb_cv_have_ptrace_getfpxregs
=no
19816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19819 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
19820 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
19821 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
19823 cat >>confdefs.h
<<\_ACEOF
19824 #define HAVE_PTRACE_GETFPXREGS 1
19829 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
19830 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
19831 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
19832 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
19833 echo $ECHO_N "(cached) $ECHO_C" >&6
19835 cat >conftest.
$ac_ext <<_ACEOF
19838 cat confdefs.h
>>conftest.
$ac_ext
19839 cat >>conftest.
$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19841 #include <sys/types.h>
19842 #include <sys/ptrace.h>
19851 rm -f conftest.
$ac_objext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19853 (eval $ac_compile) 2>conftest.er1
19855 grep -v '^ *+' conftest.er1
>conftest.err
19857 cat conftest.err
>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try
='test -z "$ac_c_werror_flag"
19861 || test ! -s conftest.err'
19862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863 (eval $ac_try) 2>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; } &&
19867 { ac_try
='test -s conftest.$ac_objext'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; }; then
19873 gdb_cv_have_pt_getdbregs
=yes
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.
$ac_ext >&5
19878 gdb_cv_have_pt_getdbregs
=no
19880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19883 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
19884 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
19885 if test $gdb_cv_have_pt_getdbregs = yes; then
19887 cat >>confdefs.h
<<\_ACEOF
19888 #define HAVE_PT_GETDBREGS 1
19893 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
19894 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
19895 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
19896 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
19897 echo $ECHO_N "(cached) $ECHO_C" >&6
19899 cat >conftest.
$ac_ext <<_ACEOF
19902 cat confdefs.h
>>conftest.
$ac_ext
19903 cat >>conftest.
$ac_ext <<_ACEOF
19904 /* end confdefs.h. */
19905 #include <sys/types.h>
19906 #include <sys/ptrace.h>
19915 rm -f conftest.
$ac_objext
19916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19917 (eval $ac_compile) 2>conftest.er1
19919 grep -v '^ *+' conftest.er1
>conftest.err
19921 cat conftest.err
>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); } &&
19924 { ac_try
='test -z "$ac_c_werror_flag"
19925 || test ! -s conftest.err'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; } &&
19931 { ac_try
='test -s conftest.$ac_objext'
19932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19933 (eval $ac_try) 2>&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); }; }; then
19937 gdb_cv_have_pt_getxmmregs
=yes
19939 echo "$as_me: failed program was:" >&5
19940 sed 's/^/| /' conftest.
$ac_ext >&5
19942 gdb_cv_have_pt_getxmmregs
=no
19944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19947 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
19948 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
19949 if test $gdb_cv_have_pt_getxmmregs = yes; then
19951 cat >>confdefs.h
<<\_ACEOF
19952 #define HAVE_PT_GETXMMREGS 1
19957 # Detect which type of /proc is in use, such as for Unixware or Solaris.
19959 if test "${target}" = "${host}"; then
19961 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
19963 cat >>confdefs.h
<<\_ACEOF
19964 #define NEW_PROC_API 1
19968 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9])
19970 cat >>confdefs.h
<<\_ACEOF
19971 #define NEW_PROC_API 1
19976 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
19978 cat >>confdefs.h
<<\_ACEOF
19979 #define _KMEMUSER 1
19986 if test "$ac_cv_header_sys_procfs_h" = yes; then
19987 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
19988 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
19989 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
19990 echo $ECHO_N "(cached) $ECHO_C" >&6
19992 cat >conftest.
$ac_ext <<_ACEOF
19995 cat confdefs.h
>>conftest.
$ac_ext
19996 cat >>conftest.
$ac_ext <<_ACEOF
19997 /* end confdefs.h. */
20000 #include <sys/procfs.h>
20009 rm -f conftest.
$ac_objext
20010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20011 (eval $ac_compile) 2>conftest.er1
20013 grep -v '^ *+' conftest.er1
>conftest.err
20015 cat conftest.err
>&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } &&
20018 { ac_try
='test -z "$ac_c_werror_flag"
20019 || test ! -s conftest.err'
20020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021 (eval $ac_try) 2>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); }; } &&
20025 { ac_try
='test -s conftest.$ac_objext'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; }; then
20031 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.
$ac_ext >&5
20036 bfd_cv_have_sys_procfs_type_pstatus_t
=no
20039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20042 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
20044 cat >>confdefs.h
<<\_ACEOF
20045 #define HAVE_PSTATUS_T 1
20049 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
20050 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
20052 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
20053 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
20054 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 cat >conftest.
$ac_ext <<_ACEOF
20060 cat confdefs.h
>>conftest.
$ac_ext
20061 cat >>conftest.
$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20065 #include <sys/procfs.h>
20074 rm -f conftest.
$ac_objext
20075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20076 (eval $ac_compile) 2>conftest.er1
20078 grep -v '^ *+' conftest.er1
>conftest.err
20080 cat conftest.err
>&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } &&
20083 { ac_try
='test -z "$ac_c_werror_flag"
20084 || test ! -s conftest.err'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; } &&
20090 { ac_try
='test -s conftest.$ac_objext'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; }; then
20096 bfd_cv_have_sys_procfs_type_prrun_t
=yes
20098 echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.
$ac_ext >&5
20101 bfd_cv_have_sys_procfs_type_prrun_t
=no
20104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20107 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
20109 cat >>confdefs.h
<<\_ACEOF
20110 #define HAVE_PRRUN_T 1
20114 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
20115 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
20117 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
20118 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
20119 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
20120 echo $ECHO_N "(cached) $ECHO_C" >&6
20122 cat >conftest.
$ac_ext <<_ACEOF
20125 cat confdefs.h
>>conftest.
$ac_ext
20126 cat >>conftest.
$ac_ext <<_ACEOF
20127 /* end confdefs.h. */
20130 #include <sys/procfs.h>
20139 rm -f conftest.
$ac_objext
20140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20141 (eval $ac_compile) 2>conftest.er1
20143 grep -v '^ *+' conftest.er1
>conftest.err
20145 cat conftest.err
>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); } &&
20148 { ac_try
='test -z "$ac_c_werror_flag"
20149 || test ! -s conftest.err'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; } &&
20155 { ac_try
='test -s conftest.$ac_objext'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; }; then
20161 bfd_cv_have_sys_procfs_type_gregset_t
=yes
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.
$ac_ext >&5
20166 bfd_cv_have_sys_procfs_type_gregset_t
=no
20169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20172 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
20174 cat >>confdefs.h
<<\_ACEOF
20175 #define HAVE_GREGSET_T 1
20179 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
20180 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
20182 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
20183 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
20184 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
20185 echo $ECHO_N "(cached) $ECHO_C" >&6
20187 cat >conftest.
$ac_ext <<_ACEOF
20190 cat confdefs.h
>>conftest.
$ac_ext
20191 cat >>conftest.
$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20195 #include <sys/procfs.h>
20204 rm -f conftest.
$ac_objext
20205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20206 (eval $ac_compile) 2>conftest.er1
20208 grep -v '^ *+' conftest.er1
>conftest.err
20210 cat conftest.err
>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); } &&
20213 { ac_try
='test -z "$ac_c_werror_flag"
20214 || test ! -s conftest.err'
20215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20216 (eval $ac_try) 2>&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); }; } &&
20220 { ac_try
='test -s conftest.$ac_objext'
20221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20222 (eval $ac_try) 2>&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); }; }; then
20226 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
20228 echo "$as_me: failed program was:" >&5
20229 sed 's/^/| /' conftest.
$ac_ext >&5
20231 bfd_cv_have_sys_procfs_type_fpregset_t
=no
20234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20237 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
20239 cat >>confdefs.h
<<\_ACEOF
20240 #define HAVE_FPREGSET_T 1
20244 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
20245 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
20247 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
20248 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
20249 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
20250 echo $ECHO_N "(cached) $ECHO_C" >&6
20252 cat >conftest.
$ac_ext <<_ACEOF
20255 cat confdefs.h
>>conftest.
$ac_ext
20256 cat >>conftest.
$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20260 #include <sys/procfs.h>
20269 rm -f conftest.
$ac_objext
20270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20271 (eval $ac_compile) 2>conftest.er1
20273 grep -v '^ *+' conftest.er1
>conftest.err
20275 cat conftest.err
>&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); } &&
20278 { ac_try
='test -z "$ac_c_werror_flag"
20279 || test ! -s conftest.err'
20280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20281 (eval $ac_try) 2>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); }; } &&
20285 { ac_try
='test -s conftest.$ac_objext'
20286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20287 (eval $ac_try) 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); }; }; then
20291 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
20293 echo "$as_me: failed program was:" >&5
20294 sed 's/^/| /' conftest.
$ac_ext >&5
20296 bfd_cv_have_sys_procfs_type_prgregset_t
=no
20299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20302 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
20304 cat >>confdefs.h
<<\_ACEOF
20305 #define HAVE_PRGREGSET_T 1
20309 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
20310 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
20312 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
20313 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
20314 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
20315 echo $ECHO_N "(cached) $ECHO_C" >&6
20317 cat >conftest.
$ac_ext <<_ACEOF
20320 cat confdefs.h
>>conftest.
$ac_ext
20321 cat >>conftest.
$ac_ext <<_ACEOF
20322 /* end confdefs.h. */
20325 #include <sys/procfs.h>
20334 rm -f conftest.
$ac_objext
20335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20336 (eval $ac_compile) 2>conftest.er1
20338 grep -v '^ *+' conftest.er1
>conftest.err
20340 cat conftest.err
>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } &&
20343 { ac_try
='test -z "$ac_c_werror_flag"
20344 || test ! -s conftest.err'
20345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346 (eval $ac_try) 2>&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; } &&
20350 { ac_try
='test -s conftest.$ac_objext'
20351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20352 (eval $ac_try) 2>&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); }; }; then
20356 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
20358 echo "$as_me: failed program was:" >&5
20359 sed 's/^/| /' conftest.
$ac_ext >&5
20361 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
20364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20367 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
20369 cat >>confdefs.h
<<\_ACEOF
20370 #define HAVE_PRFPREGSET_T 1
20374 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
20375 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
20377 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
20378 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
20379 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
20380 echo $ECHO_N "(cached) $ECHO_C" >&6
20382 cat >conftest.
$ac_ext <<_ACEOF
20385 cat confdefs.h
>>conftest.
$ac_ext
20386 cat >>conftest.
$ac_ext <<_ACEOF
20387 /* end confdefs.h. */
20390 #include <sys/procfs.h>
20399 rm -f conftest.
$ac_objext
20400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20401 (eval $ac_compile) 2>conftest.er1
20403 grep -v '^ *+' conftest.er1
>conftest.err
20405 cat conftest.err
>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); } &&
20408 { ac_try
='test -z "$ac_c_werror_flag"
20409 || test ! -s conftest.err'
20410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411 (eval $ac_try) 2>&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); }; } &&
20415 { ac_try
='test -s conftest.$ac_objext'
20416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20417 (eval $ac_try) 2>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); }; }; then
20421 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
20423 echo "$as_me: failed program was:" >&5
20424 sed 's/^/| /' conftest.
$ac_ext >&5
20426 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
20429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20432 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
20434 cat >>confdefs.h
<<\_ACEOF
20435 #define HAVE_PRGREGSET32_T 1
20439 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
20440 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
20442 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
20443 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
20444 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 cat >conftest.
$ac_ext <<_ACEOF
20450 cat confdefs.h
>>conftest.
$ac_ext
20451 cat >>conftest.
$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20455 #include <sys/procfs.h>
20459 prfpregset32_t avar
20464 rm -f conftest.
$ac_objext
20465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20466 (eval $ac_compile) 2>conftest.er1
20468 grep -v '^ *+' conftest.er1
>conftest.err
20470 cat conftest.err
>&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } &&
20473 { ac_try
='test -z "$ac_c_werror_flag"
20474 || test ! -s conftest.err'
20475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20476 (eval $ac_try) 2>&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); }; } &&
20480 { ac_try
='test -s conftest.$ac_objext'
20481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20482 (eval $ac_try) 2>&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); }; }; then
20486 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
20488 echo "$as_me: failed program was:" >&5
20489 sed 's/^/| /' conftest.
$ac_ext >&5
20491 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
20494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20497 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
20499 cat >>confdefs.h
<<\_ACEOF
20500 #define HAVE_PRFPREGSET32_T 1
20504 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
20505 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
20507 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
20508 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
20509 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
20510 echo $ECHO_N "(cached) $ECHO_C" >&6
20512 cat >conftest.
$ac_ext <<_ACEOF
20515 cat confdefs.h
>>conftest.
$ac_ext
20516 cat >>conftest.
$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20520 #include <sys/procfs.h>
20529 rm -f conftest.
$ac_objext
20530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20531 (eval $ac_compile) 2>conftest.er1
20533 grep -v '^ *+' conftest.er1
>conftest.err
20535 cat conftest.err
>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); } &&
20538 { ac_try
='test -z "$ac_c_werror_flag"
20539 || test ! -s conftest.err'
20540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20541 (eval $ac_try) 2>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); }; } &&
20545 { ac_try
='test -s conftest.$ac_objext'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; }; then
20551 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
20553 echo "$as_me: failed program was:" >&5
20554 sed 's/^/| /' conftest.
$ac_ext >&5
20556 bfd_cv_have_sys_procfs_type_lwpid_t
=no
20559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20562 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
20564 cat >>confdefs.h
<<\_ACEOF
20565 #define HAVE_LWPID_T 1
20569 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
20570 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
20572 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
20573 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
20574 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
20575 echo $ECHO_N "(cached) $ECHO_C" >&6
20577 cat >conftest.
$ac_ext <<_ACEOF
20580 cat confdefs.h
>>conftest.
$ac_ext
20581 cat >>conftest.
$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20585 #include <sys/procfs.h>
20594 rm -f conftest.
$ac_objext
20595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20596 (eval $ac_compile) 2>conftest.er1
20598 grep -v '^ *+' conftest.er1
>conftest.err
20600 cat conftest.err
>&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } &&
20603 { ac_try
='test -z "$ac_c_werror_flag"
20604 || test ! -s conftest.err'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; } &&
20610 { ac_try
='test -s conftest.$ac_objext'
20611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20612 (eval $ac_try) 2>&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); }; }; then
20616 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.
$ac_ext >&5
20621 bfd_cv_have_sys_procfs_type_psaddr_t
=no
20624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20627 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
20629 cat >>confdefs.h
<<\_ACEOF
20630 #define HAVE_PSADDR_T 1
20634 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
20635 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
20637 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
20638 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
20639 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
20640 echo $ECHO_N "(cached) $ECHO_C" >&6
20642 cat >conftest.
$ac_ext <<_ACEOF
20645 cat confdefs.h
>>conftest.
$ac_ext
20646 cat >>conftest.
$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20650 #include <sys/procfs.h>
20659 rm -f conftest.
$ac_objext
20660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20661 (eval $ac_compile) 2>conftest.er1
20663 grep -v '^ *+' conftest.er1
>conftest.err
20665 cat conftest.err
>&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); } &&
20668 { ac_try
='test -z "$ac_c_werror_flag"
20669 || test ! -s conftest.err'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; } &&
20675 { ac_try
='test -s conftest.$ac_objext'
20676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20677 (eval $ac_try) 2>&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); }; }; then
20681 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
20683 echo "$as_me: failed program was:" >&5
20684 sed 's/^/| /' conftest.
$ac_ext >&5
20686 bfd_cv_have_sys_procfs_type_prsysent_t
=no
20689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20692 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
20694 cat >>confdefs.h
<<\_ACEOF
20695 #define HAVE_PRSYSENT_T 1
20699 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
20700 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
20702 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
20703 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
20704 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
20705 echo $ECHO_N "(cached) $ECHO_C" >&6
20707 cat >conftest.
$ac_ext <<_ACEOF
20710 cat confdefs.h
>>conftest.
$ac_ext
20711 cat >>conftest.
$ac_ext <<_ACEOF
20712 /* end confdefs.h. */
20715 #include <sys/procfs.h>
20724 rm -f conftest.
$ac_objext
20725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20726 (eval $ac_compile) 2>conftest.er1
20728 grep -v '^ *+' conftest.er1
>conftest.err
20730 cat conftest.err
>&5
20731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20732 (exit $ac_status); } &&
20733 { ac_try
='test -z "$ac_c_werror_flag"
20734 || test ! -s conftest.err'
20735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20736 (eval $ac_try) 2>&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); }; } &&
20740 { ac_try
='test -s conftest.$ac_objext'
20741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20742 (eval $ac_try) 2>&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); }; }; then
20746 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.
$ac_ext >&5
20751 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
20754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20757 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
20759 cat >>confdefs.h
<<\_ACEOF
20760 #define HAVE_PR_SIGSET_T 1
20764 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
20765 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
20767 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
20768 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
20769 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
20770 echo $ECHO_N "(cached) $ECHO_C" >&6
20772 cat >conftest.
$ac_ext <<_ACEOF
20775 cat confdefs.h
>>conftest.
$ac_ext
20776 cat >>conftest.
$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20780 #include <sys/procfs.h>
20784 pr_sigaction64_t avar
20789 rm -f conftest.
$ac_objext
20790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20791 (eval $ac_compile) 2>conftest.er1
20793 grep -v '^ *+' conftest.er1
>conftest.err
20795 cat conftest.err
>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } &&
20798 { ac_try
='test -z "$ac_c_werror_flag"
20799 || test ! -s conftest.err'
20800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20801 (eval $ac_try) 2>&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); }; } &&
20805 { ac_try
='test -s conftest.$ac_objext'
20806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20807 (eval $ac_try) 2>&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); }; }; then
20811 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
20813 echo "$as_me: failed program was:" >&5
20814 sed 's/^/| /' conftest.
$ac_ext >&5
20816 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
20819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20822 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
20824 cat >>confdefs.h
<<\_ACEOF
20825 #define HAVE_PR_SIGACTION64_T 1
20829 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
20830 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
20832 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
20833 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
20834 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
20835 echo $ECHO_N "(cached) $ECHO_C" >&6
20837 cat >conftest.
$ac_ext <<_ACEOF
20840 cat confdefs.h
>>conftest.
$ac_ext
20841 cat >>conftest.
$ac_ext <<_ACEOF
20842 /* end confdefs.h. */
20845 #include <sys/procfs.h>
20849 pr_siginfo64_t avar
20854 rm -f conftest.
$ac_objext
20855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20856 (eval $ac_compile) 2>conftest.er1
20858 grep -v '^ *+' conftest.er1
>conftest.err
20860 cat conftest.err
>&5
20861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20862 (exit $ac_status); } &&
20863 { ac_try
='test -z "$ac_c_werror_flag"
20864 || test ! -s conftest.err'
20865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866 (eval $ac_try) 2>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; } &&
20870 { ac_try
='test -s conftest.$ac_objext'
20871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20872 (eval $ac_try) 2>&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); }; }; then
20876 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
20878 echo "$as_me: failed program was:" >&5
20879 sed 's/^/| /' conftest.
$ac_ext >&5
20881 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
20884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20887 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
20889 cat >>confdefs.h
<<\_ACEOF
20890 #define HAVE_PR_SIGINFO64_T 1
20894 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
20895 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
20901 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
20902 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
20903 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
20904 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
20905 echo $ECHO_N "(cached) $ECHO_C" >&6
20907 if test "$cross_compiling" = yes; then
20908 gdb_cv_prfpregset_t_broken
=yes
20910 cat >conftest.
$ac_ext <<_ACEOF
20913 cat confdefs.h
>>conftest.
$ac_ext
20914 cat >>conftest.
$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20916 #include <sys/procfs.h>
20919 if (sizeof (prfpregset_t) == sizeof (void *))
20924 rm -f conftest
$ac_exeext
20925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20926 (eval $ac_link) 2>&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931 (eval $ac_try) 2>&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); }; }; then
20935 gdb_cv_prfpregset_t_broken
=no
20937 echo "$as_me: program exited with status $ac_status" >&5
20938 echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.
$ac_ext >&5
20941 ( exit $ac_status )
20942 gdb_cv_prfpregset_t_broken
=yes
20944 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20948 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
20949 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
20950 if test $gdb_cv_prfpregset_t_broken = yes; then
20952 cat >>confdefs.h
<<\_ACEOF
20953 #define PRFPREGSET_T_BROKEN 1
20960 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
20961 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
20962 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
20963 echo $ECHO_N "(cached) $ECHO_C" >&6
20965 cat >conftest.
$ac_ext <<_ACEOF
20968 cat confdefs.h
>>conftest.
$ac_ext
20969 cat >>conftest.
$ac_ext <<_ACEOF
20970 /* end confdefs.h. */
20971 #include <unistd.h>
20972 #include <sys/types.h>
20973 #include <sys/procfs.h>
20980 dummy = ioctl(0, PIOCSET, &dummy);
20986 rm -f conftest.
$ac_objext
20987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20988 (eval $ac_compile) 2>conftest.er1
20990 grep -v '^ *+' conftest.er1
>conftest.err
20992 cat conftest.err
>&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } &&
20995 { ac_try
='test -z "$ac_c_werror_flag"
20996 || test ! -s conftest.err'
20997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20998 (eval $ac_try) 2>&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); }; } &&
21002 { ac_try
='test -s conftest.$ac_objext'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; }; then
21008 gdb_cv_have_procfs_piocset
=yes
21010 echo "$as_me: failed program was:" >&5
21011 sed 's/^/| /' conftest.
$ac_ext >&5
21013 gdb_cv_have_procfs_piocset
=no
21015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21018 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
21019 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
21020 if test $gdb_cv_have_procfs_piocset = yes; then
21022 cat >>confdefs.h
<<\_ACEOF
21023 #define HAVE_PROCFS_PIOCSET 1
21029 if test ${host} = ${target} ; then
21031 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
21032 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
21033 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
21034 echo $ECHO_N "(cached) $ECHO_C" >&6
21036 cat >conftest.
$ac_ext <<_ACEOF
21039 cat confdefs.h
>>conftest.
$ac_ext
21040 cat >>conftest.
$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21046 struct link_map lm; (void) lm.l_addr;
21051 rm -f conftest.
$ac_objext
21052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21053 (eval $ac_compile) 2>conftest.er1
21055 grep -v '^ *+' conftest.er1
>conftest.err
21057 cat conftest.err
>&5
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); } &&
21060 { ac_try
='test -z "$ac_c_werror_flag"
21061 || test ! -s conftest.err'
21062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21063 (eval $ac_try) 2>&5
21065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066 (exit $ac_status); }; } &&
21067 { ac_try
='test -s conftest.$ac_objext'
21068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21069 (eval $ac_try) 2>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); }; }; then
21073 gdb_cv_have_struct_link_map_with_l_members
=yes
21075 echo "$as_me: failed program was:" >&5
21076 sed 's/^/| /' conftest.
$ac_ext >&5
21078 gdb_cv_have_struct_link_map_with_l_members
=no
21080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21083 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
21084 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
21085 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
21087 cat >>confdefs.h
<<\_ACEOF
21088 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
21094 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
21095 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
21096 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
21097 echo $ECHO_N "(cached) $ECHO_C" >&6
21099 cat >conftest.
$ac_ext <<_ACEOF
21102 cat confdefs.h
>>conftest.
$ac_ext
21103 cat >>conftest.
$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 #include <sys/types.h>
21110 struct link_map lm; (void) lm.lm_addr;
21115 rm -f conftest.
$ac_objext
21116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21117 (eval $ac_compile) 2>conftest.er1
21119 grep -v '^ *+' conftest.er1
>conftest.err
21121 cat conftest.err
>&5
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); } &&
21124 { ac_try
='test -z "$ac_c_werror_flag"
21125 || test ! -s conftest.err'
21126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21127 (eval $ac_try) 2>&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); }; } &&
21131 { ac_try
='test -s conftest.$ac_objext'
21132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133 (eval $ac_try) 2>&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); }; }; then
21137 gdb_cv_have_struct_link_map_with_lm_members
=yes
21139 echo "$as_me: failed program was:" >&5
21140 sed 's/^/| /' conftest.
$ac_ext >&5
21142 gdb_cv_have_struct_link_map_with_lm_members
=no
21144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21147 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
21148 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
21149 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
21151 cat >>confdefs.h
<<\_ACEOF
21152 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
21158 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
21159 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
21160 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
21161 echo $ECHO_N "(cached) $ECHO_C" >&6
21163 cat >conftest.
$ac_ext <<_ACEOF
21166 cat confdefs.h
>>conftest.
$ac_ext
21167 cat >>conftest.
$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 #include <sys/types.h>
21170 #ifdef HAVE_NLIST_H
21177 struct so_map lm; (void) lm.som_addr;
21182 rm -f conftest.
$ac_objext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21184 (eval $ac_compile) 2>conftest.er1
21186 grep -v '^ *+' conftest.er1
>conftest.err
21188 cat conftest.err
>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try
='test -z "$ac_c_werror_flag"
21192 || test ! -s conftest.err'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; } &&
21198 { ac_try
='test -s conftest.$ac_objext'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; }; then
21204 gdb_cv_have_struct_so_map_with_som_members
=yes
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.
$ac_ext >&5
21209 gdb_cv_have_struct_so_map_with_som_members
=no
21211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21214 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
21215 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
21216 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
21218 cat >>confdefs.h
<<\_ACEOF
21219 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
21225 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
21226 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
21227 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
21228 echo $ECHO_N "(cached) $ECHO_C" >&6
21230 cat >conftest.
$ac_ext <<_ACEOF
21233 cat confdefs.h
>>conftest.
$ac_ext
21234 cat >>conftest.
$ac_ext <<_ACEOF
21235 /* end confdefs.h. */
21237 #include <sys/link.h>
21241 struct link_map32 l;
21246 rm -f conftest.
$ac_objext
21247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21248 (eval $ac_compile) 2>conftest.er1
21250 grep -v '^ *+' conftest.er1
>conftest.err
21252 cat conftest.err
>&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); } &&
21255 { ac_try
='test -z "$ac_c_werror_flag"
21256 || test ! -s conftest.err'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; } &&
21262 { ac_try
='test -s conftest.$ac_objext'
21263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21264 (eval $ac_try) 2>&5
21266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267 (exit $ac_status); }; }; then
21268 gdb_cv_have_struct_link_map32
=yes
21270 echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.
$ac_ext >&5
21273 gdb_cv_have_struct_link_map32
=no
21275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21278 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
21279 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
21280 if test $gdb_cv_have_struct_link_map32 = yes; then
21282 cat >>confdefs.h
<<\_ACEOF
21283 #define HAVE_STRUCT_LINK_MAP32 1
21287 cat >>confdefs.h
<<\_ACEOF
21288 #define _SYSCALL32 1
21294 # Check if the compiler supports the `long long' type.
21296 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
21297 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
21298 if test "${gdb_cv_c_long_long+set}" = set; then
21299 echo $ECHO_N "(cached) $ECHO_C" >&6
21301 cat >conftest.
$ac_ext <<_ACEOF
21304 cat confdefs.h
>>conftest.
$ac_ext
21305 cat >>conftest.
$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 extern long long foo;
21311 switch (foo & 2) { case 0: return 1; }
21316 rm -f conftest.
$ac_objext
21317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21318 (eval $ac_compile) 2>conftest.er1
21320 grep -v '^ *+' conftest.er1
>conftest.err
21322 cat conftest.err
>&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); } &&
21325 { ac_try
='test -z "$ac_c_werror_flag"
21326 || test ! -s conftest.err'
21327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21328 (eval $ac_try) 2>&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; } &&
21332 { ac_try
='test -s conftest.$ac_objext'
21333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21334 (eval $ac_try) 2>&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); }; }; then
21338 gdb_cv_c_long_long
=yes
21340 echo "$as_me: failed program was:" >&5
21341 sed 's/^/| /' conftest.
$ac_ext >&5
21343 gdb_cv_c_long_long
=no
21345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21347 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
21348 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
21349 if test $gdb_cv_c_long_long = yes; then
21351 cat >>confdefs.h
<<\_ACEOF
21352 #define CC_HAS_LONG_LONG 1
21357 # Check if the compiler and runtime support printing long longs.
21359 echo "$as_me:$LINENO: checking for long long support in printf" >&5
21360 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
21361 if test "${gdb_cv_printf_has_long_long+set}" = set; then
21362 echo $ECHO_N "(cached) $ECHO_C" >&6
21364 if test "$cross_compiling" = yes; then
21365 gdb_cv_printf_has_long_long
=no
21367 cat >conftest.
$ac_ext <<_ACEOF
21370 cat confdefs.h
>>conftest.
$ac_ext
21371 cat >>conftest.
$ac_ext <<_ACEOF
21372 /* end confdefs.h. */
21373 $ac_includes_default
21379 l = (l << 16) + 0x0123;
21380 l = (l << 16) + 0x4567;
21381 l = (l << 16) + 0x89ab;
21382 l = (l << 16) + 0xcdef;
21383 sprintf (buf, "0x%016llx", l);
21384 return (strcmp ("0x0123456789abcdef", buf));
21389 rm -f conftest
$ac_exeext
21390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21391 (eval $ac_link) 2>&5
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396 (eval $ac_try) 2>&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); }; }; then
21400 gdb_cv_printf_has_long_long
=yes
21402 echo "$as_me: program exited with status $ac_status" >&5
21403 echo "$as_me: failed program was:" >&5
21404 sed 's/^/| /' conftest.
$ac_ext >&5
21406 ( exit $ac_status )
21407 gdb_cv_printf_has_long_long
=no
21409 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21412 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
21413 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
21414 if test $gdb_cv_printf_has_long_long = yes; then
21416 cat >>confdefs.h
<<\_ACEOF
21417 #define PRINTF_HAS_LONG_LONG 1
21422 # Check if the compiler and runtime support printing decfloats.
21424 echo "$as_me:$LINENO: checking for decfloat support in printf" >&5
21425 echo $ECHO_N "checking for decfloat support in printf... $ECHO_C" >&6
21426 if test "${gdb_cv_printf_has_decfloat+set}" = set; then
21427 echo $ECHO_N "(cached) $ECHO_C" >&6
21429 if test "$cross_compiling" = yes; then
21430 gdb_cv_printf_has_decfloat
=no
21432 cat >conftest.
$ac_ext <<_ACEOF
21435 cat confdefs.h
>>conftest.
$ac_ext
21436 cat >>conftest.
$ac_ext <<_ACEOF
21437 /* end confdefs.h. */
21438 $ac_includes_default
21443 _Decimal32 d32 = 1.2345df;
21444 _Decimal64 d64 = 1.2345dd;
21445 _Decimal128 d128 = 1.2345dl;
21446 sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
21447 return (strcmp ("Decimal32: 1.2345\nDecimal64: 1.2345\nDecimal128: 1.2345", buf));
21452 rm -f conftest
$ac_exeext
21453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21454 (eval $ac_link) 2>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21459 (eval $ac_try) 2>&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); }; }; then
21463 gdb_cv_printf_has_decfloat
=yes
21465 echo "$as_me: program exited with status $ac_status" >&5
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.
$ac_ext >&5
21469 ( exit $ac_status )
21470 gdb_cv_printf_has_decfloat
=no
21472 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21475 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_decfloat" >&5
21476 echo "${ECHO_T}$gdb_cv_printf_has_decfloat" >&6
21477 if test $gdb_cv_printf_has_decfloat = yes; then
21479 cat >>confdefs.h
<<\_ACEOF
21480 #define PRINTF_HAS_DECFLOAT 1
21485 # Check if the compiler supports the `long double' type. We can't use
21486 # AC_C_LONG_DOUBLE because that one does additional checks on the
21487 # constants defined in <float.h> that fail on some systems,
21488 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
21490 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
21491 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
21492 if test "${gdb_cv_c_long_double+set}" = set; then
21493 echo $ECHO_N "(cached) $ECHO_C" >&6
21495 cat >conftest.
$ac_ext <<_ACEOF
21498 cat confdefs.h
>>conftest.
$ac_ext
21499 cat >>conftest.
$ac_ext <<_ACEOF
21500 /* end confdefs.h. */
21503 rm -f conftest.
$ac_objext
21504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21505 (eval $ac_compile) 2>conftest.er1
21507 grep -v '^ *+' conftest.er1
>conftest.err
21509 cat conftest.err
>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } &&
21512 { ac_try
='test -z "$ac_c_werror_flag"
21513 || test ! -s conftest.err'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; } &&
21519 { ac_try
='test -s conftest.$ac_objext'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; }; then
21525 gdb_cv_c_long_double
=yes
21527 echo "$as_me: failed program was:" >&5
21528 sed 's/^/| /' conftest.
$ac_ext >&5
21530 gdb_cv_c_long_double
=no
21532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21534 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
21535 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
21536 if test $gdb_cv_c_long_double = yes; then
21538 cat >>confdefs.h
<<\_ACEOF
21539 #define HAVE_LONG_DOUBLE 1
21544 # Check if the compiler and runtime support printing long doubles.
21546 echo "$as_me:$LINENO: checking for long double support in printf" >&5
21547 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
21548 if test "${gdb_cv_printf_has_long_double+set}" = set; then
21549 echo $ECHO_N "(cached) $ECHO_C" >&6
21551 if test "$cross_compiling" = yes; then
21552 gdb_cv_printf_has_long_double
=no
21554 cat >conftest.
$ac_ext <<_ACEOF
21557 cat confdefs.h
>>conftest.
$ac_ext
21558 cat >>conftest.
$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560 $ac_includes_default
21565 long double f = 3.141592653;
21566 sprintf (buf, "%Lg", f);
21567 return (strncmp ("3.14159", buf, 7));
21572 rm -f conftest
$ac_exeext
21573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21574 (eval $ac_link) 2>&5
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21579 (eval $ac_try) 2>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); }; }; then
21583 gdb_cv_printf_has_long_double
=yes
21585 echo "$as_me: program exited with status $ac_status" >&5
21586 echo "$as_me: failed program was:" >&5
21587 sed 's/^/| /' conftest.
$ac_ext >&5
21589 ( exit $ac_status )
21590 gdb_cv_printf_has_long_double
=no
21592 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21595 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
21596 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
21597 if test $gdb_cv_printf_has_long_double = yes; then
21599 cat >>confdefs.h
<<\_ACEOF
21600 #define PRINTF_HAS_LONG_DOUBLE 1
21605 # Check if the compiler and runtime support scanning long doubles.
21607 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
21608 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
21609 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
21610 echo $ECHO_N "(cached) $ECHO_C" >&6
21612 if test "$cross_compiling" = yes; then
21613 gdb_cv_scanf_has_long_double
=no
21615 cat >conftest.
$ac_ext <<_ACEOF
21618 cat confdefs.h
>>conftest.
$ac_ext
21619 cat >>conftest.
$ac_ext <<_ACEOF
21620 /* end confdefs.h. */
21625 char *buf = "3.141592653";
21627 sscanf (buf, "%Lg", &f);
21628 return !(f > 3.14159 && f < 3.14160);
21633 rm -f conftest
$ac_exeext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21635 (eval $ac_link) 2>&5
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; }; then
21644 gdb_cv_scanf_has_long_double
=yes
21646 echo "$as_me: program exited with status $ac_status" >&5
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.
$ac_ext >&5
21650 ( exit $ac_status )
21651 gdb_cv_scanf_has_long_double
=no
21653 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21656 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
21657 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
21658 if test $gdb_cv_scanf_has_long_double = yes; then
21660 cat >>confdefs.h
<<\_ACEOF
21661 #define SCANF_HAS_LONG_DOUBLE 1
21668 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
21669 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
21670 if test "${gdb_cv_bigtoc+set}" = set; then
21671 echo $ECHO_N "(cached) $ECHO_C" >&6
21674 SAVE_LDFLAGS
=$LDFLAGS
21677 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
21678 *) gdb_cv_bigtoc
=-bbigtoc ;;
21681 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
21682 cat >conftest.
$ac_ext <<_ACEOF
21685 cat confdefs.h
>>conftest.
$ac_ext
21686 cat >>conftest.
$ac_ext <<_ACEOF
21687 /* end confdefs.h. */
21697 rm -f conftest.
$ac_objext conftest
$ac_exeext
21698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21699 (eval $ac_link) 2>conftest.er1
21701 grep -v '^ *+' conftest.er1
>conftest.err
21703 cat conftest.err
>&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); } &&
21706 { ac_try
='test -z "$ac_c_werror_flag"
21707 || test ! -s conftest.err'
21708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709 (eval $ac_try) 2>&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; } &&
21713 { ac_try
='test -s conftest$ac_exeext'
21714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21715 (eval $ac_try) 2>&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; }; then
21721 echo "$as_me: failed program was:" >&5
21722 sed 's/^/| /' conftest.
$ac_ext >&5
21726 rm -f conftest.err conftest.
$ac_objext \
21727 conftest
$ac_exeext conftest.
$ac_ext
21728 LDFLAGS
="${SAVE_LDFLAGS}"
21731 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
21732 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
21733 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
21739 if test ${build} = ${host} -a ${host} = ${target} ; then
21742 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
21743 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
21744 if test -f /usr
/include
/dce
/cma_config.h
; then
21745 if test "$GCC" = "yes" ; then
21746 echo "$as_me:$LINENO: result: yes" >&5
21747 echo "${ECHO_T}yes" >&6
21749 cat >>confdefs.h
<<\_ACEOF
21750 #define HAVE_HPUX_THREAD_SUPPORT 1
21753 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
21754 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
21756 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
21757 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
21760 echo "$as_me:$LINENO: result: no" >&5
21761 echo "${ECHO_T}no" >&6
21765 # See if thread_db library is around for Solaris thread debugging.
21766 # Note that we must explicitly test for version 1 of the library
21767 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
21769 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
21770 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
21771 if test -f /usr
/lib
/libthread_db.so
.1 ; then
21772 echo "$as_me:$LINENO: result: yes" >&5
21773 echo "${ECHO_T}yes" >&6
21775 cat >>confdefs.h
<<\_ACEOF
21776 #define HAVE_THREAD_DB_LIB 1
21779 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
21780 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
21782 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21783 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
21784 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21787 ac_check_lib_save_LIBS
=$LIBS
21789 cat >conftest.
$ac_ext <<_ACEOF
21792 cat confdefs.h
>>conftest.
$ac_ext
21793 cat >>conftest.
$ac_ext <<_ACEOF
21794 /* end confdefs.h. */
21796 /* Override any gcc2 internal prototype to avoid an error. */
21800 /* We use char because int might match the return type of a gcc2
21801 builtin and then its argument prototype would still apply. */
21811 rm -f conftest.
$ac_objext conftest
$ac_exeext
21812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21813 (eval $ac_link) 2>conftest.er1
21815 grep -v '^ *+' conftest.er1
>conftest.err
21817 cat conftest.err
>&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } &&
21820 { ac_try
='test -z "$ac_c_werror_flag"
21821 || test ! -s conftest.err'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; } &&
21827 { ac_try
='test -s conftest$ac_exeext'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; }; then
21833 ac_cv_lib_dl_dlopen
=yes
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.
$ac_ext >&5
21838 ac_cv_lib_dl_dlopen
=no
21840 rm -f conftest.err conftest.
$ac_objext \
21841 conftest
$ac_exeext conftest.
$ac_ext
21842 LIBS
=$ac_check_lib_save_LIBS
21844 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21845 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
21846 if test $ac_cv_lib_dl_dlopen = yes; then
21847 cat >>confdefs.h
<<_ACEOF
21848 #define HAVE_LIBDL 1
21855 if test "$GCC" = "yes" ; then
21856 # The GNU linker requires the -export-dynamic option to make
21857 # all symbols visible in the dynamic symbol table.
21858 hold_ldflags
=$LDFLAGS
21859 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
21860 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
21861 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
21862 cat >conftest.
$ac_ext <<_ACEOF
21865 cat confdefs.h
>>conftest.
$ac_ext
21866 cat >>conftest.
$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21877 rm -f conftest.
$ac_objext conftest
$ac_exeext
21878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21879 (eval $ac_link) 2>conftest.er1
21881 grep -v '^ *+' conftest.er1
>conftest.err
21883 cat conftest.err
>&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); } &&
21886 { ac_try
='test -z "$ac_c_werror_flag"
21887 || test ! -s conftest.err'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; } &&
21893 { ac_try
='test -s conftest$ac_exeext'
21894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21895 (eval $ac_try) 2>&5
21897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21898 (exit $ac_status); }; }; then
21901 echo "$as_me: failed program was:" >&5
21902 sed 's/^/| /' conftest.
$ac_ext >&5
21906 rm -f conftest.err conftest.
$ac_objext \
21907 conftest
$ac_exeext conftest.
$ac_ext
21908 LDFLAGS
=$hold_ldflags
21909 echo "$as_me:$LINENO: result: $found" >&5
21910 echo "${ECHO_T}$found" >&6
21911 if test $found = yes; then
21912 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
21915 # Sun randomly tweaked the prototypes in <proc_service.h>
21917 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
21918 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
21919 if test "${gdb_cv_proc_service_is_old+set}" = set; then
21920 echo $ECHO_N "(cached) $ECHO_C" >&6
21923 cat >conftest.
$ac_ext <<_ACEOF
21926 cat confdefs.h
>>conftest.
$ac_ext
21927 cat >>conftest.
$ac_ext <<_ACEOF
21928 /* end confdefs.h. */
21930 #include <proc_service.h>
21931 ps_err_e ps_pdwrite
21932 (struct ps_prochandle*, psaddr_t, const void*, size_t);
21942 rm -f conftest.
$ac_objext
21943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21944 (eval $ac_compile) 2>conftest.er1
21946 grep -v '^ *+' conftest.er1
>conftest.err
21948 cat conftest.err
>&5
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); } &&
21951 { ac_try
='test -z "$ac_c_werror_flag"
21952 || test ! -s conftest.err'
21953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21954 (eval $ac_try) 2>&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); }; } &&
21958 { ac_try
='test -s conftest.$ac_objext'
21959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21960 (eval $ac_try) 2>&5
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); }; }; then
21964 gdb_cv_proc_service_is_old
=no
21966 echo "$as_me: failed program was:" >&5
21967 sed 's/^/| /' conftest.
$ac_ext >&5
21969 gdb_cv_proc_service_is_old
=yes
21971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21975 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
21976 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
21977 if test $gdb_cv_proc_service_is_old = yes; then
21979 cat >>confdefs.h
<<\_ACEOF
21980 #define PROC_SERVICE_IS_OLD 1
21985 echo "$as_me:$LINENO: result: no" >&5
21986 echo "${ECHO_T}no" >&6
21990 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
21991 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
21992 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
21993 echo $ECHO_N "(cached) $ECHO_C" >&6
21995 cat >conftest.
$ac_ext <<_ACEOF
21998 cat confdefs.h
>>conftest.
$ac_ext
21999 cat >>conftest.
$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 #include <sys/pthdebug.h>
22005 #ifndef PTHDB_VERSION_3
22012 rm -f conftest.
$ac_objext
22013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22014 (eval $ac_compile) 2>conftest.er1
22016 grep -v '^ *+' conftest.er1
>conftest.err
22018 cat conftest.err
>&5
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); } &&
22021 { ac_try
='test -z "$ac_c_werror_flag"
22022 || test ! -s conftest.err'
22023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22024 (eval $ac_try) 2>&5
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); }; } &&
22028 { ac_try
='test -s conftest.$ac_objext'
22029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22030 (eval $ac_try) 2>&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); }; }; then
22034 gdb_cv_have_aix_thread_debug
=yes
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.
$ac_ext >&5
22039 gdb_cv_have_aix_thread_debug
=no
22041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22044 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
22045 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
22046 if test $gdb_cv_have_aix_thread_debug = yes; then
22047 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
22048 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
22049 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
22056 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
22057 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
22058 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
22059 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
22060 echo $ECHO_N "(cached) $ECHO_C" >&6
22062 cat >conftest.
$ac_ext <<_ACEOF
22065 cat confdefs.h
>>conftest.
$ac_ext
22066 cat >>conftest.
$ac_ext <<_ACEOF
22067 /* end confdefs.h. */
22068 #include <thread_db.h>
22072 int i = TD_NOTALLOC;
22077 rm -f conftest.
$ac_objext
22078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22079 (eval $ac_compile) 2>conftest.er1
22081 grep -v '^ *+' conftest.er1
>conftest.err
22083 cat conftest.err
>&5
22084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22085 (exit $ac_status); } &&
22086 { ac_try
='test -z "$ac_c_werror_flag"
22087 || test ! -s conftest.err'
22088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22089 (eval $ac_try) 2>&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); }; } &&
22093 { ac_try
='test -s conftest.$ac_objext'
22094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22095 (eval $ac_try) 2>&5
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); }; }; then
22099 gdb_cv_thread_db_h_has_td_notalloc
=yes
22101 echo "$as_me: failed program was:" >&5
22102 sed 's/^/| /' conftest.
$ac_ext >&5
22104 gdb_cv_thread_db_h_has_td_notalloc
=no
22107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22110 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
22111 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
22112 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_VERSION" >&5
22113 echo $ECHO_N "checking whether <thread_db.h> has TD_VERSION... $ECHO_C" >&6
22114 if test "${gdb_cv_thread_db_h_has_td_version+set}" = set; then
22115 echo $ECHO_N "(cached) $ECHO_C" >&6
22117 cat >conftest.
$ac_ext <<_ACEOF
22120 cat confdefs.h
>>conftest.
$ac_ext
22121 cat >>conftest.
$ac_ext <<_ACEOF
22122 /* end confdefs.h. */
22123 #include <thread_db.h>
22127 int i = TD_VERSION;
22132 rm -f conftest.
$ac_objext
22133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22134 (eval $ac_compile) 2>conftest.er1
22136 grep -v '^ *+' conftest.er1
>conftest.err
22138 cat conftest.err
>&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } &&
22141 { ac_try
='test -z "$ac_c_werror_flag"
22142 || test ! -s conftest.err'
22143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22144 (eval $ac_try) 2>&5
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); }; } &&
22148 { ac_try
='test -s conftest.$ac_objext'
22149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22150 (eval $ac_try) 2>&5
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); }; }; then
22154 gdb_cv_thread_db_h_has_td_version
=yes
22156 echo "$as_me: failed program was:" >&5
22157 sed 's/^/| /' conftest.
$ac_ext >&5
22159 gdb_cv_thread_db_h_has_td_version
=no
22162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22165 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_version" >&5
22166 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_version" >&6
22167 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTLS" >&5
22168 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTLS... $ECHO_C" >&6
22169 if test "${gdb_cv_thread_db_h_has_td_notls+set}" = set; then
22170 echo $ECHO_N "(cached) $ECHO_C" >&6
22172 cat >conftest.
$ac_ext <<_ACEOF
22175 cat confdefs.h
>>conftest.
$ac_ext
22176 cat >>conftest.
$ac_ext <<_ACEOF
22177 /* end confdefs.h. */
22178 #include <thread_db.h>
22187 rm -f conftest.
$ac_objext
22188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22189 (eval $ac_compile) 2>conftest.er1
22191 grep -v '^ *+' conftest.er1
>conftest.err
22193 cat conftest.err
>&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } &&
22196 { ac_try
='test -z "$ac_c_werror_flag"
22197 || test ! -s conftest.err'
22198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22199 (eval $ac_try) 2>&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); }; } &&
22203 { ac_try
='test -s conftest.$ac_objext'
22204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22205 (eval $ac_try) 2>&5
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); }; }; then
22209 gdb_cv_thread_db_h_has_td_notls
=yes
22211 echo "$as_me: failed program was:" >&5
22212 sed 's/^/| /' conftest.
$ac_ext >&5
22214 gdb_cv_thread_db_h_has_td_notls
=no
22217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22220 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notls" >&5
22221 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notls" >&6
22223 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
22225 cat >>confdefs.h
<<\_ACEOF
22226 #define THREAD_DB_HAS_TD_NOTALLOC 1
22230 if test "x$gdb_cv_thread_db_h_has_td_version" = "xyes"; then
22232 cat >>confdefs.h
<<\_ACEOF
22233 #define THREAD_DB_HAS_TD_VERSION 1
22237 if test "x$gdb_cv_thread_db_h_has_td_notls" = "xyes"; then
22239 cat >>confdefs.h
<<\_ACEOF
22240 #define THREAD_DB_HAS_TD_NOTLS 1
22245 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
22246 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
22247 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
22248 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
22249 echo $ECHO_N "(cached) $ECHO_C" >&6
22251 cat >conftest.
$ac_ext <<_ACEOF
22254 cat confdefs.h
>>conftest.
$ac_ext
22255 cat >>conftest.
$ac_ext <<_ACEOF
22256 /* end confdefs.h. */
22257 #include <sys/syscall.h>
22261 int i = __NR_tkill;
22266 rm -f conftest.
$ac_objext
22267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22268 (eval $ac_compile) 2>conftest.er1
22270 grep -v '^ *+' conftest.er1
>conftest.err
22272 cat conftest.err
>&5
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); } &&
22275 { ac_try
='test -z "$ac_c_werror_flag"
22276 || test ! -s conftest.err'
22277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22278 (eval $ac_try) 2>&5
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); }; } &&
22282 { ac_try
='test -s conftest.$ac_objext'
22283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284 (eval $ac_try) 2>&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; }; then
22288 gdb_cv_sys_syscall_h_has_tkill
=yes
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.
$ac_ext >&5
22293 gdb_cv_sys_syscall_h_has_tkill
=no
22296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22299 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
22300 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
22302 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
22304 cat >>confdefs.h
<<\_ACEOF
22305 #define HAVE_TKILL_SYSCALL 1
22312 # Check whether --with-sysroot or --without-sysroot was given.
22313 if test "${with_sysroot+set}" = set; then
22314 withval
="$with_sysroot"
22316 case ${with_sysroot} in
22317 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
22318 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
22321 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
22323 if test "x$prefix" = xNONE
; then
22324 test_prefix
=/usr
/local
22326 test_prefix
=$prefix
22328 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
22329 test_exec_prefix
=$test_prefix
22331 test_exec_prefix
=$exec_prefix
22333 case ${TARGET_SYSTEM_ROOT} in
22334 "${test_prefix}"|
"${test_prefix}/"*|\
22335 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
22336 '${prefix}'|
'${prefix}/'*|\
22337 '${exec_prefix}'|
'${exec_prefix}/'*)
22338 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
22339 TARGET_SYSTEM_ROOT_DEFINE
="$t"
22345 TARGET_SYSTEM_ROOT
=
22346 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
22352 # Check whether --enable-werror or --disable-werror was given.
22353 if test "${enable_werror+set}" = set; then
22354 enableval
="$enable_werror"
22355 case "${enableval}" in
22356 yes | y
) ERROR_ON_WARNING
="yes" ;;
22357 no | n
) ERROR_ON_WARNING
="no" ;;
22358 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
22359 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
22360 { (exit 1); exit 1; }; } ;;
22364 # Enable -Werror by default when using gcc
22365 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
22366 ERROR_ON_WARNING
=yes
22370 if test "${ERROR_ON_WARNING}" = yes ; then
22371 WERROR_CFLAGS
="-Werror"
22374 # The entries after -Wno-pointer-sign are disabled warnings which may
22375 # be enabled in the future, which can not currently be used to build
22377 # NOTE: If you change this list, remember to update
22378 # gdb/doc/gdbint.texinfo.
22379 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
22380 -Wformat-nonliteral -Wno-pointer-sign \
22381 -Wno-unused -Wno-switch -Wno-char-subscripts"
22383 # Check whether --enable-build-warnings or --disable-build-warnings was given.
22384 if test "${enable_build_warnings+set}" = set; then
22385 enableval
="$enable_build_warnings"
22386 case "${enableval}" in
22388 no
) build_warnings
="-w";;
22389 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
22390 build_warnings
="${build_warnings} ${t}";;
22391 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
22392 build_warnings
="${t} ${build_warnings}";;
22393 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
22395 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
22396 echo "Setting compiler warning flags = $build_warnings" 6>&1
22398 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
22399 if test "${enable_gdb_build_warnings+set}" = set; then
22400 enableval
="$enable_gdb_build_warnings"
22401 case "${enableval}" in
22403 no
) build_warnings
="-w";;
22404 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
22405 build_warnings
="${build_warnings} ${t}";;
22406 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
22407 build_warnings
="${t} ${build_warnings}";;
22408 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
22410 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
22411 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
22414 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
22416 echo "$as_me:$LINENO: checking compiler warning flags" >&5
22417 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
22418 # Separate out the -Werror flag as some files just cannot be
22419 # compiled with it enabled.
22420 for w
in ${build_warnings}; do
22422 -Werr*) WERROR_CFLAGS
=-Werror ;;
22423 *) # Check that GCC accepts it
22424 saved_CFLAGS
="$CFLAGS"
22425 CFLAGS
="$CFLAGS $w"
22426 cat >conftest.
$ac_ext <<_ACEOF
22429 cat confdefs.h
>>conftest.
$ac_ext
22430 cat >>conftest.
$ac_ext <<_ACEOF
22431 /* end confdefs.h. */
22441 rm -f conftest.
$ac_objext
22442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22443 (eval $ac_compile) 2>conftest.er1
22445 grep -v '^ *+' conftest.er1
>conftest.err
22447 cat conftest.err
>&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } &&
22450 { ac_try
='test -z "$ac_c_werror_flag"
22451 || test ! -s conftest.err'
22452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22453 (eval $ac_try) 2>&5
22455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22456 (exit $ac_status); }; } &&
22457 { ac_try
='test -s conftest.$ac_objext'
22458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22459 (eval $ac_try) 2>&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); }; }; then
22463 WARN_CFLAGS
="${WARN_CFLAGS} $w"
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.
$ac_ext >&5
22469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22470 CFLAGS
="$saved_CFLAGS"
22473 echo "$as_me:$LINENO: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
22474 echo "${ECHO_T}${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6
22479 # In the Cygwin environment, we need some additional flags.
22480 echo "$as_me:$LINENO: checking for cygwin" >&5
22481 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
22482 if test "${gdb_cv_os_cygwin+set}" = set; then
22483 echo $ECHO_N "(cached) $ECHO_C" >&6
22485 cat >conftest.
$ac_ext <<_ACEOF
22488 cat confdefs.h
>>conftest.
$ac_ext
22489 cat >>conftest.
$ac_ext <<_ACEOF
22490 /* end confdefs.h. */
22492 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
22496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22497 $EGREP "lose" >/dev
/null
2>&1; then
22498 gdb_cv_os_cygwin
=yes
22500 gdb_cv_os_cygwin
=no
22505 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
22506 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
22509 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
22511 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
22512 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
22513 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
22517 # libreadline needs libuser32.a in a cygwin environment
22519 if test x
$gdb_cv_os_cygwin = xyes
; then
22520 WIN32LIBS
="-luser32"
22521 case "${target}" in
22522 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
22527 # The ser-tcp.c module requires sockets.
22531 cat >>confdefs.h
<<\_ACEOF
22532 #define USE_WIN32API 1
22535 WIN32LIBS
="$WIN32LIBS -lws2_32"
22540 # Add ELF support to GDB, but only if BFD includes ELF support.
22542 OLD_LDFLAGS
=$LDFLAGS
22544 CFLAGS
="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
22545 LDFLAGS
="$LDFLAGS -L../bfd -L../libiberty"
22546 intl
=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
22547 LIBS
="$LIBS -lbfd -liberty $intl"
22548 echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
22549 echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
22550 if test "${gdb_cv_var_elf+set}" = set; then
22551 echo $ECHO_N "(cached) $ECHO_C" >&6
22553 cat >conftest.
$ac_ext <<_ACEOF
22556 cat confdefs.h
>>conftest.
$ac_ext
22557 cat >>conftest.
$ac_ext <<_ACEOF
22558 /* end confdefs.h. */
22559 #include <stdlib.h>
22561 #include "elf-bfd.h"
22566 bfd *abfd = NULL; bfd_get_elf_phdr_upper_bound (abfd);
22571 rm -f conftest.
$ac_objext conftest
$ac_exeext
22572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22573 (eval $ac_link) 2>conftest.er1
22575 grep -v '^ *+' conftest.er1
>conftest.err
22577 cat conftest.err
>&5
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); } &&
22580 { ac_try
='test -z "$ac_c_werror_flag"
22581 || test ! -s conftest.err'
22582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22583 (eval $ac_try) 2>&5
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); }; } &&
22587 { ac_try
='test -s conftest$ac_exeext'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; }; then
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.
$ac_ext >&5
22600 rm -f conftest.err conftest.
$ac_objext \
22601 conftest
$ac_exeext conftest.
$ac_ext
22603 echo "$as_me:$LINENO: result: $gdb_cv_var_elf" >&5
22604 echo "${ECHO_T}$gdb_cv_var_elf" >&6
22605 if test $gdb_cv_var_elf = yes; then
22606 CONFIG_OBS
="$CONFIG_OBS elfread.o"
22608 cat >>confdefs.h
<<\_ACEOF
22614 LDFLAGS
=$OLD_LDFLAGS
22617 # Add any host-specific objects to GDB.
22618 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
22620 LIBGUI
="../libgui/src/libgui.a"
22621 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
22639 if test "${enable_gdbtk}" = "yes"; then
22641 # Gdbtk must have an absolute path to srcdir in order to run
22642 # properly when not installed.
22645 GDBTK_SRC_DIR
=`pwd`
22650 # Ok, lets find the tcl configuration
22651 # First, look for one uninstalled.
22652 # the alternative search directory is invoked by --with-tclconfig
22655 if test x
"${no_tcl}" = x
; then
22656 # we reset no_tcl in case something fails here
22659 # Check whether --with-tclconfig or --without-tclconfig was given.
22660 if test "${with_tclconfig+set}" = set; then
22661 withval
="$with_tclconfig"
22662 with_tclconfig
=${withval}
22664 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
22665 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
22666 if test "${ac_cv_c_tclconfig+set}" = set; then
22667 echo $ECHO_N "(cached) $ECHO_C" >&6
22671 # First check to see if --with-tclconfig was specified.
22672 if test x
"${with_tclconfig}" != x
; then
22673 if test -f "${with_tclconfig}/tclConfig.sh" ; then
22674 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
22676 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
22677 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
22678 { (exit 1); exit 1; }; }
22682 # then check for a private Tcl installation
22683 if test x
"${ac_cv_c_tclconfig}" = x
; then
22686 `ls -dr ../tcl[7-9]* 2>/dev/null` \
22688 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
22690 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
22691 if test -f "$i/${configdir}/tclConfig.sh" ; then
22692 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
22697 # check in a few common install locations
22698 if test x
"${ac_cv_c_tclconfig}" = x
; then
22699 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22700 if test -f "$i/tclConfig.sh" ; then
22701 ac_cv_c_tclconfig
=`(cd $i; pwd)`
22706 # check in a few other private locations
22707 if test x
"${ac_cv_c_tclconfig}" = x
; then
22710 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
22711 if test -f "$i/${configdir}/tclConfig.sh" ; then
22712 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
22720 if test x
"${ac_cv_c_tclconfig}" = x
; then
22721 TCLCONFIG
="# no Tcl configs found"
22722 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
22723 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
22726 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
22727 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
22728 echo "${ECHO_T}found $TCLCONFIG" >&6
22732 if test -z "${no_tcl}"; then
22763 # Ok, lets find the tk configuration
22764 # First, look for one uninstalled.
22765 # the alternative search directory is invoked by --with-tkconfig
22768 if test x
"${no_tk}" = x
; then
22769 # we reset no_tk in case something fails here
22772 # Check whether --with-tkconfig or --without-tkconfig was given.
22773 if test "${with_tkconfig+set}" = set; then
22774 withval
="$with_tkconfig"
22775 with_tkconfig
=${withval}
22777 echo "$as_me:$LINENO: checking for Tk configuration" >&5
22778 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
22779 if test "${ac_cv_c_tkconfig+set}" = set; then
22780 echo $ECHO_N "(cached) $ECHO_C" >&6
22784 # First check to see if --with-tkconfig was specified.
22785 if test x
"${with_tkconfig}" != x
; then
22786 if test -f "${with_tkconfig}/tkConfig.sh" ; then
22787 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
22789 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
22790 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
22791 { (exit 1); exit 1; }; }
22795 # then check for a private Tk library
22796 if test x
"${ac_cv_c_tkconfig}" = x
; then
22799 `ls -dr ../tk[4-9]* 2>/dev/null` \
22801 `ls -dr ../../tk[4-9]* 2>/dev/null` \
22803 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
22804 if test -f "$i/${configdir}/tkConfig.sh" ; then
22805 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
22810 # check in a few common install locations
22811 if test x
"${ac_cv_c_tkconfig}" = x
; then
22812 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22813 if test -f "$i/tkConfig.sh" ; then
22814 ac_cv_c_tkconfig
=`(cd $i; pwd)`
22819 # check in a few other private locations
22820 if test x
"${ac_cv_c_tkconfig}" = x
; then
22823 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
22824 if test -f "$i/${configdir}/tkConfig.sh" ; then
22825 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
22833 if test x
"${ac_cv_c_tkconfig}" = x
; then
22834 TKCONFIG
="# no Tk configs found"
22835 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
22836 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
22839 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
22840 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
22841 echo "${ECHO_T}found $TKCONFIG" >&6
22847 # now look for Tcl library stuff
22849 tcldir
="../tcl/${configdir}/"
22851 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
22853 # If $no_tk is nonempty, then we can't do Tk, and there is no
22854 # point to doing Tcl.
22855 if test -z "${no_tk}"; then
22857 if test -f "$TKCONFIG" ; then
22875 # Ok, lets find the tcl source trees so we can use the headers
22876 # Warning: transition of version 9 to 10 will break this algorithm
22877 # because 10 sorts before 9. We also look for just tcl. We have to
22878 # be careful that we don't match stuff like tclX by accident.
22879 # the alternative search directory is involked by --with-tclinclude
22883 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
22884 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
22886 # Check whether --with-tclinclude or --without-tclinclude was given.
22887 if test "${with_tclinclude+set}" = set; then
22888 withval
="$with_tclinclude"
22889 with_tclinclude
=${withval}
22891 if test "${ac_cv_c_tclh+set}" = set; then
22892 echo $ECHO_N "(cached) $ECHO_C" >&6
22895 # first check to see if --with-tclinclude was specified
22896 if test x
"${with_tclinclude}" != x
; then
22897 if test -f ${with_tclinclude}/tclInt.h
; then
22898 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
22899 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
22900 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
22902 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
22903 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
22904 { (exit 1); exit 1; }; }
22908 # next check if it came with Tcl configuration file
22909 if test x
"${ac_cv_c_tclconfig}" = x
; then
22910 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
22911 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
22915 # next check in private source directory
22917 # since ls returns lowest version numbers first, reverse its output
22918 if test x
"${ac_cv_c_tclh}" = x
; then
22921 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
22922 ${srcdir}/..
/..
/tcl \
22923 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
22924 ${srcdir}/..
/..
/..
/tcl \
22925 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
22926 if test -f $i/generic
/tclInt.h
; then
22927 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
22932 # finally check in a few common install locations
22934 # since ls returns lowest version numbers first, reverse its output
22935 if test x
"${ac_cv_c_tclh}" = x
; then
22937 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
22938 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
22939 /usr
/local
/src
/tcl \
22940 /usr
/local
/lib
/tcl \
22941 ${prefix}/include
; do
22942 if test -f $i/generic
/tclInt.h
; then
22943 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
22948 # see if one is installed
22949 if test x
"${ac_cv_c_tclh}" = x
; then
22950 if test "${ac_cv_header_tclInt_h+set}" = set; then
22951 echo "$as_me:$LINENO: checking for tclInt.h" >&5
22952 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
22953 if test "${ac_cv_header_tclInt_h+set}" = set; then
22954 echo $ECHO_N "(cached) $ECHO_C" >&6
22956 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
22957 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
22959 # Is the header compilable?
22960 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
22961 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
22962 cat >conftest.
$ac_ext <<_ACEOF
22965 cat confdefs.h
>>conftest.
$ac_ext
22966 cat >>conftest.
$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22968 $ac_includes_default
22969 #include <tclInt.h>
22971 rm -f conftest.
$ac_objext
22972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22973 (eval $ac_compile) 2>conftest.er1
22975 grep -v '^ *+' conftest.er1
>conftest.err
22977 cat conftest.err
>&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } &&
22980 { ac_try
='test -z "$ac_c_werror_flag"
22981 || test ! -s conftest.err'
22982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22983 (eval $ac_try) 2>&5
22985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986 (exit $ac_status); }; } &&
22987 { ac_try
='test -s conftest.$ac_objext'
22988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22989 (eval $ac_try) 2>&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); }; }; then
22993 ac_header_compiler
=yes
22995 echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.
$ac_ext >&5
22998 ac_header_compiler
=no
23000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23002 echo "${ECHO_T}$ac_header_compiler" >&6
23004 # Is the header present?
23005 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
23006 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
23007 cat >conftest.
$ac_ext <<_ACEOF
23010 cat confdefs.h
>>conftest.
$ac_ext
23011 cat >>conftest.
$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23013 #include <tclInt.h>
23015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23016 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23018 grep -v '^ *+' conftest.er1
>conftest.err
23020 cat conftest.err
>&5
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); } >/dev
/null
; then
23023 if test -s conftest.err
; then
23024 ac_cpp_err
=$ac_c_preproc_warn_flag
23025 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23032 if test -z "$ac_cpp_err"; then
23033 ac_header_preproc
=yes
23035 echo "$as_me: failed program was:" >&5
23036 sed 's/^/| /' conftest.
$ac_ext >&5
23038 ac_header_preproc
=no
23040 rm -f conftest.err conftest.
$ac_ext
23041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23042 echo "${ECHO_T}$ac_header_preproc" >&6
23044 # So? What about this header?
23045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23047 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
23048 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23049 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
23050 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
23051 ac_header_preproc
=yes
23054 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
23055 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
23056 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
23057 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
23058 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
23059 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
23060 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
23061 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
23062 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
23063 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
23064 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
23065 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
23068 ## ------------------------------------------ ##
23069 ## Report this to the AC_PACKAGE_NAME lists. ##
23070 ## ------------------------------------------ ##
23073 sed "s/^/$as_me: WARNING: /" >&2
23076 echo "$as_me:$LINENO: checking for tclInt.h" >&5
23077 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
23078 if test "${ac_cv_header_tclInt_h+set}" = set; then
23079 echo $ECHO_N "(cached) $ECHO_C" >&6
23081 ac_cv_header_tclInt_h
=$ac_header_preproc
23083 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
23084 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
23087 if test $ac_cv_header_tclInt_h = yes; then
23088 ac_cv_c_tclh
=installed
23098 if test x
"${ac_cv_c_tclh}" = x
; then
23099 TCLHDIR
="# no Tcl private headers found"
23100 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
23101 echo "$as_me: error: Can't find Tcl private headers" >&2;}
23102 { (exit 1); exit 1; }; }
23104 if test x
"${ac_cv_c_tclh}" != x
; then
23106 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
23107 echo "$as_me:$LINENO: result: is installed" >&5
23108 echo "${ECHO_T}is installed" >&6
23111 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
23112 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
23113 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
23114 TCLHDIR
="-I${ac_cv_c_tclh}"
23122 # Ok, lets find the tk source trees so we can use the headers
23123 # If the directory (presumably symlink) named "tk" exists, use that one
23124 # in preference to any others. Same logic is used when choosing library
23125 # and again with Tcl. The search order is the best place to look first, then in
23126 # decreasing significance. The loop breaks if the trigger file is found.
23127 # Note the gross little conversion here of srcdir by cd'ing to the found
23128 # directory. This converts the path from a relative to an absolute, so
23129 # recursive cache variables for the path will work right. We check all
23130 # the possible paths in one loop rather than many seperate loops to speed
23132 # the alternative search directory is involked by --with-tkinclude
23135 echo "$as_me:$LINENO: checking for Tk private headers" >&5
23136 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
23138 # Check whether --with-tkinclude or --without-tkinclude was given.
23139 if test "${with_tkinclude+set}" = set; then
23140 withval
="$with_tkinclude"
23141 with_tkinclude
=${withval}
23143 if test "${ac_cv_c_tkh+set}" = set; then
23144 echo $ECHO_N "(cached) $ECHO_C" >&6
23147 # first check to see if --with-tkinclude was specified
23148 if test x
"${with_tkinclude}" != x
; then
23149 if test -f ${with_tkinclude}/tk.h
; then
23150 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
23151 elif test -f ${with_tkinclude}/generic
/tk.h
; then
23152 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
23154 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
23155 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
23156 { (exit 1); exit 1; }; }
23160 # next check if it came with Tk configuration file
23161 if test x
"${ac_cv_c_tkconfig}" = x
; then
23162 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
23163 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
23167 # next check in private source directory
23169 # since ls returns lowest version numbers first, reverse its output
23170 if test x
"${ac_cv_c_tkh}" = x
; then
23173 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
23174 ${srcdir}/..
/..
/tk \
23175 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
23176 ${srcdir}/..
/..
/..
/tk \
23177 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
23178 if test -f $i/generic
/tk.h
; then
23179 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
23184 # finally check in a few common install locations
23186 # since ls returns lowest version numbers first, reverse its output
23187 if test x
"${ac_cv_c_tkh}" = x
; then
23189 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
23190 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
23191 /usr
/local
/src
/tk \
23192 /usr
/local
/lib
/tk \
23193 ${prefix}/include
; do
23194 if test -f $i/generic
/tk.h
; then
23195 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
23200 # see if one is installed
23201 if test x
"${ac_cv_c_tkh}" = x
; then
23202 if test "${ac_cv_header_tk_h+set}" = set; then
23203 echo "$as_me:$LINENO: checking for tk.h" >&5
23204 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
23205 if test "${ac_cv_header_tk_h+set}" = set; then
23206 echo $ECHO_N "(cached) $ECHO_C" >&6
23208 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
23209 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
23211 # Is the header compilable?
23212 echo "$as_me:$LINENO: checking tk.h usability" >&5
23213 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
23214 cat >conftest.
$ac_ext <<_ACEOF
23217 cat confdefs.h
>>conftest.
$ac_ext
23218 cat >>conftest.
$ac_ext <<_ACEOF
23219 /* end confdefs.h. */
23220 $ac_includes_default
23223 rm -f conftest.
$ac_objext
23224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23225 (eval $ac_compile) 2>conftest.er1
23227 grep -v '^ *+' conftest.er1
>conftest.err
23229 cat conftest.err
>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } &&
23232 { ac_try
='test -z "$ac_c_werror_flag"
23233 || test ! -s conftest.err'
23234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23235 (eval $ac_try) 2>&5
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); }; } &&
23239 { ac_try
='test -s conftest.$ac_objext'
23240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23241 (eval $ac_try) 2>&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); }; }; then
23245 ac_header_compiler
=yes
23247 echo "$as_me: failed program was:" >&5
23248 sed 's/^/| /' conftest.
$ac_ext >&5
23250 ac_header_compiler
=no
23252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23253 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23254 echo "${ECHO_T}$ac_header_compiler" >&6
23256 # Is the header present?
23257 echo "$as_me:$LINENO: checking tk.h presence" >&5
23258 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
23259 cat >conftest.
$ac_ext <<_ACEOF
23262 cat confdefs.h
>>conftest.
$ac_ext
23263 cat >>conftest.
$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23268 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23270 grep -v '^ *+' conftest.er1
>conftest.err
23272 cat conftest.err
>&5
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); } >/dev
/null
; then
23275 if test -s conftest.err
; then
23276 ac_cpp_err
=$ac_c_preproc_warn_flag
23277 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23284 if test -z "$ac_cpp_err"; then
23285 ac_header_preproc
=yes
23287 echo "$as_me: failed program was:" >&5
23288 sed 's/^/| /' conftest.
$ac_ext >&5
23290 ac_header_preproc
=no
23292 rm -f conftest.err conftest.
$ac_ext
23293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23294 echo "${ECHO_T}$ac_header_preproc" >&6
23296 # So? What about this header?
23297 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23299 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
23300 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23301 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
23302 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
23303 ac_header_preproc
=yes
23306 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
23307 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
23308 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
23309 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
23310 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
23311 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
23312 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
23313 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
23314 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
23315 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
23316 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
23317 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
23320 ## ------------------------------------------ ##
23321 ## Report this to the AC_PACKAGE_NAME lists. ##
23322 ## ------------------------------------------ ##
23325 sed "s/^/$as_me: WARNING: /" >&2
23328 echo "$as_me:$LINENO: checking for tk.h" >&5
23329 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
23330 if test "${ac_cv_header_tk_h+set}" = set; then
23331 echo $ECHO_N "(cached) $ECHO_C" >&6
23333 ac_cv_header_tk_h
=$ac_header_preproc
23335 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
23336 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
23339 if test $ac_cv_header_tk_h = yes; then
23340 ac_cv_c_tkh
=installed
23350 if test x
"${ac_cv_c_tkh}" != x
; then
23352 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
23353 echo "$as_me:$LINENO: result: is installed" >&5
23354 echo "${ECHO_T}is installed" >&6
23357 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
23358 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
23359 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
23360 TKHDIR
="-I${ac_cv_c_tkh}"
23363 TKHDIR
="# no Tk directory found"
23364 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
23365 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
23372 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
23373 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
23374 if test x
"${ac_cv_c_itclh}" = x
; then
23375 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
23376 if test -f $i/generic
/itcl.h
; then
23377 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
23382 if test x
"${ac_cv_c_itclh}" = x
; then
23383 ITCLHDIR
="# no Itcl private headers found"
23384 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
23385 echo "$as_me: error: Can't find Itcl private headers" >&2;}
23386 { (exit 1); exit 1; }; }
23388 if test x
"${ac_cv_c_itclh}" != x
; then
23389 ITCLHDIR
="-I${ac_cv_c_itclh}"
23391 # should always be here
23392 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
23397 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
23398 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
23399 if test x
"${ac_cv_c_itkh}" = x
; then
23400 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
23401 if test -f $i/generic
/itk.h
; then
23402 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
23407 if test x
"${ac_cv_c_itkh}" = x
; then
23408 ITKHDIR
="# no Itk private headers found"
23409 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
23410 echo "$as_me: error: Can't find Itk private headers" >&2;}
23411 { (exit 1); exit 1; }; }
23413 if test x
"${ac_cv_c_itkh}" != x
; then
23414 ITKHDIR
="-I${ac_cv_c_itkh}"
23416 # should always be here
23417 # ITKLIB="../itcl/itk/unix/libitk.a"
23423 # now look for Tk library stuff
23425 tkdir
="../tk/${configdir}/"
23427 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
23429 # now look for Itcl library stuff
23433 # Ok, lets find the itcl configuration
23434 # First, look for one uninstalled.
23435 # the alternative search directory is invoked by --with-itclconfig
23438 if test x
"${no_itcl}" = x
; then
23439 # we reset no_itcl in case something fails here
23442 # Check whether --with-itclconfig or --without-itclconfig was given.
23443 if test "${with_itclconfig+set}" = set; then
23444 withval
="$with_itclconfig"
23445 with_itclconfig
=${withval}
23447 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
23448 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
23449 if test "${ac_cv_c_itclconfig+set}" = set; then
23450 echo $ECHO_N "(cached) $ECHO_C" >&6
23454 # First check to see if --with-itclconfig was specified.
23455 if test x
"${with_itclconfig}" != x
; then
23456 if test -f "${with_itclconfig}/itclConfig.sh" ; then
23457 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
23459 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
23460 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
23461 { (exit 1); exit 1; }; }
23465 # then check for a private Itcl library
23466 if test x
"${ac_cv_c_itclconfig}" = x
; then
23469 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
23471 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
23473 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
23474 if test -f "$i/itclConfig.sh" ; then
23475 ac_cv_c_itclconfig
=`(cd $i; pwd)`
23480 # check in a few common install locations
23481 if test x
"${ac_cv_c_itclconfig}" = x
; then
23482 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
23483 if test -f "$i/itclConfig.sh" ; then
23484 ac_cv_c_itclconfig
=`(cd $i; pwd)`
23489 # check in a few other private locations
23490 if test x
"${ac_cv_c_itclconfig}" = x
; then
23492 ${srcdir}/..
/itcl
/itcl \
23493 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
23494 if test -f "$i/itclConfig.sh" ; then
23495 ac_cv_c_itclconfig
=`(cd $i; pwd)`
23503 if test x
"${ac_cv_c_itclconfig}" = x
; then
23504 ITCLCONFIG
="# no Itcl configs found"
23505 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
23506 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
23509 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
23510 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
23511 echo "${ECHO_T}found $ITCLCONFIG" >&6
23515 if test -z "${no_itcl}"; then
23517 if test -f "$ITCLCONFIG" ; then
23532 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
23533 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
23537 # now look for Itk library stuff
23540 # Ok, lets find the itk configuration
23541 # First, look for one uninstalled.
23542 # the alternative search directory is invoked by --with-itkconfig
23545 if test x
"${no_itk}" = x
; then
23546 # we reset no_itk in case something fails here
23549 # Check whether --with-itkconfig or --without-itkconfig was given.
23550 if test "${with_itkconfig+set}" = set; then
23551 withval
="$with_itkconfig"
23552 with_itkconfig
=${withval}
23554 echo "$as_me:$LINENO: checking for Itk configuration" >&5
23555 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
23556 if test "${ac_cv_c_itkconfig+set}" = set; then
23557 echo $ECHO_N "(cached) $ECHO_C" >&6
23561 # First check to see if --with-itkconfig was specified.
23562 if test x
"${with_itkconfig}" != x
; then
23563 if test -f "${with_itkconfig}/itkConfig.sh" ; then
23564 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
23566 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
23567 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
23568 { (exit 1); exit 1; }; }
23572 # then check for a private Itk library
23573 if test x
"${ac_cv_c_itkconfig}" = x
; then
23576 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
23578 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
23580 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
23581 if test -f "$i/itkConfig.sh" ; then
23582 ac_cv_c_itkconfig
=`(cd $i; pwd)`
23587 # check in a few common install locations
23588 if test x
"${ac_cv_c_itkconfig}" = x
; then
23589 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
23590 if test -f "$i/itkConfig.sh" ; then
23591 ac_cv_c_itkconfig
=`(cd $i; pwd)`
23596 # check in a few other private locations
23597 if test x
"${ac_cv_c_itkconfig}" = x
; then
23599 ${srcdir}/..
/itcl
/itk \
23600 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
23601 if test -f "$i/itkConfig.sh" ; then
23602 ac_cv_c_itkconfig
=`(cd $i; pwd)`
23610 if test x
"${ac_cv_c_itkconfig}" = x
; then
23611 ITKCONFIG
="# no Itk configs found"
23612 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
23613 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
23616 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
23617 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
23618 echo "${ECHO_T}found $ITKCONFIG" >&6
23623 if test -z "${no_itcl}"; then
23625 if test -f "$ITKCONFIG" ; then
23640 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
23641 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
23644 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
23646 # Include some libraries that Tcl and Tk want.
23647 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
23648 # Yes, the ordering seems wrong here. But it isn't.
23649 # TK_LIBS is the list of libraries that need to be linked
23650 # after Tcl/Tk. Note that this isn't put into LIBS. If it
23651 # were in LIBS then any link tests after this point would
23652 # try to include things like `$(LIBGUI)', which wouldn't work.
23653 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
23655 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
23656 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
23657 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
23658 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
23659 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
23660 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
23661 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
23663 if test x
$gdb_cv_os_cygwin = xyes
; then
23664 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
23665 WIN32LDAPP
="-Wl,--subsystem,console"
23666 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
23673 subdirs
="$subdirs gdbtk"
23690 echo "$as_me:$LINENO: checking for X" >&5
23691 echo $ECHO_N "checking for X... $ECHO_C" >&6
23694 # Check whether --with-x or --without-x was given.
23695 if test "${with_x+set}" = set; then
23699 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23700 if test "x$with_x" = xno
; then
23701 # The user explicitly disabled X.
23704 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23705 # Both variables are already set.
23708 if test "${ac_cv_have_x+set}" = set; then
23709 echo $ECHO_N "(cached) $ECHO_C" >&6
23711 # One or both of the vars are not set, and there is no cached value.
23712 ac_x_includes
=no ac_x_libraries
=no
23713 rm -fr conftest.dir
23714 if mkdir conftest.dir
; then
23716 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23717 cat >Imakefile
<<'_ACEOF'
23719 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23721 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23722 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23723 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23724 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23725 for ac_extension
in a so sl
; do
23726 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23727 test -f $ac_im_libdir/libX11.
$ac_extension; then
23728 ac_im_usrlibdir
=$ac_im_libdir; break
23731 # Screen out bogus values from the imake configuration. They are
23732 # bogus both because they are the default anyway, and because
23733 # using them would break gcc on systems where it needs fixed includes.
23734 case $ac_im_incroot in
23736 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23738 case $ac_im_usrlibdir in
23739 /usr
/lib |
/lib
) ;;
23740 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23744 rm -fr conftest.dir
23747 # Standard set of common directories for X headers.
23748 # Check X11 before X11Rn because it is often a symlink to the current release.
23760 /usr/local/X11/include
23761 /usr/local/X11R6/include
23762 /usr/local/X11R5/include
23763 /usr/local/X11R4/include
23765 /usr/local/include/X11
23766 /usr/local/include/X11R6
23767 /usr/local/include/X11R5
23768 /usr/local/include/X11R4
23772 /usr/XFree86/include/X11
23776 /usr/unsupported/include
23777 /usr/athena/include
23778 /usr/local/x11r5/include
23779 /usr/lpp/Xamples/include
23781 /usr/openwin/include
23782 /usr/openwin/share/include'
23784 if test "$ac_x_includes" = no
; then
23785 # Guess where to find include files, by looking for Intrinsic.h.
23786 # First, try using that file with no special directory specified.
23787 cat >conftest.
$ac_ext <<_ACEOF
23790 cat confdefs.h
>>conftest.
$ac_ext
23791 cat >>conftest.
$ac_ext <<_ACEOF
23792 /* end confdefs.h. */
23793 #include <X11/Intrinsic.h>
23795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23796 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23798 grep -v '^ *+' conftest.er1
>conftest.err
23800 cat conftest.err
>&5
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); } >/dev
/null
; then
23803 if test -s conftest.err
; then
23804 ac_cpp_err
=$ac_c_preproc_warn_flag
23805 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23812 if test -z "$ac_cpp_err"; then
23813 # We can compile using X headers with no special include directory.
23816 echo "$as_me: failed program was:" >&5
23817 sed 's/^/| /' conftest.
$ac_ext >&5
23819 for ac_dir
in $ac_x_header_dirs; do
23820 if test -r "$ac_dir/X11/Intrinsic.h"; then
23821 ac_x_includes
=$ac_dir
23826 rm -f conftest.err conftest.
$ac_ext
23827 fi # $ac_x_includes = no
23829 if test "$ac_x_libraries" = no
; then
23830 # Check for the libraries.
23831 # See if we find them without any special options.
23832 # Don't add to $LIBS permanently.
23835 cat >conftest.
$ac_ext <<_ACEOF
23838 cat confdefs.h
>>conftest.
$ac_ext
23839 cat >>conftest.
$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841 #include <X11/Intrinsic.h>
23850 rm -f conftest.
$ac_objext conftest
$ac_exeext
23851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23852 (eval $ac_link) 2>conftest.er1
23854 grep -v '^ *+' conftest.er1
>conftest.err
23856 cat conftest.err
>&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } &&
23859 { ac_try
='test -z "$ac_c_werror_flag"
23860 || test ! -s conftest.err'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; } &&
23866 { ac_try
='test -s conftest$ac_exeext'
23867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23868 (eval $ac_try) 2>&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); }; }; then
23873 # We can link X programs with no special library path.
23876 echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.
$ac_ext >&5
23880 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23882 # Don't even attempt the hair of trying to link an X program!
23883 for ac_extension
in a so sl
; do
23884 if test -r $ac_dir/libXt.
$ac_extension; then
23885 ac_x_libraries
=$ac_dir
23891 rm -f conftest.err conftest.
$ac_objext \
23892 conftest
$ac_exeext conftest.
$ac_ext
23893 fi # $ac_x_libraries = no
23895 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
23896 # Didn't find X anywhere. Cache the known absence of X.
23897 ac_cv_have_x
="have_x=no"
23899 # Record where we found X for the cache.
23900 ac_cv_have_x
="have_x=yes \
23901 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23906 eval "$ac_cv_have_x"
23909 if test "$have_x" != yes; then
23910 echo "$as_me:$LINENO: result: $have_x" >&5
23911 echo "${ECHO_T}$have_x" >&6
23914 # If each of the values was on the command line, it overrides each guess.
23915 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23916 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23917 # Update the cache value to reflect the command line values.
23918 ac_cv_have_x
="have_x=yes \
23919 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23920 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23921 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23925 # Check whether we should enable the TUI, but only do so if we really
23927 if test x
"$enable_tui" = xyes
; then
23928 if test -d $srcdir/tui
; then
23929 if test "$ac_cv_search_waddstr" != no
; then
23930 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
23931 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
23932 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
23933 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
23934 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
23935 CONFIG_ALL
="${CONFIG_ALL} all-tui"
23936 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
23937 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
23938 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
23940 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
23941 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
23946 # Unlike the sim directory, whether a simulator is linked is controlled by
23947 # presence of a gdb_sim definition in the target configure.tgt entry.
23948 # This code just checks for a few cases where we'd like to ignore those
23949 # definitions, even when they're present in the '.mt' file. These cases
23950 # are when --disable-sim is specified, or if the simulator directory is
23951 # not part of the source tree.
23953 # Check whether --enable-sim or --disable-sim was given.
23954 if test "${enable_sim+set}" = set; then
23955 enableval
="$enable_sim"
23956 echo "enable_sim = $enable_sim";
23957 echo "enableval = ${enableval}";
23958 case "${enableval}" in
23959 yes) ignore_sim
=false
;;
23960 no
) ignore_sim
=true
;;
23961 *) ignore_sim
=false
;;
23967 if test ! -d "${srcdir}/../sim"; then
23973 if test "${ignore_sim}" = "false"; then
23974 if test x
"${gdb_sim}" != x
; then
23976 SIM_OBS
="remote-sim.o"
23978 cat >>confdefs.h
<<\_ACEOF
23998 # List of host floatformats.
24000 cat >>confdefs.h
<<_ACEOF
24001 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
24005 cat >>confdefs.h
<<_ACEOF
24006 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
24010 cat >>confdefs.h
<<_ACEOF
24011 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
24015 # target_subdir is used by the testsuite to find the target libraries.
24017 if test "${host}" != "${target}"; then
24018 target_subdir
="${target_alias}/"
24023 if test "${gdb_native}" = "yes"; then
24024 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
24025 if test ! -f ${host_makefile_frag}; then
24026 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
24027 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
24028 { (exit 1); exit 1; }; }
24030 frags
="$frags $host_makefile_frag"
24032 host_makefile_frag
=/dev
/null
24038 if test "${gdb_native}" = "yes"; then
24039 # We pick this up from the host configuration file (.mh) because we
24040 # do not have a native configuration Makefile fragment.
24041 nativefile
=`sed -n '
24042 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
24043 ' ${host_makefile_frag}`
24047 if test x
"${gdb_osabi}" != x
; then
24049 cat >>confdefs.h
<<_ACEOF
24050 #define GDB_OSABI_DEFAULT $gdb_osabi
24055 # Enable multi-ice-gdb-server.
24056 # Check whether --enable-multi-ice or --disable-multi-ice was given.
24057 if test "${enable_multi_ice+set}" = set; then
24058 enableval
="$enable_multi_ice"
24062 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
24063 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
24064 { (exit 1); exit 1; }; } ;;
24067 if test "x$enable_multi_ice" = xyes
; then
24070 subdirs
="$subdirs multi-ice"
24074 # We only build gdbserver automatically in a native configuration.
24075 if test "$gdb_native" = "yes"; then
24076 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
24077 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
24078 if test "x$build_gdbserver" = xyes
; then
24079 echo "$as_me:$LINENO: result: yes" >&5
24080 echo "${ECHO_T}yes" >&6
24083 subdirs
="$subdirs gdbserver"
24086 echo "$as_me:$LINENO: result: no" >&5
24087 echo "${ECHO_T}no" >&6
24091 # If nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
24092 # to an empty version.
24099 if test "${nativefile}" != ""; then
24101 case "${nativefile}" in
24102 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
24103 * ) GDB_NM_FILE
="${nativefile}"
24105 files
="${files} ${GDB_NM_FILE}"
24106 links
="${links} nm.h"
24108 cat >>confdefs.h
<<_ACEOF
24109 #define GDB_NM_FILE "${GDB_NM_FILE}"
24115 ac_sources
="$files"
24117 while test -n "$ac_sources"; do
24118 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
24119 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
24120 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
24122 ac_config_links
="$ac_config_links $ac_config_links_1"
24129 cat >>confdefs.h
<<\_ACEOF
24130 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
24137 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
24138 if test "${with_libiconv_prefix+set}" = set; then
24139 withval
="$with_libiconv_prefix"
24141 for dir
in `echo "$withval" | tr : ' '`; do
24142 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
24143 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
24148 echo "$as_me:$LINENO: checking for iconv" >&5
24149 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
24150 if test "${am_cv_func_iconv+set}" = set; then
24151 echo $ECHO_N "(cached) $ECHO_C" >&6
24154 am_cv_func_iconv
="no, consider installing GNU libiconv"
24156 cat >conftest.
$ac_ext <<_ACEOF
24159 cat confdefs.h
>>conftest.
$ac_ext
24160 cat >>conftest.
$ac_ext <<_ACEOF
24161 /* end confdefs.h. */
24162 #include <stdlib.h>
24167 iconv_t cd = iconv_open("","");
24168 iconv(cd,NULL,NULL,NULL,NULL);
24174 rm -f conftest.
$ac_objext conftest
$ac_exeext
24175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24176 (eval $ac_link) 2>conftest.er1
24178 grep -v '^ *+' conftest.er1
>conftest.err
24180 cat conftest.err
>&5
24181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182 (exit $ac_status); } &&
24183 { ac_try
='test -z "$ac_c_werror_flag"
24184 || test ! -s conftest.err'
24185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24186 (eval $ac_try) 2>&5
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); }; } &&
24190 { ac_try
='test -s conftest$ac_exeext'
24191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24192 (eval $ac_try) 2>&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; }; then
24196 am_cv_func_iconv
=yes
24198 echo "$as_me: failed program was:" >&5
24199 sed 's/^/| /' conftest.
$ac_ext >&5
24202 rm -f conftest.err conftest.
$ac_objext \
24203 conftest
$ac_exeext conftest.
$ac_ext
24204 if test "$am_cv_func_iconv" != yes; then
24205 am_save_LIBS
="$LIBS"
24206 LIBS
="$LIBS -liconv"
24207 cat >conftest.
$ac_ext <<_ACEOF
24210 cat confdefs.h
>>conftest.
$ac_ext
24211 cat >>conftest.
$ac_ext <<_ACEOF
24212 /* end confdefs.h. */
24213 #include <stdlib.h>
24218 iconv_t cd = iconv_open("","");
24219 iconv(cd,NULL,NULL,NULL,NULL);
24225 rm -f conftest.
$ac_objext conftest
$ac_exeext
24226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24227 (eval $ac_link) 2>conftest.er1
24229 grep -v '^ *+' conftest.er1
>conftest.err
24231 cat conftest.err
>&5
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); } &&
24234 { ac_try
='test -z "$ac_c_werror_flag"
24235 || test ! -s conftest.err'
24236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24237 (eval $ac_try) 2>&5
24239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24240 (exit $ac_status); }; } &&
24241 { ac_try
='test -s conftest$ac_exeext'
24242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24243 (eval $ac_try) 2>&5
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); }; }; then
24247 am_cv_lib_iconv
=yes
24248 am_cv_func_iconv
=yes
24250 echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.
$ac_ext >&5
24254 rm -f conftest.err conftest.
$ac_objext \
24255 conftest
$ac_exeext conftest.
$ac_ext
24256 LIBS
="$am_save_LIBS"
24260 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
24261 echo "${ECHO_T}$am_cv_func_iconv" >&6
24262 if test "$am_cv_func_iconv" = yes; then
24264 cat >>confdefs.h
<<\_ACEOF
24265 #define HAVE_ICONV 1
24268 echo "$as_me:$LINENO: checking for iconv declaration" >&5
24269 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
24270 if test "${am_cv_proto_iconv+set}" = set; then
24271 echo $ECHO_N "(cached) $ECHO_C" >&6
24274 cat >conftest.
$ac_ext <<_ACEOF
24277 cat confdefs.h
>>conftest.
$ac_ext
24278 cat >>conftest.
$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24281 #include <stdlib.h>
24287 #if defined(__STDC__) || defined(__cplusplus)
24288 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
24301 rm -f conftest.
$ac_objext
24302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24303 (eval $ac_compile) 2>conftest.er1
24305 grep -v '^ *+' conftest.er1
>conftest.err
24307 cat conftest.err
>&5
24308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24309 (exit $ac_status); } &&
24310 { ac_try
='test -z "$ac_c_werror_flag"
24311 || test ! -s conftest.err'
24312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24313 (eval $ac_try) 2>&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); }; } &&
24317 { ac_try
='test -s conftest.$ac_objext'
24318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24319 (eval $ac_try) 2>&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); }; }; then
24323 am_cv_proto_iconv_arg1
=""
24325 echo "$as_me: failed program was:" >&5
24326 sed 's/^/| /' conftest.
$ac_ext >&5
24328 am_cv_proto_iconv_arg1
="const"
24330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24331 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);"
24334 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
24335 echo "$as_me:$LINENO: result: ${ac_t:-
24336 }$am_cv_proto_iconv" >&5
24337 echo "${ECHO_T}${ac_t:-
24338 }$am_cv_proto_iconv" >&6
24340 cat >>confdefs.h
<<_ACEOF
24341 #define ICONV_CONST $am_cv_proto_iconv_arg1
24346 if test "$am_cv_lib_iconv" = yes; then
24352 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in"
24353 ac_config_commands
="$ac_config_commands default"
24354 cat >confcache
<<\_ACEOF
24355 # This file is a shell script that caches the results of configure
24356 # tests run on this system so they can be shared between configure
24357 # scripts and configure runs, see configure's option --config-cache.
24358 # It is not useful on other systems. If it contains results you don't
24359 # want to keep, you may remove or edit it.
24361 # config.status only pays attention to the cache file if you give it
24362 # the --recheck option to rerun configure.
24364 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24365 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24366 # following values.
24370 # The following way of writing the cache mishandles newlines in values,
24371 # but we know of no workaround that is simple, portable, and efficient.
24372 # So, don't put newlines in cache variables' values.
24373 # Ultrix sh set writes to stderr and can't be redirected directly,
24374 # and sets the high bit in the cache file unless we assign to the vars.
24377 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24379 # `set' does not quote correctly, so add quotes (double-quote
24380 # substitution turns \\\\ into \\, and sed turns \\ into \).
24383 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24386 # `set' quotes correctly as required by POSIX, so do not add quotes.
24388 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24395 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24397 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24399 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24400 if test -w $cache_file; then
24401 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24402 cat confcache
>$cache_file
24404 echo "not updating unwritable cache $cache_file"
24409 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24410 # Let make expand exec_prefix.
24411 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24413 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24414 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24415 # trailing colons and then remove the whole line if VPATH becomes empty
24416 # (actually we leave an empty line to preserve line numbers).
24417 if test "x$srcdir" = x.
; then
24418 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24419 s/:*\$(srcdir):*/:/;
24420 s/:*\${srcdir}:*/:/;
24422 s/^\([^=]*=[ ]*\):*/\1/;
24428 DEFS
=-DHAVE_CONFIG_H
24432 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24433 # 1. Remove the extension, and $U if already installed.
24434 ac_i
=`echo "$ac_i" |
24435 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24437 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
24438 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
24440 LIBOBJS
=$ac_libobjs
24442 LTLIBOBJS
=$ac_ltlibobjs
24445 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24446 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24447 Usually this means the macro was only invoked conditionally." >&5
24448 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24449 Usually this means the macro was only invoked conditionally." >&2;}
24450 { (exit 1); exit 1; }; }
24453 : ${CONFIG_STATUS=./config.status}
24454 ac_clean_files_save
=$ac_clean_files
24455 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24456 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24457 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24458 cat >$CONFIG_STATUS <<_ACEOF
24460 # Generated by $as_me.
24461 # Run this file to recreate the current configuration.
24462 # Compiler output produced by configure, useful for debugging
24463 # configure, is in config.log if it exists.
24466 ac_cs_recheck=false
24468 SHELL=\${CONFIG_SHELL-$SHELL}
24471 cat >>$CONFIG_STATUS <<\_ACEOF
24472 ## --------------------- ##
24473 ## M4sh Initialization. ##
24474 ## --------------------- ##
24476 # Be Bourne compatible
24477 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24480 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24481 # is contrary to our usage. Disable this feature.
24482 alias -g '${1+"$@"}'='"$@"'
24483 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24486 DUALCASE
=1; export DUALCASE
# for MKS sh
24488 # Support unset when possible.
24489 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
24496 # Work around bugs in pre-3.0 UWIN ksh.
24497 $as_unset ENV MAIL MAILPATH
24504 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24505 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24506 LC_TELEPHONE LC_TIME
24508 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24509 eval $as_var=C
; export $as_var
24515 # Required to use basename.
24516 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24522 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
24523 as_basename
=basename
24529 # Name of the executable.
24530 as_me
=`$as_basename "$0" ||
24531 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24532 X"$0" : 'X\(//\)$' \| \
24533 X"$0" : 'X\(/\)$' \| \
24534 . : '\(.\)' 2>/dev/null ||
24536 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24537 /^X\/\(\/\/\)$/{ s//\1/; q; }
24538 /^X\/\(\/\).*/{ s//\1/; q; }
24542 # PATH needs CR, and LINENO needs CR and PATH.
24543 # Avoid depending upon Character Ranges.
24544 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24545 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24546 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24547 as_cr_digits
='0123456789'
24548 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24550 # The user is always right.
24551 if test "${PATH_SEPARATOR+set}" != set; then
24552 echo "#! /bin/sh" >conf$$.sh
24553 echo "exit 0" >>conf$$.sh
24555 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
24564 as_lineno_1
=$LINENO
24565 as_lineno_2
=$LINENO
24566 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
24567 test "x$as_lineno_1" != "x$as_lineno_2" &&
24568 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
24569 # Find who we are. Look in the path if we contain no path at all
24572 *[\\/]* ) as_myself
=$0 ;;
24573 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24574 for as_dir
in $PATH
24577 test -z "$as_dir" && as_dir
=.
24578 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24583 # We did not find ourselves, most probably we were run as `sh COMMAND'
24584 # in which case we are not to be found in the path.
24585 if test "x$as_myself" = x
; then
24588 if test ! -f "$as_myself"; then
24589 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24590 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24591 { (exit 1); exit 1; }; }
24593 case $CONFIG_SHELL in
24595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24596 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
24599 test -z "$as_dir" && as_dir
=.
24600 for as_base
in sh bash ksh sh5
; do
24603 if ("$as_dir/$as_base" -c '
24604 as_lineno_1=$LINENO
24605 as_lineno_2=$LINENO
24606 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24607 test "x$as_lineno_1" != "x$as_lineno_2" &&
24608 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
24609 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
24610 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
24611 CONFIG_SHELL
=$as_dir/$as_base
24612 export CONFIG_SHELL
24613 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24621 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24622 # uniformly replaced by the line number. The first 'sed' inserts a
24623 # line-number line before each line; the second 'sed' does the real
24624 # work. The second script uses 'N' to pair each line-number line
24625 # with the numbered line, and appends trailing '-' during
24626 # substitution so that $LINENO is not a special case at line end.
24627 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24628 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24629 sed '=' <$as_myself |
24634 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24637 s,^['$as_cr_digits']*\n,,
24638 ' >$as_me.lineno
&&
24639 chmod +x
$as_me.lineno ||
24640 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24641 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24642 { (exit 1); exit 1; }; }
24644 # Don't try to exec as it changes $[0], causing all sort of problems
24645 # (the dirname of $[0] is not the place where we might find the
24646 # original and so on. Autoconf is especially sensible to this).
24648 # Exit status is that of the last command.
24653 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24654 *c
*,-n*) ECHO_N
= ECHO_C
='
24656 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
24657 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
24660 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24666 rm -f conf$$ conf$$.exe conf$$.
file
24668 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24669 # We could just check for DJGPP; but this test a) works b) is more generic
24670 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24671 if test -f conf$$.exe
; then
24672 # Don't use ln at all; we don't have any links
24677 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24682 rm -f conf$$ conf$$.exe conf$$.
file
24684 if mkdir
-p .
2>/dev
/null
; then
24687 test -d .
/-p && rmdir .
/-p
24691 as_executable_p
="test -f"
24693 # Sed expression to map a string onto a valid CPP name.
24694 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24696 # Sed expression to map a string onto a valid variable name.
24697 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24701 # We need space, tab and new line, in precisely that order.
24711 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24712 # report actual input values of CONFIG_FILES etc. instead of their
24713 # values after options handling. Logging --version etc. is OK.
24717 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24718 ## Running $as_me. ##
24723 This file was extended by $as_me, which was
24724 generated by GNU Autoconf 2.59. Invocation command line was
24726 CONFIG_FILES = $CONFIG_FILES
24727 CONFIG_HEADERS = $CONFIG_HEADERS
24728 CONFIG_LINKS = $CONFIG_LINKS
24729 CONFIG_COMMANDS = $CONFIG_COMMANDS
24733 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24737 # Files that config.status was made for.
24738 if test -n "$ac_config_files"; then
24739 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24742 if test -n "$ac_config_headers"; then
24743 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24746 if test -n "$ac_config_links"; then
24747 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24750 if test -n "$ac_config_commands"; then
24751 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24754 cat >>$CONFIG_STATUS <<\_ACEOF
24757 \`$as_me' instantiates files from templates according to the
24758 current configuration.
24760 Usage: $0 [OPTIONS] [FILE]...
24762 -h, --help print this help, then exit
24763 -V, --version print version number, then exit
24764 -q, --quiet do not print progress messages
24765 -d, --debug don't remove temporary files
24766 --recheck update $as_me by reconfiguring in the same conditions
24767 --file=FILE[:TEMPLATE]
24768 instantiate the configuration file FILE
24769 --header=FILE[:TEMPLATE]
24770 instantiate the configuration header FILE
24772 Configuration files:
24775 Configuration headers:
24778 Configuration links:
24781 Configuration commands:
24784 Report bugs to <bug-autoconf@gnu.org>."
24787 cat >>$CONFIG_STATUS <<_ACEOF
24790 configured by $0, generated by GNU Autoconf 2.59,
24791 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24793 Copyright (C) 2003 Free Software Foundation, Inc.
24794 This config.status script is free software; the Free Software Foundation
24795 gives unlimited permission to copy, distribute and modify it."
24800 cat >>$CONFIG_STATUS <<\_ACEOF
24801 # If no file are specified by the user, then we need to provide default
24802 # value. By we need to know if files were specified by the user.
24808 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
24809 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
24817 *) # This is not an option, so the user has probably given explicit
24820 ac_need_defaults
=false
;;
24824 # Handling of the options.
24826 cat >>$CONFIG_STATUS <<\_ACEOF
24827 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24829 --version |
--vers* |
-V )
24830 echo "$ac_cs_version"; exit 0 ;;
24832 # Conflict between --help and --header
24833 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24834 Try \`$0 --help' for more information." >&5
24835 echo "$as_me: error: ambiguous option: $1
24836 Try \`$0 --help' for more information." >&2;}
24837 { (exit 1); exit 1; }; };;
24838 --help |
--hel |
-h )
24839 echo "$ac_cs_usage"; exit 0 ;;
24840 --debug |
--d* |
-d )
24842 --file |
--fil |
--fi |
--f )
24844 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24845 ac_need_defaults
=false
;;
24846 --header |
--heade |
--head |
--hea )
24848 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24849 ac_need_defaults
=false
;;
24850 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24851 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24854 # This is an error.
24855 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24856 Try \`$0 --help' for more information." >&5
24857 echo "$as_me: error: unrecognized option: $1
24858 Try \`$0 --help' for more information." >&2;}
24859 { (exit 1); exit 1; }; } ;;
24861 *) ac_config_targets
="$ac_config_targets $1" ;;
24867 ac_configure_extra_args
=
24869 if $ac_cs_silent; then
24871 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24875 cat >>$CONFIG_STATUS <<_ACEOF
24876 if \$ac_cs_recheck; then
24877 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24878 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24883 cat >>$CONFIG_STATUS <<_ACEOF
24885 # INIT-COMMANDS section.
24891 acx_cv_header_stdint="$acx_cv_header_stdint"
24892 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24893 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24894 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24895 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24896 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24897 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24898 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24899 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24900 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24901 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24902 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24903 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24904 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24907 gdb_host_cpu=$gdb_host_cpu
24908 nativefile=$nativefile
24915 cat >>$CONFIG_STATUS <<\_ACEOF
24916 for ac_config_target
in $ac_config_targets
24918 case "$ac_config_target" in
24919 # Handling of arguments.
24920 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24921 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
24922 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
24923 "gdb_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gdb_stdint.h" ;;
24924 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
24925 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
24926 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24927 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24928 { (exit 1); exit 1; }; };;
24932 # If the user did not use the arguments to specify the items to instantiate,
24933 # then the envvar interface is used. Set only those that are not.
24934 # We use the long form for the default assignment because of an extremely
24935 # bizarre bug on SunOS 4.1.3.
24936 if $ac_need_defaults; then
24937 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24938 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24939 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
24940 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24943 # Have a temporary directory for convenience. Make it in the build tree
24944 # simply because there is no reason to put it here, and in addition,
24945 # creating and moving files from /tmp can sometimes cause problems.
24946 # Create a temporary directory, and hook for its removal unless debugging.
24949 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24950 trap '{ (exit 1); exit 1; }' 1 2 13 15
24953 # Create a (secure) tmp directory for tmp files.
24956 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24957 test -n "$tmp" && test -d "$tmp"
24960 tmp
=.
/confstat$$
-$RANDOM
24961 (umask 077 && mkdir
$tmp)
24964 echo "$me: cannot create a temporary directory in ." >&2
24965 { (exit 1); exit 1; }
24970 cat >>$CONFIG_STATUS <<_ACEOF
24973 # CONFIG_FILES section.
24976 # No need to generate the scripts if there are no CONFIG_FILES.
24977 # This happens for instance when ./config.status config.h
24978 if test -n "\$CONFIG_FILES"; then
24979 # Protect against being on the right side of a sed subst in config.status.
24980 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24981 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24982 s,@SHELL@,$SHELL,;t t
24983 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24984 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24985 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24986 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24987 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24988 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24989 s,@exec_prefix@,$exec_prefix,;t t
24990 s,@prefix@,$prefix,;t t
24991 s,@program_transform_name@,$program_transform_name,;t t
24992 s,@bindir@,$bindir,;t t
24993 s,@sbindir@,$sbindir,;t t
24994 s,@libexecdir@,$libexecdir,;t t
24995 s,@datadir@,$datadir,;t t
24996 s,@sysconfdir@,$sysconfdir,;t t
24997 s,@sharedstatedir@,$sharedstatedir,;t t
24998 s,@localstatedir@,$localstatedir,;t t
24999 s,@libdir@,$libdir,;t t
25000 s,@includedir@,$includedir,;t t
25001 s,@oldincludedir@,$oldincludedir,;t t
25002 s,@infodir@,$infodir,;t t
25003 s,@mandir@,$mandir,;t t
25004 s,@build_alias@,$build_alias,;t t
25005 s,@host_alias@,$host_alias,;t t
25006 s,@target_alias@,$target_alias,;t t
25007 s,@DEFS@,$DEFS,;t t
25008 s,@ECHO_C@,$ECHO_C,;t t
25009 s,@ECHO_N@,$ECHO_N,;t t
25010 s,@ECHO_T@,$ECHO_T,;t t
25011 s,@LIBS@,$LIBS,;t t
25012 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
25013 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
25014 s,@MAINT@,$MAINT,;t t
25016 s,@CFLAGS@,$CFLAGS,;t t
25017 s,@LDFLAGS@,$LDFLAGS,;t t
25018 s,@CPPFLAGS@,$CPPFLAGS,;t t
25019 s,@ac_ct_CC@,$ac_ct_CC,;t t
25020 s,@EXEEXT@,$EXEEXT,;t t
25021 s,@OBJEXT@,$OBJEXT,;t t
25023 s,@EGREP@,$EGREP,;t t
25024 s,@build@,$build,;t t
25025 s,@build_cpu@,$build_cpu,;t t
25026 s,@build_vendor@,$build_vendor,;t t
25027 s,@build_os@,$build_os,;t t
25028 s,@host@,$host,;t t
25029 s,@host_cpu@,$host_cpu,;t t
25030 s,@host_vendor@,$host_vendor,;t t
25031 s,@host_os@,$host_os,;t t
25032 s,@target@,$target,;t t
25033 s,@target_cpu@,$target_cpu,;t t
25034 s,@target_vendor@,$target_vendor,;t t
25035 s,@target_os@,$target_os,;t t
25036 s,@USE_NLS@,$USE_NLS,;t t
25037 s,@LIBINTL@,$LIBINTL,;t t
25038 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
25039 s,@INCINTL@,$INCINTL,;t t
25040 s,@XGETTEXT@,$XGETTEXT,;t t
25041 s,@GMSGFMT@,$GMSGFMT,;t t
25042 s,@POSUB@,$POSUB,;t t
25043 s,@CATALOGS@,$CATALOGS,;t t
25044 s,@DATADIRNAME@,$DATADIRNAME,;t t
25045 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
25046 s,@GENCAT@,$GENCAT,;t t
25047 s,@CATOBJEXT@,$CATOBJEXT,;t t
25048 s,@localedir@,$localedir,;t t
25049 s,@PACKAGE@,$PACKAGE,;t t
25050 s,@subdirs@,$subdirs,;t t
25051 s,@TARGET_OBS@,$TARGET_OBS,;t t
25053 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25054 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25055 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25056 s,@LN_S@,$LN_S,;t t
25057 s,@RANLIB@,$RANLIB,;t t
25058 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25059 s,@YACC@,$YACC,;t t
25061 s,@ac_ct_AR@,$ac_ct_AR,;t t
25062 s,@DLLTOOL@,$DLLTOOL,;t t
25063 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
25064 s,@WINDRES@,$WINDRES,;t t
25065 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
25067 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
25068 s,@READLINE@,$READLINE,;t t
25069 s,@READLINE_DEPS@,$READLINE_DEPS,;t t
25070 s,@READLINE_CFLAGS@,$READLINE_CFLAGS,;t t
25071 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
25072 s,@LIBEXPAT@,$LIBEXPAT,;t t
25073 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
25074 s,@ALLOCA@,$ALLOCA,;t t
25075 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
25076 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
25077 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
25078 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
25079 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
25080 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
25081 s,@WIN32LIBS@,$WIN32LIBS,;t t
25082 s,@LIBGUI@,$LIBGUI,;t t
25083 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
25084 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
25085 s,@TCL_VERSION@,$TCL_VERSION,;t t
25086 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
25087 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
25088 s,@TCL_CC@,$TCL_CC,;t t
25089 s,@TCL_DEFS@,$TCL_DEFS,;t t
25090 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
25091 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
25092 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
25093 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
25094 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
25095 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
25096 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
25097 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
25098 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
25099 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
25100 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
25101 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
25102 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
25103 s,@TK_VERSION@,$TK_VERSION,;t t
25104 s,@TK_DEFS@,$TK_DEFS,;t t
25105 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
25106 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
25107 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
25108 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
25109 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
25110 s,@TCLHDIR@,$TCLHDIR,;t t
25111 s,@TKHDIR@,$TKHDIR,;t t
25112 s,@ITCLHDIR@,$ITCLHDIR,;t t
25113 s,@ITKHDIR@,$ITKHDIR,;t t
25114 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
25115 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
25116 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
25117 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
25118 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
25119 s,@ITK_VERSION@,$ITK_VERSION,;t t
25120 s,@ITK_DEFS@,$ITK_DEFS,;t t
25121 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
25122 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
25123 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
25124 s,@X_CFLAGS@,$X_CFLAGS,;t t
25125 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
25126 s,@X_LIBS@,$X_LIBS,;t t
25127 s,@TCL_DEPS@,$TCL_DEPS,;t t
25128 s,@TK_DEPS@,$TK_DEPS,;t t
25129 s,@ITCLLIB@,$ITCLLIB,;t t
25130 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
25131 s,@ITKLIB@,$ITKLIB,;t t
25132 s,@ITK_DEPS@,$ITK_DEPS,;t t
25133 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
25134 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
25135 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
25137 s,@SIM_OBS@,$SIM_OBS,;t t
25138 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
25139 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
25140 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
25141 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
25142 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
25143 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
25144 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
25145 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
25146 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
25147 s,@target_subdir@,$target_subdir,;t t
25148 s,@frags@,$frags,;t t
25149 s,@nm_h@,$nm_h,;t t
25150 s,@LIBICONV@,$LIBICONV,;t t
25151 s,@LIBOBJS@,$LIBOBJS,;t t
25152 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25153 /@host_makefile_frag@/r $host_makefile_frag
25154 s,@host_makefile_frag@,,;t t
25159 cat >>$CONFIG_STATUS <<\_ACEOF
25160 # Split the substitutions into bite-sized pieces for seds with
25161 # small command number limits, like on Digital OSF/1 and HP-UX.
25162 ac_max_sed_lines
=48
25163 ac_sed_frag
=1 # Number of current file.
25164 ac_beg
=1 # First line for current file.
25165 ac_end
=$ac_max_sed_lines # Line after last line for current file.
25168 while $ac_more_lines; do
25169 if test $ac_beg -gt 1; then
25170 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
25172 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
25174 if test ! -s $tmp/subs.frag
; then
25175 ac_more_lines
=false
25177 # The purpose of the label and of the branching condition is to
25178 # speed up the sed processing (if there are no `@' at all, there
25179 # is no need to browse any of the substitutions).
25180 # These are the two extra sed commands mentioned above.
25182 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
25183 if test -z "$ac_sed_cmds"; then
25184 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
25186 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25188 ac_sed_frag
=`expr $ac_sed_frag + 1`
25190 ac_end
=`expr $ac_end + $ac_max_sed_lines`
25193 if test -z "$ac_sed_cmds"; then
25196 fi # test -n "$CONFIG_FILES"
25199 cat >>$CONFIG_STATUS <<\_ACEOF
25200 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
25201 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25203 - |
*:- |
*:-:* ) # input from stdin
25205 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25206 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25207 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25208 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25209 * ) ac_file_in
=$ac_file.
in ;;
25212 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25213 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
25214 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25215 X"$ac_file" : 'X\(//\)[^/]' \| \
25216 X"$ac_file" : 'X\(//\)$' \| \
25217 X"$ac_file" : 'X\(/\)' \| \
25218 . : '\(.\)' 2>/dev/null ||
25220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25221 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25222 /^X\(\/\/\)$/{ s//\1/; q; }
25223 /^X\(\/\).*/{ s//\1/; q; }
25225 { if $as_mkdir_p; then
25230 while test ! -d "$as_dir"; do
25231 as_dirs
="$as_dir $as_dirs"
25232 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25233 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25234 X"$as_dir" : 'X\(//\)[^/]' \| \
25235 X"$as_dir" : 'X\(//\)$' \| \
25236 X"$as_dir" : 'X\(/\)' \| \
25237 . : '\(.\)' 2>/dev/null ||
25239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25240 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25241 /^X\(\/\/\)$/{ s//\1/; q; }
25242 /^X\(\/\).*/{ s//\1/; q; }
25245 test ! -n "$as_dirs" || mkdir
$as_dirs
25246 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25247 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25248 { (exit 1); exit 1; }; }; }
25252 if test "$ac_dir" != .
; then
25253 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25254 # A "../" for each directory in $ac_dir_suffix.
25255 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25257 ac_dir_suffix
= ac_top_builddir
=
25261 .
) # No --srcdir option. We are building in place.
25263 if test -z "$ac_top_builddir"; then
25266 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25268 [\\/]* | ?
:[\\/]* ) # Absolute path.
25269 ac_srcdir
=$srcdir$ac_dir_suffix;
25270 ac_top_srcdir
=$srcdir ;;
25271 *) # Relative path.
25272 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25273 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25276 # Do not use `cd foo && pwd` to compute absolute paths, because
25277 # the directories may not exist.
25279 .
) ac_abs_builddir
="$ac_dir";;
25282 .
) ac_abs_builddir
=`pwd`;;
25283 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25284 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25287 case $ac_abs_builddir in
25288 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25290 case ${ac_top_builddir}.
in
25291 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25292 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25293 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25296 case $ac_abs_builddir in
25297 .
) ac_abs_srcdir
=$ac_srcdir;;
25300 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25301 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25302 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25305 case $ac_abs_builddir in
25306 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25308 case $ac_top_srcdir in
25309 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25310 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25311 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25317 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25318 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
25321 if test x
"$ac_file" != x-
; then
25322 { echo "$as_me:$LINENO: creating $ac_file" >&5
25323 echo "$as_me: creating $ac_file" >&6;}
25326 # Let's still pretend it is `configure' which instantiates (i.e., don't
25327 # use $as_me), people would be surprised to read:
25328 # /* config.h. Generated by config.status. */
25329 if test x
"$ac_file" = x-
; then
25332 configure_input
="$ac_file. "
25334 configure_input
=$configure_input"Generated from `echo $ac_file_in |
25335 sed 's,.*/,,'` by configure."
25337 # First look for the input files in the build tree, otherwise in the
25339 ac_file_inputs
=`IFS=:
25340 for f in $ac_file_in; do
25342 -) echo $tmp/stdin ;;
25344 # Absolute (can't be DOS-style, as IFS=:)
25345 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25346 echo "$as_me: error: cannot find input file: $f" >&2;}
25347 { (exit 1); exit 1; }; }
25350 if test -f "$f"; then
25353 elif test -f "$srcdir/$f"; then
25358 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25359 echo "$as_me: error: cannot find input file: $f" >&2;}
25360 { (exit 1); exit 1; }; }
25363 done` ||
{ (exit 1); exit 1; }
25365 cat >>$CONFIG_STATUS <<_ACEOF
25369 cat >>$CONFIG_STATUS <<\_ACEOF
25371 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25372 s
,@configure_input@
,$configure_input,;t t
25373 s
,@srcdir@
,$ac_srcdir,;t t
25374 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
25375 s
,@top_srcdir@
,$ac_top_srcdir,;t t
25376 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
25377 s
,@builddir@
,$ac_builddir,;t t
25378 s
,@abs_builddir@
,$ac_abs_builddir,;t t
25379 s
,@top_builddir@
,$ac_top_builddir,;t t
25380 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
25381 s
,@INSTALL@
,$ac_INSTALL,;t t
25382 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25384 if test x"$ac_file" != x-; then
25385 mv $tmp/out $ac_file
25393 cat >>$CONFIG_STATUS <<\_ACEOF
25396 # CONFIG_HEADER section.
25399 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
25400 # NAME is the cpp macro being defined and VALUE is the value it is being given.
25402 # ac_d sets the value in "#define NAME VALUE" lines.
25403 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25404 ac_dB
='[ ].*$,\1#\2'
25407 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25408 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25409 ac_uB
='$,\1#\2define\3'
25413 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
25414 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25416 - |
*:- |
*:-:* ) # input from stdin
25418 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25419 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25420 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25421 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25422 * ) ac_file_in
=$ac_file.
in ;;
25425 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
25426 echo "$as_me: creating $ac_file" >&6;}
25428 # First look for the input files in the build tree, otherwise in the
25430 ac_file_inputs
=`IFS=:
25431 for f in $ac_file_in; do
25433 -) echo $tmp/stdin ;;
25435 # Absolute (can't be DOS-style, as IFS=:)
25436 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25437 echo "$as_me: error: cannot find input file: $f" >&2;}
25438 { (exit 1); exit 1; }; }
25439 # Do quote $f, to prevent DOS paths from being IFS'd.
25442 if test -f "$f"; then
25445 elif test -f "$srcdir/$f"; then
25450 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25451 echo "$as_me: error: cannot find input file: $f" >&2;}
25452 { (exit 1); exit 1; }; }
25455 done` ||
{ (exit 1); exit 1; }
25456 # Remove the trailing spaces.
25457 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25461 # Transform confdefs.h into two sed scripts, `conftest.defines' and
25462 # `conftest.undefs', that substitutes the proper values into
25463 # config.h.in to produce config.h. The first handles `#define'
25464 # templates, and the second `#undef' templates.
25465 # And first: Protect against being on the right side of a sed subst in
25466 # config.status. Protect against being in an unquoted here document
25467 # in config.status.
25468 rm -f conftest.defines conftest.undefs
25469 # Using a here document instead of a string reduces the quoting nightmare.
25470 # Putting comments in sed scripts is not portable.
25472 # `end' is used to avoid that the second main sed command (meant for
25473 # 0-ary CPP macros) applies to n-ary macro definitions.
25474 # See the Autoconf documentation for `clear'.
25475 cat >confdef2sed.
sed <<\_ACEOF
25480 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25482 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25485 # If some macros were called several times there might be several times
25486 # the same #defines, which is useless. Nevertheless, we may not want to
25487 # sort them, since we want the *last* AC-DEFINE to be honored.
25488 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25489 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25490 rm -f confdef2sed.sed
25492 # This sed command replaces #undef with comments. This is necessary, for
25493 # example, in the case of _POSIX_SOURCE, which is predefined and required
25494 # on some systems where configure will not decide to define it.
25495 cat >>conftest.undefs <<\_ACEOF
25496 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25499 # Break up conftest.defines because some shells have a limit on the size
25500 # of here documents, and old seds have small limits too (100 cmds).
25501 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25502 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25503 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25504 echo ' :' >>$CONFIG_STATUS
25505 rm -f conftest.tail
25506 while grep . conftest.defines >/dev/null
25508 # Write a limited-size here document to $tmp/defines.sed.
25509 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25510 # Speed up: don't consider the non `#define' lines.
25511 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25512 # Work around the forget-to-reset-the-flag bug.
25513 echo 't clr' >>$CONFIG_STATUS
25514 echo ': clr' >>$CONFIG_STATUS
25515 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
25517 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25519 mv $tmp/out $tmp/in
25521 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
25522 rm -f conftest.defines
25523 mv conftest.
tail conftest.defines
25525 rm -f conftest.defines
25526 echo ' fi # grep' >>$CONFIG_STATUS
25527 echo >>$CONFIG_STATUS
25529 # Break up conftest.undefs because some shells have a limit on the size
25530 # of here documents, and old seds have small limits too (100 cmds).
25531 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25532 rm -f conftest.
tail
25533 while grep . conftest.undefs
>/dev
/null
25535 # Write a limited-size here document to $tmp/undefs.sed.
25536 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25537 # Speed up: don't consider the non
`#undef'
25538 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25539 # Work around the forget-to-reset-the-flag bug.
25540 echo 't clr' >>$CONFIG_STATUS
25541 echo ': clr' >>$CONFIG_STATUS
25542 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25544 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25546 mv $tmp/out $tmp/in
25548 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25549 rm -f conftest.undefs
25550 mv conftest.tail conftest.undefs
25552 rm -f conftest.undefs
25554 cat >>$CONFIG_STATUS <<\_ACEOF
25555 # Let's still pretend it is `configure
' which instantiates (i.e., don't
25556 # use $as_me), people would be surprised to read:
25557 # /* config.h. Generated by config.status. */
25558 if test x
"$ac_file" = x-
; then
25559 echo "/* Generated by configure. */" >$tmp/config.h
25561 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25563 cat $tmp/in >>$tmp/config.h
25565 if test x
"$ac_file" != x-
; then
25566 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
25567 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25568 echo "$as_me: $ac_file is unchanged" >&6;}
25570 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
25571 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25572 X"$ac_file" : 'X\(//\)[^/]' \| \
25573 X"$ac_file" : 'X\(//\)$' \| \
25574 X"$ac_file" : 'X\(/\)' \| \
25575 . : '\(.\)' 2>/dev/null ||
25577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25578 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25579 /^X\(\/\/\)$/{ s//\1/; q; }
25580 /^X\(\/\).*/{ s//\1/; q; }
25582 { if $as_mkdir_p; then
25587 while test ! -d "$as_dir"; do
25588 as_dirs
="$as_dir $as_dirs"
25589 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25591 X"$as_dir" : 'X\(//\)[^/]' \| \
25592 X"$as_dir" : 'X\(//\)$' \| \
25593 X"$as_dir" : 'X\(/\)' \| \
25594 . : '\(.\)' 2>/dev/null ||
25596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25597 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25598 /^X\(\/\/\)$/{ s//\1/; q; }
25599 /^X\(\/\).*/{ s//\1/; q; }
25602 test ! -n "$as_dirs" || mkdir
$as_dirs
25603 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25604 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25605 { (exit 1); exit 1; }; }; }
25608 mv $tmp/config.h
$ac_file
25612 rm -f $tmp/config.h
25616 cat >>$CONFIG_STATUS <<\_ACEOF
25619 # CONFIG_LINKS section.
25622 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
25623 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
25624 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25626 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
25627 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
25629 if test ! -r $srcdir/$ac_source; then
25630 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
25631 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
25632 { (exit 1); exit 1; }; }
25636 # Make relative symlinks.
25637 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
25638 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25639 X"$ac_dest" : 'X\(//\)[^/]' \| \
25640 X"$ac_dest" : 'X\(//\)$' \| \
25641 X"$ac_dest" : 'X\(/\)' \| \
25642 . : '\(.\)' 2>/dev/null ||
25644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25645 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25646 /^X\(\/\/\)$/{ s//\1/; q; }
25647 /^X\(\/\).*/{ s//\1/; q; }
25649 { if $as_mkdir_p; then
25650 mkdir
-p "$ac_dest_dir"
25652 as_dir
="$ac_dest_dir"
25654 while test ! -d "$as_dir"; do
25655 as_dirs
="$as_dir $as_dirs"
25656 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25658 X"$as_dir" : 'X\(//\)[^/]' \| \
25659 X"$as_dir" : 'X\(//\)$' \| \
25660 X"$as_dir" : 'X\(/\)' \| \
25661 . : '\(.\)' 2>/dev/null ||
25663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25664 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25665 /^X\(\/\/\)$/{ s//\1/; q; }
25666 /^X\(\/\).*/{ s//\1/; q; }
25669 test ! -n "$as_dirs" || mkdir
$as_dirs
25670 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
25671 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
25672 { (exit 1); exit 1; }; }; }
25676 if test "$ac_dest_dir" != .
; then
25677 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
25678 # A "../" for each directory in $ac_dir_suffix.
25679 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25681 ac_dir_suffix
= ac_top_builddir
=
25685 .
) # No --srcdir option. We are building in place.
25687 if test -z "$ac_top_builddir"; then
25690 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25692 [\\/]* | ?
:[\\/]* ) # Absolute path.
25693 ac_srcdir
=$srcdir$ac_dir_suffix;
25694 ac_top_srcdir
=$srcdir ;;
25695 *) # Relative path.
25696 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25697 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25700 # Do not use `cd foo && pwd` to compute absolute paths, because
25701 # the directories may not exist.
25703 .
) ac_abs_builddir
="$ac_dest_dir";;
25705 case "$ac_dest_dir" in
25706 .
) ac_abs_builddir
=`pwd`;;
25707 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
25708 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
25711 case $ac_abs_builddir in
25712 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25714 case ${ac_top_builddir}.
in
25715 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25716 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25717 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25720 case $ac_abs_builddir in
25721 .
) ac_abs_srcdir
=$ac_srcdir;;
25724 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25725 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25726 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25729 case $ac_abs_builddir in
25730 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25732 case $ac_top_srcdir in
25733 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25734 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25735 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25741 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
25742 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
25745 # Try a symlink, then a hard link, then a copy.
25746 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
25747 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
25748 cp -p $srcdir/$ac_source $ac_dest ||
25749 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
25750 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
25751 { (exit 1); exit 1; }; }
25754 cat >>$CONFIG_STATUS <<\_ACEOF
25757 # CONFIG_COMMANDS section.
25759 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
25760 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
25761 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25762 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
25763 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25764 X"$ac_dest" : 'X\(//\)[^/]' \| \
25765 X"$ac_dest" : 'X\(//\)$' \| \
25766 X"$ac_dest" : 'X\(/\)' \| \
25767 . : '\(.\)' 2>/dev/null ||
25769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25770 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25771 /^X\(\/\/\)$/{ s//\1/; q; }
25772 /^X\(\/\).*/{ s//\1/; q; }
25774 { if $as_mkdir_p; then
25779 while test ! -d "$as_dir"; do
25780 as_dirs
="$as_dir $as_dirs"
25781 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25782 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25783 X"$as_dir" : 'X\(//\)[^/]' \| \
25784 X"$as_dir" : 'X\(//\)$' \| \
25785 X"$as_dir" : 'X\(/\)' \| \
25786 . : '\(.\)' 2>/dev/null ||
25788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25789 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25790 /^X\(\/\/\)$/{ s//\1/; q; }
25791 /^X\(\/\).*/{ s//\1/; q; }
25794 test ! -n "$as_dirs" || mkdir
$as_dirs
25795 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25796 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25797 { (exit 1); exit 1; }; }; }
25801 if test "$ac_dir" != .
; then
25802 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25803 # A "../" for each directory in $ac_dir_suffix.
25804 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25806 ac_dir_suffix
= ac_top_builddir
=
25810 .
) # No --srcdir option. We are building in place.
25812 if test -z "$ac_top_builddir"; then
25815 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25817 [\\/]* | ?
:[\\/]* ) # Absolute path.
25818 ac_srcdir
=$srcdir$ac_dir_suffix;
25819 ac_top_srcdir
=$srcdir ;;
25820 *) # Relative path.
25821 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25822 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25825 # Do not use `cd foo && pwd` to compute absolute paths, because
25826 # the directories may not exist.
25828 .
) ac_abs_builddir
="$ac_dir";;
25831 .
) ac_abs_builddir
=`pwd`;;
25832 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25833 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25836 case $ac_abs_builddir in
25837 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25839 case ${ac_top_builddir}.
in
25840 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25841 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25842 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25845 case $ac_abs_builddir in
25846 .
) ac_abs_srcdir
=$ac_srcdir;;
25849 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25850 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25851 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25854 case $ac_abs_builddir in
25855 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25857 case $ac_top_srcdir in
25858 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25859 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25860 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25865 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25866 echo "$as_me: executing $ac_dest commands" >&6;}
25869 if test "$GCC" = yes; then
25870 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25872 echo "/* generated for $CC */" > tmp-stdint.h
25875 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25877 #ifndef GCC_GENERATED_STDINT_H
25878 #define GCC_GENERATED_STDINT_H 1
25880 #include <sys/types.h>
25883 if test "$acx_cv_header_stdint" != stdint.h
; then
25884 echo "#include <stddef.h>" >> tmp-stdint.h
25886 if test "$acx_cv_header_stdint" != stddef.h
; then
25887 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25890 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25891 /* glibc uses these symbols as guards to prevent redefinitions. */
25892 #ifdef __int8_t_defined
25897 #ifdef __uint32_t_defined
25903 # ----------------- done header, emit basic int types -------------
25904 if test "$acx_cv_header_stdint" = stddef.h
; then
25905 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25909 #ifndef __uint8_t_defined
25910 #define __uint8_t_defined
25911 typedef unsigned $acx_cv_type_int8_t uint8_t;
25917 #ifndef __uint16_t_defined
25918 #define __uint16_t_defined
25919 typedef unsigned $acx_cv_type_int16_t uint16_t;
25925 #ifndef __uint32_t_defined
25926 #define __uint32_t_defined
25927 typedef unsigned $acx_cv_type_int32_t uint32_t;
25933 #ifndef __int8_t_defined
25934 #define __int8_t_defined
25935 typedef $acx_cv_type_int8_t int8_t;
25941 #ifndef __int16_t_defined
25942 #define __int16_t_defined
25943 typedef $acx_cv_type_int16_t int16_t;
25949 #ifndef __int32_t_defined
25950 #define __int32_t_defined
25951 typedef $acx_cv_type_int32_t int32_t;
25955 elif test "$ac_cv_type_u_int32_t" = yes; then
25956 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25958 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25971 #ifndef __uint8_t_defined
25972 #define __uint8_t_defined
25973 typedef u_int8_t uint8_t;
25979 #ifndef __uint16_t_defined
25980 #define __uint16_t_defined
25981 typedef u_int16_t uint16_t;
25987 #ifndef __uint32_t_defined
25988 #define __uint32_t_defined
25989 typedef u_int32_t uint32_t;
25994 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25996 /* Some systems have guard macros to prevent redefinitions, define them. */
26018 # ------------- done basic int types, emit int64_t types ------------
26019 if test "$ac_cv_type_uint64_t" = yes; then
26020 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26022 /* system headers have good uint64_t and int64_t */
26030 elif test "$ac_cv_type_u_int64_t" = yes; then
26031 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26033 /* system headers have an u_int64_t (and int64_t) */
26039 #ifndef __uint64_t_defined
26040 #define __uint64_t_defined
26041 typedef u_int64_t uint64_t;
26045 elif test -n "$acx_cv_type_int64_t"; then
26046 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26048 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
26051 typedef $acx_cv_type_int64_t int64_t;
26055 #ifndef __uint64_t_defined
26056 #define __uint64_t_defined
26057 typedef unsigned $acx_cv_type_int64_t uint64_t;
26062 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26064 /* some common heuristics for int64_t, using compiler-specific tests */
26065 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
26068 #ifndef __int64_t_defined
26069 typedef long long int64_t;
26074 typedef unsigned long long uint64_t;
26077 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
26078 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
26079 does not implement __extension__. But that compiler doesn't define
26081 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
26082 # define __extension__
26087 __extension__ typedef long long int64_t;
26091 __extension__ typedef unsigned long long uint64_t;
26094 #elif !defined __STRICT_ANSI__
26095 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
26099 typedef __int64 int64_t;
26103 typedef unsigned __int64 uint64_t;
26105 # endif /* compiler */
26107 #endif /* ANSI version */
26111 # ------------- done int64_t types, emit intptr types ------------
26112 if test "$ac_cv_type_uintptr_t" != yes; then
26113 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26115 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
26116 #ifndef __uintptr_t_defined
26117 typedef u$acx_cv_type_intptr_t uintptr_t;
26119 #ifndef __intptr_t_defined
26120 typedef $acx_cv_type_intptr_t intptr_t;
26125 # ------------- done intptr types, emit int_least types ------------
26126 if test "$ac_cv_type_int_least32_t" != yes; then
26127 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26129 /* Define int_least types */
26130 typedef int8_t int_least8_t;
26131 typedef int16_t int_least16_t;
26132 typedef int32_t int_least32_t;
26134 typedef int64_t int_least64_t;
26137 typedef uint8_t uint_least8_t;
26138 typedef uint16_t uint_least16_t;
26139 typedef uint32_t uint_least32_t;
26141 typedef uint64_t uint_least64_t;
26146 # ------------- done intptr types, emit int_fast types ------------
26147 if test "$ac_cv_type_int_fast32_t" != yes; then
26148 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26150 /* Define int_fast types. short is often slow */
26151 typedef int8_t int_fast8_t;
26152 typedef int int_fast16_t;
26153 typedef int32_t int_fast32_t;
26155 typedef int64_t int_fast64_t;
26158 typedef uint8_t uint_fast8_t;
26159 typedef unsigned int uint_fast16_t;
26160 typedef uint32_t uint_fast32_t;
26162 typedef uint64_t uint_fast64_t;
26167 if test "$ac_cv_type_uintmax_t" != yes; then
26168 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26170 /* Define intmax based on what we found */
26172 typedef int64_t intmax_t;
26174 typedef long intmax_t;
26177 typedef uint64_t uintmax_t;
26179 typedef unsigned long uintmax_t;
26184 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26186 #endif /* GCC_GENERATED_STDINT_H */
26189 if test -r gdb_stdint.h
&& cmp -s tmp-stdint.h gdb_stdint.h
; then
26192 mv -f tmp-stdint.h gdb_stdint.h
26198 sed -e '/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
26199 mv -f Makefile.tmp Makefile
26202 case x
$CONFIG_HEADERS in
26203 xconfig.h
:config.
in)
26211 cat >>$CONFIG_STATUS <<\_ACEOF
26213 { (exit 0); exit 0; }
26215 chmod +x
$CONFIG_STATUS
26216 ac_clean_files
=$ac_clean_files_save
26219 # configure is writing to config.log, and then calls config.status.
26220 # config.status does its own redirection, appending to config.log.
26221 # Unfortunately, on DOS this fails, as config.log is still kept open
26222 # by configure, so config.status won't be able to write to it; its
26223 # output is simply discarded. So we exec the FD to /dev/null,
26224 # effectively closing config.log, so it can be properly (re)opened and
26225 # appended to by config.status. When coming back to configure, we
26226 # need to make the FD available again.
26227 if test "$no_create" != yes; then
26229 ac_config_status_args
=
26230 test "$silent" = yes &&
26231 ac_config_status_args
="$ac_config_status_args --quiet"
26233 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26235 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26236 # would make configure fail if this is the last instruction.
26237 $ac_cs_success ||
{ (exit 1); exit 1; }
26241 # CONFIG_SUBDIRS section.
26243 if test "$no_recursion" != yes; then
26245 # Remove --cache-file and --srcdir arguments so they do not pile up.
26246 ac_sub_configure_args
=
26248 for ac_arg
in $ac_configure_args; do
26249 if test -n "$ac_prev"; then
26254 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
26255 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
26256 ac_prev
=cache_file
;;
26257 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
26258 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
26261 --config-cache |
-C)
26263 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
26265 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
26267 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
26269 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
26271 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
26275 # Always prepend --prefix to ensure using the same prefix
26276 # in subdir configurations.
26277 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
26280 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
26282 # Do not complain, so a configure script can configure whichever
26283 # parts of a large source tree are present.
26284 test -d $srcdir/$ac_dir ||
continue
26286 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
26287 echo "$as_me: configuring in $ac_dir" >&6;}
26288 { if $as_mkdir_p; then
26293 while test ! -d "$as_dir"; do
26294 as_dirs
="$as_dir $as_dirs"
26295 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26297 X"$as_dir" : 'X\(//\)[^/]' \| \
26298 X"$as_dir" : 'X\(//\)$' \| \
26299 X"$as_dir" : 'X\(/\)' \| \
26300 . : '\(.\)' 2>/dev/null ||
26302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26303 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26304 /^X\(\/\/\)$/{ s//\1/; q; }
26305 /^X\(\/\).*/{ s//\1/; q; }
26308 test ! -n "$as_dirs" || mkdir
$as_dirs
26309 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26310 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26311 { (exit 1); exit 1; }; }; }
26315 if test "$ac_dir" != .
; then
26316 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26317 # A "../" for each directory in $ac_dir_suffix.
26318 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26320 ac_dir_suffix
= ac_top_builddir
=
26324 .
) # No --srcdir option. We are building in place.
26326 if test -z "$ac_top_builddir"; then
26329 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
26331 [\\/]* | ?
:[\\/]* ) # Absolute path.
26332 ac_srcdir
=$srcdir$ac_dir_suffix;
26333 ac_top_srcdir
=$srcdir ;;
26334 *) # Relative path.
26335 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
26336 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
26339 # Do not use `cd foo && pwd` to compute absolute paths, because
26340 # the directories may not exist.
26342 .
) ac_abs_builddir
="$ac_dir";;
26345 .
) ac_abs_builddir
=`pwd`;;
26346 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
26347 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
26350 case $ac_abs_builddir in
26351 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26353 case ${ac_top_builddir}.
in
26354 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
26355 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26356 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
26359 case $ac_abs_builddir in
26360 .
) ac_abs_srcdir
=$ac_srcdir;;
26363 .
) ac_abs_srcdir
=$ac_abs_builddir;;
26364 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
26365 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
26368 case $ac_abs_builddir in
26369 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
26371 case $ac_top_srcdir in
26372 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
26373 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
26374 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
26381 # Check for guested configure; otherwise get Cygnus style configure.
26382 if test -f $ac_srcdir/configure.gnu
; then
26383 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
26384 elif test -f $ac_srcdir/configure
; then
26385 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
26386 elif test -f $ac_srcdir/configure.
in; then
26387 ac_sub_configure
=$ac_configure
26389 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
26390 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
26394 # The recursion is here.
26395 if test -n "$ac_sub_configure"; then
26396 # Make the cache file name correct relative to the subdirectory.
26397 case $cache_file in
26398 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
26399 *) # Relative path.
26400 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
26403 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
26404 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
26405 # The eval makes quoting arguments work.
26406 eval $ac_sub_configure $ac_sub_configure_args \
26407 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
26408 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
26409 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
26410 { (exit 1); exit 1; }; }