2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="main.c"
275 ac_subdirs_all
="$ac_subdirs_all doc testsuite"
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subdirs_all
="$ac_subdirs_all gdbtk"
314 ac_subdirs_all
="$ac_subdirs_all multi-ice"
315 ac_subdirs_all
="$ac_subdirs_all gdbserver"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT localedir PACKAGE subdirs AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB YACC AR ac_ct_AR DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES MIG ac_ct_MIG HAVE_LIBEXPAT LIBEXPAT LTLIBEXPAT ALLOCA CONFIG_LDFLAGS TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS WERROR_CFLAGS SER_HARDWIRE WIN32LIBS LIBGUI GUI_CFLAGS_X WIN32LDAPP TCL_VERSION TCL_MAJOR_VERSION TCL_MINOR_VERSION TCL_CC TCL_DEFS TCL_SHLIB_CFLAGS TCL_SHLIB_LD TCL_SHLIB_LD_LIBS TCL_SHLIB_SUFFIX TCL_DL_LIBS TCL_LD_FLAGS TCL_LD_SEARCH_FLAGS TCL_CC_SEARCH_FLAGS TCL_COMPAT_OBJS TCL_RANLIB TCL_BUILD_LIB_SPEC TCL_LIB_SPEC TCL_LIB_VERSIONS_OK TK_VERSION TK_DEFS TK_BUILD_INCLUDES TK_XINCLUDES TK_XLIBSW TK_BUILD_LIB_SPEC TK_LIB_SPEC TCLHDIR TKHDIR ITCLHDIR ITKHDIR ITCL_VERSION ITCL_DEFS ITCL_BUILD_INCLUDES ITCL_BUILD_LIB_SPEC ITCL_LIB_SPEC ITK_VERSION ITK_DEFS ITK_BUILD_INCLUDES ITK_BUILD_LIB_SPEC ITK_LIB_SPEC X_CFLAGS X_LDFLAGS X_LIBS TCL_DEPS TK_DEPS ITCLLIB ITCL_DEPS ITKLIB ITK_DEPS GDBTKLIBS GDBTK_CFLAGS GDBTK_SRC_DIR IGNORE_SIM IGNORE_SIM_OBS ENABLE_CFLAGS PROFILE_CFLAGS CONFIG_OBS CONFIG_DEPS CONFIG_SRCS CONFIG_ALL CONFIG_CLEAN CONFIG_INSTALL CONFIG_UNINSTALL target_subdir frags xm_h tm_h nm_h LIBICONV LIBOBJS LTLIBOBJS'
317 ac_subst_files
='host_makefile_frag target_makefile_frag'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
375 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
378 -build |
--build |
--buil |
--bui |
--bu)
379 ac_prev
=build_alias
;;
380 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
384 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
385 ac_prev
=cache_file
;;
386 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
387 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
395 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* |
--disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* |
--enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
422 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
423 |
--exec |
--exe |
--ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
426 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
427 |
--exec=* |
--exe=* |
--ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas |
--gas |
--ga |
--g)
431 # Obsolete; use --with-gas.
434 -help |
--help |
--hel |
--he |
-h)
436 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
439 ac_init_help
=short
;;
441 -host |
--host |
--hos |
--ho)
442 ac_prev
=host_alias
;;
443 -host=* |
--host=* |
--hos=* |
--ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir |
--includedir |
--includedi |
--included |
--include \
447 |
--includ |
--inclu |
--incl |
--inc)
448 ac_prev
=includedir
;;
449 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
450 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
455 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir |
--libdir |
--libdi |
--libd)
460 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
463 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
464 |
--libexe |
--libex |
--libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
467 |
--libexe=* |
--libex=* |
--libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
471 |
--localstate |
--localstat |
--localsta |
--localst \
472 |
--locals |
--local |
--loca |
--loc |
--lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
475 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
476 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
481 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
485 # Obsolete; use --without-fp.
488 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
489 |
--no-cr |
--no-c |
-n)
492 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
493 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
496 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
497 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
498 |
--oldin |
--oldi |
--old |
--ol |
--o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
501 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
502 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
507 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
510 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
511 |
--program-pre |
--program-pr |
--program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
514 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
518 |
--program-suf |
--program-su |
--program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
521 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name |
--program-transform-name \
525 |
--program-transform-nam |
--program-transform-na \
526 |
--program-transform-n |
--program-transform- \
527 |
--program-transform |
--program-transfor \
528 |
--program-transfo |
--program-transf \
529 |
--program-trans |
--program-tran \
530 |
--progr-tra |
--program-tr |
--program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* |
--program-transform-name=* \
533 |
--program-transform-nam=* |
--program-transform-na=* \
534 |
--program-transform-n=* |
--program-transform-=* \
535 |
--program-transform=* |
--program-transfor=* \
536 |
--program-transfo=* |
--program-transf=* \
537 |
--program-trans=* |
--program-tran=* \
538 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
542 |
-silent |
--silent |
--silen |
--sile |
--sil)
545 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
547 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
552 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
553 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
557 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
558 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site |
--site |
--sit)
564 -site=* |
--site=* |
--sit=*)
567 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
569 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
572 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
573 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
576 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
580 ac_prev
=target_alias
;;
581 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
582 target_alias
=$ac_optarg ;;
584 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
587 -version |
--version |
--versio |
--versi |
--vers |
-V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* |
--without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
617 |
--x-incl |
--x-inc |
--x-in |
--x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
620 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
624 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
627 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
779 # Report the --help message.
781 if test "$ac_init_help" = "long"; then
782 # Omit some internal or obsolete options to make the list less imposing.
783 # This message is too long to be a string in the A/UX 3.1 sh.
785 \`configure' configures this package to adapt to many kinds of systems.
787 Usage: $0 [OPTION]... [VAR=VALUE]...
789 To assign environment variables (e.g., CC, CFLAGS...), specify them as
790 VAR=VALUE. See below for descriptions of some of the useful variables.
792 Defaults for the options are specified in brackets.
795 -h, --help display this help and exit
796 --help=short display options specific to this package
797 --help=recursive display the short help of all the included packages
798 -V, --version display version information and exit
799 -q, --quiet, --silent do not print \`checking...' messages
800 --cache-file=FILE cache test results in FILE [disabled]
801 -C, --config-cache alias for \`--cache-file=config.cache'
802 -n, --no-create do not create output files
803 --srcdir=DIR find the sources in DIR [configure dir or \`..']
808 Installation directories:
809 --prefix=PREFIX install architecture-independent files in PREFIX
811 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
814 By default, \`make install' will install all the files in
815 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
816 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
817 for instance \`--prefix=\$HOME'.
819 For better control, use the options below.
821 Fine tuning of the installation directories:
822 --bindir=DIR user executables [EPREFIX/bin]
823 --sbindir=DIR system admin executables [EPREFIX/sbin]
824 --libexecdir=DIR program executables [EPREFIX/libexec]
825 --datadir=DIR read-only architecture-independent data [PREFIX/share]
826 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
827 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
828 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
829 --libdir=DIR object code libraries [EPREFIX/lib]
830 --includedir=DIR C header files [PREFIX/include]
831 --oldincludedir=DIR C header files for non-gcc [/usr/include]
832 --infodir=DIR info documentation [PREFIX/info]
833 --mandir=DIR man documentation [PREFIX/man]
839 --program-prefix=PREFIX prepend PREFIX to installed program names
840 --program-suffix=SUFFIX append SUFFIX to installed program names
841 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
844 --x-includes=DIR X include files are
in DIR
845 --x-libraries=DIR X library files are
in DIR
848 --build=BUILD configure
for building on BUILD
[guessed
]
849 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
850 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
854 if test -n "$ac_init_help"; then
859 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
860 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
861 --enable-maintainer-mode enable make rules and dependencies not useful
862 (and sometimes confusing
) to the casual installer
863 --disable-gdbcli disable command-line interface
(CLI
)
864 --disable-gdbmi disable machine-interface
(MI
)
865 --enable-tui enable full-screen terminal user interface
(TUI
)
866 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
867 --enable-profiling enable profiling of GDB
868 --disable-rpath do not hardcode runtime library paths
869 --enable-werror treat compile warnings as errors
870 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
871 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
872 --enable-sim Link gdb with simulator
873 --enable-multi-ice build the multi-ice-gdb-server
876 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
877 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
878 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
879 --with-libunwind Use libunwind frame unwinding support
880 --with-gnu-ld assume the C compiler uses GNU ld default
=no
881 --with-libexpat-prefix[=DIR
] search
for libexpat
in DIR
/include and DIR
/lib
882 --without-libexpat-prefix don
't search for libexpat in includedir and libdir
883 --without-included-regex don't use included regex
; this is the default
884 on systems with version
2 of the GNU C library
885 (use with caution on other system
)
886 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
887 --with-tclconfig=DIR Directory containing tcl configuration
(tclConfig.sh
)
888 --with-tkconfig=DIR Directory containing tk configuration
(tkConfig.sh
)
889 --with-tclinclude=DIR Directory where tcl private headers are
890 --with-tkinclude=DIR Directory where tk private headers are
891 --with-itclconfig Directory containing itcl configuration
(itclConfig.sh
)
892 --with-itkconfig Directory containing itk configuration
(itkConfig.sh
)
893 --with-x use the X Window System
894 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
896 Some influential environment variables
:
897 CC C compiler
command
898 CFLAGS C compiler flags
899 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
900 nonstandard directory
<lib dir
>
901 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
902 headers
in a nonstandard directory
<include dir
>
905 Use these variables to override the choices made by
`configure' or to help
906 it to find libraries and programs with nonstandard names/locations.
911 if test "$ac_init_help" = "recursive"; then
912 # If there are subdirs, report their specific --help.
914 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
915 test -d $ac_dir || continue
918 if test "$ac_dir" != .; then
919 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
920 # A "../" for each directory in $ac_dir_suffix.
921 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
923 ac_dir_suffix= ac_top_builddir=
927 .) # No --srcdir option. We are building in place.
929 if test -z "$ac_top_builddir"; then
932 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
934 [\\/]* | ?:[\\/]* ) # Absolute path.
935 ac_srcdir=$srcdir$ac_dir_suffix;
936 ac_top_srcdir=$srcdir ;;
938 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
939 ac_top_srcdir=$ac_top_builddir$srcdir ;;
942 # Do not use `cd foo
&& pwd` to compute absolute paths, because
943 # the directories may not exist.
945 .) ac_abs_builddir="$ac_dir";;
948 .) ac_abs_builddir=`pwd`;;
949 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
950 *) ac_abs_builddir=`pwd`/"$ac_dir";;
953 case $ac_abs_builddir in
954 .) ac_abs_top_builddir=${ac_top_builddir}.;;
956 case ${ac_top_builddir}. in
957 .) ac_abs_top_builddir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
959 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
962 case $ac_abs_builddir in
963 .) ac_abs_srcdir=$ac_srcdir;;
966 .) ac_abs_srcdir=$ac_abs_builddir;;
967 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
968 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
971 case $ac_abs_builddir in
972 .) ac_abs_top_srcdir=$ac_top_srcdir;;
974 case $ac_top_srcdir in
975 .) ac_abs_top_srcdir=$ac_abs_builddir;;
976 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
977 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
982 # Check for guested configure; otherwise get Cygnus style configure.
983 if test -f $ac_srcdir/configure.gnu; then
985 $SHELL $ac_srcdir/configure.gnu --help=recursive
986 elif test -f $ac_srcdir/configure; then
988 $SHELL $ac_srcdir/configure --help=recursive
989 elif test -f $ac_srcdir/configure.ac ||
990 test -f $ac_srcdir/configure.in; then
994 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1000 test -n "$ac_init_help" && exit 0
1001 if $ac_init_version; then
1004 Copyright (C) 2003 Free Software Foundation, Inc.
1005 This configure script is free software; the Free Software Foundation
1006 gives unlimited permission to copy, distribute and modify it.
1012 This file contains any messages produced by compilers while
1013 running configure, to aid debugging if configure makes a mistake.
1015 It was created by $as_me, which was
1016 generated by GNU Autoconf 2.59. Invocation command line was
1027 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1028 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1029 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1030 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1031 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1033 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1034 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1036 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1037 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1038 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1039 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1040 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1041 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1042 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1050 test -z "$as_dir" && as_dir=.
1051 echo "PATH: $as_dir"
1066 # Keep a trace of the command line.
1067 # Strip out --no-create and --no-recursion so they do not pile up.
1068 # Strip out --silent because we don't want to record it for future runs.
1069 # Also quote any args containing shell meta-characters.
1070 # Make two passes to allow for proper duplicate-argument suppression.
1075 ac_must_keep_next=false
1081 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1082 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1083 | -silent | --silent | --silen | --sile | --sil)
1085 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1086 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1089 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1091 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1092 if test $ac_must_keep_next = true; then
1093 ac_must_keep_next=false # Got value, back to normal.
1096 *=* | --config-cache | -C | -disable-* | --disable-* \
1097 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1098 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1099 | -with-* | --with-* | -without-* | --without-* | --x)
1100 case "$ac_configure_args0 " in
1101 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1104 -* ) ac_must_keep_next=true ;;
1107 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1108 # Get rid of the leading space.
1114 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1115 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1117 # When interrupted or exit'd, cleanup temporary files, and complete
1118 # config.log. We remove comments because anyway the quotes in there
1119 # would cause problems or look ugly.
1120 # WARNING: Be sure not to use single quotes in there, as some shells,
1121 # such as our DU 5.0 friend, will then `close
' the trap.
1122 trap 'exit_status
=$?
1123 # Save into config.log some information that might help in debugging.
1128 ## ---------------- ##
1129 ## Cache variables. ##
1130 ## ---------------- ##
1133 # The following way of writing the cache mishandles newlines in values,
1136 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1139 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1140 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1144 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1151 ## ----------------- ##
1152 ## Output variables. ##
1153 ## ----------------- ##
1156 for ac_var
in $ac_subst_vars
1158 eval ac_val
=$
`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1163 if test -n "$ac_subst_files"; then
1170 for ac_var
in $ac_subst_files
1172 eval ac_val
=$
`echo $ac_var`
1173 echo "$ac_var='"'"'$ac_val'"'"'"
1178 if test -s confdefs.h
; then
1185 sed "/^$/d" confdefs.h |
sort
1188 test "$ac_signal" != 0 &&
1189 echo "$as_me: caught signal $ac_signal"
1190 echo "$as_me: exit $exit_status"
1192 rm -f core
*.core
&&
1193 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1196 for ac_signal in 1 2 13 15; do
1197 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1201 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1202 rm -rf conftest* confdefs.h
1203 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1206 # Predefined preprocessor variables.
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_NAME "$PACKAGE_NAME"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1218 cat >>confdefs.h <<_ACEOF
1219 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1223 cat >>confdefs.h <<_ACEOF
1224 #define PACKAGE_STRING "$PACKAGE_STRING"
1228 cat >>confdefs.h <<_ACEOF
1229 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1233 # Let the site file select an alternate cache file if it wants to.
1234 # Prefer explicitly selected file to automatically selected ones.
1235 if test -z "$CONFIG_SITE"; then
1236 if test "x$prefix" != xNONE; then
1237 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1239 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1242 for ac_site_file in $CONFIG_SITE; do
1243 if test -r "$ac_site_file"; then
1244 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1245 echo "$as_me: loading site script $ac_site_file" >&6;}
1246 sed 's
/^
/|
/' "$ac_site_file" >&5
1251 if test -r "$cache_file"; then
1252 # Some versions of bash will fail to source /dev/null (special
1253 # files actually), so we avoid doing that.
1254 if test -f "$cache_file"; then
1255 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1256 echo "$as_me: loading cache $cache_file" >&6;}
1258 [\\/]* | ?:[\\/]* ) . $cache_file;;
1259 *) . ./$cache_file;;
1263 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1264 echo "$as_me: creating cache $cache_file" >&6;}
1268 # Check that the precious variables saved in the cache have kept the same
1270 ac_cache_corrupted=false
1271 for ac_var in `(set) 2>&1 |
1272 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1273 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1274 eval ac_new_set=\$ac_env_${ac_var}_set
1275 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1276 eval ac_new_val="\$ac_env_${ac_var}_value"
1277 case $ac_old_set,$ac_new_set in
1279 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1280 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1281 ac_cache_corrupted=: ;;
1283 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1284 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1285 ac_cache_corrupted=: ;;
1288 if test "x$ac_old_val" != "x$ac_new_val"; then
1289 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1290 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1291 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1292 echo "$as_me: former value: $ac_old_val" >&2;}
1293 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1294 echo "$as_me: current value: $ac_new_val" >&2;}
1295 ac_cache_corrupted=:
1298 # Pass precious variables to config.status.
1299 if test "$ac_new_set" = set; then
1301 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1302 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1303 *) ac_arg=$ac_var=$ac_new_val ;;
1305 case " $ac_configure_args " in
1306 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1307 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1311 if $ac_cache_corrupted; then
1312 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1313 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1314 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1315 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1316 { (exit 1); exit 1; }; }
1320 ac_cpp='$CPP $CPPFLAGS'
1321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1322 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1343 ac_config_headers="$ac_config_headers config.h:config.in"
1345 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1346 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1347 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1348 if test "${enable_maintainer_mode+set}" = set; then
1349 enableval="$enable_maintainer_mode"
1350 USE_MAINTAINER_MODE=$enableval
1352 USE_MAINTAINER_MODE=no
1354 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1355 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1358 if test $USE_MAINTAINER_MODE = yes; then
1359 MAINTAINER_MODE_TRUE=
1360 MAINTAINER_MODE_FALSE='#'
1362 MAINTAINER_MODE_TRUE
='#'
1363 MAINTAINER_MODE_FALSE
=
1366 MAINT
=$MAINTAINER_MODE_TRUE
1371 ac_cpp
='$CPP $CPPFLAGS'
1372 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1373 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1374 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1375 if test -n "$ac_tool_prefix"; then
1376 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1377 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1378 echo "$as_me:$LINENO: checking for $ac_word" >&5
1379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1380 if test "${ac_cv_prog_CC+set}" = set; then
1381 echo $ECHO_N "(cached) $ECHO_C" >&6
1383 if test -n "$CC"; then
1384 ac_cv_prog_CC
="$CC" # Let the user override the test.
1386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1390 test -z "$as_dir" && as_dir
=.
1391 for ac_exec_ext
in '' $ac_executable_extensions; do
1392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1393 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1403 if test -n "$CC"; then
1404 echo "$as_me:$LINENO: result: $CC" >&5
1405 echo "${ECHO_T}$CC" >&6
1407 echo "$as_me:$LINENO: result: no" >&5
1408 echo "${ECHO_T}no" >&6
1412 if test -z "$ac_cv_prog_CC"; then
1414 # Extract the first word of "gcc", so it can be a program name with args.
1415 set dummy gcc
; ac_word
=$2
1416 echo "$as_me:$LINENO: checking for $ac_word" >&5
1417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1418 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1419 echo $ECHO_N "(cached) $ECHO_C" >&6
1421 if test -n "$ac_ct_CC"; then
1422 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1428 test -z "$as_dir" && as_dir
=.
1429 for ac_exec_ext
in '' $ac_executable_extensions; do
1430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1431 ac_cv_prog_ac_ct_CC
="gcc"
1432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1440 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1441 if test -n "$ac_ct_CC"; then
1442 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1443 echo "${ECHO_T}$ac_ct_CC" >&6
1445 echo "$as_me:$LINENO: result: no" >&5
1446 echo "${ECHO_T}no" >&6
1454 if test -z "$CC"; then
1455 if test -n "$ac_tool_prefix"; then
1456 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1457 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1458 echo "$as_me:$LINENO: checking for $ac_word" >&5
1459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1460 if test "${ac_cv_prog_CC+set}" = set; then
1461 echo $ECHO_N "(cached) $ECHO_C" >&6
1463 if test -n "$CC"; then
1464 ac_cv_prog_CC
="$CC" # Let the user override the test.
1466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1470 test -z "$as_dir" && as_dir
=.
1471 for ac_exec_ext
in '' $ac_executable_extensions; do
1472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1473 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1483 if test -n "$CC"; then
1484 echo "$as_me:$LINENO: result: $CC" >&5
1485 echo "${ECHO_T}$CC" >&6
1487 echo "$as_me:$LINENO: result: no" >&5
1488 echo "${ECHO_T}no" >&6
1492 if test -z "$ac_cv_prog_CC"; then
1494 # Extract the first word of "cc", so it can be a program name with args.
1495 set dummy cc
; ac_word
=$2
1496 echo "$as_me:$LINENO: checking for $ac_word" >&5
1497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1498 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 if test -n "$ac_ct_CC"; then
1502 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir
=.
1509 for ac_exec_ext
in '' $ac_executable_extensions; do
1510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1511 ac_cv_prog_ac_ct_CC
="cc"
1512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1520 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1521 if test -n "$ac_ct_CC"; then
1522 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1523 echo "${ECHO_T}$ac_ct_CC" >&6
1525 echo "$as_me:$LINENO: result: no" >&5
1526 echo "${ECHO_T}no" >&6
1535 if test -z "$CC"; then
1536 # Extract the first word of "cc", so it can be a program name with args.
1537 set dummy cc
; ac_word
=$2
1538 echo "$as_me:$LINENO: checking for $ac_word" >&5
1539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1540 if test "${ac_cv_prog_CC+set}" = set; then
1541 echo $ECHO_N "(cached) $ECHO_C" >&6
1543 if test -n "$CC"; then
1544 ac_cv_prog_CC
="$CC" # Let the user override the test.
1547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1551 test -z "$as_dir" && as_dir
=.
1552 for ac_exec_ext
in '' $ac_executable_extensions; do
1553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1554 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1555 ac_prog_rejected
=yes
1559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1565 if test $ac_prog_rejected = yes; then
1566 # We found a bogon in the path, so make sure we never use it.
1567 set dummy
$ac_cv_prog_CC
1569 if test $# != 0; then
1570 # We chose a different compiler from the bogus one.
1571 # However, it has the same basename, so the bogon will be chosen
1572 # first if we set CC to just the basename; use the full file name.
1574 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1580 if test -n "$CC"; then
1581 echo "$as_me:$LINENO: result: $CC" >&5
1582 echo "${ECHO_T}$CC" >&6
1584 echo "$as_me:$LINENO: result: no" >&5
1585 echo "${ECHO_T}no" >&6
1589 if test -z "$CC"; then
1590 if test -n "$ac_tool_prefix"; then
1593 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1594 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1595 echo "$as_me:$LINENO: checking for $ac_word" >&5
1596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1597 if test "${ac_cv_prog_CC+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 if test -n "$CC"; then
1601 ac_cv_prog_CC
="$CC" # Let the user override the test.
1603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1607 test -z "$as_dir" && as_dir
=.
1608 for ac_exec_ext
in '' $ac_executable_extensions; do
1609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1610 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1620 if test -n "$CC"; then
1621 echo "$as_me:$LINENO: result: $CC" >&5
1622 echo "${ECHO_T}$CC" >&6
1624 echo "$as_me:$LINENO: result: no" >&5
1625 echo "${ECHO_T}no" >&6
1628 test -n "$CC" && break
1631 if test -z "$CC"; then
1635 # Extract the first word of "$ac_prog", so it can be a program name with args.
1636 set dummy
$ac_prog; ac_word
=$2
1637 echo "$as_me:$LINENO: checking for $ac_word" >&5
1638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1639 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1640 echo $ECHO_N "(cached) $ECHO_C" >&6
1642 if test -n "$ac_ct_CC"; then
1643 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1649 test -z "$as_dir" && as_dir
=.
1650 for ac_exec_ext
in '' $ac_executable_extensions; do
1651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1652 ac_cv_prog_ac_ct_CC
="$ac_prog"
1653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1661 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1662 if test -n "$ac_ct_CC"; then
1663 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1664 echo "${ECHO_T}$ac_ct_CC" >&6
1666 echo "$as_me:$LINENO: result: no" >&5
1667 echo "${ECHO_T}no" >&6
1670 test -n "$ac_ct_CC" && break
1679 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1680 See \`config.log' for more details." >&5
1681 echo "$as_me: error: no acceptable C compiler found in \$PATH
1682 See \`config.log' for more details." >&2;}
1683 { (exit 1); exit 1; }; }
1685 # Provide some information about the compiler.
1686 echo "$as_me:$LINENO:" \
1687 "checking for C compiler version" >&5
1688 ac_compiler
=`set X $ac_compile; echo $2`
1689 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1690 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1693 (exit $ac_status); }
1694 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1695 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1698 (exit $ac_status); }
1699 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1700 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1703 (exit $ac_status); }
1705 cat >conftest.
$ac_ext <<_ACEOF
1708 cat confdefs.h
>>conftest.
$ac_ext
1709 cat >>conftest.
$ac_ext <<_ACEOF
1710 /* end confdefs.h. */
1720 ac_clean_files_save
=$ac_clean_files
1721 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1722 # Try to create an executable without -o first, disregard a.out.
1723 # It will help us diagnose broken compilers, and finding out an intuition
1725 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1726 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1727 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1728 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1729 (eval $ac_link_default) 2>&5
1731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1732 (exit $ac_status); }; then
1733 # Find the output, starting from the most likely. This scheme is
1734 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1737 # Be careful to initialize this variable, since it used to be cached.
1738 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1740 # b.out is created by i960 compilers.
1741 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1743 test -f "$ac_file" ||
continue
1745 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1748 # This is the source file.
1751 # We found the default executable, but exeext='' is most
1755 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1756 # FIXME: I believe we export ac_cv_exeext for Libtool,
1757 # but it would be cool to find out if it's true. Does anybody
1758 # maintain Libtool? --akim.
1766 echo "$as_me: failed program was:" >&5
1767 sed 's/^/| /' conftest.
$ac_ext >&5
1769 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1770 See \`config.log' for more details." >&5
1771 echo "$as_me: error: C compiler cannot create executables
1772 See \`config.log' for more details." >&2;}
1773 { (exit 77); exit 77; }; }
1776 ac_exeext
=$ac_cv_exeext
1777 echo "$as_me:$LINENO: result: $ac_file" >&5
1778 echo "${ECHO_T}$ac_file" >&6
1780 # Check the compiler produces executables we can run. If not, either
1781 # the compiler is broken, or we cross compile.
1782 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1783 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1784 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1785 # If not cross compiling, check that we can run a simple program.
1786 if test "$cross_compiling" != yes; then
1787 if { ac_try
='./$ac_file'
1788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }; }; then
1795 if test "$cross_compiling" = maybe
; then
1798 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1799 If you meant to cross compile, use \`--host'.
1800 See \`config.log' for more details." >&5
1801 echo "$as_me: error: cannot run C compiled programs.
1802 If you meant to cross compile, use \`--host'.
1803 See \`config.log' for more details." >&2;}
1804 { (exit 1); exit 1; }; }
1808 echo "$as_me:$LINENO: result: yes" >&5
1809 echo "${ECHO_T}yes" >&6
1811 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1812 ac_clean_files
=$ac_clean_files_save
1813 # Check the compiler produces executables we can run. If not, either
1814 # the compiler is broken, or we cross compile.
1815 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1816 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1817 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1818 echo "${ECHO_T}$cross_compiling" >&6
1820 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1821 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1823 (eval $ac_link) 2>&5
1825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1826 (exit $ac_status); }; then
1827 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1828 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1829 # work properly (i.e., refer to `conftest.exe'), while it won't with
1831 for ac_file
in conftest.exe conftest conftest.
*; do
1832 test -f "$ac_file" ||
continue
1834 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1835 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1842 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1843 See \`config.log' for more details." >&5
1844 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1845 See \`config.log' for more details." >&2;}
1846 { (exit 1); exit 1; }; }
1849 rm -f conftest
$ac_cv_exeext
1850 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1851 echo "${ECHO_T}$ac_cv_exeext" >&6
1853 rm -f conftest.
$ac_ext
1854 EXEEXT
=$ac_cv_exeext
1856 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1857 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1858 if test "${ac_cv_objext+set}" = set; then
1859 echo $ECHO_N "(cached) $ECHO_C" >&6
1861 cat >conftest.
$ac_ext <<_ACEOF
1864 cat confdefs.h
>>conftest.
$ac_ext
1865 cat >>conftest.
$ac_ext <<_ACEOF
1866 /* end confdefs.h. */
1876 rm -f conftest.o conftest.obj
1877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1878 (eval $ac_compile) 2>&5
1880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1881 (exit $ac_status); }; then
1882 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1884 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1885 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1890 echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.
$ac_ext >&5
1893 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1894 See \`config.log' for more details." >&5
1895 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1896 See \`config.log' for more details." >&2;}
1897 { (exit 1); exit 1; }; }
1900 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1902 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1903 echo "${ECHO_T}$ac_cv_objext" >&6
1904 OBJEXT
=$ac_cv_objext
1906 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1907 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1908 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1909 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 cat >conftest.
$ac_ext <<_ACEOF
1914 cat confdefs.h
>>conftest.
$ac_ext
1915 cat >>conftest.
$ac_ext <<_ACEOF
1916 /* end confdefs.h. */
1929 rm -f conftest.
$ac_objext
1930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1931 (eval $ac_compile) 2>conftest.er1
1933 grep -v '^ *+' conftest.er1
>conftest.err
1935 cat conftest.err
>&5
1936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1937 (exit $ac_status); } &&
1938 { ac_try
='test -z "$ac_c_werror_flag"
1939 || test ! -s conftest.err'
1940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }; } &&
1945 { ac_try
='test -s conftest.$ac_objext'
1946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950 (exit $ac_status); }; }; then
1953 echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.
$ac_ext >&5
1958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1959 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1962 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1963 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1964 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1965 ac_test_CFLAGS
=${CFLAGS+set}
1966 ac_save_CFLAGS
=$CFLAGS
1968 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1969 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1970 if test "${ac_cv_prog_cc_g+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 cat >conftest.
$ac_ext <<_ACEOF
1976 cat confdefs.h
>>conftest.
$ac_ext
1977 cat >>conftest.
$ac_ext <<_ACEOF
1978 /* end confdefs.h. */
1988 rm -f conftest.
$ac_objext
1989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1990 (eval $ac_compile) 2>conftest.er1
1992 grep -v '^ *+' conftest.er1
>conftest.err
1994 cat conftest.err
>&5
1995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1996 (exit $ac_status); } &&
1997 { ac_try
='test -z "$ac_c_werror_flag"
1998 || test ! -s conftest.err'
1999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }; } &&
2004 { ac_try
='test -s conftest.$ac_objext'
2005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); }; }; then
2012 echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.
$ac_ext >&5
2017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2019 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2020 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2021 if test "$ac_test_CFLAGS" = set; then
2022 CFLAGS
=$ac_save_CFLAGS
2023 elif test $ac_cv_prog_cc_g = yes; then
2024 if test "$GCC" = yes; then
2030 if test "$GCC" = yes; then
2036 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2037 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2038 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 ac_cv_prog_cc_stdc
=no
2043 cat >conftest.
$ac_ext <<_ACEOF
2046 cat confdefs.h
>>conftest.
$ac_ext
2047 cat >>conftest.
$ac_ext <<_ACEOF
2048 /* end confdefs.h. */
2051 #include <sys/types.h>
2052 #include <sys/stat.h>
2053 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2054 struct buf { int x; };
2055 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2056 static char *e (p, i)
2062 static char *f (char * (*g) (char **, int), char **p, ...)
2067 s = g (p, va_arg (v,int));
2072 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2073 function prototypes and stuff, but not '\xHH' hex character constants.
2074 These don't provoke an error unfortunately, instead are silently treated
2075 as 'x'. The following induces an error, until -std1 is added to get
2076 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2077 array size at least. It's necessary to write '\x00'==0 to get something
2078 that's true only with -std1. */
2079 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2081 int test (int i, double x);
2082 struct s1 {int (*f) (int a);};
2083 struct s2 {int (*f) (double a);};
2084 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2090 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2095 # Don't try gcc -ansi; that turns off useful extensions and
2096 # breaks some systems' header files.
2097 # AIX -qlanglvl=ansi
2098 # Ultrix and OSF/1 -std1
2099 # HP-UX 10.20 and later -Ae
2100 # HP-UX older versions -Aa -D_HPUX_SOURCE
2101 # SVR4 -Xc -D__EXTENSIONS__
2102 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2104 CC
="$ac_save_CC $ac_arg"
2105 rm -f conftest.
$ac_objext
2106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2107 (eval $ac_compile) 2>conftest.er1
2109 grep -v '^ *+' conftest.er1
>conftest.err
2111 cat conftest.err
>&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); } &&
2114 { ac_try
='test -z "$ac_c_werror_flag"
2115 || test ! -s conftest.err'
2116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; } &&
2121 { ac_try
='test -s conftest.$ac_objext'
2122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); }; }; then
2127 ac_cv_prog_cc_stdc
=$ac_arg
2130 echo "$as_me: failed program was:" >&5
2131 sed 's/^/| /' conftest.
$ac_ext >&5
2134 rm -f conftest.err conftest.
$ac_objext
2136 rm -f conftest.
$ac_ext conftest.
$ac_objext
2141 case "x$ac_cv_prog_cc_stdc" in
2143 echo "$as_me:$LINENO: result: none needed" >&5
2144 echo "${ECHO_T}none needed" >&6 ;;
2146 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2147 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2148 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2151 # Some people use a C++ compiler to compile C. Since we use `exit',
2152 # in C++ we need to declare it. In case someone uses the same compiler
2153 # for both compiling C and C++ we need to have the C++ compiler decide
2154 # the declaration of exit, since it's the most demanding environment.
2155 cat >conftest.
$ac_ext <<_ACEOF
2160 rm -f conftest.
$ac_objext
2161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2162 (eval $ac_compile) 2>conftest.er1
2164 grep -v '^ *+' conftest.er1
>conftest.err
2166 cat conftest.err
>&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); } &&
2169 { ac_try
='test -z "$ac_c_werror_flag"
2170 || test ! -s conftest.err'
2171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; } &&
2176 { ac_try
='test -s conftest.$ac_objext'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; }; then
2182 for ac_declaration
in \
2184 'extern "C" void std::exit (int) throw (); using std::exit;' \
2185 'extern "C" void std::exit (int); using std::exit;' \
2186 'extern "C" void exit (int) throw ();' \
2187 'extern "C" void exit (int);' \
2190 cat >conftest.
$ac_ext <<_ACEOF
2193 cat confdefs.h
>>conftest.
$ac_ext
2194 cat >>conftest.
$ac_ext <<_ACEOF
2195 /* end confdefs.h. */
2206 rm -f conftest.
$ac_objext
2207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2208 (eval $ac_compile) 2>conftest.er1
2210 grep -v '^ *+' conftest.er1
>conftest.err
2212 cat conftest.err
>&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); } &&
2215 { ac_try
='test -z "$ac_c_werror_flag"
2216 || test ! -s conftest.err'
2217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); }; } &&
2222 { ac_try
='test -s conftest.$ac_objext'
2223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); }; }; then
2230 echo "$as_me: failed program was:" >&5
2231 sed 's/^/| /' conftest.
$ac_ext >&5
2235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2236 cat >conftest.
$ac_ext <<_ACEOF
2239 cat confdefs.h
>>conftest.
$ac_ext
2240 cat >>conftest.
$ac_ext <<_ACEOF
2241 /* end confdefs.h. */
2251 rm -f conftest.
$ac_objext
2252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2253 (eval $ac_compile) 2>conftest.er1
2255 grep -v '^ *+' conftest.er1
>conftest.err
2257 cat conftest.err
>&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); } &&
2260 { ac_try
='test -z "$ac_c_werror_flag"
2261 || test ! -s conftest.err'
2262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); }; } &&
2267 { ac_try
='test -s conftest.$ac_objext'
2268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); }; }; then
2275 echo "$as_me: failed program was:" >&5
2276 sed 's/^/| /' conftest.
$ac_ext >&5
2279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2282 if test -n "$ac_declaration"; then
2283 echo '#ifdef __cplusplus' >>confdefs.h
2284 echo $ac_declaration >>confdefs.h
2285 echo '#endif' >>confdefs.h
2289 echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.
$ac_ext >&5
2293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2295 ac_cpp
='$CPP $CPPFLAGS'
2296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2301 cat >>confdefs.h
<<\_ACEOF
2302 #define _GNU_SOURCE 1
2308 ac_cpp
='$CPP $CPPFLAGS'
2309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2312 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2313 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2314 # On Suns, sometimes $CPP names a directory.
2315 if test -n "$CPP" && test -d "$CPP"; then
2318 if test -z "$CPP"; then
2319 if test "${ac_cv_prog_CPP+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 # Double quotes because CPP needs to be expanded
2323 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2326 for ac_c_preproc_warn_flag
in '' yes
2328 # Use a header file that comes with gcc, so configuring glibc
2329 # with a fresh cross-compiler works.
2330 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2331 # <limits.h> exists even on freestanding compilers.
2332 # On the NeXT, cc -E runs the code through the compiler's parser,
2333 # not just through cpp. "Syntax error" is here to catch this case.
2334 cat >conftest.
$ac_ext <<_ACEOF
2337 cat confdefs.h
>>conftest.
$ac_ext
2338 cat >>conftest.
$ac_ext <<_ACEOF
2339 /* end confdefs.h. */
2341 # include <limits.h>
2343 # include <assert.h>
2347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2350 grep -v '^ *+' conftest.er1
>conftest.err
2352 cat conftest.err
>&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); } >/dev
/null
; then
2355 if test -s conftest.err
; then
2356 ac_cpp_err
=$ac_c_preproc_warn_flag
2357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2364 if test -z "$ac_cpp_err"; then
2367 echo "$as_me: failed program was:" >&5
2368 sed 's/^/| /' conftest.
$ac_ext >&5
2370 # Broken: fails on valid input.
2373 rm -f conftest.err conftest.
$ac_ext
2375 # OK, works on sane cases. Now check whether non-existent headers
2376 # can be detected and how.
2377 cat >conftest.
$ac_ext <<_ACEOF
2380 cat confdefs.h
>>conftest.
$ac_ext
2381 cat >>conftest.
$ac_ext <<_ACEOF
2382 /* end confdefs.h. */
2383 #include <ac_nonexistent.h>
2385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2386 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2388 grep -v '^ *+' conftest.er1
>conftest.err
2390 cat conftest.err
>&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); } >/dev
/null
; then
2393 if test -s conftest.err
; then
2394 ac_cpp_err
=$ac_c_preproc_warn_flag
2395 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2402 if test -z "$ac_cpp_err"; then
2403 # Broken: success on invalid input.
2406 echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.
$ac_ext >&5
2409 # Passes both tests.
2413 rm -f conftest.err conftest.
$ac_ext
2416 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2417 rm -f conftest.err conftest.
$ac_ext
2418 if $ac_preproc_ok; then
2430 echo "$as_me:$LINENO: result: $CPP" >&5
2431 echo "${ECHO_T}$CPP" >&6
2433 for ac_c_preproc_warn_flag
in '' yes
2435 # Use a header file that comes with gcc, so configuring glibc
2436 # with a fresh cross-compiler works.
2437 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2438 # <limits.h> exists even on freestanding compilers.
2439 # On the NeXT, cc -E runs the code through the compiler's parser,
2440 # not just through cpp. "Syntax error" is here to catch this case.
2441 cat >conftest.
$ac_ext <<_ACEOF
2444 cat confdefs.h
>>conftest.
$ac_ext
2445 cat >>conftest.
$ac_ext <<_ACEOF
2446 /* end confdefs.h. */
2448 # include <limits.h>
2450 # include <assert.h>
2454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2455 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2457 grep -v '^ *+' conftest.er1
>conftest.err
2459 cat conftest.err
>&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); } >/dev
/null
; then
2462 if test -s conftest.err
; then
2463 ac_cpp_err
=$ac_c_preproc_warn_flag
2464 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2471 if test -z "$ac_cpp_err"; then
2474 echo "$as_me: failed program was:" >&5
2475 sed 's/^/| /' conftest.
$ac_ext >&5
2477 # Broken: fails on valid input.
2480 rm -f conftest.err conftest.
$ac_ext
2482 # OK, works on sane cases. Now check whether non-existent headers
2483 # can be detected and how.
2484 cat >conftest.
$ac_ext <<_ACEOF
2487 cat confdefs.h
>>conftest.
$ac_ext
2488 cat >>conftest.
$ac_ext <<_ACEOF
2489 /* end confdefs.h. */
2490 #include <ac_nonexistent.h>
2492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2493 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2495 grep -v '^ *+' conftest.er1
>conftest.err
2497 cat conftest.err
>&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); } >/dev
/null
; then
2500 if test -s conftest.err
; then
2501 ac_cpp_err
=$ac_c_preproc_warn_flag
2502 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2509 if test -z "$ac_cpp_err"; then
2510 # Broken: success on invalid input.
2513 echo "$as_me: failed program was:" >&5
2514 sed 's/^/| /' conftest.
$ac_ext >&5
2516 # Passes both tests.
2520 rm -f conftest.err conftest.
$ac_ext
2523 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2524 rm -f conftest.err conftest.
$ac_ext
2525 if $ac_preproc_ok; then
2528 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2529 See \`config.log' for more details." >&5
2530 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2531 See \`config.log' for more details." >&2;}
2532 { (exit 1); exit 1; }; }
2536 ac_cpp
='$CPP $CPPFLAGS'
2537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2542 echo "$as_me:$LINENO: checking for egrep" >&5
2543 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2544 if test "${ac_cv_prog_egrep+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2548 then ac_cv_prog_egrep
='grep -E'
2549 else ac_cv_prog_egrep
='egrep'
2552 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2553 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2554 EGREP
=$ac_cv_prog_egrep
2558 echo "$as_me:$LINENO: checking for AIX" >&5
2559 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2560 cat >conftest.
$ac_ext <<_ACEOF
2563 cat confdefs.h
>>conftest.
$ac_ext
2564 cat >>conftest.
$ac_ext <<_ACEOF
2565 /* end confdefs.h. */
2571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2572 $EGREP "yes" >/dev
/null
2>&1; then
2573 echo "$as_me:$LINENO: result: yes" >&5
2574 echo "${ECHO_T}yes" >&6
2575 cat >>confdefs.h
<<\_ACEOF
2576 #define _ALL_SOURCE 1
2580 echo "$as_me:$LINENO: result: no" >&5
2581 echo "${ECHO_T}no" >&6
2586 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2587 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2588 if test "${ac_cv_search_strerror+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 ac_func_search_save_LIBS
=$LIBS
2592 ac_cv_search_strerror
=no
2593 cat >conftest.
$ac_ext <<_ACEOF
2596 cat confdefs.h
>>conftest.
$ac_ext
2597 cat >>conftest.
$ac_ext <<_ACEOF
2598 /* end confdefs.h. */
2600 /* Override any gcc2 internal prototype to avoid an error. */
2604 /* We use char because int might match the return type of a gcc2
2605 builtin and then its argument prototype would still apply. */
2615 rm -f conftest.
$ac_objext conftest
$ac_exeext
2616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2617 (eval $ac_link) 2>conftest.er1
2619 grep -v '^ *+' conftest.er1
>conftest.err
2621 cat conftest.err
>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); } &&
2624 { ac_try
='test -z "$ac_c_werror_flag"
2625 || test ! -s conftest.err'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; } &&
2631 { ac_try
='test -s conftest$ac_exeext'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; }; then
2637 ac_cv_search_strerror
="none required"
2639 echo "$as_me: failed program was:" >&5
2640 sed 's/^/| /' conftest.
$ac_ext >&5
2643 rm -f conftest.err conftest.
$ac_objext \
2644 conftest
$ac_exeext conftest.
$ac_ext
2645 if test "$ac_cv_search_strerror" = no
; then
2646 for ac_lib
in cposix
; do
2647 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2648 cat >conftest.
$ac_ext <<_ACEOF
2651 cat confdefs.h
>>conftest.
$ac_ext
2652 cat >>conftest.
$ac_ext <<_ACEOF
2653 /* end confdefs.h. */
2655 /* Override any gcc2 internal prototype to avoid an error. */
2659 /* We use char because int might match the return type of a gcc2
2660 builtin and then its argument prototype would still apply. */
2670 rm -f conftest.
$ac_objext conftest
$ac_exeext
2671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2672 (eval $ac_link) 2>conftest.er1
2674 grep -v '^ *+' conftest.er1
>conftest.err
2676 cat conftest.err
>&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); } &&
2679 { ac_try
='test -z "$ac_c_werror_flag"
2680 || test ! -s conftest.err'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; } &&
2686 { ac_try
='test -s conftest$ac_exeext'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; }; then
2692 ac_cv_search_strerror
="-l$ac_lib"
2695 echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.
$ac_ext >&5
2699 rm -f conftest.err conftest.
$ac_objext \
2700 conftest
$ac_exeext conftest.
$ac_ext
2703 LIBS
=$ac_func_search_save_LIBS
2705 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2706 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2707 if test "$ac_cv_search_strerror" != no
; then
2708 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2715 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2716 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2717 if test "${am_cv_prog_cc_stdc+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 am_cv_prog_cc_stdc
=no
2722 # Don't try gcc -ansi; that turns off useful extensions and
2723 # breaks some systems' header files.
2724 # AIX -qlanglvl=ansi
2725 # Ultrix and OSF/1 -std1
2726 # HP-UX 10.20 and later -Ae
2727 # HP-UX older versions -Aa -D_HPUX_SOURCE
2728 # SVR4 -Xc -D__EXTENSIONS__
2729 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2731 CC
="$ac_save_CC $ac_arg"
2732 cat >conftest.
$ac_ext <<_ACEOF
2735 cat confdefs.h
>>conftest.
$ac_ext
2736 cat >>conftest.
$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2740 #include <sys/types.h>
2741 #include <sys/stat.h>
2742 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2743 struct buf { int x; };
2744 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2745 static char *e (p, i)
2751 static char *f (char * (*g) (char **, int), char **p, ...)
2756 s = g (p, va_arg (v,int));
2760 int test (int i, double x);
2761 struct s1 {int (*f) (int a);};
2762 struct s2 {int (*f) (double a);};
2763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2771 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2777 rm -f conftest.
$ac_objext
2778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2779 (eval $ac_compile) 2>conftest.er1
2781 grep -v '^ *+' conftest.er1
>conftest.err
2783 cat conftest.err
>&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); } &&
2786 { ac_try
='test -z "$ac_c_werror_flag"
2787 || test ! -s conftest.err'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; } &&
2793 { ac_try
='test -s conftest.$ac_objext'
2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; }; then
2799 am_cv_prog_cc_stdc
="$ac_arg"; break
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.
$ac_ext >&5
2805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2811 if test -z "$am_cv_prog_cc_stdc"; then
2812 echo "$as_me:$LINENO: result: none needed" >&5
2813 echo "${ECHO_T}none needed" >&6
2815 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2816 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2818 case "x$am_cv_prog_cc_stdc" in
2820 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2825 for ac_dir
in `cd $srcdir;pwd`/..
$srcdir/`cd $srcdir;pwd`/..
; do
2826 if test -f $ac_dir/install-sh
; then
2828 ac_install_sh
="$ac_aux_dir/install-sh -c"
2830 elif test -f $ac_dir/install.sh
; then
2832 ac_install_sh
="$ac_aux_dir/install.sh -c"
2834 elif test -f $ac_dir/shtool
; then
2836 ac_install_sh
="$ac_aux_dir/shtool install -c"
2840 if test -z "$ac_aux_dir"; then
2841 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&5
2842 echo "$as_me: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&2;}
2843 { (exit 1); exit 1; }; }
2845 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2846 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2847 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2849 # Make sure we can run config.sub.
2850 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2851 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2852 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2853 { (exit 1); exit 1; }; }
2855 echo "$as_me:$LINENO: checking build system type" >&5
2856 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2857 if test "${ac_cv_build+set}" = set; then
2858 echo $ECHO_N "(cached) $ECHO_C" >&6
2860 ac_cv_build_alias
=$build_alias
2861 test -z "$ac_cv_build_alias" &&
2862 ac_cv_build_alias
=`$ac_config_guess`
2863 test -z "$ac_cv_build_alias" &&
2864 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2865 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2866 { (exit 1); exit 1; }; }
2867 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2868 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2869 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2870 { (exit 1); exit 1; }; }
2873 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2874 echo "${ECHO_T}$ac_cv_build" >&6
2876 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2877 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2878 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2881 echo "$as_me:$LINENO: checking host system type" >&5
2882 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2883 if test "${ac_cv_host+set}" = set; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 ac_cv_host_alias
=$host_alias
2887 test -z "$ac_cv_host_alias" &&
2888 ac_cv_host_alias
=$ac_cv_build_alias
2889 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2890 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2891 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2892 { (exit 1); exit 1; }; }
2895 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2896 echo "${ECHO_T}$ac_cv_host" >&6
2898 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2899 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2900 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2903 echo "$as_me:$LINENO: checking target system type" >&5
2904 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2905 if test "${ac_cv_target+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2908 ac_cv_target_alias
=$target_alias
2909 test "x$ac_cv_target_alias" = "x" &&
2910 ac_cv_target_alias
=$ac_cv_host_alias
2911 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2912 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2913 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2914 { (exit 1); exit 1; }; }
2917 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2918 echo "${ECHO_T}$ac_cv_target" >&6
2919 target
=$ac_cv_target
2920 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2921 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2922 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2925 # The aliases save the names the user supplied, while $host etc.
2926 # will get canonicalized.
2927 test -n "$target_alias" &&
2928 test "$program_prefix$program_suffix$program_transform_name" = \
2930 program_prefix
=${target_alias}-
2943 # If we haven't got the data from the intl directory,
2944 # assume NLS is disabled.
2953 if test -f ..
/intl
/config.intl
; then
2954 . ..
/intl
/config.intl
2956 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2957 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2958 if test x
"$USE_NLS" != xyes
; then
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2962 echo "$as_me:$LINENO: result: yes" >&5
2963 echo "${ECHO_T}yes" >&6
2965 cat >>confdefs.h
<<\_ACEOF
2966 #define ENABLE_NLS 1
2970 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2971 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2972 # Look for .po and .gmo files in the source directory.
2975 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2976 # If there aren't any .gmo files the shell will give us the
2977 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2979 case "$cat" in *\
**)
2982 # The quadruple backslash is collapsed to a double backslash
2983 # by the backticks, then collapsed again by the double quotes,
2984 # leaving us with one backslash in the sed expression (right
2985 # before the dot that mustn't act as a wildcard).
2986 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2987 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2988 # The user is allowed to set LINGUAS to a list of languages to
2989 # install catalogs for. If it's empty that means "all of them."
2990 if test "x$LINGUAS" = x
; then
2991 CATALOGS
="$CATALOGS $cat"
2992 XLINGUAS
="$XLINGUAS $lang"
2994 case "$LINGUAS" in *$lang*)
2995 CATALOGS
="$CATALOGS $cat"
2996 XLINGUAS
="$XLINGUAS $lang"
3002 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3003 echo "${ECHO_T}$LINGUAS" >&6
3016 localedir
='${datadir}/locale'
3019 if test x
"$USE_NLS" = xyes
; then
3020 CONFIG_ALL
="$CONFIG_ALL all-po"
3021 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3022 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3023 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3028 cat >>confdefs.h
<<_ACEOF
3029 #define PACKAGE "$PACKAGE"
3034 debugdir
=${libdir}/debug
3037 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
3038 if test "${with_separate_debug_dir+set}" = set; then
3039 withval
="$with_separate_debug_dir"
3040 debugdir
="${withval}"
3044 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
3045 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3046 ac_define_dir
=`eval echo $debugdir`
3047 ac_define_dir
=`eval echo $ac_define_dir`
3049 cat >>confdefs.h
<<_ACEOF
3050 #define DEBUGDIR "$ac_define_dir"
3054 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
3056 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
3057 if test "x$prefix" = xNONE
; then
3058 test_prefix
=/usr
/local
3063 test_prefix
=$exec_prefix
3066 "${test_prefix}"|
"${test_prefix}/"*|\
3067 '${exec_prefix}'|
'${exec_prefix}/'*)
3069 cat >>confdefs.h
<<\_ACEOF
3070 #define DEBUGDIR_RELOCATABLE 1
3078 subdirs
="$subdirs doc testsuite"
3081 # Provide defaults for some variables set by the per-host and per-target
3083 gdb_host_obs
=posix-hdep.o
3085 if test "${target}" = "${host}"; then
3091 .
$srcdir/configure.
host
3093 .
$srcdir/configure.tgt
3095 # Fetch the default architecture and default target vector from BFD.
3096 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
3098 # We only want the first architecture, so strip off the others if
3099 # there is more than one.
3100 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
3102 if test "x$targ_archs" != x
; then
3104 cat >>confdefs.h
<<_ACEOF
3105 #define DEFAULT_BFD_ARCH $targ_archs
3109 if test "x$targ_defvec" != x
; then
3111 cat >>confdefs.h
<<_ACEOF
3112 #define DEFAULT_BFD_VEC $targ_defvec
3117 test "$program_prefix" != NONE
&&
3118 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3119 # Use a double $ so make ignores it.
3120 test "$program_suffix" != NONE
&&
3121 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3122 # Double any \ or $. echo might interpret backslashes.
3123 # By default was `s,x,x', remove it if useless.
3124 cat <<\_ACEOF
>conftest.
sed
3125 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3127 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3131 # The CLI cannot be disabled yet, but may be in the future.
3134 # Check whether --enable-gdbcli or --disable-gdbcli was given.
3135 if test "${enable_gdbcli+set}" = set; then
3136 enableval
="$enable_gdbcli"
3141 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
3142 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
3143 { (exit 1); exit 1; }; } ;;
3145 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
3146 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
3147 { (exit 1); exit 1; }; } ;;
3152 if test x
"$enable_gdbcli" = xyes
; then
3153 if test -d $srcdir/cli
; then
3154 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
3155 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
3156 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
3157 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
3162 # Check whether --enable-gdbmi or --disable-gdbmi was given.
3163 if test "${enable_gdbmi+set}" = set; then
3164 enableval
="$enable_gdbmi"
3169 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
3170 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
3171 { (exit 1); exit 1; }; } ;;
3176 if test x
"$enable_gdbmi" = xyes
; then
3177 if test -d $srcdir/mi
; then
3178 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
3179 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
3180 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
3181 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
3186 # Check whether --enable-tui or --disable-tui was given.
3187 if test "${enable_tui+set}" = set; then
3188 enableval
="$enable_tui"
3193 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
3194 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
3195 { (exit 1); exit 1; }; } ;;
3202 # Check whether --enable-gdbtk or --disable-gdbtk was given.
3203 if test "${enable_gdbtk+set}" = set; then
3204 enableval
="$enable_gdbtk"
3209 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
3210 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
3211 { (exit 1); exit 1; }; } ;;
3214 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
3220 # We unconditionally disable gdbtk tests on selected platforms.
3223 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
3224 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
3228 # Libunwind support.
3229 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3230 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3231 if test "${ac_cv_header_stdc+set}" = set; then
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
3234 cat >conftest.
$ac_ext <<_ACEOF
3237 cat confdefs.h
>>conftest.
$ac_ext
3238 cat >>conftest.
$ac_ext <<_ACEOF
3239 /* end confdefs.h. */
3253 rm -f conftest.
$ac_objext
3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3255 (eval $ac_compile) 2>conftest.er1
3257 grep -v '^ *+' conftest.er1
>conftest.err
3259 cat conftest.err
>&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } &&
3262 { ac_try
='test -z "$ac_c_werror_flag"
3263 || test ! -s conftest.err'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; } &&
3269 { ac_try
='test -s conftest.$ac_objext'
3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }; }; then
3275 ac_cv_header_stdc
=yes
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.
$ac_ext >&5
3280 ac_cv_header_stdc
=no
3282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3284 if test $ac_cv_header_stdc = yes; then
3285 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3286 cat >conftest.
$ac_ext <<_ACEOF
3289 cat confdefs.h
>>conftest.
$ac_ext
3290 cat >>conftest.
$ac_ext <<_ACEOF
3291 /* end confdefs.h. */
3295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3296 $EGREP "memchr" >/dev
/null
2>&1; then
3299 ac_cv_header_stdc
=no
3305 if test $ac_cv_header_stdc = yes; then
3306 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3307 cat >conftest.
$ac_ext <<_ACEOF
3310 cat confdefs.h
>>conftest.
$ac_ext
3311 cat >>conftest.
$ac_ext <<_ACEOF
3312 /* end confdefs.h. */
3316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3317 $EGREP "free" >/dev
/null
2>&1; then
3320 ac_cv_header_stdc
=no
3326 if test $ac_cv_header_stdc = yes; then
3327 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3328 if test "$cross_compiling" = yes; then
3331 cat >conftest.
$ac_ext <<_ACEOF
3334 cat confdefs.h
>>conftest.
$ac_ext
3335 cat >>conftest.
$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3338 #if ((' ' & 0x0FF) == 0x020)
3339 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3340 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3342 # define ISLOWER(c) \
3343 (('a' <= (c) && (c) <= 'i') \
3344 || ('j' <= (c) && (c) <= 'r') \
3345 || ('s' <= (c) && (c) <= 'z'))
3346 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3349 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3354 for (i = 0; i < 256; i++)
3355 if (XOR (islower (i), ISLOWER (i))
3356 || toupper (i) != TOUPPER (i))
3361 rm -f conftest
$ac_exeext
3362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3363 (eval $ac_link) 2>&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }; }; then
3374 echo "$as_me: program exited with status $ac_status" >&5
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.
$ac_ext >&5
3379 ac_cv_header_stdc
=no
3381 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3385 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3386 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3387 if test $ac_cv_header_stdc = yes; then
3389 cat >>confdefs.h
<<\_ACEOF
3390 #define STDC_HEADERS 1
3395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3405 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3406 inttypes.h stdint.h unistd.h
3408 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3409 echo "$as_me:$LINENO: checking for $ac_header" >&5
3410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 cat >conftest.
$ac_ext <<_ACEOF
3417 cat confdefs.h
>>conftest.
$ac_ext
3418 cat >>conftest.
$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3420 $ac_includes_default
3422 #include <$ac_header>
3424 rm -f conftest.
$ac_objext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 (eval $ac_compile) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1
>conftest.err
3430 cat conftest.err
>&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try
='test -z "$ac_c_werror_flag"
3434 || test ! -s conftest.err'
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }; } &&
3440 { ac_try
='test -s conftest.$ac_objext'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; }; then
3446 eval "$as_ac_Header=yes"
3448 echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.
$ac_ext >&5
3451 eval "$as_ac_Header=no"
3453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3458 cat >>confdefs.h
<<_ACEOF
3459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3468 # Check whether --with-libunwind or --without-libunwind was given.
3469 if test "${with_libunwind+set}" = set; then
3470 withval
="$with_libunwind"
3471 case "${withval}" in
3472 yes) enable_libunwind
=yes ;;
3473 no
) enable_libunwind
=no
;;
3474 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
3475 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
3476 { (exit 1); exit 1; }; } ;;
3481 for ac_header
in libunwind.h
3483 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3485 echo "$as_me:$LINENO: checking for $ac_header" >&5
3486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3493 # Is the header compilable?
3494 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3495 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3496 cat >conftest.
$ac_ext <<_ACEOF
3499 cat confdefs.h
>>conftest.
$ac_ext
3500 cat >>conftest.
$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3502 $ac_includes_default
3503 #include <$ac_header>
3505 rm -f conftest.
$ac_objext
3506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3507 (eval $ac_compile) 2>conftest.er1
3509 grep -v '^ *+' conftest.er1
>conftest.err
3511 cat conftest.err
>&5
3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); } &&
3514 { ac_try
='test -z "$ac_c_werror_flag"
3515 || test ! -s conftest.err'
3516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); }; } &&
3521 { ac_try
='test -s conftest.$ac_objext'
3522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; }; then
3527 ac_header_compiler
=yes
3529 echo "$as_me: failed program was:" >&5
3530 sed 's/^/| /' conftest.
$ac_ext >&5
3532 ac_header_compiler
=no
3534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3535 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3536 echo "${ECHO_T}$ac_header_compiler" >&6
3538 # Is the header present?
3539 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3541 cat >conftest.
$ac_ext <<_ACEOF
3544 cat confdefs.h
>>conftest.
$ac_ext
3545 cat >>conftest.
$ac_ext <<_ACEOF
3546 /* end confdefs.h. */
3547 #include <$ac_header>
3549 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3550 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3552 grep -v '^ *+' conftest.er1
>conftest.err
3554 cat conftest.err
>&5
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); } >/dev
/null
; then
3557 if test -s conftest.err
; then
3558 ac_cpp_err
=$ac_c_preproc_warn_flag
3559 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3566 if test -z "$ac_cpp_err"; then
3567 ac_header_preproc
=yes
3569 echo "$as_me: failed program was:" >&5
3570 sed 's/^/| /' conftest.
$ac_ext >&5
3572 ac_header_preproc
=no
3574 rm -f conftest.err conftest.
$ac_ext
3575 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3576 echo "${ECHO_T}$ac_header_preproc" >&6
3578 # So? What about this header?
3579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3585 ac_header_preproc
=yes
3588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3602 ## ------------------------------------------ ##
3603 ## Report this to the AC_PACKAGE_NAME lists. ##
3604 ## ------------------------------------------ ##
3607 sed "s/^/$as_me: WARNING: /" >&2
3610 echo "$as_me:$LINENO: checking for $ac_header" >&5
3611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 eval "$as_ac_Header=\$ac_header_preproc"
3617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3622 cat >>confdefs.h
<<_ACEOF
3623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3631 for ac_header
in libunwind-ia64.h
3633 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3635 echo "$as_me:$LINENO: checking for $ac_header" >&5
3636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3638 echo $ECHO_N "(cached) $ECHO_C" >&6
3640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3643 # Is the header compilable?
3644 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3645 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3646 cat >conftest.
$ac_ext <<_ACEOF
3649 cat confdefs.h
>>conftest.
$ac_ext
3650 cat >>conftest.
$ac_ext <<_ACEOF
3651 /* end confdefs.h. */
3652 $ac_includes_default
3653 #include <$ac_header>
3655 rm -f conftest.
$ac_objext
3656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3657 (eval $ac_compile) 2>conftest.er1
3659 grep -v '^ *+' conftest.er1
>conftest.err
3661 cat conftest.err
>&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } &&
3664 { ac_try
='test -z "$ac_c_werror_flag"
3665 || test ! -s conftest.err'
3666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); }; } &&
3671 { ac_try
='test -s conftest.$ac_objext'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; }; then
3677 ac_header_compiler
=yes
3679 echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.
$ac_ext >&5
3682 ac_header_compiler
=no
3684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3686 echo "${ECHO_T}$ac_header_compiler" >&6
3688 # Is the header present?
3689 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3691 cat >conftest.
$ac_ext <<_ACEOF
3694 cat confdefs.h
>>conftest.
$ac_ext
3695 cat >>conftest.
$ac_ext <<_ACEOF
3696 /* end confdefs.h. */
3697 #include <$ac_header>
3699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3700 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3702 grep -v '^ *+' conftest.er1
>conftest.err
3704 cat conftest.err
>&5
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); } >/dev
/null
; then
3707 if test -s conftest.err
; then
3708 ac_cpp_err
=$ac_c_preproc_warn_flag
3709 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3716 if test -z "$ac_cpp_err"; then
3717 ac_header_preproc
=yes
3719 echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.
$ac_ext >&5
3722 ac_header_preproc
=no
3724 rm -f conftest.err conftest.
$ac_ext
3725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3726 echo "${ECHO_T}$ac_header_preproc" >&6
3728 # So? What about this header?
3729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3731 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3732 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3734 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3735 ac_header_preproc
=yes
3738 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3739 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3740 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3741 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3742 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3743 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3744 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3745 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3748 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3749 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3752 ## ------------------------------------------ ##
3753 ## Report this to the AC_PACKAGE_NAME lists. ##
3754 ## ------------------------------------------ ##
3757 sed "s/^/$as_me: WARNING: /" >&2
3760 echo "$as_me:$LINENO: checking for $ac_header" >&5
3761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3763 echo $ECHO_N "(cached) $ECHO_C" >&6
3765 eval "$as_ac_Header=\$ac_header_preproc"
3767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3772 cat >>confdefs.h
<<_ACEOF
3773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3780 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
3781 enable_libunwind
=yes;
3786 if test x
"$enable_libunwind" = xyes
; then
3788 for ac_header
in libunwind.h
3790 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3792 echo "$as_me:$LINENO: checking for $ac_header" >&5
3793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3795 echo $ECHO_N "(cached) $ECHO_C" >&6
3797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3800 # Is the header compilable?
3801 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3802 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3803 cat >conftest.
$ac_ext <<_ACEOF
3806 cat confdefs.h
>>conftest.
$ac_ext
3807 cat >>conftest.
$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3809 $ac_includes_default
3810 #include <$ac_header>
3812 rm -f conftest.
$ac_objext
3813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3814 (eval $ac_compile) 2>conftest.er1
3816 grep -v '^ *+' conftest.er1
>conftest.err
3818 cat conftest.err
>&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); } &&
3821 { ac_try
='test -z "$ac_c_werror_flag"
3822 || test ! -s conftest.err'
3823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); }; } &&
3828 { ac_try
='test -s conftest.$ac_objext'
3829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); }; }; then
3834 ac_header_compiler
=yes
3836 echo "$as_me: failed program was:" >&5
3837 sed 's/^/| /' conftest.
$ac_ext >&5
3839 ac_header_compiler
=no
3841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3842 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3843 echo "${ECHO_T}$ac_header_compiler" >&6
3845 # Is the header present?
3846 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3847 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3848 cat >conftest.
$ac_ext <<_ACEOF
3851 cat confdefs.h
>>conftest.
$ac_ext
3852 cat >>conftest.
$ac_ext <<_ACEOF
3853 /* end confdefs.h. */
3854 #include <$ac_header>
3856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3857 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3859 grep -v '^ *+' conftest.er1
>conftest.err
3861 cat conftest.err
>&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); } >/dev
/null
; then
3864 if test -s conftest.err
; then
3865 ac_cpp_err
=$ac_c_preproc_warn_flag
3866 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3873 if test -z "$ac_cpp_err"; then
3874 ac_header_preproc
=yes
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.
$ac_ext >&5
3879 ac_header_preproc
=no
3881 rm -f conftest.err conftest.
$ac_ext
3882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3883 echo "${ECHO_T}$ac_header_preproc" >&6
3885 # So? What about this header?
3886 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3888 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3889 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3891 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3892 ac_header_preproc
=yes
3895 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3896 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3897 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3898 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3899 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3900 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3901 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3902 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3904 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3905 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3906 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3909 ## ------------------------------------------ ##
3910 ## Report this to the AC_PACKAGE_NAME lists. ##
3911 ## ------------------------------------------ ##
3914 sed "s/^/$as_me: WARNING: /" >&2
3917 echo "$as_me:$LINENO: checking for $ac_header" >&5
3918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3922 eval "$as_ac_Header=\$ac_header_preproc"
3924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3929 cat >>confdefs.h
<<_ACEOF
3930 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3938 for ac_header
in libunwind-ia64.h
3940 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3942 echo "$as_me:$LINENO: checking for $ac_header" >&5
3943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3950 # Is the header compilable?
3951 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3953 cat >conftest.
$ac_ext <<_ACEOF
3956 cat confdefs.h
>>conftest.
$ac_ext
3957 cat >>conftest.
$ac_ext <<_ACEOF
3958 /* end confdefs.h. */
3959 $ac_includes_default
3960 #include <$ac_header>
3962 rm -f conftest.
$ac_objext
3963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3964 (eval $ac_compile) 2>conftest.er1
3966 grep -v '^ *+' conftest.er1
>conftest.err
3968 cat conftest.err
>&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } &&
3971 { ac_try
='test -z "$ac_c_werror_flag"
3972 || test ! -s conftest.err'
3973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; } &&
3978 { ac_try
='test -s conftest.$ac_objext'
3979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); }; }; then
3984 ac_header_compiler
=yes
3986 echo "$as_me: failed program was:" >&5
3987 sed 's/^/| /' conftest.
$ac_ext >&5
3989 ac_header_compiler
=no
3991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3993 echo "${ECHO_T}$ac_header_compiler" >&6
3995 # Is the header present?
3996 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3997 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3998 cat >conftest.
$ac_ext <<_ACEOF
4001 cat confdefs.h
>>conftest.
$ac_ext
4002 cat >>conftest.
$ac_ext <<_ACEOF
4003 /* end confdefs.h. */
4004 #include <$ac_header>
4006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4009 grep -v '^ *+' conftest.er1
>conftest.err
4011 cat conftest.err
>&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); } >/dev
/null
; then
4014 if test -s conftest.err
; then
4015 ac_cpp_err
=$ac_c_preproc_warn_flag
4016 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4023 if test -z "$ac_cpp_err"; then
4024 ac_header_preproc
=yes
4026 echo "$as_me: failed program was:" >&5
4027 sed 's/^/| /' conftest.
$ac_ext >&5
4029 ac_header_preproc
=no
4031 rm -f conftest.err conftest.
$ac_ext
4032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4033 echo "${ECHO_T}$ac_header_preproc" >&6
4035 # So? What about this header?
4036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4038 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4041 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4042 ac_header_preproc
=yes
4045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4049 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4050 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4051 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4052 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4054 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4055 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4056 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4059 ## ------------------------------------------ ##
4060 ## Report this to the AC_PACKAGE_NAME lists. ##
4061 ## ------------------------------------------ ##
4064 sed "s/^/$as_me: WARNING: /" >&2
4067 echo "$as_me:$LINENO: checking for $ac_header" >&5
4068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4070 echo $ECHO_N "(cached) $ECHO_C" >&6
4072 eval "$as_ac_Header=\$ac_header_preproc"
4074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4079 cat >>confdefs.h
<<_ACEOF
4080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4088 cat >>confdefs.h
<<\_ACEOF
4089 #define HAVE_LIBUNWIND 1
4092 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
4093 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
4094 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
4097 # Profiling support.
4098 # Check whether --enable-profiling or --disable-profiling was given.
4099 if test "${enable_profiling+set}" = set; then
4100 enableval
="$enable_profiling"
4105 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
4106 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
4107 { (exit 1); exit 1; }; } ;;
4115 for ac_func
in monstartup _mcleanup
4117 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4118 echo "$as_me:$LINENO: checking for $ac_func" >&5
4119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4120 if eval "test \"\${$as_ac_var+set}\" = set"; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4123 cat >conftest.
$ac_ext <<_ACEOF
4126 cat confdefs.h
>>conftest.
$ac_ext
4127 cat >>conftest.
$ac_ext <<_ACEOF
4128 /* end confdefs.h. */
4129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4131 #define $ac_func innocuous_$ac_func
4133 /* System header to define __stub macros and hopefully few prototypes,
4134 which can conflict with char $ac_func (); below.
4135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4136 <limits.h> exists even on freestanding compilers. */
4139 # include <limits.h>
4141 # include <assert.h>
4146 /* Override any gcc2 internal prototype to avoid an error. */
4151 /* We use char because int might match the return type of a gcc2
4152 builtin and then its argument prototype would still apply. */
4154 /* The GNU C library defines this for functions which it implements
4155 to always fail with ENOSYS. Some functions are actually named
4156 something starting with __ and the normal name is an alias. */
4157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4160 char (*f) () = $ac_func;
4169 return f != $ac_func;
4174 rm -f conftest.
$ac_objext conftest
$ac_exeext
4175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4176 (eval $ac_link) 2>conftest.er1
4178 grep -v '^ *+' conftest.er1
>conftest.err
4180 cat conftest.err
>&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); } &&
4183 { ac_try
='test -z "$ac_c_werror_flag"
4184 || test ! -s conftest.err'
4185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); }; } &&
4190 { ac_try
='test -s conftest$ac_exeext'
4191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); }; }; then
4196 eval "$as_ac_var=yes"
4198 echo "$as_me: failed program was:" >&5
4199 sed 's/^/| /' conftest.
$ac_ext >&5
4201 eval "$as_ac_var=no"
4203 rm -f conftest.err conftest.
$ac_objext \
4204 conftest
$ac_exeext conftest.
$ac_ext
4206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4208 if test `eval echo '${'$as_ac_var'}'` = yes; then
4209 cat >>confdefs.h
<<_ACEOF
4210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4216 echo "$as_me:$LINENO: checking for _etext" >&5
4217 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
4218 if test "${ac_cv_var__etext+set}" = set; then
4219 echo $ECHO_N "(cached) $ECHO_C" >&6
4221 cat >conftest.
$ac_ext <<_ACEOF
4224 cat confdefs.h
>>conftest.
$ac_ext
4225 cat >>conftest.
$ac_ext <<_ACEOF
4226 /* end confdefs.h. */
4238 rm -f conftest.
$ac_objext conftest
$ac_exeext
4239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4240 (eval $ac_link) 2>conftest.er1
4242 grep -v '^ *+' conftest.er1
>conftest.err
4244 cat conftest.err
>&5
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); } &&
4247 { ac_try
='test -z "$ac_c_werror_flag"
4248 || test ! -s conftest.err'
4249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); }; } &&
4254 { ac_try
='test -s conftest$ac_exeext'
4255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 (exit $ac_status); }; }; then
4260 ac_cv_var__etext
=yes
4262 echo "$as_me: failed program was:" >&5
4263 sed 's/^/| /' conftest.
$ac_ext >&5
4267 rm -f conftest.err conftest.
$ac_objext \
4268 conftest
$ac_exeext conftest.
$ac_ext
4270 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
4271 echo "${ECHO_T}$ac_cv_var__etext" >&6
4272 if test $ac_cv_var__etext = yes; then
4274 cat >>confdefs.h
<<\_ACEOF
4275 #define HAVE__ETEXT 1
4279 if test "$enable_profiling" = yes ; then
4280 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
4281 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
4282 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
4283 { (exit 1); exit 1; }; }
4286 OLD_CFLAGS
="$CFLAGS"
4287 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
4289 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
4290 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
4291 if test "${ac_cv_cc_supports_pg+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4294 cat >conftest.
$ac_ext <<_ACEOF
4297 cat confdefs.h
>>conftest.
$ac_ext
4298 cat >>conftest.
$ac_ext <<_ACEOF
4299 /* end confdefs.h. */
4309 rm -f conftest.
$ac_objext
4310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4311 (eval $ac_compile) 2>conftest.er1
4313 grep -v '^ *+' conftest.er1
>conftest.err
4315 cat conftest.err
>&5
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); } &&
4318 { ac_try
='test -z "$ac_c_werror_flag"
4319 || test ! -s conftest.err'
4320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; } &&
4325 { ac_try
='test -s conftest.$ac_objext'
4326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); }; }; then
4331 ac_cv_cc_supports_pg
=yes
4333 echo "$as_me: failed program was:" >&5
4334 sed 's/^/| /' conftest.
$ac_ext >&5
4336 ac_cv_cc_supports_pg
=no
4338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4340 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
4341 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
4343 if test $ac_cv_cc_supports_pg = no
; then
4344 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
4345 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
4346 { (exit 1); exit 1; }; }
4349 CFLAGS
="$OLD_CFLAGS"
4352 # --------------------- #
4353 # Checks for programs. #
4354 # --------------------- #
4356 for ac_prog
in gawk mawk nawk
awk
4358 # Extract the first word of "$ac_prog", so it can be a program name with args.
4359 set dummy
$ac_prog; ac_word
=$2
4360 echo "$as_me:$LINENO: checking for $ac_word" >&5
4361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4362 if test "${ac_cv_prog_AWK+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 if test -n "$AWK"; then
4366 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4372 test -z "$as_dir" && as_dir
=.
4373 for ac_exec_ext
in '' $ac_executable_extensions; do
4374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4375 ac_cv_prog_AWK
="$ac_prog"
4376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4385 if test -n "$AWK"; then
4386 echo "$as_me:$LINENO: result: $AWK" >&5
4387 echo "${ECHO_T}$AWK" >&6
4389 echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6
4393 test -n "$AWK" && break
4396 # Find a good install program. We prefer a C program (faster),
4397 # so one script is as good as another. But avoid the broken or
4398 # incompatible versions:
4399 # SysV /etc/install, /usr/sbin/install
4400 # SunOS /usr/etc/install
4401 # IRIX /sbin/install
4403 # AmigaOS /C/install, which installs bootblocks on floppy discs
4404 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4405 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4406 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4407 # OS/2's system install, which has a completely different semantic
4408 # ./install, which can be erroneously created by make from ./install.sh.
4409 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4410 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4411 if test -z "$INSTALL"; then
4412 if test "${ac_cv_path_install+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir
=.
4420 # Account for people who put trailing slashes in PATH elements.
4422 .
/ | .
// |
/cC
/* | \
4423 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4424 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4427 # OSF1 and SCO ODT 3.0 have their own names for install.
4428 # Don't use installbsd from OSF since it installs stuff as root
4430 for ac_prog
in ginstall scoinst
install; do
4431 for ac_exec_ext
in '' $ac_executable_extensions; do
4432 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4433 if test $ac_prog = install &&
4434 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4435 # AIX install. It has an incompatible calling convention.
4437 elif test $ac_prog = install &&
4438 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4439 # program-specific install script used by HP pwplus--don't use.
4442 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4454 if test "${ac_cv_path_install+set}" = set; then
4455 INSTALL
=$ac_cv_path_install
4457 # As a last resort, use the slow shell script. We don't cache a
4458 # path for INSTALL within a source directory, because that will
4459 # break other packages using the cache if that directory is
4460 # removed, or if the path is relative.
4461 INSTALL
=$ac_install_sh
4464 echo "$as_me:$LINENO: result: $INSTALL" >&5
4465 echo "${ECHO_T}$INSTALL" >&6
4467 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4468 # It thinks the first close brace ends the variable substitution.
4469 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4471 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4473 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4475 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4476 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4478 if test "$LN_S" = "ln -s"; then
4479 echo "$as_me:$LINENO: result: yes" >&5
4480 echo "${ECHO_T}yes" >&6
4482 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4483 echo "${ECHO_T}no, using $LN_S" >&6
4486 if test -n "$ac_tool_prefix"; then
4487 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4488 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4489 echo "$as_me:$LINENO: checking for $ac_word" >&5
4490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4491 if test "${ac_cv_prog_RANLIB+set}" = set; then
4492 echo $ECHO_N "(cached) $ECHO_C" >&6
4494 if test -n "$RANLIB"; then
4495 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4501 test -z "$as_dir" && as_dir
=.
4502 for ac_exec_ext
in '' $ac_executable_extensions; do
4503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4504 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4513 RANLIB
=$ac_cv_prog_RANLIB
4514 if test -n "$RANLIB"; then
4515 echo "$as_me:$LINENO: result: $RANLIB" >&5
4516 echo "${ECHO_T}$RANLIB" >&6
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4523 if test -z "$ac_cv_prog_RANLIB"; then
4524 ac_ct_RANLIB
=$RANLIB
4525 # Extract the first word of "ranlib", so it can be a program name with args.
4526 set dummy ranlib
; ac_word
=$2
4527 echo "$as_me:$LINENO: checking for $ac_word" >&5
4528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4529 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 if test -n "$ac_ct_RANLIB"; then
4533 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir
=.
4540 for ac_exec_ext
in '' $ac_executable_extensions; do
4541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4542 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4552 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4553 if test -n "$ac_ct_RANLIB"; then
4554 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4555 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4561 RANLIB
=$ac_ct_RANLIB
4563 RANLIB
="$ac_cv_prog_RANLIB"
4566 for ac_prog
in 'bison -y' byacc
4568 # Extract the first word of "$ac_prog", so it can be a program name with args.
4569 set dummy
$ac_prog; ac_word
=$2
4570 echo "$as_me:$LINENO: checking for $ac_word" >&5
4571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4572 if test "${ac_cv_prog_YACC+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4575 if test -n "$YACC"; then
4576 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir
=.
4583 for ac_exec_ext
in '' $ac_executable_extensions; do
4584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4585 ac_cv_prog_YACC
="$ac_prog"
4586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 YACC
=$ac_cv_prog_YACC
4595 if test -n "$YACC"; then
4596 echo "$as_me:$LINENO: result: $YACC" >&5
4597 echo "${ECHO_T}$YACC" >&6
4599 echo "$as_me:$LINENO: result: no" >&5
4600 echo "${ECHO_T}no" >&6
4603 test -n "$YACC" && break
4605 test -n "$YACC" || YACC
="yacc"
4608 if test -n "$ac_tool_prefix"; then
4609 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4610 set dummy
${ac_tool_prefix}ar; 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_AR+set}" = set; then
4614 echo $ECHO_N "(cached) $ECHO_C" >&6
4616 if test -n "$AR"; then
4617 ac_cv_prog_AR
="$AR" # 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_AR
="${ac_tool_prefix}ar"
4627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4636 if test -n "$AR"; then
4637 echo "$as_me:$LINENO: result: $AR" >&5
4638 echo "${ECHO_T}$AR" >&6
4640 echo "$as_me:$LINENO: result: no" >&5
4641 echo "${ECHO_T}no" >&6
4645 if test -z "$ac_cv_prog_AR"; then
4647 # Extract the first word of "ar", so it can be a program name with args.
4648 set dummy
ar; 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_AR+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4654 if test -n "$ac_ct_AR"; then
4655 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # 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_AR
="ar"
4665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4674 if test -n "$ac_ct_AR"; then
4675 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4676 echo "${ECHO_T}$ac_ct_AR" >&6
4678 echo "$as_me:$LINENO: result: no" >&5
4679 echo "${ECHO_T}no" >&6
4687 if test -n "$ac_tool_prefix"; then
4688 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4689 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4690 echo "$as_me:$LINENO: checking for $ac_word" >&5
4691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4692 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 if test -n "$DLLTOOL"; then
4696 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4702 test -z "$as_dir" && as_dir
=.
4703 for ac_exec_ext
in '' $ac_executable_extensions; do
4704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4705 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 DLLTOOL
=$ac_cv_prog_DLLTOOL
4715 if test -n "$DLLTOOL"; then
4716 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4717 echo "${ECHO_T}$DLLTOOL" >&6
4719 echo "$as_me:$LINENO: result: no" >&5
4720 echo "${ECHO_T}no" >&6
4724 if test -z "$ac_cv_prog_DLLTOOL"; then
4725 ac_ct_DLLTOOL
=$DLLTOOL
4726 # Extract the first word of "dlltool", so it can be a program name with args.
4727 set dummy dlltool
; ac_word
=$2
4728 echo "$as_me:$LINENO: checking for $ac_word" >&5
4729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4730 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4731 echo $ECHO_N "(cached) $ECHO_C" >&6
4733 if test -n "$ac_ct_DLLTOOL"; then
4734 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4740 test -z "$as_dir" && as_dir
=.
4741 for ac_exec_ext
in '' $ac_executable_extensions; do
4742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4743 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4752 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4753 if test -n "$ac_ct_DLLTOOL"; then
4754 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4755 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4757 echo "$as_me:$LINENO: result: no" >&5
4758 echo "${ECHO_T}no" >&6
4761 DLLTOOL
=$ac_ct_DLLTOOL
4763 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4766 if test -n "$ac_tool_prefix"; then
4767 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4768 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4769 echo "$as_me:$LINENO: checking for $ac_word" >&5
4770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4771 if test "${ac_cv_prog_WINDRES+set}" = set; then
4772 echo $ECHO_N "(cached) $ECHO_C" >&6
4774 if test -n "$WINDRES"; then
4775 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4781 test -z "$as_dir" && as_dir
=.
4782 for ac_exec_ext
in '' $ac_executable_extensions; do
4783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4784 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4793 WINDRES
=$ac_cv_prog_WINDRES
4794 if test -n "$WINDRES"; then
4795 echo "$as_me:$LINENO: result: $WINDRES" >&5
4796 echo "${ECHO_T}$WINDRES" >&6
4798 echo "$as_me:$LINENO: result: no" >&5
4799 echo "${ECHO_T}no" >&6
4803 if test -z "$ac_cv_prog_WINDRES"; then
4804 ac_ct_WINDRES
=$WINDRES
4805 # Extract the first word of "windres", so it can be a program name with args.
4806 set dummy windres
; ac_word
=$2
4807 echo "$as_me:$LINENO: checking for $ac_word" >&5
4808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4809 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4812 if test -n "$ac_ct_WINDRES"; then
4813 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4819 test -z "$as_dir" && as_dir
=.
4820 for ac_exec_ext
in '' $ac_executable_extensions; do
4821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4822 ac_cv_prog_ac_ct_WINDRES
="windres"
4823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4831 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4832 if test -n "$ac_ct_WINDRES"; then
4833 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4834 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4840 WINDRES
=$ac_ct_WINDRES
4842 WINDRES
="$ac_cv_prog_WINDRES"
4846 # Needed for GNU/Hurd.
4847 if test -n "$ac_tool_prefix"; then
4848 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
4849 set dummy
${ac_tool_prefix}mig
; 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_MIG+set}" = set; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4855 if test -n "$MIG"; then
4856 ac_cv_prog_MIG
="$MIG" # 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_MIG
="${ac_tool_prefix}mig"
4866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4875 if test -n "$MIG"; then
4876 echo "$as_me:$LINENO: result: $MIG" >&5
4877 echo "${ECHO_T}$MIG" >&6
4879 echo "$as_me:$LINENO: result: no" >&5
4880 echo "${ECHO_T}no" >&6
4884 if test -z "$ac_cv_prog_MIG"; then
4886 # Extract the first word of "mig", so it can be a program name with args.
4887 set dummy mig
; ac_word
=$2
4888 echo "$as_me:$LINENO: checking for $ac_word" >&5
4889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4890 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4893 if test -n "$ac_ct_MIG"; then
4894 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
4896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4900 test -z "$as_dir" && as_dir
=.
4901 for ac_exec_ext
in '' $ac_executable_extensions; do
4902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4903 ac_cv_prog_ac_ct_MIG
="mig"
4904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
4913 if test -n "$ac_ct_MIG"; then
4914 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
4915 echo "${ECHO_T}$ac_ct_MIG" >&6
4917 echo "$as_me:$LINENO: result: no" >&5
4918 echo "${ECHO_T}no" >&6
4923 MIG
="$ac_cv_prog_MIG"
4927 # ---------------------- #
4928 # Checks for libraries. #
4929 # ---------------------- #
4931 # We might need to link with -lm; most simulators need it.
4933 echo "$as_me:$LINENO: checking for main in -lm" >&5
4934 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4935 if test "${ac_cv_lib_m_main+set}" = set; then
4936 echo $ECHO_N "(cached) $ECHO_C" >&6
4938 ac_check_lib_save_LIBS
=$LIBS
4940 cat >conftest.
$ac_ext <<_ACEOF
4943 cat confdefs.h
>>conftest.
$ac_ext
4944 cat >>conftest.
$ac_ext <<_ACEOF
4945 /* end confdefs.h. */
4956 rm -f conftest.
$ac_objext conftest
$ac_exeext
4957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4958 (eval $ac_link) 2>conftest.er1
4960 grep -v '^ *+' conftest.er1
>conftest.err
4962 cat conftest.err
>&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); } &&
4965 { ac_try
='test -z "$ac_c_werror_flag"
4966 || test ! -s conftest.err'
4967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971 (exit $ac_status); }; } &&
4972 { ac_try
='test -s conftest$ac_exeext'
4973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); }; }; then
4978 ac_cv_lib_m_main
=yes
4980 echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.
$ac_ext >&5
4985 rm -f conftest.err conftest.
$ac_objext \
4986 conftest
$ac_exeext conftest.
$ac_ext
4987 LIBS
=$ac_check_lib_save_LIBS
4989 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4990 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4991 if test $ac_cv_lib_m_main = yes; then
4992 cat >>confdefs.h
<<_ACEOF
5001 # We need to link with -lw to get `wctype' on Solaris before Solaris
5002 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
5003 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
5004 # is known to have this problem). Therefore we avoid libw if we can.
5005 echo "$as_me:$LINENO: checking for wctype" >&5
5006 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
5007 if test "${ac_cv_func_wctype+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5010 cat >conftest.
$ac_ext <<_ACEOF
5013 cat confdefs.h
>>conftest.
$ac_ext
5014 cat >>conftest.
$ac_ext <<_ACEOF
5015 /* end confdefs.h. */
5016 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
5017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5018 #define wctype innocuous_wctype
5020 /* System header to define __stub macros and hopefully few prototypes,
5021 which can conflict with char wctype (); below.
5022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5023 <limits.h> exists even on freestanding compilers. */
5026 # include <limits.h>
5028 # include <assert.h>
5033 /* Override any gcc2 internal prototype to avoid an error. */
5038 /* We use char because int might match the return type of a gcc2
5039 builtin and then its argument prototype would still apply. */
5041 /* The GNU C library defines this for functions which it implements
5042 to always fail with ENOSYS. Some functions are actually named
5043 something starting with __ and the normal name is an alias. */
5044 #if defined (__stub_wctype) || defined (__stub___wctype)
5047 char (*f) () = wctype;
5061 rm -f conftest.
$ac_objext conftest
$ac_exeext
5062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5063 (eval $ac_link) 2>conftest.er1
5065 grep -v '^ *+' conftest.er1
>conftest.err
5067 cat conftest.err
>&5
5068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); } &&
5070 { ac_try
='test -z "$ac_c_werror_flag"
5071 || test ! -s conftest.err'
5072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); }; } &&
5077 { ac_try
='test -s conftest$ac_exeext'
5078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); }; }; then
5083 ac_cv_func_wctype
=yes
5085 echo "$as_me: failed program was:" >&5
5086 sed 's/^/| /' conftest.
$ac_ext >&5
5088 ac_cv_func_wctype
=no
5090 rm -f conftest.err conftest.
$ac_objext \
5091 conftest
$ac_exeext conftest.
$ac_ext
5093 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
5094 echo "${ECHO_T}$ac_cv_func_wctype" >&6
5095 if test $ac_cv_func_wctype = yes; then
5099 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
5100 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
5101 if test "${ac_cv_lib_w_wctype+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 ac_check_lib_save_LIBS
=$LIBS
5106 cat >conftest.
$ac_ext <<_ACEOF
5109 cat confdefs.h
>>conftest.
$ac_ext
5110 cat >>conftest.
$ac_ext <<_ACEOF
5111 /* end confdefs.h. */
5113 /* Override any gcc2 internal prototype to avoid an error. */
5117 /* We use char because int might match the return type of a gcc2
5118 builtin and then its argument prototype would still apply. */
5128 rm -f conftest.
$ac_objext conftest
$ac_exeext
5129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5130 (eval $ac_link) 2>conftest.er1
5132 grep -v '^ *+' conftest.er1
>conftest.err
5134 cat conftest.err
>&5
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); } &&
5137 { ac_try
='test -z "$ac_c_werror_flag"
5138 || test ! -s conftest.err'
5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); }; } &&
5144 { ac_try
='test -s conftest$ac_exeext'
5145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); }; }; then
5150 ac_cv_lib_w_wctype
=yes
5152 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.
$ac_ext >&5
5155 ac_cv_lib_w_wctype
=no
5157 rm -f conftest.err conftest.
$ac_objext \
5158 conftest
$ac_exeext conftest.
$ac_ext
5159 LIBS
=$ac_check_lib_save_LIBS
5161 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
5162 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
5163 if test $ac_cv_lib_w_wctype = yes; then
5164 cat >>confdefs.h
<<_ACEOF
5175 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
5176 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
5177 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
5178 if test "${ac_cv_search_gethostbyname+set}" = set; then
5179 echo $ECHO_N "(cached) $ECHO_C" >&6
5181 ac_func_search_save_LIBS
=$LIBS
5182 ac_cv_search_gethostbyname
=no
5183 cat >conftest.
$ac_ext <<_ACEOF
5186 cat confdefs.h
>>conftest.
$ac_ext
5187 cat >>conftest.
$ac_ext <<_ACEOF
5188 /* end confdefs.h. */
5190 /* Override any gcc2 internal prototype to avoid an error. */
5194 /* We use char because int might match the return type of a gcc2
5195 builtin and then its argument prototype would still apply. */
5196 char gethostbyname ();
5205 rm -f conftest.
$ac_objext conftest
$ac_exeext
5206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5207 (eval $ac_link) 2>conftest.er1
5209 grep -v '^ *+' conftest.er1
>conftest.err
5211 cat conftest.err
>&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); } &&
5214 { ac_try
='test -z "$ac_c_werror_flag"
5215 || test ! -s conftest.err'
5216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; } &&
5221 { ac_try
='test -s conftest$ac_exeext'
5222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); }; }; then
5227 ac_cv_search_gethostbyname
="none required"
5229 echo "$as_me: failed program was:" >&5
5230 sed 's/^/| /' conftest.
$ac_ext >&5
5233 rm -f conftest.err conftest.
$ac_objext \
5234 conftest
$ac_exeext conftest.
$ac_ext
5235 if test "$ac_cv_search_gethostbyname" = no
; then
5236 for ac_lib
in nsl
; do
5237 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5238 cat >conftest.
$ac_ext <<_ACEOF
5241 cat confdefs.h
>>conftest.
$ac_ext
5242 cat >>conftest.
$ac_ext <<_ACEOF
5243 /* end confdefs.h. */
5245 /* Override any gcc2 internal prototype to avoid an error. */
5249 /* We use char because int might match the return type of a gcc2
5250 builtin and then its argument prototype would still apply. */
5251 char gethostbyname ();
5260 rm -f conftest.
$ac_objext conftest
$ac_exeext
5261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5262 (eval $ac_link) 2>conftest.er1
5264 grep -v '^ *+' conftest.er1
>conftest.err
5266 cat conftest.err
>&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); } &&
5269 { ac_try
='test -z "$ac_c_werror_flag"
5270 || test ! -s conftest.err'
5271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); }; } &&
5276 { ac_try
='test -s conftest$ac_exeext'
5277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); }; }; then
5282 ac_cv_search_gethostbyname
="-l$ac_lib"
5285 echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.
$ac_ext >&5
5289 rm -f conftest.err conftest.
$ac_objext \
5290 conftest
$ac_exeext conftest.
$ac_ext
5293 LIBS
=$ac_func_search_save_LIBS
5295 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
5296 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
5297 if test "$ac_cv_search_gethostbyname" != no
; then
5298 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
5303 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
5304 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
5305 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
5306 if test "${ac_cv_search_socketpair+set}" = set; then
5307 echo $ECHO_N "(cached) $ECHO_C" >&6
5309 ac_func_search_save_LIBS
=$LIBS
5310 ac_cv_search_socketpair
=no
5311 cat >conftest.
$ac_ext <<_ACEOF
5314 cat confdefs.h
>>conftest.
$ac_ext
5315 cat >>conftest.
$ac_ext <<_ACEOF
5316 /* end confdefs.h. */
5318 /* Override any gcc2 internal prototype to avoid an error. */
5322 /* We use char because int might match the return type of a gcc2
5323 builtin and then its argument prototype would still apply. */
5333 rm -f conftest.
$ac_objext conftest
$ac_exeext
5334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5335 (eval $ac_link) 2>conftest.er1
5337 grep -v '^ *+' conftest.er1
>conftest.err
5339 cat conftest.err
>&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); } &&
5342 { ac_try
='test -z "$ac_c_werror_flag"
5343 || test ! -s conftest.err'
5344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); }; } &&
5349 { ac_try
='test -s conftest$ac_exeext'
5350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354 (exit $ac_status); }; }; then
5355 ac_cv_search_socketpair
="none required"
5357 echo "$as_me: failed program was:" >&5
5358 sed 's/^/| /' conftest.
$ac_ext >&5
5361 rm -f conftest.err conftest.
$ac_objext \
5362 conftest
$ac_exeext conftest.
$ac_ext
5363 if test "$ac_cv_search_socketpair" = no
; then
5364 for ac_lib
in socket
; do
5365 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5366 cat >conftest.
$ac_ext <<_ACEOF
5369 cat confdefs.h
>>conftest.
$ac_ext
5370 cat >>conftest.
$ac_ext <<_ACEOF
5371 /* end confdefs.h. */
5373 /* Override any gcc2 internal prototype to avoid an error. */
5377 /* We use char because int might match the return type of a gcc2
5378 builtin and then its argument prototype would still apply. */
5388 rm -f conftest.
$ac_objext conftest
$ac_exeext
5389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5390 (eval $ac_link) 2>conftest.er1
5392 grep -v '^ *+' conftest.er1
>conftest.err
5394 cat conftest.err
>&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } &&
5397 { ac_try
='test -z "$ac_c_werror_flag"
5398 || test ! -s conftest.err'
5399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403 (exit $ac_status); }; } &&
5404 { ac_try
='test -s conftest$ac_exeext'
5405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); }; }; then
5410 ac_cv_search_socketpair
="-l$ac_lib"
5413 echo "$as_me: failed program was:" >&5
5414 sed 's/^/| /' conftest.
$ac_ext >&5
5417 rm -f conftest.err conftest.
$ac_objext \
5418 conftest
$ac_exeext conftest.
$ac_ext
5421 LIBS
=$ac_func_search_save_LIBS
5423 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
5424 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
5425 if test "$ac_cv_search_socketpair" != no
; then
5426 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
5431 # For the TUI, we need enhanced curses functionality.
5433 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
5434 # curses library because the latter might not provide all the
5435 # functionality we need. However, this leads to problems on systems
5436 # where the linker searches /usr/local/lib, but the compiler doesn't
5437 # search /usr/local/include, if ncurses is installed in /usr/local. A
5438 # default installation of ncurses on alpha*-dec-osf* will lead to such
5440 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
5441 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
5442 if test "${ac_cv_search_waddstr+set}" = set; then
5443 echo $ECHO_N "(cached) $ECHO_C" >&6
5445 ac_func_search_save_LIBS
=$LIBS
5446 ac_cv_search_waddstr
=no
5447 cat >conftest.
$ac_ext <<_ACEOF
5450 cat confdefs.h
>>conftest.
$ac_ext
5451 cat >>conftest.
$ac_ext <<_ACEOF
5452 /* end confdefs.h. */
5454 /* Override any gcc2 internal prototype to avoid an error. */
5458 /* We use char because int might match the return type of a gcc2
5459 builtin and then its argument prototype would still apply. */
5469 rm -f conftest.
$ac_objext conftest
$ac_exeext
5470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5471 (eval $ac_link) 2>conftest.er1
5473 grep -v '^ *+' conftest.er1
>conftest.err
5475 cat conftest.err
>&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); } &&
5478 { ac_try
='test -z "$ac_c_werror_flag"
5479 || test ! -s conftest.err'
5480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); }; } &&
5485 { ac_try
='test -s conftest$ac_exeext'
5486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); }; }; then
5491 ac_cv_search_waddstr
="none required"
5493 echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.
$ac_ext >&5
5497 rm -f conftest.err conftest.
$ac_objext \
5498 conftest
$ac_exeext conftest.
$ac_ext
5499 if test "$ac_cv_search_waddstr" = no
; then
5500 for ac_lib
in ncurses cursesX curses
; do
5501 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5502 cat >conftest.
$ac_ext <<_ACEOF
5505 cat confdefs.h
>>conftest.
$ac_ext
5506 cat >>conftest.
$ac_ext <<_ACEOF
5507 /* end confdefs.h. */
5509 /* Override any gcc2 internal prototype to avoid an error. */
5513 /* We use char because int might match the return type of a gcc2
5514 builtin and then its argument prototype would still apply. */
5524 rm -f conftest.
$ac_objext conftest
$ac_exeext
5525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5526 (eval $ac_link) 2>conftest.er1
5528 grep -v '^ *+' conftest.er1
>conftest.err
5530 cat conftest.err
>&5
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532 (exit $ac_status); } &&
5533 { ac_try
='test -z "$ac_c_werror_flag"
5534 || test ! -s conftest.err'
5535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539 (exit $ac_status); }; } &&
5540 { ac_try
='test -s conftest$ac_exeext'
5541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); }; }; then
5546 ac_cv_search_waddstr
="-l$ac_lib"
5549 echo "$as_me: failed program was:" >&5
5550 sed 's/^/| /' conftest.
$ac_ext >&5
5553 rm -f conftest.err conftest.
$ac_objext \
5554 conftest
$ac_exeext conftest.
$ac_ext
5557 LIBS
=$ac_func_search_save_LIBS
5559 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
5560 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
5561 if test "$ac_cv_search_waddstr" != no
; then
5562 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
5567 # Since GDB uses Readline, we need termcap functionality. In many
5568 # cases this will be provided by the curses library, but some systems
5569 # have a seperate termcap library, or no curses library at all.
5573 if test -d $srcdir/libtermcap
; then
5574 LIBS
="../libtermcap/libtermcap.a $LIBS"
5575 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
5578 ac_cv_search_tgetent
="none required"
5581 ac_cv_search_tgetent
="none required"
5582 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
5586 # These are the libraries checked by Readline.
5587 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
5588 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
5589 if test "${ac_cv_search_tgetent+set}" = set; then
5590 echo $ECHO_N "(cached) $ECHO_C" >&6
5592 ac_func_search_save_LIBS
=$LIBS
5593 ac_cv_search_tgetent
=no
5594 cat >conftest.
$ac_ext <<_ACEOF
5597 cat confdefs.h
>>conftest.
$ac_ext
5598 cat >>conftest.
$ac_ext <<_ACEOF
5599 /* end confdefs.h. */
5601 /* Override any gcc2 internal prototype to avoid an error. */
5605 /* We use char because int might match the return type of a gcc2
5606 builtin and then its argument prototype would still apply. */
5616 rm -f conftest.
$ac_objext conftest
$ac_exeext
5617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5618 (eval $ac_link) 2>conftest.er1
5620 grep -v '^ *+' conftest.er1
>conftest.err
5622 cat conftest.err
>&5
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); } &&
5625 { ac_try
='test -z "$ac_c_werror_flag"
5626 || test ! -s conftest.err'
5627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631 (exit $ac_status); }; } &&
5632 { ac_try
='test -s conftest$ac_exeext'
5633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); }; }; then
5638 ac_cv_search_tgetent
="none required"
5640 echo "$as_me: failed program was:" >&5
5641 sed 's/^/| /' conftest.
$ac_ext >&5
5644 rm -f conftest.err conftest.
$ac_objext \
5645 conftest
$ac_exeext conftest.
$ac_ext
5646 if test "$ac_cv_search_tgetent" = no
; then
5647 for ac_lib
in termcap tinfo curses ncurses
; do
5648 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5649 cat >conftest.
$ac_ext <<_ACEOF
5652 cat confdefs.h
>>conftest.
$ac_ext
5653 cat >>conftest.
$ac_ext <<_ACEOF
5654 /* end confdefs.h. */
5656 /* Override any gcc2 internal prototype to avoid an error. */
5660 /* We use char because int might match the return type of a gcc2
5661 builtin and then its argument prototype would still apply. */
5671 rm -f conftest.
$ac_objext conftest
$ac_exeext
5672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5673 (eval $ac_link) 2>conftest.er1
5675 grep -v '^ *+' conftest.er1
>conftest.err
5677 cat conftest.err
>&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); } &&
5680 { ac_try
='test -z "$ac_c_werror_flag"
5681 || test ! -s conftest.err'
5682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 (exit $ac_status); }; } &&
5687 { ac_try
='test -s conftest$ac_exeext'
5688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); }; }; then
5693 ac_cv_search_tgetent
="-l$ac_lib"
5696 echo "$as_me: failed program was:" >&5
5697 sed 's/^/| /' conftest.
$ac_ext >&5
5700 rm -f conftest.err conftest.
$ac_objext \
5701 conftest
$ac_exeext conftest.
$ac_ext
5704 LIBS
=$ac_func_search_save_LIBS
5706 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
5707 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
5708 if test "$ac_cv_search_tgetent" != no
; then
5709 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
5714 if test "$ac_cv_search_tgetent" = no
; then
5715 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
5716 echo "$as_me: error: no termcap library found" >&2;}
5717 { (exit 1); exit 1; }; }
5721 if test "X$prefix" = "XNONE"; then
5722 acl_final_prefix
="$ac_default_prefix"
5724 acl_final_prefix
="$prefix"
5726 if test "X$exec_prefix" = "XNONE"; then
5727 acl_final_exec_prefix
='${prefix}'
5729 acl_final_exec_prefix
="$exec_prefix"
5731 acl_save_prefix
="$prefix"
5732 prefix
="$acl_final_prefix"
5733 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5734 prefix
="$acl_save_prefix"
5737 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5738 if test "${with_gnu_ld+set}" = set; then
5739 withval
="$with_gnu_ld"
5740 test "$withval" = no || with_gnu_ld
=yes
5744 # Prepare PATH_SEPARATOR.
5745 # The user is always right.
5746 if test "${PATH_SEPARATOR+set}" != set; then
5747 echo "#! /bin/sh" >conf$$.sh
5748 echo "exit 0" >>conf$$.sh
5750 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5758 if test "$GCC" = yes; then
5759 # Check if gcc -print-prog-name=ld gives a path.
5760 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5761 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5764 # gcc leaves a trailing carriage return which upsets mingw
5765 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5767 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5770 # Accept absolute paths.
5771 [\\/]* |
[A-Za-z
]:[\\/]*)
5772 re_direlt
='/[^/][^/]*/\.\./'
5773 # Canonicalize the path of ld
5774 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5775 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5776 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5778 test -z "$LD" && LD
="$ac_prog"
5781 # If it fails, then pretend we aren't using GCC.
5785 # If it is relative, then search for the first ld in PATH.
5789 elif test "$with_gnu_ld" = yes; then
5790 echo "$as_me:$LINENO: checking for GNU ld" >&5
5791 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5793 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5794 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5796 if test "${acl_cv_path_LD+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 if test -z "$LD"; then
5800 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5801 for ac_dir
in $PATH; do
5802 test -z "$ac_dir" && ac_dir
=.
5803 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5804 acl_cv_path_LD
="$ac_dir/$ac_prog"
5805 # Check to see if the program is GNU ld. I'd rather use --version,
5806 # but apparently some GNU ld's only accept -v.
5807 # Break only if it was the GNU/non-GNU ld that we prefer.
5808 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5809 test "$with_gnu_ld" != no
&& break
5811 test "$with_gnu_ld" != yes && break
5817 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5821 LD
="$acl_cv_path_LD"
5822 if test -n "$LD"; then
5823 echo "$as_me:$LINENO: result: $LD" >&5
5824 echo "${ECHO_T}$LD" >&6
5826 echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6
5829 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5830 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5831 { (exit 1); exit 1; }; }
5832 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5833 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5834 if test "${acl_cv_prog_gnu_ld+set}" = set; then
5835 echo $ECHO_N "(cached) $ECHO_C" >&6
5837 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5838 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5839 acl_cv_prog_gnu_ld
=yes
5841 acl_cv_prog_gnu_ld
=no
5844 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
5845 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
5846 with_gnu_ld
=$acl_cv_prog_gnu_ld
5850 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
5851 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
5852 if test "${acl_cv_rpath+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5856 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5857 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5863 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
5864 echo "${ECHO_T}$acl_cv_rpath" >&6
5866 libext
="$acl_cv_libext"
5867 shlibext
="$acl_cv_shlibext"
5868 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5869 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5870 hardcode_direct
="$acl_cv_hardcode_direct"
5871 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5872 # Check whether --enable-rpath or --disable-rpath was given.
5873 if test "${enable_rpath+set}" = set; then
5874 enableval
="$enable_rpath"
5890 acl_save_prefix
="$prefix"
5891 prefix
="$acl_final_prefix"
5892 acl_save_exec_prefix
="$exec_prefix"
5893 exec_prefix
="$acl_final_exec_prefix"
5895 eval additional_includedir
=\"$includedir\"
5896 eval additional_libdir
=\"$libdir\"
5898 exec_prefix
="$acl_save_exec_prefix"
5899 prefix
="$acl_save_prefix"
5902 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
5903 if test "${with_libexpat_prefix+set}" = set; then
5904 withval
="$with_libexpat_prefix"
5906 if test "X$withval" = "Xno"; then
5909 if test "X$withval" = "X"; then
5911 acl_save_prefix
="$prefix"
5912 prefix
="$acl_final_prefix"
5913 acl_save_exec_prefix
="$exec_prefix"
5914 exec_prefix
="$acl_final_exec_prefix"
5916 eval additional_includedir
=\"$includedir\"
5917 eval additional_libdir
=\"$libdir\"
5919 exec_prefix
="$acl_save_exec_prefix"
5920 prefix
="$acl_save_prefix"
5923 additional_includedir
="$withval/include"
5924 additional_libdir
="$withval/lib"
5934 names_already_handled
=
5935 names_next_round
='expat '
5936 while test -n "$names_next_round"; do
5937 names_this_round
="$names_next_round"
5939 for name
in $names_this_round; do
5941 for n
in $names_already_handled; do
5942 if test "$n" = "$name"; then
5947 if test -z "$already_handled"; then
5948 names_already_handled
="$names_already_handled $name"
5949 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5950 eval value
=\"\
$HAVE_LIB$uppername\"
5951 if test -n "$value"; then
5952 if test "$value" = yes; then
5953 eval value
=\"\
$LIB$uppername\"
5954 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
5955 eval value
=\"\
$LTLIB$uppername\"
5956 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
5965 if test $use_additional = yes; then
5966 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5967 found_dir
="$additional_libdir"
5968 found_so
="$additional_libdir/lib$name.$shlibext"
5969 if test -f "$additional_libdir/lib$name.la"; then
5970 found_la
="$additional_libdir/lib$name.la"
5973 if test -f "$additional_libdir/lib$name.$libext"; then
5974 found_dir
="$additional_libdir"
5975 found_a
="$additional_libdir/lib$name.$libext"
5976 if test -f "$additional_libdir/lib$name.la"; then
5977 found_la
="$additional_libdir/lib$name.la"
5982 if test "X$found_dir" = "X"; then
5983 for x
in $LDFLAGS $LTLIBEXPAT; do
5985 acl_save_prefix
="$prefix"
5986 prefix
="$acl_final_prefix"
5987 acl_save_exec_prefix
="$exec_prefix"
5988 exec_prefix
="$acl_final_exec_prefix"
5990 exec_prefix
="$acl_save_exec_prefix"
5991 prefix
="$acl_save_prefix"
5995 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5996 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5998 found_so
="$dir/lib$name.$shlibext"
5999 if test -f "$dir/lib$name.la"; then
6000 found_la
="$dir/lib$name.la"
6003 if test -f "$dir/lib$name.$libext"; then
6005 found_a
="$dir/lib$name.$libext"
6006 if test -f "$dir/lib$name.la"; then
6007 found_la
="$dir/lib$name.la"
6013 if test "X$found_dir" != "X"; then
6018 if test "X$found_dir" != "X"; then
6019 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
6020 if test "X$found_so" != "X"; then
6021 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6022 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6025 for x
in $ltrpathdirs; do
6026 if test "X$x" = "X$found_dir"; then
6031 if test -z "$haveit"; then
6032 ltrpathdirs
="$ltrpathdirs $found_dir"
6034 if test "$hardcode_direct" = yes; then
6035 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6037 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6038 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6040 for x
in $rpathdirs; do
6041 if test "X$x" = "X$found_dir"; then
6046 if test -z "$haveit"; then
6047 rpathdirs
="$rpathdirs $found_dir"
6051 for x
in $LDFLAGS $LIBEXPAT; do
6053 acl_save_prefix
="$prefix"
6054 prefix
="$acl_final_prefix"
6055 acl_save_exec_prefix
="$exec_prefix"
6056 exec_prefix
="$acl_final_exec_prefix"
6058 exec_prefix
="$acl_save_exec_prefix"
6059 prefix
="$acl_save_prefix"
6061 if test "X$x" = "X-L$found_dir"; then
6066 if test -z "$haveit"; then
6067 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
6069 if test "$hardcode_minus_L" != no
; then
6070 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
6072 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
6078 if test "X$found_a" != "X"; then
6079 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
6081 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
6084 additional_includedir
=
6085 case "$found_dir" in
6087 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6088 additional_includedir
="$basedir/include"
6091 if test "X$additional_includedir" != "X"; then
6092 if test "X$additional_includedir" != "X/usr/include"; then
6094 if test "X$additional_includedir" = "X/usr/local/include"; then
6095 if test -n "$GCC"; then
6097 linux
*) haveit
=yes;;
6101 if test -z "$haveit"; then
6102 for x
in $CPPFLAGS $INCEXPAT; do
6104 acl_save_prefix
="$prefix"
6105 prefix
="$acl_final_prefix"
6106 acl_save_exec_prefix
="$exec_prefix"
6107 exec_prefix
="$acl_final_exec_prefix"
6109 exec_prefix
="$acl_save_exec_prefix"
6110 prefix
="$acl_save_prefix"
6112 if test "X$x" = "X-I$additional_includedir"; then
6117 if test -z "$haveit"; then
6118 if test -d "$additional_includedir"; then
6119 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
6125 if test -n "$found_la"; then
6126 save_libdir
="$libdir"
6128 */* |
*\\*) .
"$found_la" ;;
6129 *) .
"./$found_la" ;;
6131 libdir
="$save_libdir"
6132 for dep
in $dependency_libs; do
6135 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6136 if test "X$additional_libdir" != "X/usr/lib"; then
6138 if test "X$additional_libdir" = "X/usr/local/lib"; then
6139 if test -n "$GCC"; then
6141 linux
*) haveit
=yes;;
6145 if test -z "$haveit"; then
6147 for x
in $LDFLAGS $LIBEXPAT; do
6149 acl_save_prefix
="$prefix"
6150 prefix
="$acl_final_prefix"
6151 acl_save_exec_prefix
="$exec_prefix"
6152 exec_prefix
="$acl_final_exec_prefix"
6154 exec_prefix
="$acl_save_exec_prefix"
6155 prefix
="$acl_save_prefix"
6157 if test "X$x" = "X-L$additional_libdir"; then
6162 if test -z "$haveit"; then
6163 if test -d "$additional_libdir"; then
6164 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
6168 for x
in $LDFLAGS $LTLIBEXPAT; do
6170 acl_save_prefix
="$prefix"
6171 prefix
="$acl_final_prefix"
6172 acl_save_exec_prefix
="$exec_prefix"
6173 exec_prefix
="$acl_final_exec_prefix"
6175 exec_prefix
="$acl_save_exec_prefix"
6176 prefix
="$acl_save_prefix"
6178 if test "X$x" = "X-L$additional_libdir"; then
6183 if test -z "$haveit"; then
6184 if test -d "$additional_libdir"; then
6185 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
6192 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6193 if test "$enable_rpath" != no
; then
6195 for x
in $rpathdirs; do
6196 if test "X$x" = "X$dir"; then
6201 if test -z "$haveit"; then
6202 rpathdirs
="$rpathdirs $dir"
6205 for x
in $ltrpathdirs; do
6206 if test "X$x" = "X$dir"; then
6211 if test -z "$haveit"; then
6212 ltrpathdirs
="$ltrpathdirs $dir"
6217 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6220 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6223 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
6224 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
6230 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
6231 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
6237 if test "X$rpathdirs" != "X"; then
6238 if test -n "$hardcode_libdir_separator"; then
6240 for found_dir
in $rpathdirs; do
6241 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6243 acl_save_libdir
="$libdir"
6245 eval flag
=\"$hardcode_libdir_flag_spec\"
6246 libdir
="$acl_save_libdir"
6247 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
6249 for found_dir
in $rpathdirs; do
6250 acl_save_libdir
="$libdir"
6252 eval flag
=\"$hardcode_libdir_flag_spec\"
6253 libdir
="$acl_save_libdir"
6254 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
6258 if test "X$ltrpathdirs" != "X"; then
6259 for found_dir
in $ltrpathdirs; do
6260 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
6265 ac_save_CPPFLAGS
="$CPPFLAGS"
6267 for element
in $INCEXPAT; do
6269 for x
in $CPPFLAGS; do
6271 acl_save_prefix
="$prefix"
6272 prefix
="$acl_final_prefix"
6273 acl_save_exec_prefix
="$exec_prefix"
6274 exec_prefix
="$acl_final_exec_prefix"
6276 exec_prefix
="$acl_save_exec_prefix"
6277 prefix
="$acl_save_prefix"
6279 if test "X$x" = "X$element"; then
6284 if test -z "$haveit"; then
6285 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6290 echo "$as_me:$LINENO: checking for libexpat" >&5
6291 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
6292 if test "${ac_cv_libexpat+set}" = set; then
6293 echo $ECHO_N "(cached) $ECHO_C" >&6
6296 ac_save_LIBS
="$LIBS"
6297 LIBS
="$LIBS $LIBEXPAT"
6298 cat >conftest.
$ac_ext <<_ACEOF
6301 cat confdefs.h
>>conftest.
$ac_ext
6302 cat >>conftest.
$ac_ext <<_ACEOF
6303 /* end confdefs.h. */
6308 XML_Parser p = XML_ParserCreate (0);
6313 rm -f conftest.
$ac_objext conftest
$ac_exeext
6314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6315 (eval $ac_link) 2>conftest.er1
6317 grep -v '^ *+' conftest.er1
>conftest.err
6319 cat conftest.err
>&5
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 (exit $ac_status); } &&
6322 { ac_try
='test -z "$ac_c_werror_flag"
6323 || test ! -s conftest.err'
6324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); }; } &&
6329 { ac_try
='test -s conftest$ac_exeext'
6330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); }; }; then
6337 echo "$as_me: failed program was:" >&5
6338 sed 's/^/| /' conftest.
$ac_ext >&5
6342 rm -f conftest.err conftest.
$ac_objext \
6343 conftest
$ac_exeext conftest.
$ac_ext
6344 LIBS
="$ac_save_LIBS"
6347 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
6348 echo "${ECHO_T}$ac_cv_libexpat" >&6
6349 if test "$ac_cv_libexpat" = yes; then
6352 cat >>confdefs.h
<<\_ACEOF
6353 #define HAVE_LIBEXPAT 1
6356 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
6357 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
6358 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
6359 echo "${ECHO_T}$LIBEXPAT" >&6
6362 CPPFLAGS
="$ac_save_CPPFLAGS"
6372 if test "$HAVE_LIBEXPAT" != yes; then
6373 { echo "$as_me:$LINENO: WARNING: expat is missing or unusable; some features may be disabled." >&5
6374 echo "$as_me: WARNING: expat is missing or unusable; some features may be disabled." >&2;}
6377 LIBS
="$LIBS $LIBEXPAT"
6379 for ac_func
in XML_StopParser
6381 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6382 echo "$as_me:$LINENO: checking for $ac_func" >&5
6383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6384 if eval "test \"\${$as_ac_var+set}\" = set"; then
6385 echo $ECHO_N "(cached) $ECHO_C" >&6
6387 cat >conftest.
$ac_ext <<_ACEOF
6390 cat confdefs.h
>>conftest.
$ac_ext
6391 cat >>conftest.
$ac_ext <<_ACEOF
6392 /* end confdefs.h. */
6393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6395 #define $ac_func innocuous_$ac_func
6397 /* System header to define __stub macros and hopefully few prototypes,
6398 which can conflict with char $ac_func (); below.
6399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6400 <limits.h> exists even on freestanding compilers. */
6403 # include <limits.h>
6405 # include <assert.h>
6410 /* Override any gcc2 internal prototype to avoid an error. */
6415 /* We use char because int might match the return type of a gcc2
6416 builtin and then its argument prototype would still apply. */
6418 /* The GNU C library defines this for functions which it implements
6419 to always fail with ENOSYS. Some functions are actually named
6420 something starting with __ and the normal name is an alias. */
6421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6424 char (*f) () = $ac_func;
6433 return f != $ac_func;
6438 rm -f conftest.
$ac_objext conftest
$ac_exeext
6439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6440 (eval $ac_link) 2>conftest.er1
6442 grep -v '^ *+' conftest.er1
>conftest.err
6444 cat conftest.err
>&5
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); } &&
6447 { ac_try
='test -z "$ac_c_werror_flag"
6448 || test ! -s conftest.err'
6449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); }; } &&
6454 { ac_try
='test -s conftest$ac_exeext'
6455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); }; }; then
6460 eval "$as_ac_var=yes"
6462 echo "$as_me: failed program was:" >&5
6463 sed 's/^/| /' conftest.
$ac_ext >&5
6465 eval "$as_ac_var=no"
6467 rm -f conftest.err conftest.
$ac_objext \
6468 conftest
$ac_exeext conftest.
$ac_ext
6470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6472 if test `eval echo '${'$as_ac_var'}'` = yes; then
6473 cat >>confdefs.h
<<_ACEOF
6474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6483 # ------------------------- #
6484 # Checks for header files. #
6485 # ------------------------- #
6493 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6494 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6495 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6496 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6498 echo $ECHO_N "(cached) $ECHO_C" >&6
6500 cat >conftest.
$ac_ext <<_ACEOF
6503 cat confdefs.h
>>conftest.
$ac_ext
6504 cat >>conftest.
$ac_ext <<_ACEOF
6505 /* end confdefs.h. */
6506 #include <sys/types.h>
6518 rm -f conftest.
$ac_objext
6519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6520 (eval $ac_compile) 2>conftest.er1
6522 grep -v '^ *+' conftest.er1
>conftest.err
6524 cat conftest.err
>&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); } &&
6527 { ac_try
='test -z "$ac_c_werror_flag"
6528 || test ! -s conftest.err'
6529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); }; } &&
6534 { ac_try
='test -s conftest.$ac_objext'
6535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); }; }; then
6540 eval "$as_ac_Header=yes"
6542 echo "$as_me: failed program was:" >&5
6543 sed 's/^/| /' conftest.
$ac_ext >&5
6545 eval "$as_ac_Header=no"
6547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6552 cat >>confdefs.h
<<_ACEOF
6553 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6556 ac_header_dirent
=$ac_hdr; break
6560 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6561 if test $ac_header_dirent = dirent.h
; then
6562 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6563 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6564 if test "${ac_cv_search_opendir+set}" = set; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 ac_func_search_save_LIBS
=$LIBS
6568 ac_cv_search_opendir
=no
6569 cat >conftest.
$ac_ext <<_ACEOF
6572 cat confdefs.h
>>conftest.
$ac_ext
6573 cat >>conftest.
$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6576 /* Override any gcc2 internal prototype to avoid an error. */
6580 /* We use char because int might match the return type of a gcc2
6581 builtin and then its argument prototype would still apply. */
6591 rm -f conftest.
$ac_objext conftest
$ac_exeext
6592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6593 (eval $ac_link) 2>conftest.er1
6595 grep -v '^ *+' conftest.er1
>conftest.err
6597 cat conftest.err
>&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); } &&
6600 { ac_try
='test -z "$ac_c_werror_flag"
6601 || test ! -s conftest.err'
6602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }; } &&
6607 { ac_try
='test -s conftest$ac_exeext'
6608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); }; }; then
6613 ac_cv_search_opendir
="none required"
6615 echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.
$ac_ext >&5
6619 rm -f conftest.err conftest.
$ac_objext \
6620 conftest
$ac_exeext conftest.
$ac_ext
6621 if test "$ac_cv_search_opendir" = no
; then
6622 for ac_lib
in dir
; do
6623 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6624 cat >conftest.
$ac_ext <<_ACEOF
6627 cat confdefs.h
>>conftest.
$ac_ext
6628 cat >>conftest.
$ac_ext <<_ACEOF
6629 /* end confdefs.h. */
6631 /* Override any gcc2 internal prototype to avoid an error. */
6635 /* We use char because int might match the return type of a gcc2
6636 builtin and then its argument prototype would still apply. */
6646 rm -f conftest.
$ac_objext conftest
$ac_exeext
6647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6648 (eval $ac_link) 2>conftest.er1
6650 grep -v '^ *+' conftest.er1
>conftest.err
6652 cat conftest.err
>&5
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); } &&
6655 { ac_try
='test -z "$ac_c_werror_flag"
6656 || test ! -s conftest.err'
6657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); }; } &&
6662 { ac_try
='test -s conftest$ac_exeext'
6663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); }; }; then
6668 ac_cv_search_opendir
="-l$ac_lib"
6671 echo "$as_me: failed program was:" >&5
6672 sed 's/^/| /' conftest.
$ac_ext >&5
6675 rm -f conftest.err conftest.
$ac_objext \
6676 conftest
$ac_exeext conftest.
$ac_ext
6679 LIBS
=$ac_func_search_save_LIBS
6681 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6682 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6683 if test "$ac_cv_search_opendir" != no
; then
6684 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6689 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6690 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6691 if test "${ac_cv_search_opendir+set}" = set; then
6692 echo $ECHO_N "(cached) $ECHO_C" >&6
6694 ac_func_search_save_LIBS
=$LIBS
6695 ac_cv_search_opendir
=no
6696 cat >conftest.
$ac_ext <<_ACEOF
6699 cat confdefs.h
>>conftest.
$ac_ext
6700 cat >>conftest.
$ac_ext <<_ACEOF
6701 /* end confdefs.h. */
6703 /* Override any gcc2 internal prototype to avoid an error. */
6707 /* We use char because int might match the return type of a gcc2
6708 builtin and then its argument prototype would still apply. */
6718 rm -f conftest.
$ac_objext conftest
$ac_exeext
6719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6720 (eval $ac_link) 2>conftest.er1
6722 grep -v '^ *+' conftest.er1
>conftest.err
6724 cat conftest.err
>&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); } &&
6727 { ac_try
='test -z "$ac_c_werror_flag"
6728 || test ! -s conftest.err'
6729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); }; } &&
6734 { ac_try
='test -s conftest$ac_exeext'
6735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); }; }; then
6740 ac_cv_search_opendir
="none required"
6742 echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.
$ac_ext >&5
6746 rm -f conftest.err conftest.
$ac_objext \
6747 conftest
$ac_exeext conftest.
$ac_ext
6748 if test "$ac_cv_search_opendir" = no
; then
6750 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6751 cat >conftest.
$ac_ext <<_ACEOF
6754 cat confdefs.h
>>conftest.
$ac_ext
6755 cat >>conftest.
$ac_ext <<_ACEOF
6756 /* end confdefs.h. */
6758 /* Override any gcc2 internal prototype to avoid an error. */
6762 /* We use char because int might match the return type of a gcc2
6763 builtin and then its argument prototype would still apply. */
6773 rm -f conftest.
$ac_objext conftest
$ac_exeext
6774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6775 (eval $ac_link) 2>conftest.er1
6777 grep -v '^ *+' conftest.er1
>conftest.err
6779 cat conftest.err
>&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); } &&
6782 { ac_try
='test -z "$ac_c_werror_flag"
6783 || test ! -s conftest.err'
6784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 (exit $ac_status); }; } &&
6789 { ac_try
='test -s conftest$ac_exeext'
6790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); }; }; then
6795 ac_cv_search_opendir
="-l$ac_lib"
6798 echo "$as_me: failed program was:" >&5
6799 sed 's/^/| /' conftest.
$ac_ext >&5
6802 rm -f conftest.err conftest.
$ac_objext \
6803 conftest
$ac_exeext conftest.
$ac_ext
6806 LIBS
=$ac_func_search_save_LIBS
6808 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6809 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6810 if test "$ac_cv_search_opendir" != no
; then
6811 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6817 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6818 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
6819 if test "${ac_cv_header_stat_broken+set}" = set; then
6820 echo $ECHO_N "(cached) $ECHO_C" >&6
6822 cat >conftest.
$ac_ext <<_ACEOF
6825 cat confdefs.h
>>conftest.
$ac_ext
6826 cat >>conftest.
$ac_ext <<_ACEOF
6827 /* end confdefs.h. */
6828 #include <sys/types.h>
6829 #include <sys/stat.h>
6831 #if defined(S_ISBLK) && defined(S_IFDIR)
6832 # if S_ISBLK (S_IFDIR)
6837 #if defined(S_ISBLK) && defined(S_IFCHR)
6838 # if S_ISBLK (S_IFCHR)
6843 #if defined(S_ISLNK) && defined(S_IFREG)
6844 # if S_ISLNK (S_IFREG)
6849 #if defined(S_ISSOCK) && defined(S_IFREG)
6850 # if S_ISSOCK (S_IFREG)
6856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6857 $EGREP "You lose" >/dev
/null
2>&1; then
6858 ac_cv_header_stat_broken
=yes
6860 ac_cv_header_stat_broken
=no
6865 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6866 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
6867 if test $ac_cv_header_stat_broken = yes; then
6869 cat >>confdefs.h
<<\_ACEOF
6870 #define STAT_MACROS_BROKEN 1
6875 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6876 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6877 if test "${ac_cv_header_stdc+set}" = set; then
6878 echo $ECHO_N "(cached) $ECHO_C" >&6
6880 cat >conftest.
$ac_ext <<_ACEOF
6883 cat confdefs.h
>>conftest.
$ac_ext
6884 cat >>conftest.
$ac_ext <<_ACEOF
6885 /* end confdefs.h. */
6899 rm -f conftest.
$ac_objext
6900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6901 (eval $ac_compile) 2>conftest.er1
6903 grep -v '^ *+' conftest.er1
>conftest.err
6905 cat conftest.err
>&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); } &&
6908 { ac_try
='test -z "$ac_c_werror_flag"
6909 || test ! -s conftest.err'
6910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); }; } &&
6915 { ac_try
='test -s conftest.$ac_objext'
6916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); }; }; then
6921 ac_cv_header_stdc
=yes
6923 echo "$as_me: failed program was:" >&5
6924 sed 's/^/| /' conftest.
$ac_ext >&5
6926 ac_cv_header_stdc
=no
6928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6930 if test $ac_cv_header_stdc = yes; then
6931 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6932 cat >conftest.
$ac_ext <<_ACEOF
6935 cat confdefs.h
>>conftest.
$ac_ext
6936 cat >>conftest.
$ac_ext <<_ACEOF
6937 /* end confdefs.h. */
6941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6942 $EGREP "memchr" >/dev
/null
2>&1; then
6945 ac_cv_header_stdc
=no
6951 if test $ac_cv_header_stdc = yes; then
6952 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6953 cat >conftest.
$ac_ext <<_ACEOF
6956 cat confdefs.h
>>conftest.
$ac_ext
6957 cat >>conftest.
$ac_ext <<_ACEOF
6958 /* end confdefs.h. */
6962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6963 $EGREP "free" >/dev
/null
2>&1; then
6966 ac_cv_header_stdc
=no
6972 if test $ac_cv_header_stdc = yes; then
6973 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6974 if test "$cross_compiling" = yes; then
6977 cat >conftest.
$ac_ext <<_ACEOF
6980 cat confdefs.h
>>conftest.
$ac_ext
6981 cat >>conftest.
$ac_ext <<_ACEOF
6982 /* end confdefs.h. */
6984 #if ((' ' & 0x0FF) == 0x020)
6985 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6986 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6988 # define ISLOWER(c) \
6989 (('a' <= (c) && (c) <= 'i') \
6990 || ('j' <= (c) && (c) <= 'r') \
6991 || ('s' <= (c) && (c) <= 'z'))
6992 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6995 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7000 for (i = 0; i < 256; i++)
7001 if (XOR (islower (i), ISLOWER (i))
7002 || toupper (i) != TOUPPER (i))
7007 rm -f conftest
$ac_exeext
7008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7009 (eval $ac_link) 2>&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); }; }; then
7020 echo "$as_me: program exited with status $ac_status" >&5
7021 echo "$as_me: failed program was:" >&5
7022 sed 's/^/| /' conftest.
$ac_ext >&5
7025 ac_cv_header_stdc
=no
7027 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7031 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7032 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7033 if test $ac_cv_header_stdc = yes; then
7035 cat >>confdefs.h
<<\_ACEOF
7036 #define STDC_HEADERS 1
7042 for ac_header
in nlist.h
7044 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7046 echo "$as_me:$LINENO: checking for $ac_header" >&5
7047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7049 echo $ECHO_N "(cached) $ECHO_C" >&6
7051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7054 # Is the header compilable?
7055 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7057 cat >conftest.
$ac_ext <<_ACEOF
7060 cat confdefs.h
>>conftest.
$ac_ext
7061 cat >>conftest.
$ac_ext <<_ACEOF
7062 /* end confdefs.h. */
7063 $ac_includes_default
7064 #include <$ac_header>
7066 rm -f conftest.
$ac_objext
7067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7068 (eval $ac_compile) 2>conftest.er1
7070 grep -v '^ *+' conftest.er1
>conftest.err
7072 cat conftest.err
>&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); } &&
7075 { ac_try
='test -z "$ac_c_werror_flag"
7076 || test ! -s conftest.err'
7077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }; } &&
7082 { ac_try
='test -s conftest.$ac_objext'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); }; }; then
7088 ac_header_compiler
=yes
7090 echo "$as_me: failed program was:" >&5
7091 sed 's/^/| /' conftest.
$ac_ext >&5
7093 ac_header_compiler
=no
7095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7097 echo "${ECHO_T}$ac_header_compiler" >&6
7099 # Is the header present?
7100 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7101 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7102 cat >conftest.
$ac_ext <<_ACEOF
7105 cat confdefs.h
>>conftest.
$ac_ext
7106 cat >>conftest.
$ac_ext <<_ACEOF
7107 /* end confdefs.h. */
7108 #include <$ac_header>
7110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7113 grep -v '^ *+' conftest.er1
>conftest.err
7115 cat conftest.err
>&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } >/dev
/null
; then
7118 if test -s conftest.err
; then
7119 ac_cpp_err
=$ac_c_preproc_warn_flag
7120 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7127 if test -z "$ac_cpp_err"; then
7128 ac_header_preproc
=yes
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.
$ac_ext >&5
7133 ac_header_preproc
=no
7135 rm -f conftest.err conftest.
$ac_ext
7136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7137 echo "${ECHO_T}$ac_header_preproc" >&6
7139 # So? What about this header?
7140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7145 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7146 ac_header_preproc
=yes
7149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7153 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7154 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7155 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7156 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7159 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7160 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7163 ## ------------------------------------------ ##
7164 ## Report this to the AC_PACKAGE_NAME lists. ##
7165 ## ------------------------------------------ ##
7168 sed "s/^/$as_me: WARNING: /" >&2
7171 echo "$as_me:$LINENO: checking for $ac_header" >&5
7172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7174 echo $ECHO_N "(cached) $ECHO_C" >&6
7176 eval "$as_ac_Header=\$ac_header_preproc"
7178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7183 cat >>confdefs.h
<<_ACEOF
7184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7192 for ac_header
in link.h
7194 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7195 echo "$as_me:$LINENO: checking for $ac_header" >&5
7196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7198 echo $ECHO_N "(cached) $ECHO_C" >&6
7200 cat >conftest.
$ac_ext <<_ACEOF
7203 cat confdefs.h
>>conftest.
$ac_ext
7204 cat >>conftest.
$ac_ext <<_ACEOF
7205 /* end confdefs.h. */
7206 #if HAVE_SYS_TYPES_H
7207 # include <sys/types.h>
7214 #include <$ac_header>
7216 rm -f conftest.
$ac_objext
7217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7218 (eval $ac_compile) 2>conftest.er1
7220 grep -v '^ *+' conftest.er1
>conftest.err
7222 cat conftest.err
>&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } &&
7225 { ac_try
='test -z "$ac_c_werror_flag"
7226 || test ! -s conftest.err'
7227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); }; } &&
7232 { ac_try
='test -s conftest.$ac_objext'
7233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237 (exit $ac_status); }; }; then
7238 eval "$as_ac_Header=yes"
7240 echo "$as_me: failed program was:" >&5
7241 sed 's/^/| /' conftest.
$ac_ext >&5
7243 eval "$as_ac_Header=no"
7245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7250 cat >>confdefs.h
<<_ACEOF
7251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7259 for ac_header
in machine
/reg.h
7261 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7263 echo "$as_me:$LINENO: checking for $ac_header" >&5
7264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7266 echo $ECHO_N "(cached) $ECHO_C" >&6
7268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7271 # Is the header compilable?
7272 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7274 cat >conftest.
$ac_ext <<_ACEOF
7277 cat confdefs.h
>>conftest.
$ac_ext
7278 cat >>conftest.
$ac_ext <<_ACEOF
7279 /* end confdefs.h. */
7280 $ac_includes_default
7281 #include <$ac_header>
7283 rm -f conftest.
$ac_objext
7284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7285 (eval $ac_compile) 2>conftest.er1
7287 grep -v '^ *+' conftest.er1
>conftest.err
7289 cat conftest.err
>&5
7290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); } &&
7292 { ac_try
='test -z "$ac_c_werror_flag"
7293 || test ! -s conftest.err'
7294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); }; } &&
7299 { ac_try
='test -s conftest.$ac_objext'
7300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); }; }; then
7305 ac_header_compiler
=yes
7307 echo "$as_me: failed program was:" >&5
7308 sed 's/^/| /' conftest.
$ac_ext >&5
7310 ac_header_compiler
=no
7312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7314 echo "${ECHO_T}$ac_header_compiler" >&6
7316 # Is the header present?
7317 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7318 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7319 cat >conftest.
$ac_ext <<_ACEOF
7322 cat confdefs.h
>>conftest.
$ac_ext
7323 cat >>conftest.
$ac_ext <<_ACEOF
7324 /* end confdefs.h. */
7325 #include <$ac_header>
7327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7328 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7330 grep -v '^ *+' conftest.er1
>conftest.err
7332 cat conftest.err
>&5
7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334 (exit $ac_status); } >/dev
/null
; then
7335 if test -s conftest.err
; then
7336 ac_cpp_err
=$ac_c_preproc_warn_flag
7337 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7344 if test -z "$ac_cpp_err"; then
7345 ac_header_preproc
=yes
7347 echo "$as_me: failed program was:" >&5
7348 sed 's/^/| /' conftest.
$ac_ext >&5
7350 ac_header_preproc
=no
7352 rm -f conftest.err conftest.
$ac_ext
7353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7354 echo "${ECHO_T}$ac_header_preproc" >&6
7356 # So? What about this header?
7357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7359 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7360 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7362 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7363 ac_header_preproc
=yes
7366 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7367 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7368 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7369 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7370 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7371 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7372 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7373 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7375 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7376 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7377 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7380 ## ------------------------------------------ ##
7381 ## Report this to the AC_PACKAGE_NAME lists. ##
7382 ## ------------------------------------------ ##
7385 sed "s/^/$as_me: WARNING: /" >&2
7388 echo "$as_me:$LINENO: checking for $ac_header" >&5
7389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7391 echo $ECHO_N "(cached) $ECHO_C" >&6
7393 eval "$as_ac_Header=\$ac_header_preproc"
7395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7400 cat >>confdefs.h
<<_ACEOF
7401 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7410 for ac_header
in poll.h sys
/poll.h
7412 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7414 echo "$as_me:$LINENO: checking for $ac_header" >&5
7415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7417 echo $ECHO_N "(cached) $ECHO_C" >&6
7419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7422 # Is the header compilable?
7423 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7424 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7425 cat >conftest.
$ac_ext <<_ACEOF
7428 cat confdefs.h
>>conftest.
$ac_ext
7429 cat >>conftest.
$ac_ext <<_ACEOF
7430 /* end confdefs.h. */
7431 $ac_includes_default
7432 #include <$ac_header>
7434 rm -f conftest.
$ac_objext
7435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7436 (eval $ac_compile) 2>conftest.er1
7438 grep -v '^ *+' conftest.er1
>conftest.err
7440 cat conftest.err
>&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } &&
7443 { ac_try
='test -z "$ac_c_werror_flag"
7444 || test ! -s conftest.err'
7445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); }; } &&
7450 { ac_try
='test -s conftest.$ac_objext'
7451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); }; }; then
7456 ac_header_compiler
=yes
7458 echo "$as_me: failed program was:" >&5
7459 sed 's/^/| /' conftest.
$ac_ext >&5
7461 ac_header_compiler
=no
7463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7465 echo "${ECHO_T}$ac_header_compiler" >&6
7467 # Is the header present?
7468 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7470 cat >conftest.
$ac_ext <<_ACEOF
7473 cat confdefs.h
>>conftest.
$ac_ext
7474 cat >>conftest.
$ac_ext <<_ACEOF
7475 /* end confdefs.h. */
7476 #include <$ac_header>
7478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7479 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7481 grep -v '^ *+' conftest.er1
>conftest.err
7483 cat conftest.err
>&5
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } >/dev
/null
; then
7486 if test -s conftest.err
; then
7487 ac_cpp_err
=$ac_c_preproc_warn_flag
7488 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7495 if test -z "$ac_cpp_err"; then
7496 ac_header_preproc
=yes
7498 echo "$as_me: failed program was:" >&5
7499 sed 's/^/| /' conftest.
$ac_ext >&5
7501 ac_header_preproc
=no
7503 rm -f conftest.err conftest.
$ac_ext
7504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7505 echo "${ECHO_T}$ac_header_preproc" >&6
7507 # So? What about this header?
7508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7510 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7511 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7513 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7514 ac_header_preproc
=yes
7517 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7518 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7519 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7520 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7521 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7522 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7523 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7524 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7526 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7527 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7528 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7531 ## ------------------------------------------ ##
7532 ## Report this to the AC_PACKAGE_NAME lists. ##
7533 ## ------------------------------------------ ##
7536 sed "s/^/$as_me: WARNING: /" >&2
7539 echo "$as_me:$LINENO: checking for $ac_header" >&5
7540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7542 echo $ECHO_N "(cached) $ECHO_C" >&6
7544 eval "$as_ac_Header=\$ac_header_preproc"
7546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7551 cat >>confdefs.h
<<_ACEOF
7552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7562 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
7564 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7566 echo "$as_me:$LINENO: checking for $ac_header" >&5
7567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7569 echo $ECHO_N "(cached) $ECHO_C" >&6
7571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7574 # Is the header compilable?
7575 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7576 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7577 cat >conftest.
$ac_ext <<_ACEOF
7580 cat confdefs.h
>>conftest.
$ac_ext
7581 cat >>conftest.
$ac_ext <<_ACEOF
7582 /* end confdefs.h. */
7583 $ac_includes_default
7584 #include <$ac_header>
7586 rm -f conftest.
$ac_objext
7587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7588 (eval $ac_compile) 2>conftest.er1
7590 grep -v '^ *+' conftest.er1
>conftest.err
7592 cat conftest.err
>&5
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); } &&
7595 { ac_try
='test -z "$ac_c_werror_flag"
7596 || test ! -s conftest.err'
7597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 (exit $ac_status); }; } &&
7602 { ac_try
='test -s conftest.$ac_objext'
7603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); }; }; then
7608 ac_header_compiler
=yes
7610 echo "$as_me: failed program was:" >&5
7611 sed 's/^/| /' conftest.
$ac_ext >&5
7613 ac_header_compiler
=no
7615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7616 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7617 echo "${ECHO_T}$ac_header_compiler" >&6
7619 # Is the header present?
7620 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7621 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7622 cat >conftest.
$ac_ext <<_ACEOF
7625 cat confdefs.h
>>conftest.
$ac_ext
7626 cat >>conftest.
$ac_ext <<_ACEOF
7627 /* end confdefs.h. */
7628 #include <$ac_header>
7630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7631 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7633 grep -v '^ *+' conftest.er1
>conftest.err
7635 cat conftest.err
>&5
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); } >/dev
/null
; then
7638 if test -s conftest.err
; then
7639 ac_cpp_err
=$ac_c_preproc_warn_flag
7640 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7647 if test -z "$ac_cpp_err"; then
7648 ac_header_preproc
=yes
7650 echo "$as_me: failed program was:" >&5
7651 sed 's/^/| /' conftest.
$ac_ext >&5
7653 ac_header_preproc
=no
7655 rm -f conftest.err conftest.
$ac_ext
7656 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7657 echo "${ECHO_T}$ac_header_preproc" >&6
7659 # So? What about this header?
7660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7662 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7663 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7665 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7666 ac_header_preproc
=yes
7669 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7670 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7671 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7672 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7673 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7674 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7675 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7676 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7678 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7679 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7680 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7683 ## ------------------------------------------ ##
7684 ## Report this to the AC_PACKAGE_NAME lists. ##
7685 ## ------------------------------------------ ##
7688 sed "s/^/$as_me: WARNING: /" >&2
7691 echo "$as_me:$LINENO: checking for $ac_header" >&5
7692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7694 echo $ECHO_N "(cached) $ECHO_C" >&6
7696 eval "$as_ac_Header=\$ac_header_preproc"
7698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7703 cat >>confdefs.h
<<_ACEOF
7704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7712 for ac_header
in stddef.h
7714 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7716 echo "$as_me:$LINENO: checking for $ac_header" >&5
7717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7719 echo $ECHO_N "(cached) $ECHO_C" >&6
7721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7724 # Is the header compilable?
7725 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7727 cat >conftest.
$ac_ext <<_ACEOF
7730 cat confdefs.h
>>conftest.
$ac_ext
7731 cat >>conftest.
$ac_ext <<_ACEOF
7732 /* end confdefs.h. */
7733 $ac_includes_default
7734 #include <$ac_header>
7736 rm -f conftest.
$ac_objext
7737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7738 (eval $ac_compile) 2>conftest.er1
7740 grep -v '^ *+' conftest.er1
>conftest.err
7742 cat conftest.err
>&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); } &&
7745 { ac_try
='test -z "$ac_c_werror_flag"
7746 || test ! -s conftest.err'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; } &&
7752 { ac_try
='test -s conftest.$ac_objext'
7753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); }; }; then
7758 ac_header_compiler
=yes
7760 echo "$as_me: failed program was:" >&5
7761 sed 's/^/| /' conftest.
$ac_ext >&5
7763 ac_header_compiler
=no
7765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7767 echo "${ECHO_T}$ac_header_compiler" >&6
7769 # Is the header present?
7770 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7772 cat >conftest.
$ac_ext <<_ACEOF
7775 cat confdefs.h
>>conftest.
$ac_ext
7776 cat >>conftest.
$ac_ext <<_ACEOF
7777 /* end confdefs.h. */
7778 #include <$ac_header>
7780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7781 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7783 grep -v '^ *+' conftest.er1
>conftest.err
7785 cat conftest.err
>&5
7786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 (exit $ac_status); } >/dev
/null
; then
7788 if test -s conftest.err
; then
7789 ac_cpp_err
=$ac_c_preproc_warn_flag
7790 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7797 if test -z "$ac_cpp_err"; then
7798 ac_header_preproc
=yes
7800 echo "$as_me: failed program was:" >&5
7801 sed 's/^/| /' conftest.
$ac_ext >&5
7803 ac_header_preproc
=no
7805 rm -f conftest.err conftest.
$ac_ext
7806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7807 echo "${ECHO_T}$ac_header_preproc" >&6
7809 # So? What about this header?
7810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7813 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7815 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7816 ac_header_preproc
=yes
7819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7823 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7824 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7825 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7826 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7829 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7830 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7833 ## ------------------------------------------ ##
7834 ## Report this to the AC_PACKAGE_NAME lists. ##
7835 ## ------------------------------------------ ##
7838 sed "s/^/$as_me: WARNING: /" >&2
7841 echo "$as_me:$LINENO: checking for $ac_header" >&5
7842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7844 echo $ECHO_N "(cached) $ECHO_C" >&6
7846 eval "$as_ac_Header=\$ac_header_preproc"
7848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7853 cat >>confdefs.h
<<_ACEOF
7854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7862 for ac_header
in stdlib.h
7864 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7866 echo "$as_me:$LINENO: checking for $ac_header" >&5
7867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7869 echo $ECHO_N "(cached) $ECHO_C" >&6
7871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7874 # Is the header compilable?
7875 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7876 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7877 cat >conftest.
$ac_ext <<_ACEOF
7880 cat confdefs.h
>>conftest.
$ac_ext
7881 cat >>conftest.
$ac_ext <<_ACEOF
7882 /* end confdefs.h. */
7883 $ac_includes_default
7884 #include <$ac_header>
7886 rm -f conftest.
$ac_objext
7887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7888 (eval $ac_compile) 2>conftest.er1
7890 grep -v '^ *+' conftest.er1
>conftest.err
7892 cat conftest.err
>&5
7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7894 (exit $ac_status); } &&
7895 { ac_try
='test -z "$ac_c_werror_flag"
7896 || test ! -s conftest.err'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; } &&
7902 { ac_try
='test -s conftest.$ac_objext'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; }; then
7908 ac_header_compiler
=yes
7910 echo "$as_me: failed program was:" >&5
7911 sed 's/^/| /' conftest.
$ac_ext >&5
7913 ac_header_compiler
=no
7915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7917 echo "${ECHO_T}$ac_header_compiler" >&6
7919 # Is the header present?
7920 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7922 cat >conftest.
$ac_ext <<_ACEOF
7925 cat confdefs.h
>>conftest.
$ac_ext
7926 cat >>conftest.
$ac_ext <<_ACEOF
7927 /* end confdefs.h. */
7928 #include <$ac_header>
7930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7931 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7933 grep -v '^ *+' conftest.er1
>conftest.err
7935 cat conftest.err
>&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } >/dev
/null
; then
7938 if test -s conftest.err
; then
7939 ac_cpp_err
=$ac_c_preproc_warn_flag
7940 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7947 if test -z "$ac_cpp_err"; then
7948 ac_header_preproc
=yes
7950 echo "$as_me: failed program was:" >&5
7951 sed 's/^/| /' conftest.
$ac_ext >&5
7953 ac_header_preproc
=no
7955 rm -f conftest.err conftest.
$ac_ext
7956 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7957 echo "${ECHO_T}$ac_header_preproc" >&6
7959 # So? What about this header?
7960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7962 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7963 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7965 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7966 ac_header_preproc
=yes
7969 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7970 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7971 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7972 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7973 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7974 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7975 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7976 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7979 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7980 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7983 ## ------------------------------------------ ##
7984 ## Report this to the AC_PACKAGE_NAME lists. ##
7985 ## ------------------------------------------ ##
7988 sed "s/^/$as_me: WARNING: /" >&2
7991 echo "$as_me:$LINENO: checking for $ac_header" >&5
7992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7994 echo $ECHO_N "(cached) $ECHO_C" >&6
7996 eval "$as_ac_Header=\$ac_header_preproc"
7998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8003 cat >>confdefs.h
<<_ACEOF
8004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8012 for ac_header
in stdint.h
8014 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8016 echo "$as_me:$LINENO: checking for $ac_header" >&5
8017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8019 echo $ECHO_N "(cached) $ECHO_C" >&6
8021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8024 # Is the header compilable?
8025 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8026 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8027 cat >conftest.
$ac_ext <<_ACEOF
8030 cat confdefs.h
>>conftest.
$ac_ext
8031 cat >>conftest.
$ac_ext <<_ACEOF
8032 /* end confdefs.h. */
8033 $ac_includes_default
8034 #include <$ac_header>
8036 rm -f conftest.
$ac_objext
8037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8038 (eval $ac_compile) 2>conftest.er1
8040 grep -v '^ *+' conftest.er1
>conftest.err
8042 cat conftest.err
>&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); } &&
8045 { ac_try
='test -z "$ac_c_werror_flag"
8046 || test ! -s conftest.err'
8047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); }; } &&
8052 { ac_try
='test -s conftest.$ac_objext'
8053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); }; }; then
8058 ac_header_compiler
=yes
8060 echo "$as_me: failed program was:" >&5
8061 sed 's/^/| /' conftest.
$ac_ext >&5
8063 ac_header_compiler
=no
8065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8066 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8067 echo "${ECHO_T}$ac_header_compiler" >&6
8069 # Is the header present?
8070 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8071 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8072 cat >conftest.
$ac_ext <<_ACEOF
8075 cat confdefs.h
>>conftest.
$ac_ext
8076 cat >>conftest.
$ac_ext <<_ACEOF
8077 /* end confdefs.h. */
8078 #include <$ac_header>
8080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8081 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8083 grep -v '^ *+' conftest.er1
>conftest.err
8085 cat conftest.err
>&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); } >/dev
/null
; then
8088 if test -s conftest.err
; then
8089 ac_cpp_err
=$ac_c_preproc_warn_flag
8090 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8097 if test -z "$ac_cpp_err"; then
8098 ac_header_preproc
=yes
8100 echo "$as_me: failed program was:" >&5
8101 sed 's/^/| /' conftest.
$ac_ext >&5
8103 ac_header_preproc
=no
8105 rm -f conftest.err conftest.
$ac_ext
8106 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8107 echo "${ECHO_T}$ac_header_preproc" >&6
8109 # So? What about this header?
8110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8112 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8113 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8115 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8116 ac_header_preproc
=yes
8119 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8120 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8121 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8122 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8123 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8124 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8125 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8126 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8128 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8129 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8130 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8133 ## ------------------------------------------ ##
8134 ## Report this to the AC_PACKAGE_NAME lists. ##
8135 ## ------------------------------------------ ##
8138 sed "s/^/$as_me: WARNING: /" >&2
8141 echo "$as_me:$LINENO: checking for $ac_header" >&5
8142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8144 echo $ECHO_N "(cached) $ECHO_C" >&6
8146 eval "$as_ac_Header=\$ac_header_preproc"
8148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8153 cat >>confdefs.h
<<_ACEOF
8154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8164 for ac_header
in string.h memory.h
strings.h
8166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8168 echo "$as_me:$LINENO: checking for $ac_header" >&5
8169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8171 echo $ECHO_N "(cached) $ECHO_C" >&6
8173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8176 # Is the header compilable?
8177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8179 cat >conftest.
$ac_ext <<_ACEOF
8182 cat confdefs.h
>>conftest.
$ac_ext
8183 cat >>conftest.
$ac_ext <<_ACEOF
8184 /* end confdefs.h. */
8185 $ac_includes_default
8186 #include <$ac_header>
8188 rm -f conftest.
$ac_objext
8189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8190 (eval $ac_compile) 2>conftest.er1
8192 grep -v '^ *+' conftest.er1
>conftest.err
8194 cat conftest.err
>&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); } &&
8197 { ac_try
='test -z "$ac_c_werror_flag"
8198 || test ! -s conftest.err'
8199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); }; } &&
8204 { ac_try
='test -s conftest.$ac_objext'
8205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); }; }; then
8210 ac_header_compiler
=yes
8212 echo "$as_me: failed program was:" >&5
8213 sed 's/^/| /' conftest.
$ac_ext >&5
8215 ac_header_compiler
=no
8217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8219 echo "${ECHO_T}$ac_header_compiler" >&6
8221 # Is the header present?
8222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8224 cat >conftest.
$ac_ext <<_ACEOF
8227 cat confdefs.h
>>conftest.
$ac_ext
8228 cat >>conftest.
$ac_ext <<_ACEOF
8229 /* end confdefs.h. */
8230 #include <$ac_header>
8232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8235 grep -v '^ *+' conftest.er1
>conftest.err
8237 cat conftest.err
>&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); } >/dev
/null
; then
8240 if test -s conftest.err
; then
8241 ac_cpp_err
=$ac_c_preproc_warn_flag
8242 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8249 if test -z "$ac_cpp_err"; then
8250 ac_header_preproc
=yes
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.
$ac_ext >&5
8255 ac_header_preproc
=no
8257 rm -f conftest.err conftest.
$ac_ext
8258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8259 echo "${ECHO_T}$ac_header_preproc" >&6
8261 # So? What about this header?
8262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8267 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8268 ac_header_preproc
=yes
8271 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8272 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8273 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8274 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8275 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8276 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8277 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8278 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8281 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8282 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8285 ## ------------------------------------------ ##
8286 ## Report this to the AC_PACKAGE_NAME lists. ##
8287 ## ------------------------------------------ ##
8290 sed "s/^/$as_me: WARNING: /" >&2
8293 echo "$as_me:$LINENO: checking for $ac_header" >&5
8294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8298 eval "$as_ac_Header=\$ac_header_preproc"
8300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8305 cat >>confdefs.h
<<_ACEOF
8306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8314 for ac_header
in sys
/fault.h
8316 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8318 echo "$as_me:$LINENO: checking for $ac_header" >&5
8319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8321 echo $ECHO_N "(cached) $ECHO_C" >&6
8323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8326 # Is the header compilable?
8327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8329 cat >conftest.
$ac_ext <<_ACEOF
8332 cat confdefs.h
>>conftest.
$ac_ext
8333 cat >>conftest.
$ac_ext <<_ACEOF
8334 /* end confdefs.h. */
8335 $ac_includes_default
8336 #include <$ac_header>
8338 rm -f conftest.
$ac_objext
8339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8340 (eval $ac_compile) 2>conftest.er1
8342 grep -v '^ *+' conftest.er1
>conftest.err
8344 cat conftest.err
>&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); } &&
8347 { ac_try
='test -z "$ac_c_werror_flag"
8348 || test ! -s conftest.err'
8349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353 (exit $ac_status); }; } &&
8354 { ac_try
='test -s conftest.$ac_objext'
8355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); }; }; then
8360 ac_header_compiler
=yes
8362 echo "$as_me: failed program was:" >&5
8363 sed 's/^/| /' conftest.
$ac_ext >&5
8365 ac_header_compiler
=no
8367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8369 echo "${ECHO_T}$ac_header_compiler" >&6
8371 # Is the header present?
8372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8374 cat >conftest.
$ac_ext <<_ACEOF
8377 cat confdefs.h
>>conftest.
$ac_ext
8378 cat >>conftest.
$ac_ext <<_ACEOF
8379 /* end confdefs.h. */
8380 #include <$ac_header>
8382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8383 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8385 grep -v '^ *+' conftest.er1
>conftest.err
8387 cat conftest.err
>&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); } >/dev
/null
; then
8390 if test -s conftest.err
; then
8391 ac_cpp_err
=$ac_c_preproc_warn_flag
8392 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8399 if test -z "$ac_cpp_err"; then
8400 ac_header_preproc
=yes
8402 echo "$as_me: failed program was:" >&5
8403 sed 's/^/| /' conftest.
$ac_ext >&5
8405 ac_header_preproc
=no
8407 rm -f conftest.err conftest.
$ac_ext
8408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8409 echo "${ECHO_T}$ac_header_preproc" >&6
8411 # So? What about this header?
8412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8418 ac_header_preproc
=yes
8421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8435 ## ------------------------------------------ ##
8436 ## Report this to the AC_PACKAGE_NAME lists. ##
8437 ## ------------------------------------------ ##
8440 sed "s/^/$as_me: WARNING: /" >&2
8443 echo "$as_me:$LINENO: checking for $ac_header" >&5
8444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8448 eval "$as_ac_Header=\$ac_header_preproc"
8450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8455 cat >>confdefs.h
<<_ACEOF
8456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8464 for ac_header
in sys
/file.h
8466 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8468 echo "$as_me:$LINENO: checking for $ac_header" >&5
8469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8471 echo $ECHO_N "(cached) $ECHO_C" >&6
8473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8476 # Is the header compilable?
8477 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8478 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8479 cat >conftest.
$ac_ext <<_ACEOF
8482 cat confdefs.h
>>conftest.
$ac_ext
8483 cat >>conftest.
$ac_ext <<_ACEOF
8484 /* end confdefs.h. */
8485 $ac_includes_default
8486 #include <$ac_header>
8488 rm -f conftest.
$ac_objext
8489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8490 (eval $ac_compile) 2>conftest.er1
8492 grep -v '^ *+' conftest.er1
>conftest.err
8494 cat conftest.err
>&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); } &&
8497 { ac_try
='test -z "$ac_c_werror_flag"
8498 || test ! -s conftest.err'
8499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 (exit $ac_status); }; } &&
8504 { ac_try
='test -s conftest.$ac_objext'
8505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; }; then
8510 ac_header_compiler
=yes
8512 echo "$as_me: failed program was:" >&5
8513 sed 's/^/| /' conftest.
$ac_ext >&5
8515 ac_header_compiler
=no
8517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8518 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8519 echo "${ECHO_T}$ac_header_compiler" >&6
8521 # Is the header present?
8522 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8524 cat >conftest.
$ac_ext <<_ACEOF
8527 cat confdefs.h
>>conftest.
$ac_ext
8528 cat >>conftest.
$ac_ext <<_ACEOF
8529 /* end confdefs.h. */
8530 #include <$ac_header>
8532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8533 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8535 grep -v '^ *+' conftest.er1
>conftest.err
8537 cat conftest.err
>&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); } >/dev
/null
; then
8540 if test -s conftest.err
; then
8541 ac_cpp_err
=$ac_c_preproc_warn_flag
8542 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8549 if test -z "$ac_cpp_err"; then
8550 ac_header_preproc
=yes
8552 echo "$as_me: failed program was:" >&5
8553 sed 's/^/| /' conftest.
$ac_ext >&5
8555 ac_header_preproc
=no
8557 rm -f conftest.err conftest.
$ac_ext
8558 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8559 echo "${ECHO_T}$ac_header_preproc" >&6
8561 # So? What about this header?
8562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8564 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8565 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8567 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8568 ac_header_preproc
=yes
8571 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8572 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8573 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8574 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8575 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8576 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8577 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8578 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8581 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8582 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8585 ## ------------------------------------------ ##
8586 ## Report this to the AC_PACKAGE_NAME lists. ##
8587 ## ------------------------------------------ ##
8590 sed "s/^/$as_me: WARNING: /" >&2
8593 echo "$as_me:$LINENO: checking for $ac_header" >&5
8594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8596 echo $ECHO_N "(cached) $ECHO_C" >&6
8598 eval "$as_ac_Header=\$ac_header_preproc"
8600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8605 cat >>confdefs.h
<<_ACEOF
8606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8614 for ac_header
in sys
/filio.h
8616 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8618 echo "$as_me:$LINENO: checking for $ac_header" >&5
8619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8621 echo $ECHO_N "(cached) $ECHO_C" >&6
8623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8626 # Is the header compilable?
8627 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8629 cat >conftest.
$ac_ext <<_ACEOF
8632 cat confdefs.h
>>conftest.
$ac_ext
8633 cat >>conftest.
$ac_ext <<_ACEOF
8634 /* end confdefs.h. */
8635 $ac_includes_default
8636 #include <$ac_header>
8638 rm -f conftest.
$ac_objext
8639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8640 (eval $ac_compile) 2>conftest.er1
8642 grep -v '^ *+' conftest.er1
>conftest.err
8644 cat conftest.err
>&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); } &&
8647 { ac_try
='test -z "$ac_c_werror_flag"
8648 || test ! -s conftest.err'
8649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); }; } &&
8654 { ac_try
='test -s conftest.$ac_objext'
8655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); }; }; then
8660 ac_header_compiler
=yes
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.
$ac_ext >&5
8665 ac_header_compiler
=no
8667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8669 echo "${ECHO_T}$ac_header_compiler" >&6
8671 # Is the header present?
8672 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8673 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8674 cat >conftest.
$ac_ext <<_ACEOF
8677 cat confdefs.h
>>conftest.
$ac_ext
8678 cat >>conftest.
$ac_ext <<_ACEOF
8679 /* end confdefs.h. */
8680 #include <$ac_header>
8682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8683 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8685 grep -v '^ *+' conftest.er1
>conftest.err
8687 cat conftest.err
>&5
8688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689 (exit $ac_status); } >/dev
/null
; then
8690 if test -s conftest.err
; then
8691 ac_cpp_err
=$ac_c_preproc_warn_flag
8692 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8699 if test -z "$ac_cpp_err"; then
8700 ac_header_preproc
=yes
8702 echo "$as_me: failed program was:" >&5
8703 sed 's/^/| /' conftest.
$ac_ext >&5
8705 ac_header_preproc
=no
8707 rm -f conftest.err conftest.
$ac_ext
8708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8709 echo "${ECHO_T}$ac_header_preproc" >&6
8711 # So? What about this header?
8712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8714 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8715 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8717 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8718 ac_header_preproc
=yes
8721 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8722 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8723 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8724 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8725 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8726 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8727 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8728 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8731 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8732 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8735 ## ------------------------------------------ ##
8736 ## Report this to the AC_PACKAGE_NAME lists. ##
8737 ## ------------------------------------------ ##
8740 sed "s/^/$as_me: WARNING: /" >&2
8743 echo "$as_me:$LINENO: checking for $ac_header" >&5
8744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 eval "$as_ac_Header=\$ac_header_preproc"
8750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8755 cat >>confdefs.h
<<_ACEOF
8756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8764 for ac_header
in sys
/ioctl.h
8766 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8768 echo "$as_me:$LINENO: checking for $ac_header" >&5
8769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8771 echo $ECHO_N "(cached) $ECHO_C" >&6
8773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8776 # Is the header compilable?
8777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8779 cat >conftest.
$ac_ext <<_ACEOF
8782 cat confdefs.h
>>conftest.
$ac_ext
8783 cat >>conftest.
$ac_ext <<_ACEOF
8784 /* end confdefs.h. */
8785 $ac_includes_default
8786 #include <$ac_header>
8788 rm -f conftest.
$ac_objext
8789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8790 (eval $ac_compile) 2>conftest.er1
8792 grep -v '^ *+' conftest.er1
>conftest.err
8794 cat conftest.err
>&5
8795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796 (exit $ac_status); } &&
8797 { ac_try
='test -z "$ac_c_werror_flag"
8798 || test ! -s conftest.err'
8799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8803 (exit $ac_status); }; } &&
8804 { ac_try
='test -s conftest.$ac_objext'
8805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); }; }; then
8810 ac_header_compiler
=yes
8812 echo "$as_me: failed program was:" >&5
8813 sed 's/^/| /' conftest.
$ac_ext >&5
8815 ac_header_compiler
=no
8817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8819 echo "${ECHO_T}$ac_header_compiler" >&6
8821 # Is the header present?
8822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8824 cat >conftest.
$ac_ext <<_ACEOF
8827 cat confdefs.h
>>conftest.
$ac_ext
8828 cat >>conftest.
$ac_ext <<_ACEOF
8829 /* end confdefs.h. */
8830 #include <$ac_header>
8832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8833 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8835 grep -v '^ *+' conftest.er1
>conftest.err
8837 cat conftest.err
>&5
8838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8839 (exit $ac_status); } >/dev
/null
; then
8840 if test -s conftest.err
; then
8841 ac_cpp_err
=$ac_c_preproc_warn_flag
8842 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8849 if test -z "$ac_cpp_err"; then
8850 ac_header_preproc
=yes
8852 echo "$as_me: failed program was:" >&5
8853 sed 's/^/| /' conftest.
$ac_ext >&5
8855 ac_header_preproc
=no
8857 rm -f conftest.err conftest.
$ac_ext
8858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8859 echo "${ECHO_T}$ac_header_preproc" >&6
8861 # So? What about this header?
8862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8868 ac_header_preproc
=yes
8871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8875 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8877 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8878 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8881 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8885 ## ------------------------------------------ ##
8886 ## Report this to the AC_PACKAGE_NAME lists. ##
8887 ## ------------------------------------------ ##
8890 sed "s/^/$as_me: WARNING: /" >&2
8893 echo "$as_me:$LINENO: checking for $ac_header" >&5
8894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8896 echo $ECHO_N "(cached) $ECHO_C" >&6
8898 eval "$as_ac_Header=\$ac_header_preproc"
8900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8905 cat >>confdefs.h
<<_ACEOF
8906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8914 for ac_header
in sys
/param.h
8916 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8918 echo "$as_me:$LINENO: checking for $ac_header" >&5
8919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8921 echo $ECHO_N "(cached) $ECHO_C" >&6
8923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8926 # Is the header compilable?
8927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8929 cat >conftest.
$ac_ext <<_ACEOF
8932 cat confdefs.h
>>conftest.
$ac_ext
8933 cat >>conftest.
$ac_ext <<_ACEOF
8934 /* end confdefs.h. */
8935 $ac_includes_default
8936 #include <$ac_header>
8938 rm -f conftest.
$ac_objext
8939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8940 (eval $ac_compile) 2>conftest.er1
8942 grep -v '^ *+' conftest.er1
>conftest.err
8944 cat conftest.err
>&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); } &&
8947 { ac_try
='test -z "$ac_c_werror_flag"
8948 || test ! -s conftest.err'
8949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); }; } &&
8954 { ac_try
='test -s conftest.$ac_objext'
8955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); }; }; then
8960 ac_header_compiler
=yes
8962 echo "$as_me: failed program was:" >&5
8963 sed 's/^/| /' conftest.
$ac_ext >&5
8965 ac_header_compiler
=no
8967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8969 echo "${ECHO_T}$ac_header_compiler" >&6
8971 # Is the header present?
8972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8974 cat >conftest.
$ac_ext <<_ACEOF
8977 cat confdefs.h
>>conftest.
$ac_ext
8978 cat >>conftest.
$ac_ext <<_ACEOF
8979 /* end confdefs.h. */
8980 #include <$ac_header>
8982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8983 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8985 grep -v '^ *+' conftest.er1
>conftest.err
8987 cat conftest.err
>&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); } >/dev
/null
; then
8990 if test -s conftest.err
; then
8991 ac_cpp_err
=$ac_c_preproc_warn_flag
8992 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8999 if test -z "$ac_cpp_err"; then
9000 ac_header_preproc
=yes
9002 echo "$as_me: failed program was:" >&5
9003 sed 's/^/| /' conftest.
$ac_ext >&5
9005 ac_header_preproc
=no
9007 rm -f conftest.err conftest.
$ac_ext
9008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9009 echo "${ECHO_T}$ac_header_preproc" >&6
9011 # So? What about this header?
9012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9018 ac_header_preproc
=yes
9021 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9023 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9024 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9025 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9027 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9028 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9031 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9035 ## ------------------------------------------ ##
9036 ## Report this to the AC_PACKAGE_NAME lists. ##
9037 ## ------------------------------------------ ##
9040 sed "s/^/$as_me: WARNING: /" >&2
9043 echo "$as_me:$LINENO: checking for $ac_header" >&5
9044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9046 echo $ECHO_N "(cached) $ECHO_C" >&6
9048 eval "$as_ac_Header=\$ac_header_preproc"
9050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9055 cat >>confdefs.h
<<_ACEOF
9056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9064 for ac_header
in sys
/proc.h
9066 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9067 echo "$as_me:$LINENO: checking for $ac_header" >&5
9068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9070 echo $ECHO_N "(cached) $ECHO_C" >&6
9072 cat >conftest.
$ac_ext <<_ACEOF
9075 cat confdefs.h
>>conftest.
$ac_ext
9076 cat >>conftest.
$ac_ext <<_ACEOF
9077 /* end confdefs.h. */
9078 #if HAVE_SYS_PARAM_H
9079 # include <sys/param.h>
9083 #include <$ac_header>
9085 rm -f conftest.
$ac_objext
9086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9087 (eval $ac_compile) 2>conftest.er1
9089 grep -v '^ *+' conftest.er1
>conftest.err
9091 cat conftest.err
>&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 (exit $ac_status); } &&
9094 { ac_try
='test -z "$ac_c_werror_flag"
9095 || test ! -s conftest.err'
9096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); }; } &&
9101 { ac_try
='test -s conftest.$ac_objext'
9102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106 (exit $ac_status); }; }; then
9107 eval "$as_ac_Header=yes"
9109 echo "$as_me: failed program was:" >&5
9110 sed 's/^/| /' conftest.
$ac_ext >&5
9112 eval "$as_ac_Header=no"
9114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9119 cat >>confdefs.h
<<_ACEOF
9120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9128 for ac_header
in sys
/procfs.h
9130 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9132 echo "$as_me:$LINENO: checking for $ac_header" >&5
9133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9135 echo $ECHO_N "(cached) $ECHO_C" >&6
9137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9140 # Is the header compilable?
9141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9143 cat >conftest.
$ac_ext <<_ACEOF
9146 cat confdefs.h
>>conftest.
$ac_ext
9147 cat >>conftest.
$ac_ext <<_ACEOF
9148 /* end confdefs.h. */
9149 $ac_includes_default
9150 #include <$ac_header>
9152 rm -f conftest.
$ac_objext
9153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9154 (eval $ac_compile) 2>conftest.er1
9156 grep -v '^ *+' conftest.er1
>conftest.err
9158 cat conftest.err
>&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); } &&
9161 { ac_try
='test -z "$ac_c_werror_flag"
9162 || test ! -s conftest.err'
9163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); }; } &&
9168 { ac_try
='test -s conftest.$ac_objext'
9169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); }; }; then
9174 ac_header_compiler
=yes
9176 echo "$as_me: failed program was:" >&5
9177 sed 's/^/| /' conftest.
$ac_ext >&5
9179 ac_header_compiler
=no
9181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9183 echo "${ECHO_T}$ac_header_compiler" >&6
9185 # Is the header present?
9186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9188 cat >conftest.
$ac_ext <<_ACEOF
9191 cat confdefs.h
>>conftest.
$ac_ext
9192 cat >>conftest.
$ac_ext <<_ACEOF
9193 /* end confdefs.h. */
9194 #include <$ac_header>
9196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9197 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9199 grep -v '^ *+' conftest.er1
>conftest.err
9201 cat conftest.err
>&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); } >/dev
/null
; then
9204 if test -s conftest.err
; then
9205 ac_cpp_err
=$ac_c_preproc_warn_flag
9206 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9213 if test -z "$ac_cpp_err"; then
9214 ac_header_preproc
=yes
9216 echo "$as_me: failed program was:" >&5
9217 sed 's/^/| /' conftest.
$ac_ext >&5
9219 ac_header_preproc
=no
9221 rm -f conftest.err conftest.
$ac_ext
9222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9223 echo "${ECHO_T}$ac_header_preproc" >&6
9225 # So? What about this header?
9226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9232 ac_header_preproc
=yes
9235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9249 ## ------------------------------------------ ##
9250 ## Report this to the AC_PACKAGE_NAME lists. ##
9251 ## ------------------------------------------ ##
9254 sed "s/^/$as_me: WARNING: /" >&2
9257 echo "$as_me:$LINENO: checking for $ac_header" >&5
9258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9260 echo $ECHO_N "(cached) $ECHO_C" >&6
9262 eval "$as_ac_Header=\$ac_header_preproc"
9264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9269 cat >>confdefs.h
<<_ACEOF
9270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9279 for ac_header
in sys
/ptrace.h ptrace.h
9281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9283 echo "$as_me:$LINENO: checking for $ac_header" >&5
9284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9286 echo $ECHO_N "(cached) $ECHO_C" >&6
9288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9291 # Is the header compilable?
9292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9294 cat >conftest.
$ac_ext <<_ACEOF
9297 cat confdefs.h
>>conftest.
$ac_ext
9298 cat >>conftest.
$ac_ext <<_ACEOF
9299 /* end confdefs.h. */
9300 $ac_includes_default
9301 #include <$ac_header>
9303 rm -f conftest.
$ac_objext
9304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9305 (eval $ac_compile) 2>conftest.er1
9307 grep -v '^ *+' conftest.er1
>conftest.err
9309 cat conftest.err
>&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); } &&
9312 { ac_try
='test -z "$ac_c_werror_flag"
9313 || test ! -s conftest.err'
9314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); }; } &&
9319 { ac_try
='test -s conftest.$ac_objext'
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; }; then
9325 ac_header_compiler
=yes
9327 echo "$as_me: failed program was:" >&5
9328 sed 's/^/| /' conftest.
$ac_ext >&5
9330 ac_header_compiler
=no
9332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9334 echo "${ECHO_T}$ac_header_compiler" >&6
9336 # Is the header present?
9337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9339 cat >conftest.
$ac_ext <<_ACEOF
9342 cat confdefs.h
>>conftest.
$ac_ext
9343 cat >>conftest.
$ac_ext <<_ACEOF
9344 /* end confdefs.h. */
9345 #include <$ac_header>
9347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9350 grep -v '^ *+' conftest.er1
>conftest.err
9352 cat conftest.err
>&5
9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354 (exit $ac_status); } >/dev
/null
; then
9355 if test -s conftest.err
; then
9356 ac_cpp_err
=$ac_c_preproc_warn_flag
9357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9364 if test -z "$ac_cpp_err"; then
9365 ac_header_preproc
=yes
9367 echo "$as_me: failed program was:" >&5
9368 sed 's/^/| /' conftest.
$ac_ext >&5
9370 ac_header_preproc
=no
9372 rm -f conftest.err conftest.
$ac_ext
9373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9374 echo "${ECHO_T}$ac_header_preproc" >&6
9376 # So? What about this header?
9377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9383 ac_header_preproc
=yes
9386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9400 ## ------------------------------------------ ##
9401 ## Report this to the AC_PACKAGE_NAME lists. ##
9402 ## ------------------------------------------ ##
9405 sed "s/^/$as_me: WARNING: /" >&2
9408 echo "$as_me:$LINENO: checking for $ac_header" >&5
9409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9411 echo $ECHO_N "(cached) $ECHO_C" >&6
9413 eval "$as_ac_Header=\$ac_header_preproc"
9415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9420 cat >>confdefs.h
<<_ACEOF
9421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9430 for ac_header
in sys
/reg.h sys
/debugreg.h
9432 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9434 echo "$as_me:$LINENO: checking for $ac_header" >&5
9435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9437 echo $ECHO_N "(cached) $ECHO_C" >&6
9439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9442 # Is the header compilable?
9443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9445 cat >conftest.
$ac_ext <<_ACEOF
9448 cat confdefs.h
>>conftest.
$ac_ext
9449 cat >>conftest.
$ac_ext <<_ACEOF
9450 /* end confdefs.h. */
9451 $ac_includes_default
9452 #include <$ac_header>
9454 rm -f conftest.
$ac_objext
9455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9456 (eval $ac_compile) 2>conftest.er1
9458 grep -v '^ *+' conftest.er1
>conftest.err
9460 cat conftest.err
>&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); } &&
9463 { ac_try
='test -z "$ac_c_werror_flag"
9464 || test ! -s conftest.err'
9465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); }; } &&
9470 { ac_try
='test -s conftest.$ac_objext'
9471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); }; }; then
9476 ac_header_compiler
=yes
9478 echo "$as_me: failed program was:" >&5
9479 sed 's/^/| /' conftest.
$ac_ext >&5
9481 ac_header_compiler
=no
9483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9485 echo "${ECHO_T}$ac_header_compiler" >&6
9487 # Is the header present?
9488 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9490 cat >conftest.
$ac_ext <<_ACEOF
9493 cat confdefs.h
>>conftest.
$ac_ext
9494 cat >>conftest.
$ac_ext <<_ACEOF
9495 /* end confdefs.h. */
9496 #include <$ac_header>
9498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9501 grep -v '^ *+' conftest.er1
>conftest.err
9503 cat conftest.err
>&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); } >/dev
/null
; then
9506 if test -s conftest.err
; then
9507 ac_cpp_err
=$ac_c_preproc_warn_flag
9508 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9515 if test -z "$ac_cpp_err"; then
9516 ac_header_preproc
=yes
9518 echo "$as_me: failed program was:" >&5
9519 sed 's/^/| /' conftest.
$ac_ext >&5
9521 ac_header_preproc
=no
9523 rm -f conftest.err conftest.
$ac_ext
9524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9525 echo "${ECHO_T}$ac_header_preproc" >&6
9527 # So? What about this header?
9528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9534 ac_header_preproc
=yes
9537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9551 ## ------------------------------------------ ##
9552 ## Report this to the AC_PACKAGE_NAME lists. ##
9553 ## ------------------------------------------ ##
9556 sed "s/^/$as_me: WARNING: /" >&2
9559 echo "$as_me:$LINENO: checking for $ac_header" >&5
9560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9562 echo $ECHO_N "(cached) $ECHO_C" >&6
9564 eval "$as_ac_Header=\$ac_header_preproc"
9566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9571 cat >>confdefs.h
<<_ACEOF
9572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9580 for ac_header
in sys
/select.h
9582 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9584 echo "$as_me:$LINENO: checking for $ac_header" >&5
9585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6
9589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9592 # Is the header compilable?
9593 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9594 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9595 cat >conftest.
$ac_ext <<_ACEOF
9598 cat confdefs.h
>>conftest.
$ac_ext
9599 cat >>conftest.
$ac_ext <<_ACEOF
9600 /* end confdefs.h. */
9601 $ac_includes_default
9602 #include <$ac_header>
9604 rm -f conftest.
$ac_objext
9605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9606 (eval $ac_compile) 2>conftest.er1
9608 grep -v '^ *+' conftest.er1
>conftest.err
9610 cat conftest.err
>&5
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); } &&
9613 { ac_try
='test -z "$ac_c_werror_flag"
9614 || test ! -s conftest.err'
9615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619 (exit $ac_status); }; } &&
9620 { ac_try
='test -s conftest.$ac_objext'
9621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625 (exit $ac_status); }; }; then
9626 ac_header_compiler
=yes
9628 echo "$as_me: failed program was:" >&5
9629 sed 's/^/| /' conftest.
$ac_ext >&5
9631 ac_header_compiler
=no
9633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9635 echo "${ECHO_T}$ac_header_compiler" >&6
9637 # Is the header present?
9638 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9640 cat >conftest.
$ac_ext <<_ACEOF
9643 cat confdefs.h
>>conftest.
$ac_ext
9644 cat >>conftest.
$ac_ext <<_ACEOF
9645 /* end confdefs.h. */
9646 #include <$ac_header>
9648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9649 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9651 grep -v '^ *+' conftest.er1
>conftest.err
9653 cat conftest.err
>&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } >/dev
/null
; then
9656 if test -s conftest.err
; then
9657 ac_cpp_err
=$ac_c_preproc_warn_flag
9658 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9665 if test -z "$ac_cpp_err"; then
9666 ac_header_preproc
=yes
9668 echo "$as_me: failed program was:" >&5
9669 sed 's/^/| /' conftest.
$ac_ext >&5
9671 ac_header_preproc
=no
9673 rm -f conftest.err conftest.
$ac_ext
9674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9675 echo "${ECHO_T}$ac_header_preproc" >&6
9677 # So? What about this header?
9678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9680 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9683 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9684 ac_header_preproc
=yes
9687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9691 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9692 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9693 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9694 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9697 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9698 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9701 ## ------------------------------------------ ##
9702 ## Report this to the AC_PACKAGE_NAME lists. ##
9703 ## ------------------------------------------ ##
9706 sed "s/^/$as_me: WARNING: /" >&2
9709 echo "$as_me:$LINENO: checking for $ac_header" >&5
9710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9712 echo $ECHO_N "(cached) $ECHO_C" >&6
9714 eval "$as_ac_Header=\$ac_header_preproc"
9716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9721 cat >>confdefs.h
<<_ACEOF
9722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9730 for ac_header
in sys
/syscall.h
9732 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9734 echo "$as_me:$LINENO: checking for $ac_header" >&5
9735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9737 echo $ECHO_N "(cached) $ECHO_C" >&6
9739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9742 # Is the header compilable?
9743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9745 cat >conftest.
$ac_ext <<_ACEOF
9748 cat confdefs.h
>>conftest.
$ac_ext
9749 cat >>conftest.
$ac_ext <<_ACEOF
9750 /* end confdefs.h. */
9751 $ac_includes_default
9752 #include <$ac_header>
9754 rm -f conftest.
$ac_objext
9755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9756 (eval $ac_compile) 2>conftest.er1
9758 grep -v '^ *+' conftest.er1
>conftest.err
9760 cat conftest.err
>&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); } &&
9763 { ac_try
='test -z "$ac_c_werror_flag"
9764 || test ! -s conftest.err'
9765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); }; } &&
9770 { ac_try
='test -s conftest.$ac_objext'
9771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); }; }; then
9776 ac_header_compiler
=yes
9778 echo "$as_me: failed program was:" >&5
9779 sed 's/^/| /' conftest.
$ac_ext >&5
9781 ac_header_compiler
=no
9783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9785 echo "${ECHO_T}$ac_header_compiler" >&6
9787 # Is the header present?
9788 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9790 cat >conftest.
$ac_ext <<_ACEOF
9793 cat confdefs.h
>>conftest.
$ac_ext
9794 cat >>conftest.
$ac_ext <<_ACEOF
9795 /* end confdefs.h. */
9796 #include <$ac_header>
9798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9799 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9801 grep -v '^ *+' conftest.er1
>conftest.err
9803 cat conftest.err
>&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } >/dev
/null
; then
9806 if test -s conftest.err
; then
9807 ac_cpp_err
=$ac_c_preproc_warn_flag
9808 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9815 if test -z "$ac_cpp_err"; then
9816 ac_header_preproc
=yes
9818 echo "$as_me: failed program was:" >&5
9819 sed 's/^/| /' conftest.
$ac_ext >&5
9821 ac_header_preproc
=no
9823 rm -f conftest.err conftest.
$ac_ext
9824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9825 echo "${ECHO_T}$ac_header_preproc" >&6
9827 # So? What about this header?
9828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9831 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9833 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9834 ac_header_preproc
=yes
9837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9841 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9842 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9843 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9844 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9847 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9848 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9851 ## ------------------------------------------ ##
9852 ## Report this to the AC_PACKAGE_NAME lists. ##
9853 ## ------------------------------------------ ##
9856 sed "s/^/$as_me: WARNING: /" >&2
9859 echo "$as_me:$LINENO: checking for $ac_header" >&5
9860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9862 echo $ECHO_N "(cached) $ECHO_C" >&6
9864 eval "$as_ac_Header=\$ac_header_preproc"
9866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9871 cat >>confdefs.h
<<_ACEOF
9872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9880 for ac_header
in sys
/types.h
9882 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9884 echo "$as_me:$LINENO: checking for $ac_header" >&5
9885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9887 echo $ECHO_N "(cached) $ECHO_C" >&6
9889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9892 # Is the header compilable?
9893 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9895 cat >conftest.
$ac_ext <<_ACEOF
9898 cat confdefs.h
>>conftest.
$ac_ext
9899 cat >>conftest.
$ac_ext <<_ACEOF
9900 /* end confdefs.h. */
9901 $ac_includes_default
9902 #include <$ac_header>
9904 rm -f conftest.
$ac_objext
9905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9906 (eval $ac_compile) 2>conftest.er1
9908 grep -v '^ *+' conftest.er1
>conftest.err
9910 cat conftest.err
>&5
9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912 (exit $ac_status); } &&
9913 { ac_try
='test -z "$ac_c_werror_flag"
9914 || test ! -s conftest.err'
9915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); }; } &&
9920 { ac_try
='test -s conftest.$ac_objext'
9921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925 (exit $ac_status); }; }; then
9926 ac_header_compiler
=yes
9928 echo "$as_me: failed program was:" >&5
9929 sed 's/^/| /' conftest.
$ac_ext >&5
9931 ac_header_compiler
=no
9933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9935 echo "${ECHO_T}$ac_header_compiler" >&6
9937 # Is the header present?
9938 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9940 cat >conftest.
$ac_ext <<_ACEOF
9943 cat confdefs.h
>>conftest.
$ac_ext
9944 cat >>conftest.
$ac_ext <<_ACEOF
9945 /* end confdefs.h. */
9946 #include <$ac_header>
9948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9949 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9951 grep -v '^ *+' conftest.er1
>conftest.err
9953 cat conftest.err
>&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); } >/dev
/null
; then
9956 if test -s conftest.err
; then
9957 ac_cpp_err
=$ac_c_preproc_warn_flag
9958 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9965 if test -z "$ac_cpp_err"; then
9966 ac_header_preproc
=yes
9968 echo "$as_me: failed program was:" >&5
9969 sed 's/^/| /' conftest.
$ac_ext >&5
9971 ac_header_preproc
=no
9973 rm -f conftest.err conftest.
$ac_ext
9974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9975 echo "${ECHO_T}$ac_header_preproc" >&6
9977 # So? What about this header?
9978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9984 ac_header_preproc
=yes
9987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10001 ## ------------------------------------------ ##
10002 ## Report this to the AC_PACKAGE_NAME lists. ##
10003 ## ------------------------------------------ ##
10006 sed "s/^/$as_me: WARNING: /" >&2
10009 echo "$as_me:$LINENO: checking for $ac_header" >&5
10010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10012 echo $ECHO_N "(cached) $ECHO_C" >&6
10014 eval "$as_ac_Header=\$ac_header_preproc"
10016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10021 cat >>confdefs.h
<<_ACEOF
10022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10030 for ac_header
in sys
/user.h
10032 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10033 echo "$as_me:$LINENO: checking for $ac_header" >&5
10034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10036 echo $ECHO_N "(cached) $ECHO_C" >&6
10038 cat >conftest.
$ac_ext <<_ACEOF
10041 cat confdefs.h
>>conftest.
$ac_ext
10042 cat >>conftest.
$ac_ext <<_ACEOF
10043 /* end confdefs.h. */
10044 #if HAVE_SYS_PARAM_H
10045 # include <sys/param.h>
10049 #include <$ac_header>
10051 rm -f conftest.
$ac_objext
10052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10053 (eval $ac_compile) 2>conftest.er1
10055 grep -v '^ *+' conftest.er1
>conftest.err
10057 cat conftest.err
>&5
10058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059 (exit $ac_status); } &&
10060 { ac_try
='test -z "$ac_c_werror_flag"
10061 || test ! -s conftest.err'
10062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063 (eval $ac_try) 2>&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); }; } &&
10067 { ac_try
='test -s conftest.$ac_objext'
10068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10069 (eval $ac_try) 2>&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; }; then
10073 eval "$as_ac_Header=yes"
10075 echo "$as_me: failed program was:" >&5
10076 sed 's/^/| /' conftest.
$ac_ext >&5
10078 eval "$as_ac_Header=no"
10080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10084 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10085 cat >>confdefs.h
<<_ACEOF
10086 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10095 for ac_header
in sys
/wait.h
wait.h
10097 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10099 echo "$as_me:$LINENO: checking for $ac_header" >&5
10100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10102 echo $ECHO_N "(cached) $ECHO_C" >&6
10104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10107 # Is the header compilable?
10108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10110 cat >conftest.
$ac_ext <<_ACEOF
10113 cat confdefs.h
>>conftest.
$ac_ext
10114 cat >>conftest.
$ac_ext <<_ACEOF
10115 /* end confdefs.h. */
10116 $ac_includes_default
10117 #include <$ac_header>
10119 rm -f conftest.
$ac_objext
10120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10121 (eval $ac_compile) 2>conftest.er1
10123 grep -v '^ *+' conftest.er1
>conftest.err
10125 cat conftest.err
>&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); } &&
10128 { ac_try
='test -z "$ac_c_werror_flag"
10129 || test ! -s conftest.err'
10130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10131 (eval $ac_try) 2>&5
10133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10134 (exit $ac_status); }; } &&
10135 { ac_try
='test -s conftest.$ac_objext'
10136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10137 (eval $ac_try) 2>&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); }; }; then
10141 ac_header_compiler
=yes
10143 echo "$as_me: failed program was:" >&5
10144 sed 's/^/| /' conftest.
$ac_ext >&5
10146 ac_header_compiler
=no
10148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10150 echo "${ECHO_T}$ac_header_compiler" >&6
10152 # Is the header present?
10153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10155 cat >conftest.
$ac_ext <<_ACEOF
10158 cat confdefs.h
>>conftest.
$ac_ext
10159 cat >>conftest.
$ac_ext <<_ACEOF
10160 /* end confdefs.h. */
10161 #include <$ac_header>
10163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10164 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10166 grep -v '^ *+' conftest.er1
>conftest.err
10168 cat conftest.err
>&5
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); } >/dev
/null
; then
10171 if test -s conftest.err
; then
10172 ac_cpp_err
=$ac_c_preproc_warn_flag
10173 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10180 if test -z "$ac_cpp_err"; then
10181 ac_header_preproc
=yes
10183 echo "$as_me: failed program was:" >&5
10184 sed 's/^/| /' conftest.
$ac_ext >&5
10186 ac_header_preproc
=no
10188 rm -f conftest.err conftest.
$ac_ext
10189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10190 echo "${ECHO_T}$ac_header_preproc" >&6
10192 # So? What about this header?
10193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10195 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10199 ac_header_preproc
=yes
10202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10206 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10208 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10209 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10212 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10216 ## ------------------------------------------ ##
10217 ## Report this to the AC_PACKAGE_NAME lists. ##
10218 ## ------------------------------------------ ##
10221 sed "s/^/$as_me: WARNING: /" >&2
10224 echo "$as_me:$LINENO: checking for $ac_header" >&5
10225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10227 echo $ECHO_N "(cached) $ECHO_C" >&6
10229 eval "$as_ac_Header=\$ac_header_preproc"
10231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10236 cat >>confdefs.h
<<_ACEOF
10237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10247 for ac_header
in termios.h termio.h sgtty.h
10249 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10251 echo "$as_me:$LINENO: checking for $ac_header" >&5
10252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10254 echo $ECHO_N "(cached) $ECHO_C" >&6
10256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10259 # Is the header compilable?
10260 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10262 cat >conftest.
$ac_ext <<_ACEOF
10265 cat confdefs.h
>>conftest.
$ac_ext
10266 cat >>conftest.
$ac_ext <<_ACEOF
10267 /* end confdefs.h. */
10268 $ac_includes_default
10269 #include <$ac_header>
10271 rm -f conftest.
$ac_objext
10272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10273 (eval $ac_compile) 2>conftest.er1
10275 grep -v '^ *+' conftest.er1
>conftest.err
10277 cat conftest.err
>&5
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); } &&
10280 { ac_try
='test -z "$ac_c_werror_flag"
10281 || test ! -s conftest.err'
10282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10283 (eval $ac_try) 2>&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; } &&
10287 { ac_try
='test -s conftest.$ac_objext'
10288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10289 (eval $ac_try) 2>&5
10291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292 (exit $ac_status); }; }; then
10293 ac_header_compiler
=yes
10295 echo "$as_me: failed program was:" >&5
10296 sed 's/^/| /' conftest.
$ac_ext >&5
10298 ac_header_compiler
=no
10300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10302 echo "${ECHO_T}$ac_header_compiler" >&6
10304 # Is the header present?
10305 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10306 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10307 cat >conftest.
$ac_ext <<_ACEOF
10310 cat confdefs.h
>>conftest.
$ac_ext
10311 cat >>conftest.
$ac_ext <<_ACEOF
10312 /* end confdefs.h. */
10313 #include <$ac_header>
10315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10316 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10318 grep -v '^ *+' conftest.er1
>conftest.err
10320 cat conftest.err
>&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); } >/dev
/null
; then
10323 if test -s conftest.err
; then
10324 ac_cpp_err
=$ac_c_preproc_warn_flag
10325 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10332 if test -z "$ac_cpp_err"; then
10333 ac_header_preproc
=yes
10335 echo "$as_me: failed program was:" >&5
10336 sed 's/^/| /' conftest.
$ac_ext >&5
10338 ac_header_preproc
=no
10340 rm -f conftest.err conftest.
$ac_ext
10341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10342 echo "${ECHO_T}$ac_header_preproc" >&6
10344 # So? What about this header?
10345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10347 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10350 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10351 ac_header_preproc
=yes
10354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10358 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10359 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10360 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10361 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10364 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10365 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10368 ## ------------------------------------------ ##
10369 ## Report this to the AC_PACKAGE_NAME lists. ##
10370 ## ------------------------------------------ ##
10373 sed "s/^/$as_me: WARNING: /" >&2
10376 echo "$as_me:$LINENO: checking for $ac_header" >&5
10377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10379 echo $ECHO_N "(cached) $ECHO_C" >&6
10381 eval "$as_ac_Header=\$ac_header_preproc"
10383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10388 cat >>confdefs.h
<<_ACEOF
10389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10397 for ac_header
in unistd.h
10399 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10401 echo "$as_me:$LINENO: checking for $ac_header" >&5
10402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10409 # Is the header compilable?
10410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10412 cat >conftest.
$ac_ext <<_ACEOF
10415 cat confdefs.h
>>conftest.
$ac_ext
10416 cat >>conftest.
$ac_ext <<_ACEOF
10417 /* end confdefs.h. */
10418 $ac_includes_default
10419 #include <$ac_header>
10421 rm -f conftest.
$ac_objext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10423 (eval $ac_compile) 2>conftest.er1
10425 grep -v '^ *+' conftest.er1
>conftest.err
10427 cat conftest.err
>&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); } &&
10430 { ac_try
='test -z "$ac_c_werror_flag"
10431 || test ! -s conftest.err'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; } &&
10437 { ac_try
='test -s conftest.$ac_objext'
10438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439 (eval $ac_try) 2>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; }; then
10443 ac_header_compiler
=yes
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.
$ac_ext >&5
10448 ac_header_compiler
=no
10450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10452 echo "${ECHO_T}$ac_header_compiler" >&6
10454 # Is the header present?
10455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10457 cat >conftest.
$ac_ext <<_ACEOF
10460 cat confdefs.h
>>conftest.
$ac_ext
10461 cat >>conftest.
$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10463 #include <$ac_header>
10465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10468 grep -v '^ *+' conftest.er1
>conftest.err
10470 cat conftest.err
>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); } >/dev
/null
; then
10473 if test -s conftest.err
; then
10474 ac_cpp_err
=$ac_c_preproc_warn_flag
10475 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10482 if test -z "$ac_cpp_err"; then
10483 ac_header_preproc
=yes
10485 echo "$as_me: failed program was:" >&5
10486 sed 's/^/| /' conftest.
$ac_ext >&5
10488 ac_header_preproc
=no
10490 rm -f conftest.err conftest.
$ac_ext
10491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10492 echo "${ECHO_T}$ac_header_preproc" >&6
10494 # So? What about this header?
10495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10501 ac_header_preproc
=yes
10504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10518 ## ------------------------------------------ ##
10519 ## Report this to the AC_PACKAGE_NAME lists. ##
10520 ## ------------------------------------------ ##
10523 sed "s/^/$as_me: WARNING: /" >&2
10526 echo "$as_me:$LINENO: checking for $ac_header" >&5
10527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10531 eval "$as_ac_Header=\$ac_header_preproc"
10533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10538 cat >>confdefs.h
<<_ACEOF
10539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10547 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
10548 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
10549 # think that we don't have <curses.h> if we're using GCC.
10552 if test "$GCC" = yes; then
10554 cat >>confdefs.h
<<\_ACEOF
10555 #define _MSE_INT_H 1
10564 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
10566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10568 echo "$as_me:$LINENO: checking for $ac_header" >&5
10569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10571 echo $ECHO_N "(cached) $ECHO_C" >&6
10573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10576 # Is the header compilable?
10577 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10578 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10579 cat >conftest.
$ac_ext <<_ACEOF
10582 cat confdefs.h
>>conftest.
$ac_ext
10583 cat >>conftest.
$ac_ext <<_ACEOF
10584 /* end confdefs.h. */
10585 $ac_includes_default
10586 #include <$ac_header>
10588 rm -f conftest.
$ac_objext
10589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10590 (eval $ac_compile) 2>conftest.er1
10592 grep -v '^ *+' conftest.er1
>conftest.err
10594 cat conftest.err
>&5
10595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596 (exit $ac_status); } &&
10597 { ac_try
='test -z "$ac_c_werror_flag"
10598 || test ! -s conftest.err'
10599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10600 (eval $ac_try) 2>&5
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 (exit $ac_status); }; } &&
10604 { ac_try
='test -s conftest.$ac_objext'
10605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10606 (eval $ac_try) 2>&5
10608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 (exit $ac_status); }; }; then
10610 ac_header_compiler
=yes
10612 echo "$as_me: failed program was:" >&5
10613 sed 's/^/| /' conftest.
$ac_ext >&5
10615 ac_header_compiler
=no
10617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10619 echo "${ECHO_T}$ac_header_compiler" >&6
10621 # Is the header present?
10622 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10623 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10624 cat >conftest.
$ac_ext <<_ACEOF
10627 cat confdefs.h
>>conftest.
$ac_ext
10628 cat >>conftest.
$ac_ext <<_ACEOF
10629 /* end confdefs.h. */
10630 #include <$ac_header>
10632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10633 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10635 grep -v '^ *+' conftest.er1
>conftest.err
10637 cat conftest.err
>&5
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); } >/dev
/null
; then
10640 if test -s conftest.err
; then
10641 ac_cpp_err
=$ac_c_preproc_warn_flag
10642 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10649 if test -z "$ac_cpp_err"; then
10650 ac_header_preproc
=yes
10652 echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.
$ac_ext >&5
10655 ac_header_preproc
=no
10657 rm -f conftest.err conftest.
$ac_ext
10658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10659 echo "${ECHO_T}$ac_header_preproc" >&6
10661 # So? What about this header?
10662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10664 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10665 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10667 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10668 ac_header_preproc
=yes
10671 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10672 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10673 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10674 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10675 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10676 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10677 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10678 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10680 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10681 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10682 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10685 ## ------------------------------------------ ##
10686 ## Report this to the AC_PACKAGE_NAME lists. ##
10687 ## ------------------------------------------ ##
10690 sed "s/^/$as_me: WARNING: /" >&2
10693 echo "$as_me:$LINENO: checking for $ac_header" >&5
10694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10696 echo $ECHO_N "(cached) $ECHO_C" >&6
10698 eval "$as_ac_Header=\$ac_header_preproc"
10700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10705 cat >>confdefs.h
<<_ACEOF
10706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10714 for ac_header
in ncurses
/term.h
10716 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10718 echo "$as_me:$LINENO: checking for $ac_header" >&5
10719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10721 echo $ECHO_N "(cached) $ECHO_C" >&6
10723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10726 # Is the header compilable?
10727 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10729 cat >conftest.
$ac_ext <<_ACEOF
10732 cat confdefs.h
>>conftest.
$ac_ext
10733 cat >>conftest.
$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10735 $ac_includes_default
10736 #include <$ac_header>
10738 rm -f conftest.
$ac_objext
10739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10740 (eval $ac_compile) 2>conftest.er1
10742 grep -v '^ *+' conftest.er1
>conftest.err
10744 cat conftest.err
>&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); } &&
10747 { ac_try
='test -z "$ac_c_werror_flag"
10748 || test ! -s conftest.err'
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; } &&
10754 { ac_try
='test -s conftest.$ac_objext'
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; }; then
10760 ac_header_compiler
=yes
10762 echo "$as_me: failed program was:" >&5
10763 sed 's/^/| /' conftest.
$ac_ext >&5
10765 ac_header_compiler
=no
10767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10769 echo "${ECHO_T}$ac_header_compiler" >&6
10771 # Is the header present?
10772 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10773 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10774 cat >conftest.
$ac_ext <<_ACEOF
10777 cat confdefs.h
>>conftest.
$ac_ext
10778 cat >>conftest.
$ac_ext <<_ACEOF
10779 /* end confdefs.h. */
10780 #include <$ac_header>
10782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10783 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10785 grep -v '^ *+' conftest.er1
>conftest.err
10787 cat conftest.err
>&5
10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); } >/dev
/null
; then
10790 if test -s conftest.err
; then
10791 ac_cpp_err
=$ac_c_preproc_warn_flag
10792 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10799 if test -z "$ac_cpp_err"; then
10800 ac_header_preproc
=yes
10802 echo "$as_me: failed program was:" >&5
10803 sed 's/^/| /' conftest.
$ac_ext >&5
10805 ac_header_preproc
=no
10807 rm -f conftest.err conftest.
$ac_ext
10808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10809 echo "${ECHO_T}$ac_header_preproc" >&6
10811 # So? What about this header?
10812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10814 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10815 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10817 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10818 ac_header_preproc
=yes
10821 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10823 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10825 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10826 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10827 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10828 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10830 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10831 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10832 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10835 ## ------------------------------------------ ##
10836 ## Report this to the AC_PACKAGE_NAME lists. ##
10837 ## ------------------------------------------ ##
10840 sed "s/^/$as_me: WARNING: /" >&2
10843 echo "$as_me:$LINENO: checking for $ac_header" >&5
10844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10848 eval "$as_ac_Header=\$ac_header_preproc"
10850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10855 cat >>confdefs.h
<<_ACEOF
10856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10864 for ac_header
in term.h
10866 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10867 echo "$as_me:$LINENO: checking for $ac_header" >&5
10868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10870 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 cat >conftest.
$ac_ext <<_ACEOF
10875 cat confdefs.h
>>conftest.
$ac_ext
10876 cat >>conftest.
$ac_ext <<_ACEOF
10877 /* end confdefs.h. */
10879 # include <curses.h>
10883 #include <$ac_header>
10885 rm -f conftest.
$ac_objext
10886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10887 (eval $ac_compile) 2>conftest.er1
10889 grep -v '^ *+' conftest.er1
>conftest.err
10891 cat conftest.err
>&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } &&
10894 { ac_try
='test -z "$ac_c_werror_flag"
10895 || test ! -s conftest.err'
10896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10897 (eval $ac_try) 2>&5
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); }; } &&
10901 { ac_try
='test -s conftest.$ac_objext'
10902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10903 (eval $ac_try) 2>&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; }; then
10907 eval "$as_ac_Header=yes"
10909 echo "$as_me: failed program was:" >&5
10910 sed 's/^/| /' conftest.
$ac_ext >&5
10912 eval "$as_ac_Header=no"
10914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10919 cat >>confdefs.h
<<_ACEOF
10920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10928 # FIXME: kettenis/20030102: In most cases we include these
10929 # unconditionally, so what's the point in checking these?
10932 for ac_header
in ctype.h
time.h
10934 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10936 echo "$as_me:$LINENO: checking for $ac_header" >&5
10937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10939 echo $ECHO_N "(cached) $ECHO_C" >&6
10941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10944 # Is the header compilable?
10945 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10946 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10947 cat >conftest.
$ac_ext <<_ACEOF
10950 cat confdefs.h
>>conftest.
$ac_ext
10951 cat >>conftest.
$ac_ext <<_ACEOF
10952 /* end confdefs.h. */
10953 $ac_includes_default
10954 #include <$ac_header>
10956 rm -f conftest.
$ac_objext
10957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10958 (eval $ac_compile) 2>conftest.er1
10960 grep -v '^ *+' conftest.er1
>conftest.err
10962 cat conftest.err
>&5
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); } &&
10965 { ac_try
='test -z "$ac_c_werror_flag"
10966 || test ! -s conftest.err'
10967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10968 (eval $ac_try) 2>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); }; } &&
10972 { ac_try
='test -s conftest.$ac_objext'
10973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10974 (eval $ac_try) 2>&5
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); }; }; then
10978 ac_header_compiler
=yes
10980 echo "$as_me: failed program was:" >&5
10981 sed 's/^/| /' conftest.
$ac_ext >&5
10983 ac_header_compiler
=no
10985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10987 echo "${ECHO_T}$ac_header_compiler" >&6
10989 # Is the header present?
10990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10992 cat >conftest.
$ac_ext <<_ACEOF
10995 cat confdefs.h
>>conftest.
$ac_ext
10996 cat >>conftest.
$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10998 #include <$ac_header>
11000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11003 grep -v '^ *+' conftest.er1
>conftest.err
11005 cat conftest.err
>&5
11006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007 (exit $ac_status); } >/dev
/null
; then
11008 if test -s conftest.err
; then
11009 ac_cpp_err
=$ac_c_preproc_warn_flag
11010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11017 if test -z "$ac_cpp_err"; then
11018 ac_header_preproc
=yes
11020 echo "$as_me: failed program was:" >&5
11021 sed 's/^/| /' conftest.
$ac_ext >&5
11023 ac_header_preproc
=no
11025 rm -f conftest.err conftest.
$ac_ext
11026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11027 echo "${ECHO_T}$ac_header_preproc" >&6
11029 # So? What about this header?
11030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11036 ac_header_preproc
=yes
11039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11053 ## ------------------------------------------ ##
11054 ## Report this to the AC_PACKAGE_NAME lists. ##
11055 ## ------------------------------------------ ##
11058 sed "s/^/$as_me: WARNING: /" >&2
11061 echo "$as_me:$LINENO: checking for $ac_header" >&5
11062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11064 echo $ECHO_N "(cached) $ECHO_C" >&6
11066 eval "$as_ac_Header=\$ac_header_preproc"
11068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11073 cat >>confdefs.h
<<_ACEOF
11074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11082 # Create a header we can use portably to get the standard integer types.
11085 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
11087 acx_cv_header_stdint
=stddef.h
11088 acx_cv_header_stdint_kind
="(already complete)"
11089 for i
in stdint.h
$inttype_headers; do
11090 unset ac_cv_type_uintptr_t
11091 unset ac_cv_type_uintmax_t
11092 unset ac_cv_type_int_least32_t
11093 unset ac_cv_type_int_fast32_t
11094 unset ac_cv_type_uint64_t
11095 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
11096 echo "$as_me:$LINENO: checking for uintmax_t" >&5
11097 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
11098 if test "${ac_cv_type_uintmax_t+set}" = set; then
11099 echo $ECHO_N "(cached) $ECHO_C" >&6
11101 cat >conftest.
$ac_ext <<_ACEOF
11104 cat confdefs.h
>>conftest.
$ac_ext
11105 cat >>conftest.
$ac_ext <<_ACEOF
11106 /* end confdefs.h. */
11107 #include <sys/types.h>
11113 if ((uintmax_t *) 0)
11115 if (sizeof (uintmax_t))
11121 rm -f conftest.
$ac_objext
11122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11123 (eval $ac_compile) 2>conftest.er1
11125 grep -v '^ *+' conftest.er1
>conftest.err
11127 cat conftest.err
>&5
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); } &&
11130 { ac_try
='test -z "$ac_c_werror_flag"
11131 || test ! -s conftest.err'
11132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11133 (eval $ac_try) 2>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); }; } &&
11137 { ac_try
='test -s conftest.$ac_objext'
11138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11139 (eval $ac_try) 2>&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); }; }; then
11143 ac_cv_type_uintmax_t
=yes
11145 echo "$as_me: failed program was:" >&5
11146 sed 's/^/| /' conftest.
$ac_ext >&5
11148 ac_cv_type_uintmax_t
=no
11150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11152 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
11153 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
11154 if test $ac_cv_type_uintmax_t = yes; then
11155 acx_cv_header_stdint
=$i
11160 echo "$as_me:$LINENO: checking for uintptr_t" >&5
11161 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
11162 if test "${ac_cv_type_uintptr_t+set}" = set; then
11163 echo $ECHO_N "(cached) $ECHO_C" >&6
11165 cat >conftest.
$ac_ext <<_ACEOF
11168 cat confdefs.h
>>conftest.
$ac_ext
11169 cat >>conftest.
$ac_ext <<_ACEOF
11170 /* end confdefs.h. */
11171 #include <sys/types.h>
11177 if ((uintptr_t *) 0)
11179 if (sizeof (uintptr_t))
11185 rm -f conftest.
$ac_objext
11186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11187 (eval $ac_compile) 2>conftest.er1
11189 grep -v '^ *+' conftest.er1
>conftest.err
11191 cat conftest.err
>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } &&
11194 { ac_try
='test -z "$ac_c_werror_flag"
11195 || test ! -s conftest.err'
11196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; } &&
11201 { ac_try
='test -s conftest.$ac_objext'
11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203 (eval $ac_try) 2>&5
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }; }; then
11207 ac_cv_type_uintptr_t
=yes
11209 echo "$as_me: failed program was:" >&5
11210 sed 's/^/| /' conftest.
$ac_ext >&5
11212 ac_cv_type_uintptr_t
=no
11214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11216 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11217 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
11218 if test $ac_cv_type_uintptr_t = yes; then
11221 acx_cv_header_stdint_kind
="(mostly complete)"
11224 echo "$as_me:$LINENO: checking for int_least32_t" >&5
11225 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
11226 if test "${ac_cv_type_int_least32_t+set}" = set; then
11227 echo $ECHO_N "(cached) $ECHO_C" >&6
11229 cat >conftest.
$ac_ext <<_ACEOF
11232 cat confdefs.h
>>conftest.
$ac_ext
11233 cat >>conftest.
$ac_ext <<_ACEOF
11234 /* end confdefs.h. */
11235 #include <sys/types.h>
11241 if ((int_least32_t *) 0)
11243 if (sizeof (int_least32_t))
11249 rm -f conftest.
$ac_objext
11250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11251 (eval $ac_compile) 2>conftest.er1
11253 grep -v '^ *+' conftest.er1
>conftest.err
11255 cat conftest.err
>&5
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); } &&
11258 { ac_try
='test -z "$ac_c_werror_flag"
11259 || test ! -s conftest.err'
11260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11261 (eval $ac_try) 2>&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); }; } &&
11265 { ac_try
='test -s conftest.$ac_objext'
11266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11267 (eval $ac_try) 2>&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); }; }; then
11271 ac_cv_type_int_least32_t
=yes
11273 echo "$as_me: failed program was:" >&5
11274 sed 's/^/| /' conftest.
$ac_ext >&5
11276 ac_cv_type_int_least32_t
=no
11278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11280 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
11281 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
11282 if test $ac_cv_type_int_least32_t = yes; then
11285 acx_cv_header_stdint_kind
="(mostly complete)"
11288 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
11289 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
11290 if test "${ac_cv_type_int_fast32_t+set}" = set; then
11291 echo $ECHO_N "(cached) $ECHO_C" >&6
11293 cat >conftest.
$ac_ext <<_ACEOF
11296 cat confdefs.h
>>conftest.
$ac_ext
11297 cat >>conftest.
$ac_ext <<_ACEOF
11298 /* end confdefs.h. */
11299 #include <sys/types.h>
11305 if ((int_fast32_t *) 0)
11307 if (sizeof (int_fast32_t))
11313 rm -f conftest.
$ac_objext
11314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11315 (eval $ac_compile) 2>conftest.er1
11317 grep -v '^ *+' conftest.er1
>conftest.err
11319 cat conftest.err
>&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); } &&
11322 { ac_try
='test -z "$ac_c_werror_flag"
11323 || test ! -s conftest.err'
11324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11325 (eval $ac_try) 2>&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); }; } &&
11329 { ac_try
='test -s conftest.$ac_objext'
11330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 (eval $ac_try) 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; }; then
11335 ac_cv_type_int_fast32_t
=yes
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.
$ac_ext >&5
11340 ac_cv_type_int_fast32_t
=no
11342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11344 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
11345 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
11346 if test $ac_cv_type_int_fast32_t = yes; then
11349 acx_cv_header_stdint_kind
="(mostly complete)"
11352 echo "$as_me:$LINENO: checking for uint64_t" >&5
11353 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
11354 if test "${ac_cv_type_uint64_t+set}" = set; then
11355 echo $ECHO_N "(cached) $ECHO_C" >&6
11357 cat >conftest.
$ac_ext <<_ACEOF
11360 cat confdefs.h
>>conftest.
$ac_ext
11361 cat >>conftest.
$ac_ext <<_ACEOF
11362 /* end confdefs.h. */
11363 #include <sys/types.h>
11369 if ((uint64_t *) 0)
11371 if (sizeof (uint64_t))
11377 rm -f conftest.
$ac_objext
11378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11379 (eval $ac_compile) 2>conftest.er1
11381 grep -v '^ *+' conftest.er1
>conftest.err
11383 cat conftest.err
>&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); } &&
11386 { ac_try
='test -z "$ac_c_werror_flag"
11387 || test ! -s conftest.err'
11388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11389 (eval $ac_try) 2>&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); }; } &&
11393 { ac_try
='test -s conftest.$ac_objext'
11394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11395 (eval $ac_try) 2>&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); }; }; then
11399 ac_cv_type_uint64_t
=yes
11401 echo "$as_me: failed program was:" >&5
11402 sed 's/^/| /' conftest.
$ac_ext >&5
11404 ac_cv_type_uint64_t
=no
11406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11408 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
11409 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
11410 if test $ac_cv_type_uint64_t = yes; then
11413 acx_cv_header_stdint_kind
="(lacks uint64_t)"
11418 if test "$acx_cv_header_stdint" = stddef.h
; then
11419 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
11420 for i
in stdint.h
$inttype_headers; do
11421 unset ac_cv_type_uintptr_t
11422 unset ac_cv_type_uint32_t
11423 unset ac_cv_type_uint64_t
11424 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
11425 echo "$as_me:$LINENO: checking for uint32_t" >&5
11426 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
11427 if test "${ac_cv_type_uint32_t+set}" = set; then
11428 echo $ECHO_N "(cached) $ECHO_C" >&6
11430 cat >conftest.
$ac_ext <<_ACEOF
11433 cat confdefs.h
>>conftest.
$ac_ext
11434 cat >>conftest.
$ac_ext <<_ACEOF
11435 /* end confdefs.h. */
11436 #include <sys/types.h>
11442 if ((uint32_t *) 0)
11444 if (sizeof (uint32_t))
11450 rm -f conftest.
$ac_objext
11451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11452 (eval $ac_compile) 2>conftest.er1
11454 grep -v '^ *+' conftest.er1
>conftest.err
11456 cat conftest.err
>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); } &&
11459 { ac_try
='test -z "$ac_c_werror_flag"
11460 || test ! -s conftest.err'
11461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462 (eval $ac_try) 2>&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; } &&
11466 { ac_try
='test -s conftest.$ac_objext'
11467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11468 (eval $ac_try) 2>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); }; }; then
11472 ac_cv_type_uint32_t
=yes
11474 echo "$as_me: failed program was:" >&5
11475 sed 's/^/| /' conftest.
$ac_ext >&5
11477 ac_cv_type_uint32_t
=no
11479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11481 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
11482 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
11483 if test $ac_cv_type_uint32_t = yes; then
11484 acx_cv_header_stdint
=$i
11489 echo "$as_me:$LINENO: checking for uint64_t" >&5
11490 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
11491 if test "${ac_cv_type_uint64_t+set}" = set; then
11492 echo $ECHO_N "(cached) $ECHO_C" >&6
11494 cat >conftest.
$ac_ext <<_ACEOF
11497 cat confdefs.h
>>conftest.
$ac_ext
11498 cat >>conftest.
$ac_ext <<_ACEOF
11499 /* end confdefs.h. */
11500 #include <sys/types.h>
11506 if ((uint64_t *) 0)
11508 if (sizeof (uint64_t))
11514 rm -f conftest.
$ac_objext
11515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11516 (eval $ac_compile) 2>conftest.er1
11518 grep -v '^ *+' conftest.er1
>conftest.err
11520 cat conftest.err
>&5
11521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11522 (exit $ac_status); } &&
11523 { ac_try
='test -z "$ac_c_werror_flag"
11524 || test ! -s conftest.err'
11525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11526 (eval $ac_try) 2>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); }; } &&
11530 { ac_try
='test -s conftest.$ac_objext'
11531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11532 (eval $ac_try) 2>&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); }; }; then
11536 ac_cv_type_uint64_t
=yes
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.
$ac_ext >&5
11541 ac_cv_type_uint64_t
=no
11543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11545 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
11546 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
11548 echo "$as_me:$LINENO: checking for uintptr_t" >&5
11549 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
11550 if test "${ac_cv_type_uintptr_t+set}" = set; then
11551 echo $ECHO_N "(cached) $ECHO_C" >&6
11553 cat >conftest.
$ac_ext <<_ACEOF
11556 cat confdefs.h
>>conftest.
$ac_ext
11557 cat >>conftest.
$ac_ext <<_ACEOF
11558 /* end confdefs.h. */
11559 #include <sys/types.h>
11565 if ((uintptr_t *) 0)
11567 if (sizeof (uintptr_t))
11573 rm -f conftest.
$ac_objext
11574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11575 (eval $ac_compile) 2>conftest.er1
11577 grep -v '^ *+' conftest.er1
>conftest.err
11579 cat conftest.err
>&5
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); } &&
11582 { ac_try
='test -z "$ac_c_werror_flag"
11583 || test ! -s conftest.err'
11584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11585 (eval $ac_try) 2>&5
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); }; } &&
11589 { ac_try
='test -s conftest.$ac_objext'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; }; then
11595 ac_cv_type_uintptr_t
=yes
11597 echo "$as_me: failed program was:" >&5
11598 sed 's/^/| /' conftest.
$ac_ext >&5
11600 ac_cv_type_uintptr_t
=no
11602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11604 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11605 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
11610 if test "$acx_cv_header_stdint" = stddef.h
; then
11611 acx_cv_header_stdint_kind
="(u_intXX_t style)"
11612 for i
in sys
/types.h
$inttype_headers; do
11613 unset ac_cv_type_u_int32_t
11614 unset ac_cv_type_u_int64_t
11615 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
11616 echo "$as_me:$LINENO: checking for u_int32_t" >&5
11617 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
11618 if test "${ac_cv_type_u_int32_t+set}" = set; then
11619 echo $ECHO_N "(cached) $ECHO_C" >&6
11621 cat >conftest.
$ac_ext <<_ACEOF
11624 cat confdefs.h
>>conftest.
$ac_ext
11625 cat >>conftest.
$ac_ext <<_ACEOF
11626 /* end confdefs.h. */
11627 #include <sys/types.h>
11633 if ((u_int32_t *) 0)
11635 if (sizeof (u_int32_t))
11641 rm -f conftest.
$ac_objext
11642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11643 (eval $ac_compile) 2>conftest.er1
11645 grep -v '^ *+' conftest.er1
>conftest.err
11647 cat conftest.err
>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); } &&
11650 { ac_try
='test -z "$ac_c_werror_flag"
11651 || test ! -s conftest.err'
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; } &&
11657 { ac_try
='test -s conftest.$ac_objext'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; }; then
11663 ac_cv_type_u_int32_t
=yes
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.
$ac_ext >&5
11668 ac_cv_type_u_int32_t
=no
11670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11672 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
11673 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
11674 if test $ac_cv_type_u_int32_t = yes; then
11675 acx_cv_header_stdint
=$i
11680 echo "$as_me:$LINENO: checking for u_int64_t" >&5
11681 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
11682 if test "${ac_cv_type_u_int64_t+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11685 cat >conftest.
$ac_ext <<_ACEOF
11688 cat confdefs.h
>>conftest.
$ac_ext
11689 cat >>conftest.
$ac_ext <<_ACEOF
11690 /* end confdefs.h. */
11691 #include <sys/types.h>
11697 if ((u_int64_t *) 0)
11699 if (sizeof (u_int64_t))
11705 rm -f conftest.
$ac_objext
11706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11707 (eval $ac_compile) 2>conftest.er1
11709 grep -v '^ *+' conftest.er1
>conftest.err
11711 cat conftest.err
>&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); } &&
11714 { ac_try
='test -z "$ac_c_werror_flag"
11715 || test ! -s conftest.err'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; } &&
11721 { ac_try
='test -s conftest.$ac_objext'
11722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11723 (eval $ac_try) 2>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); }; }; then
11727 ac_cv_type_u_int64_t
=yes
11729 echo "$as_me: failed program was:" >&5
11730 sed 's/^/| /' conftest.
$ac_ext >&5
11732 ac_cv_type_u_int64_t
=no
11734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11736 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
11737 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
11742 if test "$acx_cv_header_stdint" = stddef.h
; then
11743 acx_cv_header_stdint_kind
="(using manual detection)"
11746 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
11747 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
11748 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
11749 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
11750 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
11752 # ----------------- Summarize what we found so far
11754 echo "$as_me:$LINENO: checking what to include in gdb_stdint.h" >&5
11755 echo $ECHO_N "checking what to include in gdb_stdint.h... $ECHO_C" >&6
11757 case `$as_basename gdb_stdint.h ||
11758 $as_expr X/gdb_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
11759 Xgdb_stdint.h : 'X\(//\)$' \| \
11760 Xgdb_stdint.h : 'X\(/\)$' \| \
11761 . : '\(.\)' 2>/dev/null ||
11762 echo X/gdb_stdint.h |
11763 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11764 /^X\/\(\/\/\)$/{ s//\1/; q; }
11765 /^X\/\(\/\).*/{ s//\1/; q; }
11767 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
11768 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
11769 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
11770 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
11774 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
11775 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
11777 # ----------------- done included file, check C basic types --------
11779 # Lacking an uintptr_t? Test size of void *
11780 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
11781 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
11782 echo $ECHO_N "checking for void *... $ECHO_C" >&6
11783 if test "${ac_cv_type_void_p+set}" = set; then
11784 echo $ECHO_N "(cached) $ECHO_C" >&6
11786 cat >conftest.
$ac_ext <<_ACEOF
11789 cat confdefs.h
>>conftest.
$ac_ext
11790 cat >>conftest.
$ac_ext <<_ACEOF
11791 /* end confdefs.h. */
11792 $ac_includes_default
11798 if (sizeof (void *))
11804 rm -f conftest.
$ac_objext
11805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11806 (eval $ac_compile) 2>conftest.er1
11808 grep -v '^ *+' conftest.er1
>conftest.err
11810 cat conftest.err
>&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); } &&
11813 { ac_try
='test -z "$ac_c_werror_flag"
11814 || test ! -s conftest.err'
11815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11816 (eval $ac_try) 2>&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); }; } &&
11820 { ac_try
='test -s conftest.$ac_objext'
11821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11822 (eval $ac_try) 2>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); }; }; then
11826 ac_cv_type_void_p
=yes
11828 echo "$as_me: failed program was:" >&5
11829 sed 's/^/| /' conftest.
$ac_ext >&5
11831 ac_cv_type_void_p
=no
11833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11835 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
11836 echo "${ECHO_T}$ac_cv_type_void_p" >&6
11838 echo "$as_me:$LINENO: checking size of void *" >&5
11839 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
11840 if test "${ac_cv_sizeof_void_p+set}" = set; then
11841 echo $ECHO_N "(cached) $ECHO_C" >&6
11843 if test "$ac_cv_type_void_p" = yes; then
11844 # The cast to unsigned long works around a bug in the HP C Compiler
11845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11847 # This bug is HP SR number 8606223364.
11848 if test "$cross_compiling" = yes; then
11849 # Depending upon the size, compute the lo and hi bounds.
11850 cat >conftest.
$ac_ext <<_ACEOF
11853 cat confdefs.h
>>conftest.
$ac_ext
11854 cat >>conftest.
$ac_ext <<_ACEOF
11855 /* end confdefs.h. */
11856 $ac_includes_default
11860 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
11867 rm -f conftest.
$ac_objext
11868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11869 (eval $ac_compile) 2>conftest.er1
11871 grep -v '^ *+' conftest.er1
>conftest.err
11873 cat conftest.err
>&5
11874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875 (exit $ac_status); } &&
11876 { ac_try
='test -z "$ac_c_werror_flag"
11877 || test ! -s conftest.err'
11878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11879 (eval $ac_try) 2>&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); }; } &&
11883 { ac_try
='test -s conftest.$ac_objext'
11884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11885 (eval $ac_try) 2>&5
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); }; }; then
11891 cat >conftest.
$ac_ext <<_ACEOF
11894 cat confdefs.h
>>conftest.
$ac_ext
11895 cat >>conftest.
$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11897 $ac_includes_default
11901 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
11908 rm -f conftest.
$ac_objext
11909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11910 (eval $ac_compile) 2>conftest.er1
11912 grep -v '^ *+' conftest.er1
>conftest.err
11914 cat conftest.err
>&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); } &&
11917 { ac_try
='test -z "$ac_c_werror_flag"
11918 || test ! -s conftest.err'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; } &&
11924 { ac_try
='test -s conftest.$ac_objext'
11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11926 (eval $ac_try) 2>&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); }; }; then
11930 ac_hi
=$ac_mid; break
11932 echo "$as_me: failed program was:" >&5
11933 sed 's/^/| /' conftest.
$ac_ext >&5
11935 ac_lo
=`expr $ac_mid + 1`
11936 if test $ac_lo -le $ac_mid; then
11940 ac_mid
=`expr 2 '*' $ac_mid + 1`
11942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11945 echo "$as_me: failed program was:" >&5
11946 sed 's/^/| /' conftest.
$ac_ext >&5
11948 cat >conftest.
$ac_ext <<_ACEOF
11951 cat confdefs.h
>>conftest.
$ac_ext
11952 cat >>conftest.
$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11954 $ac_includes_default
11958 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
11965 rm -f conftest.
$ac_objext
11966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11967 (eval $ac_compile) 2>conftest.er1
11969 grep -v '^ *+' conftest.er1
>conftest.err
11971 cat conftest.err
>&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); } &&
11974 { ac_try
='test -z "$ac_c_werror_flag"
11975 || test ! -s conftest.err'
11976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11977 (eval $ac_try) 2>&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); }; } &&
11981 { ac_try
='test -s conftest.$ac_objext'
11982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11983 (eval $ac_try) 2>&5
11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 (exit $ac_status); }; }; then
11989 cat >conftest.
$ac_ext <<_ACEOF
11992 cat confdefs.h
>>conftest.
$ac_ext
11993 cat >>conftest.
$ac_ext <<_ACEOF
11994 /* end confdefs.h. */
11995 $ac_includes_default
11999 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
12006 rm -f conftest.
$ac_objext
12007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12008 (eval $ac_compile) 2>conftest.er1
12010 grep -v '^ *+' conftest.er1
>conftest.err
12012 cat conftest.err
>&5
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); } &&
12015 { ac_try
='test -z "$ac_c_werror_flag"
12016 || test ! -s conftest.err'
12017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12018 (eval $ac_try) 2>&5
12020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021 (exit $ac_status); }; } &&
12022 { ac_try
='test -s conftest.$ac_objext'
12023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12024 (eval $ac_try) 2>&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); }; }; then
12028 ac_lo
=$ac_mid; break
12030 echo "$as_me: failed program was:" >&5
12031 sed 's/^/| /' conftest.
$ac_ext >&5
12033 ac_hi
=`expr '(' $ac_mid ')' - 1`
12034 if test $ac_mid -le $ac_hi; then
12038 ac_mid
=`expr 2 '*' $ac_mid`
12040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12043 echo "$as_me: failed program was:" >&5
12044 sed 's/^/| /' conftest.
$ac_ext >&5
12048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12051 # Binary search between lo and hi bounds.
12052 while test "x$ac_lo" != "x$ac_hi"; do
12053 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12054 cat >conftest.
$ac_ext <<_ACEOF
12057 cat confdefs.h
>>conftest.
$ac_ext
12058 cat >>conftest.
$ac_ext <<_ACEOF
12059 /* end confdefs.h. */
12060 $ac_includes_default
12064 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
12071 rm -f conftest.
$ac_objext
12072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12073 (eval $ac_compile) 2>conftest.er1
12075 grep -v '^ *+' conftest.er1
>conftest.err
12077 cat conftest.err
>&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } &&
12080 { ac_try
='test -z "$ac_c_werror_flag"
12081 || test ! -s conftest.err'
12082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12083 (eval $ac_try) 2>&5
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); }; } &&
12087 { ac_try
='test -s conftest.$ac_objext'
12088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12089 (eval $ac_try) 2>&5
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); }; }; then
12095 echo "$as_me: failed program was:" >&5
12096 sed 's/^/| /' conftest.
$ac_ext >&5
12098 ac_lo
=`expr '(' $ac_mid ')' + 1`
12100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12103 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
12104 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12105 See \`config.log' for more details." >&5
12106 echo "$as_me: error: cannot compute sizeof (void *), 77
12107 See \`config.log' for more details." >&2;}
12108 { (exit 1); exit 1; }; } ;;
12111 if test "$cross_compiling" = yes; then
12112 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12113 See \`config.log' for more details." >&5
12114 echo "$as_me: error: cannot run test program while cross compiling
12115 See \`config.log' for more details." >&2;}
12116 { (exit 1); exit 1; }; }
12118 cat >conftest.
$ac_ext <<_ACEOF
12121 cat confdefs.h
>>conftest.
$ac_ext
12122 cat >>conftest.
$ac_ext <<_ACEOF
12123 /* end confdefs.h. */
12124 $ac_includes_default
12125 long longval () { return (long) (sizeof (void *)); }
12126 unsigned long ulongval () { return (long) (sizeof (void *)); }
12128 #include <stdlib.h>
12133 FILE *f = fopen ("conftest.val", "w");
12136 if (((long) (sizeof (void *))) < 0)
12138 long i = longval ();
12139 if (i != ((long) (sizeof (void *))))
12141 fprintf (f, "%ld\n", i);
12145 unsigned long i = ulongval ();
12146 if (i != ((long) (sizeof (void *))))
12148 fprintf (f, "%lu\n", i);
12150 exit (ferror (f) || fclose (f) != 0);
12156 rm -f conftest
$ac_exeext
12157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12158 (eval $ac_link) 2>&5
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12163 (eval $ac_try) 2>&5
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); }; }; then
12167 ac_cv_sizeof_void_p
=`cat conftest.val`
12169 echo "$as_me: program exited with status $ac_status" >&5
12170 echo "$as_me: failed program was:" >&5
12171 sed 's/^/| /' conftest.
$ac_ext >&5
12173 ( exit $ac_status )
12174 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12175 See \`config.log' for more details." >&5
12176 echo "$as_me: error: cannot compute sizeof (void *), 77
12177 See \`config.log' for more details." >&2;}
12178 { (exit 1); exit 1; }; }
12180 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12185 ac_cv_sizeof_void_p
=0
12188 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
12189 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
12190 cat >>confdefs.h
<<_ACEOF
12191 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12197 # Lacking an uint64_t? Test size of long
12198 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
12199 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
12200 echo $ECHO_N "checking for long... $ECHO_C" >&6
12201 if test "${ac_cv_type_long+set}" = set; then
12202 echo $ECHO_N "(cached) $ECHO_C" >&6
12204 cat >conftest.
$ac_ext <<_ACEOF
12207 cat confdefs.h
>>conftest.
$ac_ext
12208 cat >>conftest.
$ac_ext <<_ACEOF
12209 /* end confdefs.h. */
12210 $ac_includes_default
12222 rm -f conftest.
$ac_objext
12223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12224 (eval $ac_compile) 2>conftest.er1
12226 grep -v '^ *+' conftest.er1
>conftest.err
12228 cat conftest.err
>&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); } &&
12231 { ac_try
='test -z "$ac_c_werror_flag"
12232 || test ! -s conftest.err'
12233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12234 (eval $ac_try) 2>&5
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); }; } &&
12238 { ac_try
='test -s conftest.$ac_objext'
12239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12240 (eval $ac_try) 2>&5
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); }; }; then
12244 ac_cv_type_long
=yes
12246 echo "$as_me: failed program was:" >&5
12247 sed 's/^/| /' conftest.
$ac_ext >&5
12251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12253 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12254 echo "${ECHO_T}$ac_cv_type_long" >&6
12256 echo "$as_me:$LINENO: checking size of long" >&5
12257 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12258 if test "${ac_cv_sizeof_long+set}" = set; then
12259 echo $ECHO_N "(cached) $ECHO_C" >&6
12261 if test "$ac_cv_type_long" = yes; then
12262 # The cast to unsigned long works around a bug in the HP C Compiler
12263 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12264 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12265 # This bug is HP SR number 8606223364.
12266 if test "$cross_compiling" = yes; then
12267 # Depending upon the size, compute the lo and hi bounds.
12268 cat >conftest.
$ac_ext <<_ACEOF
12271 cat confdefs.h
>>conftest.
$ac_ext
12272 cat >>conftest.
$ac_ext <<_ACEOF
12273 /* end confdefs.h. */
12274 $ac_includes_default
12278 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12285 rm -f conftest.
$ac_objext
12286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12287 (eval $ac_compile) 2>conftest.er1
12289 grep -v '^ *+' conftest.er1
>conftest.err
12291 cat conftest.err
>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); } &&
12294 { ac_try
='test -z "$ac_c_werror_flag"
12295 || test ! -s conftest.err'
12296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12297 (eval $ac_try) 2>&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }; } &&
12301 { ac_try
='test -s conftest.$ac_objext'
12302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12303 (eval $ac_try) 2>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }; }; then
12309 cat >conftest.
$ac_ext <<_ACEOF
12312 cat confdefs.h
>>conftest.
$ac_ext
12313 cat >>conftest.
$ac_ext <<_ACEOF
12314 /* end confdefs.h. */
12315 $ac_includes_default
12319 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12326 rm -f conftest.
$ac_objext
12327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12328 (eval $ac_compile) 2>conftest.er1
12330 grep -v '^ *+' conftest.er1
>conftest.err
12332 cat conftest.err
>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); } &&
12335 { ac_try
='test -z "$ac_c_werror_flag"
12336 || test ! -s conftest.err'
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); }; } &&
12342 { ac_try
='test -s conftest.$ac_objext'
12343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344 (eval $ac_try) 2>&5
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; }; then
12348 ac_hi
=$ac_mid; break
12350 echo "$as_me: failed program was:" >&5
12351 sed 's/^/| /' conftest.
$ac_ext >&5
12353 ac_lo
=`expr $ac_mid + 1`
12354 if test $ac_lo -le $ac_mid; then
12358 ac_mid
=`expr 2 '*' $ac_mid + 1`
12360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12363 echo "$as_me: failed program was:" >&5
12364 sed 's/^/| /' conftest.
$ac_ext >&5
12366 cat >conftest.
$ac_ext <<_ACEOF
12369 cat confdefs.h
>>conftest.
$ac_ext
12370 cat >>conftest.
$ac_ext <<_ACEOF
12371 /* end confdefs.h. */
12372 $ac_includes_default
12376 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12383 rm -f conftest.
$ac_objext
12384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12385 (eval $ac_compile) 2>conftest.er1
12387 grep -v '^ *+' conftest.er1
>conftest.err
12389 cat conftest.err
>&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); } &&
12392 { ac_try
='test -z "$ac_c_werror_flag"
12393 || test ! -s conftest.err'
12394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12395 (eval $ac_try) 2>&5
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); }; } &&
12399 { ac_try
='test -s conftest.$ac_objext'
12400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12401 (eval $ac_try) 2>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); }; }; then
12407 cat >conftest.
$ac_ext <<_ACEOF
12410 cat confdefs.h
>>conftest.
$ac_ext
12411 cat >>conftest.
$ac_ext <<_ACEOF
12412 /* end confdefs.h. */
12413 $ac_includes_default
12417 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12424 rm -f conftest.
$ac_objext
12425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12426 (eval $ac_compile) 2>conftest.er1
12428 grep -v '^ *+' conftest.er1
>conftest.err
12430 cat conftest.err
>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); } &&
12433 { ac_try
='test -z "$ac_c_werror_flag"
12434 || test ! -s conftest.err'
12435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12436 (eval $ac_try) 2>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; } &&
12440 { ac_try
='test -s conftest.$ac_objext'
12441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442 (eval $ac_try) 2>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); }; }; then
12446 ac_lo
=$ac_mid; break
12448 echo "$as_me: failed program was:" >&5
12449 sed 's/^/| /' conftest.
$ac_ext >&5
12451 ac_hi
=`expr '(' $ac_mid ')' - 1`
12452 if test $ac_mid -le $ac_hi; then
12456 ac_mid
=`expr 2 '*' $ac_mid`
12458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12461 echo "$as_me: failed program was:" >&5
12462 sed 's/^/| /' conftest.
$ac_ext >&5
12466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12469 # Binary search between lo and hi bounds.
12470 while test "x$ac_lo" != "x$ac_hi"; do
12471 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12472 cat >conftest.
$ac_ext <<_ACEOF
12475 cat confdefs.h
>>conftest.
$ac_ext
12476 cat >>conftest.
$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12478 $ac_includes_default
12482 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12489 rm -f conftest.
$ac_objext
12490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12491 (eval $ac_compile) 2>conftest.er1
12493 grep -v '^ *+' conftest.er1
>conftest.err
12495 cat conftest.err
>&5
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); } &&
12498 { ac_try
='test -z "$ac_c_werror_flag"
12499 || test ! -s conftest.err'
12500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12501 (eval $ac_try) 2>&5
12503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504 (exit $ac_status); }; } &&
12505 { ac_try
='test -s conftest.$ac_objext'
12506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12507 (eval $ac_try) 2>&5
12509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); }; }; then
12513 echo "$as_me: failed program was:" >&5
12514 sed 's/^/| /' conftest.
$ac_ext >&5
12516 ac_lo
=`expr '(' $ac_mid ')' + 1`
12518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12521 ?
*) ac_cv_sizeof_long
=$ac_lo;;
12522 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12523 See \`config.log' for more details." >&5
12524 echo "$as_me: error: cannot compute sizeof (long), 77
12525 See \`config.log' for more details." >&2;}
12526 { (exit 1); exit 1; }; } ;;
12529 if test "$cross_compiling" = yes; then
12530 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12531 See \`config.log' for more details." >&5
12532 echo "$as_me: error: cannot run test program while cross compiling
12533 See \`config.log' for more details." >&2;}
12534 { (exit 1); exit 1; }; }
12536 cat >conftest.
$ac_ext <<_ACEOF
12539 cat confdefs.h
>>conftest.
$ac_ext
12540 cat >>conftest.
$ac_ext <<_ACEOF
12541 /* end confdefs.h. */
12542 $ac_includes_default
12543 long longval () { return (long) (sizeof (long)); }
12544 unsigned long ulongval () { return (long) (sizeof (long)); }
12546 #include <stdlib.h>
12551 FILE *f = fopen ("conftest.val", "w");
12554 if (((long) (sizeof (long))) < 0)
12556 long i = longval ();
12557 if (i != ((long) (sizeof (long))))
12559 fprintf (f, "%ld\n", i);
12563 unsigned long i = ulongval ();
12564 if (i != ((long) (sizeof (long))))
12566 fprintf (f, "%lu\n", i);
12568 exit (ferror (f) || fclose (f) != 0);
12574 rm -f conftest
$ac_exeext
12575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12576 (eval $ac_link) 2>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12581 (eval $ac_try) 2>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); }; }; then
12585 ac_cv_sizeof_long
=`cat conftest.val`
12587 echo "$as_me: program exited with status $ac_status" >&5
12588 echo "$as_me: failed program was:" >&5
12589 sed 's/^/| /' conftest.
$ac_ext >&5
12591 ( exit $ac_status )
12592 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12593 See \`config.log' for more details." >&5
12594 echo "$as_me: error: cannot compute sizeof (long), 77
12595 See \`config.log' for more details." >&2;}
12596 { (exit 1); exit 1; }; }
12598 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12603 ac_cv_sizeof_long
=0
12606 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12607 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12608 cat >>confdefs.h
<<_ACEOF
12609 #define SIZEOF_LONG $ac_cv_sizeof_long
12615 if test $acx_cv_header_stdint = stddef.h
; then
12616 # Lacking a good header? Test size of everything and deduce all types.
12617 echo "$as_me:$LINENO: checking for int" >&5
12618 echo $ECHO_N "checking for int... $ECHO_C" >&6
12619 if test "${ac_cv_type_int+set}" = set; then
12620 echo $ECHO_N "(cached) $ECHO_C" >&6
12622 cat >conftest.
$ac_ext <<_ACEOF
12625 cat confdefs.h
>>conftest.
$ac_ext
12626 cat >>conftest.
$ac_ext <<_ACEOF
12627 /* end confdefs.h. */
12628 $ac_includes_default
12640 rm -f conftest.
$ac_objext
12641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12642 (eval $ac_compile) 2>conftest.er1
12644 grep -v '^ *+' conftest.er1
>conftest.err
12646 cat conftest.err
>&5
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); } &&
12649 { ac_try
='test -z "$ac_c_werror_flag"
12650 || test ! -s conftest.err'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; } &&
12656 { ac_try
='test -s conftest.$ac_objext'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; }; then
12664 echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.
$ac_ext >&5
12669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12671 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
12672 echo "${ECHO_T}$ac_cv_type_int" >&6
12674 echo "$as_me:$LINENO: checking size of int" >&5
12675 echo $ECHO_N "checking size of int... $ECHO_C" >&6
12676 if test "${ac_cv_sizeof_int+set}" = set; then
12677 echo $ECHO_N "(cached) $ECHO_C" >&6
12679 if test "$ac_cv_type_int" = yes; then
12680 # The cast to unsigned long works around a bug in the HP C Compiler
12681 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12682 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12683 # This bug is HP SR number 8606223364.
12684 if test "$cross_compiling" = yes; then
12685 # Depending upon the size, compute the lo and hi bounds.
12686 cat >conftest.
$ac_ext <<_ACEOF
12689 cat confdefs.h
>>conftest.
$ac_ext
12690 cat >>conftest.
$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692 $ac_includes_default
12696 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
12703 rm -f conftest.
$ac_objext
12704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12705 (eval $ac_compile) 2>conftest.er1
12707 grep -v '^ *+' conftest.er1
>conftest.err
12709 cat conftest.err
>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); } &&
12712 { ac_try
='test -z "$ac_c_werror_flag"
12713 || test ! -s conftest.err'
12714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; } &&
12719 { ac_try
='test -s conftest.$ac_objext'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; }; then
12727 cat >conftest.
$ac_ext <<_ACEOF
12730 cat confdefs.h
>>conftest.
$ac_ext
12731 cat >>conftest.
$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12733 $ac_includes_default
12737 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
12744 rm -f conftest.
$ac_objext
12745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12746 (eval $ac_compile) 2>conftest.er1
12748 grep -v '^ *+' conftest.er1
>conftest.err
12750 cat conftest.err
>&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); } &&
12753 { ac_try
='test -z "$ac_c_werror_flag"
12754 || test ! -s conftest.err'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; } &&
12760 { ac_try
='test -s conftest.$ac_objext'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; }; then
12766 ac_hi
=$ac_mid; break
12768 echo "$as_me: failed program was:" >&5
12769 sed 's/^/| /' conftest.
$ac_ext >&5
12771 ac_lo
=`expr $ac_mid + 1`
12772 if test $ac_lo -le $ac_mid; then
12776 ac_mid
=`expr 2 '*' $ac_mid + 1`
12778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12781 echo "$as_me: failed program was:" >&5
12782 sed 's/^/| /' conftest.
$ac_ext >&5
12784 cat >conftest.
$ac_ext <<_ACEOF
12787 cat confdefs.h
>>conftest.
$ac_ext
12788 cat >>conftest.
$ac_ext <<_ACEOF
12789 /* end confdefs.h. */
12790 $ac_includes_default
12794 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
12801 rm -f conftest.
$ac_objext
12802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12803 (eval $ac_compile) 2>conftest.er1
12805 grep -v '^ *+' conftest.er1
>conftest.err
12807 cat conftest.err
>&5
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); } &&
12810 { ac_try
='test -z "$ac_c_werror_flag"
12811 || test ! -s conftest.err'
12812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12813 (eval $ac_try) 2>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); }; } &&
12817 { ac_try
='test -s conftest.$ac_objext'
12818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819 (eval $ac_try) 2>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); }; }; then
12825 cat >conftest.
$ac_ext <<_ACEOF
12828 cat confdefs.h
>>conftest.
$ac_ext
12829 cat >>conftest.
$ac_ext <<_ACEOF
12830 /* end confdefs.h. */
12831 $ac_includes_default
12835 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
12842 rm -f conftest.
$ac_objext
12843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12844 (eval $ac_compile) 2>conftest.er1
12846 grep -v '^ *+' conftest.er1
>conftest.err
12848 cat conftest.err
>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); } &&
12851 { ac_try
='test -z "$ac_c_werror_flag"
12852 || test ! -s conftest.err'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; } &&
12858 { ac_try
='test -s conftest.$ac_objext'
12859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 (eval $ac_try) 2>&5
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; }; then
12864 ac_lo
=$ac_mid; break
12866 echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.
$ac_ext >&5
12869 ac_hi
=`expr '(' $ac_mid ')' - 1`
12870 if test $ac_mid -le $ac_hi; then
12874 ac_mid
=`expr 2 '*' $ac_mid`
12876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12879 echo "$as_me: failed program was:" >&5
12880 sed 's/^/| /' conftest.
$ac_ext >&5
12884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12887 # Binary search between lo and hi bounds.
12888 while test "x$ac_lo" != "x$ac_hi"; do
12889 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12890 cat >conftest.
$ac_ext <<_ACEOF
12893 cat confdefs.h
>>conftest.
$ac_ext
12894 cat >>conftest.
$ac_ext <<_ACEOF
12895 /* end confdefs.h. */
12896 $ac_includes_default
12900 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
12907 rm -f conftest.
$ac_objext
12908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12909 (eval $ac_compile) 2>conftest.er1
12911 grep -v '^ *+' conftest.er1
>conftest.err
12913 cat conftest.err
>&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); } &&
12916 { ac_try
='test -z "$ac_c_werror_flag"
12917 || test ! -s conftest.err'
12918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12919 (eval $ac_try) 2>&5
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); }; } &&
12923 { ac_try
='test -s conftest.$ac_objext'
12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925 (eval $ac_try) 2>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; }; then
12931 echo "$as_me: failed program was:" >&5
12932 sed 's/^/| /' conftest.
$ac_ext >&5
12934 ac_lo
=`expr '(' $ac_mid ')' + 1`
12936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12939 ?
*) ac_cv_sizeof_int
=$ac_lo;;
12940 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
12941 See \`config.log' for more details." >&5
12942 echo "$as_me: error: cannot compute sizeof (int), 77
12943 See \`config.log' for more details." >&2;}
12944 { (exit 1); exit 1; }; } ;;
12947 if test "$cross_compiling" = yes; then
12948 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12949 See \`config.log' for more details." >&5
12950 echo "$as_me: error: cannot run test program while cross compiling
12951 See \`config.log' for more details." >&2;}
12952 { (exit 1); exit 1; }; }
12954 cat >conftest.
$ac_ext <<_ACEOF
12957 cat confdefs.h
>>conftest.
$ac_ext
12958 cat >>conftest.
$ac_ext <<_ACEOF
12959 /* end confdefs.h. */
12960 $ac_includes_default
12961 long longval () { return (long) (sizeof (int)); }
12962 unsigned long ulongval () { return (long) (sizeof (int)); }
12964 #include <stdlib.h>
12969 FILE *f = fopen ("conftest.val", "w");
12972 if (((long) (sizeof (int))) < 0)
12974 long i = longval ();
12975 if (i != ((long) (sizeof (int))))
12977 fprintf (f, "%ld\n", i);
12981 unsigned long i = ulongval ();
12982 if (i != ((long) (sizeof (int))))
12984 fprintf (f, "%lu\n", i);
12986 exit (ferror (f) || fclose (f) != 0);
12992 rm -f conftest
$ac_exeext
12993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12994 (eval $ac_link) 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12999 (eval $ac_try) 2>&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }; }; then
13003 ac_cv_sizeof_int
=`cat conftest.val`
13005 echo "$as_me: program exited with status $ac_status" >&5
13006 echo "$as_me: failed program was:" >&5
13007 sed 's/^/| /' conftest.
$ac_ext >&5
13009 ( exit $ac_status )
13010 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
13011 See \`config.log' for more details." >&5
13012 echo "$as_me: error: cannot compute sizeof (int), 77
13013 See \`config.log' for more details." >&2;}
13014 { (exit 1); exit 1; }; }
13016 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13024 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
13025 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
13026 cat >>confdefs.h
<<_ACEOF
13027 #define SIZEOF_INT $ac_cv_sizeof_int
13031 echo "$as_me:$LINENO: checking for short" >&5
13032 echo $ECHO_N "checking for short... $ECHO_C" >&6
13033 if test "${ac_cv_type_short+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13036 cat >conftest.
$ac_ext <<_ACEOF
13039 cat confdefs.h
>>conftest.
$ac_ext
13040 cat >>conftest.
$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13042 $ac_includes_default
13048 if (sizeof (short))
13054 rm -f conftest.
$ac_objext
13055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13056 (eval $ac_compile) 2>conftest.er1
13058 grep -v '^ *+' conftest.er1
>conftest.err
13060 cat conftest.err
>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } &&
13063 { ac_try
='test -z "$ac_c_werror_flag"
13064 || test ! -s conftest.err'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; } &&
13070 { ac_try
='test -s conftest.$ac_objext'
13071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 (eval $ac_try) 2>&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; }; then
13076 ac_cv_type_short
=yes
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.
$ac_ext >&5
13081 ac_cv_type_short
=no
13083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13085 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13086 echo "${ECHO_T}$ac_cv_type_short" >&6
13088 echo "$as_me:$LINENO: checking size of short" >&5
13089 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13090 if test "${ac_cv_sizeof_short+set}" = set; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 if test "$ac_cv_type_short" = yes; then
13094 # The cast to unsigned long works around a bug in the HP C Compiler
13095 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13096 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13097 # This bug is HP SR number 8606223364.
13098 if test "$cross_compiling" = yes; then
13099 # Depending upon the size, compute the lo and hi bounds.
13100 cat >conftest.
$ac_ext <<_ACEOF
13103 cat confdefs.h
>>conftest.
$ac_ext
13104 cat >>conftest.
$ac_ext <<_ACEOF
13105 /* end confdefs.h. */
13106 $ac_includes_default
13110 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13117 rm -f conftest.
$ac_objext
13118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13119 (eval $ac_compile) 2>conftest.er1
13121 grep -v '^ *+' conftest.er1
>conftest.err
13123 cat conftest.err
>&5
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); } &&
13126 { ac_try
='test -z "$ac_c_werror_flag"
13127 || test ! -s conftest.err'
13128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13129 (eval $ac_try) 2>&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); }; } &&
13133 { ac_try
='test -s conftest.$ac_objext'
13134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13135 (eval $ac_try) 2>&5
13137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138 (exit $ac_status); }; }; then
13141 cat >conftest.
$ac_ext <<_ACEOF
13144 cat confdefs.h
>>conftest.
$ac_ext
13145 cat >>conftest.
$ac_ext <<_ACEOF
13146 /* end confdefs.h. */
13147 $ac_includes_default
13151 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13158 rm -f conftest.
$ac_objext
13159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13160 (eval $ac_compile) 2>conftest.er1
13162 grep -v '^ *+' conftest.er1
>conftest.err
13164 cat conftest.err
>&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); } &&
13167 { ac_try
='test -z "$ac_c_werror_flag"
13168 || test ! -s conftest.err'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; } &&
13174 { ac_try
='test -s conftest.$ac_objext'
13175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13176 (eval $ac_try) 2>&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }; }; then
13180 ac_hi
=$ac_mid; break
13182 echo "$as_me: failed program was:" >&5
13183 sed 's/^/| /' conftest.
$ac_ext >&5
13185 ac_lo
=`expr $ac_mid + 1`
13186 if test $ac_lo -le $ac_mid; then
13190 ac_mid
=`expr 2 '*' $ac_mid + 1`
13192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13195 echo "$as_me: failed program was:" >&5
13196 sed 's/^/| /' conftest.
$ac_ext >&5
13198 cat >conftest.
$ac_ext <<_ACEOF
13201 cat confdefs.h
>>conftest.
$ac_ext
13202 cat >>conftest.
$ac_ext <<_ACEOF
13203 /* end confdefs.h. */
13204 $ac_includes_default
13208 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
13215 rm -f conftest.
$ac_objext
13216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13217 (eval $ac_compile) 2>conftest.er1
13219 grep -v '^ *+' conftest.er1
>conftest.err
13221 cat conftest.err
>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); } &&
13224 { ac_try
='test -z "$ac_c_werror_flag"
13225 || test ! -s conftest.err'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; } &&
13231 { ac_try
='test -s conftest.$ac_objext'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; }; then
13239 cat >conftest.
$ac_ext <<_ACEOF
13242 cat confdefs.h
>>conftest.
$ac_ext
13243 cat >>conftest.
$ac_ext <<_ACEOF
13244 /* end confdefs.h. */
13245 $ac_includes_default
13249 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
13256 rm -f conftest.
$ac_objext
13257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13258 (eval $ac_compile) 2>conftest.er1
13260 grep -v '^ *+' conftest.er1
>conftest.err
13262 cat conftest.err
>&5
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); } &&
13265 { ac_try
='test -z "$ac_c_werror_flag"
13266 || test ! -s conftest.err'
13267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13268 (eval $ac_try) 2>&5
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); }; } &&
13272 { ac_try
='test -s conftest.$ac_objext'
13273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13274 (eval $ac_try) 2>&5
13276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); }; }; then
13278 ac_lo
=$ac_mid; break
13280 echo "$as_me: failed program was:" >&5
13281 sed 's/^/| /' conftest.
$ac_ext >&5
13283 ac_hi
=`expr '(' $ac_mid ')' - 1`
13284 if test $ac_mid -le $ac_hi; then
13288 ac_mid
=`expr 2 '*' $ac_mid`
13290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13293 echo "$as_me: failed program was:" >&5
13294 sed 's/^/| /' conftest.
$ac_ext >&5
13298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13301 # Binary search between lo and hi bounds.
13302 while test "x$ac_lo" != "x$ac_hi"; do
13303 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13304 cat >conftest.
$ac_ext <<_ACEOF
13307 cat confdefs.h
>>conftest.
$ac_ext
13308 cat >>conftest.
$ac_ext <<_ACEOF
13309 /* end confdefs.h. */
13310 $ac_includes_default
13314 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13321 rm -f conftest.
$ac_objext
13322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13323 (eval $ac_compile) 2>conftest.er1
13325 grep -v '^ *+' conftest.er1
>conftest.err
13327 cat conftest.err
>&5
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); } &&
13330 { ac_try
='test -z "$ac_c_werror_flag"
13331 || test ! -s conftest.err'
13332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13333 (eval $ac_try) 2>&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); }; } &&
13337 { ac_try
='test -s conftest.$ac_objext'
13338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13339 (eval $ac_try) 2>&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); }; }; then
13345 echo "$as_me: failed program was:" >&5
13346 sed 's/^/| /' conftest.
$ac_ext >&5
13348 ac_lo
=`expr '(' $ac_mid ')' + 1`
13350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13353 ?
*) ac_cv_sizeof_short
=$ac_lo;;
13354 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
13355 See \`config.log' for more details." >&5
13356 echo "$as_me: error: cannot compute sizeof (short), 77
13357 See \`config.log' for more details." >&2;}
13358 { (exit 1); exit 1; }; } ;;
13361 if test "$cross_compiling" = yes; then
13362 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13363 See \`config.log' for more details." >&5
13364 echo "$as_me: error: cannot run test program while cross compiling
13365 See \`config.log' for more details." >&2;}
13366 { (exit 1); exit 1; }; }
13368 cat >conftest.
$ac_ext <<_ACEOF
13371 cat confdefs.h
>>conftest.
$ac_ext
13372 cat >>conftest.
$ac_ext <<_ACEOF
13373 /* end confdefs.h. */
13374 $ac_includes_default
13375 long longval () { return (long) (sizeof (short)); }
13376 unsigned long ulongval () { return (long) (sizeof (short)); }
13378 #include <stdlib.h>
13383 FILE *f = fopen ("conftest.val", "w");
13386 if (((long) (sizeof (short))) < 0)
13388 long i = longval ();
13389 if (i != ((long) (sizeof (short))))
13391 fprintf (f, "%ld\n", i);
13395 unsigned long i = ulongval ();
13396 if (i != ((long) (sizeof (short))))
13398 fprintf (f, "%lu\n", i);
13400 exit (ferror (f) || fclose (f) != 0);
13406 rm -f conftest
$ac_exeext
13407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13408 (eval $ac_link) 2>&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13413 (eval $ac_try) 2>&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); }; }; then
13417 ac_cv_sizeof_short
=`cat conftest.val`
13419 echo "$as_me: program exited with status $ac_status" >&5
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.
$ac_ext >&5
13423 ( exit $ac_status )
13424 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
13425 See \`config.log' for more details." >&5
13426 echo "$as_me: error: cannot compute sizeof (short), 77
13427 See \`config.log' for more details." >&2;}
13428 { (exit 1); exit 1; }; }
13430 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13435 ac_cv_sizeof_short
=0
13438 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
13439 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
13440 cat >>confdefs.h
<<_ACEOF
13441 #define SIZEOF_SHORT $ac_cv_sizeof_short
13445 echo "$as_me:$LINENO: checking for char" >&5
13446 echo $ECHO_N "checking for char... $ECHO_C" >&6
13447 if test "${ac_cv_type_char+set}" = set; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 cat >conftest.
$ac_ext <<_ACEOF
13453 cat confdefs.h
>>conftest.
$ac_ext
13454 cat >>conftest.
$ac_ext <<_ACEOF
13455 /* end confdefs.h. */
13456 $ac_includes_default
13468 rm -f conftest.
$ac_objext
13469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13470 (eval $ac_compile) 2>conftest.er1
13472 grep -v '^ *+' conftest.er1
>conftest.err
13474 cat conftest.err
>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); } &&
13477 { ac_try
='test -z "$ac_c_werror_flag"
13478 || test ! -s conftest.err'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; } &&
13484 { ac_try
='test -s conftest.$ac_objext'
13485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13486 (eval $ac_try) 2>&5
13488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); }; }; then
13490 ac_cv_type_char
=yes
13492 echo "$as_me: failed program was:" >&5
13493 sed 's/^/| /' conftest.
$ac_ext >&5
13497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13499 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13500 echo "${ECHO_T}$ac_cv_type_char" >&6
13502 echo "$as_me:$LINENO: checking size of char" >&5
13503 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13504 if test "${ac_cv_sizeof_char+set}" = set; then
13505 echo $ECHO_N "(cached) $ECHO_C" >&6
13507 if test "$ac_cv_type_char" = yes; then
13508 # The cast to unsigned long works around a bug in the HP C Compiler
13509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13511 # This bug is HP SR number 8606223364.
13512 if test "$cross_compiling" = yes; then
13513 # Depending upon the size, compute the lo and hi bounds.
13514 cat >conftest.
$ac_ext <<_ACEOF
13517 cat confdefs.h
>>conftest.
$ac_ext
13518 cat >>conftest.
$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13520 $ac_includes_default
13524 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13531 rm -f conftest.
$ac_objext
13532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13533 (eval $ac_compile) 2>conftest.er1
13535 grep -v '^ *+' conftest.er1
>conftest.err
13537 cat conftest.err
>&5
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); } &&
13540 { ac_try
='test -z "$ac_c_werror_flag"
13541 || test ! -s conftest.err'
13542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13543 (eval $ac_try) 2>&5
13545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13546 (exit $ac_status); }; } &&
13547 { ac_try
='test -s conftest.$ac_objext'
13548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13549 (eval $ac_try) 2>&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); }; }; then
13555 cat >conftest.
$ac_ext <<_ACEOF
13558 cat confdefs.h
>>conftest.
$ac_ext
13559 cat >>conftest.
$ac_ext <<_ACEOF
13560 /* end confdefs.h. */
13561 $ac_includes_default
13565 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13572 rm -f conftest.
$ac_objext
13573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13574 (eval $ac_compile) 2>conftest.er1
13576 grep -v '^ *+' conftest.er1
>conftest.err
13578 cat conftest.err
>&5
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); } &&
13581 { ac_try
='test -z "$ac_c_werror_flag"
13582 || test ! -s conftest.err'
13583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13584 (eval $ac_try) 2>&5
13586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13587 (exit $ac_status); }; } &&
13588 { ac_try
='test -s conftest.$ac_objext'
13589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13590 (eval $ac_try) 2>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); }; }; then
13594 ac_hi
=$ac_mid; break
13596 echo "$as_me: failed program was:" >&5
13597 sed 's/^/| /' conftest.
$ac_ext >&5
13599 ac_lo
=`expr $ac_mid + 1`
13600 if test $ac_lo -le $ac_mid; then
13604 ac_mid
=`expr 2 '*' $ac_mid + 1`
13606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.
$ac_ext >&5
13612 cat >conftest.
$ac_ext <<_ACEOF
13615 cat confdefs.h
>>conftest.
$ac_ext
13616 cat >>conftest.
$ac_ext <<_ACEOF
13617 /* end confdefs.h. */
13618 $ac_includes_default
13622 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13629 rm -f conftest.
$ac_objext
13630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13631 (eval $ac_compile) 2>conftest.er1
13633 grep -v '^ *+' conftest.er1
>conftest.err
13635 cat conftest.err
>&5
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); } &&
13638 { ac_try
='test -z "$ac_c_werror_flag"
13639 || test ! -s conftest.err'
13640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13641 (eval $ac_try) 2>&5
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); }; } &&
13645 { ac_try
='test -s conftest.$ac_objext'
13646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13647 (eval $ac_try) 2>&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); }; }; then
13653 cat >conftest.
$ac_ext <<_ACEOF
13656 cat confdefs.h
>>conftest.
$ac_ext
13657 cat >>conftest.
$ac_ext <<_ACEOF
13658 /* end confdefs.h. */
13659 $ac_includes_default
13663 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13670 rm -f conftest.
$ac_objext
13671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13672 (eval $ac_compile) 2>conftest.er1
13674 grep -v '^ *+' conftest.er1
>conftest.err
13676 cat conftest.err
>&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); } &&
13679 { ac_try
='test -z "$ac_c_werror_flag"
13680 || test ! -s conftest.err'
13681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13682 (eval $ac_try) 2>&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); }; } &&
13686 { ac_try
='test -s conftest.$ac_objext'
13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 (eval $ac_try) 2>&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); }; }; then
13692 ac_lo
=$ac_mid; break
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.
$ac_ext >&5
13697 ac_hi
=`expr '(' $ac_mid ')' - 1`
13698 if test $ac_mid -le $ac_hi; then
13702 ac_mid
=`expr 2 '*' $ac_mid`
13704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.
$ac_ext >&5
13712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13715 # Binary search between lo and hi bounds.
13716 while test "x$ac_lo" != "x$ac_hi"; do
13717 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13718 cat >conftest.
$ac_ext <<_ACEOF
13721 cat confdefs.h
>>conftest.
$ac_ext
13722 cat >>conftest.
$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724 $ac_includes_default
13728 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13735 rm -f conftest.
$ac_objext
13736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13737 (eval $ac_compile) 2>conftest.er1
13739 grep -v '^ *+' conftest.er1
>conftest.err
13741 cat conftest.err
>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); } &&
13744 { ac_try
='test -z "$ac_c_werror_flag"
13745 || test ! -s conftest.err'
13746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13747 (eval $ac_try) 2>&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); }; } &&
13751 { ac_try
='test -s conftest.$ac_objext'
13752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13753 (eval $ac_try) 2>&5
13755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13756 (exit $ac_status); }; }; then
13759 echo "$as_me: failed program was:" >&5
13760 sed 's/^/| /' conftest.
$ac_ext >&5
13762 ac_lo
=`expr '(' $ac_mid ')' + 1`
13764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13767 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13768 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13769 See \`config.log' for more details." >&5
13770 echo "$as_me: error: cannot compute sizeof (char), 77
13771 See \`config.log' for more details." >&2;}
13772 { (exit 1); exit 1; }; } ;;
13775 if test "$cross_compiling" = yes; then
13776 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13777 See \`config.log' for more details." >&5
13778 echo "$as_me: error: cannot run test program while cross compiling
13779 See \`config.log' for more details." >&2;}
13780 { (exit 1); exit 1; }; }
13782 cat >conftest.
$ac_ext <<_ACEOF
13785 cat confdefs.h
>>conftest.
$ac_ext
13786 cat >>conftest.
$ac_ext <<_ACEOF
13787 /* end confdefs.h. */
13788 $ac_includes_default
13789 long longval () { return (long) (sizeof (char)); }
13790 unsigned long ulongval () { return (long) (sizeof (char)); }
13792 #include <stdlib.h>
13797 FILE *f = fopen ("conftest.val", "w");
13800 if (((long) (sizeof (char))) < 0)
13802 long i = longval ();
13803 if (i != ((long) (sizeof (char))))
13805 fprintf (f, "%ld\n", i);
13809 unsigned long i = ulongval ();
13810 if (i != ((long) (sizeof (char))))
13812 fprintf (f, "%lu\n", i);
13814 exit (ferror (f) || fclose (f) != 0);
13820 rm -f conftest
$ac_exeext
13821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13822 (eval $ac_link) 2>&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; }; then
13831 ac_cv_sizeof_char
=`cat conftest.val`
13833 echo "$as_me: program exited with status $ac_status" >&5
13834 echo "$as_me: failed program was:" >&5
13835 sed 's/^/| /' conftest.
$ac_ext >&5
13837 ( exit $ac_status )
13838 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13839 See \`config.log' for more details." >&5
13840 echo "$as_me: error: cannot compute sizeof (char), 77
13841 See \`config.log' for more details." >&2;}
13842 { (exit 1); exit 1; }; }
13844 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13849 ac_cv_sizeof_char
=0
13852 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13853 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13854 cat >>confdefs.h
<<_ACEOF
13855 #define SIZEOF_CHAR $ac_cv_sizeof_char
13860 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
13861 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
13862 case "$ac_cv_sizeof_char" in
13863 1) acx_cv_type_int8_t
=char
;;
13864 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
13865 echo "$as_me: error: no 8-bit type" >&2;}
13866 { (exit please report a bug
); exit please report a bug
; }; }
13868 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
13869 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
13871 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
13872 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
13873 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
13874 2:*) acx_cv_type_int16_t
=int
;;
13875 *:2) acx_cv_type_int16_t
=short
;;
13876 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
13877 echo "$as_me: error: no 16-bit type" >&2;}
13878 { (exit please report a bug
); exit please report a bug
; }; }
13880 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
13881 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
13883 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
13884 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
13885 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
13886 4:*) acx_cv_type_int32_t
=int
;;
13887 *:4) acx_cv_type_int32_t
=long
;;
13888 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
13889 echo "$as_me: error: no 32-bit type" >&2;}
13890 { (exit please report a bug
); exit please report a bug
; }; }
13892 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
13893 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
13896 # These tests are here to make the output prettier
13898 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
13899 case "$ac_cv_sizeof_long" in
13900 8) acx_cv_type_int64_t
=long
;;
13902 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
13903 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
13904 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
13905 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
13908 # Now we can use the above types
13910 if test "$ac_cv_type_uintptr_t" != yes; then
13911 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
13912 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
13913 case $ac_cv_sizeof_void_p in
13914 2) acx_cv_type_intptr_t
=int16_t
;;
13915 4) acx_cv_type_intptr_t
=int32_t
;;
13916 8) acx_cv_type_intptr_t
=int64_t
;;
13917 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
13918 echo "$as_me: error: no equivalent for intptr_t" >&2;}
13919 { (exit please report a bug
); exit please report a bug
; }; }
13921 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
13922 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
13925 # ----------------- done all checks, emit header -------------
13926 ac_config_commands
="$ac_config_commands gdb_stdint.h"
13931 # ------------------------- #
13932 # Checks for declarations. #
13933 # ------------------------- #
13935 echo "$as_me:$LINENO: checking whether free is declared" >&5
13936 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
13937 if test "${ac_cv_have_decl_free+set}" = set; then
13938 echo $ECHO_N "(cached) $ECHO_C" >&6
13940 cat >conftest.
$ac_ext <<_ACEOF
13943 cat confdefs.h
>>conftest.
$ac_ext
13944 cat >>conftest.
$ac_ext <<_ACEOF
13945 /* end confdefs.h. */
13946 $ac_includes_default
13951 char *p = (char *) free;
13958 rm -f conftest.
$ac_objext
13959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13960 (eval $ac_compile) 2>conftest.er1
13962 grep -v '^ *+' conftest.er1
>conftest.err
13964 cat conftest.err
>&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); } &&
13967 { ac_try
='test -z "$ac_c_werror_flag"
13968 || test ! -s conftest.err'
13969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13970 (eval $ac_try) 2>&5
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); }; } &&
13974 { ac_try
='test -s conftest.$ac_objext'
13975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976 (eval $ac_try) 2>&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; }; then
13980 ac_cv_have_decl_free
=yes
13982 echo "$as_me: failed program was:" >&5
13983 sed 's/^/| /' conftest.
$ac_ext >&5
13985 ac_cv_have_decl_free
=no
13987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13989 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
13990 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
13991 if test $ac_cv_have_decl_free = yes; then
13993 cat >>confdefs.h
<<_ACEOF
13994 #define HAVE_DECL_FREE 1
13999 cat >>confdefs.h
<<_ACEOF
14000 #define HAVE_DECL_FREE 0
14005 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
14006 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
14007 if test "${ac_cv_have_decl_malloc+set}" = set; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 cat >conftest.
$ac_ext <<_ACEOF
14013 cat confdefs.h
>>conftest.
$ac_ext
14014 cat >>conftest.
$ac_ext <<_ACEOF
14015 /* end confdefs.h. */
14016 $ac_includes_default
14021 char *p = (char *) malloc;
14028 rm -f conftest.
$ac_objext
14029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14030 (eval $ac_compile) 2>conftest.er1
14032 grep -v '^ *+' conftest.er1
>conftest.err
14034 cat conftest.err
>&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } &&
14037 { ac_try
='test -z "$ac_c_werror_flag"
14038 || test ! -s conftest.err'
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 (eval $ac_try) 2>&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; } &&
14044 { ac_try
='test -s conftest.$ac_objext'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; }; then
14050 ac_cv_have_decl_malloc
=yes
14052 echo "$as_me: failed program was:" >&5
14053 sed 's/^/| /' conftest.
$ac_ext >&5
14055 ac_cv_have_decl_malloc
=no
14057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14059 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
14060 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
14061 if test $ac_cv_have_decl_malloc = yes; then
14063 cat >>confdefs.h
<<_ACEOF
14064 #define HAVE_DECL_MALLOC 1
14069 cat >>confdefs.h
<<_ACEOF
14070 #define HAVE_DECL_MALLOC 0
14075 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
14076 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
14077 if test "${ac_cv_have_decl_realloc+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 cat >conftest.
$ac_ext <<_ACEOF
14083 cat confdefs.h
>>conftest.
$ac_ext
14084 cat >>conftest.
$ac_ext <<_ACEOF
14085 /* end confdefs.h. */
14086 $ac_includes_default
14091 char *p = (char *) realloc;
14098 rm -f conftest.
$ac_objext
14099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14100 (eval $ac_compile) 2>conftest.er1
14102 grep -v '^ *+' conftest.er1
>conftest.err
14104 cat conftest.err
>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); } &&
14107 { ac_try
='test -z "$ac_c_werror_flag"
14108 || test ! -s conftest.err'
14109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14110 (eval $ac_try) 2>&5
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); }; } &&
14114 { ac_try
='test -s conftest.$ac_objext'
14115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14116 (eval $ac_try) 2>&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); }; }; then
14120 ac_cv_have_decl_realloc
=yes
14122 echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.
$ac_ext >&5
14125 ac_cv_have_decl_realloc
=no
14127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14129 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
14130 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
14131 if test $ac_cv_have_decl_realloc = yes; then
14133 cat >>confdefs.h
<<_ACEOF
14134 #define HAVE_DECL_REALLOC 1
14139 cat >>confdefs.h
<<_ACEOF
14140 #define HAVE_DECL_REALLOC 0
14147 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
14148 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
14149 if test "${ac_cv_have_decl_strerror+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 cat >conftest.
$ac_ext <<_ACEOF
14155 cat confdefs.h
>>conftest.
$ac_ext
14156 cat >>conftest.
$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14158 $ac_includes_default
14163 char *p = (char *) strerror;
14170 rm -f conftest.
$ac_objext
14171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14172 (eval $ac_compile) 2>conftest.er1
14174 grep -v '^ *+' conftest.er1
>conftest.err
14176 cat conftest.err
>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try
='test -z "$ac_c_werror_flag"
14180 || test ! -s conftest.err'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; } &&
14186 { ac_try
='test -s conftest.$ac_objext'
14187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; }; then
14192 ac_cv_have_decl_strerror
=yes
14194 echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.
$ac_ext >&5
14197 ac_cv_have_decl_strerror
=no
14199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14201 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
14202 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
14203 if test $ac_cv_have_decl_strerror = yes; then
14205 cat >>confdefs.h
<<_ACEOF
14206 #define HAVE_DECL_STRERROR 1
14211 cat >>confdefs.h
<<_ACEOF
14212 #define HAVE_DECL_STRERROR 0
14217 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
14218 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
14219 if test "${ac_cv_have_decl_strstr+set}" = set; then
14220 echo $ECHO_N "(cached) $ECHO_C" >&6
14222 cat >conftest.
$ac_ext <<_ACEOF
14225 cat confdefs.h
>>conftest.
$ac_ext
14226 cat >>conftest.
$ac_ext <<_ACEOF
14227 /* end confdefs.h. */
14228 $ac_includes_default
14233 char *p = (char *) strstr;
14240 rm -f conftest.
$ac_objext
14241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14242 (eval $ac_compile) 2>conftest.er1
14244 grep -v '^ *+' conftest.er1
>conftest.err
14246 cat conftest.err
>&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); } &&
14249 { ac_try
='test -z "$ac_c_werror_flag"
14250 || test ! -s conftest.err'
14251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252 (eval $ac_try) 2>&5
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); }; } &&
14256 { ac_try
='test -s conftest.$ac_objext'
14257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258 (eval $ac_try) 2>&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; }; then
14262 ac_cv_have_decl_strstr
=yes
14264 echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.
$ac_ext >&5
14267 ac_cv_have_decl_strstr
=no
14269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14271 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
14272 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
14273 if test $ac_cv_have_decl_strstr = yes; then
14275 cat >>confdefs.h
<<_ACEOF
14276 #define HAVE_DECL_STRSTR 1
14281 cat >>confdefs.h
<<_ACEOF
14282 #define HAVE_DECL_STRSTR 0
14289 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
14290 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
14291 if test "${ac_cv_have_decl_getopt+set}" = set; then
14292 echo $ECHO_N "(cached) $ECHO_C" >&6
14294 cat >conftest.
$ac_ext <<_ACEOF
14297 cat confdefs.h
>>conftest.
$ac_ext
14298 cat >>conftest.
$ac_ext <<_ACEOF
14299 /* end confdefs.h. */
14300 $ac_includes_default
14305 char *p = (char *) getopt;
14312 rm -f conftest.
$ac_objext
14313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14314 (eval $ac_compile) 2>conftest.er1
14316 grep -v '^ *+' conftest.er1
>conftest.err
14318 cat conftest.err
>&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } &&
14321 { ac_try
='test -z "$ac_c_werror_flag"
14322 || test ! -s conftest.err'
14323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14324 (eval $ac_try) 2>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); }; } &&
14328 { ac_try
='test -s conftest.$ac_objext'
14329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14330 (eval $ac_try) 2>&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); }; }; then
14334 ac_cv_have_decl_getopt
=yes
14336 echo "$as_me: failed program was:" >&5
14337 sed 's/^/| /' conftest.
$ac_ext >&5
14339 ac_cv_have_decl_getopt
=no
14341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14343 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
14344 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
14345 if test $ac_cv_have_decl_getopt = yes; then
14347 cat >>confdefs.h
<<_ACEOF
14348 #define HAVE_DECL_GETOPT 1
14353 cat >>confdefs.h
<<_ACEOF
14354 #define HAVE_DECL_GETOPT 0
14359 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
14360 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
14361 if test "${ac_cv_have_decl_snprintf+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 cat >conftest.
$ac_ext <<_ACEOF
14367 cat confdefs.h
>>conftest.
$ac_ext
14368 cat >>conftest.
$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14370 $ac_includes_default
14375 char *p = (char *) snprintf;
14382 rm -f conftest.
$ac_objext
14383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14384 (eval $ac_compile) 2>conftest.er1
14386 grep -v '^ *+' conftest.er1
>conftest.err
14388 cat conftest.err
>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } &&
14391 { ac_try
='test -z "$ac_c_werror_flag"
14392 || test ! -s conftest.err'
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); }; } &&
14398 { ac_try
='test -s conftest.$ac_objext'
14399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14400 (eval $ac_try) 2>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); }; }; then
14404 ac_cv_have_decl_snprintf
=yes
14406 echo "$as_me: failed program was:" >&5
14407 sed 's/^/| /' conftest.
$ac_ext >&5
14409 ac_cv_have_decl_snprintf
=no
14411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14413 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
14414 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
14415 if test $ac_cv_have_decl_snprintf = yes; then
14417 cat >>confdefs.h
<<_ACEOF
14418 #define HAVE_DECL_SNPRINTF 1
14423 cat >>confdefs.h
<<_ACEOF
14424 #define HAVE_DECL_SNPRINTF 0
14429 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
14430 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
14431 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14434 cat >conftest.
$ac_ext <<_ACEOF
14437 cat confdefs.h
>>conftest.
$ac_ext
14438 cat >>conftest.
$ac_ext <<_ACEOF
14439 /* end confdefs.h. */
14440 $ac_includes_default
14445 char *p = (char *) vsnprintf;
14452 rm -f conftest.
$ac_objext
14453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14454 (eval $ac_compile) 2>conftest.er1
14456 grep -v '^ *+' conftest.er1
>conftest.err
14458 cat conftest.err
>&5
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); } &&
14461 { ac_try
='test -z "$ac_c_werror_flag"
14462 || test ! -s conftest.err'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; } &&
14468 { ac_try
='test -s conftest.$ac_objext'
14469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14470 (eval $ac_try) 2>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; }; then
14474 ac_cv_have_decl_vsnprintf
=yes
14476 echo "$as_me: failed program was:" >&5
14477 sed 's/^/| /' conftest.
$ac_ext >&5
14479 ac_cv_have_decl_vsnprintf
=no
14481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14483 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
14484 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
14485 if test $ac_cv_have_decl_vsnprintf = yes; then
14487 cat >>confdefs.h
<<_ACEOF
14488 #define HAVE_DECL_VSNPRINTF 1
14493 cat >>confdefs.h
<<_ACEOF
14494 #define HAVE_DECL_VSNPRINTF 0
14502 # ----------------------- #
14503 # Checks for structures. #
14504 # ----------------------- #
14506 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
14507 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
14508 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 cat >conftest.
$ac_ext <<_ACEOF
14514 cat confdefs.h
>>conftest.
$ac_ext
14515 cat >>conftest.
$ac_ext <<_ACEOF
14516 /* end confdefs.h. */
14517 $ac_includes_default
14521 static struct stat ac_aggr;
14522 if (ac_aggr.st_blocks)
14528 rm -f conftest.
$ac_objext
14529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14530 (eval $ac_compile) 2>conftest.er1
14532 grep -v '^ *+' conftest.er1
>conftest.err
14534 cat conftest.err
>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); } &&
14537 { ac_try
='test -z "$ac_c_werror_flag"
14538 || test ! -s conftest.err'
14539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540 (eval $ac_try) 2>&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); }; } &&
14544 { ac_try
='test -s conftest.$ac_objext'
14545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14546 (eval $ac_try) 2>&5
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); }; }; then
14550 ac_cv_member_struct_stat_st_blocks
=yes
14552 echo "$as_me: failed program was:" >&5
14553 sed 's/^/| /' conftest.
$ac_ext >&5
14555 cat >conftest.
$ac_ext <<_ACEOF
14558 cat confdefs.h
>>conftest.
$ac_ext
14559 cat >>conftest.
$ac_ext <<_ACEOF
14560 /* end confdefs.h. */
14561 $ac_includes_default
14565 static struct stat ac_aggr;
14566 if (sizeof ac_aggr.st_blocks)
14572 rm -f conftest.
$ac_objext
14573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14574 (eval $ac_compile) 2>conftest.er1
14576 grep -v '^ *+' conftest.er1
>conftest.err
14578 cat conftest.err
>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); } &&
14581 { ac_try
='test -z "$ac_c_werror_flag"
14582 || test ! -s conftest.err'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; } &&
14588 { ac_try
='test -s conftest.$ac_objext'
14589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590 (eval $ac_try) 2>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; }; then
14594 ac_cv_member_struct_stat_st_blocks
=yes
14596 echo "$as_me: failed program was:" >&5
14597 sed 's/^/| /' conftest.
$ac_ext >&5
14599 ac_cv_member_struct_stat_st_blocks
=no
14601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14605 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
14606 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
14607 if test $ac_cv_member_struct_stat_st_blocks = yes; then
14609 cat >>confdefs.h
<<_ACEOF
14610 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14616 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
14617 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
14618 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6
14621 cat >conftest.
$ac_ext <<_ACEOF
14624 cat confdefs.h
>>conftest.
$ac_ext
14625 cat >>conftest.
$ac_ext <<_ACEOF
14626 /* end confdefs.h. */
14627 $ac_includes_default
14631 static struct stat ac_aggr;
14632 if (ac_aggr.st_blksize)
14638 rm -f conftest.
$ac_objext
14639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14640 (eval $ac_compile) 2>conftest.er1
14642 grep -v '^ *+' conftest.er1
>conftest.err
14644 cat conftest.err
>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); } &&
14647 { ac_try
='test -z "$ac_c_werror_flag"
14648 || test ! -s conftest.err'
14649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14650 (eval $ac_try) 2>&5
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); }; } &&
14654 { ac_try
='test -s conftest.$ac_objext'
14655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14656 (eval $ac_try) 2>&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); }; }; then
14660 ac_cv_member_struct_stat_st_blksize
=yes
14662 echo "$as_me: failed program was:" >&5
14663 sed 's/^/| /' conftest.
$ac_ext >&5
14665 cat >conftest.
$ac_ext <<_ACEOF
14668 cat confdefs.h
>>conftest.
$ac_ext
14669 cat >>conftest.
$ac_ext <<_ACEOF
14670 /* end confdefs.h. */
14671 $ac_includes_default
14675 static struct stat ac_aggr;
14676 if (sizeof ac_aggr.st_blksize)
14682 rm -f conftest.
$ac_objext
14683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14684 (eval $ac_compile) 2>conftest.er1
14686 grep -v '^ *+' conftest.er1
>conftest.err
14688 cat conftest.err
>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } &&
14691 { ac_try
='test -z "$ac_c_werror_flag"
14692 || test ! -s conftest.err'
14693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); }; } &&
14698 { ac_try
='test -s conftest.$ac_objext'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; }; then
14704 ac_cv_member_struct_stat_st_blksize
=yes
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.
$ac_ext >&5
14709 ac_cv_member_struct_stat_st_blksize
=no
14711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14715 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
14716 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
14717 if test $ac_cv_member_struct_stat_st_blksize = yes; then
14719 cat >>confdefs.h
<<_ACEOF
14720 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
14727 # ------------------ #
14728 # Checks for types. #
14729 # ------------------ #
14731 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
14732 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
14733 if test "${ac_cv_type_signal+set}" = set; then
14734 echo $ECHO_N "(cached) $ECHO_C" >&6
14736 cat >conftest.
$ac_ext <<_ACEOF
14739 cat confdefs.h
>>conftest.
$ac_ext
14740 cat >>conftest.
$ac_ext <<_ACEOF
14741 /* end confdefs.h. */
14742 #include <sys/types.h>
14743 #include <signal.h>
14748 extern "C" void (*signal (int, void (*)(int)))(int);
14750 void (*signal ()) ();
14761 rm -f conftest.
$ac_objext
14762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14763 (eval $ac_compile) 2>conftest.er1
14765 grep -v '^ *+' conftest.er1
>conftest.err
14767 cat conftest.err
>&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } &&
14770 { ac_try
='test -z "$ac_c_werror_flag"
14771 || test ! -s conftest.err'
14772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14773 (eval $ac_try) 2>&5
14775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14776 (exit $ac_status); }; } &&
14777 { ac_try
='test -s conftest.$ac_objext'
14778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14779 (eval $ac_try) 2>&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); }; }; then
14783 ac_cv_type_signal
=void
14785 echo "$as_me: failed program was:" >&5
14786 sed 's/^/| /' conftest.
$ac_ext >&5
14788 ac_cv_type_signal
=int
14790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14792 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
14793 echo "${ECHO_T}$ac_cv_type_signal" >&6
14795 cat >>confdefs.h
<<_ACEOF
14796 #define RETSIGTYPE $ac_cv_type_signal
14800 echo "$as_me:$LINENO: checking for socklen_t" >&5
14801 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
14802 if test "${ac_cv_type_socklen_t+set}" = set; then
14803 echo $ECHO_N "(cached) $ECHO_C" >&6
14805 cat >conftest.
$ac_ext <<_ACEOF
14808 cat confdefs.h
>>conftest.
$ac_ext
14809 cat >>conftest.
$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14811 #include <sys/types.h>
14812 #include <sys/socket.h>
14818 if ((socklen_t *) 0)
14820 if (sizeof (socklen_t))
14826 rm -f conftest.
$ac_objext
14827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14828 (eval $ac_compile) 2>conftest.er1
14830 grep -v '^ *+' conftest.er1
>conftest.err
14832 cat conftest.err
>&5
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); } &&
14835 { ac_try
='test -z "$ac_c_werror_flag"
14836 || test ! -s conftest.err'
14837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14838 (eval $ac_try) 2>&5
14840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14841 (exit $ac_status); }; } &&
14842 { ac_try
='test -s conftest.$ac_objext'
14843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14844 (eval $ac_try) 2>&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); }; }; then
14848 ac_cv_type_socklen_t
=yes
14850 echo "$as_me: failed program was:" >&5
14851 sed 's/^/| /' conftest.
$ac_ext >&5
14853 ac_cv_type_socklen_t
=no
14855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14857 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
14858 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
14859 if test $ac_cv_type_socklen_t = yes; then
14861 cat >>confdefs.h
<<_ACEOF
14862 #define HAVE_SOCKLEN_T 1
14868 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14869 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14870 if test "${ac_cv_type_uintptr_t+set}" = set; then
14871 echo $ECHO_N "(cached) $ECHO_C" >&6
14873 cat >conftest.
$ac_ext <<_ACEOF
14876 cat confdefs.h
>>conftest.
$ac_ext
14877 cat >>conftest.
$ac_ext <<_ACEOF
14878 /* end confdefs.h. */
14879 #include <stdint.h>
14884 if ((uintptr_t *) 0)
14886 if (sizeof (uintptr_t))
14892 rm -f conftest.
$ac_objext
14893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14894 (eval $ac_compile) 2>conftest.er1
14896 grep -v '^ *+' conftest.er1
>conftest.err
14898 cat conftest.err
>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try
='test -z "$ac_c_werror_flag"
14902 || test ! -s conftest.err'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; } &&
14908 { ac_try
='test -s conftest.$ac_objext'
14909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14910 (eval $ac_try) 2>&5
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); }; }; then
14914 ac_cv_type_uintptr_t
=yes
14916 echo "$as_me: failed program was:" >&5
14917 sed 's/^/| /' conftest.
$ac_ext >&5
14919 ac_cv_type_uintptr_t
=no
14921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14923 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14924 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14925 if test $ac_cv_type_uintptr_t = yes; then
14927 cat >>confdefs.h
<<_ACEOF
14928 #define HAVE_UINTPTR_T 1
14935 # ------------------------------------- #
14936 # Checks for compiler characteristics. #
14937 # ------------------------------------- #
14939 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14940 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14941 if test "${ac_cv_c_const+set}" = set; then
14942 echo $ECHO_N "(cached) $ECHO_C" >&6
14944 cat >conftest.
$ac_ext <<_ACEOF
14947 cat confdefs.h
>>conftest.
$ac_ext
14948 cat >>conftest.
$ac_ext <<_ACEOF
14949 /* end confdefs.h. */
14954 /* FIXME: Include the comments suggested by Paul. */
14955 #ifndef __cplusplus
14956 /* Ultrix mips cc rejects this. */
14957 typedef int charset[2];
14959 /* SunOS 4.1.1 cc rejects this. */
14960 char const *const *ccp;
14962 /* NEC SVR4.0.2 mips cc rejects this. */
14963 struct point {int x, y;};
14964 static struct point const zero = {0,0};
14965 /* AIX XL C 1.02.0.0 rejects this.
14966 It does not let you subtract one const X* pointer from another in
14967 an arm of an if-expression whose if-part is not a constant
14969 const char *g = "string";
14970 ccp = &g + (g ? g-g : 0);
14971 /* HPUX 7.0 cc rejects these. */
14974 ccp = (char const *const *) p;
14975 { /* SCO 3.2v4 cc rejects this. */
14977 char const *s = 0 ? (char *) 0 : (char const *) 0;
14981 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14982 int x[] = {25, 17};
14983 const int *foo = &x[0];
14986 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14987 typedef const int *iptr;
14991 { /* AIX XL C 1.02.0.0 rejects this saying
14992 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14993 struct s { int j; const int *ap[3]; };
14994 struct s *b; b->j = 5;
14996 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14997 const int foo = 10;
15005 rm -f conftest.
$ac_objext
15006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15007 (eval $ac_compile) 2>conftest.er1
15009 grep -v '^ *+' conftest.er1
>conftest.err
15011 cat conftest.err
>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); } &&
15014 { ac_try
='test -z "$ac_c_werror_flag"
15015 || test ! -s conftest.err'
15016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15017 (eval $ac_try) 2>&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); }; } &&
15021 { ac_try
='test -s conftest.$ac_objext'
15022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15023 (eval $ac_try) 2>&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; }; then
15029 echo "$as_me: failed program was:" >&5
15030 sed 's/^/| /' conftest.
$ac_ext >&5
15034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15036 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15037 echo "${ECHO_T}$ac_cv_c_const" >&6
15038 if test $ac_cv_c_const = no
; then
15040 cat >>confdefs.h
<<\_ACEOF
15046 echo "$as_me:$LINENO: checking for inline" >&5
15047 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15048 if test "${ac_cv_c_inline+set}" = set; then
15049 echo $ECHO_N "(cached) $ECHO_C" >&6
15052 for ac_kw
in inline __inline__ __inline
; do
15053 cat >conftest.
$ac_ext <<_ACEOF
15056 cat confdefs.h
>>conftest.
$ac_ext
15057 cat >>conftest.
$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059 #ifndef __cplusplus
15061 static $ac_kw foo_t static_foo () {return 0; }
15062 $ac_kw foo_t foo () {return 0; }
15066 rm -f conftest.
$ac_objext
15067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15068 (eval $ac_compile) 2>conftest.er1
15070 grep -v '^ *+' conftest.er1
>conftest.err
15072 cat conftest.err
>&5
15073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15074 (exit $ac_status); } &&
15075 { ac_try
='test -z "$ac_c_werror_flag"
15076 || test ! -s conftest.err'
15077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15078 (eval $ac_try) 2>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); }; } &&
15082 { ac_try
='test -s conftest.$ac_objext'
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; }; then
15088 ac_cv_c_inline
=$ac_kw; break
15090 echo "$as_me: failed program was:" >&5
15091 sed 's/^/| /' conftest.
$ac_ext >&5
15094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15098 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15099 echo "${ECHO_T}$ac_cv_c_inline" >&6
15102 case $ac_cv_c_inline in
15105 case $ac_cv_c_inline in
15107 *) ac_val
=$ac_cv_c_inline;;
15109 cat >>confdefs.h
<<_ACEOF
15110 #ifndef __cplusplus
15111 #define inline $ac_val
15118 # ------------------------------ #
15119 # Checks for library functions. #
15120 # ------------------------------ #
15122 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15123 # for constant arguments. Useless!
15124 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15125 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15126 if test "${ac_cv_working_alloca_h+set}" = set; then
15127 echo $ECHO_N "(cached) $ECHO_C" >&6
15129 cat >conftest.
$ac_ext <<_ACEOF
15132 cat confdefs.h
>>conftest.
$ac_ext
15133 cat >>conftest.
$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135 #include <alloca.h>
15139 char *p = (char *) alloca (2 * sizeof (int));
15144 rm -f conftest.
$ac_objext conftest
$ac_exeext
15145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15146 (eval $ac_link) 2>conftest.er1
15148 grep -v '^ *+' conftest.er1
>conftest.err
15150 cat conftest.err
>&5
15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152 (exit $ac_status); } &&
15153 { ac_try
='test -z "$ac_c_werror_flag"
15154 || test ! -s conftest.err'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; } &&
15160 { ac_try
='test -s conftest$ac_exeext'
15161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15162 (eval $ac_try) 2>&5
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); }; }; then
15166 ac_cv_working_alloca_h
=yes
15168 echo "$as_me: failed program was:" >&5
15169 sed 's/^/| /' conftest.
$ac_ext >&5
15171 ac_cv_working_alloca_h
=no
15173 rm -f conftest.err conftest.
$ac_objext \
15174 conftest
$ac_exeext conftest.
$ac_ext
15176 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15177 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15178 if test $ac_cv_working_alloca_h = yes; then
15180 cat >>confdefs.h
<<\_ACEOF
15181 #define HAVE_ALLOCA_H 1
15186 echo "$as_me:$LINENO: checking for alloca" >&5
15187 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15188 if test "${ac_cv_func_alloca_works+set}" = set; then
15189 echo $ECHO_N "(cached) $ECHO_C" >&6
15191 cat >conftest.
$ac_ext <<_ACEOF
15194 cat confdefs.h
>>conftest.
$ac_ext
15195 cat >>conftest.
$ac_ext <<_ACEOF
15196 /* end confdefs.h. */
15198 # define alloca __builtin_alloca
15201 # include <malloc.h>
15202 # define alloca _alloca
15205 # include <alloca.h>
15210 # ifndef alloca /* predefined by HP cc +Olibcalls */
15221 char *p = (char *) alloca (1);
15226 rm -f conftest.
$ac_objext conftest
$ac_exeext
15227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15228 (eval $ac_link) 2>conftest.er1
15230 grep -v '^ *+' conftest.er1
>conftest.err
15232 cat conftest.err
>&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } &&
15235 { ac_try
='test -z "$ac_c_werror_flag"
15236 || test ! -s conftest.err'
15237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15238 (eval $ac_try) 2>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; } &&
15242 { ac_try
='test -s conftest$ac_exeext'
15243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15244 (eval $ac_try) 2>&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); }; }; then
15248 ac_cv_func_alloca_works
=yes
15250 echo "$as_me: failed program was:" >&5
15251 sed 's/^/| /' conftest.
$ac_ext >&5
15253 ac_cv_func_alloca_works
=no
15255 rm -f conftest.err conftest.
$ac_objext \
15256 conftest
$ac_exeext conftest.
$ac_ext
15258 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15259 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15261 if test $ac_cv_func_alloca_works = yes; then
15263 cat >>confdefs.h
<<\_ACEOF
15264 #define HAVE_ALLOCA 1
15268 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15269 # that cause trouble. Some versions do not even contain alloca or
15270 # contain a buggy version. If you still want to use their alloca,
15271 # use ar to extract alloca.o from them instead of compiling alloca.c.
15273 ALLOCA
=alloca.
$ac_objext
15275 cat >>confdefs.h
<<\_ACEOF
15280 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15281 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15282 if test "${ac_cv_os_cray+set}" = set; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15285 cat >conftest.
$ac_ext <<_ACEOF
15288 cat confdefs.h
>>conftest.
$ac_ext
15289 cat >>conftest.
$ac_ext <<_ACEOF
15290 /* end confdefs.h. */
15291 #if defined(CRAY) && ! defined(CRAY2)
15298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15299 $EGREP "webecray" >/dev
/null
2>&1; then
15307 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15308 echo "${ECHO_T}$ac_cv_os_cray" >&6
15309 if test $ac_cv_os_cray = yes; then
15310 for ac_func
in _getb67 GETB67 getb67
; do
15311 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15312 echo "$as_me:$LINENO: checking for $ac_func" >&5
15313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15314 if eval "test \"\${$as_ac_var+set}\" = set"; then
15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15317 cat >conftest.
$ac_ext <<_ACEOF
15320 cat confdefs.h
>>conftest.
$ac_ext
15321 cat >>conftest.
$ac_ext <<_ACEOF
15322 /* end confdefs.h. */
15323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15325 #define $ac_func innocuous_$ac_func
15327 /* System header to define __stub macros and hopefully few prototypes,
15328 which can conflict with char $ac_func (); below.
15329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15330 <limits.h> exists even on freestanding compilers. */
15333 # include <limits.h>
15335 # include <assert.h>
15340 /* Override any gcc2 internal prototype to avoid an error. */
15345 /* We use char because int might match the return type of a gcc2
15346 builtin and then its argument prototype would still apply. */
15348 /* The GNU C library defines this for functions which it implements
15349 to always fail with ENOSYS. Some functions are actually named
15350 something starting with __ and the normal name is an alias. */
15351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15354 char (*f) () = $ac_func;
15363 return f != $ac_func;
15368 rm -f conftest.
$ac_objext conftest
$ac_exeext
15369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15370 (eval $ac_link) 2>conftest.er1
15372 grep -v '^ *+' conftest.er1
>conftest.err
15374 cat conftest.err
>&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } &&
15377 { ac_try
='test -z "$ac_c_werror_flag"
15378 || test ! -s conftest.err'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; } &&
15384 { ac_try
='test -s conftest$ac_exeext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 eval "$as_ac_var=yes"
15392 echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.
$ac_ext >&5
15395 eval "$as_ac_var=no"
15397 rm -f conftest.err conftest.
$ac_objext \
15398 conftest
$ac_exeext conftest.
$ac_ext
15400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15402 if test `eval echo '${'$as_ac_var'}'` = yes; then
15404 cat >>confdefs.h
<<_ACEOF
15405 #define CRAY_STACKSEG_END $ac_func
15414 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15415 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15416 if test "${ac_cv_c_stack_direction+set}" = set; then
15417 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 if test "$cross_compiling" = yes; then
15420 ac_cv_c_stack_direction
=0
15422 cat >conftest.
$ac_ext <<_ACEOF
15425 cat confdefs.h
>>conftest.
$ac_ext
15426 cat >>conftest.
$ac_ext <<_ACEOF
15427 /* end confdefs.h. */
15429 find_stack_direction ()
15431 static char *addr = 0;
15436 return find_stack_direction ();
15439 return (&dummy > addr) ? 1 : -1;
15445 exit (find_stack_direction () < 0);
15448 rm -f conftest
$ac_exeext
15449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15450 (eval $ac_link) 2>&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455 (eval $ac_try) 2>&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; }; then
15459 ac_cv_c_stack_direction
=1
15461 echo "$as_me: program exited with status $ac_status" >&5
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.
$ac_ext >&5
15465 ( exit $ac_status )
15466 ac_cv_c_stack_direction
=-1
15468 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15471 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15472 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15474 cat >>confdefs.h
<<_ACEOF
15475 #define STACK_DIRECTION $ac_cv_c_stack_direction
15483 for ac_header
in stdlib.h unistd.h
15485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15487 echo "$as_me:$LINENO: checking for $ac_header" >&5
15488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15495 # Is the header compilable?
15496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15498 cat >conftest.
$ac_ext <<_ACEOF
15501 cat confdefs.h
>>conftest.
$ac_ext
15502 cat >>conftest.
$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504 $ac_includes_default
15505 #include <$ac_header>
15507 rm -f conftest.
$ac_objext
15508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15509 (eval $ac_compile) 2>conftest.er1
15511 grep -v '^ *+' conftest.er1
>conftest.err
15513 cat conftest.err
>&5
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); } &&
15516 { ac_try
='test -z "$ac_c_werror_flag"
15517 || test ! -s conftest.err'
15518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15519 (eval $ac_try) 2>&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); }; } &&
15523 { ac_try
='test -s conftest.$ac_objext'
15524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525 (eval $ac_try) 2>&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); }; }; then
15529 ac_header_compiler
=yes
15531 echo "$as_me: failed program was:" >&5
15532 sed 's/^/| /' conftest.
$ac_ext >&5
15534 ac_header_compiler
=no
15536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15538 echo "${ECHO_T}$ac_header_compiler" >&6
15540 # Is the header present?
15541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15543 cat >conftest.
$ac_ext <<_ACEOF
15546 cat confdefs.h
>>conftest.
$ac_ext
15547 cat >>conftest.
$ac_ext <<_ACEOF
15548 /* end confdefs.h. */
15549 #include <$ac_header>
15551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15552 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15554 grep -v '^ *+' conftest.er1
>conftest.err
15556 cat conftest.err
>&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } >/dev
/null
; then
15559 if test -s conftest.err
; then
15560 ac_cpp_err
=$ac_c_preproc_warn_flag
15561 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15568 if test -z "$ac_cpp_err"; then
15569 ac_header_preproc
=yes
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.
$ac_ext >&5
15574 ac_header_preproc
=no
15576 rm -f conftest.err conftest.
$ac_ext
15577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15578 echo "${ECHO_T}$ac_header_preproc" >&6
15580 # So? What about this header?
15581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15586 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15587 ac_header_preproc
=yes
15590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15594 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15595 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15596 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15597 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15599 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15600 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15601 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15604 ## ------------------------------------------ ##
15605 ## Report this to the AC_PACKAGE_NAME lists. ##
15606 ## ------------------------------------------ ##
15609 sed "s/^/$as_me: WARNING: /" >&2
15612 echo "$as_me:$LINENO: checking for $ac_header" >&5
15613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15615 echo $ECHO_N "(cached) $ECHO_C" >&6
15617 eval "$as_ac_Header=\$ac_header_preproc"
15619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15624 cat >>confdefs.h
<<_ACEOF
15625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15633 for ac_func
in getpagesize
15635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15636 echo "$as_me:$LINENO: checking for $ac_func" >&5
15637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15638 if eval "test \"\${$as_ac_var+set}\" = set"; then
15639 echo $ECHO_N "(cached) $ECHO_C" >&6
15641 cat >conftest.
$ac_ext <<_ACEOF
15644 cat confdefs.h
>>conftest.
$ac_ext
15645 cat >>conftest.
$ac_ext <<_ACEOF
15646 /* end confdefs.h. */
15647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15649 #define $ac_func innocuous_$ac_func
15651 /* System header to define __stub macros and hopefully few prototypes,
15652 which can conflict with char $ac_func (); below.
15653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15654 <limits.h> exists even on freestanding compilers. */
15657 # include <limits.h>
15659 # include <assert.h>
15664 /* Override any gcc2 internal prototype to avoid an error. */
15669 /* We use char because int might match the return type of a gcc2
15670 builtin and then its argument prototype would still apply. */
15672 /* The GNU C library defines this for functions which it implements
15673 to always fail with ENOSYS. Some functions are actually named
15674 something starting with __ and the normal name is an alias. */
15675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15678 char (*f) () = $ac_func;
15687 return f != $ac_func;
15692 rm -f conftest.
$ac_objext conftest
$ac_exeext
15693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15694 (eval $ac_link) 2>conftest.er1
15696 grep -v '^ *+' conftest.er1
>conftest.err
15698 cat conftest.err
>&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); } &&
15701 { ac_try
='test -z "$ac_c_werror_flag"
15702 || test ! -s conftest.err'
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; } &&
15708 { ac_try
='test -s conftest$ac_exeext'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; }; then
15714 eval "$as_ac_var=yes"
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.
$ac_ext >&5
15719 eval "$as_ac_var=no"
15721 rm -f conftest.err conftest.
$ac_objext \
15722 conftest
$ac_exeext conftest.
$ac_ext
15724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15726 if test `eval echo '${'$as_ac_var'}'` = yes; then
15727 cat >>confdefs.h
<<_ACEOF
15728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15734 echo "$as_me:$LINENO: checking for working mmap" >&5
15735 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
15736 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
15737 echo $ECHO_N "(cached) $ECHO_C" >&6
15739 if test "$cross_compiling" = yes; then
15740 ac_cv_func_mmap_fixed_mapped
=no
15742 cat >conftest.
$ac_ext <<_ACEOF
15745 cat confdefs.h
>>conftest.
$ac_ext
15746 cat >>conftest.
$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15748 $ac_includes_default
15749 /* malloc might have been renamed as rpl_malloc. */
15752 /* Thanks to Mike Haertel and Jim Avera for this test.
15753 Here is a matrix of mmap possibilities:
15754 mmap private not fixed
15755 mmap private fixed at somewhere currently unmapped
15756 mmap private fixed at somewhere already mapped
15757 mmap shared not fixed
15758 mmap shared fixed at somewhere currently unmapped
15759 mmap shared fixed at somewhere already mapped
15760 For private mappings, we should verify that changes cannot be read()
15761 back from the file, nor mmap's back from the file at a different
15762 address. (There have been systems where private was not correctly
15763 implemented like the infamous i386 svr4.0, and systems where the
15764 VM page cache was not coherent with the file system buffer cache
15765 like early versions of FreeBSD and possibly contemporary NetBSD.)
15766 For shared mappings, we should conversely verify that changes get
15767 propagated back to all the places they're supposed to be.
15769 Grep wants private fixed already mapped.
15770 The main things grep needs to know about mmap are:
15771 * does it exist and is it safe to write into the mmap'd area
15772 * how to use it (BSD variants) */
15775 #include <sys/mman.h>
15777 #if !STDC_HEADERS && !HAVE_STDLIB_H
15781 /* This mess was copied from the GNU getpagesize.h. */
15782 #if !HAVE_GETPAGESIZE
15783 /* Assume that all systems that can run configure have sys/param.h. */
15784 # if !HAVE_SYS_PARAM_H
15785 # define HAVE_SYS_PARAM_H 1
15788 # ifdef _SC_PAGESIZE
15789 # define getpagesize() sysconf(_SC_PAGESIZE)
15790 # else /* no _SC_PAGESIZE */
15791 # if HAVE_SYS_PARAM_H
15792 # include <sys/param.h>
15793 # ifdef EXEC_PAGESIZE
15794 # define getpagesize() EXEC_PAGESIZE
15795 # else /* no EXEC_PAGESIZE */
15797 # define getpagesize() NBPG * CLSIZE
15800 # endif /* no CLSIZE */
15801 # else /* no NBPG */
15803 # define getpagesize() NBPC
15804 # else /* no NBPC */
15806 # define getpagesize() PAGESIZE
15807 # endif /* PAGESIZE */
15808 # endif /* no NBPC */
15809 # endif /* no NBPG */
15810 # endif /* no EXEC_PAGESIZE */
15811 # else /* no HAVE_SYS_PARAM_H */
15812 # define getpagesize() 8192 /* punt totally */
15813 # endif /* no HAVE_SYS_PARAM_H */
15814 # endif /* no _SC_PAGESIZE */
15816 #endif /* no HAVE_GETPAGESIZE */
15821 char *data, *data2, *data3;
15825 pagesize = getpagesize ();
15827 /* First, make a file with some known garbage in it. */
15828 data = (char *) malloc (pagesize);
15831 for (i = 0; i < pagesize; ++i)
15832 *(data + i) = rand ();
15834 fd = creat ("conftest.mmap", 0600);
15837 if (write (fd, data, pagesize) != pagesize)
15841 /* Next, try to mmap the file at a fixed address which already has
15842 something else allocated at it. If we can, also make sure that
15843 we see the same garbage. */
15844 fd = open ("conftest.mmap", O_RDWR);
15847 data2 = (char *) malloc (2 * pagesize);
15850 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
15851 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
15852 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15854 for (i = 0; i < pagesize; ++i)
15855 if (*(data + i) != *(data2 + i))
15858 /* Finally, make sure that changes to the mapped area do not
15859 percolate back to the file as seen by read(). (This is a bug on
15860 some variants of i386 svr4.0.) */
15861 for (i = 0; i < pagesize; ++i)
15862 *(data2 + i) = *(data2 + i) + 1;
15863 data3 = (char *) malloc (pagesize);
15866 if (read (fd, data3, pagesize) != pagesize)
15868 for (i = 0; i < pagesize; ++i)
15869 if (*(data + i) != *(data3 + i))
15875 rm -f conftest
$ac_exeext
15876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15877 (eval $ac_link) 2>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15882 (eval $ac_try) 2>&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }; }; then
15886 ac_cv_func_mmap_fixed_mapped
=yes
15888 echo "$as_me: program exited with status $ac_status" >&5
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.
$ac_ext >&5
15892 ( exit $ac_status )
15893 ac_cv_func_mmap_fixed_mapped
=no
15895 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15898 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
15899 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
15900 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15902 cat >>confdefs.h
<<\_ACEOF
15903 #define HAVE_MMAP 1
15907 rm -f conftest.mmap
15909 echo "$as_me:$LINENO: checking for pid_t" >&5
15910 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
15911 if test "${ac_cv_type_pid_t+set}" = set; then
15912 echo $ECHO_N "(cached) $ECHO_C" >&6
15914 cat >conftest.
$ac_ext <<_ACEOF
15917 cat confdefs.h
>>conftest.
$ac_ext
15918 cat >>conftest.
$ac_ext <<_ACEOF
15919 /* end confdefs.h. */
15920 $ac_includes_default
15926 if (sizeof (pid_t))
15932 rm -f conftest.
$ac_objext
15933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15934 (eval $ac_compile) 2>conftest.er1
15936 grep -v '^ *+' conftest.er1
>conftest.err
15938 cat conftest.err
>&5
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); } &&
15941 { ac_try
='test -z "$ac_c_werror_flag"
15942 || test ! -s conftest.err'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try
='test -s conftest.$ac_objext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 ac_cv_type_pid_t
=yes
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.
$ac_ext >&5
15959 ac_cv_type_pid_t
=no
15961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15963 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
15964 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
15965 if test $ac_cv_type_pid_t = yes; then
15969 cat >>confdefs.h
<<_ACEOF
15977 for ac_header
in unistd.h vfork.h
15979 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15981 echo "$as_me:$LINENO: checking for $ac_header" >&5
15982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15984 echo $ECHO_N "(cached) $ECHO_C" >&6
15986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15989 # Is the header compilable?
15990 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15992 cat >conftest.
$ac_ext <<_ACEOF
15995 cat confdefs.h
>>conftest.
$ac_ext
15996 cat >>conftest.
$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
15998 $ac_includes_default
15999 #include <$ac_header>
16001 rm -f conftest.
$ac_objext
16002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16003 (eval $ac_compile) 2>conftest.er1
16005 grep -v '^ *+' conftest.er1
>conftest.err
16007 cat conftest.err
>&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } &&
16010 { ac_try
='test -z "$ac_c_werror_flag"
16011 || test ! -s conftest.err'
16012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16013 (eval $ac_try) 2>&5
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); }; } &&
16017 { ac_try
='test -s conftest.$ac_objext'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; }; then
16023 ac_header_compiler
=yes
16025 echo "$as_me: failed program was:" >&5
16026 sed 's/^/| /' conftest.
$ac_ext >&5
16028 ac_header_compiler
=no
16030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16032 echo "${ECHO_T}$ac_header_compiler" >&6
16034 # Is the header present?
16035 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16036 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16037 cat >conftest.
$ac_ext <<_ACEOF
16040 cat confdefs.h
>>conftest.
$ac_ext
16041 cat >>conftest.
$ac_ext <<_ACEOF
16042 /* end confdefs.h. */
16043 #include <$ac_header>
16045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16046 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16048 grep -v '^ *+' conftest.er1
>conftest.err
16050 cat conftest.err
>&5
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); } >/dev
/null
; then
16053 if test -s conftest.err
; then
16054 ac_cpp_err
=$ac_c_preproc_warn_flag
16055 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16062 if test -z "$ac_cpp_err"; then
16063 ac_header_preproc
=yes
16065 echo "$as_me: failed program was:" >&5
16066 sed 's/^/| /' conftest.
$ac_ext >&5
16068 ac_header_preproc
=no
16070 rm -f conftest.err conftest.
$ac_ext
16071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16072 echo "${ECHO_T}$ac_header_preproc" >&6
16074 # So? What about this header?
16075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16077 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16078 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16080 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16081 ac_header_preproc
=yes
16084 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16085 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16086 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16087 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16088 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16089 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16090 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16091 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16093 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16094 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16095 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16098 ## ------------------------------------------ ##
16099 ## Report this to the AC_PACKAGE_NAME lists. ##
16100 ## ------------------------------------------ ##
16103 sed "s/^/$as_me: WARNING: /" >&2
16106 echo "$as_me:$LINENO: checking for $ac_header" >&5
16107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16109 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 eval "$as_ac_Header=\$ac_header_preproc"
16113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16118 cat >>confdefs.h
<<_ACEOF
16119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16128 for ac_func
in fork vfork
16130 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16131 echo "$as_me:$LINENO: checking for $ac_func" >&5
16132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16133 if eval "test \"\${$as_ac_var+set}\" = set"; then
16134 echo $ECHO_N "(cached) $ECHO_C" >&6
16136 cat >conftest.
$ac_ext <<_ACEOF
16139 cat confdefs.h
>>conftest.
$ac_ext
16140 cat >>conftest.
$ac_ext <<_ACEOF
16141 /* end confdefs.h. */
16142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16144 #define $ac_func innocuous_$ac_func
16146 /* System header to define __stub macros and hopefully few prototypes,
16147 which can conflict with char $ac_func (); below.
16148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16149 <limits.h> exists even on freestanding compilers. */
16152 # include <limits.h>
16154 # include <assert.h>
16159 /* Override any gcc2 internal prototype to avoid an error. */
16164 /* We use char because int might match the return type of a gcc2
16165 builtin and then its argument prototype would still apply. */
16167 /* The GNU C library defines this for functions which it implements
16168 to always fail with ENOSYS. Some functions are actually named
16169 something starting with __ and the normal name is an alias. */
16170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16173 char (*f) () = $ac_func;
16182 return f != $ac_func;
16187 rm -f conftest.
$ac_objext conftest
$ac_exeext
16188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16189 (eval $ac_link) 2>conftest.er1
16191 grep -v '^ *+' conftest.er1
>conftest.err
16193 cat conftest.err
>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } &&
16196 { ac_try
='test -z "$ac_c_werror_flag"
16197 || test ! -s conftest.err'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; } &&
16203 { ac_try
='test -s conftest$ac_exeext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16209 eval "$as_ac_var=yes"
16211 echo "$as_me: failed program was:" >&5
16212 sed 's/^/| /' conftest.
$ac_ext >&5
16214 eval "$as_ac_var=no"
16216 rm -f conftest.err conftest.
$ac_objext \
16217 conftest
$ac_exeext conftest.
$ac_ext
16219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16221 if test `eval echo '${'$as_ac_var'}'` = yes; then
16222 cat >>confdefs.h
<<_ACEOF
16223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16229 if test "x$ac_cv_func_fork" = xyes
; then
16230 echo "$as_me:$LINENO: checking for working fork" >&5
16231 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
16232 if test "${ac_cv_func_fork_works+set}" = set; then
16233 echo $ECHO_N "(cached) $ECHO_C" >&6
16235 if test "$cross_compiling" = yes; then
16236 ac_cv_func_fork_works
=cross
16238 cat >conftest.
$ac_ext <<_ACEOF
16239 /* By Ruediger Kuhlmann. */
16240 #include <sys/types.h>
16242 # include <unistd.h>
16244 /* Some systems only have a dummy stub for fork() */
16252 rm -f conftest
$ac_exeext
16253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16254 (eval $ac_link) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16259 (eval $ac_try) 2>&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); }; }; then
16263 ac_cv_func_fork_works
=yes
16265 echo "$as_me: program exited with status $ac_status" >&5
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.
$ac_ext >&5
16269 ( exit $ac_status )
16270 ac_cv_func_fork_works
=no
16272 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16275 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
16276 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
16279 ac_cv_func_fork_works
=$ac_cv_func_fork
16281 if test "x$ac_cv_func_fork_works" = xcross
; then
16283 *-*-amigaos* |
*-*-msdosdjgpp*)
16284 # Override, as these systems have only a dummy fork() stub
16285 ac_cv_func_fork_works
=no
16288 ac_cv_func_fork_works
=yes
16291 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
16292 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
16294 ac_cv_func_vfork_works
=$ac_cv_func_vfork
16295 if test "x$ac_cv_func_vfork" = xyes
; then
16296 echo "$as_me:$LINENO: checking for working vfork" >&5
16297 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
16298 if test "${ac_cv_func_vfork_works+set}" = set; then
16299 echo $ECHO_N "(cached) $ECHO_C" >&6
16301 if test "$cross_compiling" = yes; then
16302 ac_cv_func_vfork_works
=cross
16304 cat >conftest.
$ac_ext <<_ACEOF
16307 cat confdefs.h
>>conftest.
$ac_ext
16308 cat >>conftest.
$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16310 /* Thanks to Paul Eggert for this test. */
16312 #include <stdlib.h>
16313 #include <sys/types.h>
16314 #include <sys/stat.h>
16315 #include <sys/wait.h>
16317 # include <unistd.h>
16320 # include <vfork.h>
16322 /* On some sparc systems, changes by the child to local and incoming
16323 argument registers are propagated back to the parent. The compiler
16324 is told about this with #include <vfork.h>, but some compilers
16325 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
16326 static variable whose address is put into a register that is
16327 clobbered by the vfork. */
16330 sparc_address_test (int arg)
16332 sparc_address_test (arg) int arg;
16335 static pid_t child;
16353 pid_t parent = getpid ();
16356 sparc_address_test (0);
16361 /* Here is another test for sparc vfork register problems. This
16362 test uses lots of local variables, at least as many local
16363 variables as main has allocated so far including compiler
16364 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
16365 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
16366 reuse the register of parent for one of the local variables,
16367 since it will think that parent can't possibly be used any more
16368 in this routine. Assigning to the local variable will thus
16369 munge parent in the parent process. */
16371 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
16372 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
16373 /* Convince the compiler that p..p7 are live; otherwise, it might
16374 use the same hardware register for all 8 local variables. */
16375 if (p != p1 || p != p2 || p != p3 || p != p4
16376 || p != p5 || p != p6 || p != p7)
16379 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
16380 from child file descriptors. If the child closes a descriptor
16381 before it execs or exits, this munges the parent's descriptor
16382 as well. Test for this by closing stdout in the child. */
16383 _exit(close(fileno(stdout)) != 0);
16388 while (wait(&status) != child)
16391 /* Was there some problem with vforking? */
16394 /* Did the child fail? (This shouldn't happen.) */
16397 /* Did the vfork/compiler bug occur? */
16398 || parent != getpid()
16400 /* Did the file descriptor bug occur? */
16401 || fstat(fileno(stdout), &st) != 0
16406 rm -f conftest
$ac_exeext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16408 (eval $ac_link) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; }; then
16417 ac_cv_func_vfork_works
=yes
16419 echo "$as_me: program exited with status $ac_status" >&5
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.
$ac_ext >&5
16423 ( exit $ac_status )
16424 ac_cv_func_vfork_works
=no
16426 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16429 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
16430 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
16433 if test "x$ac_cv_func_fork_works" = xcross
; then
16434 ac_cv_func_vfork_works
=$ac_cv_func_vfork
16435 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
16436 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
16439 if test "x$ac_cv_func_vfork_works" = xyes
; then
16441 cat >>confdefs.h
<<\_ACEOF
16442 #define HAVE_WORKING_VFORK 1
16447 cat >>confdefs.h
<<\_ACEOF
16452 if test "x$ac_cv_func_fork_works" = xyes
; then
16454 cat >>confdefs.h
<<\_ACEOF
16455 #define HAVE_WORKING_FORK 1
16462 for ac_func
in canonicalize_file_name realpath
16464 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16465 echo "$as_me:$LINENO: checking for $ac_func" >&5
16466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16467 if eval "test \"\${$as_ac_var+set}\" = set"; then
16468 echo $ECHO_N "(cached) $ECHO_C" >&6
16470 cat >conftest.
$ac_ext <<_ACEOF
16473 cat confdefs.h
>>conftest.
$ac_ext
16474 cat >>conftest.
$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16478 #define $ac_func innocuous_$ac_func
16480 /* System header to define __stub macros and hopefully few prototypes,
16481 which can conflict with char $ac_func (); below.
16482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16483 <limits.h> exists even on freestanding compilers. */
16486 # include <limits.h>
16488 # include <assert.h>
16493 /* Override any gcc2 internal prototype to avoid an error. */
16498 /* We use char because int might match the return type of a gcc2
16499 builtin and then its argument prototype would still apply. */
16501 /* The GNU C library defines this for functions which it implements
16502 to always fail with ENOSYS. Some functions are actually named
16503 something starting with __ and the normal name is an alias. */
16504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16507 char (*f) () = $ac_func;
16516 return f != $ac_func;
16521 rm -f conftest.
$ac_objext conftest
$ac_exeext
16522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16523 (eval $ac_link) 2>conftest.er1
16525 grep -v '^ *+' conftest.er1
>conftest.err
16527 cat conftest.err
>&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); } &&
16530 { ac_try
='test -z "$ac_c_werror_flag"
16531 || test ! -s conftest.err'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; } &&
16537 { ac_try
='test -s conftest$ac_exeext'
16538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539 (eval $ac_try) 2>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then
16543 eval "$as_ac_var=yes"
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.
$ac_ext >&5
16548 eval "$as_ac_var=no"
16550 rm -f conftest.err conftest.
$ac_objext \
16551 conftest
$ac_exeext conftest.
$ac_ext
16553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16555 if test `eval echo '${'$as_ac_var'}'` = yes; then
16556 cat >>confdefs.h
<<_ACEOF
16557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16565 for ac_func
in getuid getgid
16567 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16568 echo "$as_me:$LINENO: checking for $ac_func" >&5
16569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16570 if eval "test \"\${$as_ac_var+set}\" = set"; then
16571 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 cat >conftest.
$ac_ext <<_ACEOF
16576 cat confdefs.h
>>conftest.
$ac_ext
16577 cat >>conftest.
$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16581 #define $ac_func innocuous_$ac_func
16583 /* System header to define __stub macros and hopefully few prototypes,
16584 which can conflict with char $ac_func (); below.
16585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16586 <limits.h> exists even on freestanding compilers. */
16589 # include <limits.h>
16591 # include <assert.h>
16596 /* Override any gcc2 internal prototype to avoid an error. */
16601 /* We use char because int might match the return type of a gcc2
16602 builtin and then its argument prototype would still apply. */
16604 /* The GNU C library defines this for functions which it implements
16605 to always fail with ENOSYS. Some functions are actually named
16606 something starting with __ and the normal name is an alias. */
16607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16610 char (*f) () = $ac_func;
16619 return f != $ac_func;
16624 rm -f conftest.
$ac_objext conftest
$ac_exeext
16625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16626 (eval $ac_link) 2>conftest.er1
16628 grep -v '^ *+' conftest.er1
>conftest.err
16630 cat conftest.err
>&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); } &&
16633 { ac_try
='test -z "$ac_c_werror_flag"
16634 || test ! -s conftest.err'
16635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16636 (eval $ac_try) 2>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }; } &&
16640 { ac_try
='test -s conftest$ac_exeext'
16641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16642 (eval $ac_try) 2>&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); }; }; then
16646 eval "$as_ac_var=yes"
16648 echo "$as_me: failed program was:" >&5
16649 sed 's/^/| /' conftest.
$ac_ext >&5
16651 eval "$as_ac_var=no"
16653 rm -f conftest.err conftest.
$ac_objext \
16654 conftest
$ac_exeext conftest.
$ac_ext
16656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16658 if test `eval echo '${'$as_ac_var'}'` = yes; then
16659 cat >>confdefs.h
<<_ACEOF
16660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16667 for ac_func
in poll
16669 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16670 echo "$as_me:$LINENO: checking for $ac_func" >&5
16671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16672 if eval "test \"\${$as_ac_var+set}\" = set"; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16675 cat >conftest.
$ac_ext <<_ACEOF
16678 cat confdefs.h
>>conftest.
$ac_ext
16679 cat >>conftest.
$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16683 #define $ac_func innocuous_$ac_func
16685 /* System header to define __stub macros and hopefully few prototypes,
16686 which can conflict with char $ac_func (); below.
16687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16688 <limits.h> exists even on freestanding compilers. */
16691 # include <limits.h>
16693 # include <assert.h>
16698 /* Override any gcc2 internal prototype to avoid an error. */
16703 /* We use char because int might match the return type of a gcc2
16704 builtin and then its argument prototype would still apply. */
16706 /* The GNU C library defines this for functions which it implements
16707 to always fail with ENOSYS. Some functions are actually named
16708 something starting with __ and the normal name is an alias. */
16709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16712 char (*f) () = $ac_func;
16721 return f != $ac_func;
16726 rm -f conftest.
$ac_objext conftest
$ac_exeext
16727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16728 (eval $ac_link) 2>conftest.er1
16730 grep -v '^ *+' conftest.er1
>conftest.err
16732 cat conftest.err
>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } &&
16735 { ac_try
='test -z "$ac_c_werror_flag"
16736 || test ! -s conftest.err'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; } &&
16742 { ac_try
='test -s conftest$ac_exeext'
16743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16744 (eval $ac_try) 2>&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); }; }; then
16748 eval "$as_ac_var=yes"
16750 echo "$as_me: failed program was:" >&5
16751 sed 's/^/| /' conftest.
$ac_ext >&5
16753 eval "$as_ac_var=no"
16755 rm -f conftest.err conftest.
$ac_objext \
16756 conftest
$ac_exeext conftest.
$ac_ext
16758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16760 if test `eval echo '${'$as_ac_var'}'` = yes; then
16761 cat >>confdefs.h
<<_ACEOF
16762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16769 for ac_func
in pread64
16771 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16772 echo "$as_me:$LINENO: checking for $ac_func" >&5
16773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16774 if eval "test \"\${$as_ac_var+set}\" = set"; then
16775 echo $ECHO_N "(cached) $ECHO_C" >&6
16777 cat >conftest.
$ac_ext <<_ACEOF
16780 cat confdefs.h
>>conftest.
$ac_ext
16781 cat >>conftest.
$ac_ext <<_ACEOF
16782 /* end confdefs.h. */
16783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16785 #define $ac_func innocuous_$ac_func
16787 /* System header to define __stub macros and hopefully few prototypes,
16788 which can conflict with char $ac_func (); below.
16789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16790 <limits.h> exists even on freestanding compilers. */
16793 # include <limits.h>
16795 # include <assert.h>
16800 /* Override any gcc2 internal prototype to avoid an error. */
16805 /* We use char because int might match the return type of a gcc2
16806 builtin and then its argument prototype would still apply. */
16808 /* The GNU C library defines this for functions which it implements
16809 to always fail with ENOSYS. Some functions are actually named
16810 something starting with __ and the normal name is an alias. */
16811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16814 char (*f) () = $ac_func;
16823 return f != $ac_func;
16828 rm -f conftest.
$ac_objext conftest
$ac_exeext
16829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16830 (eval $ac_link) 2>conftest.er1
16832 grep -v '^ *+' conftest.er1
>conftest.err
16834 cat conftest.err
>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try
='test -z "$ac_c_werror_flag"
16838 || test ! -s conftest.err'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; } &&
16844 { ac_try
='test -s conftest$ac_exeext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 eval "$as_ac_var=yes"
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.
$ac_ext >&5
16855 eval "$as_ac_var=no"
16857 rm -f conftest.err conftest.
$ac_objext \
16858 conftest
$ac_exeext conftest.
$ac_ext
16860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16862 if test `eval echo '${'$as_ac_var'}'` = yes; then
16863 cat >>confdefs.h
<<_ACEOF
16864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16871 for ac_func
in sbrk
16873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16874 echo "$as_me:$LINENO: checking for $ac_func" >&5
16875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16876 if eval "test \"\${$as_ac_var+set}\" = set"; then
16877 echo $ECHO_N "(cached) $ECHO_C" >&6
16879 cat >conftest.
$ac_ext <<_ACEOF
16882 cat confdefs.h
>>conftest.
$ac_ext
16883 cat >>conftest.
$ac_ext <<_ACEOF
16884 /* end confdefs.h. */
16885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16887 #define $ac_func innocuous_$ac_func
16889 /* System header to define __stub macros and hopefully few prototypes,
16890 which can conflict with char $ac_func (); below.
16891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16892 <limits.h> exists even on freestanding compilers. */
16895 # include <limits.h>
16897 # include <assert.h>
16902 /* Override any gcc2 internal prototype to avoid an error. */
16907 /* We use char because int might match the return type of a gcc2
16908 builtin and then its argument prototype would still apply. */
16910 /* The GNU C library defines this for functions which it implements
16911 to always fail with ENOSYS. Some functions are actually named
16912 something starting with __ and the normal name is an alias. */
16913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16916 char (*f) () = $ac_func;
16925 return f != $ac_func;
16930 rm -f conftest.
$ac_objext conftest
$ac_exeext
16931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16932 (eval $ac_link) 2>conftest.er1
16934 grep -v '^ *+' conftest.er1
>conftest.err
16936 cat conftest.err
>&5
16937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16938 (exit $ac_status); } &&
16939 { ac_try
='test -z "$ac_c_werror_flag"
16940 || test ! -s conftest.err'
16941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16942 (eval $ac_try) 2>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); }; } &&
16946 { ac_try
='test -s conftest$ac_exeext'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; }; then
16952 eval "$as_ac_var=yes"
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.
$ac_ext >&5
16957 eval "$as_ac_var=no"
16959 rm -f conftest.err conftest.
$ac_objext \
16960 conftest
$ac_exeext conftest.
$ac_ext
16962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16964 if test `eval echo '${'$as_ac_var'}'` = yes; then
16965 cat >>confdefs.h
<<_ACEOF
16966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16974 for ac_func
in setpgid setpgrp
16976 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16977 echo "$as_me:$LINENO: checking for $ac_func" >&5
16978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16979 if eval "test \"\${$as_ac_var+set}\" = set"; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16982 cat >conftest.
$ac_ext <<_ACEOF
16985 cat confdefs.h
>>conftest.
$ac_ext
16986 cat >>conftest.
$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16990 #define $ac_func innocuous_$ac_func
16992 /* System header to define __stub macros and hopefully few prototypes,
16993 which can conflict with char $ac_func (); below.
16994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16995 <limits.h> exists even on freestanding compilers. */
16998 # include <limits.h>
17000 # include <assert.h>
17005 /* Override any gcc2 internal prototype to avoid an error. */
17010 /* We use char because int might match the return type of a gcc2
17011 builtin and then its argument prototype would still apply. */
17013 /* The GNU C library defines this for functions which it implements
17014 to always fail with ENOSYS. Some functions are actually named
17015 something starting with __ and the normal name is an alias. */
17016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17019 char (*f) () = $ac_func;
17028 return f != $ac_func;
17033 rm -f conftest.
$ac_objext conftest
$ac_exeext
17034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17035 (eval $ac_link) 2>conftest.er1
17037 grep -v '^ *+' conftest.er1
>conftest.err
17039 cat conftest.err
>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); } &&
17042 { ac_try
='test -z "$ac_c_werror_flag"
17043 || test ! -s conftest.err'
17044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17045 (eval $ac_try) 2>&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); }; } &&
17049 { ac_try
='test -s conftest$ac_exeext'
17050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17051 (eval $ac_try) 2>&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); }; }; then
17055 eval "$as_ac_var=yes"
17057 echo "$as_me: failed program was:" >&5
17058 sed 's/^/| /' conftest.
$ac_ext >&5
17060 eval "$as_ac_var=no"
17062 rm -f conftest.err conftest.
$ac_objext \
17063 conftest
$ac_exeext conftest.
$ac_ext
17065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17067 if test `eval echo '${'$as_ac_var'}'` = yes; then
17068 cat >>confdefs.h
<<_ACEOF
17069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17078 for ac_func
in sigaction sigprocmask sigsetmask
17080 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17081 echo "$as_me:$LINENO: checking for $ac_func" >&5
17082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17083 if eval "test \"\${$as_ac_var+set}\" = set"; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 cat >conftest.
$ac_ext <<_ACEOF
17089 cat confdefs.h
>>conftest.
$ac_ext
17090 cat >>conftest.
$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17094 #define $ac_func innocuous_$ac_func
17096 /* System header to define __stub macros and hopefully few prototypes,
17097 which can conflict with char $ac_func (); below.
17098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17099 <limits.h> exists even on freestanding compilers. */
17102 # include <limits.h>
17104 # include <assert.h>
17109 /* Override any gcc2 internal prototype to avoid an error. */
17114 /* We use char because int might match the return type of a gcc2
17115 builtin and then its argument prototype would still apply. */
17117 /* The GNU C library defines this for functions which it implements
17118 to always fail with ENOSYS. Some functions are actually named
17119 something starting with __ and the normal name is an alias. */
17120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17123 char (*f) () = $ac_func;
17132 return f != $ac_func;
17137 rm -f conftest.
$ac_objext conftest
$ac_exeext
17138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17139 (eval $ac_link) 2>conftest.er1
17141 grep -v '^ *+' conftest.er1
>conftest.err
17143 cat conftest.err
>&5
17144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145 (exit $ac_status); } &&
17146 { ac_try
='test -z "$ac_c_werror_flag"
17147 || test ! -s conftest.err'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; } &&
17153 { ac_try
='test -s conftest$ac_exeext'
17154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17155 (eval $ac_try) 2>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; }; then
17159 eval "$as_ac_var=yes"
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.
$ac_ext >&5
17164 eval "$as_ac_var=no"
17166 rm -f conftest.err conftest.
$ac_objext \
17167 conftest
$ac_exeext conftest.
$ac_ext
17169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17171 if test `eval echo '${'$as_ac_var'}'` = yes; then
17172 cat >>confdefs.h
<<_ACEOF
17173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17180 for ac_func
in socketpair
17182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17183 echo "$as_me:$LINENO: checking for $ac_func" >&5
17184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17185 if eval "test \"\${$as_ac_var+set}\" = set"; then
17186 echo $ECHO_N "(cached) $ECHO_C" >&6
17188 cat >conftest.
$ac_ext <<_ACEOF
17191 cat confdefs.h
>>conftest.
$ac_ext
17192 cat >>conftest.
$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17196 #define $ac_func innocuous_$ac_func
17198 /* System header to define __stub macros and hopefully few prototypes,
17199 which can conflict with char $ac_func (); below.
17200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17201 <limits.h> exists even on freestanding compilers. */
17204 # include <limits.h>
17206 # include <assert.h>
17211 /* Override any gcc2 internal prototype to avoid an error. */
17216 /* We use char because int might match the return type of a gcc2
17217 builtin and then its argument prototype would still apply. */
17219 /* The GNU C library defines this for functions which it implements
17220 to always fail with ENOSYS. Some functions are actually named
17221 something starting with __ and the normal name is an alias. */
17222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17225 char (*f) () = $ac_func;
17234 return f != $ac_func;
17239 rm -f conftest.
$ac_objext conftest
$ac_exeext
17240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17241 (eval $ac_link) 2>conftest.er1
17243 grep -v '^ *+' conftest.er1
>conftest.err
17245 cat conftest.err
>&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); } &&
17248 { ac_try
='test -z "$ac_c_werror_flag"
17249 || test ! -s conftest.err'
17250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17251 (eval $ac_try) 2>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); }; } &&
17255 { ac_try
='test -s conftest$ac_exeext'
17256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17257 (eval $ac_try) 2>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); }; }; then
17261 eval "$as_ac_var=yes"
17263 echo "$as_me: failed program was:" >&5
17264 sed 's/^/| /' conftest.
$ac_ext >&5
17266 eval "$as_ac_var=no"
17268 rm -f conftest.err conftest.
$ac_objext \
17269 conftest
$ac_exeext conftest.
$ac_ext
17271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17273 if test `eval echo '${'$as_ac_var'}'` = yes; then
17274 cat >>confdefs.h
<<_ACEOF
17275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17282 for ac_func
in syscall
17284 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17285 echo "$as_me:$LINENO: checking for $ac_func" >&5
17286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17287 if eval "test \"\${$as_ac_var+set}\" = set"; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17290 cat >conftest.
$ac_ext <<_ACEOF
17293 cat confdefs.h
>>conftest.
$ac_ext
17294 cat >>conftest.
$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17298 #define $ac_func innocuous_$ac_func
17300 /* System header to define __stub macros and hopefully few prototypes,
17301 which can conflict with char $ac_func (); below.
17302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17303 <limits.h> exists even on freestanding compilers. */
17306 # include <limits.h>
17308 # include <assert.h>
17313 /* Override any gcc2 internal prototype to avoid an error. */
17318 /* We use char because int might match the return type of a gcc2
17319 builtin and then its argument prototype would still apply. */
17321 /* The GNU C library defines this for functions which it implements
17322 to always fail with ENOSYS. Some functions are actually named
17323 something starting with __ and the normal name is an alias. */
17324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17327 char (*f) () = $ac_func;
17336 return f != $ac_func;
17341 rm -f conftest.
$ac_objext conftest
$ac_exeext
17342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17343 (eval $ac_link) 2>conftest.er1
17345 grep -v '^ *+' conftest.er1
>conftest.err
17347 cat conftest.err
>&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); } &&
17350 { ac_try
='test -z "$ac_c_werror_flag"
17351 || test ! -s conftest.err'
17352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17353 (eval $ac_try) 2>&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); }; } &&
17357 { ac_try
='test -s conftest$ac_exeext'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; }; then
17363 eval "$as_ac_var=yes"
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.
$ac_ext >&5
17368 eval "$as_ac_var=no"
17370 rm -f conftest.err conftest.
$ac_objext \
17371 conftest
$ac_exeext conftest.
$ac_ext
17373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17375 if test `eval echo '${'$as_ac_var'}'` = yes; then
17376 cat >>confdefs.h
<<_ACEOF
17377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17384 for ac_func
in ttrace
17386 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17387 echo "$as_me:$LINENO: checking for $ac_func" >&5
17388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17389 if eval "test \"\${$as_ac_var+set}\" = set"; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17392 cat >conftest.
$ac_ext <<_ACEOF
17395 cat confdefs.h
>>conftest.
$ac_ext
17396 cat >>conftest.
$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17400 #define $ac_func innocuous_$ac_func
17402 /* System header to define __stub macros and hopefully few prototypes,
17403 which can conflict with char $ac_func (); below.
17404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17405 <limits.h> exists even on freestanding compilers. */
17408 # include <limits.h>
17410 # include <assert.h>
17415 /* Override any gcc2 internal prototype to avoid an error. */
17420 /* We use char because int might match the return type of a gcc2
17421 builtin and then its argument prototype would still apply. */
17423 /* The GNU C library defines this for functions which it implements
17424 to always fail with ENOSYS. Some functions are actually named
17425 something starting with __ and the normal name is an alias. */
17426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17429 char (*f) () = $ac_func;
17438 return f != $ac_func;
17443 rm -f conftest.
$ac_objext conftest
$ac_exeext
17444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17445 (eval $ac_link) 2>conftest.er1
17447 grep -v '^ *+' conftest.er1
>conftest.err
17449 cat conftest.err
>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); } &&
17452 { ac_try
='test -z "$ac_c_werror_flag"
17453 || test ! -s conftest.err'
17454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17455 (eval $ac_try) 2>&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); }; } &&
17459 { ac_try
='test -s conftest$ac_exeext'
17460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17461 (eval $ac_try) 2>&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }; }; then
17465 eval "$as_ac_var=yes"
17467 echo "$as_me: failed program was:" >&5
17468 sed 's/^/| /' conftest.
$ac_ext >&5
17470 eval "$as_ac_var=no"
17472 rm -f conftest.err conftest.
$ac_objext \
17473 conftest
$ac_exeext conftest.
$ac_ext
17475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17477 if test `eval echo '${'$as_ac_var'}'` = yes; then
17478 cat >>confdefs.h
<<_ACEOF
17479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17486 for ac_func
in wborder
17488 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17489 echo "$as_me:$LINENO: checking for $ac_func" >&5
17490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17491 if eval "test \"\${$as_ac_var+set}\" = set"; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 cat >conftest.
$ac_ext <<_ACEOF
17497 cat confdefs.h
>>conftest.
$ac_ext
17498 cat >>conftest.
$ac_ext <<_ACEOF
17499 /* end confdefs.h. */
17500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17502 #define $ac_func innocuous_$ac_func
17504 /* System header to define __stub macros and hopefully few prototypes,
17505 which can conflict with char $ac_func (); below.
17506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17507 <limits.h> exists even on freestanding compilers. */
17510 # include <limits.h>
17512 # include <assert.h>
17517 /* Override any gcc2 internal prototype to avoid an error. */
17522 /* We use char because int might match the return type of a gcc2
17523 builtin and then its argument prototype would still apply. */
17525 /* The GNU C library defines this for functions which it implements
17526 to always fail with ENOSYS. Some functions are actually named
17527 something starting with __ and the normal name is an alias. */
17528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17531 char (*f) () = $ac_func;
17540 return f != $ac_func;
17545 rm -f conftest.
$ac_objext conftest
$ac_exeext
17546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17547 (eval $ac_link) 2>conftest.er1
17549 grep -v '^ *+' conftest.er1
>conftest.err
17551 cat conftest.err
>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); } &&
17554 { ac_try
='test -z "$ac_c_werror_flag"
17555 || test ! -s conftest.err'
17556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17557 (eval $ac_try) 2>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); }; } &&
17561 { ac_try
='test -s conftest$ac_exeext'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; }; then
17567 eval "$as_ac_var=yes"
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.
$ac_ext >&5
17572 eval "$as_ac_var=no"
17574 rm -f conftest.err conftest.
$ac_objext \
17575 conftest
$ac_exeext conftest.
$ac_ext
17577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17579 if test `eval echo '${'$as_ac_var'}'` = yes; then
17580 cat >>confdefs.h
<<_ACEOF
17581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17588 # Check the return and argument types of ptrace. No canned test for
17589 # this, so roll our own.
17590 gdb_ptrace_headers
='
17591 #if HAVE_SYS_TYPES_H
17592 # include <sys/types.h>
17594 #if HAVE_SYS_PTRACE_H
17595 # include <sys/ptrace.h>
17598 # include <unistd.h>
17601 # There is no point in checking if we don't have a prototype.
17602 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
17603 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
17604 if test "${ac_cv_have_decl_ptrace+set}" = set; then
17605 echo $ECHO_N "(cached) $ECHO_C" >&6
17607 cat >conftest.
$ac_ext <<_ACEOF
17610 cat confdefs.h
>>conftest.
$ac_ext
17611 cat >>conftest.
$ac_ext <<_ACEOF
17612 /* end confdefs.h. */
17613 $gdb_ptrace_headers
17619 char *p = (char *) ptrace;
17626 rm -f conftest.
$ac_objext
17627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17628 (eval $ac_compile) 2>conftest.er1
17630 grep -v '^ *+' conftest.er1
>conftest.err
17632 cat conftest.err
>&5
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); } &&
17635 { ac_try
='test -z "$ac_c_werror_flag"
17636 || test ! -s conftest.err'
17637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17638 (eval $ac_try) 2>&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); }; } &&
17642 { ac_try
='test -s conftest.$ac_objext'
17643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17644 (eval $ac_try) 2>&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); }; }; then
17648 ac_cv_have_decl_ptrace
=yes
17650 echo "$as_me: failed program was:" >&5
17651 sed 's/^/| /' conftest.
$ac_ext >&5
17653 ac_cv_have_decl_ptrace
=no
17655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17657 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
17658 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
17659 if test $ac_cv_have_decl_ptrace = yes; then
17661 cat >>confdefs.h
<<_ACEOF
17662 #define HAVE_DECL_PTRACE 1
17667 cat >>confdefs.h
<<_ACEOF
17668 #define HAVE_DECL_PTRACE 0
17672 : ${gdb_cv_func_ptrace_ret='int'}
17673 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
17678 # Check return type.
17679 echo "$as_me:$LINENO: checking return type of ptrace" >&5
17680 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
17681 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
17682 echo $ECHO_N "(cached) $ECHO_C" >&6
17684 cat >conftest.
$ac_ext <<_ACEOF
17687 cat confdefs.h
>>conftest.
$ac_ext
17688 cat >>conftest.
$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17690 $gdb_ptrace_headers
17694 extern int ptrace ();
17699 rm -f conftest.
$ac_objext
17700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17701 (eval $ac_compile) 2>conftest.er1
17703 grep -v '^ *+' conftest.er1
>conftest.err
17705 cat conftest.err
>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); } &&
17708 { ac_try
='test -z "$ac_c_werror_flag"
17709 || test ! -s conftest.err'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; } &&
17715 { ac_try
='test -s conftest.$ac_objext'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17721 gdb_cv_func_ptrace_ret
='int'
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.
$ac_ext >&5
17726 gdb_cv_func_ptrace_ret
='long'
17728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17730 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
17731 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
17733 cat >>confdefs.h
<<_ACEOF
17734 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
17737 # Check argument types.
17738 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
17739 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
17740 if test "${gdb_cv_func_ptrace_args+set}" = set; then
17741 echo $ECHO_N "(cached) $ECHO_C" >&6
17744 for gdb_arg1
in 'int' 'long'; do
17745 for gdb_arg2
in 'pid_t' 'int' 'long'; do
17746 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long'; do
17747 for gdb_arg4
in 'int' 'long'; do
17748 cat >conftest.
$ac_ext <<_ACEOF
17751 cat confdefs.h
>>conftest.
$ac_ext
17752 cat >>conftest.
$ac_ext <<_ACEOF
17753 /* end confdefs.h. */
17754 $gdb_ptrace_headers
17759 extern $gdb_cv_func_ptrace_ret
17760 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
17766 rm -f conftest.
$ac_objext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17768 (eval $ac_compile) 2>conftest.er1
17770 grep -v '^ *+' conftest.er1
>conftest.err
17772 cat conftest.err
>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try
='test -z "$ac_c_werror_flag"
17776 || test ! -s conftest.err'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; } &&
17782 { ac_try
='test -s conftest.$ac_objext'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; }; then
17788 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.
$ac_ext >&5
17795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17796 for gdb_arg5
in 'int *' 'int' 'long'; do
17797 cat >conftest.
$ac_ext <<_ACEOF
17800 cat confdefs.h
>>conftest.
$ac_ext
17801 cat >>conftest.
$ac_ext <<_ACEOF
17802 /* end confdefs.h. */
17803 $gdb_ptrace_headers
17808 extern $gdb_cv_func_ptrace_ret
17809 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
17815 rm -f conftest.
$ac_objext
17816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17817 (eval $ac_compile) 2>conftest.er1
17819 grep -v '^ *+' conftest.er1
>conftest.err
17821 cat conftest.err
>&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } &&
17824 { ac_try
='test -z "$ac_c_werror_flag"
17825 || test ! -s conftest.err'
17826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17827 (eval $ac_try) 2>&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); }; } &&
17831 { ac_try
='test -s conftest.$ac_objext'
17832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17833 (eval $ac_try) 2>&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); }; }; then
17838 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.
$ac_ext >&5
17845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17851 # Provide a safe default value.
17852 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
17855 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
17856 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
17857 ac_save_IFS
=$IFS; IFS
=','
17858 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
17862 cat >>confdefs.h
<<_ACEOF
17863 #define PTRACE_TYPE_ARG3 $3
17866 if test -n "$5"; then
17868 cat >>confdefs.h
<<_ACEOF
17869 #define PTRACE_TYPE_ARG5 $5
17874 if test "$cross_compiling" = no
; then
17875 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
17876 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
17877 if test "${ac_cv_func_setpgrp_void+set}" = set; then
17878 echo $ECHO_N "(cached) $ECHO_C" >&6
17880 if test "$cross_compiling" = yes; then
17881 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
17882 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
17883 { (exit 1); exit 1; }; }
17885 cat >conftest.
$ac_ext <<_ACEOF
17888 cat confdefs.h
>>conftest.
$ac_ext
17889 cat >>conftest.
$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17892 # include <unistd.h>
17898 /* If this system has a BSD-style setpgrp which takes arguments,
17899 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
17900 exit successfully. */
17901 exit (setpgrp (1,1) == -1 ? 0 : 1);
17906 rm -f conftest
$ac_exeext
17907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17908 (eval $ac_link) 2>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17913 (eval $ac_try) 2>&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); }; }; then
17917 ac_cv_func_setpgrp_void
=no
17919 echo "$as_me: program exited with status $ac_status" >&5
17920 echo "$as_me: failed program was:" >&5
17921 sed 's/^/| /' conftest.
$ac_ext >&5
17923 ( exit $ac_status )
17924 ac_cv_func_setpgrp_void
=yes
17926 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17929 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
17930 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
17931 if test $ac_cv_func_setpgrp_void = yes; then
17933 cat >>confdefs.h
<<\_ACEOF
17934 #define SETPGRP_VOID 1
17940 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
17941 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
17942 if test "${ac_cv_func_setpgrp_void+set}" = set; then
17943 echo $ECHO_N "(cached) $ECHO_C" >&6
17945 cat >conftest.
$ac_ext <<_ACEOF
17948 cat confdefs.h
>>conftest.
$ac_ext
17949 cat >>conftest.
$ac_ext <<_ACEOF
17950 /* end confdefs.h. */
17952 #include <unistd.h>
17958 if (setpgrp(1,1) == -1)
17967 rm -f conftest.
$ac_objext
17968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17969 (eval $ac_compile) 2>conftest.er1
17971 grep -v '^ *+' conftest.er1
>conftest.err
17973 cat conftest.err
>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); } &&
17976 { ac_try
='test -z "$ac_c_werror_flag"
17977 || test ! -s conftest.err'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; } &&
17983 { ac_try
='test -s conftest.$ac_objext'
17984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985 (eval $ac_try) 2>&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); }; }; then
17989 ac_cv_func_setpgrp_void
=no
17991 echo "$as_me: failed program was:" >&5
17992 sed 's/^/| /' conftest.
$ac_ext >&5
17994 ac_cv_func_setpgrp_void
=yes
17996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17998 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
17999 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
18000 if test $ac_cv_func_setpgrp_void = yes; then
18001 cat >>confdefs.h
<<\_ACEOF
18002 #define SETPGRP_VOID 1
18008 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
18009 # since sigsetjmp might only be defined as a macro.
18010 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
18011 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
18012 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 cat >conftest.
$ac_ext <<_ACEOF
18018 cat confdefs.h
>>conftest.
$ac_ext
18019 cat >>conftest.
$ac_ext <<_ACEOF
18020 /* end confdefs.h. */
18022 #include <setjmp.h>
18027 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
18032 rm -f conftest.
$ac_objext
18033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18034 (eval $ac_compile) 2>conftest.er1
18036 grep -v '^ *+' conftest.er1
>conftest.err
18038 cat conftest.err
>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); } &&
18041 { ac_try
='test -z "$ac_c_werror_flag"
18042 || test ! -s conftest.err'
18043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044 (eval $ac_try) 2>&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); }; } &&
18048 { ac_try
='test -s conftest.$ac_objext'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; }; then
18054 gdb_cv_func_sigsetjmp
=yes
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.
$ac_ext >&5
18059 gdb_cv_func_sigsetjmp
=no
18061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18063 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
18064 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
18065 if test $gdb_cv_func_sigsetjmp = yes; then
18067 cat >>confdefs.h
<<\_ACEOF
18068 #define HAVE_SIGSETJMP 1
18073 # Assume we'll default to using the included libiberty regex.
18074 gdb_use_included_regex
=yes
18076 # However, if the system regex is GNU regex, then default to *not*
18077 # using the included regex.
18078 echo "$as_me:$LINENO: checking for GNU regex" >&5
18079 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
18080 if test "${gdb_cv_have_gnu_regex+set}" = set; then
18081 echo $ECHO_N "(cached) $ECHO_C" >&6
18083 cat >conftest.
$ac_ext <<_ACEOF
18086 cat confdefs.h
>>conftest.
$ac_ext
18087 cat >>conftest.
$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18089 #include <gnu-versions.h>
18093 #define REGEX_INTERFACE_VERSION 1
18094 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
18095 # error "Version mismatch"
18101 rm -f conftest.
$ac_objext
18102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18103 (eval $ac_compile) 2>conftest.er1
18105 grep -v '^ *+' conftest.er1
>conftest.err
18107 cat conftest.err
>&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); } &&
18110 { ac_try
='test -z "$ac_c_werror_flag"
18111 || test ! -s conftest.err'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; } &&
18117 { ac_try
='test -s conftest.$ac_objext'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; }; then
18123 gdb_cv_have_gnu_regex
=yes
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.
$ac_ext >&5
18128 gdb_cv_have_gnu_regex
=no
18130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18132 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
18133 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
18134 if test $gdb_cv_have_gnu_regex = yes; then
18135 gdb_use_included_regex
=no
18139 # Check whether --with-included-regex or --without-included-regex was given.
18140 if test "${with_included_regex+set}" = set; then
18141 withval
="$with_included_regex"
18142 gdb_with_regex
=$withval
18144 gdb_with_regex
=$gdb_use_included_regex
18146 if test "$gdb_with_regex" = yes; then
18148 cat >>confdefs.h
<<\_ACEOF
18149 #define USE_INCLUDED_REGEX 1
18154 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
18155 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
18156 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
18157 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
18158 echo $ECHO_N "(cached) $ECHO_C" >&6
18160 cat >conftest.
$ac_ext <<_ACEOF
18163 cat confdefs.h
>>conftest.
$ac_ext
18164 cat >>conftest.
$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166 #include <sys/param.h>
18167 #include <sys/proc.h>
18173 static struct thread ac_aggr;
18174 if (ac_aggr.td_pcb)
18180 rm -f conftest.
$ac_objext
18181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18182 (eval $ac_compile) 2>conftest.er1
18184 grep -v '^ *+' conftest.er1
>conftest.err
18186 cat conftest.err
>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); } &&
18189 { ac_try
='test -z "$ac_c_werror_flag"
18190 || test ! -s conftest.err'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; } &&
18196 { ac_try
='test -s conftest.$ac_objext'
18197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18198 (eval $ac_try) 2>&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); }; }; then
18202 ac_cv_member_struct_thread_td_pcb
=yes
18204 echo "$as_me: failed program was:" >&5
18205 sed 's/^/| /' conftest.
$ac_ext >&5
18207 cat >conftest.
$ac_ext <<_ACEOF
18210 cat confdefs.h
>>conftest.
$ac_ext
18211 cat >>conftest.
$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18213 #include <sys/param.h>
18214 #include <sys/proc.h>
18220 static struct thread ac_aggr;
18221 if (sizeof ac_aggr.td_pcb)
18227 rm -f conftest.
$ac_objext
18228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18229 (eval $ac_compile) 2>conftest.er1
18231 grep -v '^ *+' conftest.er1
>conftest.err
18233 cat conftest.err
>&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); } &&
18236 { ac_try
='test -z "$ac_c_werror_flag"
18237 || test ! -s conftest.err'
18238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18239 (eval $ac_try) 2>&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); }; } &&
18243 { ac_try
='test -s conftest.$ac_objext'
18244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18245 (eval $ac_try) 2>&5
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); }; }; then
18249 ac_cv_member_struct_thread_td_pcb
=yes
18251 echo "$as_me: failed program was:" >&5
18252 sed 's/^/| /' conftest.
$ac_ext >&5
18254 ac_cv_member_struct_thread_td_pcb
=no
18256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18260 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
18261 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
18262 if test $ac_cv_member_struct_thread_td_pcb = yes; then
18264 cat >>confdefs.h
<<_ACEOF
18265 #define HAVE_STRUCT_THREAD_TD_PCB 1
18272 # See if <sys/lwp.h> defines `struct lwp`.
18273 echo "$as_me:$LINENO: checking for struct lwp" >&5
18274 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
18275 if test "${gdb_cv_struct_lwp+set}" = set; then
18276 echo $ECHO_N "(cached) $ECHO_C" >&6
18278 cat >conftest.
$ac_ext <<_ACEOF
18281 cat confdefs.h
>>conftest.
$ac_ext
18282 cat >>conftest.
$ac_ext <<_ACEOF
18283 /* end confdefs.h. */
18284 #include <sys/param.h>
18285 #include <sys/lwp.h>
18294 rm -f conftest.
$ac_objext
18295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18296 (eval $ac_compile) 2>conftest.er1
18298 grep -v '^ *+' conftest.er1
>conftest.err
18300 cat conftest.err
>&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); } &&
18303 { ac_try
='test -z "$ac_c_werror_flag"
18304 || test ! -s conftest.err'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); }; } &&
18310 { ac_try
='test -s conftest.$ac_objext'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; }; then
18316 gdb_cv_struct_lwp
=yes
18318 echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.
$ac_ext >&5
18321 gdb_cv_struct_lwp
=no
18323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18325 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
18326 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
18327 if test $gdb_cv_struct_lwp = yes; then
18329 cat >>confdefs.h
<<\_ACEOF
18330 #define HAVE_STRUCT_LWP 1
18335 # See if <machine/reg.h> degines `struct reg'.
18336 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
18337 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
18338 if test "${gdb_cv_struct_reg+set}" = set; then
18339 echo $ECHO_N "(cached) $ECHO_C" >&6
18341 cat >conftest.
$ac_ext <<_ACEOF
18344 cat confdefs.h
>>conftest.
$ac_ext
18345 cat >>conftest.
$ac_ext <<_ACEOF
18346 /* end confdefs.h. */
18347 #include <sys/types.h>
18348 #include <machine/reg.h>
18357 rm -f conftest.
$ac_objext
18358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18359 (eval $ac_compile) 2>conftest.er1
18361 grep -v '^ *+' conftest.er1
>conftest.err
18363 cat conftest.err
>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } &&
18366 { ac_try
='test -z "$ac_c_werror_flag"
18367 || test ! -s conftest.err'
18368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18369 (eval $ac_try) 2>&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; } &&
18373 { ac_try
='test -s conftest.$ac_objext'
18374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18375 (eval $ac_try) 2>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); }; }; then
18379 gdb_cv_struct_reg
=yes
18381 echo "$as_me: failed program was:" >&5
18382 sed 's/^/| /' conftest.
$ac_ext >&5
18384 gdb_cv_struct_reg
=no
18386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18388 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
18389 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
18390 if test $gdb_cv_struct_reg = yes; then
18392 cat >>confdefs.h
<<\_ACEOF
18393 #define HAVE_STRUCT_REG 1
18398 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
18399 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
18400 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
18401 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
18402 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
18403 echo $ECHO_N "(cached) $ECHO_C" >&6
18405 cat >conftest.
$ac_ext <<_ACEOF
18408 cat confdefs.h
>>conftest.
$ac_ext
18409 cat >>conftest.
$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18411 #include <machine/reg.h>
18416 static struct reg ac_aggr;
18423 rm -f conftest.
$ac_objext
18424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18425 (eval $ac_compile) 2>conftest.er1
18427 grep -v '^ *+' conftest.er1
>conftest.err
18429 cat conftest.err
>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } &&
18432 { ac_try
='test -z "$ac_c_werror_flag"
18433 || test ! -s conftest.err'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; } &&
18439 { ac_try
='test -s conftest.$ac_objext'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; }; then
18445 ac_cv_member_struct_reg_r_fs
=yes
18447 echo "$as_me: failed program was:" >&5
18448 sed 's/^/| /' conftest.
$ac_ext >&5
18450 cat >conftest.
$ac_ext <<_ACEOF
18453 cat confdefs.h
>>conftest.
$ac_ext
18454 cat >>conftest.
$ac_ext <<_ACEOF
18455 /* end confdefs.h. */
18456 #include <machine/reg.h>
18461 static struct reg ac_aggr;
18462 if (sizeof ac_aggr.r_fs)
18468 rm -f conftest.
$ac_objext
18469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18470 (eval $ac_compile) 2>conftest.er1
18472 grep -v '^ *+' conftest.er1
>conftest.err
18474 cat conftest.err
>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } &&
18477 { ac_try
='test -z "$ac_c_werror_flag"
18478 || test ! -s conftest.err'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; } &&
18484 { ac_try
='test -s conftest.$ac_objext'
18485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18486 (eval $ac_try) 2>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); }; }; then
18490 ac_cv_member_struct_reg_r_fs
=yes
18492 echo "$as_me: failed program was:" >&5
18493 sed 's/^/| /' conftest.
$ac_ext >&5
18495 ac_cv_member_struct_reg_r_fs
=no
18497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18501 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
18502 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
18503 if test $ac_cv_member_struct_reg_r_fs = yes; then
18505 cat >>confdefs.h
<<_ACEOF
18506 #define HAVE_STRUCT_REG_R_FS 1
18511 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
18512 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
18513 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
18514 echo $ECHO_N "(cached) $ECHO_C" >&6
18516 cat >conftest.
$ac_ext <<_ACEOF
18519 cat confdefs.h
>>conftest.
$ac_ext
18520 cat >>conftest.
$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 #include <machine/reg.h>
18527 static struct reg ac_aggr;
18534 rm -f conftest.
$ac_objext
18535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18536 (eval $ac_compile) 2>conftest.er1
18538 grep -v '^ *+' conftest.er1
>conftest.err
18540 cat conftest.err
>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } &&
18543 { ac_try
='test -z "$ac_c_werror_flag"
18544 || test ! -s conftest.err'
18545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18546 (eval $ac_try) 2>&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); }; } &&
18550 { ac_try
='test -s conftest.$ac_objext'
18551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18552 (eval $ac_try) 2>&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); }; }; then
18556 ac_cv_member_struct_reg_r_gs
=yes
18558 echo "$as_me: failed program was:" >&5
18559 sed 's/^/| /' conftest.
$ac_ext >&5
18561 cat >conftest.
$ac_ext <<_ACEOF
18564 cat confdefs.h
>>conftest.
$ac_ext
18565 cat >>conftest.
$ac_ext <<_ACEOF
18566 /* end confdefs.h. */
18567 #include <machine/reg.h>
18572 static struct reg ac_aggr;
18573 if (sizeof ac_aggr.r_gs)
18579 rm -f conftest.
$ac_objext
18580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18581 (eval $ac_compile) 2>conftest.er1
18583 grep -v '^ *+' conftest.er1
>conftest.err
18585 cat conftest.err
>&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); } &&
18588 { ac_try
='test -z "$ac_c_werror_flag"
18589 || test ! -s conftest.err'
18590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18591 (eval $ac_try) 2>&5
18593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18594 (exit $ac_status); }; } &&
18595 { ac_try
='test -s conftest.$ac_objext'
18596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18597 (eval $ac_try) 2>&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); }; }; then
18601 ac_cv_member_struct_reg_r_gs
=yes
18603 echo "$as_me: failed program was:" >&5
18604 sed 's/^/| /' conftest.
$ac_ext >&5
18606 ac_cv_member_struct_reg_r_gs
=no
18608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18612 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
18613 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
18614 if test $ac_cv_member_struct_reg_r_gs = yes; then
18616 cat >>confdefs.h
<<_ACEOF
18617 #define HAVE_STRUCT_REG_R_GS 1
18624 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
18625 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
18626 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
18627 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18630 cat >conftest.
$ac_ext <<_ACEOF
18633 cat confdefs.h
>>conftest.
$ac_ext
18634 cat >>conftest.
$ac_ext <<_ACEOF
18635 /* end confdefs.h. */
18636 #include <sys/ptrace.h>
18645 rm -f conftest.
$ac_objext
18646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18647 (eval $ac_compile) 2>conftest.er1
18649 grep -v '^ *+' conftest.er1
>conftest.err
18651 cat conftest.err
>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); } &&
18654 { ac_try
='test -z "$ac_c_werror_flag"
18655 || test ! -s conftest.err'
18656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18657 (eval $ac_try) 2>&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); }; } &&
18661 { ac_try
='test -s conftest.$ac_objext'
18662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 (eval $ac_try) 2>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; }; then
18667 gdb_cv_have_ptrace_getregs
=yes
18669 echo "$as_me: failed program was:" >&5
18670 sed 's/^/| /' conftest.
$ac_ext >&5
18672 gdb_cv_have_ptrace_getregs
=no
18674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18677 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
18678 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
18679 if test $gdb_cv_have_ptrace_getregs = yes; then
18681 cat >>confdefs.h
<<\_ACEOF
18682 #define HAVE_PTRACE_GETREGS 1
18687 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
18688 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
18689 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
18690 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
18691 echo $ECHO_N "(cached) $ECHO_C" >&6
18693 cat >conftest.
$ac_ext <<_ACEOF
18696 cat confdefs.h
>>conftest.
$ac_ext
18697 cat >>conftest.
$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18699 #include <sys/ptrace.h>
18708 rm -f conftest.
$ac_objext
18709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18710 (eval $ac_compile) 2>conftest.er1
18712 grep -v '^ *+' conftest.er1
>conftest.err
18714 cat conftest.err
>&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); } &&
18717 { ac_try
='test -z "$ac_c_werror_flag"
18718 || test ! -s conftest.err'
18719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720 (eval $ac_try) 2>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); }; } &&
18724 { ac_try
='test -s conftest.$ac_objext'
18725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18726 (eval $ac_try) 2>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); }; }; then
18730 gdb_cv_have_ptrace_getfpxregs
=yes
18732 echo "$as_me: failed program was:" >&5
18733 sed 's/^/| /' conftest.
$ac_ext >&5
18735 gdb_cv_have_ptrace_getfpxregs
=no
18737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18740 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
18741 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
18742 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
18744 cat >>confdefs.h
<<\_ACEOF
18745 #define HAVE_PTRACE_GETFPXREGS 1
18750 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
18751 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
18752 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
18753 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
18754 echo $ECHO_N "(cached) $ECHO_C" >&6
18756 cat >conftest.
$ac_ext <<_ACEOF
18759 cat confdefs.h
>>conftest.
$ac_ext
18760 cat >>conftest.
$ac_ext <<_ACEOF
18761 /* end confdefs.h. */
18762 #include <sys/types.h>
18763 #include <sys/ptrace.h>
18772 rm -f conftest.
$ac_objext
18773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18774 (eval $ac_compile) 2>conftest.er1
18776 grep -v '^ *+' conftest.er1
>conftest.err
18778 cat conftest.err
>&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); } &&
18781 { ac_try
='test -z "$ac_c_werror_flag"
18782 || test ! -s conftest.err'
18783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18784 (eval $ac_try) 2>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); }; } &&
18788 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18794 gdb_cv_have_pt_getdbregs
=yes
18796 echo "$as_me: failed program was:" >&5
18797 sed 's/^/| /' conftest.
$ac_ext >&5
18799 gdb_cv_have_pt_getdbregs
=no
18801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18804 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
18805 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
18806 if test $gdb_cv_have_pt_getdbregs = yes; then
18808 cat >>confdefs.h
<<\_ACEOF
18809 #define HAVE_PT_GETDBREGS 1
18814 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
18815 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
18816 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
18817 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 cat >conftest.
$ac_ext <<_ACEOF
18823 cat confdefs.h
>>conftest.
$ac_ext
18824 cat >>conftest.
$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18826 #include <sys/types.h>
18827 #include <sys/ptrace.h>
18836 rm -f conftest.
$ac_objext
18837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18838 (eval $ac_compile) 2>conftest.er1
18840 grep -v '^ *+' conftest.er1
>conftest.err
18842 cat conftest.err
>&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); } &&
18845 { ac_try
='test -z "$ac_c_werror_flag"
18846 || test ! -s conftest.err'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; } &&
18852 { ac_try
='test -s conftest.$ac_objext'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; }; then
18858 gdb_cv_have_pt_getxmmregs
=yes
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.
$ac_ext >&5
18863 gdb_cv_have_pt_getxmmregs
=no
18865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18868 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
18869 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
18870 if test $gdb_cv_have_pt_getxmmregs = yes; then
18872 cat >>confdefs.h
<<\_ACEOF
18873 #define HAVE_PT_GETXMMREGS 1
18878 # If we are configured native on GNU/Linux, work around problems with
18880 # Also detect which type of /proc is in use, such as for Unixware or Solaris.
18882 if test "${target}" = "${host}"; then
18884 i
[3456]86-*-linux*)
18886 cat >>confdefs.h
<<\_ACEOF
18887 #define START_INFERIOR_TRAPS_EXPECTED 2
18891 cat >>confdefs.h
<<\_ACEOF
18892 #define sys_quotactl 1
18896 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
18898 cat >>confdefs.h
<<\_ACEOF
18899 #define NEW_PROC_API 1
18903 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9])
18905 cat >>confdefs.h
<<\_ACEOF
18906 #define NEW_PROC_API 1
18911 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
18913 cat >>confdefs.h
<<\_ACEOF
18914 #define _KMEMUSER 1
18921 if test "$ac_cv_header_sys_procfs_h" = yes; then
18922 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
18923 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
18924 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 cat >conftest.
$ac_ext <<_ACEOF
18930 cat confdefs.h
>>conftest.
$ac_ext
18931 cat >>conftest.
$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18935 #include <sys/procfs.h>
18944 rm -f conftest.
$ac_objext
18945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18946 (eval $ac_compile) 2>conftest.er1
18948 grep -v '^ *+' conftest.er1
>conftest.err
18950 cat conftest.err
>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } &&
18953 { ac_try
='test -z "$ac_c_werror_flag"
18954 || test ! -s conftest.err'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; } &&
18960 { ac_try
='test -s conftest.$ac_objext'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; }; then
18966 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.
$ac_ext >&5
18971 bfd_cv_have_sys_procfs_type_pstatus_t
=no
18974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18977 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
18979 cat >>confdefs.h
<<\_ACEOF
18980 #define HAVE_PSTATUS_T 1
18984 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
18985 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
18987 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
18988 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
18989 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
18990 echo $ECHO_N "(cached) $ECHO_C" >&6
18992 cat >conftest.
$ac_ext <<_ACEOF
18995 cat confdefs.h
>>conftest.
$ac_ext
18996 cat >>conftest.
$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
19000 #include <sys/procfs.h>
19009 rm -f conftest.
$ac_objext
19010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19011 (eval $ac_compile) 2>conftest.er1
19013 grep -v '^ *+' conftest.er1
>conftest.err
19015 cat conftest.err
>&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } &&
19018 { ac_try
='test -z "$ac_c_werror_flag"
19019 || test ! -s conftest.err'
19020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19021 (eval $ac_try) 2>&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); }; } &&
19025 { ac_try
='test -s conftest.$ac_objext'
19026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19027 (eval $ac_try) 2>&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); }; }; then
19031 bfd_cv_have_sys_procfs_type_prrun_t
=yes
19033 echo "$as_me: failed program was:" >&5
19034 sed 's/^/| /' conftest.
$ac_ext >&5
19036 bfd_cv_have_sys_procfs_type_prrun_t
=no
19039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19042 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
19044 cat >>confdefs.h
<<\_ACEOF
19045 #define HAVE_PRRUN_T 1
19049 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
19050 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
19052 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
19053 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
19054 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
19055 echo $ECHO_N "(cached) $ECHO_C" >&6
19057 cat >conftest.
$ac_ext <<_ACEOF
19060 cat confdefs.h
>>conftest.
$ac_ext
19061 cat >>conftest.
$ac_ext <<_ACEOF
19062 /* end confdefs.h. */
19065 #include <sys/procfs.h>
19074 rm -f conftest.
$ac_objext
19075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19076 (eval $ac_compile) 2>conftest.er1
19078 grep -v '^ *+' conftest.er1
>conftest.err
19080 cat conftest.err
>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); } &&
19083 { ac_try
='test -z "$ac_c_werror_flag"
19084 || test ! -s conftest.err'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; } &&
19090 { ac_try
='test -s conftest.$ac_objext'
19091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19092 (eval $ac_try) 2>&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); }; }; then
19096 bfd_cv_have_sys_procfs_type_gregset_t
=yes
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.
$ac_ext >&5
19101 bfd_cv_have_sys_procfs_type_gregset_t
=no
19104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19107 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
19109 cat >>confdefs.h
<<\_ACEOF
19110 #define HAVE_GREGSET_T 1
19114 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
19115 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
19117 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
19118 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
19119 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
19120 echo $ECHO_N "(cached) $ECHO_C" >&6
19122 cat >conftest.
$ac_ext <<_ACEOF
19125 cat confdefs.h
>>conftest.
$ac_ext
19126 cat >>conftest.
$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19130 #include <sys/procfs.h>
19139 rm -f conftest.
$ac_objext
19140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19141 (eval $ac_compile) 2>conftest.er1
19143 grep -v '^ *+' conftest.er1
>conftest.err
19145 cat conftest.err
>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } &&
19148 { ac_try
='test -z "$ac_c_werror_flag"
19149 || test ! -s conftest.err'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; } &&
19155 { ac_try
='test -s conftest.$ac_objext'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; }; then
19161 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
19163 echo "$as_me: failed program was:" >&5
19164 sed 's/^/| /' conftest.
$ac_ext >&5
19166 bfd_cv_have_sys_procfs_type_fpregset_t
=no
19169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19172 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
19174 cat >>confdefs.h
<<\_ACEOF
19175 #define HAVE_FPREGSET_T 1
19179 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
19180 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
19182 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
19183 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
19184 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
19185 echo $ECHO_N "(cached) $ECHO_C" >&6
19187 cat >conftest.
$ac_ext <<_ACEOF
19190 cat confdefs.h
>>conftest.
$ac_ext
19191 cat >>conftest.
$ac_ext <<_ACEOF
19192 /* end confdefs.h. */
19195 #include <sys/procfs.h>
19204 rm -f conftest.
$ac_objext
19205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19206 (eval $ac_compile) 2>conftest.er1
19208 grep -v '^ *+' conftest.er1
>conftest.err
19210 cat conftest.err
>&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); } &&
19213 { ac_try
='test -z "$ac_c_werror_flag"
19214 || test ! -s conftest.err'
19215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 (eval $ac_try) 2>&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); }; } &&
19220 { ac_try
='test -s conftest.$ac_objext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19226 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.
$ac_ext >&5
19231 bfd_cv_have_sys_procfs_type_prgregset_t
=no
19234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19237 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
19239 cat >>confdefs.h
<<\_ACEOF
19240 #define HAVE_PRGREGSET_T 1
19244 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
19245 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
19247 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
19248 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
19249 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
19250 echo $ECHO_N "(cached) $ECHO_C" >&6
19252 cat >conftest.
$ac_ext <<_ACEOF
19255 cat confdefs.h
>>conftest.
$ac_ext
19256 cat >>conftest.
$ac_ext <<_ACEOF
19257 /* end confdefs.h. */
19260 #include <sys/procfs.h>
19269 rm -f conftest.
$ac_objext
19270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19271 (eval $ac_compile) 2>conftest.er1
19273 grep -v '^ *+' conftest.er1
>conftest.err
19275 cat conftest.err
>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try
='test -z "$ac_c_werror_flag"
19279 || test ! -s conftest.err'
19280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281 (eval $ac_try) 2>&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); }; } &&
19285 { ac_try
='test -s conftest.$ac_objext'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; }; then
19291 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
19293 echo "$as_me: failed program was:" >&5
19294 sed 's/^/| /' conftest.
$ac_ext >&5
19296 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
19299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19302 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
19304 cat >>confdefs.h
<<\_ACEOF
19305 #define HAVE_PRFPREGSET_T 1
19309 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
19310 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
19312 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
19313 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
19314 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
19315 echo $ECHO_N "(cached) $ECHO_C" >&6
19317 cat >conftest.
$ac_ext <<_ACEOF
19320 cat confdefs.h
>>conftest.
$ac_ext
19321 cat >>conftest.
$ac_ext <<_ACEOF
19322 /* end confdefs.h. */
19325 #include <sys/procfs.h>
19334 rm -f conftest.
$ac_objext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>conftest.er1
19338 grep -v '^ *+' conftest.er1
>conftest.err
19340 cat conftest.err
>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } &&
19343 { ac_try
='test -z "$ac_c_werror_flag"
19344 || test ! -s conftest.err'
19345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19346 (eval $ac_try) 2>&5
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); }; } &&
19350 { ac_try
='test -s conftest.$ac_objext'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; }; then
19356 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.
$ac_ext >&5
19361 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
19364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19367 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
19369 cat >>confdefs.h
<<\_ACEOF
19370 #define HAVE_PRGREGSET32_T 1
19374 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
19375 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
19377 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
19378 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
19379 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19382 cat >conftest.
$ac_ext <<_ACEOF
19385 cat confdefs.h
>>conftest.
$ac_ext
19386 cat >>conftest.
$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19390 #include <sys/procfs.h>
19394 prfpregset32_t avar
19399 rm -f conftest.
$ac_objext
19400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19401 (eval $ac_compile) 2>conftest.er1
19403 grep -v '^ *+' conftest.er1
>conftest.err
19405 cat conftest.err
>&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); } &&
19408 { ac_try
='test -z "$ac_c_werror_flag"
19409 || test ! -s conftest.err'
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411 (eval $ac_try) 2>&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; } &&
19415 { ac_try
='test -s conftest.$ac_objext'
19416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19417 (eval $ac_try) 2>&5
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); }; }; then
19421 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
19423 echo "$as_me: failed program was:" >&5
19424 sed 's/^/| /' conftest.
$ac_ext >&5
19426 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
19429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19432 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
19434 cat >>confdefs.h
<<\_ACEOF
19435 #define HAVE_PRFPREGSET32_T 1
19439 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
19440 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
19442 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
19443 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
19444 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
19445 echo $ECHO_N "(cached) $ECHO_C" >&6
19447 cat >conftest.
$ac_ext <<_ACEOF
19450 cat confdefs.h
>>conftest.
$ac_ext
19451 cat >>conftest.
$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19455 #include <sys/procfs.h>
19464 rm -f conftest.
$ac_objext
19465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19466 (eval $ac_compile) 2>conftest.er1
19468 grep -v '^ *+' conftest.er1
>conftest.err
19470 cat conftest.err
>&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } &&
19473 { ac_try
='test -z "$ac_c_werror_flag"
19474 || test ! -s conftest.err'
19475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19476 (eval $ac_try) 2>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; } &&
19480 { ac_try
='test -s conftest.$ac_objext'
19481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19482 (eval $ac_try) 2>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); }; }; then
19486 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
19488 echo "$as_me: failed program was:" >&5
19489 sed 's/^/| /' conftest.
$ac_ext >&5
19491 bfd_cv_have_sys_procfs_type_lwpid_t
=no
19494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19497 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
19499 cat >>confdefs.h
<<\_ACEOF
19500 #define HAVE_LWPID_T 1
19504 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
19505 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
19507 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
19508 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
19509 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
19510 echo $ECHO_N "(cached) $ECHO_C" >&6
19512 cat >conftest.
$ac_ext <<_ACEOF
19515 cat confdefs.h
>>conftest.
$ac_ext
19516 cat >>conftest.
$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19520 #include <sys/procfs.h>
19529 rm -f conftest.
$ac_objext
19530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19531 (eval $ac_compile) 2>conftest.er1
19533 grep -v '^ *+' conftest.er1
>conftest.err
19535 cat conftest.err
>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); } &&
19538 { ac_try
='test -z "$ac_c_werror_flag"
19539 || test ! -s conftest.err'
19540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19541 (eval $ac_try) 2>&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; } &&
19545 { ac_try
='test -s conftest.$ac_objext'
19546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547 (eval $ac_try) 2>&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); }; }; then
19551 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
19553 echo "$as_me: failed program was:" >&5
19554 sed 's/^/| /' conftest.
$ac_ext >&5
19556 bfd_cv_have_sys_procfs_type_psaddr_t
=no
19559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19562 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
19564 cat >>confdefs.h
<<\_ACEOF
19565 #define HAVE_PSADDR_T 1
19569 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
19570 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
19572 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
19573 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
19574 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
19575 echo $ECHO_N "(cached) $ECHO_C" >&6
19577 cat >conftest.
$ac_ext <<_ACEOF
19580 cat confdefs.h
>>conftest.
$ac_ext
19581 cat >>conftest.
$ac_ext <<_ACEOF
19582 /* end confdefs.h. */
19585 #include <sys/procfs.h>
19594 rm -f conftest.
$ac_objext
19595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19596 (eval $ac_compile) 2>conftest.er1
19598 grep -v '^ *+' conftest.er1
>conftest.err
19600 cat conftest.err
>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } &&
19603 { ac_try
='test -z "$ac_c_werror_flag"
19604 || test ! -s conftest.err'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; } &&
19610 { ac_try
='test -s conftest.$ac_objext'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; }; then
19616 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
19618 echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.
$ac_ext >&5
19621 bfd_cv_have_sys_procfs_type_prsysent_t
=no
19624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19627 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
19629 cat >>confdefs.h
<<\_ACEOF
19630 #define HAVE_PRSYSENT_T 1
19634 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
19635 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
19637 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
19638 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
19639 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
19640 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 cat >conftest.
$ac_ext <<_ACEOF
19645 cat confdefs.h
>>conftest.
$ac_ext
19646 cat >>conftest.
$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19650 #include <sys/procfs.h>
19659 rm -f conftest.
$ac_objext
19660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19661 (eval $ac_compile) 2>conftest.er1
19663 grep -v '^ *+' conftest.er1
>conftest.err
19665 cat conftest.err
>&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); } &&
19668 { ac_try
='test -z "$ac_c_werror_flag"
19669 || test ! -s conftest.err'
19670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19671 (eval $ac_try) 2>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); }; } &&
19675 { ac_try
='test -s conftest.$ac_objext'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; }; then
19681 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
19683 echo "$as_me: failed program was:" >&5
19684 sed 's/^/| /' conftest.
$ac_ext >&5
19686 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
19689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19692 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
19694 cat >>confdefs.h
<<\_ACEOF
19695 #define HAVE_PR_SIGSET_T 1
19699 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
19700 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
19702 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
19703 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
19704 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19707 cat >conftest.
$ac_ext <<_ACEOF
19710 cat confdefs.h
>>conftest.
$ac_ext
19711 cat >>conftest.
$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19715 #include <sys/procfs.h>
19719 pr_sigaction64_t avar
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 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.
$ac_ext >&5
19751 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
19754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19757 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
19759 cat >>confdefs.h
<<\_ACEOF
19760 #define HAVE_PR_SIGACTION64_T 1
19764 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
19765 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
19767 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
19768 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
19769 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+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. */
19780 #include <sys/procfs.h>
19784 pr_siginfo64_t avar
19789 rm -f conftest.
$ac_objext
19790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19791 (eval $ac_compile) 2>conftest.er1
19793 grep -v '^ *+' conftest.er1
>conftest.err
19795 cat conftest.err
>&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); } &&
19798 { ac_try
='test -z "$ac_c_werror_flag"
19799 || test ! -s conftest.err'
19800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19801 (eval $ac_try) 2>&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); }; } &&
19805 { ac_try
='test -s conftest.$ac_objext'
19806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807 (eval $ac_try) 2>&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); }; }; then
19811 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
19813 echo "$as_me: failed program was:" >&5
19814 sed 's/^/| /' conftest.
$ac_ext >&5
19816 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
19819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19822 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
19824 cat >>confdefs.h
<<\_ACEOF
19825 #define HAVE_PR_SIGINFO64_T 1
19829 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
19830 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
19836 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
19837 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
19838 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
19839 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
19840 echo $ECHO_N "(cached) $ECHO_C" >&6
19842 if test "$cross_compiling" = yes; then
19843 gdb_cv_prfpregset_t_broken
=yes
19845 cat >conftest.
$ac_ext <<_ACEOF
19848 cat confdefs.h
>>conftest.
$ac_ext
19849 cat >>conftest.
$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 #include <sys/procfs.h>
19854 if (sizeof (prfpregset_t) == sizeof (void *))
19859 rm -f conftest
$ac_exeext
19860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19861 (eval $ac_link) 2>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19866 (eval $ac_try) 2>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); }; }; then
19870 gdb_cv_prfpregset_t_broken
=no
19872 echo "$as_me: program exited with status $ac_status" >&5
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.
$ac_ext >&5
19876 ( exit $ac_status )
19877 gdb_cv_prfpregset_t_broken
=yes
19879 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19883 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
19884 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
19885 if test $gdb_cv_prfpregset_t_broken = yes; then
19887 cat >>confdefs.h
<<\_ACEOF
19888 #define PRFPREGSET_T_BROKEN 1
19895 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
19896 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
19897 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
19898 echo $ECHO_N "(cached) $ECHO_C" >&6
19900 cat >conftest.
$ac_ext <<_ACEOF
19903 cat confdefs.h
>>conftest.
$ac_ext
19904 cat >>conftest.
$ac_ext <<_ACEOF
19905 /* end confdefs.h. */
19906 #include <unistd.h>
19907 #include <sys/types.h>
19908 #include <sys/procfs.h>
19915 dummy = ioctl(0, PIOCSET, &dummy);
19921 rm -f conftest.
$ac_objext
19922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19923 (eval $ac_compile) 2>conftest.er1
19925 grep -v '^ *+' conftest.er1
>conftest.err
19927 cat conftest.err
>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } &&
19930 { ac_try
='test -z "$ac_c_werror_flag"
19931 || test ! -s conftest.err'
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); }; } &&
19937 { ac_try
='test -s conftest.$ac_objext'
19938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19939 (eval $ac_try) 2>&5
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); }; }; then
19943 gdb_cv_have_procfs_piocset
=yes
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.
$ac_ext >&5
19948 gdb_cv_have_procfs_piocset
=no
19950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19953 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
19954 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
19955 if test $gdb_cv_have_procfs_piocset = yes; then
19957 cat >>confdefs.h
<<\_ACEOF
19958 #define HAVE_PROCFS_PIOCSET 1
19964 if test ${host} = ${target} ; then
19966 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
19967 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
19968 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
19969 echo $ECHO_N "(cached) $ECHO_C" >&6
19971 cat >conftest.
$ac_ext <<_ACEOF
19974 cat confdefs.h
>>conftest.
$ac_ext
19975 cat >>conftest.
$ac_ext <<_ACEOF
19976 /* end confdefs.h. */
19981 struct link_map lm; (void) lm.l_addr;
19986 rm -f conftest.
$ac_objext
19987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19988 (eval $ac_compile) 2>conftest.er1
19990 grep -v '^ *+' conftest.er1
>conftest.err
19992 cat conftest.err
>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); } &&
19995 { ac_try
='test -z "$ac_c_werror_flag"
19996 || test ! -s conftest.err'
19997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19998 (eval $ac_try) 2>&5
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); }; } &&
20002 { ac_try
='test -s conftest.$ac_objext'
20003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20004 (eval $ac_try) 2>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); }; }; then
20008 gdb_cv_have_struct_link_map_with_l_members
=yes
20010 echo "$as_me: failed program was:" >&5
20011 sed 's/^/| /' conftest.
$ac_ext >&5
20013 gdb_cv_have_struct_link_map_with_l_members
=no
20015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20018 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
20019 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
20020 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
20022 cat >>confdefs.h
<<\_ACEOF
20023 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
20029 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
20030 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
20031 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
20032 echo $ECHO_N "(cached) $ECHO_C" >&6
20034 cat >conftest.
$ac_ext <<_ACEOF
20037 cat confdefs.h
>>conftest.
$ac_ext
20038 cat >>conftest.
$ac_ext <<_ACEOF
20039 /* end confdefs.h. */
20040 #include <sys/types.h>
20045 struct link_map lm; (void) lm.lm_addr;
20050 rm -f conftest.
$ac_objext
20051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20052 (eval $ac_compile) 2>conftest.er1
20054 grep -v '^ *+' conftest.er1
>conftest.err
20056 cat conftest.err
>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); } &&
20059 { ac_try
='test -z "$ac_c_werror_flag"
20060 || test ! -s conftest.err'
20061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20062 (eval $ac_try) 2>&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); }; } &&
20066 { ac_try
='test -s conftest.$ac_objext'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; }; then
20072 gdb_cv_have_struct_link_map_with_lm_members
=yes
20074 echo "$as_me: failed program was:" >&5
20075 sed 's/^/| /' conftest.
$ac_ext >&5
20077 gdb_cv_have_struct_link_map_with_lm_members
=no
20079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20082 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
20083 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
20084 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
20086 cat >>confdefs.h
<<\_ACEOF
20087 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
20093 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
20094 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
20095 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
20096 echo $ECHO_N "(cached) $ECHO_C" >&6
20098 cat >conftest.
$ac_ext <<_ACEOF
20101 cat confdefs.h
>>conftest.
$ac_ext
20102 cat >>conftest.
$ac_ext <<_ACEOF
20103 /* end confdefs.h. */
20104 #include <sys/types.h>
20105 #ifdef HAVE_NLIST_H
20112 struct so_map lm; (void) lm.som_addr;
20117 rm -f conftest.
$ac_objext
20118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20119 (eval $ac_compile) 2>conftest.er1
20121 grep -v '^ *+' conftest.er1
>conftest.err
20123 cat conftest.err
>&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); } &&
20126 { ac_try
='test -z "$ac_c_werror_flag"
20127 || test ! -s conftest.err'
20128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129 (eval $ac_try) 2>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; } &&
20133 { ac_try
='test -s conftest.$ac_objext'
20134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20135 (eval $ac_try) 2>&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); }; }; then
20139 gdb_cv_have_struct_so_map_with_som_members
=yes
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.
$ac_ext >&5
20144 gdb_cv_have_struct_so_map_with_som_members
=no
20146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20149 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
20150 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
20151 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
20153 cat >>confdefs.h
<<\_ACEOF
20154 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
20160 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
20161 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
20162 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
20163 echo $ECHO_N "(cached) $ECHO_C" >&6
20165 cat >conftest.
$ac_ext <<_ACEOF
20168 cat confdefs.h
>>conftest.
$ac_ext
20169 cat >>conftest.
$ac_ext <<_ACEOF
20170 /* end confdefs.h. */
20172 #include <sys/link.h>
20176 struct link_map32 l;
20181 rm -f conftest.
$ac_objext
20182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20183 (eval $ac_compile) 2>conftest.er1
20185 grep -v '^ *+' conftest.er1
>conftest.err
20187 cat conftest.err
>&5
20188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189 (exit $ac_status); } &&
20190 { ac_try
='test -z "$ac_c_werror_flag"
20191 || test ! -s conftest.err'
20192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20193 (eval $ac_try) 2>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); }; } &&
20197 { ac_try
='test -s conftest.$ac_objext'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; }; then
20203 gdb_cv_have_struct_link_map32
=yes
20205 echo "$as_me: failed program was:" >&5
20206 sed 's/^/| /' conftest.
$ac_ext >&5
20208 gdb_cv_have_struct_link_map32
=no
20210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20213 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
20214 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
20215 if test $gdb_cv_have_struct_link_map32 = yes; then
20217 cat >>confdefs.h
<<\_ACEOF
20218 #define HAVE_STRUCT_LINK_MAP32 1
20222 cat >>confdefs.h
<<\_ACEOF
20223 #define _SYSCALL32 1
20229 # Check if the compiler supports the `long long' type.
20231 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
20232 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
20233 if test "${gdb_cv_c_long_long+set}" = set; then
20234 echo $ECHO_N "(cached) $ECHO_C" >&6
20236 cat >conftest.
$ac_ext <<_ACEOF
20239 cat confdefs.h
>>conftest.
$ac_ext
20240 cat >>conftest.
$ac_ext <<_ACEOF
20241 /* end confdefs.h. */
20242 extern long long foo;
20246 switch (foo & 2) { case 0: return 1; }
20251 rm -f conftest.
$ac_objext
20252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20253 (eval $ac_compile) 2>conftest.er1
20255 grep -v '^ *+' conftest.er1
>conftest.err
20257 cat conftest.err
>&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } &&
20260 { ac_try
='test -z "$ac_c_werror_flag"
20261 || test ! -s conftest.err'
20262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20263 (eval $ac_try) 2>&5
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); }; } &&
20267 { ac_try
='test -s conftest.$ac_objext'
20268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20269 (eval $ac_try) 2>&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); }; }; then
20273 gdb_cv_c_long_long
=yes
20275 echo "$as_me: failed program was:" >&5
20276 sed 's/^/| /' conftest.
$ac_ext >&5
20278 gdb_cv_c_long_long
=no
20280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20282 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
20283 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
20284 if test $gdb_cv_c_long_long = yes; then
20286 cat >>confdefs.h
<<\_ACEOF
20287 #define CC_HAS_LONG_LONG 1
20292 # Check if the compiler and runtime support printing long longs.
20294 echo "$as_me:$LINENO: checking for long long support in printf" >&5
20295 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
20296 if test "${gdb_cv_printf_has_long_long+set}" = set; then
20297 echo $ECHO_N "(cached) $ECHO_C" >&6
20299 if test "$cross_compiling" = yes; then
20300 gdb_cv_printf_has_long_long
=no
20302 cat >conftest.
$ac_ext <<_ACEOF
20305 cat confdefs.h
>>conftest.
$ac_ext
20306 cat >>conftest.
$ac_ext <<_ACEOF
20307 /* end confdefs.h. */
20308 $ac_includes_default
20314 l = (l << 16) + 0x0123;
20315 l = (l << 16) + 0x4567;
20316 l = (l << 16) + 0x89ab;
20317 l = (l << 16) + 0xcdef;
20318 sprintf (buf, "0x%016llx", l);
20319 return (strcmp ("0x0123456789abcdef", buf));
20324 rm -f conftest
$ac_exeext
20325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20326 (eval $ac_link) 2>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20331 (eval $ac_try) 2>&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); }; }; then
20335 gdb_cv_printf_has_long_long
=yes
20337 echo "$as_me: program exited with status $ac_status" >&5
20338 echo "$as_me: failed program was:" >&5
20339 sed 's/^/| /' conftest.
$ac_ext >&5
20341 ( exit $ac_status )
20342 gdb_cv_printf_has_long_long
=no
20344 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20347 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
20348 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
20349 if test $gdb_cv_printf_has_long_long = yes; then
20351 cat >>confdefs.h
<<\_ACEOF
20352 #define PRINTF_HAS_LONG_LONG 1
20357 # Check if the compiler supports the `long double' type. We can't use
20358 # AC_C_LONG_DOUBLE because that one does additional checks on the
20359 # constants defined in <float.h> that fail on some systems,
20360 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
20362 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
20363 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
20364 if test "${gdb_cv_c_long_double+set}" = set; then
20365 echo $ECHO_N "(cached) $ECHO_C" >&6
20367 cat >conftest.
$ac_ext <<_ACEOF
20370 cat confdefs.h
>>conftest.
$ac_ext
20371 cat >>conftest.
$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20375 rm -f conftest.
$ac_objext
20376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20377 (eval $ac_compile) 2>conftest.er1
20379 grep -v '^ *+' conftest.er1
>conftest.err
20381 cat conftest.err
>&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); } &&
20384 { ac_try
='test -z "$ac_c_werror_flag"
20385 || test ! -s conftest.err'
20386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20387 (eval $ac_try) 2>&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; } &&
20391 { ac_try
='test -s conftest.$ac_objext'
20392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393 (eval $ac_try) 2>&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); }; }; then
20397 gdb_cv_c_long_double
=yes
20399 echo "$as_me: failed program was:" >&5
20400 sed 's/^/| /' conftest.
$ac_ext >&5
20402 gdb_cv_c_long_double
=no
20404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20406 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
20407 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
20408 if test $gdb_cv_c_long_double = yes; then
20410 cat >>confdefs.h
<<\_ACEOF
20411 #define HAVE_LONG_DOUBLE 1
20416 # Check if the compiler and runtime support printing long doubles.
20418 echo "$as_me:$LINENO: checking for long double support in printf" >&5
20419 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
20420 if test "${gdb_cv_printf_has_long_double+set}" = set; then
20421 echo $ECHO_N "(cached) $ECHO_C" >&6
20423 if test "$cross_compiling" = yes; then
20424 gdb_cv_printf_has_long_double
=no
20426 cat >conftest.
$ac_ext <<_ACEOF
20429 cat confdefs.h
>>conftest.
$ac_ext
20430 cat >>conftest.
$ac_ext <<_ACEOF
20431 /* end confdefs.h. */
20432 $ac_includes_default
20437 long double f = 3.141592653;
20438 sprintf (buf, "%Lg", f);
20439 return (strncmp ("3.14159", buf, 7));
20444 rm -f conftest
$ac_exeext
20445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20446 (eval $ac_link) 2>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20451 (eval $ac_try) 2>&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); }; }; then
20455 gdb_cv_printf_has_long_double
=yes
20457 echo "$as_me: program exited with status $ac_status" >&5
20458 echo "$as_me: failed program was:" >&5
20459 sed 's/^/| /' conftest.
$ac_ext >&5
20461 ( exit $ac_status )
20462 gdb_cv_printf_has_long_double
=no
20464 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20467 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
20468 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
20469 if test $gdb_cv_printf_has_long_double = yes; then
20471 cat >>confdefs.h
<<\_ACEOF
20472 #define PRINTF_HAS_LONG_DOUBLE 1
20477 # Check if the compiler and runtime support scanning long doubles.
20479 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
20480 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
20481 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
20482 echo $ECHO_N "(cached) $ECHO_C" >&6
20484 if test "$cross_compiling" = yes; then
20485 gdb_cv_scanf_has_long_double
=no
20487 cat >conftest.
$ac_ext <<_ACEOF
20490 cat confdefs.h
>>conftest.
$ac_ext
20491 cat >>conftest.
$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20497 char *buf = "3.141592653";
20499 sscanf (buf, "%Lg", &f);
20500 return !(f > 3.14159 && f < 3.14160);
20505 rm -f conftest
$ac_exeext
20506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20507 (eval $ac_link) 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20512 (eval $ac_try) 2>&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); }; }; then
20516 gdb_cv_scanf_has_long_double
=yes
20518 echo "$as_me: program exited with status $ac_status" >&5
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.
$ac_ext >&5
20522 ( exit $ac_status )
20523 gdb_cv_scanf_has_long_double
=no
20525 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20528 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
20529 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
20530 if test $gdb_cv_scanf_has_long_double = yes; then
20532 cat >>confdefs.h
<<\_ACEOF
20533 #define SCANF_HAS_LONG_DOUBLE 1
20540 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
20541 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
20542 if test "${gdb_cv_bigtoc+set}" = set; then
20543 echo $ECHO_N "(cached) $ECHO_C" >&6
20546 SAVE_LDFLAGS
=$LDFLAGS
20549 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
20550 *) gdb_cv_bigtoc
=-bbigtoc ;;
20553 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
20554 cat >conftest.
$ac_ext <<_ACEOF
20557 cat confdefs.h
>>conftest.
$ac_ext
20558 cat >>conftest.
$ac_ext <<_ACEOF
20559 /* end confdefs.h. */
20569 rm -f conftest.
$ac_objext conftest
$ac_exeext
20570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20571 (eval $ac_link) 2>conftest.er1
20573 grep -v '^ *+' conftest.er1
>conftest.err
20575 cat conftest.err
>&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); } &&
20578 { ac_try
='test -z "$ac_c_werror_flag"
20579 || test ! -s conftest.err'
20580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20581 (eval $ac_try) 2>&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); }; } &&
20585 { ac_try
='test -s conftest$ac_exeext'
20586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20587 (eval $ac_try) 2>&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); }; }; then
20593 echo "$as_me: failed program was:" >&5
20594 sed 's/^/| /' conftest.
$ac_ext >&5
20598 rm -f conftest.err conftest.
$ac_objext \
20599 conftest
$ac_exeext conftest.
$ac_ext
20600 LDFLAGS
="${SAVE_LDFLAGS}"
20603 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
20604 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
20605 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
20611 if test ${build} = ${host} -a ${host} = ${target} ; then
20614 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
20615 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
20616 if test -f /usr
/include
/dce
/cma_config.h
; then
20617 if test "$GCC" = "yes" ; then
20618 echo "$as_me:$LINENO: result: yes" >&5
20619 echo "${ECHO_T}yes" >&6
20621 cat >>confdefs.h
<<\_ACEOF
20622 #define HAVE_HPUX_THREAD_SUPPORT 1
20625 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
20626 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
20628 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
20629 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
20632 echo "$as_me:$LINENO: result: no" >&5
20633 echo "${ECHO_T}no" >&6
20637 # See if thread_db library is around for Solaris thread debugging.
20638 # Note that we must explicitly test for version 1 of the library
20639 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
20641 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
20642 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
20643 if test -f /usr
/lib
/libthread_db.so
.1 ; then
20644 echo "$as_me:$LINENO: result: yes" >&5
20645 echo "${ECHO_T}yes" >&6
20647 cat >>confdefs.h
<<\_ACEOF
20648 #define HAVE_THREAD_DB_LIB 1
20651 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
20652 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
20654 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20655 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
20656 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20657 echo $ECHO_N "(cached) $ECHO_C" >&6
20659 ac_check_lib_save_LIBS
=$LIBS
20661 cat >conftest.
$ac_ext <<_ACEOF
20664 cat confdefs.h
>>conftest.
$ac_ext
20665 cat >>conftest.
$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20668 /* Override any gcc2 internal prototype to avoid an error. */
20672 /* We use char because int might match the return type of a gcc2
20673 builtin and then its argument prototype would still apply. */
20683 rm -f conftest.
$ac_objext conftest
$ac_exeext
20684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20685 (eval $ac_link) 2>conftest.er1
20687 grep -v '^ *+' conftest.er1
>conftest.err
20689 cat conftest.err
>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } &&
20692 { ac_try
='test -z "$ac_c_werror_flag"
20693 || test ! -s conftest.err'
20694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20695 (eval $ac_try) 2>&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); }; } &&
20699 { ac_try
='test -s conftest$ac_exeext'
20700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701 (eval $ac_try) 2>&5
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); }; }; then
20705 ac_cv_lib_dl_dlopen
=yes
20707 echo "$as_me: failed program was:" >&5
20708 sed 's/^/| /' conftest.
$ac_ext >&5
20710 ac_cv_lib_dl_dlopen
=no
20712 rm -f conftest.err conftest.
$ac_objext \
20713 conftest
$ac_exeext conftest.
$ac_ext
20714 LIBS
=$ac_check_lib_save_LIBS
20716 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20717 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20718 if test $ac_cv_lib_dl_dlopen = yes; then
20719 cat >>confdefs.h
<<_ACEOF
20720 #define HAVE_LIBDL 1
20727 if test "$GCC" = "yes" ; then
20728 # The GNU linker requires the -export-dynamic option to make
20729 # all symbols visible in the dynamic symbol table.
20730 hold_ldflags
=$LDFLAGS
20731 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
20732 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
20733 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
20734 cat >conftest.
$ac_ext <<_ACEOF
20737 cat confdefs.h
>>conftest.
$ac_ext
20738 cat >>conftest.
$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20749 rm -f conftest.
$ac_objext conftest
$ac_exeext
20750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20751 (eval $ac_link) 2>conftest.er1
20753 grep -v '^ *+' conftest.er1
>conftest.err
20755 cat conftest.err
>&5
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); } &&
20758 { ac_try
='test -z "$ac_c_werror_flag"
20759 || test ! -s conftest.err'
20760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20761 (eval $ac_try) 2>&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); }; } &&
20765 { ac_try
='test -s conftest$ac_exeext'
20766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20767 (eval $ac_try) 2>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); }; }; then
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.
$ac_ext >&5
20778 rm -f conftest.err conftest.
$ac_objext \
20779 conftest
$ac_exeext conftest.
$ac_ext
20780 LDFLAGS
=$hold_ldflags
20781 echo "$as_me:$LINENO: result: $found" >&5
20782 echo "${ECHO_T}$found" >&6
20783 if test $found = yes; then
20784 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
20787 # Sun randomly tweaked the prototypes in <proc_service.h>
20789 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
20790 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
20791 if test "${gdb_cv_proc_service_is_old+set}" = set; then
20792 echo $ECHO_N "(cached) $ECHO_C" >&6
20795 cat >conftest.
$ac_ext <<_ACEOF
20798 cat confdefs.h
>>conftest.
$ac_ext
20799 cat >>conftest.
$ac_ext <<_ACEOF
20800 /* end confdefs.h. */
20802 #include <proc_service.h>
20803 ps_err_e ps_pdwrite
20804 (struct ps_prochandle*, psaddr_t, const void*, size_t);
20814 rm -f conftest.
$ac_objext
20815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20816 (eval $ac_compile) 2>conftest.er1
20818 grep -v '^ *+' conftest.er1
>conftest.err
20820 cat conftest.err
>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); } &&
20823 { ac_try
='test -z "$ac_c_werror_flag"
20824 || test ! -s conftest.err'
20825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20826 (eval $ac_try) 2>&5
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); }; } &&
20830 { ac_try
='test -s conftest.$ac_objext'
20831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20832 (eval $ac_try) 2>&5
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); }; }; then
20836 gdb_cv_proc_service_is_old
=no
20838 echo "$as_me: failed program was:" >&5
20839 sed 's/^/| /' conftest.
$ac_ext >&5
20841 gdb_cv_proc_service_is_old
=yes
20843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20847 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
20848 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
20849 if test $gdb_cv_proc_service_is_old = yes; then
20851 cat >>confdefs.h
<<\_ACEOF
20852 #define PROC_SERVICE_IS_OLD 1
20857 echo "$as_me:$LINENO: result: no" >&5
20858 echo "${ECHO_T}no" >&6
20862 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
20863 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
20864 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20867 cat >conftest.
$ac_ext <<_ACEOF
20870 cat confdefs.h
>>conftest.
$ac_ext
20871 cat >>conftest.
$ac_ext <<_ACEOF
20872 /* end confdefs.h. */
20873 #include <sys/pthdebug.h>
20877 #ifndef PTHDB_VERSION_3
20884 rm -f conftest.
$ac_objext
20885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20886 (eval $ac_compile) 2>conftest.er1
20888 grep -v '^ *+' conftest.er1
>conftest.err
20890 cat conftest.err
>&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } &&
20893 { ac_try
='test -z "$ac_c_werror_flag"
20894 || test ! -s conftest.err'
20895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20896 (eval $ac_try) 2>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; } &&
20900 { ac_try
='test -s conftest.$ac_objext'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; }; then
20906 gdb_cv_have_aix_thread_debug
=yes
20908 echo "$as_me: failed program was:" >&5
20909 sed 's/^/| /' conftest.
$ac_ext >&5
20911 gdb_cv_have_aix_thread_debug
=no
20913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20916 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
20917 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
20918 if test $gdb_cv_have_aix_thread_debug = yes; then
20919 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
20920 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
20921 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
20928 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
20929 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
20930 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
20931 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
20932 echo $ECHO_N "(cached) $ECHO_C" >&6
20934 cat >conftest.
$ac_ext <<_ACEOF
20937 cat confdefs.h
>>conftest.
$ac_ext
20938 cat >>conftest.
$ac_ext <<_ACEOF
20939 /* end confdefs.h. */
20940 #include <thread_db.h>
20944 int i = TD_NOTALLOC;
20949 rm -f conftest.
$ac_objext
20950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20951 (eval $ac_compile) 2>conftest.er1
20953 grep -v '^ *+' conftest.er1
>conftest.err
20955 cat conftest.err
>&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); } &&
20958 { ac_try
='test -z "$ac_c_werror_flag"
20959 || test ! -s conftest.err'
20960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20961 (eval $ac_try) 2>&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); }; } &&
20965 { ac_try
='test -s conftest.$ac_objext'
20966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20967 (eval $ac_try) 2>&5
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; }; then
20971 gdb_cv_thread_db_h_has_td_notalloc
=yes
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.
$ac_ext >&5
20976 gdb_cv_thread_db_h_has_td_notalloc
=no
20979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20982 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
20983 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
20984 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_VERSION" >&5
20985 echo $ECHO_N "checking whether <thread_db.h> has TD_VERSION... $ECHO_C" >&6
20986 if test "${gdb_cv_thread_db_h_has_td_version+set}" = set; then
20987 echo $ECHO_N "(cached) $ECHO_C" >&6
20989 cat >conftest.
$ac_ext <<_ACEOF
20992 cat confdefs.h
>>conftest.
$ac_ext
20993 cat >>conftest.
$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20995 #include <thread_db.h>
20999 int i = TD_VERSION;
21004 rm -f conftest.
$ac_objext
21005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21006 (eval $ac_compile) 2>conftest.er1
21008 grep -v '^ *+' conftest.er1
>conftest.err
21010 cat conftest.err
>&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); } &&
21013 { ac_try
='test -z "$ac_c_werror_flag"
21014 || test ! -s conftest.err'
21015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016 (eval $ac_try) 2>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); }; } &&
21020 { ac_try
='test -s conftest.$ac_objext'
21021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022 (eval $ac_try) 2>&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; }; then
21026 gdb_cv_thread_db_h_has_td_version
=yes
21028 echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.
$ac_ext >&5
21031 gdb_cv_thread_db_h_has_td_version
=no
21034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21037 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_version" >&5
21038 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_version" >&6
21039 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTLS" >&5
21040 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTLS... $ECHO_C" >&6
21041 if test "${gdb_cv_thread_db_h_has_td_notls+set}" = set; then
21042 echo $ECHO_N "(cached) $ECHO_C" >&6
21044 cat >conftest.
$ac_ext <<_ACEOF
21047 cat confdefs.h
>>conftest.
$ac_ext
21048 cat >>conftest.
$ac_ext <<_ACEOF
21049 /* end confdefs.h. */
21050 #include <thread_db.h>
21059 rm -f conftest.
$ac_objext
21060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21061 (eval $ac_compile) 2>conftest.er1
21063 grep -v '^ *+' conftest.er1
>conftest.err
21065 cat conftest.err
>&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } &&
21068 { ac_try
='test -z "$ac_c_werror_flag"
21069 || test ! -s conftest.err'
21070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21071 (eval $ac_try) 2>&5
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); }; } &&
21075 { ac_try
='test -s conftest.$ac_objext'
21076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21077 (eval $ac_try) 2>&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); }; }; then
21081 gdb_cv_thread_db_h_has_td_notls
=yes
21083 echo "$as_me: failed program was:" >&5
21084 sed 's/^/| /' conftest.
$ac_ext >&5
21086 gdb_cv_thread_db_h_has_td_notls
=no
21089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21092 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notls" >&5
21093 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notls" >&6
21095 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
21097 cat >>confdefs.h
<<\_ACEOF
21098 #define THREAD_DB_HAS_TD_NOTALLOC 1
21102 if test "x$gdb_cv_thread_db_h_has_td_version" = "xyes"; then
21104 cat >>confdefs.h
<<\_ACEOF
21105 #define THREAD_DB_HAS_TD_VERSION 1
21109 if test "x$gdb_cv_thread_db_h_has_td_notls" = "xyes"; then
21111 cat >>confdefs.h
<<\_ACEOF
21112 #define THREAD_DB_HAS_TD_NOTLS 1
21117 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
21118 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
21119 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
21120 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
21121 echo $ECHO_N "(cached) $ECHO_C" >&6
21123 cat >conftest.
$ac_ext <<_ACEOF
21126 cat confdefs.h
>>conftest.
$ac_ext
21127 cat >>conftest.
$ac_ext <<_ACEOF
21128 /* end confdefs.h. */
21129 #include <sys/syscall.h>
21133 int i = __NR_tkill;
21138 rm -f conftest.
$ac_objext
21139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21140 (eval $ac_compile) 2>conftest.er1
21142 grep -v '^ *+' conftest.er1
>conftest.err
21144 cat conftest.err
>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); } &&
21147 { ac_try
='test -z "$ac_c_werror_flag"
21148 || test ! -s conftest.err'
21149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21150 (eval $ac_try) 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; } &&
21154 { ac_try
='test -s conftest.$ac_objext'
21155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156 (eval $ac_try) 2>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; }; then
21160 gdb_cv_sys_syscall_h_has_tkill
=yes
21162 echo "$as_me: failed program was:" >&5
21163 sed 's/^/| /' conftest.
$ac_ext >&5
21165 gdb_cv_sys_syscall_h_has_tkill
=no
21168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21171 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
21172 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
21174 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
21176 cat >>confdefs.h
<<\_ACEOF
21177 #define HAVE_TKILL_SYSCALL 1
21184 # Check whether --with-sysroot or --without-sysroot was given.
21185 if test "${with_sysroot+set}" = set; then
21186 withval
="$with_sysroot"
21188 case ${with_sysroot} in
21189 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
21190 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
21193 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
21195 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
21196 if test "x$prefix" = xNONE
; then
21197 test_prefix
=/usr
/local
21199 test_prefix
=$prefix
21202 test_prefix
=$exec_prefix
21204 case ${TARGET_SYSTEM_ROOT} in
21205 "${test_prefix}"|
"${test_prefix}/"*|\
21206 '${exec_prefix}'|
'${exec_prefix}/'*)
21207 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
21208 TARGET_SYSTEM_ROOT_DEFINE
="$t"
21214 TARGET_SYSTEM_ROOT
=
21215 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
21221 # Check whether --enable-werror or --disable-werror was given.
21222 if test "${enable_werror+set}" = set; then
21223 enableval
="$enable_werror"
21224 case "${enableval}" in
21225 yes | y
) ERROR_ON_WARNING
="yes" ;;
21226 no | n
) ERROR_ON_WARNING
="no" ;;
21227 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
21228 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
21229 { (exit 1); exit 1; }; } ;;
21233 # Enable -Werror by default when using gcc
21234 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
21235 ERROR_ON_WARNING
=yes
21239 if test "${ERROR_ON_WARNING}" = yes ; then
21240 WERROR_CFLAGS
="-Werror"
21243 # The entries after -Wno-pointer-sign are disabled warnings which may
21244 # be enabled in the future, which can not currently be used to build
21246 # NOTE: If you change this list, remember to update
21247 # gdb/doc/gdbint.texinfo.
21248 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
21249 -Wformat-nonliteral -Wno-pointer-sign \
21250 -Wno-unused -Wno-switch"
21252 # Check whether --enable-build-warnings or --disable-build-warnings was given.
21253 if test "${enable_build_warnings+set}" = set; then
21254 enableval
="$enable_build_warnings"
21255 case "${enableval}" in
21257 no
) build_warnings
="-w";;
21258 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21259 build_warnings
="${build_warnings} ${t}";;
21260 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21261 build_warnings
="${t} ${build_warnings}";;
21262 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
21264 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
21265 echo "Setting compiler warning flags = $build_warnings" 6>&1
21267 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
21268 if test "${enable_gdb_build_warnings+set}" = set; then
21269 enableval
="$enable_gdb_build_warnings"
21270 case "${enableval}" in
21272 no
) build_warnings
="-w";;
21273 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21274 build_warnings
="${build_warnings} ${t}";;
21275 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
21276 build_warnings
="${t} ${build_warnings}";;
21277 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
21279 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
21280 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
21283 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
21285 echo "$as_me:$LINENO: checking compiler warning flags" >&5
21286 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
21287 # Separate out the -Werror flag as some files just cannot be
21288 # compiled with it enabled.
21289 for w
in ${build_warnings}; do
21291 -Werr*) WERROR_CFLAGS
=-Werror ;;
21292 *) # Check that GCC accepts it
21293 saved_CFLAGS
="$CFLAGS"
21294 CFLAGS
="$CFLAGS $w"
21295 cat >conftest.
$ac_ext <<_ACEOF
21298 cat confdefs.h
>>conftest.
$ac_ext
21299 cat >>conftest.
$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21310 rm -f conftest.
$ac_objext
21311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21312 (eval $ac_compile) 2>conftest.er1
21314 grep -v '^ *+' conftest.er1
>conftest.err
21316 cat conftest.err
>&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); } &&
21319 { ac_try
='test -z "$ac_c_werror_flag"
21320 || test ! -s conftest.err'
21321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21322 (eval $ac_try) 2>&5
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); }; } &&
21326 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21332 WARN_CFLAGS
="${WARN_CFLAGS} $w"
21334 echo "$as_me: failed program was:" >&5
21335 sed 's/^/| /' conftest.
$ac_ext >&5
21338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21339 CFLAGS
="$saved_CFLAGS"
21342 echo "$as_me:$LINENO: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
21343 echo "${ECHO_T}${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6
21348 # In the Cygwin environment, we need some additional flags.
21349 echo "$as_me:$LINENO: checking for cygwin" >&5
21350 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
21351 if test "${gdb_cv_os_cygwin+set}" = set; then
21352 echo $ECHO_N "(cached) $ECHO_C" >&6
21354 cat >conftest.
$ac_ext <<_ACEOF
21357 cat confdefs.h
>>conftest.
$ac_ext
21358 cat >>conftest.
$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21361 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
21365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21366 $EGREP "lose" >/dev
/null
2>&1; then
21367 gdb_cv_os_cygwin
=yes
21369 gdb_cv_os_cygwin
=no
21374 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
21375 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
21378 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
21380 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
21381 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
21382 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
21386 # libreadline needs libuser32.a in a cygwin environment
21388 if test x
$gdb_cv_os_cygwin = xyes
; then
21389 WIN32LIBS
="-luser32"
21390 case "${target}" in
21391 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
21396 # The ser-tcp.c module requires sockets.
21400 cat >>confdefs.h
<<\_ACEOF
21401 #define USE_WIN32API 1
21404 WIN32LIBS
="$WIN32LIBS -lws2_32"
21409 # Add any host-specific objects to GDB.
21410 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
21412 LIBGUI
="../libgui/src/libgui.a"
21413 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
21431 if test "${enable_gdbtk}" = "yes"; then
21433 # Gdbtk must have an absolute path to srcdir in order to run
21434 # properly when not installed.
21437 GDBTK_SRC_DIR
=`pwd`
21442 # Ok, lets find the tcl configuration
21443 # First, look for one uninstalled.
21444 # the alternative search directory is invoked by --with-tclconfig
21447 if test x
"${no_tcl}" = x
; then
21448 # we reset no_tcl in case something fails here
21451 # Check whether --with-tclconfig or --without-tclconfig was given.
21452 if test "${with_tclconfig+set}" = set; then
21453 withval
="$with_tclconfig"
21454 with_tclconfig
=${withval}
21456 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
21457 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
21458 if test "${ac_cv_c_tclconfig+set}" = set; then
21459 echo $ECHO_N "(cached) $ECHO_C" >&6
21463 # First check to see if --with-tclconfig was specified.
21464 if test x
"${with_tclconfig}" != x
; then
21465 if test -f "${with_tclconfig}/tclConfig.sh" ; then
21466 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
21468 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
21469 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
21470 { (exit 1); exit 1; }; }
21474 # then check for a private Tcl installation
21475 if test x
"${ac_cv_c_tclconfig}" = x
; then
21478 `ls -dr ../tcl[7-9]* 2>/dev/null` \
21480 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
21482 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
21483 if test -f "$i/${configdir}/tclConfig.sh" ; then
21484 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
21489 # check in a few common install locations
21490 if test x
"${ac_cv_c_tclconfig}" = x
; then
21491 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
21492 if test -f "$i/tclConfig.sh" ; then
21493 ac_cv_c_tclconfig
=`(cd $i; pwd)`
21498 # check in a few other private locations
21499 if test x
"${ac_cv_c_tclconfig}" = x
; then
21502 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
21503 if test -f "$i/${configdir}/tclConfig.sh" ; then
21504 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
21512 if test x
"${ac_cv_c_tclconfig}" = x
; then
21513 TCLCONFIG
="# no Tcl configs found"
21514 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
21515 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
21518 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
21519 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
21520 echo "${ECHO_T}found $TCLCONFIG" >&6
21524 if test -z "${no_tcl}"; then
21555 # Ok, lets find the tk configuration
21556 # First, look for one uninstalled.
21557 # the alternative search directory is invoked by --with-tkconfig
21560 if test x
"${no_tk}" = x
; then
21561 # we reset no_tk in case something fails here
21564 # Check whether --with-tkconfig or --without-tkconfig was given.
21565 if test "${with_tkconfig+set}" = set; then
21566 withval
="$with_tkconfig"
21567 with_tkconfig
=${withval}
21569 echo "$as_me:$LINENO: checking for Tk configuration" >&5
21570 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
21571 if test "${ac_cv_c_tkconfig+set}" = set; then
21572 echo $ECHO_N "(cached) $ECHO_C" >&6
21576 # First check to see if --with-tkconfig was specified.
21577 if test x
"${with_tkconfig}" != x
; then
21578 if test -f "${with_tkconfig}/tkConfig.sh" ; then
21579 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
21581 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
21582 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
21583 { (exit 1); exit 1; }; }
21587 # then check for a private Tk library
21588 if test x
"${ac_cv_c_tkconfig}" = x
; then
21591 `ls -dr ../tk[4-9]* 2>/dev/null` \
21593 `ls -dr ../../tk[4-9]* 2>/dev/null` \
21595 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
21596 if test -f "$i/${configdir}/tkConfig.sh" ; then
21597 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
21602 # check in a few common install locations
21603 if test x
"${ac_cv_c_tkconfig}" = x
; then
21604 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
21605 if test -f "$i/tkConfig.sh" ; then
21606 ac_cv_c_tkconfig
=`(cd $i; pwd)`
21611 # check in a few other private locations
21612 if test x
"${ac_cv_c_tkconfig}" = x
; then
21615 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
21616 if test -f "$i/${configdir}/tkConfig.sh" ; then
21617 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
21625 if test x
"${ac_cv_c_tkconfig}" = x
; then
21626 TKCONFIG
="# no Tk configs found"
21627 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
21628 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
21631 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
21632 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
21633 echo "${ECHO_T}found $TKCONFIG" >&6
21639 # now look for Tcl library stuff
21641 tcldir
="../tcl/${configdir}/"
21643 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
21645 # If $no_tk is nonempty, then we can't do Tk, and there is no
21646 # point to doing Tcl.
21647 if test -z "${no_tk}"; then
21649 if test -f "$TKCONFIG" ; then
21667 # Ok, lets find the tcl source trees so we can use the headers
21668 # Warning: transition of version 9 to 10 will break this algorithm
21669 # because 10 sorts before 9. We also look for just tcl. We have to
21670 # be careful that we don't match stuff like tclX by accident.
21671 # the alternative search directory is involked by --with-tclinclude
21675 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
21676 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
21678 # Check whether --with-tclinclude or --without-tclinclude was given.
21679 if test "${with_tclinclude+set}" = set; then
21680 withval
="$with_tclinclude"
21681 with_tclinclude
=${withval}
21683 if test "${ac_cv_c_tclh+set}" = set; then
21684 echo $ECHO_N "(cached) $ECHO_C" >&6
21687 # first check to see if --with-tclinclude was specified
21688 if test x
"${with_tclinclude}" != x
; then
21689 if test -f ${with_tclinclude}/tclInt.h
; then
21690 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
21691 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
21692 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
21694 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
21695 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
21696 { (exit 1); exit 1; }; }
21700 # next check if it came with Tcl configuration file
21701 if test x
"${ac_cv_c_tclconfig}" = x
; then
21702 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
21703 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
21707 # next check in private source directory
21709 # since ls returns lowest version numbers first, reverse its output
21710 if test x
"${ac_cv_c_tclh}" = x
; then
21713 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
21714 ${srcdir}/..
/..
/tcl \
21715 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
21716 ${srcdir}/..
/..
/..
/tcl \
21717 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
21718 if test -f $i/generic
/tclInt.h
; then
21719 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
21724 # finally check in a few common install locations
21726 # since ls returns lowest version numbers first, reverse its output
21727 if test x
"${ac_cv_c_tclh}" = x
; then
21729 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
21730 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
21731 /usr
/local
/src
/tcl \
21732 /usr
/local
/lib
/tcl \
21733 ${prefix}/include
; do
21734 if test -f $i/generic
/tclInt.h
; then
21735 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
21740 # see if one is installed
21741 if test x
"${ac_cv_c_tclh}" = x
; then
21742 if test "${ac_cv_header_tclInt_h+set}" = set; then
21743 echo "$as_me:$LINENO: checking for tclInt.h" >&5
21744 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
21745 if test "${ac_cv_header_tclInt_h+set}" = set; then
21746 echo $ECHO_N "(cached) $ECHO_C" >&6
21748 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
21749 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
21751 # Is the header compilable?
21752 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
21753 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
21754 cat >conftest.
$ac_ext <<_ACEOF
21757 cat confdefs.h
>>conftest.
$ac_ext
21758 cat >>conftest.
$ac_ext <<_ACEOF
21759 /* end confdefs.h. */
21760 $ac_includes_default
21761 #include <tclInt.h>
21763 rm -f conftest.
$ac_objext
21764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21765 (eval $ac_compile) 2>conftest.er1
21767 grep -v '^ *+' conftest.er1
>conftest.err
21769 cat conftest.err
>&5
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); } &&
21772 { ac_try
='test -z "$ac_c_werror_flag"
21773 || test ! -s conftest.err'
21774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21775 (eval $ac_try) 2>&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); }; } &&
21779 { ac_try
='test -s conftest.$ac_objext'
21780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21781 (eval $ac_try) 2>&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); }; }; then
21785 ac_header_compiler
=yes
21787 echo "$as_me: failed program was:" >&5
21788 sed 's/^/| /' conftest.
$ac_ext >&5
21790 ac_header_compiler
=no
21792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21794 echo "${ECHO_T}$ac_header_compiler" >&6
21796 # Is the header present?
21797 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
21798 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
21799 cat >conftest.
$ac_ext <<_ACEOF
21802 cat confdefs.h
>>conftest.
$ac_ext
21803 cat >>conftest.
$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 #include <tclInt.h>
21807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21808 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21810 grep -v '^ *+' conftest.er1
>conftest.err
21812 cat conftest.err
>&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); } >/dev
/null
; then
21815 if test -s conftest.err
; then
21816 ac_cpp_err
=$ac_c_preproc_warn_flag
21817 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21824 if test -z "$ac_cpp_err"; then
21825 ac_header_preproc
=yes
21827 echo "$as_me: failed program was:" >&5
21828 sed 's/^/| /' conftest.
$ac_ext >&5
21830 ac_header_preproc
=no
21832 rm -f conftest.err conftest.
$ac_ext
21833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21834 echo "${ECHO_T}$ac_header_preproc" >&6
21836 # So? What about this header?
21837 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21839 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
21840 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21841 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
21842 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
21843 ac_header_preproc
=yes
21846 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
21847 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
21848 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
21849 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
21850 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
21851 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
21852 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
21853 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
21854 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
21855 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
21856 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
21857 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
21860 ## ------------------------------------------ ##
21861 ## Report this to the AC_PACKAGE_NAME lists. ##
21862 ## ------------------------------------------ ##
21865 sed "s/^/$as_me: WARNING: /" >&2
21868 echo "$as_me:$LINENO: checking for tclInt.h" >&5
21869 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
21870 if test "${ac_cv_header_tclInt_h+set}" = set; then
21871 echo $ECHO_N "(cached) $ECHO_C" >&6
21873 ac_cv_header_tclInt_h
=$ac_header_preproc
21875 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
21876 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
21879 if test $ac_cv_header_tclInt_h = yes; then
21880 ac_cv_c_tclh
=installed
21890 if test x
"${ac_cv_c_tclh}" = x
; then
21891 TCLHDIR
="# no Tcl private headers found"
21892 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
21893 echo "$as_me: error: Can't find Tcl private headers" >&2;}
21894 { (exit 1); exit 1; }; }
21896 if test x
"${ac_cv_c_tclh}" != x
; then
21898 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
21899 echo "$as_me:$LINENO: result: is installed" >&5
21900 echo "${ECHO_T}is installed" >&6
21903 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
21904 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
21905 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
21906 TCLHDIR
="-I${ac_cv_c_tclh}"
21914 # Ok, lets find the tk source trees so we can use the headers
21915 # If the directory (presumably symlink) named "tk" exists, use that one
21916 # in preference to any others. Same logic is used when choosing library
21917 # and again with Tcl. The search order is the best place to look first, then in
21918 # decreasing significance. The loop breaks if the trigger file is found.
21919 # Note the gross little conversion here of srcdir by cd'ing to the found
21920 # directory. This converts the path from a relative to an absolute, so
21921 # recursive cache variables for the path will work right. We check all
21922 # the possible paths in one loop rather than many seperate loops to speed
21924 # the alternative search directory is involked by --with-tkinclude
21927 echo "$as_me:$LINENO: checking for Tk private headers" >&5
21928 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
21930 # Check whether --with-tkinclude or --without-tkinclude was given.
21931 if test "${with_tkinclude+set}" = set; then
21932 withval
="$with_tkinclude"
21933 with_tkinclude
=${withval}
21935 if test "${ac_cv_c_tkh+set}" = set; then
21936 echo $ECHO_N "(cached) $ECHO_C" >&6
21939 # first check to see if --with-tkinclude was specified
21940 if test x
"${with_tkinclude}" != x
; then
21941 if test -f ${with_tkinclude}/tk.h
; then
21942 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
21943 elif test -f ${with_tkinclude}/generic
/tk.h
; then
21944 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
21946 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
21947 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
21948 { (exit 1); exit 1; }; }
21952 # next check if it came with Tk configuration file
21953 if test x
"${ac_cv_c_tkconfig}" = x
; then
21954 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
21955 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
21959 # next check in private source directory
21961 # since ls returns lowest version numbers first, reverse its output
21962 if test x
"${ac_cv_c_tkh}" = x
; then
21965 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
21966 ${srcdir}/..
/..
/tk \
21967 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
21968 ${srcdir}/..
/..
/..
/tk \
21969 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
21970 if test -f $i/generic
/tk.h
; then
21971 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
21976 # finally check in a few common install locations
21978 # since ls returns lowest version numbers first, reverse its output
21979 if test x
"${ac_cv_c_tkh}" = x
; then
21981 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
21982 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
21983 /usr
/local
/src
/tk \
21984 /usr
/local
/lib
/tk \
21985 ${prefix}/include
; do
21986 if test -f $i/generic
/tk.h
; then
21987 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
21992 # see if one is installed
21993 if test x
"${ac_cv_c_tkh}" = x
; then
21994 if test "${ac_cv_header_tk_h+set}" = set; then
21995 echo "$as_me:$LINENO: checking for tk.h" >&5
21996 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
21997 if test "${ac_cv_header_tk_h+set}" = set; then
21998 echo $ECHO_N "(cached) $ECHO_C" >&6
22000 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
22001 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
22003 # Is the header compilable?
22004 echo "$as_me:$LINENO: checking tk.h usability" >&5
22005 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
22006 cat >conftest.
$ac_ext <<_ACEOF
22009 cat confdefs.h
>>conftest.
$ac_ext
22010 cat >>conftest.
$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22012 $ac_includes_default
22015 rm -f conftest.
$ac_objext
22016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22017 (eval $ac_compile) 2>conftest.er1
22019 grep -v '^ *+' conftest.er1
>conftest.err
22021 cat conftest.err
>&5
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); } &&
22024 { ac_try
='test -z "$ac_c_werror_flag"
22025 || test ! -s conftest.err'
22026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22027 (eval $ac_try) 2>&5
22029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030 (exit $ac_status); }; } &&
22031 { ac_try
='test -s conftest.$ac_objext'
22032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22033 (eval $ac_try) 2>&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); }; }; then
22037 ac_header_compiler
=yes
22039 echo "$as_me: failed program was:" >&5
22040 sed 's/^/| /' conftest.
$ac_ext >&5
22042 ac_header_compiler
=no
22044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22046 echo "${ECHO_T}$ac_header_compiler" >&6
22048 # Is the header present?
22049 echo "$as_me:$LINENO: checking tk.h presence" >&5
22050 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
22051 cat >conftest.
$ac_ext <<_ACEOF
22054 cat confdefs.h
>>conftest.
$ac_ext
22055 cat >>conftest.
$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22062 grep -v '^ *+' conftest.er1
>conftest.err
22064 cat conftest.err
>&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } >/dev
/null
; then
22067 if test -s conftest.err
; then
22068 ac_cpp_err
=$ac_c_preproc_warn_flag
22069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22076 if test -z "$ac_cpp_err"; then
22077 ac_header_preproc
=yes
22079 echo "$as_me: failed program was:" >&5
22080 sed 's/^/| /' conftest.
$ac_ext >&5
22082 ac_header_preproc
=no
22084 rm -f conftest.err conftest.
$ac_ext
22085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22086 echo "${ECHO_T}$ac_header_preproc" >&6
22088 # So? What about this header?
22089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22091 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
22092 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22093 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
22094 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
22095 ac_header_preproc
=yes
22098 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
22099 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
22100 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
22101 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
22102 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
22103 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
22104 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
22105 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
22106 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
22107 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
22108 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
22109 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
22112 ## ------------------------------------------ ##
22113 ## Report this to the AC_PACKAGE_NAME lists. ##
22114 ## ------------------------------------------ ##
22117 sed "s/^/$as_me: WARNING: /" >&2
22120 echo "$as_me:$LINENO: checking for tk.h" >&5
22121 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
22122 if test "${ac_cv_header_tk_h+set}" = set; then
22123 echo $ECHO_N "(cached) $ECHO_C" >&6
22125 ac_cv_header_tk_h
=$ac_header_preproc
22127 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
22128 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
22131 if test $ac_cv_header_tk_h = yes; then
22132 ac_cv_c_tkh
=installed
22142 if test x
"${ac_cv_c_tkh}" != x
; then
22144 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
22145 echo "$as_me:$LINENO: result: is installed" >&5
22146 echo "${ECHO_T}is installed" >&6
22149 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
22150 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
22151 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
22152 TKHDIR
="-I${ac_cv_c_tkh}"
22155 TKHDIR
="# no Tk directory found"
22156 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
22157 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
22164 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
22165 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
22166 if test x
"${ac_cv_c_itclh}" = x
; then
22167 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
22168 if test -f $i/generic
/itcl.h
; then
22169 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
22174 if test x
"${ac_cv_c_itclh}" = x
; then
22175 ITCLHDIR
="# no Itcl private headers found"
22176 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
22177 echo "$as_me: error: Can't find Itcl private headers" >&2;}
22178 { (exit 1); exit 1; }; }
22180 if test x
"${ac_cv_c_itclh}" != x
; then
22181 ITCLHDIR
="-I${ac_cv_c_itclh}"
22183 # should always be here
22184 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
22189 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
22190 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
22191 if test x
"${ac_cv_c_itkh}" = x
; then
22192 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
22193 if test -f $i/generic
/itk.h
; then
22194 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
22199 if test x
"${ac_cv_c_itkh}" = x
; then
22200 ITKHDIR
="# no Itk private headers found"
22201 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
22202 echo "$as_me: error: Can't find Itk private headers" >&2;}
22203 { (exit 1); exit 1; }; }
22205 if test x
"${ac_cv_c_itkh}" != x
; then
22206 ITKHDIR
="-I${ac_cv_c_itkh}"
22208 # should always be here
22209 # ITKLIB="../itcl/itk/unix/libitk.a"
22215 # now look for Tk library stuff
22217 tkdir
="../tk/${configdir}/"
22219 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
22221 # now look for Itcl library stuff
22225 # Ok, lets find the itcl configuration
22226 # First, look for one uninstalled.
22227 # the alternative search directory is invoked by --with-itclconfig
22230 if test x
"${no_itcl}" = x
; then
22231 # we reset no_itcl in case something fails here
22234 # Check whether --with-itclconfig or --without-itclconfig was given.
22235 if test "${with_itclconfig+set}" = set; then
22236 withval
="$with_itclconfig"
22237 with_itclconfig
=${withval}
22239 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
22240 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
22241 if test "${ac_cv_c_itclconfig+set}" = set; then
22242 echo $ECHO_N "(cached) $ECHO_C" >&6
22246 # First check to see if --with-itclconfig was specified.
22247 if test x
"${with_itclconfig}" != x
; then
22248 if test -f "${with_itclconfig}/itclConfig.sh" ; then
22249 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
22251 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
22252 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
22253 { (exit 1); exit 1; }; }
22257 # then check for a private Itcl library
22258 if test x
"${ac_cv_c_itclconfig}" = x
; then
22261 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
22263 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
22265 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
22266 if test -f "$i/itclConfig.sh" ; then
22267 ac_cv_c_itclconfig
=`(cd $i; pwd)`
22272 # check in a few common install locations
22273 if test x
"${ac_cv_c_itclconfig}" = x
; then
22274 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22275 if test -f "$i/itclConfig.sh" ; then
22276 ac_cv_c_itclconfig
=`(cd $i; pwd)`
22281 # check in a few other private locations
22282 if test x
"${ac_cv_c_itclconfig}" = x
; then
22284 ${srcdir}/..
/itcl
/itcl \
22285 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
22286 if test -f "$i/itclConfig.sh" ; then
22287 ac_cv_c_itclconfig
=`(cd $i; pwd)`
22295 if test x
"${ac_cv_c_itclconfig}" = x
; then
22296 ITCLCONFIG
="# no Itcl configs found"
22297 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
22298 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
22301 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
22302 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
22303 echo "${ECHO_T}found $ITCLCONFIG" >&6
22307 if test -z "${no_itcl}"; then
22309 if test -f "$ITCLCONFIG" ; then
22324 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
22325 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
22329 # now look for Itk library stuff
22332 # Ok, lets find the itk configuration
22333 # First, look for one uninstalled.
22334 # the alternative search directory is invoked by --with-itkconfig
22337 if test x
"${no_itk}" = x
; then
22338 # we reset no_itk in case something fails here
22341 # Check whether --with-itkconfig or --without-itkconfig was given.
22342 if test "${with_itkconfig+set}" = set; then
22343 withval
="$with_itkconfig"
22344 with_itkconfig
=${withval}
22346 echo "$as_me:$LINENO: checking for Itk configuration" >&5
22347 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
22348 if test "${ac_cv_c_itkconfig+set}" = set; then
22349 echo $ECHO_N "(cached) $ECHO_C" >&6
22353 # First check to see if --with-itkconfig was specified.
22354 if test x
"${with_itkconfig}" != x
; then
22355 if test -f "${with_itkconfig}/itkConfig.sh" ; then
22356 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
22358 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
22359 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
22360 { (exit 1); exit 1; }; }
22364 # then check for a private Itk library
22365 if test x
"${ac_cv_c_itkconfig}" = x
; then
22368 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
22370 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
22372 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
22373 if test -f "$i/itkConfig.sh" ; then
22374 ac_cv_c_itkconfig
=`(cd $i; pwd)`
22379 # check in a few common install locations
22380 if test x
"${ac_cv_c_itkconfig}" = x
; then
22381 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
22382 if test -f "$i/itkConfig.sh" ; then
22383 ac_cv_c_itkconfig
=`(cd $i; pwd)`
22388 # check in a few other private locations
22389 if test x
"${ac_cv_c_itkconfig}" = x
; then
22391 ${srcdir}/..
/itcl
/itk \
22392 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
22393 if test -f "$i/itkConfig.sh" ; then
22394 ac_cv_c_itkconfig
=`(cd $i; pwd)`
22402 if test x
"${ac_cv_c_itkconfig}" = x
; then
22403 ITKCONFIG
="# no Itk configs found"
22404 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
22405 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
22408 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
22409 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
22410 echo "${ECHO_T}found $ITKCONFIG" >&6
22415 if test -z "${no_itcl}"; then
22417 if test -f "$ITKCONFIG" ; then
22432 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
22433 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
22436 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
22438 # Include some libraries that Tcl and Tk want.
22439 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
22440 # Yes, the ordering seems wrong here. But it isn't.
22441 # TK_LIBS is the list of libraries that need to be linked
22442 # after Tcl/Tk. Note that this isn't put into LIBS. If it
22443 # were in LIBS then any link tests after this point would
22444 # try to include things like `$(LIBGUI)', which wouldn't work.
22445 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
22447 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
22448 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
22449 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
22450 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
22451 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
22452 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
22453 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
22455 if test x
$gdb_cv_os_cygwin = xyes
; then
22456 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
22457 WIN32LDAPP
="-Wl,--subsystem,console"
22458 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
22465 subdirs
="$subdirs gdbtk"
22482 echo "$as_me:$LINENO: checking for X" >&5
22483 echo $ECHO_N "checking for X... $ECHO_C" >&6
22486 # Check whether --with-x or --without-x was given.
22487 if test "${with_x+set}" = set; then
22491 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22492 if test "x$with_x" = xno
; then
22493 # The user explicitly disabled X.
22496 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
22497 # Both variables are already set.
22500 if test "${ac_cv_have_x+set}" = set; then
22501 echo $ECHO_N "(cached) $ECHO_C" >&6
22503 # One or both of the vars are not set, and there is no cached value.
22504 ac_x_includes
=no ac_x_libraries
=no
22505 rm -fr conftest.dir
22506 if mkdir conftest.dir
; then
22508 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22509 cat >Imakefile
<<'_ACEOF'
22511 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22513 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
22514 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22515 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22516 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22517 for ac_extension
in a so sl
; do
22518 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
22519 test -f $ac_im_libdir/libX11.
$ac_extension; then
22520 ac_im_usrlibdir
=$ac_im_libdir; break
22523 # Screen out bogus values from the imake configuration. They are
22524 # bogus both because they are the default anyway, and because
22525 # using them would break gcc on systems where it needs fixed includes.
22526 case $ac_im_incroot in
22528 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
22530 case $ac_im_usrlibdir in
22531 /usr
/lib |
/lib
) ;;
22532 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
22536 rm -fr conftest.dir
22539 # Standard set of common directories for X headers.
22540 # Check X11 before X11Rn because it is often a symlink to the current release.
22552 /usr/local/X11/include
22553 /usr/local/X11R6/include
22554 /usr/local/X11R5/include
22555 /usr/local/X11R4/include
22557 /usr/local/include/X11
22558 /usr/local/include/X11R6
22559 /usr/local/include/X11R5
22560 /usr/local/include/X11R4
22564 /usr/XFree86/include/X11
22568 /usr/unsupported/include
22569 /usr/athena/include
22570 /usr/local/x11r5/include
22571 /usr/lpp/Xamples/include
22573 /usr/openwin/include
22574 /usr/openwin/share/include'
22576 if test "$ac_x_includes" = no
; then
22577 # Guess where to find include files, by looking for Intrinsic.h.
22578 # First, try using that file with no special directory specified.
22579 cat >conftest.
$ac_ext <<_ACEOF
22582 cat confdefs.h
>>conftest.
$ac_ext
22583 cat >>conftest.
$ac_ext <<_ACEOF
22584 /* end confdefs.h. */
22585 #include <X11/Intrinsic.h>
22587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22590 grep -v '^ *+' conftest.er1
>conftest.err
22592 cat conftest.err
>&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); } >/dev
/null
; then
22595 if test -s conftest.err
; then
22596 ac_cpp_err
=$ac_c_preproc_warn_flag
22597 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22604 if test -z "$ac_cpp_err"; then
22605 # We can compile using X headers with no special include directory.
22608 echo "$as_me: failed program was:" >&5
22609 sed 's/^/| /' conftest.
$ac_ext >&5
22611 for ac_dir
in $ac_x_header_dirs; do
22612 if test -r "$ac_dir/X11/Intrinsic.h"; then
22613 ac_x_includes
=$ac_dir
22618 rm -f conftest.err conftest.
$ac_ext
22619 fi # $ac_x_includes = no
22621 if test "$ac_x_libraries" = no
; then
22622 # Check for the libraries.
22623 # See if we find them without any special options.
22624 # Don't add to $LIBS permanently.
22627 cat >conftest.
$ac_ext <<_ACEOF
22630 cat confdefs.h
>>conftest.
$ac_ext
22631 cat >>conftest.
$ac_ext <<_ACEOF
22632 /* end confdefs.h. */
22633 #include <X11/Intrinsic.h>
22642 rm -f conftest.
$ac_objext conftest
$ac_exeext
22643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22644 (eval $ac_link) 2>conftest.er1
22646 grep -v '^ *+' conftest.er1
>conftest.err
22648 cat conftest.err
>&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); } &&
22651 { ac_try
='test -z "$ac_c_werror_flag"
22652 || test ! -s conftest.err'
22653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22654 (eval $ac_try) 2>&5
22656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22657 (exit $ac_status); }; } &&
22658 { ac_try
='test -s conftest$ac_exeext'
22659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22660 (eval $ac_try) 2>&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); }; }; then
22665 # We can link X programs with no special library path.
22668 echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.
$ac_ext >&5
22672 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22674 # Don't even attempt the hair of trying to link an X program!
22675 for ac_extension
in a so sl
; do
22676 if test -r $ac_dir/libXt.
$ac_extension; then
22677 ac_x_libraries
=$ac_dir
22683 rm -f conftest.err conftest.
$ac_objext \
22684 conftest
$ac_exeext conftest.
$ac_ext
22685 fi # $ac_x_libraries = no
22687 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
22688 # Didn't find X anywhere. Cache the known absence of X.
22689 ac_cv_have_x
="have_x=no"
22691 # Record where we found X for the cache.
22692 ac_cv_have_x
="have_x=yes \
22693 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22698 eval "$ac_cv_have_x"
22701 if test "$have_x" != yes; then
22702 echo "$as_me:$LINENO: result: $have_x" >&5
22703 echo "${ECHO_T}$have_x" >&6
22706 # If each of the values was on the command line, it overrides each guess.
22707 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
22708 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
22709 # Update the cache value to reflect the command line values.
22710 ac_cv_have_x
="have_x=yes \
22711 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22712 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22713 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22717 # Check whether we should enable the TUI, but only do so if we really
22719 if test x
"$enable_tui" = xyes
; then
22720 if test -d $srcdir/tui
; then
22721 if test "$ac_cv_search_waddstr" != no
; then
22722 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
22723 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
22724 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
22725 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
22726 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
22727 CONFIG_ALL
="${CONFIG_ALL} all-tui"
22728 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
22729 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
22730 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
22732 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
22733 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
22738 # Unlike the sim directory, whether a simulator is linked is controlled by
22739 # presence of a SIM= and a SIM_OBS= definition in the target '.mt' file.
22740 # This code just checks for a few cases where we'd like to ignore those
22741 # definitions, even when they're present in the '.mt' file. These cases
22742 # are when --disable-sim is specified, or if the simulator directory is
22743 # not part of the source tree.
22745 # Check whether --enable-sim or --disable-sim was given.
22746 if test "${enable_sim+set}" = set; then
22747 enableval
="$enable_sim"
22748 echo "enable_sim = $enable_sim";
22749 echo "enableval = ${enableval}";
22750 case "${enableval}" in
22751 yes) ignore_sim
=false
;;
22752 no
) ignore_sim
=true
;;
22753 *) ignore_sim
=false
;;
22759 if test ! -d "${srcdir}/../sim"; then
22763 if test "${ignore_sim}" = "true"; then
22765 IGNORE_SIM_OBS
="SIM_OBS="
22770 cat >>confdefs.h
<<\_ACEOF
22789 # List of host floatformats.
22791 cat >>confdefs.h
<<_ACEOF
22792 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
22796 cat >>confdefs.h
<<_ACEOF
22797 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
22801 cat >>confdefs.h
<<_ACEOF
22802 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
22806 # target_subdir is used by the testsuite to find the target libraries.
22808 if test "${host}" != "${target}"; then
22809 target_subdir
="${target_alias}/"
22814 if test "${gdb_native}" = "yes"; then
22815 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
22816 if test ! -f ${host_makefile_frag}; then
22817 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
22818 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
22819 { (exit 1); exit 1; }; }
22821 frags
="$frags $host_makefile_frag"
22823 host_makefile_frag
=/dev
/null
22826 target_makefile_frag
=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
22827 if test ! -f ${target_makefile_frag}; then
22828 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support target ${target}\"" >&5
22829 echo "$as_me: error: \"*** Gdb does not support target ${target}\"" >&2;}
22830 { (exit 1); exit 1; }; }
22832 frags
="$frags $target_makefile_frag"
22839 s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
22840 ' ${host_makefile_frag}`
22842 targetfile
=`sed -n '
22843 s/^[ ]*DEPRECATED_TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
22844 ' ${target_makefile_frag}`
22846 if test "${gdb_native}" = "yes"; then
22847 # We pick this up from the host configuration file (.mh) because we
22848 # do not have a native configuration Makefile fragment.
22849 nativefile
=`sed -n '
22850 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
22851 ' ${host_makefile_frag}`
22855 if test x
"${gdb_osabi}" != x
; then
22857 cat >>confdefs.h
<<_ACEOF
22858 #define GDB_OSABI_DEFAULT $gdb_osabi
22863 # Enable multi-ice-gdb-server.
22864 # Check whether --enable-multi-ice or --disable-multi-ice was given.
22865 if test "${enable_multi_ice+set}" = set; then
22866 enableval
="$enable_multi_ice"
22870 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
22871 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
22872 { (exit 1); exit 1; }; } ;;
22875 if test "x$enable_multi_ice" = xyes
; then
22878 subdirs
="$subdirs multi-ice"
22882 # We only build gdbserver automatically in a native configuration.
22883 if test "$gdb_native" = "yes"; then
22884 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
22885 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
22886 if test "x$build_gdbserver" = xyes
; then
22887 echo "$as_me:$LINENO: result: yes" >&5
22888 echo "${ECHO_T}yes" >&6
22891 subdirs
="$subdirs gdbserver"
22894 echo "$as_me:$LINENO: result: no" >&5
22895 echo "${ECHO_T}no" >&6
22899 # If hostfile (XM_FILE) and/or targetfile (DEPRECATED_TM_FILE) and/or
22900 # nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
22901 # to an empty version.
22908 if test "${hostfile}" != ""; then
22910 case "${hostfile}" in
22911 xm-
*.h
) GDB_XM_FILE
="config/${gdb_host_cpu}/${hostfile}" ;;
22912 * ) GDB_XM_FILE
="${hostfile}"
22914 files
="${files} ${GDB_XM_FILE}"
22915 links
="${links} xm.h"
22917 cat >>confdefs.h
<<_ACEOF
22918 #define GDB_XM_FILE "${GDB_XM_FILE}"
22926 if test "${targetfile}" != ""; then
22928 case "${targetfile}" in
22929 tm-
*.h
) GDB_TM_FILE
="config/${gdb_target_cpu}/${targetfile}" ;;
22930 * ) GDB_TM_FILE
="${targetfile}"
22932 files
="${files} ${GDB_TM_FILE}"
22933 links
="${links} tm.h"
22935 cat >>confdefs.h
<<_ACEOF
22936 #define GDB_TM_FILE "${GDB_TM_FILE}"
22944 if test "${nativefile}" != ""; then
22946 case "${nativefile}" in
22947 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
22948 * ) GDB_NM_FILE
="${nativefile}"
22950 files
="${files} ${GDB_NM_FILE}"
22951 links
="${links} nm.h"
22953 cat >>confdefs.h
<<_ACEOF
22954 #define GDB_NM_FILE "${GDB_NM_FILE}"
22960 ac_sources
="$files"
22962 while test -n "$ac_sources"; do
22963 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
22964 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
22965 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
22967 ac_config_links
="$ac_config_links $ac_config_links_1"
22974 cat >>confdefs.h
<<\_ACEOF
22975 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
22982 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
22983 if test "${with_libiconv_prefix+set}" = set; then
22984 withval
="$with_libiconv_prefix"
22986 for dir
in `echo "$withval" | tr : ' '`; do
22987 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
22988 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
22993 echo "$as_me:$LINENO: checking for iconv" >&5
22994 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
22995 if test "${am_cv_func_iconv+set}" = set; then
22996 echo $ECHO_N "(cached) $ECHO_C" >&6
22999 am_cv_func_iconv
="no, consider installing GNU libiconv"
23001 cat >conftest.
$ac_ext <<_ACEOF
23004 cat confdefs.h
>>conftest.
$ac_ext
23005 cat >>conftest.
$ac_ext <<_ACEOF
23006 /* end confdefs.h. */
23007 #include <stdlib.h>
23012 iconv_t cd = iconv_open("","");
23013 iconv(cd,NULL,NULL,NULL,NULL);
23019 rm -f conftest.
$ac_objext conftest
$ac_exeext
23020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23021 (eval $ac_link) 2>conftest.er1
23023 grep -v '^ *+' conftest.er1
>conftest.err
23025 cat conftest.err
>&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); } &&
23028 { ac_try
='test -z "$ac_c_werror_flag"
23029 || test ! -s conftest.err'
23030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23031 (eval $ac_try) 2>&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); }; } &&
23035 { ac_try
='test -s conftest$ac_exeext'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; }; then
23041 am_cv_func_iconv
=yes
23043 echo "$as_me: failed program was:" >&5
23044 sed 's/^/| /' conftest.
$ac_ext >&5
23047 rm -f conftest.err conftest.
$ac_objext \
23048 conftest
$ac_exeext conftest.
$ac_ext
23049 if test "$am_cv_func_iconv" != yes; then
23050 am_save_LIBS
="$LIBS"
23051 LIBS
="$LIBS -liconv"
23052 cat >conftest.
$ac_ext <<_ACEOF
23055 cat confdefs.h
>>conftest.
$ac_ext
23056 cat >>conftest.
$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 #include <stdlib.h>
23063 iconv_t cd = iconv_open("","");
23064 iconv(cd,NULL,NULL,NULL,NULL);
23070 rm -f conftest.
$ac_objext conftest
$ac_exeext
23071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23072 (eval $ac_link) 2>conftest.er1
23074 grep -v '^ *+' conftest.er1
>conftest.err
23076 cat conftest.err
>&5
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); } &&
23079 { ac_try
='test -z "$ac_c_werror_flag"
23080 || test ! -s conftest.err'
23081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23082 (eval $ac_try) 2>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; } &&
23086 { ac_try
='test -s conftest$ac_exeext'
23087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23088 (eval $ac_try) 2>&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); }; }; then
23092 am_cv_lib_iconv
=yes
23093 am_cv_func_iconv
=yes
23095 echo "$as_me: failed program was:" >&5
23096 sed 's/^/| /' conftest.
$ac_ext >&5
23099 rm -f conftest.err conftest.
$ac_objext \
23100 conftest
$ac_exeext conftest.
$ac_ext
23101 LIBS
="$am_save_LIBS"
23105 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
23106 echo "${ECHO_T}$am_cv_func_iconv" >&6
23107 if test "$am_cv_func_iconv" = yes; then
23109 cat >>confdefs.h
<<\_ACEOF
23110 #define HAVE_ICONV 1
23113 echo "$as_me:$LINENO: checking for iconv declaration" >&5
23114 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
23115 if test "${am_cv_proto_iconv+set}" = set; then
23116 echo $ECHO_N "(cached) $ECHO_C" >&6
23119 cat >conftest.
$ac_ext <<_ACEOF
23122 cat confdefs.h
>>conftest.
$ac_ext
23123 cat >>conftest.
$ac_ext <<_ACEOF
23124 /* end confdefs.h. */
23126 #include <stdlib.h>
23132 #if defined(__STDC__) || defined(__cplusplus)
23133 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
23146 rm -f conftest.
$ac_objext
23147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23148 (eval $ac_compile) 2>conftest.er1
23150 grep -v '^ *+' conftest.er1
>conftest.err
23152 cat conftest.err
>&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); } &&
23155 { ac_try
='test -z "$ac_c_werror_flag"
23156 || test ! -s conftest.err'
23157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23158 (eval $ac_try) 2>&5
23160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161 (exit $ac_status); }; } &&
23162 { ac_try
='test -s conftest.$ac_objext'
23163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23164 (eval $ac_try) 2>&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; }; then
23168 am_cv_proto_iconv_arg1
=""
23170 echo "$as_me: failed program was:" >&5
23171 sed 's/^/| /' conftest.
$ac_ext >&5
23173 am_cv_proto_iconv_arg1
="const"
23175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23176 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);"
23179 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
23180 echo "$as_me:$LINENO: result: ${ac_t:-
23181 }$am_cv_proto_iconv" >&5
23182 echo "${ECHO_T}${ac_t:-
23183 }$am_cv_proto_iconv" >&6
23185 cat >>confdefs.h
<<_ACEOF
23186 #define ICONV_CONST $am_cv_proto_iconv_arg1
23191 if test "$am_cv_lib_iconv" = yes; then
23197 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in"
23198 ac_config_commands
="$ac_config_commands default"
23199 cat >confcache
<<\_ACEOF
23200 # This file is a shell script that caches the results of configure
23201 # tests run on this system so they can be shared between configure
23202 # scripts and configure runs, see configure's option --config-cache.
23203 # It is not useful on other systems. If it contains results you don't
23204 # want to keep, you may remove or edit it.
23206 # config.status only pays attention to the cache file if you give it
23207 # the --recheck option to rerun configure.
23209 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23210 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23211 # following values.
23215 # The following way of writing the cache mishandles newlines in values,
23216 # but we know of no workaround that is simple, portable, and efficient.
23217 # So, don't put newlines in cache variables' values.
23218 # Ultrix sh set writes to stderr and can't be redirected directly,
23219 # and sets the high bit in the cache file unless we assign to the vars.
23222 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23224 # `set' does not quote correctly, so add quotes (double-quote
23225 # substitution turns \\\\ into \\, and sed turns \\ into \).
23228 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23231 # `set' quotes correctly as required by POSIX, so do not add quotes.
23233 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23240 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23242 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23244 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23245 if test -w $cache_file; then
23246 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23247 cat confcache
>$cache_file
23249 echo "not updating unwritable cache $cache_file"
23254 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23255 # Let make expand exec_prefix.
23256 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23258 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23259 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23260 # trailing colons and then remove the whole line if VPATH becomes empty
23261 # (actually we leave an empty line to preserve line numbers).
23262 if test "x$srcdir" = x.
; then
23263 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23264 s/:*\$(srcdir):*/:/;
23265 s/:*\${srcdir}:*/:/;
23267 s/^\([^=]*=[ ]*\):*/\1/;
23273 DEFS
=-DHAVE_CONFIG_H
23277 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23278 # 1. Remove the extension, and $U if already installed.
23279 ac_i
=`echo "$ac_i" |
23280 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23282 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
23283 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
23285 LIBOBJS
=$ac_libobjs
23287 LTLIBOBJS
=$ac_ltlibobjs
23290 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23291 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23292 Usually this means the macro was only invoked conditionally." >&5
23293 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23294 Usually this means the macro was only invoked conditionally." >&2;}
23295 { (exit 1); exit 1; }; }
23298 : ${CONFIG_STATUS=./config.status}
23299 ac_clean_files_save
=$ac_clean_files
23300 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23301 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23302 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23303 cat >$CONFIG_STATUS <<_ACEOF
23305 # Generated by $as_me.
23306 # Run this file to recreate the current configuration.
23307 # Compiler output produced by configure, useful for debugging
23308 # configure, is in config.log if it exists.
23311 ac_cs_recheck=false
23313 SHELL=\${CONFIG_SHELL-$SHELL}
23316 cat >>$CONFIG_STATUS <<\_ACEOF
23317 ## --------------------- ##
23318 ## M4sh Initialization. ##
23319 ## --------------------- ##
23321 # Be Bourne compatible
23322 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23325 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23326 # is contrary to our usage. Disable this feature.
23327 alias -g '${1+"$@"}'='"$@"'
23328 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
23331 DUALCASE
=1; export DUALCASE
# for MKS sh
23333 # Support unset when possible.
23334 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23341 # Work around bugs in pre-3.0 UWIN ksh.
23342 $as_unset ENV MAIL MAILPATH
23349 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23350 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23351 LC_TELEPHONE LC_TIME
23353 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23354 eval $as_var=C
; export $as_var
23360 # Required to use basename.
23361 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23367 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
23368 as_basename
=basename
23374 # Name of the executable.
23375 as_me
=`$as_basename "$0" ||
23376 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23377 X"$0" : 'X\(//\)$' \| \
23378 X"$0" : 'X\(/\)$' \| \
23379 . : '\(.\)' 2>/dev/null ||
23381 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23382 /^X\/\(\/\/\)$/{ s//\1/; q; }
23383 /^X\/\(\/\).*/{ s//\1/; q; }
23387 # PATH needs CR, and LINENO needs CR and PATH.
23388 # Avoid depending upon Character Ranges.
23389 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23390 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23391 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23392 as_cr_digits
='0123456789'
23393 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23395 # The user is always right.
23396 if test "${PATH_SEPARATOR+set}" != set; then
23397 echo "#! /bin/sh" >conf$$.sh
23398 echo "exit 0" >>conf$$.sh
23400 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23409 as_lineno_1
=$LINENO
23410 as_lineno_2
=$LINENO
23411 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
23412 test "x$as_lineno_1" != "x$as_lineno_2" &&
23413 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
23414 # Find who we are. Look in the path if we contain no path at all
23417 *[\\/]* ) as_myself
=$0 ;;
23418 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23419 for as_dir
in $PATH
23422 test -z "$as_dir" && as_dir
=.
23423 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23428 # We did not find ourselves, most probably we were run as `sh COMMAND'
23429 # in which case we are not to be found in the path.
23430 if test "x$as_myself" = x
; then
23433 if test ! -f "$as_myself"; then
23434 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23435 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23436 { (exit 1); exit 1; }; }
23438 case $CONFIG_SHELL in
23440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23441 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
23444 test -z "$as_dir" && as_dir
=.
23445 for as_base
in sh bash ksh sh5
; do
23448 if ("$as_dir/$as_base" -c '
23449 as_lineno_1=$LINENO
23450 as_lineno_2=$LINENO
23451 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23452 test "x$as_lineno_1" != "x$as_lineno_2" &&
23453 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
23454 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
23455 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
23456 CONFIG_SHELL
=$as_dir/$as_base
23457 export CONFIG_SHELL
23458 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23466 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23467 # uniformly replaced by the line number. The first 'sed' inserts a
23468 # line-number line before each line; the second 'sed' does the real
23469 # work. The second script uses 'N' to pair each line-number line
23470 # with the numbered line, and appends trailing '-' during
23471 # substitution so that $LINENO is not a special case at line end.
23472 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23473 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23474 sed '=' <$as_myself |
23479 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23482 s,^['$as_cr_digits']*\n,,
23483 ' >$as_me.lineno
&&
23484 chmod +x
$as_me.lineno ||
23485 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23486 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23487 { (exit 1); exit 1; }; }
23489 # Don't try to exec as it changes $[0], causing all sort of problems
23490 # (the dirname of $[0] is not the place where we might find the
23491 # original and so on. Autoconf is especially sensible to this).
23493 # Exit status is that of the last command.
23498 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23499 *c
*,-n*) ECHO_N
= ECHO_C
='
23501 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
23502 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
23505 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23511 rm -f conf$$ conf$$.exe conf$$.
file
23513 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23514 # We could just check for DJGPP; but this test a) works b) is more generic
23515 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23516 if test -f conf$$.exe
; then
23517 # Don't use ln at all; we don't have any links
23522 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23527 rm -f conf$$ conf$$.exe conf$$.
file
23529 if mkdir
-p .
2>/dev
/null
; then
23532 test -d .
/-p && rmdir .
/-p
23536 as_executable_p
="test -f"
23538 # Sed expression to map a string onto a valid CPP name.
23539 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23541 # Sed expression to map a string onto a valid variable name.
23542 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23546 # We need space, tab and new line, in precisely that order.
23556 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23557 # report actual input values of CONFIG_FILES etc. instead of their
23558 # values after options handling. Logging --version etc. is OK.
23562 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23563 ## Running $as_me. ##
23568 This file was extended by $as_me, which was
23569 generated by GNU Autoconf 2.59. Invocation command line was
23571 CONFIG_FILES = $CONFIG_FILES
23572 CONFIG_HEADERS = $CONFIG_HEADERS
23573 CONFIG_LINKS = $CONFIG_LINKS
23574 CONFIG_COMMANDS = $CONFIG_COMMANDS
23578 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23582 # Files that config.status was made for.
23583 if test -n "$ac_config_files"; then
23584 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23587 if test -n "$ac_config_headers"; then
23588 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23591 if test -n "$ac_config_links"; then
23592 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23595 if test -n "$ac_config_commands"; then
23596 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23599 cat >>$CONFIG_STATUS <<\_ACEOF
23602 \`$as_me' instantiates files from templates according to the
23603 current configuration.
23605 Usage: $0 [OPTIONS] [FILE]...
23607 -h, --help print this help, then exit
23608 -V, --version print version number, then exit
23609 -q, --quiet do not print progress messages
23610 -d, --debug don't remove temporary files
23611 --recheck update $as_me by reconfiguring in the same conditions
23612 --file=FILE[:TEMPLATE]
23613 instantiate the configuration file FILE
23614 --header=FILE[:TEMPLATE]
23615 instantiate the configuration header FILE
23617 Configuration files:
23620 Configuration headers:
23623 Configuration links:
23626 Configuration commands:
23629 Report bugs to <bug-autoconf@gnu.org>."
23632 cat >>$CONFIG_STATUS <<_ACEOF
23635 configured by $0, generated by GNU Autoconf 2.59,
23636 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23638 Copyright (C) 2003 Free Software Foundation, Inc.
23639 This config.status script is free software; the Free Software Foundation
23640 gives unlimited permission to copy, distribute and modify it."
23645 cat >>$CONFIG_STATUS <<\_ACEOF
23646 # If no file are specified by the user, then we need to provide default
23647 # value. By we need to know if files were specified by the user.
23653 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
23654 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
23662 *) # This is not an option, so the user has probably given explicit
23665 ac_need_defaults
=false
;;
23669 # Handling of the options.
23671 cat >>$CONFIG_STATUS <<\_ACEOF
23672 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23674 --version |
--vers* |
-V )
23675 echo "$ac_cs_version"; exit 0 ;;
23677 # Conflict between --help and --header
23678 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23679 Try \`$0 --help' for more information." >&5
23680 echo "$as_me: error: ambiguous option: $1
23681 Try \`$0 --help' for more information." >&2;}
23682 { (exit 1); exit 1; }; };;
23683 --help |
--hel |
-h )
23684 echo "$ac_cs_usage"; exit 0 ;;
23685 --debug |
--d* |
-d )
23687 --file |
--fil |
--fi |
--f )
23689 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23690 ac_need_defaults
=false
;;
23691 --header |
--heade |
--head |
--hea )
23693 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23694 ac_need_defaults
=false
;;
23695 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23696 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23699 # This is an error.
23700 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23701 Try \`$0 --help' for more information." >&5
23702 echo "$as_me: error: unrecognized option: $1
23703 Try \`$0 --help' for more information." >&2;}
23704 { (exit 1); exit 1; }; } ;;
23706 *) ac_config_targets
="$ac_config_targets $1" ;;
23712 ac_configure_extra_args
=
23714 if $ac_cs_silent; then
23716 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23720 cat >>$CONFIG_STATUS <<_ACEOF
23721 if \$ac_cs_recheck; then
23722 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23723 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23728 cat >>$CONFIG_STATUS <<_ACEOF
23730 # INIT-COMMANDS section.
23736 acx_cv_header_stdint="$acx_cv_header_stdint"
23737 acx_cv_type_int8_t="$acx_cv_type_int8_t"
23738 acx_cv_type_int16_t="$acx_cv_type_int16_t"
23739 acx_cv_type_int32_t="$acx_cv_type_int32_t"
23740 acx_cv_type_int64_t="$acx_cv_type_int64_t"
23741 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
23742 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
23743 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
23744 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
23745 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
23746 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
23747 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
23748 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
23749 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
23752 gdb_host_cpu=$gdb_host_cpu
23753 gdb_target_cpu=$gdb_target_cpu
23754 nativefile=$nativefile
23761 cat >>$CONFIG_STATUS <<\_ACEOF
23762 for ac_config_target
in $ac_config_targets
23764 case "$ac_config_target" in
23765 # Handling of arguments.
23766 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23767 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
23768 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
23769 "gdb_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gdb_stdint.h" ;;
23770 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
23771 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
23772 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23773 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23774 { (exit 1); exit 1; }; };;
23778 # If the user did not use the arguments to specify the items to instantiate,
23779 # then the envvar interface is used. Set only those that are not.
23780 # We use the long form for the default assignment because of an extremely
23781 # bizarre bug on SunOS 4.1.3.
23782 if $ac_need_defaults; then
23783 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23784 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23785 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
23786 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23789 # Have a temporary directory for convenience. Make it in the build tree
23790 # simply because there is no reason to put it here, and in addition,
23791 # creating and moving files from /tmp can sometimes cause problems.
23792 # Create a temporary directory, and hook for its removal unless debugging.
23795 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23796 trap '{ (exit 1); exit 1; }' 1 2 13 15
23799 # Create a (secure) tmp directory for tmp files.
23802 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23803 test -n "$tmp" && test -d "$tmp"
23806 tmp
=.
/confstat$$
-$RANDOM
23807 (umask 077 && mkdir
$tmp)
23810 echo "$me: cannot create a temporary directory in ." >&2
23811 { (exit 1); exit 1; }
23816 cat >>$CONFIG_STATUS <<_ACEOF
23819 # CONFIG_FILES section.
23822 # No need to generate the scripts if there are no CONFIG_FILES.
23823 # This happens for instance when ./config.status config.h
23824 if test -n "\$CONFIG_FILES"; then
23825 # Protect against being on the right side of a sed subst in config.status.
23826 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23827 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23828 s,@SHELL@,$SHELL,;t t
23829 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23830 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23831 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23832 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23833 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23834 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23835 s,@exec_prefix@,$exec_prefix,;t t
23836 s,@prefix@,$prefix,;t t
23837 s,@program_transform_name@,$program_transform_name,;t t
23838 s,@bindir@,$bindir,;t t
23839 s,@sbindir@,$sbindir,;t t
23840 s,@libexecdir@,$libexecdir,;t t
23841 s,@datadir@,$datadir,;t t
23842 s,@sysconfdir@,$sysconfdir,;t t
23843 s,@sharedstatedir@,$sharedstatedir,;t t
23844 s,@localstatedir@,$localstatedir,;t t
23845 s,@libdir@,$libdir,;t t
23846 s,@includedir@,$includedir,;t t
23847 s,@oldincludedir@,$oldincludedir,;t t
23848 s,@infodir@,$infodir,;t t
23849 s,@mandir@,$mandir,;t t
23850 s,@build_alias@,$build_alias,;t t
23851 s,@host_alias@,$host_alias,;t t
23852 s,@target_alias@,$target_alias,;t t
23853 s,@DEFS@,$DEFS,;t t
23854 s,@ECHO_C@,$ECHO_C,;t t
23855 s,@ECHO_N@,$ECHO_N,;t t
23856 s,@ECHO_T@,$ECHO_T,;t t
23857 s,@LIBS@,$LIBS,;t t
23858 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
23859 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
23860 s,@MAINT@,$MAINT,;t t
23862 s,@CFLAGS@,$CFLAGS,;t t
23863 s,@LDFLAGS@,$LDFLAGS,;t t
23864 s,@CPPFLAGS@,$CPPFLAGS,;t t
23865 s,@ac_ct_CC@,$ac_ct_CC,;t t
23866 s,@EXEEXT@,$EXEEXT,;t t
23867 s,@OBJEXT@,$OBJEXT,;t t
23869 s,@EGREP@,$EGREP,;t t
23870 s,@build@,$build,;t t
23871 s,@build_cpu@,$build_cpu,;t t
23872 s,@build_vendor@,$build_vendor,;t t
23873 s,@build_os@,$build_os,;t t
23874 s,@host@,$host,;t t
23875 s,@host_cpu@,$host_cpu,;t t
23876 s,@host_vendor@,$host_vendor,;t t
23877 s,@host_os@,$host_os,;t t
23878 s,@target@,$target,;t t
23879 s,@target_cpu@,$target_cpu,;t t
23880 s,@target_vendor@,$target_vendor,;t t
23881 s,@target_os@,$target_os,;t t
23882 s,@USE_NLS@,$USE_NLS,;t t
23883 s,@LIBINTL@,$LIBINTL,;t t
23884 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
23885 s,@INCINTL@,$INCINTL,;t t
23886 s,@XGETTEXT@,$XGETTEXT,;t t
23887 s,@GMSGFMT@,$GMSGFMT,;t t
23888 s,@POSUB@,$POSUB,;t t
23889 s,@CATALOGS@,$CATALOGS,;t t
23890 s,@DATADIRNAME@,$DATADIRNAME,;t t
23891 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
23892 s,@GENCAT@,$GENCAT,;t t
23893 s,@CATOBJEXT@,$CATOBJEXT,;t t
23894 s,@localedir@,$localedir,;t t
23895 s,@PACKAGE@,$PACKAGE,;t t
23896 s,@subdirs@,$subdirs,;t t
23898 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23899 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23900 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23901 s,@LN_S@,$LN_S,;t t
23902 s,@RANLIB@,$RANLIB,;t t
23903 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23904 s,@YACC@,$YACC,;t t
23906 s,@ac_ct_AR@,$ac_ct_AR,;t t
23907 s,@DLLTOOL@,$DLLTOOL,;t t
23908 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
23909 s,@WINDRES@,$WINDRES,;t t
23910 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
23912 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
23913 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
23914 s,@LIBEXPAT@,$LIBEXPAT,;t t
23915 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
23916 s,@ALLOCA@,$ALLOCA,;t t
23917 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
23918 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
23919 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
23920 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
23921 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
23922 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
23923 s,@WIN32LIBS@,$WIN32LIBS,;t t
23924 s,@LIBGUI@,$LIBGUI,;t t
23925 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
23926 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
23927 s,@TCL_VERSION@,$TCL_VERSION,;t t
23928 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
23929 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
23930 s,@TCL_CC@,$TCL_CC,;t t
23931 s,@TCL_DEFS@,$TCL_DEFS,;t t
23932 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
23933 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
23934 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
23935 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
23936 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
23937 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
23938 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
23939 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
23940 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
23941 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
23942 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
23943 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
23944 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
23945 s,@TK_VERSION@,$TK_VERSION,;t t
23946 s,@TK_DEFS@,$TK_DEFS,;t t
23947 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
23948 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
23949 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
23950 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
23951 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
23952 s,@TCLHDIR@,$TCLHDIR,;t t
23953 s,@TKHDIR@,$TKHDIR,;t t
23954 s,@ITCLHDIR@,$ITCLHDIR,;t t
23955 s,@ITKHDIR@,$ITKHDIR,;t t
23956 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
23957 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
23958 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
23959 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
23960 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
23961 s,@ITK_VERSION@,$ITK_VERSION,;t t
23962 s,@ITK_DEFS@,$ITK_DEFS,;t t
23963 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
23964 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
23965 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
23966 s,@X_CFLAGS@,$X_CFLAGS,;t t
23967 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
23968 s,@X_LIBS@,$X_LIBS,;t t
23969 s,@TCL_DEPS@,$TCL_DEPS,;t t
23970 s,@TK_DEPS@,$TK_DEPS,;t t
23971 s,@ITCLLIB@,$ITCLLIB,;t t
23972 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
23973 s,@ITKLIB@,$ITKLIB,;t t
23974 s,@ITK_DEPS@,$ITK_DEPS,;t t
23975 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
23976 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
23977 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
23978 s,@IGNORE_SIM@,$IGNORE_SIM,;t t
23979 s,@IGNORE_SIM_OBS@,$IGNORE_SIM_OBS,;t t
23980 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
23981 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
23982 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
23983 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
23984 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
23985 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
23986 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
23987 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
23988 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
23989 s,@target_subdir@,$target_subdir,;t t
23990 s,@frags@,$frags,;t t
23991 s,@xm_h@,$xm_h,;t t
23992 s,@tm_h@,$tm_h,;t t
23993 s,@nm_h@,$nm_h,;t t
23994 s,@LIBICONV@,$LIBICONV,;t t
23995 s,@LIBOBJS@,$LIBOBJS,;t t
23996 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23997 /@host_makefile_frag@/r $host_makefile_frag
23998 s,@host_makefile_frag@,,;t t
23999 /@target_makefile_frag@/r $target_makefile_frag
24000 s,@target_makefile_frag@,,;t t
24005 cat >>$CONFIG_STATUS <<\_ACEOF
24006 # Split the substitutions into bite-sized pieces for seds with
24007 # small command number limits, like on Digital OSF/1 and HP-UX.
24008 ac_max_sed_lines
=48
24009 ac_sed_frag
=1 # Number of current file.
24010 ac_beg
=1 # First line for current file.
24011 ac_end
=$ac_max_sed_lines # Line after last line for current file.
24014 while $ac_more_lines; do
24015 if test $ac_beg -gt 1; then
24016 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24018 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24020 if test ! -s $tmp/subs.frag
; then
24021 ac_more_lines
=false
24023 # The purpose of the label and of the branching condition is to
24024 # speed up the sed processing (if there are no `@' at all, there
24025 # is no need to browse any of the substitutions).
24026 # These are the two extra sed commands mentioned above.
24028 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
24029 if test -z "$ac_sed_cmds"; then
24030 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
24032 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24034 ac_sed_frag
=`expr $ac_sed_frag + 1`
24036 ac_end
=`expr $ac_end + $ac_max_sed_lines`
24039 if test -z "$ac_sed_cmds"; then
24042 fi # test -n "$CONFIG_FILES"
24045 cat >>$CONFIG_STATUS <<\_ACEOF
24046 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
24047 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24049 - |
*:- |
*:-:* ) # input from stdin
24051 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24052 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24053 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24054 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24055 * ) ac_file_in
=$ac_file.
in ;;
24058 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24059 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24060 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24061 X"$ac_file" : 'X\(//\)[^/]' \| \
24062 X"$ac_file" : 'X\(//\)$' \| \
24063 X"$ac_file" : 'X\(/\)' \| \
24064 . : '\(.\)' 2>/dev/null ||
24066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24067 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24068 /^X\(\/\/\)$/{ s//\1/; q; }
24069 /^X\(\/\).*/{ s//\1/; q; }
24071 { if $as_mkdir_p; then
24076 while test ! -d "$as_dir"; do
24077 as_dirs
="$as_dir $as_dirs"
24078 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24079 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24080 X"$as_dir" : 'X\(//\)[^/]' \| \
24081 X"$as_dir" : 'X\(//\)$' \| \
24082 X"$as_dir" : 'X\(/\)' \| \
24083 . : '\(.\)' 2>/dev/null ||
24085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24086 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24087 /^X\(\/\/\)$/{ s//\1/; q; }
24088 /^X\(\/\).*/{ s//\1/; q; }
24091 test ! -n "$as_dirs" || mkdir
$as_dirs
24092 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24093 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24094 { (exit 1); exit 1; }; }; }
24098 if test "$ac_dir" != .
; then
24099 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24100 # A "../" for each directory in $ac_dir_suffix.
24101 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24103 ac_dir_suffix
= ac_top_builddir
=
24107 .
) # No --srcdir option. We are building in place.
24109 if test -z "$ac_top_builddir"; then
24112 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24114 [\\/]* | ?
:[\\/]* ) # Absolute path.
24115 ac_srcdir
=$srcdir$ac_dir_suffix;
24116 ac_top_srcdir
=$srcdir ;;
24117 *) # Relative path.
24118 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24119 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24122 # Do not use `cd foo && pwd` to compute absolute paths, because
24123 # the directories may not exist.
24125 .
) ac_abs_builddir
="$ac_dir";;
24128 .
) ac_abs_builddir
=`pwd`;;
24129 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24130 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24133 case $ac_abs_builddir in
24134 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24136 case ${ac_top_builddir}.
in
24137 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24138 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24139 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24142 case $ac_abs_builddir in
24143 .
) ac_abs_srcdir
=$ac_srcdir;;
24146 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24147 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24148 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24151 case $ac_abs_builddir in
24152 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24154 case $ac_top_srcdir in
24155 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24156 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24157 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24163 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24164 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
24167 if test x
"$ac_file" != x-
; then
24168 { echo "$as_me:$LINENO: creating $ac_file" >&5
24169 echo "$as_me: creating $ac_file" >&6;}
24172 # Let's still pretend it is `configure' which instantiates (i.e., don't
24173 # use $as_me), people would be surprised to read:
24174 # /* config.h. Generated by config.status. */
24175 if test x
"$ac_file" = x-
; then
24178 configure_input
="$ac_file. "
24180 configure_input
=$configure_input"Generated from `echo $ac_file_in |
24181 sed 's,.*/,,'` by configure."
24183 # First look for the input files in the build tree, otherwise in the
24185 ac_file_inputs
=`IFS=:
24186 for f in $ac_file_in; do
24188 -) echo $tmp/stdin ;;
24190 # Absolute (can't be DOS-style, as IFS=:)
24191 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24192 echo "$as_me: error: cannot find input file: $f" >&2;}
24193 { (exit 1); exit 1; }; }
24196 if test -f "$f"; then
24199 elif test -f "$srcdir/$f"; then
24204 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24205 echo "$as_me: error: cannot find input file: $f" >&2;}
24206 { (exit 1); exit 1; }; }
24209 done` ||
{ (exit 1); exit 1; }
24211 cat >>$CONFIG_STATUS <<_ACEOF
24215 cat >>$CONFIG_STATUS <<\_ACEOF
24217 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24218 s
,@configure_input@
,$configure_input,;t t
24219 s
,@srcdir@
,$ac_srcdir,;t t
24220 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
24221 s
,@top_srcdir@
,$ac_top_srcdir,;t t
24222 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
24223 s
,@builddir@
,$ac_builddir,;t t
24224 s
,@abs_builddir@
,$ac_abs_builddir,;t t
24225 s
,@top_builddir@
,$ac_top_builddir,;t t
24226 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
24227 s
,@INSTALL@
,$ac_INSTALL,;t t
24228 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24230 if test x"$ac_file" != x-; then
24231 mv $tmp/out $ac_file
24239 cat >>$CONFIG_STATUS <<\_ACEOF
24242 # CONFIG_HEADER section.
24245 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
24246 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24248 # ac_d sets the value in "#define NAME VALUE" lines.
24249 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24250 ac_dB
='[ ].*$,\1#\2'
24253 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24254 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24255 ac_uB
='$,\1#\2define\3'
24259 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
24260 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24262 - |
*:- |
*:-:* ) # input from stdin
24264 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24265 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24266 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24267 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24268 * ) ac_file_in
=$ac_file.
in ;;
24271 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
24272 echo "$as_me: creating $ac_file" >&6;}
24274 # First look for the input files in the build tree, otherwise in the
24276 ac_file_inputs
=`IFS=:
24277 for f in $ac_file_in; do
24279 -) echo $tmp/stdin ;;
24281 # Absolute (can't be DOS-style, as IFS=:)
24282 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24283 echo "$as_me: error: cannot find input file: $f" >&2;}
24284 { (exit 1); exit 1; }; }
24285 # Do quote $f, to prevent DOS paths from being IFS'd.
24288 if test -f "$f"; then
24291 elif test -f "$srcdir/$f"; then
24296 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24297 echo "$as_me: error: cannot find input file: $f" >&2;}
24298 { (exit 1); exit 1; }; }
24301 done` ||
{ (exit 1); exit 1; }
24302 # Remove the trailing spaces.
24303 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24307 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24308 # `conftest.undefs', that substitutes the proper values into
24309 # config.h.in to produce config.h. The first handles `#define'
24310 # templates, and the second `#undef' templates.
24311 # And first: Protect against being on the right side of a sed subst in
24312 # config.status. Protect against being in an unquoted here document
24313 # in config.status.
24314 rm -f conftest.defines conftest.undefs
24315 # Using a here document instead of a string reduces the quoting nightmare.
24316 # Putting comments in sed scripts is not portable.
24318 # `end' is used to avoid that the second main sed command (meant for
24319 # 0-ary CPP macros) applies to n-ary macro definitions.
24320 # See the Autoconf documentation for `clear'.
24321 cat >confdef2sed.
sed <<\_ACEOF
24326 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24328 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24331 # If some macros were called several times there might be several times
24332 # the same #defines, which is useless. Nevertheless, we may not want to
24333 # sort them, since we want the *last* AC-DEFINE to be honored.
24334 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24335 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24336 rm -f confdef2sed.sed
24338 # This sed command replaces #undef with comments. This is necessary, for
24339 # example, in the case of _POSIX_SOURCE, which is predefined and required
24340 # on some systems where configure will not decide to define it.
24341 cat >>conftest.undefs <<\_ACEOF
24342 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24345 # Break up conftest.defines because some shells have a limit on the size
24346 # of here documents, and old seds have small limits too (100 cmds).
24347 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24348 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24349 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24350 echo ' :' >>$CONFIG_STATUS
24351 rm -f conftest.tail
24352 while grep . conftest.defines >/dev/null
24354 # Write a limited-size here document to $tmp/defines.sed.
24355 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24356 # Speed up: don't consider the non `#define' lines.
24357 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24358 # Work around the forget-to-reset-the-flag bug.
24359 echo 't clr' >>$CONFIG_STATUS
24360 echo ': clr' >>$CONFIG_STATUS
24361 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
24363 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24365 mv $tmp/out $tmp/in
24367 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
24368 rm -f conftest.defines
24369 mv conftest.
tail conftest.defines
24371 rm -f conftest.defines
24372 echo ' fi # grep' >>$CONFIG_STATUS
24373 echo >>$CONFIG_STATUS
24375 # Break up conftest.undefs because some shells have a limit on the size
24376 # of here documents, and old seds have small limits too (100 cmds).
24377 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24378 rm -f conftest.
tail
24379 while grep . conftest.undefs
>/dev
/null
24381 # Write a limited-size here document to $tmp/undefs.sed.
24382 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24383 # Speed up: don't consider the non
`#undef'
24384 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24385 # Work around the forget-to-reset-the-flag bug.
24386 echo 't clr' >>$CONFIG_STATUS
24387 echo ': clr' >>$CONFIG_STATUS
24388 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24390 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24392 mv $tmp/out $tmp/in
24394 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24395 rm -f conftest.undefs
24396 mv conftest.tail conftest.undefs
24398 rm -f conftest.undefs
24400 cat >>$CONFIG_STATUS <<\_ACEOF
24401 # Let's still pretend it is `configure
' which instantiates (i.e., don't
24402 # use $as_me), people would be surprised to read:
24403 # /* config.h. Generated by config.status. */
24404 if test x
"$ac_file" = x-
; then
24405 echo "/* Generated by configure. */" >$tmp/config.h
24407 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24409 cat $tmp/in >>$tmp/config.h
24411 if test x
"$ac_file" != x-
; then
24412 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
24413 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24414 echo "$as_me: $ac_file is unchanged" >&6;}
24416 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24417 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24418 X"$ac_file" : 'X\(//\)[^/]' \| \
24419 X"$ac_file" : 'X\(//\)$' \| \
24420 X"$ac_file" : 'X\(/\)' \| \
24421 . : '\(.\)' 2>/dev/null ||
24423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24424 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24425 /^X\(\/\/\)$/{ s//\1/; q; }
24426 /^X\(\/\).*/{ s//\1/; q; }
24428 { if $as_mkdir_p; then
24433 while test ! -d "$as_dir"; do
24434 as_dirs
="$as_dir $as_dirs"
24435 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24437 X"$as_dir" : 'X\(//\)[^/]' \| \
24438 X"$as_dir" : 'X\(//\)$' \| \
24439 X"$as_dir" : 'X\(/\)' \| \
24440 . : '\(.\)' 2>/dev/null ||
24442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24443 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24444 /^X\(\/\/\)$/{ s//\1/; q; }
24445 /^X\(\/\).*/{ s//\1/; q; }
24448 test ! -n "$as_dirs" || mkdir
$as_dirs
24449 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24450 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24451 { (exit 1); exit 1; }; }; }
24454 mv $tmp/config.h
$ac_file
24458 rm -f $tmp/config.h
24462 cat >>$CONFIG_STATUS <<\_ACEOF
24465 # CONFIG_LINKS section.
24468 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
24469 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
24470 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24472 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
24473 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
24475 if test ! -r $srcdir/$ac_source; then
24476 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
24477 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
24478 { (exit 1); exit 1; }; }
24482 # Make relative symlinks.
24483 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
24484 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24485 X"$ac_dest" : 'X\(//\)[^/]' \| \
24486 X"$ac_dest" : 'X\(//\)$' \| \
24487 X"$ac_dest" : 'X\(/\)' \| \
24488 . : '\(.\)' 2>/dev/null ||
24490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24491 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24492 /^X\(\/\/\)$/{ s//\1/; q; }
24493 /^X\(\/\).*/{ s//\1/; q; }
24495 { if $as_mkdir_p; then
24496 mkdir
-p "$ac_dest_dir"
24498 as_dir
="$ac_dest_dir"
24500 while test ! -d "$as_dir"; do
24501 as_dirs
="$as_dir $as_dirs"
24502 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24503 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24504 X"$as_dir" : 'X\(//\)[^/]' \| \
24505 X"$as_dir" : 'X\(//\)$' \| \
24506 X"$as_dir" : 'X\(/\)' \| \
24507 . : '\(.\)' 2>/dev/null ||
24509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24510 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24511 /^X\(\/\/\)$/{ s//\1/; q; }
24512 /^X\(\/\).*/{ s//\1/; q; }
24515 test ! -n "$as_dirs" || mkdir
$as_dirs
24516 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
24517 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
24518 { (exit 1); exit 1; }; }; }
24522 if test "$ac_dest_dir" != .
; then
24523 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
24524 # A "../" for each directory in $ac_dir_suffix.
24525 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24527 ac_dir_suffix
= ac_top_builddir
=
24531 .
) # No --srcdir option. We are building in place.
24533 if test -z "$ac_top_builddir"; then
24536 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24538 [\\/]* | ?
:[\\/]* ) # Absolute path.
24539 ac_srcdir
=$srcdir$ac_dir_suffix;
24540 ac_top_srcdir
=$srcdir ;;
24541 *) # Relative path.
24542 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24543 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24546 # Do not use `cd foo && pwd` to compute absolute paths, because
24547 # the directories may not exist.
24549 .
) ac_abs_builddir
="$ac_dest_dir";;
24551 case "$ac_dest_dir" in
24552 .
) ac_abs_builddir
=`pwd`;;
24553 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
24554 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
24557 case $ac_abs_builddir in
24558 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24560 case ${ac_top_builddir}.
in
24561 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24562 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24563 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24566 case $ac_abs_builddir in
24567 .
) ac_abs_srcdir
=$ac_srcdir;;
24570 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24571 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24572 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24575 case $ac_abs_builddir in
24576 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24578 case $ac_top_srcdir in
24579 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24580 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24581 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24587 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
24588 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
24591 # Try a symlink, then a hard link, then a copy.
24592 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
24593 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
24594 cp -p $srcdir/$ac_source $ac_dest ||
24595 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
24596 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
24597 { (exit 1); exit 1; }; }
24600 cat >>$CONFIG_STATUS <<\_ACEOF
24603 # CONFIG_COMMANDS section.
24605 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
24606 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
24607 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24608 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
24609 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24610 X"$ac_dest" : 'X\(//\)[^/]' \| \
24611 X"$ac_dest" : 'X\(//\)$' \| \
24612 X"$ac_dest" : 'X\(/\)' \| \
24613 . : '\(.\)' 2>/dev/null ||
24615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24616 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24617 /^X\(\/\/\)$/{ s//\1/; q; }
24618 /^X\(\/\).*/{ s//\1/; q; }
24620 { if $as_mkdir_p; then
24625 while test ! -d "$as_dir"; do
24626 as_dirs
="$as_dir $as_dirs"
24627 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24628 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24629 X"$as_dir" : 'X\(//\)[^/]' \| \
24630 X"$as_dir" : 'X\(//\)$' \| \
24631 X"$as_dir" : 'X\(/\)' \| \
24632 . : '\(.\)' 2>/dev/null ||
24634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24635 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24636 /^X\(\/\/\)$/{ s//\1/; q; }
24637 /^X\(\/\).*/{ s//\1/; q; }
24640 test ! -n "$as_dirs" || mkdir
$as_dirs
24641 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24642 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24643 { (exit 1); exit 1; }; }; }
24647 if test "$ac_dir" != .
; then
24648 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24649 # A "../" for each directory in $ac_dir_suffix.
24650 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24652 ac_dir_suffix
= ac_top_builddir
=
24656 .
) # No --srcdir option. We are building in place.
24658 if test -z "$ac_top_builddir"; then
24661 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24663 [\\/]* | ?
:[\\/]* ) # Absolute path.
24664 ac_srcdir
=$srcdir$ac_dir_suffix;
24665 ac_top_srcdir
=$srcdir ;;
24666 *) # Relative path.
24667 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24668 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24671 # Do not use `cd foo && pwd` to compute absolute paths, because
24672 # the directories may not exist.
24674 .
) ac_abs_builddir
="$ac_dir";;
24677 .
) ac_abs_builddir
=`pwd`;;
24678 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24679 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24682 case $ac_abs_builddir in
24683 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24685 case ${ac_top_builddir}.
in
24686 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24687 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24688 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24691 case $ac_abs_builddir in
24692 .
) ac_abs_srcdir
=$ac_srcdir;;
24695 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24696 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24697 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24700 case $ac_abs_builddir in
24701 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24703 case $ac_top_srcdir in
24704 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24705 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24706 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24711 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24712 echo "$as_me: executing $ac_dest commands" >&6;}
24715 if test "$GCC" = yes; then
24716 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
24718 echo "/* generated for $CC */" > tmp-stdint.h
24721 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24723 #ifndef GCC_GENERATED_STDINT_H
24724 #define GCC_GENERATED_STDINT_H 1
24726 #include <sys/types.h>
24729 if test "$acx_cv_header_stdint" != stdint.h
; then
24730 echo "#include <stddef.h>" >> tmp-stdint.h
24732 if test "$acx_cv_header_stdint" != stddef.h
; then
24733 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
24736 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24737 /* glibc uses these symbols as guards to prevent redefinitions. */
24738 #ifdef __int8_t_defined
24743 #ifdef __uint32_t_defined
24749 # ----------------- done header, emit basic int types -------------
24750 if test "$acx_cv_header_stdint" = stddef.h
; then
24751 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24755 typedef unsigned $acx_cv_type_int8_t uint8_t;
24760 typedef unsigned $acx_cv_type_int16_t uint16_t;
24765 typedef unsigned $acx_cv_type_int32_t uint32_t;
24770 typedef $acx_cv_type_int8_t int8_t;
24775 typedef $acx_cv_type_int16_t int16_t;
24780 typedef $acx_cv_type_int32_t int32_t;
24783 elif test "$ac_cv_type_u_int32_t" = yes; then
24784 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24786 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
24799 typedef u_int8_t uint8_t;
24804 typedef u_int16_t uint16_t;
24809 typedef u_int32_t uint32_t;
24813 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24815 /* Some systems have guard macros to prevent redefinitions, define them. */
24837 # ------------- done basic int types, emit int64_t types ------------
24838 if test "$ac_cv_type_uint64_t" = yes; then
24839 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24841 /* system headers have good uint64_t and int64_t */
24849 elif test "$ac_cv_type_u_int64_t" = yes; then
24850 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24852 /* system headers have an u_int64_t (and int64_t) */
24858 typedef u_int64_t uint64_t;
24861 elif test -n "$acx_cv_type_int64_t"; then
24862 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24864 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
24867 typedef $acx_cv_type_int64_t int64_t;
24871 typedef unsigned $acx_cv_type_int64_t uint64_t;
24875 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24877 /* some common heuristics for int64_t, using compiler-specific tests */
24878 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
24881 typedef long long int64_t;
24885 typedef unsigned long long uint64_t;
24888 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
24889 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
24890 does not implement __extension__. But that compiler doesn't define
24892 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
24893 # define __extension__
24898 __extension__ typedef long long int64_t;
24902 __extension__ typedef unsigned long long uint64_t;
24905 #elif !defined __STRICT_ANSI__
24906 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
24910 typedef __int64 int64_t;
24914 typedef unsigned __int64 uint64_t;
24916 # endif /* compiler */
24918 #endif /* ANSI version */
24922 # ------------- done int64_t types, emit intptr types ------------
24923 if test "$ac_cv_type_uintptr_t" != yes; then
24924 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24926 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
24927 typedef u$acx_cv_type_intptr_t uintptr_t;
24928 typedef $acx_cv_type_intptr_t intptr_t;
24932 # ------------- done intptr types, emit int_least types ------------
24933 if test "$ac_cv_type_int_least32_t" != yes; then
24934 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24936 /* Define int_least types */
24937 typedef int8_t int_least8_t;
24938 typedef int16_t int_least16_t;
24939 typedef int32_t int_least32_t;
24941 typedef int64_t int_least64_t;
24944 typedef uint8_t uint_least8_t;
24945 typedef uint16_t uint_least16_t;
24946 typedef uint32_t uint_least32_t;
24948 typedef uint64_t uint_least64_t;
24953 # ------------- done intptr types, emit int_fast types ------------
24954 if test "$ac_cv_type_int_fast32_t" != yes; then
24955 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24957 /* Define int_fast types. short is often slow */
24958 typedef int8_t int_fast8_t;
24959 typedef int int_fast16_t;
24960 typedef int32_t int_fast32_t;
24962 typedef int64_t int_fast64_t;
24965 typedef uint8_t uint_fast8_t;
24966 typedef unsigned int uint_fast16_t;
24967 typedef uint32_t uint_fast32_t;
24969 typedef uint64_t uint_fast64_t;
24974 if test "$ac_cv_type_uintmax_t" != yes; then
24975 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24977 /* Define intmax based on what we found */
24979 typedef int64_t intmax_t;
24981 typedef long intmax_t;
24984 typedef uint64_t uintmax_t;
24986 typedef unsigned long uintmax_t;
24991 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24993 #endif /* GCC_GENERATED_STDINT_H */
24996 if test -r gdb_stdint.h
&& cmp -s tmp-stdint.h gdb_stdint.h
; then
24999 mv -f tmp-stdint.h gdb_stdint.h
25005 sed -e '/^DEPRECATED_TM_FILE[ ]*=/s,^DEPRECATED_TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
25006 /^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
25007 /^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
25008 mv -f Makefile.tmp Makefile
25011 case x
$CONFIG_HEADERS in
25012 xconfig.h
:config.
in)
25020 cat >>$CONFIG_STATUS <<\_ACEOF
25022 { (exit 0); exit 0; }
25024 chmod +x
$CONFIG_STATUS
25025 ac_clean_files
=$ac_clean_files_save
25028 # configure is writing to config.log, and then calls config.status.
25029 # config.status does its own redirection, appending to config.log.
25030 # Unfortunately, on DOS this fails, as config.log is still kept open
25031 # by configure, so config.status won't be able to write to it; its
25032 # output is simply discarded. So we exec the FD to /dev/null,
25033 # effectively closing config.log, so it can be properly (re)opened and
25034 # appended to by config.status. When coming back to configure, we
25035 # need to make the FD available again.
25036 if test "$no_create" != yes; then
25038 ac_config_status_args
=
25039 test "$silent" = yes &&
25040 ac_config_status_args
="$ac_config_status_args --quiet"
25042 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25044 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25045 # would make configure fail if this is the last instruction.
25046 $ac_cs_success ||
{ (exit 1); exit 1; }
25050 # CONFIG_SUBDIRS section.
25052 if test "$no_recursion" != yes; then
25054 # Remove --cache-file and --srcdir arguments so they do not pile up.
25055 ac_sub_configure_args
=
25057 for ac_arg
in $ac_configure_args; do
25058 if test -n "$ac_prev"; then
25063 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
25064 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
25065 ac_prev
=cache_file
;;
25066 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
25067 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
25070 --config-cache |
-C)
25072 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
25074 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
25076 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
25078 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
25080 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
25084 # Always prepend --prefix to ensure using the same prefix
25085 # in subdir configurations.
25086 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
25089 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
25091 # Do not complain, so a configure script can configure whichever
25092 # parts of a large source tree are present.
25093 test -d $srcdir/$ac_dir ||
continue
25095 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
25096 echo "$as_me: configuring in $ac_dir" >&6;}
25097 { if $as_mkdir_p; then
25102 while test ! -d "$as_dir"; do
25103 as_dirs
="$as_dir $as_dirs"
25104 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25106 X"$as_dir" : 'X\(//\)[^/]' \| \
25107 X"$as_dir" : 'X\(//\)$' \| \
25108 X"$as_dir" : 'X\(/\)' \| \
25109 . : '\(.\)' 2>/dev/null ||
25111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25112 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25113 /^X\(\/\/\)$/{ s//\1/; q; }
25114 /^X\(\/\).*/{ s//\1/; q; }
25117 test ! -n "$as_dirs" || mkdir
$as_dirs
25118 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25119 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25120 { (exit 1); exit 1; }; }; }
25124 if test "$ac_dir" != .
; then
25125 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25126 # A "../" for each directory in $ac_dir_suffix.
25127 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25129 ac_dir_suffix
= ac_top_builddir
=
25133 .
) # No --srcdir option. We are building in place.
25135 if test -z "$ac_top_builddir"; then
25138 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25140 [\\/]* | ?
:[\\/]* ) # Absolute path.
25141 ac_srcdir
=$srcdir$ac_dir_suffix;
25142 ac_top_srcdir
=$srcdir ;;
25143 *) # Relative path.
25144 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25145 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25148 # Do not use `cd foo && pwd` to compute absolute paths, because
25149 # the directories may not exist.
25151 .
) ac_abs_builddir
="$ac_dir";;
25154 .
) ac_abs_builddir
=`pwd`;;
25155 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25156 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25159 case $ac_abs_builddir in
25160 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25162 case ${ac_top_builddir}.
in
25163 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25164 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25165 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25168 case $ac_abs_builddir in
25169 .
) ac_abs_srcdir
=$ac_srcdir;;
25172 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25173 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25174 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25177 case $ac_abs_builddir in
25178 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25180 case $ac_top_srcdir in
25181 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25182 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25183 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25190 # Check for guested configure; otherwise get Cygnus style configure.
25191 if test -f $ac_srcdir/configure.gnu
; then
25192 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
25193 elif test -f $ac_srcdir/configure
; then
25194 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
25195 elif test -f $ac_srcdir/configure.
in; then
25196 ac_sub_configure
=$ac_configure
25198 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
25199 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
25203 # The recursion is here.
25204 if test -n "$ac_sub_configure"; then
25205 # Make the cache file name correct relative to the subdirectory.
25206 case $cache_file in
25207 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
25208 *) # Relative path.
25209 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
25212 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
25213 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
25214 # The eval makes quoting arguments work.
25215 eval $ac_sub_configure $ac_sub_configure_args \
25216 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
25217 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
25218 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
25219 { (exit 1); exit 1; }; }